¿ªÔÆÌåÓý

Date

Re: Including model with process corners for mosfets

Tony Casey
 

<snip>
--- In LTspice@..., "RobertTalty" <rtalty@...> wrote:


Hi Tal,
If you right click on the device, you should get the
"component attribute editor" window
the Prefix will be MN, change this to XN.
The Value NMOS needs to be changed to match the subcircuit name.

That's about all you will need to do.

regards
Robert
</snip>
Hello Robert,

I think you mean ctrl-right-click. For the NMOS symbol, you don't get the component attribute editor unless you do this, you get the "choose new MOSFET" dialogue. For the NMOS4 device, right-clicking brings up the monolithic device editor instead.

Regards,
Tony


Re: Simple model for diffin-diffout amp

 

Hi AG,
I would caution against using a simple E source based fully differential amp model. Usually G source with appropriate resistor results in a much better behaved model.

I believe I suggested you download some ADC models. within that ADC collection are some fully differential CMOS opamp / OTA models.

For a very simple model I would use

.subckt ideal_differential_op_amp Vinm Vinp Outp VCM Outm
R1 Outp N001 1
R2 N001 Outm 1
G1 N001 Outp Vinp Vinm 100MEG
G2 Outm N001 Vinp Vinm 100MEG
G3 0 N001 VCM N001 100MEG
.ends ideal_differential_op_amp

you can also include output caps to limit the bandwidth and change the resistor values to model the output impedance.

I cant give you the exact models I use at work because they don't really belong to me.

regards
Robert

--- In LTspice@..., "Apparajan" <dg1@...> wrote:


I am re-posting this since I din't get a boo or an aye or nay..
Cheers
AG
--- In LTspice@..., "Apparajan" <dg1@> wrote:

I have uploaded my model
Temp-->File-->>E_model_for_diffamp.asc
It is a very simple model that models the differential and common mode loop gains. I have other more complicated models that model slew-rate, bandwidth, etc. However my most complicated model seems to be much simpler than what is commercially available? They also have a disclimer that they don't model offset, psrr, cmrr etc.? What gives...


Caps smaller than 0.5 uF?

 

When I look in the list the smallest shown is 0.5uF. When putting together a schematic with smaller caps, eg. 470pF I don't know any of the info on them other than the value. I see that the ones in the list have all the needed data. Is there a database or other info on smaller caps?

Thanks,
Ken


Re: Including model with process corners for mosfets

 

Hi Tal,
If you right click on the device, you should get the
"component attribute editor" window
the Prefix will be MN, change this to XN.
The Value NMOS needs to be changed to match the subcircuit name.

That's about all you will need to do.

regards
Robert

--- In LTspice@..., "TALTITO" <sloimi@...> wrote:

Hi Robert,

I didn't understand your explanation.
When i use regular models, i just include a NMOS4 (PMOS4) device, change the model name to the one i want to use, and add a path to the model definition in the schematic, and that's it.

In this case the library is a subcircuit, and it doesn't work to me thee same way.


I uploaded what i doing to:


What am doing wrong?



--- In LTspice@..., "RobertTalty" <rtalty@> wrote:

Tal,
I don't understand.

This is a model file for a HVPMOS and HVNMOS.
you just add $ terminal NMOS4 or PMOS4 devices, with the appropriate model names to the schematic. Then add the correct .lib spice directive to the schematic. if everything matches than the model should extract properly and simulate correctly.

since it is a subcircuit you will probably need to change the device designator to X rather than M. thats about all.

-Robert



--- In LTspice@..., "TALTITO" <sloimi@> wrote:

Hi Helmut/Robert/Others

I think i succeded to do that with replacing ? oparator by the if() operator.
Now I noticed that the model library is in the form of a subcircuit.
Is it possible to include the subcircuit in a schematic?
(maybe using a general symbol or something??)
I am a little confused on how to include it in the schematics since I don't have a .asc file.

Thanks,
Tal


Re: Simple model for diffin-diffout amp

Apparajan
 

I am re-posting this since I din't get a boo or an aye or nay..
Cheers
AG

--- In LTspice@..., "Apparajan" <dg1@...> wrote:

I have uploaded my model
Temp-->File-->>E_model_for_diffamp.asc
It is a very simple model that models the differential and common mode loop gains. I have other more complicated models that model slew-rate, bandwidth, etc. However my most complicated model seems to be much simpler than what is commercially available? They also have a disclimer that they don't model offset, psrr, cmrr etc.? What gives...


Re: AC response

Ganesan
 

I am re posting this since I didn't get aye or nay...
Cheers
AG

On 9/10/2011 6:46 PM, Ganesan wrote:


I can run different ac simulations with different frequency resolutions
and range..
Is there a way to merge the plot files.?
Cheers
A. Ganesan

===================================================================================

On 9/10/2011 6:41 PM, Ganesan wrote:

The list seems to work..But the interpolated output on the plot looks
funky... I can live with it..
Cheers
A. Ganesan

On 9/10/2011 6:16 PM, Helmut wrote:



--- In LTspice@... <mailto:LTspice%40yahoogroups.com>
<mailto:LTspice%40yahoogroups.com>
<mailto:LTspice%40yahoogroups.com>,
Ganesan <dg1@...> wrote:

I forgot to add, I don't know how to do variable resolution for
transient analysis either...
Cheers
A. Ganesan

On 9/10/2011 4:43 PM, Apparajan wrote:

I have a filter with some sharp notches and flat pass-bands. I
want to
be able to simulate it with variable resolution.
For example
.ac lin 10 20 50 lin 1000 50 70 oct 20 70 3k lin 1000 3k 3.8k
(linearly sweep the frequency 10 points from 20 to 50 hz;
high resolution of 1000 points between 50 to 70 HZ ( power supply
rejection notch;
Flat region from 70 to 3 khz and
a high resolution sweep of 1000points between 3k and 3.8k
(transition
band)
How do I do this in LTspice...?
Cheers
A. Ganesan
Hello,

There is only the option of lin, dec, oct and list in the
.AC-command. This means you would have to use "list", but it
would be a big effort to create the 10000 or more frequency
values.
The AC-simulation runs so fast, that you can simulate the
whole span with high resolution, even if you end with 100000
or more frequency-points.

I also don't know of any simple solution for .TRAN.
A possible workaround may be a dummy-source creating bursts.
This may force the automatic timestep calculator in LTspice
to reduce the time step.

Best regards,
Helmut


Re: CD4060 and CA3130 spice models request

 

Hi KMR,

I think the nearest you are going to get to a CD4060 LTspice model is by using a CD4020 which is similar to the CD4060 but the CD4020 has not got an attendant oscillator. You can remedy this descrepancy in features between the two devices by adding an RC/Xtal oscillator using an external to the chip nand gates RC/Xtal oscillator to drive the CLK input of the CD4020 and 'Hey presto ! ' you have got a very similar to the CD4060 working set up. The CD4020 has an LTspice model and symbol in our LTspice library.

Let me know how you get on.

Good luck and regards,

Michael




To: LTspice@...
From: kmr4uall@...
Date: Tue, 13 Sep 2011 19:07:26 +0000
Subject: [LTspice] CD4060 and CA3130 spice models request






hi
i am a new member
please help me i wants pspice models for these ic's

IC = CD4060 (CMOS 14-STAGE RIPPLE-CARRY BINARY COUNTER/DIVIDER AND OSCLLLATOR )
and CA3130 (15MHz, BiMOS Operational Amplifier with MOSFET Input/CMOS Output )

please help me






[Non-text portions of this message have been removed]


Re: CD4060 and CA3130 spice models request

Ganesan
 

Maybe substituting with A models and Helmut's expertise will get him
over the hump..
It did for me.. Thanks everybody..
Cheers
AG

On 9/13/2011 4:22 PM, Rick wrote:



--- In LTspice@... <mailto:LTspice%40yahoogroups.com>,
Ganesan <dg1@...> wrote:


Ganesan,

PSPICE logic devices or primatives won't wotk with LTspice.

RICK


Re: CD4060 and CA3130 spice models request

 

--- In LTspice@..., Ganesan <dg1@...> wrote:


Ganesan,

PSPICE logic devices or primatives won't wotk with LTspice.

RICK


Re: CD4060 and CA3130 spice models request

Ganesan
 



*

31 Oct 2006, 1:39 AM
doom49


Joined on 10-14-2006
Posts 4
A model for CD4060 CMOS 14 Stage Ripple-Carry Binary Counter/Divide
I am not successful to find a model for this I.C., do someone of you
knows where I can find it?




Thanks, Roby.



07 Nov 2006, 2:30 AM
peleus


Joined on 10-31-2006
Posts 2
Re: A model for CD4060 CMOS 14 Stage Ripple-Carry Binary Counter/Divide
Hi Roby.
In case you haven't found the model you need it is not very difficult to
make the one. All you need is a schematic of the CD4060 logic which is
easy to search for and then create the model utilizing LOGICEXP, PINDLY
and CONSTRAINT digital behavioral primitives available in pspice for
modeling digital devices. If you take a look at some digital library in
pspice you'll see that some models are built using the latter primitives.
Good look. D.

***

On 9/13/2011 3:56 PM, Tony Casey wrote:



--- In LTspice@... <mailto:LTspice%40yahoogroups.com>,
"KMR" <kmr4uall@...> wrote:

hi
i am a new member
please help me i wants pspice models for these ic's

IC = CD4060 (CMOS 14-STAGE RIPPLE-CARRY BINARY COUNTER/DIVIDER AND
OSCLLLATOR )
and CA3130 (15MHz, BiMOS Operational Amplifier with MOSFET
Input/CMOS Output )

please help me
Perhaps you should try a Pspice forum? This is a group for LTspice.

I feel sure that if you looked in the Files section of the group site,
you would probably find information that might help you.

Almost certainly, any Pspice model you find for a CD4060 will not work
in LTspice, unless it is transistor level model.

Regards,
Tony

Regards,
Tony


Re: CD4060 and CA3130 spice models request

Tony Casey
 

--- In LTspice@..., "KMR" <kmr4uall@...> wrote:

hi
i am a new member
please help me i wants pspice models for these ic's

IC = CD4060 (CMOS 14-STAGE RIPPLE-CARRY BINARY COUNTER/DIVIDER AND OSCLLLATOR )
and CA3130 (15MHz, BiMOS Operational Amplifier with MOSFET Input/CMOS Output )

please help me
Perhaps you should try a Pspice forum? This is a group for LTspice.

I feel sure that if you looked in the Files section of the group site, you would probably find information that might help you.

Almost certainly, any Pspice model you find for a CD4060 will not work in LTspice, unless it is transistor level model.

Regards,
Tony

Regards,
Tony


Re: Starting LTspice GUI from script file loading .sch and .cir - Linux

Tony Casey
 

--- In LTspice@..., "Axel K" <axelmklein@...> wrote:

Hi *,

In Ubuntu with Wine I want to have a setup of 4 LTSpice GUIs started together. I'd like to have a schematic and a .cir file loaded for every instance of LTspice.

Does anybody know how to load two files, a .sch and a .cir, at the start from a script?
The line
<env WINEPREFIX="/home/xxxx/.wine" wine C:&#92;&#92;Program&#92; Files&#92;&#92;LTC&#92;&#92;LTspiceIV&#92;&#92;scad3.exe -wine AAAA.sch AAAA.cir &>
does not work.

Thank you in advance.

Axel
Hello Axel,

Running four instances of LTspice from a bash shell is not a problem, but I don't think it's possible to open two files at once, either in Windows or Linux, from the command line. I've tried in both and failed.

It probably depends on the computer (number of cores etc), but when running from a bash shell, I've had up to 20 instances of LTspice running netlists in batch mode before problems set in. This is from a Python script, in which I check how many processes are currently active.

What you want is not possible, as far as I can tell. SCAD3.exe only seems to accept only one target file as a command line argument, even in batch mode. Makes sense, really.

Regards,
Tony


Sensitivity Anlysis..

Apparajan
 

Let s take a simple 2 resistor divider and a battery I want to step one of the resistors by 1% or 10%.(small change sensitivity v. large change sensitivity ) I want to plot
"(Delta(Vout)/Vout)/(Delta(R)/R)"... How do I do this? Or has this question been already answered..?
Cheers
AG


Re: Pole/Zero analysis

 

Hello to all,

Please stop the discussion about Pole Zero Analysis.
It has been beaten to death. It's totally off topic now.

Best regards,
Helmut
Moderator


Starting LTspice GUI from script file loading .sch and .cir - Linux

 

Hi *,

In Ubuntu with Wine I want to have a setup of 4 LTSpice GUIs started together. I'd like to have a schematic and a .cir file loaded for every instance of LTspice.

Does anybody know how to load two files, a .sch and a .cir, at the start from a script?
The line
<env WINEPREFIX="/home/xxxx/.wine" wine C:&#92;&#92;Program&#92; Files&#92;&#92;LTC&#92;&#92;LTspiceIV&#92;&#92;scad3.exe -wine AAAA.sch AAAA.cir &>
does not work.

Thank you in advance.

Axel


Re: Pole/Zero analysis

Tony Casey
 

<snip>
There is a long story to this, featuring another of P Bax's invaluable
contributions, but it really is OT here.
--
</snip>
Yes, I knew that sooner or later you would send this discussion into a siding. :-)

Going back to Peter Baxandall: the man was a genius, and all done without Computer Aided Disease - er, I mean Design.

Tony


CD4060 and CA3130 spice models request

 

hi
i am a new member
please help me i wants pspice models for these ic's

IC = CD4060 (CMOS 14-STAGE RIPPLE-CARRY BINARY COUNTER/DIVIDER AND OSCLLLATOR )
and CA3130 (15MHz, BiMOS Operational Amplifier with MOSFET Input/CMOS Output )

please help me


Re: General SPICE environment setup

Tony Casey
 

--- In LTspice@..., "martin562284" <martin.sadler@...> wrote:



--- In LTspice@..., "phoenixosu" <phoenixosu@> wrote:

I wish there was a way to add permanent libraries to the tool, so certain user defined libraries could be accessed at all times other than just the local folder where the current schematic is and the default LTSpice library. I'll keep searching for a way to do it.

Hear, hear! If we could have one and only one wish, this one would be mine.
Hello Martin,

This was discussed a couple of weeks ago. In Linux it is easy, because you can soft link even networked libraries into the LTspice installation tree or the project directory, without fear of them being overwritten, yet they can also be shared between users, if required. For example, for the latter option, just keep a template project directory that already contains the requisite soft links, and simply replicate that for each project. Suitable archive tools can be made to de-reference the soft links for the purpose of creating zips with the required libraries for exchange and archival purposes.

I figure this can possibly also be achieved in Windows now since Vista, which permits soft linked network folders (WinXP doesn't). But I haven't tried it.

Regards,
Tony


Re: Pole/Zero analysis

John Woodgate
 

In message <j4o6mi+dnim@...>, dated Tue, 13 Sep 2011, Tony Casey <tony@...> writes:

Of course you are correct in the case of a single MC driver, but due to poor (crossover) design, some systems exhibit ridiculously low impedance at some places in the frequency band.
Some might; I know one well-known manufacturer had crossovers burn up about 40 years ago due to a 'parasitic' series-tuned circuit in the crossover than no-one had noticed. However, there is also a dynamic effect which causes high peak current demands even though the steady-state impedance is well-behaved. This effect was pointed out by Matti Otala (he of TIM ?fame?), with fairly complex examples. But Peter Baxandall pointed out that a simple RC circuit does it with a low-frequency square wave voltage applied. As, of course, LTspice will willingly demonstrate (must get back on-topic somehow!).

In cases like this, it is entirely possible that the resistor improves things, but only insofar as it disguises a design failing.
But 0.22 ohms is really too little, in most cases, to fix the problem. There is a long story to this, featuring another of P Bax's invaluable contributions, but it really is OT here.
--
OOO - Own Opinions Only. Try www.jmwa.demon.co.uk and www.isce.org.uk
John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK
When I point to a star, please look at the star, not my finger. The star will
be more interesting.


Re: General SPICE environment setup

 

--- In LTspice@..., Martin Sadler "martin562284" wrote:
--- In LTspice@..., "phoenixosu" wrote:

I wish there was a way to add permanent libraries to the tool,
so certain user defined libraries could be accessed at all
times other than just the local folder where the current
schematic is and the default LTSpice library. I'll keep
searching for a way to do it.
FYI, the name of the software is "LTspice" with a lower case "s."

Hear, hear! If we could have one and only one wish, this one
would be mine.
You can more or less do this now if you know how, but it is a
really bad idea unless you are certain you will never need to share
your work with anyone else (including with yourself when you are
on another computer at a later date trying to go back and recreate
your now-forgotten wonder design). To share successfully, you will
have to hunt down all your custom components and symbols that you
have made to appear to *you* as just another part of standard
LTspice.

Keeping all user project files in a dedicated folder for each
project allows you to easily recognize and zip together all your
custom work for run-out-of-the-box sharing. Unless Mike were to
a "Ferret & Zip" tool that discretely bundled up all your dangling
custom bits with a single button click, this idea is better left
as an unfulfilled wish. -- a.s.