Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
DC Analysis, is there math to do V = V(V1) - V(V2)
Is there guide how to do math for DC analysis. I have two voltage node and wish to measure between V1 and V2.
I have tried V = V(V1) - V(V2) and it did not work. What the general rule to implement maths for DC purpose. I check the document and nothing useful there. |
Re: Wanted Max7405 model or how to model a switched capacitor filter
--- In LTspice@..., Howard Hansen <hrhan@...> wrote:
Hello, Here is another example of a SC-filter. It's made using normal switches sw. Files > Lib > LTC1060 Best regards, Helmut |
Re: Inductor initial conditions
Jim Wagner
On Sep 23, 2011, at 4:12 PM, Ganesan wrote:
As usual this group is very helpful in helping me find workarounds;This one appears to be very much like a bug. A report to mike using the address in the app looks to be appropriate. Jim Wagner Oregon Research Electronics |
Re: Wanted Max7405 model or how to model a switched capacitor filter
There is a simulation of a switch capacitor filter in this groups files.
toggle quoted message
Show quoted text
Files > Files sorted by message number > msg 2398 Take a look at this simulation. It may answer some of your questions. Howard On 9/23/2011 4:11 PM, poppletech wrote:
I would like to model a switched capacitor low pass filter, specifically the MAX7405. Is there a model availble? Or what would be the best way to model the frequency controlled cutoff frequency and the switching noise? |
Re: Inductor initial conditions
Ganesan
As usual this group is very helpful in helping me find workarounds; but
toggle quoted message
Show quoted text
the basic questions remain unanswered... cheers AG On 9/23/2011 6:07 PM, Rick wrote:
|
Re: Inductor initial conditions
--- In LTspice@..., Ganesan <dg1@...> wrote:
AG, Hum, you are correct. I don't know why this is, but it is confusing. Maybe someone else can shed some light on this. Anyway, if I want nonzero ic's I always specify them according to the method I noted earlier. Rick |
Re: Inductor initial conditions
Ganesan
I sent it to your email address.. But the netlist is in previous
postings and is below. Just cut and paste it into a .cir file and run LTspice on it... cheers AG * C:\Documents and Settings\ganesan\My Documents\Downloads\Draft1.asc > > R1 out 0 1 > > L2 out 0 1 > > R2 out1 0 1 > > C1 out1 0 1 > > .ic I(L2) =1.0 v(out1) =-1.0 > > .tran 5 uic > > .backanno > > .end On 9/23/2011 5:52 PM, Rick wrote:
|
Re: Inductor initial conditions
--- In LTspice@..., Ganesan <dg1@...> wrote:
AG, You should be able to upload the file, but my email address is rsawrey@... Rick |
Re: Inductor initial conditions
Ganesan
It is small enough to paste here.
toggle quoted message
Show quoted text
cheers AG IC_test.asc Version 4 SHEET 1 880 680 WIRE 176 64 144 64 WIRE 208 64 176 64 WIRE 368 64 352 64 WIRE 400 64 368 64 WIRE 144 96 144 64 WIRE 208 96 208 64 WIRE 352 96 352 64 WIRE 400 96 400 64 WIRE 144 208 144 160 WIRE 176 208 144 208 WIRE 208 208 208 176 WIRE 208 208 176 208 WIRE 352 208 352 176 WIRE 384 208 352 208 WIRE 400 208 400 176 WIRE 400 208 384 208 WIRE 176 240 176 208 WIRE 384 240 384 208 FLAG 176 240 0 FLAG 384 240 0 FLAG 176 64 out1 FLAG 368 64 out SYMBOL res 192 80 R0 SYMATTR InstName R2 SYMATTR Value 1 SYMBOL res 384 80 R0 SYMATTR InstName R1 SYMATTR Value 1 SYMBOL cap 128 96 R0 SYMATTR InstName C1 SYMATTR Value 1 SYMBOL ind 368 80 M0 SYMATTR InstName L2 SYMATTR Value 1 TEXT 160 8 Left 2 !.ic I(L2) =1.0 v(out1) =-1.0 TEXT -32 40 Left 2 !.tran 5 uic On 9/23/2011 5:47 PM, Ganesan wrote:
|
Re: Inductor initial conditions
Ganesan
I have just created such a file IC_test.asc.. For reasons I dont
toggle quoted message
Show quoted text
understand I am unable to Upload it to the temp directory. So I am sending it to you by direct email tosawreyrw@... cheers AG On 9/23/2011 5:26 PM, Rick wrote:
|
Re: Inductor initial conditions
--- In LTspice@..., Ganesan <dg1@...> wrote:
AG, No, if .tran UIC is specified the .IC directive is ignored, and any ic's on cap or inductor cards are used. If you don't agree post, a .asc file showing your circuit that doesn't work this way. Rick |
Re: Inductor initial conditions
Ganesan
The point is when the .tran statement includes UIC, the node voltages
toggle quoted message
Show quoted text
are read from the .IC card but not the inductor currents from the .IC card. What gives? ( we are not talking about IC= Val on the individual elements) Cheers AG On 9/23/2011 4:51 PM, Rick wrote:
|
Re: Wanted Max7405 model or how to model a switched capacitor filter
Ganesan
In message #48936 I showed how to model a first order switched Capacitor
toggle quoted message
Show quoted text
filter and the clock frequency can be varied.. I had problems getting it to work in the time domain . (The Laplace has some quirks).. Helmut in a subsequent message solved it for that particular circuit.. I believe, in the general case the frequency domain answer is exact; but the time domain answer may need to be scrutinized.. Cheers AG On 9/23/2011 4:11 PM, poppletech wrote:
|
Re: Inductor initial conditions
--- In LTspice@..., Ganesan <dg1@...> wrote:
AG, There are two different ways to specify initial conditions. 1. If the .tran statement includes UIC, the ic=values from the cap and inductor "cards" are used. You don't need to edit the netlist to add them, just add them as Helmut has told you. 2. If the .tran statement does NOT include UIC, then the value(s) in the .IC directive are applied. Rick |
Re: How to Specify Polarity on Capacitor Initial Conditions
When you use an ic=<value> parameter on a capacitor, you have to think
of the SPICE netlist description. The specified voltage is between the first node and the second one, for example: Cnnn n1 n2 470p ic=-2.5V would set node n1 2.5V lower than node n2. You may need to experiment a bit to see how the schematic symbol (with its various orientations) translates to the netlist. Use View > SPICE Netlist to see the netlist. Andy |
Wanted Max7405 model or how to model a switched capacitor filter
poppletech
I would like to model a switched capacitor low pass filter, specifically the MAX7405. Is there a model availble? Or what would be the best way to model the frequency controlled cutoff frequency and the switching noise?
So far I have been using an 'e' behavorial voltage source with a laplace transform of the filter transfer function. I have not figured out how to control the cutoff frequency by the frequency of an input signal. Can anyone help with that? Thank you Ken |
Re: Inductor initial conditions
Ganesan
Thanks
toggle quoted message
Show quoted text
Ag On 9/23/2011 3:31 PM, Helmut wrote:
|
Re: Inductor initial conditions
Hello AG,
toggle quoted message
Show quoted text
Initial conditions can be set in any capacitor or inductor. Instead of 5n use the following to charge the capacitor with 5V. 5n IC=5 Instead of 10u use the following to set the inductor current to 1A. 10u IC=1 Best regards, Helmut --- In LTspice@..., Ganesan <dg1@...> wrote:
|
Re: Inductor initial conditions
Ganesan
Helmut,
toggle quoted message
Show quoted text
Are there symbols for inductors and capacitors, where I can put in Initial conditions? Cheers AG ============================= On 9/23/2011 1:58 PM, Ganesan wrote:
|
Re: Regarding Monte carlo setup
--- In LTspice@..., "pindsen" <windven@...> wrote:
Hello Carsten, .step param 0 5 1 The 1 is the increment from step to step. Here is an example with increment 0.1 .step param xy 0 10 0.1 xy=0 xy=0.1 xy=0.2 xy=... xy=9.9 xy=10 Best regards, Helmut |
to navigate to use esc to dismiss