Constant Current Control for DC-DC Converters

Constant Current Control for
DC-DC Converters
Introduction ................................................................1
Theory of Operation...................................................1
Power Limitations .......................................................1
Voltage Loop Stability ................................................2
Current Loop Compensation......................................3
Current Control Example............................................5
Battery Charger Circuit Description ......................5
Component Values .................................................6
VI-200 / VI-J00 Converters ......................................9
The pull up / down network (Ru, Rd and Rs) allows the
error amplifier to vary the output of the converter by trimming the SC / TRIM pin while keeping the pin from being
driven too high or too low.
The diode in series with the positive lead isolates the
output of the converter in the event of a failure. It is
required when the load can store significant energy,
e.g., with a battery or capacitor.
Circuit Vcc can be provided externally or generated
directly from the module output using a regulator.
The latter option may require that the minimum voltage
at the output for the converter be increased.
Introduction
Vicor’s VI-200/VI-J00 and Maxi, Mini and Micro family
DC-DC converters are voltage regulating devices, but their
wide trim range makes it possible to use them as efficient
high-power current sources. Current regulation can be
implemented through the addition of an external control
loop and current-sense resistor. Such a design must
take into account the power limitations of the DC-DC
converter and must ensure the stability of the converter’s
voltage loop. In addition to these considerations, this
application note covers compensation of the external
current-control loop and a design example for a simple
battery charger.
Power Limitations
Maxi, Mini and Micro modules can be trimmed from
10% to 110% of their nominal output voltages.
The trim range for the VI-200 / VI-J00 family is 50% to
110% for most modules. These trim restrictions bound
the load impedances for which the module can maintain
constant current.
Figure 2 shows the Safe Operation Area (SOA) of a Maxi,
Mini or Micro converter. A properly designed current
source will operate on a horizontal line inside this area.
Safe Operating Boundary
Theory of Operation
Imax
Figure 1 shows a current control configuration for
applications requiring basic constant current control.
The error amplifier compares the reference voltage to the
voltage across the shunt resistor and pulls down the
converter SC pin until they are equal. The error amplifier
is compensated to stabilize this feedback loop.
0.911max
Preload may
be required
0.111max
0A
+OUT
+S
0V
Rs
SC (Maxi, Mini, Micro)
TRIM (VI-200 / VI-J00)
0.1 Vnom
0.9 Vnom Vnom 1.1 Vnom
Ru
–
Vnom is the nominal output voltage of the converter
Load
Rd
+
+
Vref
–S
Imax is the rated output power of the converter divided by Vnom
Figure 2 — Maxi, Mini and Micro safe operating area
–OUT
Rshunt
Figure 1 — Current control block diagram
Rev 1.2a 7/10 AN_Constant Current page 1 of 9
From 10% to 100% Vnom maximum output power is
determined by the maximum current rating of the
converter (Imax). This current rating is fixed and does not
increase as the output voltage of the converter decreases.
For output voltages above Vnom the output current must
be reduced to comply with the maximum power rating of
the converter. Modules must not be trimmed above
110% Vnom as this can damage the converter.
Vicor converters have an internal current limit designed
to reduce the risk of damage to the module during a fault
condition. This limit should not be used as part of normal
operation because the converter may be driven into an
overpower condition or unstable operation. Trimming
down a converter cannot fully protect against overcurrent
because there is a limit to the percentage by which the
output voltage can be reduced. This requires that an
external circuit be implemented for loads that do not have
lower bounds on their impedance.
Similarly, the converter output overvoltage protection
function is meant to protect it in the event of a failure and
should not be intentionally activated. VI-J00 converters
do not have OVP.
Voltage Loop Stability
No DC-DC converter will be inherently stable for every load,
and compensation must be optimized using assumptions
about the load. This is important for the current-source
designer because typical loads for a current source such
as large capacitors may place excessive demands on the
internal compensation of the converter voltage loop.
Large capacitors with low ESR at the output of a converter
can modify the voltage loop enough to degrade phase
margin and even cause oscillation. For the converter
internal voltage loop to remain stable, the load impendence
must have a minimum real component; see Figure 3.
Contributions to this real component include lead / trace
resistance, capacitor or battery ESR, diode forward
resistance and any current-sense resistor.
The best way to find the minimum value for this resistive
term is the use of a network analyzer to verify ample
phase margin with the load and series resistance in place.
For Maxi, Mini and Micro converters use 5% of the
minimum load resistance (Minimum Series Resistance =
RFullLoad x 0.05) as a starting value for minimum series
resistance for the module.
+OUT
+S
SC (Maxi, Mini, Micro)
TRIM (VI-200 / VI-J00)
CL
LOAD
–S
–OUT
Current Probe
Series Path for Real Impedance
Figure 3 — Placement of real impedance
For example, a 250 W converter with 28 V output will be
at full load with 3.1 Ω at the output. Thus, a good first
choice of cumulative series resistance is:
(28 V)2 x 0.05 = 157 mΩ
250 W
Many factors affect stability including load, line and circuit
parasitics. This makes application-specific testing essential.
If a network analyzer is not available or it is impossible to
break the voltage loop, a step response can be used to
assess stability. With large capacitors in place, voltage
perturbations on the output will be hard to detect. A better
method is to use a current probe to look at the current at
the output of the module; see Figure 3. Excessive low
frequency ringing or oscillations in the module output
current after a load current step indicates poor stability.
Contact Vicor Applications Engineering with further
questions on driving capacitive loads.
Trimming down a module under light load can also degrade
stability. If a module is trimmed below 90% of its nominal
output voltage a preload may be required to ensure stability
as shown in Figure 2 (SOA curve). For information on active
preloads see the Vicor application note “Wide Range
Trimming with Variable Loads”.
Rev 1.2a 7/10 AN_Constant Current page 2 of 9
Current Loop Compensation
Once the voltage loop of the converter displays good
stability, a current control loop can be designed.
Compensating the current loop involves decreasing the
overall loop gain such that phase shift has not become
excessive at the unity gain point.
An important consideration when choosing current-loop
compensation is the limitations of the DC-DC converter’s
voltage control loop. To illustrate this, Bode plots for Maxi
and Mini modules can be taken by breaking the feedback
loop between +OUT and +S and injecting a stimulus: Figure
4. The voltage-loop response can then be measured as the
ratio of the test phasor at +Out to the reference phasor at
the +S pin.
Figure 5 — V48B12C250B Bode plot 100% load,
IL = 20.8 A, Vin = 48 V
+OUT
+S
DC-DC
Converter
SC
Load
–S
Ref.
Stimulus
–OUT
Test
Network Analizer
Figure 4 — Bode plot measurement setup
Most Maxi, Mini and Micro converters have a zero dB
crossover point between 3 to 30 kHz that varies with line
and load. For example, bode plots for a V48B12C250B are
shown in Figures 5 and 6 for 100% load and 10 % load
respectively.
Figure 6 — V48B12C250B Bode plot 10% load,
IL = 2.1 A, Vin = 48 V
Control loops that contain an internal loop should have a
bandwidth well below the internal loop crossover
frequency so that the two loops do not interact. Figure 8
shows a response from the same converters SC pin to the
output voltage taken using the setup in Figure 7.
Rev 1.2a 7/10 AN_Constant Current page 3 of 9
+OUT
+S
DC-DC
Converter
CL
SC
–S
Load
+
– Vbias
–OUT
Stimulus
Ref.
Test
Network Analizer
Figure 7 — Trim response measurement setup
Figure 9 — V48B12C250B SC to Vout, IL = 1.8 A,
CL = 10,000 uF, Vin = 48 V
At frequencies inside the converter bandwidth the gain is
equal to Vnom / 1.23 V while outside the bandwidth the
response quickly deteriorates. An external current loop that
uses the SC pin should operate well within this constant
gain region.
Maxi, Mini
+OUT
+S
Error Amplifier
–
SC
+
Load
1 kΩ
+
0.033 uF
Rd
Trim Down
1.23 V
-S
100 Ω typ.
–OUT
Figure 10— Internal connection of SC pin of Maxi and Mini
Converters
Figure 8 — V48B12C250B SC to Vout, IL = 1.8 A, CL= 0,
Vin = 48 V
Load impedance will affect the converter crossover
frequency. Figure 9 shows the same plot but with a large
capacitor at the output of the converter causing the region
of flat gain and low phase displacement to drop to a much
lower frequency.
The loop response will also be affected by the filter formed
by the load impedance and the current-sense resistor.
This will cause gain and phase change to the loop that will
depend on the application.
NOTE: An additional restriction on loop bandwidth
results because the output of the converter can only
source current, so any decrease in voltage is limited
by the RC time constant of the load resistance
and capacitance. This will result in nonlinearities
for signals that change more rapidly than this RC
discharge time. This is especially important at
light loads.
Practically, this type of current controller is limited to
relatively low bandwidth applications due to phase shift
caused by the DC-DC converter control loop, RC discharge
nonlinearity, load impedance, and capacitance internal to
the SC pin in Figure 10.
For these low-bandwidth applications a single-pole
compensation scheme is adequate. This should be
configured such that it has a crossover below the frequency
where significant phase shift enters the loop. It can then be
optimized using network analyzer or load step responses.
For designs with complex loads and strict transient requirements, more complicated compensation may be required.
Rev 1.2a 7/10 AN_Constant Current page 4 of 9
Current Control Example
NOTE: A redundant control or monitoring circuit must
be included if failure of the charger or its control
circuit will result in uncontrolled charging of the
battery. Many new battery types are sensitive to
these conditions and may result in fire or explosion.
The following example covers the component selection for
a simple lead-acid battery charger using a DC-DC converter
brick. The schematic for this charger is shown in Figure 11.
Battery Charger Circuit Des cription
DC-DC Converter
+OUT
C1
Vcc
R7
D1
R3
+S
Vcc
U1A
–
R8
D2
R11
+
R10
U1B
–
R4
LM10
REF
R5
TLV431
R6
+
C2
C3
U2
+
LM10
OP-AMP
SC
R9
R1
B1
0.2 V ref
–S
–OUT
R2
Figure 11 — Battery charger schematic
Ref. Des.
Value
Rating
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
C1
C2
C3
D1
D2
U1
U2
–
2.32 kΩ
0.05 Ω
20 kΩ
80.6 kΩ
1 kΩ
1.62 kΩ
787 Ω
453 Ω
12.7 kΩ
49.9 kΩ
14.7 kΩ
0.47 uF
0.68 uF
470 pF
Vishay MBR1045 Schottky Rectifier
NXP 1PS76SB10 Schottky Diode
National LM10 Op Amp and Reference
TI TLV431 Shunt Regulator
Vicor V48B15C250B DC-DC Converter
0.25 W
2.0 W
0.25 W
0.25 W
0.25 W
0.25 W
0.5 W
0.25 W
0.25 W
0.25 W
0.25 W
16 V
16 V
100 V
10 A, 45 V
200 mA, 30 V
15 V, 250 W
The heart of this circuit is an LM10 (U1) that provides an
operational amplifier (op-amp), 0.2 V reference and
reference buffer in a single package. The op-amp (U1A)
functions as the error amplifier and is configured as an
integrator using C1 and R1. The internal reference voltage
is scaled up by R3 and R4 to establish the desired voltage at
the non-inverting op-amp input. If a reference lower than
0.2 V is required, R3 and R4 can be replaced by a resistive
divider at the output of the reference buffer (U1B).
To control load current, the reference voltage is compared
with the Kelvin-sensed voltage across the current-sense
resistor R2. U1A drives the cathode of Schottky diode D2 to
trim the module output until the two signals are equal. R10
allows C1 to completely discharge when voltage is removed
from the circuit to establish initial conditions.
Table 1 — BOM for 12 V, 5 A charger using V48B15C250B
Rev 1.2a 7/10 AN_Constant Current page 5 of 9
D2 prevents the op-amp from overdriving the SC pin, while
its low forward voltage improves the output-voltage range
of the source. For Maxi, Mini and Micro converters this
diode should be chosen so that its reverse leakage is less
than roughly 125 µA over temperature, or a 10% trim up
of the module. Reverse leakage should be less than 25 µA
for VI-200 / VI-J00 converters.
GSC = 20 log
( )
(
Vnom
15 V
= 20 log
Vref
1.23 V
)
= 21.72 dB
Where Vref is the referance voltage internal to the converter’s
SC pin; see Figure 10.
Gain from the op-amp output to the SC pin is Gpullown
and is given by:
As the battery state of charge increases, the battery voltage
levels off to a constant float voltage. R9 reduces the
R9 RSC
12.7 kΩ 1 kΩ
maximum output voltage of the converter thereby setting
Gpulldown = 20 log
= 20 log
=–3.45 dB
453 Ω + 12.7 kΩ 1 kΩ
R8 + R9 RSC
the float voltage. R8 and the forward voltage of D2 set the
minimum current source voltage. This determines the
minimum load impedance the source can safely drive.
Where Rsc is the source resistance of the converter’s SC pin;
(
For loop compensation to be effective, the circuit must be
referenced directly at the converter –S pin to avoid ground
bounce from feeding into the SC pin and degrading loop
stability. For Micro modules, which do not have remote
sense pins, it is mandatory that the shunt be placed directly
at the –OUT pin. Placing the shunt close to the –OUT
lead is good practice for all converters, and it is especially
important when driving loads such as large capacitors
that place higher demand on a converter’s remote
sensing capability.
The op-amp and reference are supplied from the output of
the converter via a shunt regulator (U2) that is programmed
to provide a 2 V rail.
)
The following example illustrates how to configure this
circuit for the required charge rate and float voltage.
Consider a 12 V, 50 A hour battery that will be charged
at a C/10 rate or 5 A. The selected float voltage is 13.4 V.
The circuit will be implemented using the V48B15C250B
Mini module.
Gload is the attenuation of the load / shunt filter and is
given by:
Gload = 20 log
(
)
Compensation gain, Gcomp, is given by:
Gcomp = 20 log
(
1
2πfR1C1
)
To attain the required crossover frequency, system gain
must be equal to unity at the selected frequency.
This can be achieved by first setting Gloop equal to 0 dB
in the equation for loop gain and then solving for
the compensation:
Gcomp = –(GSC + GPulldown + Gload)
20 log
(
)
1
= – (21.72 dB – 3.45 dB – 15.56 dB)
2πfR1C1
1
= 0.732
2πfR1C1
so choosing C1 as 0.47 µF yields
R1 =
Where GSC is the gain from the SC pin to the converter
output and is given by:
)
R2
0.05 Ω
= 20 log
= –15.56 dB
0.30 Ω
Zload +R2
This assumes the battery impendence is predominantly
resistive at these low frequencies.
Because transient response is not critical in charger
applications, R1 should be chosen such that the integrator
crossover frequency is well below the point where the
feedback loop sees significant phase shift. Setting this
frequency at 200 Hz is a good starting value.
Gloop = GSC + Gpulldown + Gload + Gcomp
(
where the battery small signal impedance is estimated as
0.25 Ω based on a current voltage curve.
Calculating R1
For this example, contributions to loop gain are
approximated as follows:
)
see Figure 10.
Diode D1 is included for fault protection and to prevent the
battery from driving the circuit when the charger is off.
Component Values
(
1
1
=
= 2.31 kΩ
2πfC1(0.732)
2π(200 Hz)(0.47 µF)(0.732)
The closest 1% standard value is 2.32 kΩ.
Rev 1.2a 7/10 AN_Constant Current page 6 of 9
A loop response for a charger with this configuration is
shown in Figure 12 and displays good phase margin
well above 45°. The 15% error from the calculated
crossover frequency is within the tolerance of the
integrator capacitor. Time domain analysis also reveals a
very stable system as shown in the well-damped step
response of Figure 13.
Calculating R2
Because batteries can act as large capacitors, it is necessary
to choose a shunt that will stabilize the module voltage
loop. For this converter the suggested starting series
resistance is:
Vnom2
(15 V)2
x 0.05 =
x 0.05 = 45 mΩ
250 W
Pout
Once this shunt is large enough to stabilize the voltage
loop, the selection of the sense resistor involves a tradeoff
between current set point accuracy and power dissipation.
For the configuration in Figure 7, accuracy will depend on
the ratio of the op-amp offset voltage (2 mV maximum for
the LM10) to the voltage across the shunt. If high accuracy
and low dissipation are required, a low offset op-amp can
be used to preamplify the low-level signal from the shunt.
For example, choosing a 50 mΩ shunt and configuring the
circuit for a 5 A charge current will put 250 mV across
the shunt. If R3 and R4 are 1% resistors the reference will
be accurate to about 6 % for an overall accuracy of:
0.06 +
Figure 12 — 12 V battery charger loop response with
V48B15C250B, Icharge = 5 A
Vos
2 mV
= 0.06 +
= 6.8%
250 mV
Vshunt
Thus, offset errors are not significant with R2 = 50 mΩ.
Power dissipation for this resistor is then given by:
2
2
PR2 = R2(Icharge) = (50 mΩ)(5 A) = 1.25 W
Calculating R3 and R4
The selection R3 and R4 is based on attaining the proper
reference voltage at the non-inverting input of U1A.
By setting R3 as 20 kΩ R4 can be calculated as:
R4 = R3
Figure 13 — Battery charger step response with
V48B15C250B, 1.5 Ω to 2.2 Ω steps
(
)
(
)
Vref, LM10
0.2 V
= 20 kΩ
= 80 kΩ
Vref – Vref, LM10
0.25 V _ 0.2 V
where:
Vref is voltage at U1A non-inverting input
(Vref = R2Icharge = 50 mΩ x 5 A = 0.25 V)
Vref, LM10 is internal reference voltage of LM10 (200 mV typ.)
The closest 1% standard value is 80.6 kΩ.
Rev 1.2a 7/10 AN_Constant Current page 7 of 9
Calculating R7
Calculating R9
R7 should be chosen such that current fed into the TLV431
regulator (U2) is approximately 15 mA. The following
equations can be used to find the appropriate value for
R7 and its power dissipation PR7:
R9 trims down the module to set the maximum converter
output voltage. It can thus be used to set the battery float
voltage. This gives:
(
)
(
Vmax
13.9 V
R9 = RSC V
= 1 kΩ 15 V – 13.9 V
nom – Vmax
R7 =
Vmax – 2 V 13.9 V – 2 V
=
= 793 Ω
15 mA
15 mA
)
= 12.63 kΩ
where:
The closest 1% standard value is 787 Ω.
PR7 = (Vmax – 2 V) 15 mA = (13.9 V – 2 V) 15 mA = 0.179 W
Where Vmax, the required maximum output voltage, is given
as Vmax = Vfloat + 0.5 V = 13.9 V to take into account the
0.5 V drop on the Schottky protection rectifier D1.
Calculating R8
R8 in conjunction with the forward voltage of D2 gives the
minimum output voltage of the converter. To provide ample
trim down capability this is set as 6.95 V or half the
maximum output voltage.
R8 =
=
RSC R9(Vmin Vref, SC –Vf, D2 Vnom)
Vref, SC (Vnom – Vmin) R9 – Vmin Vref, SC RSC
1 kΩ x 12.63 kΩ (6.95 V x 1.25 V – 0.29 V x 15 V)
= 455 Ω
1.23 V (15 V – 6.95 V) 12.63 kΩ – 6.95 V x 1.23 V x 1 kΩ
Vmax is the maximum output voltage of the converter
(Vfloat + Vf,D1)
Vnom is the nominal output voltage of the converter
RSC is an internal pull up resistor on the SC pin of
Vicor’s Maxi, Mini and Micro converters
The closest 1% standard value is 12.7 kΩ.
Calculating R11 and C2
The time constant created by R11 and C2 controls the startup behavior of the circuit to reduce overshoot. It should be
chosen such that the reference is still low after the 4 ms
converter soft start ramp is complete. This suggests a
RC product of 10 ms. Letting C2 = 0.68 µF gives:
R11 =
10 ms
= 14.7 kΩ
0.68 µF
Charger start-up with the above values is shown in
Figure 14. The load consists of a partially discharged 12 V
lead acid battery.
where:
Vref, SC is the 1.23 V reference internal to Vicor’s Maxi,
Mini and Micro converters
Vnom is the converter nominal output voltage
RSC is an internal pull up resistor on the SC pin of Vicor’s
Maxi, Mini and Micro converters, see Figure 10
Vmin is the required minimum output voltage
Vf,D2 is the forward voltage of D2 at approximately 1 mA
The closest 1% standard value is 453 Ω.
Figure 14 — Battery charger startup with V48B15C250B,
Icharge = 5 A
Rev 1.2a 7/10 AN_Constant Current page 8 of 9
VI-200 / VI-J00 Converters
Designing a battery charger around VI-200 / VI-J00 family
converters follows a similar process as for the Maxi, Mini
and Micro family. The example below demonstrates a 24 V
battery charger with 2.5 A charge current and 26.9 V float
voltage to be configured using a VI-JWL-MX converter. The
BOM is given in Table 2 and corresponds to the schematic
shown in Figure 11.
Value
Rating
R1
26.1 kΩ
0.25 W
R2
0.6 Ω
4.0 W
R3
20 kΩ
0.25 W
R4
3.09 kΩ
0.25 W
R5
1 kΩ
0.25 W
R6
698 Ω
0.25 W
R7
1.65 kΩ
0.5 W
R8
24.3 kΩ
0.25 W
R9
240 kΩ
0.25 W
R10
49.9 kΩ
0.25 W
R11
73.2 kΩ
0.25 W
C1
0.47 uF
16 V
C2
0.68 uF
16 V
C3
470 pF
100 V
D1
Vishay MBR1045 Schottky Rectifier
10 A, 45 V
D2
NXP 1PS76SB10 Schottky Diode
200 mA, 30 V
U1
National LM10 Op Amp and Reference
–
U2
TI TLV431 Shunt Regulator
–
–
Vicor VI-JWL-MX DC-DC Converter
28 V, 75 W
Table 2 — BOM for 24 V charger using VI-JWL-MX
From the standpoint of current control, the most important
differences between VI-200 / VI-J00 converters and the
Maxi, Mini and Micro family are in the internal circuitry of
the TRIM pin, Figure 15. This leads to changes in the value
of the reference voltage and pull-up resistor in the
equations for resistors R8 and R9. In addition, the value of
R8 must take into account the 50% trim down capability
of most VI-200 / VI-J00 modules, so minimum output
voltage (Vmin) is increased to from 50% to 75% of Vmax.
+OUT
47 Ω typ.
+S
Error Amplifier
–
TRIM
+
Rtrim
10 kΩ [a]
+
Ref. Des.
VI-200 / VI-J00
Vref [a]
2.5 V
Load
0.33 uF
Ctrim
-S
27 Ω typ.
–OUT
[a]
For Vout < 3.3 V, R5 = 3.88 k and internal reference = 0.97 V.
Figure 15 — Internal connection of TRIM pin of
VI-200 / VI-J00 converters
Selection of compensation resistor (R1) is modified because
of a low-frequency pole introduced into the frequency
response by Ctrim and Rtrim, Figure 15. This pole is at
47 Hz two decades lower in frequency than in Maxi,
Mini and Micro converters. The low-frequency phase shift
caused by the pole requires that a more conservative
crossover frequency be used. For this example, 50 Hz is
selected which causes R1 to be increased following the
procedure for the Maxi, Mini and Micro family
battery charger.
The startup of VI-200 / VI-J00 converters is less tightly
controlled than in Maxi, Mini and Micro converters. The
time constant of the reference ramp (R11, C2) has been
increased to 50 ms to reduce overshoot on start-up. Circuit
Vcc has been increased to 3 V to comply with the LM10’s
common mode range. This is necessary, given the larger
shunt and reference voltage (1.5 V).
For more information on current control capabilities,
contact Vicor’s Applications Engineers at
1-800-927-9474 or vicorpower.com/support/
for worldwide assistance.
Vicor Corporation
25 Frontage Road / Andover, MA 01810
Tel. 978.470.2900 / Fax 978.475.6715 / vicorpower.com
Applications Engineer 800.927.9474
Rev 1.2a 7/10 AN_Constant Current page 9 of 9