¿ªÔÆÌåÓý

Date

Re: Convert model PSpice to LTSpice ??

 

By examining this model, there is a potential problem, but I think it
doesn't actually cause an error in LTspice:

.SUBCKT MCP63x 1 2 3 4 5
...

.ENDS MCP631
Notice how the name of the subcircuit (MCP63x) does not match the name
(MCP631) in the .ENDS statement. That tells me whoever constructed this
model was careless, which makes the model suspect. Those kinds of problems
are best resolved by contacting the company and telling them to fix their
model.

But as I say, I don't think the above mismatch actually causes a problem in
LTspice.

Andy


Re: Convert model PSpice to LTSpice ??

 

vtlya2000 wrote:

How to convert Microchip model to LtSpice?
This model already is a SPICE model. Why do you think it needs to be
converted?

do not work
That is a very unhelpful description. Please tell us WHAT did not work.
Please show us the simulation (schematic or netlist) that uses this model,
and what error messages you encountered.

Andy


Re: Convert model PSpice to LTSpice ??

 

How to convert Microchip model to LtSpice?

do not work

.SUBCKT MCP63x 1 2 3 4 5
* | | | | |
* | | | | Output
* | | | Negative Supply
* | | Positive Supply
* | Inverting Input
* Non-inverting Input
*

* Software License Agreement *
* *
* The software supplied herewith by Microchip Technology Incorporated (the *
* 'Company') is intended and supplied to you, the Company's customer, for use *
* soley and exclusively on Microchip products. *
* *
* The software is owned by the Company and/or its supplier, and is protected *
* under applicable copyright laws. All rights are reserved. Any use in *
* violation of the foregoing restrictions may subject the user to criminal *
* sanctions under applicable laws, as well as to civil liability for the *
* breach of the terms and conditions of this license. *
* *
* THIS SOFTWARE IS PROVIDED IN AN 'AS IS' CONDITION. NO WARRANTIES, WHETHER *
* EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED *
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO *
* THIS SOFTWARE. THE COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR *
* SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. *

*
* The following op-amps are covered by this model:
* MCP631, MCP632, MCP633, MCP635
*
* Revision History:
* REV A: 17-Jun-10, Created model
* REV B: 01-Nov-11, Fixed Vout swing issue
*
* Recommendations:
* Use PSPICE (or SPICE 2G6; other simulators may require translation)
* For a quick, effective design, use a combination of: data sheet
* specs, bench testing, and simulations with this macromodel
* For high impedance circuits, set GMIN=100F in the .OPTIONS statement
*
* Supported:
* Typical performance for temperature range (-40 to 125) degrees Celsius
* DC, AC, Transient, and Noise analyses.
* Most specs, including: offsets, DC PSRR, DC CMRR, input impedance,
* open loop gain, voltage ranges, supply current, ... , etc.
* Temperature effects for Ibias, Iquiescent, Iout short circuit
* current, Vsat on both rails, Slew Rate vs. Temp and P.S.
*
* Not Supported:
* Some Variation in specs vs. Power Supply Voltage
* Vos distribution, Ib distribution for Monte Carlo
* Distortion (detailed non-linear behavior)
* Some Temperature analysis
* Process variation
* Behavior outside normal operating region
*
* Input Stage
V10 3 10 1.1
R10 10 11 200K
R11 10 12 200K
G10 10 11 10 11 5M
G11 10 12 10 12 5M
C11 11 12 3P
C12 1 0 9P
E12 71 14 POLY(4) 20 0 21 0 26 0 27 0 3M 51 51 1 1
G12 1 0 62 0 1m
G13 1 2 63 0 1u
I12 1 0 -3p
M12 11 14 15 15 NMI
M14 12 2 15 15 NMI
G14 2 0 62 0 1m
C14 2 0 9P
I15 15 4 25M
V16 16 4 -300M
GD16 16 1 TABLE {V(16,1)} ((-100,-1p)(0,0)(1m,1u)(2m,1m)(3m,10))
V13 3 13 1.3
GD13 2 13 TABLE {V(2,13)} ((-100,-1p)(0,0)(1m,1u)(2m,1m)(3m,10))
R71 1 0 15E12
R72 2 0 15E12
R73 1 2 20E12
*
* Noise, PSRR, and CMRR
I20 21 20 423U
D20 20 0 DN1
D21 0 21 DN1
C20 20 22 3.6u
C21 21 23 3.6u
R22 22 0 1.5
R23 23 0 1.5
C22 22 24 2.2u
C23 23 25 2.2u
R24 24 0 5
R25 25 0 5
C24 24 241 .1u
C25 25 251 .1u
R241 241 0 10
R251 251 0 10
C241 241 0 .45u
C251 251 0 .45u
G26 0 26 POLY(2) 3 0 4 0 0.00 -40U -50U
R26 26 0 1
G27 0 27 POLY(2) 1 0 2 0 0 0.6M 0.6M
R27 27 0 1
L27 27 271 .23u
R271 271 0 .1
*
* Open Loop Gain, Slew Rate
G30 0 30 12 11 1
R30 30 0 1.00K
G31 0 31 3 4 -1
I31 0 31 DC 49.5
R31 31 0 1 TC=3.01M,-4U
GD31 30 0 TABLE {V(30,31)} ((-100,-1n)(0,0)(1m,0.1)(2m,10))
G32 32 0 3 4 9
I32 32 0 DC 42.5
R32 32 0 1 TC=2.2M,-3.59U
GD32 0 30 TABLE {V(30,32)} ((-2m,10)(-1m,0.1)(0,0)(100,-1n))
G33 0 33 30 0 1m
R33 33 0 1K
G34 0 34 33 0 1.4
R34 34 0 1K
C34 34 0 7U
G37 0 37 34 0 1m
R37 37 0 1K
C37 37 0 3P
G38 0 38 37 0 1m
R38 39 0 1K
L38 38 39 2.2U
E38 35 0 38 0 1
* Changed G35 and G36 to fix output offset - AR / 01-Nov-11
G35 33 0 TABLE {V(35,3)} ((-1,-1n)(0,0)(5.5,1n))(6.00,1))
G36 33 0 TABLE {V(35,4)} ((-6.00,-1)((-5.5,-1n)(0,0)(1,1n))
*
* Output Stage
R80 50 0 100MEG
G50 0 50 57 96 2
R58 57 96 0.50
R57 57 0 14.0
C58 5 0 2.00P
G57 0 57 POLY(3) 3 0 4 0 35 0 0 32M 31M 81M
GD55 55 57 TABLE {V(55,57)} ((-2m,-1)(-1m,-1m)(0,0)(10,1n))
GD56 57 56 TABLE {V(57,56)} ((-2m,-1)(-1m,-1m)(0,0)(10,1n))
E55 55 0 POLY(2) 3 0 51 0 -2.4M 1 -8.9M
E56 56 0 POLY(2) 4 0 52 0 1.24M 1 -8.5M
R51 51 0 1k
R52 52 0 1k
GD51 50 51 TABLE {V(50,51)} ((-10,-1n)(0,0)(1m,1m)(2m,1)(3m,100))
GD52 50 52 TABLE {V(50,52)} ((-3m,-100)(-2m,-1)(-1m,-1m)(0,0)(10,1n))
C51 50 51 2p
C52 50 52 2p
G53 3 0 POLY(1) 51 0 -25.0M 1M
G54 0 4 POLY(1) 52 0 -25.0M -1M
*
* Current Limit
G99 96 5 99 0 1
R98 0 98 1 TC=0.00,0.00
G97 0 98 TABLE { V(96,5) } ((-11.0,-80.0M)(-1.00M,-79.2M)(0,0)(1.00M,79.2M)(11.0,80.0M))
E97 99 0 VALUE { V(98)*((V(3)-V(4))*-31.2M + 1.07)}
D98 4 5 DESD
D99 5 3 DESD
*
* Temperature / Voltage Sensitive IQuiscent
R61 0 61 1 TC=2.54M,-5.92U
G61 3 4 61 0 1
G60 0 61 TABLE {V(3, 4)}
+ ((0,0)(1.00,10U)(1.2,0.1M)(1.45,1.4M)
+ (1.6,1.7M)(1.8,1.8M)(6.5,2.9M))
*
* Temperature Sensitive offset voltage
I73 0 70 DC 1uA
R74 0 70 1 TC=2.00
E75 1 71 70 0 -1
*
* Temp Sensistive IBias
I62 0 62 DC 1uA
R62 0 62 REXP 1.15M
*
* Temp Sensistive Offset IBias
I63 0 63 DC 1uA
R63 631 63 REXP2 .005
R631 0 631 2.25
*
* Models
.MODEL NMI NMOS(L=2.00U W=100U KP=20.0U LEVEL=1 )
.MODEL DESD D N=1 IS=1.00E-15
.MODEL DN1 D IS=1P KF=146E-18 AF=1
.MODEL REXP RES TCE= 7
.MODEL REXP2 RES TCE= 7
.ENDS MCP631


Re: abcd for cable modeling

John Woodgate
 

In message <6iHTSlOY3r8RFwLH@...>, dated Fri, 26 Jul 2013, John Woodgate <jmw@...> writes:


What i need is a way to define different elements of the line (segment
of cable, different types of branches) in order to have a database to
use to display the desired network topology and analyze the signal
behaviour through the line.
This can be an exceedingly complex matter. I think you need much more guidance from your tutor.
I found another Wikipedia page that specifically explains a-parameters:



You need to scroll down quite a bit.
--
OOO - Own Opinions Only. With best wishes. See www.jmwa.demon.co.uk
Why is the stapler always empty just when you want it?

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Re: abcd for cable modeling

John Woodgate
 

In message <ksud7b+n6i9@...>, dated Fri, 26 Jul 2013, desi2209 <desi0985@...> writes:

What i need is a way to define different elements of the line (segment of cable, different types of branches) in order to have a database to use to display the desired network topology and analyze the signal behaviour through the line.
This can be an exceedingly complex matter. I think you need much more guidance from your tutor.

In your previous post you said:

I need to simulate the cable behaviour between 90 kHz and 150 kHz. For these reason I think is always cited the abcd matrix and no others.

How I have to go on if I choose to work with the a matrix?
Now you say 'a-matrix'. That is NOT the same as ABCD matrix, it's one specific example of the general concept.

My teacher said that it is possible to define a new component in ltspice with the required matrix but I didn't find no hint in the web about it.
It's a black box with four terminals. It has input voltage and current and output voltage and current; these are four variables. It also has a feedback path and a feed-forward path, but being passive, these have equal properties.

The a-matrix gives you two equations. The left sides are input and output quantities, while the right sides connect the four variables with these quantities, the coefficients being the elements of the 2 x 2 a-matrix.

You need to make one of these 'black boxes' for each cable type and length.

Does that help? I have to say that the a-matrix is, as far as I know, not often used.
--
OOO - Own Opinions Only. With best wishes. See www.jmwa.demon.co.uk
Why is the stapler always empty just when you want it?

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Re: abcd for cable modeling

desi2209
 

i'm working with power line communication systems.
The articles explain the trasmission line theory for cable modelling, but then start to talk about abcd matrix and the advantage to describe the cable with this element, because on power line cable there are several branches and a complex topology to describe and the abcd matrix permitts to evaluate the total transfer function simply with matrix multiplications.

What i need is a way to define different elements of the line (segment of cable, different types of branches) in order to have a database to use to display the desired network topology and analyze the signal behaviour through the line.

--- In LTspice@..., Andrew Ingraham <Andrew.Ingraham@...> wrote:

Instead of a matrix representation, you can use the normal transmission
line that is built into LTspice. At those low frequencies, it should work
well.

So I'm wondering what sort of "cable" you need to model, and why an
ordinary transmission line isn't what those articles were using?

Andy




Re: abcd for cable modeling

 

Instead of a matrix representation, you can use the normal transmission
line that is built into LTspice. At those low frequencies, it should work
well.

So I'm wondering what sort of "cable" you need to model, and why an
ordinary transmission line isn't what those articles were using?

Andy


Re: abcd for cable modeling

desi2209
 

I need to simulate the cable behaviour between 90 kHz and 150 kHz. For these reason I think is always cited the abcd matrix and no others.

How I have to go on if I choose to work with the a matrix?
My teacher said that it is possible to define a new component in ltspice with the required matrix but I didn't find no hint in the web about it.

thank you,
desi

--- In LTspice@..., John Woodgate <jmw@...> wrote:

In message <ksu4kg+9r5j@...>, dated Fri, 26 Jul 2013, desi2209
<desi0985@...> writes:

I'm trying to model a cable in ltspice. I read some articles and
everybody talk about the implementation of the ABCD matrix in spice. I
will do the same but i don't understand how can i do...
There is a good article about 2-port networks and the ABCD matrix at:



but the 'ABCD matrix' is a very general concept and in order to do
simulations you have to decide which particular matrix you want to use,
h, k, z, y, a, b or s. If it's a high-frequency cable, you probably want
to use the s-matrix.

You need to search Files => Tables of Contents => All Files on the
list's web site for 's-parameters', using your browser's search or
'Find' facility.
--
OOO - Own Opinions Only. With best wishes. See www.jmwa.demon.co.uk
Why is the stapler always empty just when you want it?

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Re: Plot Settings

 

Hi Bob

I always highlight the wave form pane and
do a Ctrl S to save the settings.
This will always display what ever was selected.

But, the auto zooming is always there.
Seems you cant turn that off and have it stick.

Al D.

On 07/26/2013 11:38 AM, ve3tou wrote:
When doing repeated simulations of a circuit with (for instance)
different parameter steps, the plot settings revert to default settings
each time, so I have to do: plot settings/reload plot settings. This
works, but is there a way to make it re-use the settings without doing
this each time?
--


AC2CL

I do not think there is any thrill that
can go through the human heart like that felt by the inventor as
he sees some creation of the brain unfolding to success...
Such emotions make a man forget food, sleep, friends, love, everything.

- Nikola Tesla


Re: abcd for cable modeling

John Woodgate
 

In message <ksu4kg+9r5j@...>, dated Fri, 26 Jul 2013, desi2209 <desi0985@...> writes:

I'm trying to model a cable in ltspice. I read some articles and everybody talk about the implementation of the ABCD matrix in spice. I will do the same but i don't understand how can i do...
There is a good article about 2-port networks and the ABCD matrix at:



but the 'ABCD matrix' is a very general concept and in order to do simulations you have to decide which particular matrix you want to use, h, k, z, y, a, b or s. If it's a high-frequency cable, you probably want to use the s-matrix.

You need to search Files => Tables of Contents => All Files on the list's web site for 's-parameters', using your browser's search or 'Find' facility.
--
OOO - Own Opinions Only. With best wishes. See www.jmwa.demon.co.uk
Why is the stapler always empty just when you want it?

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Plot Settings

ve3tou
 

When doing repeated simulations of a circuit with (for instance)
different parameter steps, the plot settings revert to default settings
each time, so I have to do: plot settings/reload plot settings. This
works, but is there a way to make it re-use the settings without doing
this each time?

Thanks
Bob


abcd for cable modeling

desi2209
 

Hello!
I'm trying to model a cable in ltspice. I read some articles and everybody talk about the implementation of the ABCD matrix in spice. I will do the same but i don't understand how can i do...

Somebody can help me?

Thank you,
desi


SN74LS92

 

Hallo, ich suche ein LTspice-Modell f¨¹r den 47LS92

k?nnt Ihr mir weiter helfen?


Re: potentiometer

 

Thanks for your help.

Kind Regards,
Mike




From: "Helmut" <helmutsennewald@...>
To: LTspice@...
Date: 25/07/2013 18:49
Subject: [LTspice] Re: potentiometer
Sent by: LTspice@...






--- In LTspice@..., Michael.Harris@... wrote:

Hi,

I am looking for a potentiometer component but can not see one within
the
library symbols.

Does anyone know where I can find one?

Kind Regards,
Mike
Hello Mike,

When you search in the mentioned "all_files.htm" you will
find this place below.

Files > Lib > Potentiometer > potentiometer.zip



Just unzip it in a folder and run the example schematic(.asc).
The zip-file contains the symbol potentiometer.asy and a
subcircuit potentiometer.sub. Copy these two files into the
folders of your schematics if you need a potentiometer.

Best regards,
Helmut


Re: potentiometer

 

Hi,
What you want the symbol of poteniometer. If yes reply
?
With Regards
B.Vengadassalabady


________________________________
From: "Michael.Harris@..." <Michael.Harris@...>
To: LTspice@...
Sent: Thursday, 25 July 2013 9:24 PM
Subject: [LTspice] potentiometer

?
Hi,

I am looking for a potentiometer component but can not see one within the
library symbols.

Does anyone know where I can find one?

Kind Regards,
Mike


Re: Dead Time

 

Hi Anirban

I needed to do this with a class D audio amp
to actually get overlap for continuous conduction,
needed to eliminate cross over distortion.
(separate inductors for each fet)

If youre using the comparator with a ramp or triangle signal,
use a 2nd comparator with a slightly offset comparison voltage.
The delay of one crossing to the 2nd gives a very reliable dead time.
Other wise, use a one shot w/ some logic to get the delay.

Al D.

On 07/25/2013 06:53 PM, anirban wrote:
I need to introduce a dead time between two complementart PWM pulse,
trying to turn on the high and low side of a half h-bridge using the
ouput an inverted output of LTC1714 hi-speed comparator. The PWM
pulses are acting great just need to have something to inject the dead
time between the VOUT and VOUT! of the pulses which will then be sent
to the input drive pins of the half bridge drivers.
--


AC2CL

I do not think there is any thrill that
can go through the human heart like that felt by the inventor as
he sees some creation of the brain unfolding to success...
Such emotions make a man forget food, sleep, friends, love, everything.

- Nikola Tesla


Re: Article on EDN by Mike Robbins

 

--- In LTspice@..., Howard Hansen <hrhan@...> wrote:

Hello Frank,

Thank you for posting the link to the message Mike posted when the
alternate solver was first released. A couple of tidbits in the
message were especially interesting. One, "It is the hardest for other
programs to duplicate."
Two, "Basically two copies of the executable in LTspice"

You must have a super memory to be able to recall a message that old in
the LTspice message files.

Howard
To be honest, I just searched the group for "alternate solver" and looked at the earliest messages. The fact that the alternate solver has higher internal accuracy has been mentioned in this group quite a number of times.

Best regards,

Frank


Re: Convert model PSpice to LTSpice ??

 

big thanx!!
model work it!


Dead Time

 

Hi,

I need to introduce a dead time between two complementart PWM pulse, trying to turn on the high and low side of a half h-bridge using the ouput an inverted output of LTC1714 hi-speed comparator. The PWM pulses are acting great just need to have something to inject the dead time between the VOUT and VOUT! of the pulses which will then be sent to the input drive pins of the half bridge drivers.

Thanks,
Anirban.


.AC friendly up/down sampling

 

Hello

While searching for a good solution to .AC viewing of interpolation and decimation, among the results (simple multiplication, delays and VCCS/VS, VCCS and behavioural resistor), the varistor seemed to be the best approach. The Filter can now be viewed in frequency domain, too, for interpolation/decimation. For those interested, the schematic with the up-/downsampling section is here:

Files/Filter/Filter/Up_Down_Sampling.asc


Vlad