Download Control System Design for Power Converters

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Electrical ballast wikipedia , lookup

Negative feedback wikipedia , lookup

Ohm's law wikipedia , lookup

Three-phase electric power wikipedia , lookup

Power engineering wikipedia , lookup

Islanding wikipedia , lookup

Power inverter wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Electrical substation wikipedia , lookup

Current source wikipedia , lookup

Rectifier wikipedia , lookup

History of electric power transmission wikipedia , lookup

Stray voltage wikipedia , lookup

Hendrik Wade Bode wikipedia , lookup

Integrating ADC wikipedia , lookup

PID controller wikipedia , lookup

Automation wikipedia , lookup

Distributed control system wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Voltage regulator wikipedia , lookup

Voltage optimisation wikipedia , lookup

Amtrak's 25 Hz traction power system wikipedia , lookup

Variable-frequency drive wikipedia , lookup

Mains electricity wikipedia , lookup

Resilient control systems wikipedia , lookup

Alternating current wikipedia , lookup

Opto-isolator wikipedia , lookup

Control theory wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Buck converter wikipedia , lookup

Control system wikipedia , lookup

Transcript
Control System Design for
Power Converters
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 1
1
Learning objectives
O
Importance of control system
O
design of control systems
O
Tricks and tips to improve design
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 2
Today we will be talking about basics of control system design for power converters.
The learning objectives are as follows. Importance of control system design , design
of control systems and tricks and tips to improve the design
2
Introduction to Control
Systems
O
O
O
O
O
State variable : physical
quantity that needs to be
controlled E.g. speed of car
Manipulated input : A
variable whose quantity can
be set which controls the
state variable. E.g. Pressure
on gas pedal
Load or disturbance :
external influence that effects
state variable e.g gradient of
the road
Reference : Desired Value of
state variable * notation
Feedback : Actual Value of
state variable E.g.
speedometer reading
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 3
Introduction to control system.
Imagine you are driving a car and want to control the speed of the car. The speed
of the car is the state variable
The only thing that can be controlled is the pressure on the gas pedal. The pressure
on the gas pedal is the manipulated input The system acts in response to the
manipulated input
The desired speed is the reference for the system
External factors like road gradient and wind drag are disturbances
The feedback is the measured speed using speedometer
3
Open loop
O
O
O
O
O
The input command is blindly set “hoping ” the
system to be at desired value
Easy to implement
External variables like load/drift from ideal
conditions like payload spoil the party
Leads to over designed passive components
Add bulk and cost
I(s)
© 2008 Microchip Technology Incorporated. All Rights Reserved.
O(s)
SYS
Control System Design for Power Converters
Slide 4
One method to control the system is open loop implementation
The manipulated input is blindly set hoping the state variable will be at the desired
value
It is easy to implement as no measurement devices of the actual state of the system
is required
External factors like wind and gradient and variables like payload spoil the party
To prevent effects of external influences, leads to over designed passive system
which adds bulk and cost.
4
Closed loop
Feedback is taken using sensors
O Error between desired value and feedback is
used to control the command
O Allows system to respond to external
variables
(isolate state from external influences)
O Reduce passive component size/cost
O Design needs careful consideration
O
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 5
Feedback is taken from using sensors which measure the desired output variable.
This feedback is used to generate error between the reference. This error is then
used to set the drive or the manipulated input. The block that takes in the error as
input and generates the drive or the manipulated input is known as the controller.
Closed loop systems can respond to changes in external factors.
They reduce bulk and cost of passive components
Closed loop control system design needs some mathematical analysis.
5
Closed loop control system
e(s)
V*
Controller
Gc(s)
D(s)
V(s)
Plant
Gp(s)
Control system
Physical system
Feedback /sensor
H(s)
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 6
6
Closed loop control system
design objectives
Given : a system with input
commands and output
O Control a physical quantity (state) to a
varying desired value within a
specified time
O Minimize effect of external influences
O Mitigate effect of measurement
errors/noise
O Estimation as sensor replacement
O
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 7
7
Metrics for evaluation
O
Command tracking : Ability of output to
respond to varying input reference.
O
Disturbance rejection : Ability to isolate
output from variation in load
O
Line Regulation : Ability to isolate output
from variation in input
O
Noise rejection : Ability to reject
measurement noise/errors
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 8
Control system efficacy can be evaluated on 4 metrics
Command tracking : Ability of output to respond to varying input reference.
Disturbance rejection : Ability to isolate output from variation in load
Line Regulation : Ability to isolate output from variation in input
Noise rejection : Ability to reject measurement noise/errors
8
Closed loop control system
Bandwidth or eigen
value
Frequency response of a typical control
system
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 9
Closed loop control system response is frequency domain is shown here. Typically
it looks like a low pass filter.
The cutoff frequency or bandwidth is the frequency over which the controller is not
able to track changes in reference
9
How to control a system
O
O
O
O
A polynomial of s is
selected for controller
Typically s.Kd + Kp +
Ki/s is used for
controller
Differentiation leads
to noise amplification
Caution
Estimators may be
used for derivative
terms
TODAY
YESTERDAY
TOMORROW
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 10
How Do you Control the system and Why PID??
WHAT DO I HAVE IN HAND . Feed Back . I take the feed back either with
amplification or attenuation and do a simple compare ( P)
I LOOK AT THE Trend of my feedback with Past set of feedbacks and then control
( Integrate)
I look at the rate of change of my feed back and control ( Differentiate )
This Control Module is acting upon the system Transfer Function . Which means
Adding Gains to the system
Moving or adding Poles / Zeros for better response and stability
10
Buck topology
Buck converter
O
O
O
O
Vo = Ic/sC
IL = VL/sL
DVin – Vo = VL
IC = IL – Io
ZVT , multiphase buck
and synchronous
single phase buck stages
can
be modeled as buck drives
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 11
Buck converter
A buck converter is a power converter that converts higher voltage to a lower
voltage using switches and inductor and capacitor. The basic algebraic equations
are shown in the slide. The capacitor acts like an integrator for the current that flows
into it. The output of the integrator is the capacitor voltage. The inductor acts like an
integrator for the voltage that gets applied across it. The output of the integrator is
the current. The voltage at the point where inductor and switches are connected is
D.Vin
The goal is to control the output voltage to desired possibly changing values under
varying conditions of line and load
11
Tricks and tips for insight
O
O
Represent physical elements as integrations
Natural characteristics of elements
O
O
O
O
O
O
O
E.g. To control Vo, Ic needs to be ‘manipulated’ by controller
Controller should emulate a current source
E.g. To control IL, VL needs to be manipulated by controller
Controller should emulate voltage source
‘information’ quantities should be interpreted as
having physical units
May lead to more than standard PID and more MATH
Better performance
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 12
Designing control system gets simplified if characteristics of elements and respect
for physical quantities
12
Buck LC block diagram
IL
1/sL
1/sC
Vx
-
Io
Vo
-
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 13
Observing the following rules should make the system design lot easier
Represent physical elements as integrations
Natural characteristics of elements
E.g. To control Vo, Ic needs to be ‘manipulated’ by controller
Controller should emulate a current source
E.g. To control IL, VL needs to be manipulated by controller
Controller should emulate voltage source
‘information’ quantities should be interpreted as having physical units
May lead to more than standard PID and more MATH
Better performance
13
Output voltage decoupling
O
O
O
O
O
O
The system subtracts Vo
from the applied voltage
The difference is the
inductor voltage which
determines the current
The dynamics of current
and voltage are cross
coupled
To simplify system
dynamics add Vo a priori
and then apply new
voltage
Decouples the current and
voltage state variables
Controller output Vx =
G(Vo*-Vo) + Vo
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Vx
IL
1/sL
Iload
1/sC
-
Control System Design for Power Converters
Vo
Slide 14
The system subtracts Vo from the applied voltage
The difference is the inductor voltage which determines the current
The dynamics of current and voltage are therefore cross coupled
To simplify system dynamics add Vo a priori and then apply new voltage
Decouples the current and voltage state variables
Controller output Vx = G(Vo*-Vo) + Vo
14
Disturbance rejection/Load
regulation
O
O
O
O
O
O
O
Changing load causes output to
change
| Io(s)/Vo(s) |, amount of load to
cause a unit change in output
Performance METRIC
The higher the value the
STIFFER the system
Different regions of the plot are
determined by gains and system
parameters
Improves with passive
component size Æ COST
Load decoupling WILL improve
this metric
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 15
Changing load causes output to change
| Io(s)/Vo(s) |, amount of load to cause a unit change in output
Performance METRIC
The higher the value the STIFFER the system
Different regions of the plot are determined by gains and system parameters
Higher eigen value in general tends to lift the plot
Improves with passive component size however it leads to more COST
Load decoupling WILL improve this metric
15
Modulation inverse
O
O
O
O
O
The output of controller
is Vx (applied voltage to
LC circuit
Needs to be converted
to DSC modifyable
parameter based on
converter topology
E.g. for a buck converter
D.Vin = Vx
Improves line regulation
DSC allows easy
implementation vs
analog
Switches
D
Vx
Modulation Operation of switches
Modulation inverse
D
Vx
Software implementation
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 16
The output of controller is Vx which is the applied voltage to LC circuit
Needs to be converted to DSC modifyable parameter based on converter topology
E.g. for a buck converter D.Vin = Vx
This Improves line regulation
DSC allows easy implementation of divide vs analog which can be implemented at a
low frequency
16
Bandwidths and eigen values
Closed loop system transfer function
denominator polynomial
O Denominator polynomial in s =
characteristic equation
O Roots = eigen values / bandwidths
O Bandwidths are fixed by choice
O Gains are determined by reverse
calculation
O
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 17
Closed loop system transfer function denominator polynomial is called as the
characteristic equation
Roots are known as eigen values / bandwidths
Bandwidths are fixed by choice based on system specs
Gains are determined by reverse calculation
17
Voltage mode control
(VMC)
O
O
O
O
O
Only voltage feedback. No
current sensors
LC oscillatory roots cause
poor dynamics
D term is essential =>
poor noise rejection
|Io/Vo| = (s2LC + sKd +
(Kp + 1) + Ki/s)/sL
Vo/Vo* = G/ (s2LC + sKd +
(Kp + 1) + Ki/s)
where G is sKd + Kp +
Ki/s
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 18
Only voltage feedback is taken
Roots are inherently oscillatory
PID controller is used for VMC to make roots non oscillatory
Typical command tracking and disturbance rejection plots
18
Bandwidth selection VMC
O
O
O
O
O
O
f1, > f2, > f3 hz are 3
bandwidths of characteristic
equation (s2LC + sKd + Kp +
Ki/s) = 0 , -2πf1, -2πf2, -2πf3
are its roots
Bandwidths are separated by
a factor of 3 by choice
f3 is determined by settling
time (Ki).
f2 is primary voltage loop BW
(Kp)
f1 is differentiated voltage
loop BW (Kd)
Determine gains by solving 3
simultaneous eqns
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 19
f1, > f2, > f3 hz are 3 bandwidths of characteristic equation (s2LC + sKd + Kp
+ Ki/s) = 0 , -2pf1, -2pf2, -2pf3 are its roots
Bandwidths are separated by a factor of 3 by choice
f3 is determined by settling time (Ki).
f2 is primary voltage loop BW (Kp)
f1 is differentiated voltage loop BW (Kd)
determine gains by solving 3 simultaneous eqns
19
Current mode control
O
O
O
O
O
O
Current feedback is
measured and an inner P
current control is used
Need extra current sensor
Better dynamics
Inner fast current loop
allows fast current control
Easier to do control design
Current loop substitutes for
D term
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 20
Current feedback is measured and an inner P current control is used
Current loop bandwidth is kept larger
Need extra current sensor
Better dynamics
Inner fast current loop allows fast current control
Easier to do control design
Current loop substitutes for D term
Gains are calculated from bandwidths
20
Peak current mode control
Current loop
implemented in
hardware
O Outer PI voltage loop
only sets the peak
current reference
O Limits current to the
reference
O Approx Ra Æ inf.
Vo/Vo* = (Kp + Ki/s)/ (
sC + Kp + Ki/s)
Io(s) / Vo(s) = (sC + Kp +
Ki/s)
O
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 21
Peak current mode control , the current controller is implemented in hardware.
Current reference is generated by outer voltage loop. The actual current is cycle by
cycle current limited using a comparator to the current reference value.
21
digital implementation
Quantizers, Latches, Difference equations
O Bandwidth < 1/7th of sampling freq
O The term Ki/s translates to
Ki.Ts.z-1/(1-z-1)
O Ensure, Ki.Ts.e is at least 1 for e> E
O Limitation of 16 bit DSC resolution. (esp .
PFC)
O Normalization, Number format and saturation
O
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 22
Quantizers, Latches, Difference equations need to be taken care of in modeling
Highest Bandwidth should be less than 1/7th of sampling freq
The term Ki/s translates to Ki.Ts.z-1/(1-z-1)
Ensure, Ki.Ts.e may get truncated to 0 for some value of e. If the value of e needs
to lower Ts may need to be increased
Limitation of 16 bit DSC resolution. (esp . PFC)
Normalization, Number format and saturation
22
Thank you!
© 2008 Microchip Technology Incorporated. All Rights Reserved.
Control System Design for Power Converters
Slide 23
23