Introduction to PSpice Digital Electronics LAB No.5 Engr. Mian Shahzad Iqbal Lecturer Department of Telecommunication Engineering
SPICE SPICE is a general-purpose circuit simulator capable of performing the following types of analysis
Representation Code metric prefix Decimal representation T tera 1012 G giga 109 Meg mega 106 K kilo 103 M milli 10-3 U micro 10-6 N nano 10-9 P pico F femto 10-15
Transient Analysis
Pulse Response of a RLC-circuit * PULSE (-VS +VS TD TR TF PW PER) ; Pulse input VIN 7 0 PULSE (-220V 220V 0 1NS 1NS 100US 200US) * R1 7 5 2 L1 5 3 50UH C1 3 0 10UF * .TRAN TSTEP TSTOP ; Command for transient analysis .TRAN 1US 400US *.PRINT TRAN V(R1) V(L1) V(C1) : Prints on the output file *.PLOT TRAN V(3) I(R1) : Plots on the output file .PROBE ; Graphical waveform analyzer .END ; End of circuit fil