¿ªÔÆÌåÓý

Date

Re: INA128 SpiceModel

 

Hello,

You have most probably defined too high numbers in the symbol's "Netlist Order".
These numbers should be 1,2,3,4,5,6,78 in the order of the .subckt line.


I have uploaded two examples INA128_test.zip and INA129_test.zip.

Just unzip it into any folder to RUN these examples.

http://groups.yahoo.com/neo/groups/LTspice/files/%20Lib


I highly recommend to always copy the symbol file and the model file into the folder of the schematic. Don't copy it into the installation folder of LTspice.


Best regards,

Helmut



*???????????????????????? |?? -
*???????????????????????? |?? |?? V+
*???????????????????????? |?? |?? |?? V-
*???????????????????????? |?? |?? |?? |?? Out
*???????????????????????? |?? |?? |?? |?? |?? REF
*???????????????????????? |?? |?? |?? |?? |?? |?? RG1
*???????????????????????? |?? |?? |?? |?? |?? |?? |?? RG2
*???????????????????????? |?? |?? |?? |?? |?? |?? |?? |
* PIN CONFIG FOR INA128?? 1?? 2?? 3?? 4?? 5?? 8?? 9? 10
**

.SUBCKT INA128???????? 1?? 2?? 3?? 4?? 5?? 8?? 9? 10


Netlsit order:

1 2 3 4 5 6 7 8




---In LTspice@..., <alihadidjafils88@...> wrote:

Hi,
i've tried to import the instrumentation amplifier INA128 spicemodel into LTspice but it did not word. The problem is in the spicemodel the pin are numbered sa below : 1 2 3 4 5 8 9 10. the 6th and the 7th pin are not available. when i run the simulation, this follow message appears to the display : "port pin count mismatch between the definition of sub circuit ina128 and instance ''xu1'' ". I do not know how to do, please help me. one more thing, i've created a new symbol because the Instrumentation Amplifier does not exist in LTspice.
i'm looking for your help asap.


Re: Specifiying multiple grounds in LTspice

 

you may right-click on the wire and chose "label", and there you have ground and com ... which is the one you seek.


Re: Spice model locations

 

I created the links, but instead of using a .inc file, put the equivalent path into the custom symbol for the path to the MyLib. ?Your help is much appreciated, thanks.


Re: Specifiying multiple grounds in LTspice

John Woodgate
 

In message <l81ap6+19csfea@...>, dated Sun, 8 Dec 2013, the_sky_falcon_1982@... writes:

It would be great if someone could shed some light on this problem.
GROUND 101

The problem is actually with the concept of 'ground', which is different in real life (and different there from what most people think it is) and what it is in Spice.

In real life, ground is simply a place assumed [*] to be at zero voltage, to which all other voltages are referred, and nothing to do with any planets or soil. Consider an aircraft, for example. Its 'ground' is probably the airframe.

While your transmitter and receiver are not electrically connected, their zero-voltage references could be connected together, without making any difference to their operation. This is good, because Spice will normally not work if a schematic has isolated circuits, not connected to anything else. Spice schematics must have a ground symbol (triangle) attached to the zero-voltage reference wire.

So for simulation purposes, you just add a fictitious connection between the 'grounds' of the transmitter and receiver. In a case where part of a circuit really has to have a high impedance relative to another part, you join its 'ground' to the other 'ground' via a high value resistor, but don't make it higher than necessary as this may cause convergence problems.

[*] Note 'assumed'. Other than superconductors, everything in real life has some impedance - resistance and inductance - so there can and will be a voltage between any two points on a 'ground' conductor that is carrying current. For correct operation, any such voltage must be so small as to be negligible. This can be done at low frequencies but when the dimensions of the ground are comparable with the free-space wavelength of the signal, such voltages will not be negligible.
--
OOO - Own Opinions Only. With best wishes. See www.jmwa.demon.co.uk
Nondum ex silvis sumus
John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Specifiying multiple grounds in LTspice

 

Hi all,

?

I would like to know how to specify different ground planes in ltspice. What I would like to do is to simulate a resonant wireless power transfer circuit. The transmitter side is a resonant circuit implemented using MOSFETS and comparators. The receiver is a tuned LC circuit. I aim to simulate the transmitter and the receiver side circuits in a single schematic.?(without modelling my transmitter circuit as a current source). The grounds of the transmitter and the receiver circuits are not the same. Therefore I would like to specify two different grounds. Is this actually possible in LT spice?

?

I would also like to simulate the induced voltage on my receiver coil (L) using a behavioural source. Again I have a problem with ground.

?

It would be great if someone could shed some light on this problem.

?

Thank you,

?

Dhara


INA128 SpiceModel

 

Hi,
i've tried to import the instrumentation amplifier INA128 spicemodel into LTspice but it did not word. The problem is in the spicemodel the pin are numbered sa below : 1 2 3 4 5 8 9 10. the 6th and the 7th pin are not available. when i run the simulation, this follow message appears to the display : "port pin count mismatch between the definition of sub circuit ina128 and instance ''xu1'' ". I do not know how to do, please help me. one more thing, i've created a new symbol because the Instrumentation Amplifier does not exist in LTspice.
i'm looking for your help asap.


Re: I added a CD4007 model

 

True, but that one's transistors' model is more off than this one, and there is no proper symbol that goes with it. I tried that model and I was not happy at all. For the vast majority of my projects a simple model is far better than the one with all the perks attached.
I've tried some models that at first seemed more elaborate than this one, and they mostly sucked at DC, and took forever to converge in transient. I can imagine several applications where various parasitics come to play, but the funniest part is that people who push the models to the limit often use only W and L and nothing else.

Replacing the model I supplied is incredibly easy, so whoever has a better model than this one, please share it.

I tried also this:

.model NMOS NMOS LEVEL=1 VTO=1.4
+ L=5e-6 W=124e-6 TOX=1080e-10
+ LAMBDA=0.01 KP=20e-6 PHI=0.6 GAMMA=1.5
**
.model PMOS PMOS LEVEL=1 VTO=-1.4
+ L=5e-6 W=480e-6 TOX=1080e-10
+ LAMBDA=0.02 KP=6e-6 PHI=0.6 GAMMA=1.5

and this:

.model NMOS NMOS Level=1 Gamma=0
+ Tox=1200n Phi=.6 Rs=0 Kp=111u Vto=2.0
+ Lambda=0.01 Rd=0 Cbd=2.0p Cbs=2.0p
+ Pb=.8 Cgso=0.1p Cgdo=0.1p Is=16.64p N=1
**
.model PMOS PMOS Level=1 Gamma=0
+ Tox=1200n Phi=.6 Rs=0 Kp=55u Vto=1.5
+ Lambda=0.04 Rd=0 Cbd=4.0p Cbs=4.0p
+ Pb=.8 Cgso=0.2p Cgdo=0.2p Is=16.64p N=1

and also this one that performed much better than the rest of them:
(attributed by kcin_melnick, see message #16897)
?
.MODEL NMOS NMOS (
+ LEVEL=1 VTO=1.44 KP=320u L=10u W=30u GAMMA=0 PHI=.6 LAMBDA=10m
+ RD=23.2 RS=90.1 IS=16.64p CBD=2.0p CBS=2.0p CGSO=0.1p CGDO=0.1p
+ PB=.8 TOX=1200n)
?
.MODEL PMOS PMOS (
+ LEVEL=1 VTO=-1.2 KP=110u L=10U W=60U GAMMA=0 PHI=.6 LAMBDA=40m
+ RD=21.2 RS=62.2 IS=16.64P CBD=4.0P CBS=4.0P CGSO=0.2P CGDO=0.2P
+ PB=.8 TOX=1200N)



The last one has also more realistic DC transfer. I could go with that one.


Re: PWMs and Darlingtons

Dan Fish
 

¿ªÔÆÌåÓý

Did you look at LTC6992-x in the special functions library?? LTC has an Excel-based design tool for all these timerblock products.
?
Dan
?

I'm new to ltspice, and am trying to draw and simulate a circuit.

This includes a PWM output and a darlington transistor; I searched the libraries and downloaded a new bjt library, but it doesn't contain a TIP120 I also need a pointer to a "signal generator" square wave with a variable duty cycle.

Any help?

Ed


Re: I added a CD4007 model

 

Hello

There is another example "" with the CD4007 in our Files section.


http://groups.yahoo.com/neo/groups/LTspice/files/%20Lib/


Best regards,

Helmut


Re: I added a CD4007 model

 

Hello,

The model DC characteristic may be ok, but? model with no capacitances is not reasonable.? You might be better off using LTspice logic devices.

Rick



On Saturday, December 7, 2013 6:46 PM, "davorslistdepot@..." wrote:
?
Hi all,
I was missing a CD4007 model, so there it is.
It is bare bones hierarchical model (so far) that I left that way so that it is easier to check what I did. If everything goes well, I'll make a subcircuit out of it.
The transistors models are based on the 4007 library used at csupomona.edu, like this:

.model NMOS NMOS LEVEL=2 VTo=1.4 Kp=.6m LAMBDA=0.005

.model PMOS PMOS LEVEL=2 VTo=-1.0 KP=.6m LAMBDA=0.01

No diodes or capacitances, and no resistors in this model. Just MOSFETs. Surprisingly this simple model produces a very nice Rds_on transfer plot, and triggers no alarms in error log.
So far I'm happy with it.

In CD4007L2_h.asc which is a hierarchy file i placed some comments about an easy way procedure of making a symbol out of a hierarchy, but please don't consider it a tutorial of any kind.



Re: I added a CD4007 model

 

Hello,

The model DC characteristic may be ok, but? model with no capacitances is not reasonable.? You might be better off using LTspice logic devices.

Rick



On Saturday, December 7, 2013 6:46 PM, "davorslistdepot@..." wrote:
?
Hi all,
I was missing a CD4007 model, so there it is.
It is bare bones hierarchical model (so far) that I left that way so that it is easier to check what I did. If everything goes well, I'll make a subcircuit out of it.
The transistors models are based on the 4007 library used at csupomona.edu, like this:

.model NMOS NMOS LEVEL=2 VTo=1.4 Kp=.6m LAMBDA=0.005

.model PMOS PMOS LEVEL=2 VTo=-1.0 KP=.6m LAMBDA=0.01

No diodes or capacitances, and no resistors in this model. Just MOSFETs. Surprisingly this simple model produces a very nice Rds_on transfer plot, and triggers no alarms in error log.
So far I'm happy with it.

In CD4007L2_h.asc which is a hierarchy file i placed some comments about an easy way procedure of making a symbol out of a hierarchy, but please don't consider it a tutorial of any kind.



Re: PWMs and Darlingtons

 

Ed,

SPICE doesn't have built in signal source with a variable duty cycle.? It is easy to build one with a comparator where one input is a triangular waveform and the other is a control signal that causes the duty cycle to vary.? I have done this with BV source as the comparator.? Search the group files and messages for PWM demo.

Rick



On Saturday, December 7, 2013 6:36 PM, texasham10 wrote:
?
I'm new to ltspice, and am trying to draw and simulate a circuit.

This includes a PWM output and a darlington transistor; I searched the libraries and downloaded a new bjt library, but it doesn't contain a TIP120 I also need a pointer to a "signal generator" square wave with a variable duty cycle.

Any help?

Ed




I added a CD4007 model

 

Hi all,
I was missing a CD4007 model, so there it is.
It is bare bones hierarchical model (so far) that I left that way so that it is easier to check what I did. If everything goes well, I'll make a subcircuit out of it.
The transistors models are based on the 4007 library used at csupomona.edu, like this:

.model NMOS NMOS LEVEL=2 VTo=1.4 Kp=.6m LAMBDA=0.005

.model PMOS PMOS LEVEL=2 VTo=-1.0 KP=.6m LAMBDA=0.01

No diodes or capacitances, and no resistors in this model. Just MOSFETs. Surprisingly this simple model produces a very nice Rds_on transfer plot, and triggers no alarms in error log.
So far I'm happy with it.

In CD4007L2_h.asc which is a hierarchy file i placed some comments about an easy way procedure of making a symbol out of a hierarchy, but please don't consider it a tutorial of any kind.


Re: PWMs and Darlingtons

 

Hello Ed,


You could at least use the TIP122/TIP142 from our Files section.


http://groups.yahoo.com/neo/groups/LTspice/files/%20Lib


Here is the link to the TIP121.


http://groups.yahoo.com/neo/groups/LTspice/files/%20Lib/Darlington%20transistor



Best regards,

Helmut


PWMs and Darlingtons

texasham10
 

I'm new to ltspice, and am trying to draw and simulate a circuit.

This includes a PWM output and a darlington transistor; I searched the libraries and downloaded a new bjt library, but it doesn't contain a TIP120 I also need a pointer to a "signal generator" square wave with a variable duty cycle.

Any help?

Ed


Re: Questions about phase in .AC LTspice Analysis

 

¿ªÔÆÌåÓý


Le 06/12/2013 16:28, Andy a ¨¦crit?:
?
Jerry Lee Marcel wrote:

For some reason, LTSpice doesn't want to show currents

That's because of this statement on the schematic:

? .Save V(*)
Thanks for this explanation. I just wonder why the OP included this statement.


Re: Questions about phase in .AC LTspice Analysis

 

¿ªÔÆÌåÓý


Le 06/12/2013 09:24, analogspiceman@... a ¨¦crit?:
?

No doubt it was just unintended carelessness, but you misspelled LTspice (the "s" is not uppercase).?

Just plain ignorance.

Also, please note that for LTspice to record and display certain currents, you must check the appropriate options within the Save Defaults tab of the Control Panel.

I didn't know that.
I can't find it in the Control Panel. Anyway I wonder why this would be an option...


Re: Determine phase and gain margin in filter/amp

 

Maarten,


You set up the circuit correctly, but did you determine the phase margin by plotting V(fb)/V(inm)?? Doing this I see a phase margin of 72.8 degrees at 9.16 MHz.? In think the circuit is ok, but you should be aware that the output impedance of U2 has a significant effect.? You can see that V(ref) increases significantly as the frequency goes up.


Rick


Re: CD4047 BC

 

VARDKES wrote:

Does anyone have CD4047BC spice model?

There are models for the CD4047B. ?I don't know if or how a *BC differs from a *B part.

Re-read the directions on this group's main webpage. ?Find, download, and open the "Table of Contents" file, then search through that file for "CD4047". ?It comes up in a few different places. ?The links in the Table of Contents file are hot-links, so when you click on them, it should bring you to the online directory where the models are located.

Regards,
Andy



Re: xr2211 model

 

ignaciogouetv?wrote:

Hi, i am new in ltspice and i'm trying to simulate de XR2211(EXAR) but i can`t find a model. Now i'am trying to create de subcircuit but it's too difficult. Asking for help
Can i create a subcircuit from the datasheet??

With enough ingenuity and guesswork, you can create a subcircuit for just about anything. ?The question is, how accurate is it?

A PLL is not always the easiest thing to start with, unless you know something about the actual chip design they used.

Fortunately, Exar's datasheet includes an "equivalent schematic diagram" towards the back, so you could replicate that in an LTspice schematic and turn it into a subcircuit. ?Keep in mind that such diagrams from manufacturers are approximate and may leave a lot out. ?Also we don't know the characteristics of the transistors and diodes, nor the sizes of all the current sources. ?But it's better than nothing.

There is a working subcircuit for the XR2206 (another PLL) in the "Files" section of this YahooGroup. ?You might consult that to see if it gives you anything you can use. ?If nothing else, it probably has the characteristics (.MODEL statements) of the diodes and transistors for a similar Exar IC (but I can't say how accurate that model is).

It is puzzling that Exar's own XR2211 datasheet is labeled Version 1.0.4 (or 1.04), but the copies found elsewhere on the 'net are version 3.01. ?Strange. ?They have the same date.

Regards,
Andy