开云体育

Date

Re: Confused, adding a pin to an existing Symbol and .cir

 

开云体育

Never mind, I finally figured it out:

I needed to change only the Spice Model line, to make it unique to the instance.

Then, the hidden control voltage must be that same unique name.

?

Dave

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

?

From: [email protected] <[email protected]> On Behalf Of Bell, Dave via groups.io
Sent: Sunday, December 22, 2024 12:42 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] Confused, adding a pin to an existing Symbol and .cir

?

Sorry – I forgot to click “Notify users” in the upload:? Vpct_pots.zip

?

?

From: [email protected] <[email protected]> On Behalf Of Bell, Dave via groups.io
Sent: Sunday, December 22, 2024 12:41 PM
To: [email protected]
Subject: EXTERNAL: [LTspice] Confused, adding a pin to an existing Symbol and .cir

?

Attempting to modify an archive Pot component, to add a wired Pin instead of a hidden net name for control input.

In order to use more than one pot in a circuit, the SUBCKT definition and instance parameters need to be modified for each pot placed.

I’d like to add a pin, and change the SUBCKT definition to use that pin rather than a hidden net name.

?

I’ve added a pin (4), removed the pin label “Vpct” and used V(4) to set the value of B1, but that’s not working.

When Run, LTspice complains that the pin count of the instance doesn’t match the definition.

?

The uploaded zip has a working model, with the separate embedded SUBBCKT definitions.

How can I make the mod, to add a control pin and have one includable .cir ??

?

Thanks,

Dave


Confused, adding a pin to an existing Symbol and .cir

 

开云体育

Never mind, I finally figured it out:

I needed to change only the Spice Model line, to make it unique to the instance.

Then, the hidden control voltage must be that same unique name.

?

Dave

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

From: [email protected] <[email protected]> On Behalf Of Bell, Dave via groups.io
Sent: Sunday, December 22, 2024 2:33 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] Ferromagnetic core modeling.

?

In square mm. 1 mm=1e-3 m, 1 sq mm = 1e-6 sq m

?

?

From: [email protected] <[email protected]> On Behalf Of Richard Andrews via groups.io
Sent: Sunday, December 22, 2024 2:17 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] Ferromagnetic core modeling.

?

I am reading . "A is the bead magnetic cross section in square meters, use dimensions C*(A-B)/2, area is in mm2 hence the u".

?

?

So, is the area in meters, micrometers, or millimeters? hence the u?

?

?

?

Seasons Greetings.


LMH6321 Buffer Not Working

 

TI supplies a seemingly straightforward spice model for its LMH6321 Unity Gain Buffer.? It requires a modified opamp symbol with only 4 nodes, (IN V+ V- OUT).
I edited a standard opamp symbol to have only the 4 nodes and get the resulting error message:? "Fatal Error: Port(pin) count mismatch between the definition of subcircuit "lmh6321" and instance: "xu1"
The instance has more connection terminals than the definition."
?
I count only 4 pins on the model and 4 pins on my symbol.? Can you see what I am doing wrong?? I will upload my files to temp.
?
Thanks,
Steve Hogan
?
?
?
?
?
?
?
?
?


Re: Ferromagnetic core modeling.

 

Thanks Dave.


Re: Ferromagnetic core modeling.

 

开云体育

In square mm. 1 mm=1e-3 m, 1 sq mm = 1e-6 sq m

?

?

From: [email protected] <[email protected]> On Behalf Of Richard Andrews via groups.io
Sent: Sunday, December 22, 2024 2:17 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] Ferromagnetic core modeling.

?

I am reading . "A is the bead magnetic cross section in square meters, use dimensions C*(A-B)/2, area is in mm2 hence the u".

?

?

So, is the area in meters, micrometers, or millimeters? hence the u?

?

?

?

Seasons Greetings.


Re: Ferromagnetic core modeling.

 

I am reading . "A is the bead magnetic cross section in square meters, use dimensions C*(A-B)/2, area is in mm2 hence the u".
?
?
So, is the area in meters, micrometers, or millimeters? hence the u?
?
?
?
Seasons Greetings.


Re: Confused, adding a pin to an existing Symbol and .cir

 

开云体育

Sorry – I forgot to click “Notify users” in the upload:? Vpct_pots.zip

?

?

From: [email protected] <[email protected]> On Behalf Of Bell, Dave via groups.io
Sent: Sunday, December 22, 2024 12:41 PM
To: [email protected]
Subject: EXTERNAL: [LTspice] Confused, adding a pin to an existing Symbol and .cir

?

Attempting to modify an archive Pot component, to add a wired Pin instead of a hidden net name for control input.

In order to use more than one pot in a circuit, the SUBCKT definition and instance parameters need to be modified for each pot placed.

I’d like to add a pin, and change the SUBCKT definition to use that pin rather than a hidden net name.

?

I’ve added a pin (4), removed the pin label “Vpct” and used V(4) to set the value of B1, but that’s not working.

When Run, LTspice complains that the pin count of the instance doesn’t match the definition.

?

The uploaded zip has a working model, with the separate embedded SUBBCKT definitions.

How can I make the mod, to add a control pin and have one includable .cir ??

?

Thanks,

Dave


Confused, adding a pin to an existing Symbol and .cir

 

开云体育

Attempting to modify an archive Pot component, to add a wired Pin instead of a hidden net name for control input.

In order to use more than one pot in a circuit, the SUBCKT definition and instance parameters need to be modified for each pot placed.

I’d like to add a pin, and change the SUBCKT definition to use that pin rather than a hidden net name.

?

I’ve added a pin (4), removed the pin label “Vpct” and used V(4) to set the value of B1, but that’s not working.

When Run, LTspice complains that the pin count of the instance doesn’t match the definition.

?

The uploaded zip has a working model, with the separate embedded SUBBCKT definitions.

How can I make the mod, to add a control pin and have one includable .cir ??

?

Thanks,

Dave


Re: Whither 4053_tercio.asy

 

"By Jove, I think he's got it!"
Many thanks!??
John (Waugaman, that is)
?


Re: Looking for ideal fully differential amplifier spice model

 

开云体育

On 22/12/2024 17:58, jad700 via groups.io wrote:
To make an ?IDEAL fully differential amplifier spice model...
Simply use a e or e2 Component with whatever gain you want ( In V/V) as a parameter.
(Right click on it and give value V for gain of 100 )
Real DIDO amps have a common mode voltage input.

--
Regards,
Tony


Re: Whither 4053_tercio.asy

 

开云体育


Le 22/12/2024 à 15:04, eewiz via groups.io a écrit?:
Hello John W.
I have uploaded the complete Robertugo/SwitchAna files from my personal archive.
It appears to contain all that is needed for the 4051, 52 and 53 parts.
Except the model and symbol for CD4024 that are needed to run most of the circuits!


Re: Looking for ideal fully differential amplifier spice model

 

On Sun, Dec 22, 2024 at 08:58 AM, <jad700@...> wrote:
To make an ?IDEAL fully differential amplifier spice model...
Simply use a e or e2 Component with whatever gain you want ( In V/V) as a parameter.
(Right click on it and give value 100 for gain of 100 )


Re: Looking for ideal fully differential amplifier spice model

 

To make an ?IDEAL fully differential amplifier spice model...
Simply use a e or e2 Component with whatever gain you want ( In V/V) as a parameter.
(Right click on it and give value V for gain of 100 )


Re: Looking for ideal fully differential amplifier spice model

 

This seems to work. G=100MEG seems a bit much.
?

* Ideal Fully Differential OpAmp

* /g/LTspice/topic/50198770#msg46663

*

.subckt D_OpAmp inp inn outp outn vcm

R1 outp n01 1

R2 n01 outn 1

G1 n01 outp inp inn 100MEG

G2 outn n01 inp inn 100MEG

G3 0 n01 vcm n01 100MEG

.ends D_OpAmp


Re: Looking for ideal fully differential amplifier spice model

 

Correct. Something simple that won't have any convergence issues.


Re: Looking for ideal fully differential amplifier spice model

 

开云体育

Well, it's very difficult to have 'comprehensive' without 'complex', unless you are prepared to write your own models, or add real-life parameters to existing simpler models.

On 2024-12-22 15:29, Tom via groups.io wrote:
On Sun, Dec 22, 2024 at 10:17 AM, John Woodgate wrote:
What I mean is that there are few real-life BIBO opamps,from which SPICE models with real-life features, such as offset and PSRR could be produced.
The BIBO models from TI are incredibly complex. They model? lot of parameters.
?
****
* AC PARAMETERS
**
* CLOSED-LOOP OUTPUT IMPEDANCE VS. FREQUENCY (Zout vs. Freq.)
* CLOSED-LOOP GAIN AND PHASE VS. FREQUENCY ?WITH RL, CL EFFECTS (Acl vs. Freq.)
* COMMON-MODE REJECTION RATIO VS. FREQUENCY (CMRR vs. Freq.)
* POWER SUPPLY REJECTION RATIO VS. FREQUENCY (PSRR vs. Freq.)
* INPUT VOLTAGE NOISE DENSITY VS. FREQUENCY (en vs. Freq.)
**
* DC PARAMETERS
**
* INPUT COMMON-MODE VOLTAGE RANGE (Vcm)
* GAIN ERROR (Eg)
* INPUT BIAS CURRENT VS. INPUT COMMON-MODE VOLTAGE (Ib vs. Vcm)
* INPUT OFFSET VOLTAGE VS. TEMPERATURE (Vos vs. Temp)
* OUTPUT VOLTAGE SWING vs. OUTPUT CURRENT (Vout vs. Iout)
* SHORT-CIRCUIT OUTPUT CURRENT (Isc)
* QUIESCENT CURRENT (Iq)
**
* TRANSIENT PARAMETERS
**
* SLEW RATE (SR)
* SETTLING TIME VS. CAPACITIVE LOAD (ts)
* OVERLOAD RECOVERY TIME (tor)
****
-- 
OOO - Own Opinions Only
Best Wishes
John Woodgate
Keep trying

Virus-free.


Re: Looking for ideal fully differential amplifier spice model

 

But you're not looking for a model of a real-life amp, right?
?
I think you said you wanted an ideal model.? That probably means it is lightweight and should simulate fast.
?
Andy
?


Re: Ferromagnetic core modeling.

 

Interestingly, today I am reading "The Chan inductor does not currently directly support , so unless only a single-winding inductor is being modeled, multiple windings must be added via additional circuitry.? The simplest way to do this is to construct an ideal, unity coupled transformer with as many windings as required and then put the Chan inductor directly in parallel with any one of the windings (taking care to set the turns to match that particular winding).? Since the magnetic effects (including non-saturated inductance) are already modeled by the Chan inductor, the inductance of the transformer's parallel winding must be enough larger (>>10) not to significantly load the Chan inductance.? As before, the inductances for the other windings should be scaled by the square of their individual turns ratios (with respect to the paralleled winding). ".


Re: Looking for ideal fully differential amplifier spice model

 

On Sun, Dec 22, 2024 at 10:17 AM, John Woodgate wrote:
What I mean is that there are few real-life BIBO opamps,from which SPICE models with real-life features, such as offset and PSRR could be produced.
The BIBO models from TI are incredibly complex. They model? lot of parameters.
?
****
* AC PARAMETERS
**
* CLOSED-LOOP OUTPUT IMPEDANCE VS. FREQUENCY (Zout vs. Freq.)
* CLOSED-LOOP GAIN AND PHASE VS. FREQUENCY ?WITH RL, CL EFFECTS (Acl vs. Freq.)
* COMMON-MODE REJECTION RATIO VS. FREQUENCY (CMRR vs. Freq.)
* POWER SUPPLY REJECTION RATIO VS. FREQUENCY (PSRR vs. Freq.)
* INPUT VOLTAGE NOISE DENSITY VS. FREQUENCY (en vs. Freq.)
**
* DC PARAMETERS
**
* INPUT COMMON-MODE VOLTAGE RANGE (Vcm)
* GAIN ERROR (Eg)
* INPUT BIAS CURRENT VS. INPUT COMMON-MODE VOLTAGE (Ib vs. Vcm)
* INPUT OFFSET VOLTAGE VS. TEMPERATURE (Vos vs. Temp)
* OUTPUT VOLTAGE SWING vs. OUTPUT CURRENT (Vout vs. Iout)
* SHORT-CIRCUIT OUTPUT CURRENT (Isc)
* QUIESCENT CURRENT (Iq)
**
* TRANSIENT PARAMETERS
**
* SLEW RATE (SR)
* SETTLING TIME VS. CAPACITIVE LOAD (ts)
* OVERLOAD RECOVERY TIME (tor)
****


Re: Looking for ideal fully differential amplifier spice model

 

开云体育

What I mean is that there are few real-life BIBO opamps,from which SPICE models with real-life features, such as offset and PSRR could be produced.

On 2024-12-22 15:03, Tom via groups.io wrote:
On Sun, Dec 22, 2024 at 08:46 AM, John Woodgate wrote:
Yes, because it's quite easy, and probably cheaper, to use 2 or 3 sections of a quad opamp to make a good balanced-in/balanced-out circuit.
XSPICE models are minimalistic and designed for speed. Complex models would slow simulations to a crawl. In this case the "XSPICE way" for making a fully differential OpAmp creates a model with limitations and the odd "feature" it doesn't care if inputs or outputs are swapped.
-- 
OOO - Own Opinions Only
Best Wishes
John Woodgate
Keep trying

Virus-free.