Professional Documents
Culture Documents
LTSpice Transient ANalysis
LTSpice Transient ANalysis
Why LTSpice ?
http://www.linear.com/designtools/software/?gclid=CI2Gg9uasLsCFQuUfgodpwQAJQ#LTspice
Sajjad Haidar
Transient Analysis: RC Circuit
i1
1 SW R
+
V i2
-
V
−
t
When switch in Position:1
Capacitor voltage
VC = V 1 − e RC
VC
t
V −
Current i1 = e RC
R t
V/R
t
VC − I1
Position:2 i2 = e RC
R
t
Sajjad Haidar
LT SPICE Simulation: Adding components
n002
misc: battery
Add Spice directive
Important Note: You must add the initial condition: Spice Directive
.IC (n002)=0. it means there is no charge in the capacitor at t = 0
By participating in our programs, students and young people are able to develop the skills they need
+
V i2
-
V/R
When switch in position in 1
I2
for a long time, VC ~ V
t
VC (initial ) −
VC(initial) V
i2 = e RC
R
t
t
−
VC = VC (initial ) e RC V
VC
t
Sajjad Haidar
LT SPICE Simulation: Capacitor Discharging
mirror
Current
direction
Mirror resistor R1, which will
give you the current in positive
n001
direction Set the Spice directive :
.IC V(n001)=10
As the capacitor voltage is
now 10 V
Sajjad Haidar
LT SPICE Simulation: Capacitor Discharging
Capacitor voltage
Discharging current
Sajjad Haidar
Calculating Power and Energy
i1
1 SW R
+
V i2
-
When switch in position 1 for a long time, or in steady state capacitor voltage becomes equal to battery voltage. Energy
Stored in capacitor can be expressed as:
1
E= CV2
2
When the switch in position 2, power dissipated by the resistor, R is:
2
V − t / RC V 2 − 2t / RC
P= i R= e
2
2 R = e
R R
∞
V 2 − 2t / RC
Total energy consumed by R is: E= ∫ p.dt =
R ∫0
e . dt
Sajjad Haidar
LTSpice to find Power and energy
Energy
Sajjad Haidar