View
2
Download
0
Category
Preview:
Citation preview
EE152 Green Electronics
Photovoltaics 10/10/13
Prof. William Dally Computer Systems Laboratory
Stanford University
Course Logistics • HW3 Due Tuesday • Lab2 Signed off this week • Lab3 Out • Quiz1 – Next Thursday 10/17
10−1 100 101 102 10310−4
10−2
100
102
104
|H(s
)|
10−1 100 101 102 103−200
−150
−100
−50
0�
H(s
) (de
gree
s)
t (rad/s)
t1 = 20.5116
e1 = −103.699
Summary of Feedback Control • Plant is described by ODEs (possibly non-linear) • Controller drives plant input(s) to achieve goal • Feedback control, input is function of “error” • Stable if – ζ >= 1 – H(s) has phase margin at unity gain
• PD and PI controllers – Derivative feedback stabilizes 2nd order system – Integral feedback cancels residual error (but avoid wind up)
• Bode Plots – Show phase margin at unity gain – Zeros ramp up and advance phase 90 degrees – Poles ramp down and retard phase 90 degrees
• Motor control with current limit
G(s) = C(s)P(s)1+C(s)P(s)
=H (s)1+H (s)
C(s) P(s)X(s) E(s) A(s) Y(s)+
_
Example – Control of Boost Converter
Want transfer function from Dh (duty factor of high switch) to Vd
�I = (Vin �DhVd)tcyL
i(s) = �dh(s)hVdisL
� vd(s)hDhisL
�Vd =
✓DhI �
Vd
R
◆tcyC
vd(s) =hDhii(s)
sC� vd(s)
sRC
vd(s)
✓1 +
1
sRC
◆=
hDhii(s)sC
vd(s) (sRC + 1) = hDhiRi(s)
vd(s) =hDhiRi(s)
sRC + 1=
hDhii(s)sC + 1
R
vd(s) = �hDhihVdidh(s) + hDhi2vd(s)s2LC + sL
R
vd(s)
✓s2LC + s
L
R+ hDhi2
◆= �hDhihVdidh(s)
vd(s)
dh(s)= � hDhihVdi
s2LC + sLR + hDhi2
vd(s)
dh(s)= �
hDhihVdiLC
s2 + s 1RC + hDhi2
LC
1
�I = (Vin �DhVd)tcyL
i(s) = �dh(s)hVdisL
� vd(s)hDhisL
�Vd =
✓DhI �
Vd
R
◆tcyC
vd(s) =hDhii(s)
sC� vd(s)
sRC
vd(s)
✓1 +
1
sRC
◆=
hDhii(s)sC
vd(s) (sRC + 1) = hDhiRi(s)
vd(s) =hDhiRi(s)
sRC + 1=
hDhii(s)sC + 1
R
vd(s) = �hDhihVdidh(s) + hDhi2vd(s)s2LC + sL
R
vd(s)
✓s2LC + s
L
R+ hDhi2
◆= �hDhihVdidh(s)
vd(s)
dh(s)= � hDhihVdi
s2LC + sLR + hDhi2
vd(s)
dh(s)= �
hDhihVdiLC
s2 + s 1RC + hDhi2
LC
1
Derive small signal model
�I = (Vin �DhVd)tcyL
i(s) = �dh(s)hVdisL
� vd(s)hDhisL
�Vd =
✓DhI �
Vd
R
◆tcyC
vd(s) =hDhii(s)
sC� vd(s)
sRC
vd(s)
✓1 +
1
sRC
◆=
hDhii(s)sC
vd(s) (sRC + 1) = hDhiRi(s)
vd(s) =hDhiRi(s)
sRC + 1=
hDhii(s)sC + 1
R
vd(s) = �hDhihVdidh(s) + hDhi2vd(s)s2LC + sL
R
vd(s)
✓s2LC + s
L
R+ hDhi2
◆= �hDhihVdidh(s)
vd(s)
dh(s)= � hDhihVdi
s2LC + sLR + hDhi2
vd(s)
dh(s)= �
hDhihVdiLC
s2 + s 1RC + hDhi2
LC
1
−20
0
20
40
60
Mag
nitu
de (d
B)
103 104 105 106−180
−135
−90
−45
0
Phas
e (d
eg)
Bode DiagramGm = Inf dB (at Inf rad/s) , Pm = 1.74 deg (at 3.32e+05 rad/s)
Frequency (rad/s)
Plant Step Response
0 0.2 0.4 0.6 0.8 1 1.2x 10−3
0
20
40
60
80
100
120
140
160
Step Response
Time (seconds)
Ampl
itude
tcy ~ 180us
Validate to SPICE
0µs 50µs 100µs 150µs 200µs 250µs 300µs 350µs 400µs 450µs 500µs-3V
0V
3V
6V
9V
12V
15V
18V
21V
24V
27V
30VV(vd)
To bring phase back, add a zero at ω=1000 Add a pole to give infinite DC gain Lower gain to bring ω1 to 1e4 P=.0001 Q=1E-7 R=1000
−80
−60
−40
−20
0
20
Mag
nitu
de (d
B)
103 104 105 106 107 108−90
−45
0
45
90
Phas
e (d
eg)
Bode DiagramGm = Inf , Pm = −90 deg (at 1e+07 rad/s)
Frequency (rad/s)
Forward Transfer of Controller x Plant
−40
−30
−20
−10
0
10
20
Mag
nitu
de (d
B)
103 104 105 106−135
−90
−45
0
Phas
e (d
eg)
Bode DiagramGm = Inf , Pm = 85.4 deg (at 9.45e+03 rad/s)
Frequency (rad/s)
Step Response
0 0.5 1 1.5 2 2.5 3 3.5 4x 10−3
0
0.2
0.4
0.6
0.8
1
1.2
1.4
Step Response
Time (seconds)
Ampl
itude
Boost Control • Develop small-signal model for plant dynamics
– Linearize around nominal values for Vd and Dh
– Note that these dynamics depend on load (R) – Change significantly for DCM
• Plot forward transfer function • Derive controller to fix phase margin
– Zero to advance phase 90 degrees – Pole to give infinite DC gain – Lower proportional gain to place crossover well below ωsw
– Also important to have enough derivative gain to avoid large-signal effects on startup.
• Check combined response
Photovoltaic System
Solar Panel
Solar Panel
Solar Panel
Solar Panel
Solar Panel
Solar Panel
Photovoltaic Array
PV Controller and Inverter
Batteries
400V DC 240V AC60 Hz
48V DC
To Grid
16
M
215 Installation and Operation
C
opyright � 2012 Enphase Energy
141-00012 Rev 04
29
Sam
ple Wiring D
iagram – M
215, 240 VA
C
Typical Panel CS6P 60 cells in series ~0.5V per cell 3 strings of 20 with bypass diode on each string
Peak-Power Tracking • Find point on IV curve where power is maximized.
Start at any point (v(0),i(0)) “Dither” v, v(i+1) = v(i) + Δv Check result: if(p(i+1) < p(i)) v(i+1) = v(i) Try both directions: Δv = -Δv
Search Strategies for Non-Convex MPPT • Exhaustion
– Try every operating point • Random
– Randomly pick new points – keep if better • Hierarchical
– Try every point – with coarse spacing – Try every point near best point with finer spacing – Repeat
• Acquire and Track – One of the above to acquire MPPT (e.g., hierarchical) – Then gradient search to track – Periodically revisit (devote some fraction of string time to this)
• Optimal method depends on – Shape of curve – How fast the curve changes – How the curve changes
Good Optimization Depends on Understanding The Problem
• Collect lots of data – Time series of IV curves from typical strings
• Understand the data • What causes “dips”
– Bad panels • Static offset in current
– Fixed shading – trees, buildings, etc… • Periodic offset – same time each day
– Variable shading – clouds, etc… • Unpredictable shading – but shifts across panels in one direction
• Develop algorithms • Test on data
An Example of Optimization • Trade-off parameters against one another to maximize
a figure of merit.
• In this case, parameters are panel voltage and current.
• Figure of merit is power.
• Optimization is done real-time because temperature and irradiance change. – Sometimes optimization is done at design time, or calibration
time.
Cycle Waveforms
350 355 360 365 370 375 3802
4
6
8il(
A)
350 355 360 365 370 375 38034.5
35
35.5
v in (V
)
350 355 360 365 370 375 38043
43.5
44
44.5
v out (V
)
t (µs)
Size input cap Ci for acceptable ripple
Size output cap Co for acceptable ripple
Size inductor L to set ripple
Longer Simulation
0 2 4 6 8 10 12 14 1610
20
30
40
v in(V
)
0 2 4 6 8 10 12 14 160
5
10i pv
(A)
0 2 4 6 8 10 12 14 1620
40
60
v out(V
)
0 2 4 6 8 10 12 14 160
0.2
0.4
D
0 2 4 6 8 10 12 14 1650
100150200250
P (W
)
t (ms)
Summary of PV • PV cells/strings are voltage-dependent current
sources (Diode in parallel with current source) • PV controllers regulate their input voltage/current to
maximize power – Maximum power-point tracking
• Can apply almost any converter topology – Boost used for illustration – Regulate input rather than output
• Gradient search for convex optimization • More sophisticated search needed for multi cell/panel
string
Recommended