Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
||||||||||||||||
|
Posted by Marc Weber on November 18, 2006, 8:05 am
Please log in for more thread options Hi. I want to learn how to use spice. To get to know spice I want to start simulating a simple schema: --| R 1 | -- | | 0 1 | | -x-||--x---- C1 (One resistor and capacitor) The Capacitor should start having some voltage. Now I want spice3/ ngspice to simulate and print/ plot the voltage decay By now I've managed to write the netlist file: ----- res_cap.cir ---- * RESISTOR AND CAPACITOR - VOLTAGE DECAY. R1 0 1 1Ohm C1 0 1 1u .END ----- res_cap.cir ---- Can you tell me which .PRINT .PLOT options to use to get the voltage decay? I want to use batch processing until I know the basics. This way I can ask my editor to start spice automatically. Should look like this . . . ' I do need AC analysis, right? I don't know exactly how to invoke spice to get this information. I can use .PRINT AC V(0,1) to get the voltage difference, correct? If you now a page describing this I would be glad, too. I've spent some time googling but haven't fond this information. Marc | ||||||||||||||||
|
Posted by Jim Thompson on November 18, 2006, 10:56 am
Please log in for more thread options On Sat, 18 Nov 2006 14:05:23 +0100 (CET), Marc Weber No. You need a .TRAN >I don't know exactly how to invoke spice to get this information.
>I can use >.PRINT AC V(0,1) No. .PRINT V(1) or .PRINT V(1,0) >to get the voltage difference, correct?
> >If you now a page describing this I would be glad, too. >I've spent some time googling but haven't fond this information. > >Marc You need a voltage source... split you node zero into "0" and "2", add a step... VPULSE. RTFM! ...Jim Thompson -- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona Voice:(480)460-2350 | | | E-mail Address at Website Fax:(480)460-2142 | Brass Rat | | http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food. | ||||||||||||||||
|
Posted by Charles Schuler on November 19, 2006, 5:20 pm
Please log in for more thread options
> Hi. I want to learn how to use spice.
> > To get to know spice I want to start simulating a simple schema: > > --| R 1 | -- > | | > 0 1 > | | > -x-||--x---- > C1 > > (One resistor and capacitor) > The Capacitor should start having some voltage. > > Now I want spice3/ ngspice to simulate and print/ plot the voltage decay > > By now I've managed to write the netlist file: > > ----- res_cap.cir ---- > * RESISTOR AND CAPACITOR - VOLTAGE DECAY. > R1 0 1 1Ohm > C1 0 1 1u > .END > ----- res_cap.cir ---- > > Can you tell me which .PRINT .PLOT options to use to get the voltage > decay? > I want to use batch processing until I know the basics. This way I can ask > my > editor to start spice automatically. > > Should look like this > . > . > . > ' > I do need AC analysis, right? Transient analysis. | ||||||||||||||||

voltage decay capacitor spice commandline
Yahoo!
Windows Live
del.icio.us
digg
Netscape 



>
>To get to know spice I want to start simulating a simple schema:
>
>--| R 1 | --
>| |
>0 1
>| |
>-x-||--x----
> C1
>
>(One resistor and capacitor)
>The Capacitor should start having some voltage.
>
>Now I want spice3/ ngspice to simulate and print/ plot the voltage decay
>
>By now I've managed to write the netlist file:
>
>----- res_cap.cir ----
>* RESISTOR AND CAPACITOR - VOLTAGE DECAY.
>R1 0 1 1Ohm
>C1 0 1 1u
>.END
>----- res_cap.cir ----
>
>Can you tell me which .PRINT .PLOT options to use to get the voltage decay?
>I want to use batch processing until I know the basics. This way I can ask my
>editor to start spice automatically.
>
>Should look like this
>.
> .
> .
> '
>I do need AC analysis, right?