You are on page 1of 6

design

Edited by Bill Travis


ideas
Microcontroller directs
supply sequencing and control
Joe DiBartolomeo, Texas Instruments, Dallas, TX
TO PIN 59
ith the proliferation of

W
TPS72518
dual-voltage architec- THREE 2
VIN VOUT
4
1.8V
tures and multiproces- D CELLS
4.5V EN GND RESET 1 µF
sor boards, even simple appli- TO PIN 14 1 3 5
100k

cations can require several MSP450


100k
processor voltage rails.
With each processor F i g u r e 1 TO PIN 17

having its own power-up and TO PIN 60

-down requirements, power- MSP430FI49 TPS72525


PI.1 2 4
rail sequencing and control can 13 VIN VOUT 2.5V
PI.2
become a complex task. The 14
PI.3 EN GND RESET 1 µF
15 100k
challenge for power-supply de- 17
PI.5 TO 1 3 5
PI.6 PIN 15
signers is to consider each 18
PI.7 100k
AS CLOSE AS
19 POSSIBLE TO
processor’s timing and voltage TO PIN 18 OUTPUT PIN 4
requirements and assimilate 59
PG.0
PG.1 TO PIN 61
these into a total system, ensur- 60
PG.2
61
ing that the final design meets V
100k 2 4
VIN VOUT
the requirements of all proces- 12
PI.0 3.3V

sors. SHUTDOWN EN GND FB 1 µF


FOR EXTERNAL 1 3 5
Failure to properly power HOST
TO
PIN 13
processors can lead to problems PI.4 10k
10 SYSTEM RESET
that range from the fairly be- TO PIN 19
100k
nign, such as a reduction in
MTBF, to the catastrophic, such
as latch-up. Given the variety of An ultra-low-power microcontroller controls a system’s power-supply sequencing.
available processors and the ap-
plication challenges you expect when de- ty. The MSP430 is a good fit for such an voltage rails. The MSP430 monitors a con-
veloping a power-sequencing and -con- application (Figure 1). The high-per- trol variable to determine when to activate
trol scheme, use of a microcontroller is formance, low-cost 16-bit RISC proces- each rail. For power-sequencing applica-
desirable because of its programmabili- sor has several high-quality analog pe- tions, the two most commonly controlled
ripherals and a JTAG interface. variables are time and voltage. When time
Microcontroller directs supply
Controlling power supplies that have is the control variable, the controller en-
sequencing and control................................73
enable pins, such as those on most “brick” ables the first rail. At a specific time there-
dc/dc converters and low-dropout regula- after, it enables the next rail. Some time af-
Circuit provides leading-edge tors, is simply a matter of using a GPIO ter that, it enables the next rail, and so on
blanking............................................................74 (general-purpose I/O) line. If the power until it has enabled all rails.
MOSFETs reduce crosstalk effects supply has no enable function, an inline The MSP430 provides the timing-se-
on analog switches........................................78 switch, normally a MOSFET, can control quence and the -control signals to turn
the power supply, either with a GPIO or on the power supplies. If voltage is the
Grounded resistor tunes oscillator ............78
PWM signal. The circuit in Figure 1 uses control variable, then the controller acti-
Obtain higher voltage the TPS725xx family of low-dropout reg- vates the first voltage rail and monitors
from a buck regulator ..................................80 ulators to provide 3.3, 2.5, and 1.8V from its rise via an ADC. When the first volt-
Publish your Design Idea in EDN. See the an input dc source. These regulators have age rail reaches a specific voltage level,
What’s Up section at www.edn.com. an enable pin and a reset function.You can the controller enables the next voltage
easily expand this circuit to any number of rail and monitors its rise until it reaches
www.edn.com May 29, 2003 | edn 73
design
ideas
a specified voltage level. At this point, the then loaded with the next time interval, enters the monitor mode. It continually
controller enables the next voltage rail and the timer resets and restarts. When checks the low-dropout regulator’s out-
and monitors it. This process continues CCR0 is equal to the timer value, the sec- put voltage, via the reset or output pins,
until the controller has enabled all volt- ond voltage rail becomes enabled. This depending on whether time or voltage is
age rails. When using voltage as the con- operation repeats until all rails become the control variable. If a fault occurs, the
trol variable, the controller can use either enabled. MSP430 enters an error routine. The
a GPIO or a PWM signal as the enable Once all rails are enabled, a delay loop most obvious fault would be the loss of
signal, depending on whether the design enters the picture to ensure that the reset a voltage rail, but other faults, such as
requires rail tracking. You can also use pins on the low-dropout regulators have overvoltage and undervoltage, are also
a combination of voltage and timing time to come up. The TPS725xx family amenable to monitoring. The actions
control. has an open-drain, 100-msec reset func- that the error routine takes depend on the
In Figure 1, each low-dropout regula- tion. Once the delay is complete, the application. The simplest actions would
tor connects to two MSP430 lines—one MSP430 checks each regulator’s reset line be to power down all rails, but program-
for enabling and the other for monitor- to ensure that all rails are up. If all rails are mability gives you complete control. One
ing. When time is the control variable, the up, the MSP430 issues a system reset. final function is the powering down of
monitoring takes place via Port 1 (GPIO); When voltage is the control variable, only the voltage rails. An external signal, like-
when voltage is the control variable the five lines of code are necessary to initial- ly from the main processor, signals the
monitoring occurs via Port 6 (ADC). The ize the MSP430 (Listing 2, which is avail- MSP430 to power down the processor
MSP430 also provides a system reset and able with the Web version of this Design rails. In this example the power-down se-
has an input for power-down. The code Idea at www.edn.com). The next opera- quencing is just the opposite of the pow-
is fairly simple and does not require much tion is to load registers R9, R10, and R11 er-up sequence, but you can define any
programming experience. When time is with values that represent 3.3, 2.5, and sequence. One addition to the power-
the control variable, the first thing to do 1.8V, based on a 3V ADC reference. The down sequence could be to turn on dum-
is initialize the MSP430 and setup the first rail becomes enabled, and its output my loads to discharge the output filter
port and timer; this operation takes five voltage undergoes monitoring until it is capacitors. This design uses the TPS-
lines of code (see Listing 1, which is avail- within specification, at which point the 725xx low-dropout regulators because
able with the Web version of this Design next rail is enabled and monitored. This they offer fast transient response and sta-
Idea at www.edn.com). The next opera- operation repeats until all three rails be- bility with any output capacitor. Howev-
tion is to load the capture-and-compare come enabled. Once all the rails are en- er, some applications may require large
register zero (CCR0) with the first timing abled, the delay loop for regulator reset output capacitors to maintain stability
interval and start the timer. When CCR0’s activates, and the system reset occurs. and transient response. In these cases, the
value is equal to the timer’s value, the first Once the MSP430 turns on all the volt- ability to discharge these filter capacitors
voltage rail becomes enabled. CCR0 is age rails and applies the system reset, it improves MTBF. 왏

Circuit provides leading-edge blanking


Michael O’Loughlin, Texas Instruments, Dallas, TX
n isolated switch-mode power sup- ductance and capacitance),

I plies using peak-current-mode con-


trol, generally the current-sense resis-
tor senses the current on the primary side
causing LC tanking and
false-peak current triggering
to the peak-current-limit
T1

of the power converter. Figure 1 shows a comparator.


typical circuit, in which R2 is the current- The RC delay circuit in R1 Q1
sense resistor that monitors the current. Figure 1 works for most ap- GATE DRIVE
The current-sense signal goes to the in- plications in suppressing
put of the PWM comparator—in this voltage spikes that may false- UCC38517
case, the PWM comparator’s input ly trip the peak-limit-cur- R3
ISENSE
(ISENSE) of the controller IC. R3 and C1 rent comparator. However,
provide an RC delay in an attempt to re- some applications require a
move some of the leading-edge spikes on leading-edge blanking cir- C1 R2
the current-sense signal. Sometimes, the cuit to suppress false
RC delay circuit is insufficient for re- triggering. Figure 2 Figure 1
moving the false noise signals at the in- shows the typical cur-
put of the PWM comparator. This Design rent-sense signal that ap-
Idea shows how to suppress the false trig- pears across R2. The leading- In this classic PWM-controller configuration, R2 is the sending
gering signals caused by parasitic LC (in- edge spike at time T1 occurs resistor for the output current.
74 edn | May 29, 2003 www.edn.com
design
ideas
when the gate drive switches from low to must select R3 to provide
high and the parasitic capacitance from some current-limiting
the gate to the source of Q1 is charging. protection for transistor
Depending on the values of R1 and R2, a Q2. R4 must supply suffi-
large-enough leading-edge voltage spike cient base drive, IB, current
could falsely trigger the PWM compara- to Q2. You select R5 such
T1
tor at the ISENSE pin. This problem is com- that its current is 10% of
mon in isolated dc/dc power converters. the base-drive cur- The leading-edge spike in this waveform could
To remove false triggering from the PWM rent. You choose the Figure 2
falsely trigger the PWM comparator in Figure 1.
comparator, it is desirable to blank out the value of C2 to keep tran-
leading-edge spikes that appear on the sistor Q2 saturated for two RC time con- After you add the leading-edge blank-
current-sense signal. You can suppress stants. You can use the following equa- ing circuit to the power module, it clamps
these leading-edge spikes by adding four tions to calculate the resistor and the leading-edge voltage spikes and allows
additional components to the circuit in capacitor sizes: the converter to operate correctly. Figure
Figure 1. Figure 3 shows the extra cir- 5 shows the current-sense waveform.
VGATEⳮVBE
R4 = , Leading-edge noise spikes on the current-
GATE DRIVE IB sense signal can cause instabilities in peak-
VGATEⳮVBE current-mode-control power-supply de-
ISENSE R5 = signs. Usually, you can resolve these issues
R4 IB /10
with an RC filter at the input of the peak-
and current-limit comparator. In some in-
C2
TBLANK stances, the noise disturbance caused by
C2 = , parasitic capacitance and gate-drive cur-
Q2 2(R 4 + R 5 )
rent can cause the PWM comparator to
where VGATE is the maximum gate-drive trip falsely. In these instances, the supply
R5
voltage of the PWM comparator, and requires a leading-edge blanking circuit
TBLANK is the amount of leading-edge similar to this one.왏
blanking time required.
Figure 3 Another power-supply de-
sign has current-sense spikes
Transistor Q2 suppresses (blanks) leading-edge so large that the module
Figure 4
spikes that could falsely trigger a PWM com- will not regulate. This de-
parator. sign requires the implementa-
tion of the leading-edge
cuitry necessary to provide leading-edge blanking circuit in Figure 2.
blanking. The gate drive from the PWM The design, a 200-kHz flyback
circuit activates the leading-edge blank- converter, requires a leading-
ing circuit. Transistor Q2 suppresses the edge blanking time, TBLANK,
leading-edge current-signal spike. Com- time of 200 nsec. The leading-
ponents R4, C2, and R5 set up the amount edge blanking circuit requires
of time the leading edge of the current- a maximum base current, IB, Without leading-edge suppression, the spikes turn off Q1
sense signal is suppressed from the PWM of 42 mA. The IB specifica- in Figure 1.
comparator. tions require R4 to be 275⍀
Selecting the components for the lead- and R5 to be 200⍀. To attain
ing-edge blanking circuit is simple. You the 200-nsec delay, C2 needs to
select Q2 with sufficiently low saturation be approximately 390 pF.
voltage, VSAT, to suppress the leading edge Q2, a 2N2222 current-sup- Figure 5
of the current-sense signal. You select R4 pression transistor, requires a
and R5 to drive transistor Q2 into satura- current-limiting resistor, R3,
tion. You then select C2 to set up the tim- of roughly 1 k⍀. The PWM
ing for the circuit. To select transistor Q2, comparator’s input, ISENSE, has
the maximum collector-to-emitter volt- a peak threshold of 1.5V. Fig-
age, VCE, must be less than the gate-drive ure 4 shows the current-sense
voltage. The transistor saturation voltage, signal of the flyback convert-
VSAT, must be low enough to suppress the er before the addition of the
voltage spike at the PWM comparator’s suppression circuit. The wave-
input. For most applications, you can get form shows that leading-edge After adding the blanking circuit of Figure 3, the converter
away with using a 2N2222 transistor. You spikes turn off switch Q1. works normally.

76 edn | May 29, 2003 www.edn.com


design
ideas
MOSFETs reduce crosstalk effects
on analog switches
Stanley Chen, Global Mixed-Mode Technology, Taipei, Taiwan
ome cost-effective analog

S multiplexer/demultiplexer ICs,
such as the CD4053 and
CD4066, find frequent use as signal
AUDIO CH1
CH1L IN
CH1R IN 1k
1k

1k
12
13
2
1
5
X0
X1
Y0
Y1
IC1
VCC

X
16

14
C1
1 µF

distributors. These digitally con- AUDIO CH2 Z0 CD4053 15 AUDIO OUT


CH2L IN 3 Y
1k Z1 AUDIO L OUT
trolled analog switches have low on- CH2R IN 6 4
INH Z AUDIO R OUT
resistance. However, with 11
A
Figure 1 10
all channels in the same B
9
package, crosstalk can be annoying Q2 C
7 8
2N3904 VEE GND
and unavoidable.
10k –5V
Figure 1 provides a cost-effective CH SELECT
and viable method of solving this CH1 10k
problem. By simply adding some n-
Q2 Q3 Q4 Q5
channel MOSFETs, such as the CH2
2N7002 2N7002 2N7002 2N7002
2N7002 or 2N7000, the crosstalk ef-
fect becomes negligible. When the
Channel Select signal is high, the
CD4053’s input pins A, B, and C as-
sume a level of nearly 0V. This oper-
ation selects Channel 1. Therefore, the
Y output connects to Y0 and Z to Z0. By using a few low-cost MOSFETs, you can drastically reduce crosstalk effects in an analog multiplexer.
Meanwhile, the Channel Select signal
turns on Q4 and Q5, thereby drastically at- nal is set low, Y⫽Y1 and Z⫽Z1, and Q2 crosstalk decreases by more than 40 dB.
tenuating the Channel 2 signal at Y1 and and Q3 turn on to attenuate the crosstalk Add to that the analog switch’s internal
Z1. The crosstalk effect simultaneously effect. For the 2N7002, the RDS(ON) resist- rejection ratio, and the total crosstalk re-
decreases. When the Channel Select sig- ance is several ohms; therefore, the jection could be as high as 80 dB.왏

Grounded resistor tunes oscillator


Vladimir Tepin, Taganrog, Russia
o vary the frequency of any sine- most classic sine-wave RC oscillators, the

T wave oscillator, you should use a pair


of ganged variable resistors, and you
should thoroughly match their charac-
SW

IC1
C2
1 nF
IC2
OUTPUT
implementation comprises an opera-
tional amplifier, IC2, with two feedback
loops. One loop is a frequency-inde-
teristics over the entire variation range to LT1361 pendent, positive-feedback loop using
satisfy the oscillator’s balancing condi- two fixed resistors, R2 and R3, in this ex-
C1
tions. This restriction leads to problems ample. The other loop is frequency-de-
10 nF
in the tuning range and high cost, there- R3
pendent. This loop uses capacitors C1 and
by limiting the range of applications. The C2; variable resistor R1; and a single-pole,
R1
sine-wave oscillator in Figure 1 is free of R2 4.9k double-throw analog switch, IC1, driven
the cited disadvantage. You can tune it 1k by a periodic sequence of square-wave
over a wide frequency range using only pulses applied to the SW input.
variable resistor R1. The oscillator Assuming a switching frequency,
Figure 1
requires no balancing, so no FS⫽1/T, much higher than the oscillation
matching problems arise. The variable In this sine-wave oscillator, the output frequen- frequency and assuming that the pulse
resistor connects to ground, an advanta- cy is dependent only on the value of the width, ␶, is half the switching period
geous fact in many applications. Like grounded resistor R1. (␶⫽0.5T), the approximate voltage trans-
78 edn | May 29, 2003 www.edn.com
design
ideas
fer function of the frequency-dependent cillation condition does not depend on design uses an LT1361 (www.linear.com)
feedback loop is: R1. It thus becomes obvious that con- for IC2, R2⫽1 k⍀, R3⫽4.9 k⍀, C1⫽10 nF,
trolling grounded resistor R1 results only C2⫽1 nF, and FS⫽500 kHz. The output-
s2 + sω 0d1 + ω 02
H(s) = , in the variation of the oscillation fre- voltage amplitude is 3.2 to 3.3V. The to-
s 2 + s ω 0d 0 + ω 0 2 quency and does not affect the condition tal harmonic distortion in the 0- to 100-
where ␻0⫽1/2R公C1C2 is the oscillation for oscillation. This situation means that kHz band does not exceed 3%. It’s useful
frequency, d0⫽公C1/C2⫹2公C2/C1, and you can tune this oscillator over a wide to note that, because the oscillation fre-
d1⫽2公C2/C1. Using this function and range of frequencies, preserving the out- quency is proportional to the conduc-
assuming the transfer coefficient of the put waveform. tance of the variable resistor (G1⫽1/R1),
positive-feedback circuit to be ␥⫽ PSpice simulations prove the possibil- you can use the oscillator as a linear, wide-
R2/(R2⫹R3), you obtain the oscillation ity of tuning the oscillation frequency band conductance-to-frequency or re-
condition in the form ␥⬎d1/d2⫽ over three decades (20 Hz to 20 kHz) by sistance-to-period converter.왏
2公C2/C1/(2公C2/C1⫹公C1/C2). The os- varying R1 from 1.2 M⍀ to 1.2 k⍀. This

Obtain higher voltage from a buck regulator


Ajmal Godil, Micrel Semiconductor, San Diego, CA
everal semiconductor vendors’ This output-voltage constraint arises high output voltage for printers, servers,

S current-mode buck controllers have


input-voltage ranges of 30 to 36V
but have output-voltage ranges from the
from the common-mode-voltage limi-
tation of the current-sense amplifier. In
real-world applications, the power-sup-
routers, networking, and test equip-
ment. Using a conventional buck regu-
lator to generate higher voltages is a
reference voltage to approximately 6V. ply designer must be able to generate challenge. The circuit in Figure 1 meets

VIN 27V
C1 C2
22 ␮F 22 ␮F

R1 D1
100k SD103BWS
Q1
IC1
C3 SI4800DY L1 R2
MIC2182
1 0.1 ␮F
SS HSD 16 10 ␮H
VOUT
2 PWM 40m 20V AT 2.5A
VSW 15
3
COMP BST 14
4 SGND
LSD 13 D2
5 SYNC
PGND 12 Q2 B140
6 SI4800DY
EN/UVLO VDD 11
7 FB 10
VIN
8 R3
CSH VOUT 9 C6 16.2k
C4 C5
0.1 ␮F 1 nF
C10 0.1 ␮F
100 pF C7 C8
47 ␮F 47 ␮F
R4
R5 100 R6
10k 1.05k
C9
4.7 ␮F

R7
Q3 5 91
3
1 IC2A + R8
MIC6211 100
Figure 1 _ 4
MMBT3906 R9
2
1k

You can generate 20V output using a standard, current-mode buck regulator.

80 edn | May 29, 2003 www.edn.com


design
ideas
the challenge by using an external op 98 current through R8 is 400 ␮A
amp, a small-signal pnp transistor, ((20.04⫺20)/100), which is also
96
and a low-output-voltage buck regu- the current through R9 and R4
lator to deliver 20V output voltage 94 (via Q3). This current generates
from a 27V input supply for load cur- a voltage drop of 40 mV across
92
rents as high as 2.5A. You can easily EFFICIENCY
R4 (400 ␮A⫻100⍀). The con-
program the circuit to provide high- (%) 90 troller’s VOUT pin connects to
er load currents by merely lowering the internal 5V regulator
88
the sense resistor, R2. IC1, the con- (VDD) and R4; the other side of
troller in Figure 1 is the MIC2182, 86 R4 connects to the CSH pin. The
and IC2, the operational amplifier, is 0 0.5 1 1.5 2 2.5 3 voltage on the VOUT pin is 5V,
ILOAD (A)
the MIC6211. Resistors R3 and R6 and the voltage on the CSH pin
program the output voltage as F i g u r e 2 is 5.04V. The voltage difference
follows: VOUT⫽20V⫽VFB(1⫹R3/R6). This curve shows the efficiency of the regulator in Figure 1. between these two pins is exact-
CSH (Pin 8) and VOUT (Pin 9) of ly the voltage drop across R2.
the buck controller normally connect voltage drop across R2 from 20V down to The simple circuit in Figure 1 allows you
across the sense resistor, R2, for output 5V, which is within the input common- to achieve greater than 95% efficiency for
voltages as high as 6V. The controller as- mode range of the internal current-sense load currents as high as 2.5A with
serts current limit when it senses ap- amplifier of the buck regulator. You can VOUT⫽20V, using a conventional low-
proximately 100 mV across these two readily understand the circuit operation output-voltage, current-mode buck reg-
pins. In the case of VOUT⫽20V, the oper- by assuming a voltage drop of 40 mV ulator. Figure 2 shows the efficiency of
ational amplifier and Q3 level-shift the across R2 for a load current of 1A. The the regulator.왏

82 edn | May 29, 2003 www.edn.com

You might also like