Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Experiment 3
ECEN 4517/5517
ECEN 4517
1
Due dates
This week in lecture (now):
Quiz 1, on Exp. 1
ECEN 4517
2
Simulation
Averaged switch model in CCM Averaged switch model in DCM A combined automatic model for PSPICE (or Simulink, optional) Exp. 3 Part 1: simulation model for your system, including PV panel and converter
ECEN 4517
3
+ C R V
Separate the switching Vg + elements from the remainder of the converter Dene the terminal voltages and currents of the two-port switch network
ECEN 4517
i1
i2
+ v1
4
Switch network
+ v2
Q1
D1
ECEN 4517
5
i1 i2 = = iL d d
So
i2(t)Ts +
d (t ) v (t ) d (t ) 2
Ts
Ts
v2(t)T
v1 = d v2 d i 2 = d i 1 d
ECEN 4517
6
Symbol 1 CCM1 3 1
Subcircuit 3 + E t Gd 6 + Vdum 5
ECEN 4517
7
Ideal SEPIC frequency response .lib switch.lib L1 Vg 1 0 dc 120V 1 L1 1 2x 800uH RL1 2x 2 1U C1 2 3 100uF Vg + L2 3 0 100uH C2 4 0 100uF 0 RL 4 0 40 Vc 5 0 dc 0.4 ac 1 Rc 5 0 1M Xswitch 2 0 4 3 5 CCM1 .ac DEC 201 10 100kHz .PROBE .end
2x
RL1
2 C1
L2
C2
RL
CCM1
5 +
4 5 Rc
ECEN 4517
8
AC analysis in Spice
Given a nonlinear time-invariant circuit, as on the previous slide, we can get Spice to automatically perturb, linearize, and plot smallsignal ac transfer functions: Use DC sources to set up the correct quiescent operating conditions Include an AC source having amplitude 1 Perform an AC analysis: Spice will
Do a DC analysis to nd the quiescent operating point Linearize all nonlinear elements at this point, to construct a linear model Perform an AC (phasor) analysis at specied frequencies to nd the magnitudes and phases of all signals Construct Bode plots of selected signals. With an input amplitude of 1, the signal magnitude and phase plot is the transfer function.
ECEN 4517
9
Magnitude
Phase
ECEN 4517
10
Again nd average values of switch network terminal voltages and currents Eliminate variables external to the switch network Results on next slides
ECEN 4517
11
i 1( t )
Ts
Ts
+
v1(t)
i 1(t)
Ts
v1(t)
Ts
Re(d 1)
Ts
Re(d1)
L Re(d 1) = 2 d2 1 Ts
ECEN 4517
12
2 1
v1(t)
2 Ts Ts
+ p(t) v(t)
i 2(t)
Ts
v2(t)
Ts
v1(t)
2 Ts
Re(d 1)
= p(t)
Ts
ECEN 4517
13
Ts
1 : d(t)
i 2( t )
Ts
+
v1(t)
Ts
+
v2(t)
Ts
i2(t) + v2(t)
i 1(t)
Ts
i 2(t) p (t )
Ts
Ts
+
v1(t)
+
v2(t)
Ts
Ts
Re(d1)
ECEN 4517
14
This is one of the models inside switch.lib It automatically switches between CCM and DCM as necessary
ECEN 4517
15
i 2( t )
1 CCM-DCM1 3
+
v1(t)
Ts
Ts
v2(t)
2 5 4
Ts
Battery model
Use your PV model from Exp. 1 Replace buck converter switches with averaged switch model CCM-DCM1 and other PSPICE model library elements are linked on course web page
16
ECEN 4517