200 likes | 378 Views
INC151 Circuit Analysis by Engineering’s Software Practice. Lecture 4 Transient Analysis. 2 Types of AC Analysis. Transient Analysis (Transient) Plot of voltage/current vs. time Questions that ask relationship between voltage/current and time Frequency Response Analysis (AC Sweep)
E N D
INC151 Circuit Analysis byEngineering’s Software Practice Lecture 4 Transient Analysis
2 Types of AC Analysis • Transient Analysis (Transient) • Plot of voltage/current vs. time • Questions that ask relationship between • voltage/current and time • Frequency Response Analysis (AC Sweep) • Plot of voltage/current vs. frequency • Questions that ask relationship between • voltage/current and frequency
More AC Components • L (inductor) has 2 parameters: • value, initial condition (IC) • C (capacitor) has 2 parameters: • value, initial condition (IC) • VSIN (Transient sine voltage source) • Sinusoidal voltage source for transient analysis • has 3 parameters: • offset (VOFF), amplitude (VAMPL), frequency (FREQ)
Example VSIN parameters VOFF = 0 VAMPL = 1 FREQ = 200 Transient mode: Range = 0-100ms (Final time = 100ms) ex10
Choose mode “Transient ” • Graph plotting • Markers – specify which voltage to plot • Add trace – Another way to plot graph • Toggle Cursor – Show graph coordinate • Cursor Peak – Find max/min of the graph Question What is the voltage of the voltage source at t = 47ms?
How PSPICE plot a graph? y = sin(0.25t) t 0 1 2 3 4 5 y 0 0.7071 1.0000 0.7071 0.0000 -0.7071 t 6 7 8 y -1.0000 -0.7071 1.0000
Step Ceiling Step ceiling is the distance between 2 points When you want to read a value from a graph, Your step should be small enough but not too small. Step too big -> Read error Step too small -> Take long time to plot a graph
Try changing step ceiling to 1us 0.1us Step ceiling
Initial Condition (IC) L and C can store energy. They can absorb and supply the energy in form of voltage/current. L has IC in form of current C has IC in form of voltage In PSPICE, if not specify, you should put it equal to zero.
Example ex11 IC = 5V Range = 0-100ms
More Components • VPWL (Piecewise linear voltage source) • Programmable Voltage Source • Has 20 parameters: voltage at different time • IPWL (Piecewise linear current source) • Programmable Current Source • Has 20 parameters: current at different time
Piecewise Linear Source VPWL, IPWL Specify the time and voltage according to the table. 10 values are allowed. t 0 10m 20m 50m y 0 1 2 -1
Example Range 0 – 100ms
Step Input fromVPWL 1v 0v 20ms 0ms Build this signal using VPWL
Example Step Voltage
Example: Change to C IC=0 What is the voltage across the capacitor at t= 50ms?
Switches Sw_tClose switchclose at t Sw_tOpenswitch open at t
Example Range 0 – 100ms