digital control of power converters - upm · digital control of power converters 31 z-transform...
TRANSCRIPT
![Page 1: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/1.jpg)
2 Digital controller design
DIGITAL CONTROL OF POWER CONVERTERS
![Page 2: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/2.jpg)
Digital control of Power Converters 2
Outline
▪ Review of frequency domain control design
Performance limitations
▪ Discrete time system analysis and modeling
▪ Digital controller design
![Page 3: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/3.jpg)
Review of frequency
domain control design
![Page 4: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/4.jpg)
Digital control of Power Converters 4
Response of linear systems
G(z)
{uk} {yk}
R(z)
{ek} {rk}
-
G(s) R(s)
r(t)
-
e(t) u(t) y(t)
0 1 2 3 4 5 6 7-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
0 1 2 3 4 5 6-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
Analog system Discrete system
![Page 5: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/5.jpg)
Digital control of Power Converters 5
Review of Continuous system design
|G(jw)|
w G(jw)
G(s) Frequency response
A B
C
A
B
C
u y
![Page 6: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/6.jpg)
Digital control of Power Converters 6
Ideal controller
( )y f u z
1( ( ))y f f r z z
y r
f(o) f-1(o)
r(t)
-
e(t) u(t) y(t)
z(t) disturbances
Conceptual controller
![Page 7: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/7.jpg)
Digital control of Power Converters 7
Realization of a conceptual controller
h(o)
r(t)
-
u(t)
y(t)
z(t) disturbances
Conceptual controller
f(o)
f(o)
r - h-1u r
The loop implements an approximate inverse of f o, i.e. u = f r, if
![Page 8: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/8.jpg)
Digital control of Power Converters 8
Realization of a conceptual controller
h(o)
r(t)
-
u(t)
y(t) f(o)
f(o)
Open loop controller
G(s) R(s)
-
y(t)
Feedback controller
r(t)
![Page 9: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/9.jpg)
Digital control of Power Converters 9
Review of Continuous system design
G(s) R(s)
r(t)
-
e(t) u(t) y(t) ??
|G(jw)|
w
error 1
1e r
RG
|R(jw)|
|RG(jw)|
wc
Bandwidth |RG(jwc)|=1
1( ) ( )
1 ( )e jw r jw
RG jw
S :Nominal sensitivity 1
1S
RG
|S(jw)|
RG:Loop Gain
![Page 10: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/10.jpg)
Digital control of Power Converters 10
Review of Continuous system design
G(s) R(s)
r(t)
-
e(t) u(t) y(t) ??
|G(jw)|
w
error 1
1e r
RG
|R(jw)|
|RG(jw)|
wc
For ( ) cwRG s
s ( ) ( )
c
jwe jw r jw
jw w
w=0.1wc |e| 0.1r e
r
w=wc |e| 0.7r
w=10wc |e| r
e
e
The control is useful bellow the loop gain bandwidth
|S(jw)|
![Page 11: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/11.jpg)
Digital control of Power Converters 11
Review of Continuous system design
G(s) R(s)
r(t)
-
e(t) u(t) y(t)
??
|G(jw)|
w
error 1
1e z
RG
|R(jw)|
|RG(jw)|
wc
w=0.1wc |e| 0.1r e
z
w=wc |e| 0.7r
w=10wc |e| r
e
e
The same effect of feedback for disturbances
z(t) disturbances
z
z
|S(jw)|
![Page 12: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/12.jpg)
Digital control of Power Converters 12
Review of Continuous system design
▪ The higher the bandwidth the better the performance
w
|RG(jw)|
wc
|S(jw)|
G(s) R(s)
r(t)
-
e(t) u(t) y(t)
??
z(t)
![Page 13: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/13.jpg)
Digital control of Power Converters 13
Review of Continuous system design
G(s) R(s)
r(t)
-
e(t) u(t) y(t)
??
|G(jw)|
w
|R(jw)|
z(t) disturbances
output
Control effort
1
RGy r
RG
1
Ru r
RG
1u r
GBelow wc
u
High values of u can lead to saturation!!
![Page 14: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/14.jpg)
Digital control of Power Converters 14
Review of Continuous system design
G(s) R(s)
r(t)
-
e(t) u(t) y(t)
??
n(t)
noise
referene
Noise
1
RGy r
RG
1
RGy n
RG
Noise and reference are amplified in the same way
Limit the bandwidth to limit the effect of noise
![Page 15: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/15.jpg)
Digital control of Power Converters 15
Stability margins and sensitivity peak
▪ If G0 is stable
▪ Stability is assured if R·G does not enclosed -1
Gain and Phase Margins Peak Sensitivity
Z = N + P
![Page 16: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/16.jpg)
Digital control of Power Converters 16
Stability margins
The gain margin, Mg, and the phase margin Mf are defined as:
Peak sensitivity:
S0 is a maximum at the frequency where G0(jw)R(jw) is
closest to the point -1. The peak sensitivity is thus 1/
1,
1S
GR
![Page 17: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/17.jpg)
Digital control of Power Converters 17
Stability margins in Bode diagrams
0G R
G(s) R(s)
-
y(t) r(t)
Useful Control Action
![Page 18: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/18.jpg)
Digital control of Power Converters 18
Performance limitations: Bode’s Integral constraint
G(s) R(s)
-
y(t) r(t)
for an open loop stable plant, the integral of the logarithm of the closed loop sensitivity is zero; i.e.
0 0 0|)(|ln dwjwS
0.01 0.1 1 10 10010
5
0
2
10
S.2frsp1
1000.01 S.1frsp0
+
-
Equal areas
![Page 19: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/19.jpg)
Digital control of Power Converters 19
Performance limitations
G(s) R(s)
-
y(t) r(t)
0.01 0.1 1 10 100 50
0
50
100
Loop gain
0.01 0.1 1 10 10040
30
20
10
1.321 105
40
S.1frsp1
S.2frsp1
1000.01 S.1frsp0
Sensitivity function
Improved performance at low freq
Worse performane around bandwidth
![Page 20: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/20.jpg)
Digital control of Power Converters 20
Sensitivity dirt
1
Slog
w
Performance limitations
▪ Physical interpretation
0 0 0|)(|ln dwjwS
![Page 21: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/21.jpg)
Digital control of Power Converters 21
Effect of RHP zeroes and poles
To avoid large frequency domain sensitivity peaks it is necessary to limit the range of sensitivity reduction to be:
(i) less than any right half plane open loop zero
(ii) greater than any right half plane open loop pole.
freq fRHPZ
½ fRHPZ
|RG(jw)|
G(s) R(s)
-
y(t) r(t)
freq fRHPP
2 fRHPZ
|RG(jw)|
![Page 22: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/22.jpg)
Digital control of Power Converters 22
Performance limitations
This begs the question - “What happens if there is a right half plane open loop zero having smaller magnitude than a right half plan open loop pole?”
Clearly the requirements specified on the previous slide are then mutually incompatible. The consequence is that large sensitivity peaks are unavoidable and, as a result, poor feedback performance is inevitable.
![Page 23: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/23.jpg)
Digital control of Power Converters 23
Outline
▪ Review of frequency domain control design
Performance limitations
▪ Discrete time system analysis and modeling
▪ Digital controller design
![Page 24: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/24.jpg)
Digital control of Power Converters 24
Modelling of discrete systems
Inside the digital processor the system input and output simply appear as sequences of numbers
It therefore makes sense to build digital models that relate a discrete time input sequence, {e(k)}, to a sampled output sequence {d(k)}.
+
ve
-
iC
R
L
iR
+
vs
-
C
iL
ADC
R(z)
{ek} {dk}
vo(t)
H(s)
DPWM
Driver
{vref,k}
G(z) {dk} {vk}
v (t) {vk}
{dk}
PWM
{vk}
v(t)
processor
![Page 25: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/25.jpg)
Digital control of Power Converters 25
Sampling and Aliasing
Consider the signal
if the sampling period is chosen equal to 0.1[s] then
the high frequency component appears as a signal of low frequency (here zero). This phenomenon is known as aliasing.
HF
LF
![Page 26: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/26.jpg)
Digital control of Power Converters 26
Aliasing effect when using low sampling rate
▪ Rule of thumb sampling rate should be 5 to 10 times the bandwidth of the signals
is chosen equal to 0.1s
![Page 27: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/27.jpg)
Digital control of Power Converters 27
Signal Reconstruction
{u[k]}
{u[k]}
DPWM
Sample and hold
![Page 28: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/28.jpg)
Digital control of Power Converters 28
Signal reconstruction
▪ Sample and Hold vs PWM
0 2 4 6 8 10 12 140
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
![Page 29: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/29.jpg)
29 Digital control of Power Converters
Typical discretization of G(s)
HO G(s)
Zero-order
Hold Sampler
G(z)
Power
converter PWM ADC
The zero order hold is used to model the PWM
Matlab function:
C2D(G(s),TS,’zoh’)
![Page 30: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/30.jpg)
Digital control of Power Converters 30
Discrete systems basics
G(z)
{uk} {vk}
G(s)
u(t) v(t)
{uk}
v (t)
{vk}
sequences Continous functions
u(t)
( 1) ( ) · ( )sv k v k T u k
Integral
00( ) ( ) ( )
t
tv t v t u d
Discrete Integral
![Page 31: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/31.jpg)
Digital control of Power Converters 31
Z-Transform
Z-transform for discrete time signals is equivalent to the Laplace transform (s) for continuous systems.
Consider a sequence {y[k]; k = 0, 1, 2, …]. Then the Z-transform pair associated with {y[k]} is given by
Z-transforms have a similar property than the S-transform for discrete time models, namely they convert difference equations (expressed in terms of the shift operator q) into algebraic equations.
![Page 32: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/32.jpg)
Digital control of Power Converters 32
Discrete systems basics
sequences Continous functions
( 1) ( ) · ( )sv k v k T u k
Continous Integral
00( ) ( ) ( )
t
tv t v t u d
Discrete Integral
u(t) {uk}
k·Ts
Continous derivative Discrete derivative
{uk} {vk}
sT
kukukv
)1()()(
dt
tdutv
)()(
u(t) {uk}
k·Ts
![Page 33: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/33.jpg)
Digital control of Power Converters 33
z-transform vs s-tranform
( ) · k
k
k
X z x z
x(t) {xk}
k·Ts
·( ) ( )· s tX s x t e dt
( 1) ( ) · ( )sv k v k T u k
· ( ) ( ) · ( )sz V z V z T U z
Z-transform
( ) ( )1
sTV z U z
z
Z-transfer function
00( ) ( ) ( )
t
tv t v t u d
0
1 1( ) ( ) ( )V s V t U s
s s
s-transform
1( ) ( )V s U s
s
s-transfer function
![Page 34: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/34.jpg)
Digital control of Power Converters 34
Z- transfer function
Ignoring the initial conditions, the Z-transform of the output Y(z) is related to the Z-transform of the input by Y(z) = Gq(z)U(z) where
Gq(z) is called the discrete (shift form) transfer function.
![Page 35: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/35.jpg)
Digital control of Power Converters 35
An interesting observation
The Z-transform of a unit pulse is 1
Y(z) = Gq(z)U(z)
Gq(z) {uk} {yk}
G(z) is the z transform of the output when the Input is a unit pulse
0( ) 1·U z z
{uk}={1,0,0…} {yk}
![Page 36: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/36.jpg)
Digital control of Power Converters 36
Example of a buck converter
+
ve
-
iC
R
L
iR
+
vs
-
C
iL
ADC R(z)
{ek} {dk}
vo(t)
e (t)
H(s)
DPWM
Driver
vref(t)
G(z) {dk} {ek}
e (t) {ek}
{dk}
PWM
![Page 37: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/37.jpg)
Digital control of Power Converters 37
Example of a buck converter
+
ve
-
iC
R
L
iR
+
vs
-
C
iL
ADC R(z)
{ek} {dk}
vo(t)
e (t)
H(s)
DPWM
Driver
vref(t)
G(z) {dk} {ek}
e (t)
{ek} {dk} G(s) ADC H(s) DPWM
{dk} {ek}
![Page 38: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/38.jpg)
Digital control of Power Converters 38
Example of a buck converter
+
ve
-
iC
R
L
iR
+
vs
-
C
iL
ADC
R(z)
{ek} {dk}
vo(t)
H(s)
DPWM
Driver
{vref,k}
G(z) {dk} {vk}
v (t) {vk}
{dk}
PWM
{vk}
v(t)
![Page 39: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/39.jpg)
Digital control of Power Converters 39
Example of a buck converter
+
ve
-
iC
R
L
iR
+
vs
-
C
iL
ADC
R(z)
{ek} {dk}
vo(t)
H(s)
DPWM
Driver
{vref,k}
v (t) {vk}
PWM
{vk}
v(t)
G(z) {dk} {vk}
v (t)
{vk} {dk} G(s) ADC H(s) DPWM
{dk} {vk}
![Page 40: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/40.jpg)
Digital control of Power Converters 40
Example of a buck converter
G(z)
{dk} {vk}
R(z)
{ek}
+
ve
-
iC
R
L
iR
+
vs
-
C
iL
ADC
R(z) {ek} {dk}
vo(t)
H(s)
DPWM
Driver
v (t) {vk}
PWM
{vk}
v(t)
{vk}
-
G(s) ADC H(s) DPWM
{dk} {vk}
discretization
![Page 41: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/41.jpg)
Digital control of Power Converters 41
Digital controller design
![Page 42: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/42.jpg)
Digital control of Power Converters 42
Example of a buck converter
Analog design Discrete design
vo(t) vref(t)
G(z) {dk}
{vk} {ek}
G(s) ADC H(s) DPWM
{vk}
R(z)
1
2
Design the analog controller
Discretize the analog controller
R(s)
1 Discretize the converter
G(z) R(z)
-
{vk}
2 Design the discrete controller
G(s) R(s)
![Page 43: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/43.jpg)
Digital control of Power Converters 43
Discrete controllers design
▪ Good knowledge of averaged models for converters
▪ Complete design in the frequency domain?
▪ Good design practices and experience
Analog design Discrete design
Use this kwoledge as basics and push beyond with digital control
![Page 44: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/44.jpg)
Digital control of Power Converters 44
Discrete controllers design
Analog design
1 Design the analog controller
|G(jw)|
w
|R(jw)|
|RG(jw)|
wc
( ) ·(1 )i
z
w sR s
s w
vo(t) vref(t)
G(s) R(s)
zoh
foh
matched
N/A
tustin
Matlab C2D
There are different methods:
Zero order hold or step invariant
First order hold
Pole/zero match
Backward Euler, derivative operator or rectangular integration
Blinear, Tustin or trapezoidal integration
Recommended by Duan, APEC 1999
-
2 Discretize the controller = How to map s poles to z?
![Page 45: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/45.jpg)
Digital control of Power Converters 45
Example
v (t)
ADC ZOH G(s) R(z)
vref(t)
-
vo(t) vref(t)
G(s) R(s) -
discretize
![Page 46: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/46.jpg)
Digital control of Power Converters 46
Example
|R(jw)|
|G(jw)|
freq
|RG(jw)|
fc
vo(t) vref(t)
G(s) R(s) -
fc= 1kHz
Ts= 100us
ZOH FOH
![Page 47: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/47.jpg)
Digital control of Power Converters 47
Example
|R(jw)|
|G(jw)|
freq
|RG(jw)|
fc
vo(t) vref(t)
G(s) R(s) -
fc= 1kHz
Ts= 100us
Prewarp (1khz) tustin
![Page 48: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/48.jpg)
Digital control of Power Converters 48
Example
|R(jw)|
|G(jw)|
freq
|RG(jw)|
fc
vo(t) vref(t)
G(s) R(s) -
fc= 1kHz
Ts= 100us
Matched
![Page 49: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/49.jpg)
Digital control of Power Converters 49
Example: Sampling Time effect
|R(jw)|
|G(jw)|
freq
|RG(jw)|
fc
vo(t) vref(t)
G(s) R(s) -
fc= 1kHz
Ts= 100us ZOH ZOH Ts= 250us
![Page 50: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/50.jpg)
Digital control of Power Converters 50
Example: Sampling time effect
|R(jw)|
|G(jw)|
freq
|RG(jw)|
fc
vo(t) vref(t)
G(s) R(s) -
fc= 1kHz
Ts= 100us
Matched Ts= 100us Ts= 250us Matched
![Page 51: DIGITAL CONTROL OF POWER CONVERTERS - UPM · Digital control of Power Converters 31 Z-Transform Z-transform for discrete time signals is equivalent to the Laplace transform (s) for](https://reader033.vdocuments.us/reader033/viewer/2022053100/60581e6bd76c676894729e51/html5/thumbnails/51.jpg)
Digital control of Power Converters 51
Example
|R(jw)|
|G(jw)|
freq
|RG(jw)|
fc
vo(t) vref(t)
G(s) R(s) -
fc= 1kHz
Ts= 100us Prewarp (1khz) Prewarp (1kHz) Ts= 250us