Download presentation
Presentation is loading. Please wait.
Published byConstance Dean Modified over 9 years ago
1
Spice Enrico Santi
2
Types of Analysis Bias point (always performed).TRANtransient analysis.ACAC analysis (on linearized system).FOURFourier analysis.DCDC sweep analysis
3
File Types Input.CIRtext file with circuit description Output.OUTSpice text output (contains error messages and bias point info).DATData file (used by Probe to plot)
4
Format of.CIR Files Title Circuit description Analysis description Output description (.PROBE) End-of-file statement (.END)
5
Part Library Part library contains collection of subcircuits representing OPAMPS, IC chips, etc. Parts can be used to build circuits (node mapping)
6
Part Library and Subcircuit Syntax.LIB eval.lib * include library eval.lib X name [ nodes ] SUBNAME * call statement File eval.lib contains subcircuits:.SUBCKT SUBNAME [ nodes ] circuit description .ENDS SUBNAME
7
Defining Model Parameters: the.MODEL statement Used to define model parameters Syntax for an NPN transistor with forward beta of 300 Q1 1 2 3 QNAME.MODEL QNAME NPN (BF = 300)
8
Examples RC circuit (time domain and frequency domain) Astable circuit using 555 (use of library and subcircuits) Transistor current source (use of.MODEL statement to define component parameters)
9
Example: Highpass Filter RC highpass filter VG 1 0 DC 10V AC 1 R1 2 0 159K C1 1 2 10NF IC=-5V.TRAN 6us 6MS.AC DEC 100 1HZ 10KHZ.PROBE.END
10
555 Astable
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.