Vous êtes sur la page 1sur 5

design

Edited by Bill Travis


ideas The best of
design ideas
8 Check it out at:
www.edn.com

Circuit forms simple, low-cost, 1-kV driver


Tai-Shan Liao and Prasit Champa, National Science Council, Hsinchu, Taiwan
igh-voltage drivers have recent- age, which you derive from the output of

H ly received much attention, because


they play an important role in driv-
ing piezoelectric and electro-optical
the error amplifier, serves as the indica-
tor for load conditions. Once the feed-
back voltage becomes lower than the
Circuit forms simple, low-cost,
1-kV driver ........................................................87
Make a printer-port EEPROM
components, for example. Figure 1 shows green-mode threshold voltage, the
programmer and dongle ............................88
a simple, low-cost, 1-kV driver. The cir- switching frequency starts to decrease.
cuit uses offline, current-mode-control All the power losses are in direct pro- Circuit controls ratiometric or simul-
techniques and a flyback switching-pow- portion to switching frequency. These taneous power-up of multiple rails............90
er-supply design. IC1, a UC3844, is the losses include the switching losses of the Scheme provides automatic
major control component, using a transistor, core losses in the transformer power-off for batteries ..................................92
switching frequency of 100 kHz. The IC and inductors, and the power loss of the
Publish your Design Idea in EDN. See the
provides frequency modulation to reduce snubber. The frequency modulation in What’s Up section at www.edn.com.
the switching frequency under light- and the PWM-controller IC reduces the pow-
no-load conditions. The feedback volt- er consumption in the supply under

EI-25-2E6
CORE 1000V

+ 47 ␮F 470k
T2 450V 1W
T1
+ 100k 70 105
110V AC 220 ␮F 0.1 ␮F 5W TURNS + 47 ␮F 470k
TURNS
400V 30k D1 450V 1W
1W

BR1 FR137
+ 47 ␮F 470k
T3 450V 1W
FR137
105
TURNS + 47 ␮F 470k
450V 1W
+ T5
22 ␮F 0.1 ␮F FIVE
25V
TURNS
T4 22 ␮F
25V 0.1 ␮F
7 SIX
5 TURNS
Q1
IRF840 1M
130k
30
6
1 IC1 FR137 1k
10O pF
UC3844 1k
3 VREF 1M

FB 2 30O pF 5 PC817
33k
4 8 1W
VR1
200 500k
15k

R5 6.8 nF 10k
3k
Figure 1
0.1 ␮F
2.2 nF
A PWM-controller IC IC2
VR2
TL431
forms the heart of a 10k 10k

low-cost, regulated,
1-kV-dc supply.

www.edn.com May 13, 2004 | edn 87


design
ideas
light- and no-load conditions. But the open-loop error amplifier with a 2.5V prevent core saturation, the gap is ap-
frequency modulation has no effect on temperature-compensated reference. proximately 1 mm. The primary winding
the PWM operation under normal- and When the output voltage is lower than the has 70 turns of 28-gauge wire. Both the
high-load conditions. desired level, the feedback to the UC3844 secondary windings have 105 turns of 34-
Pin 2 (the feedback pin) of the UC3844 automatically compensates the pulse- gauge wire. The primary and secondary
sums the current-sense signal, the output- width modulation of the output trigger- auxiliary windings have five and six turns,
voltage feedback signal, and any added ing signal. Ceramic bypass capacitors (0.1 respectively, of 34-gauge wire. The dc out-
slope compensation. The feedback-con- ␮F) from VCC and VREF to ground provide put voltage of the circuit in Figure 1 is 1
trol circuit uses a TL431 adjustable shunt low-impedance paths for high-frequen- kV (fixed).You can adjust the output volt-
regulator to detect the output signal. A cy transients. This design uses a Tomita age in a 50V range by adjusting VR1. Both
PC817 passes the signal to the feedback (www.tomita-electric.com) EI25-2E6 load and line regulation are less than 1%,
pin of the UC3844. The TL431 acts as an core set to fabricate the transformer. To and power efficiency is 80% at full load.왏

Make a printer-port EEPROM programmer and dongle


GY Xu, XuMicro, Houston, TX
ou can easily use a PC’s print- Once you settle on the hardware

Y er port for serial-EEPROM pro-


gramming. You can use a de-
vice-programmer circuit used to
14
1 CO

2 DO
design, the main task is to write
software. This task is not difficult.
For many embedded-system-soft-
program the MicroWire serial EE- ware engineers, it’s routine and in-
PROM 93CXX (Figure 1). The cir- C3
17 teresting. A freeware executable
cuit is so simple that any further 18 8
program, Pseep2.exe, is available
simplification seems impossible. VCC for this purpose. A sample demo
This programmer circuit contains 1
CS 7
program, secret.bin, allows you to
PE
no microcontroller, as most device 2
practice the programming. You can
SK
programmers do. It needs neither a 93CXX
download the software from the
9 D7
separate power supply, or “wall- Web version of this Design Idea at
3 6
wart,”nor a cable. When in use, it di- DI ORG www.edn.com. It handles only one
rectly plugs into the PC’s printer 4
DO MicroWire device—the popular
port. However, you still can use a ca- GND 93C46’s read/write operation as an
25
ble if convenient—for PC printer 13 5 example. Another important fea-
ports behind the PC, for example. GND ture of this circuit is that, once you
The circuit also requires neither a program the 93CXX device, the
DB-25M
resistor nor a decoupling capacitor. CONNECTOR
system becomes a primitive don-
These advantages come from the gle. You can then use it as a hard-
PC’s printer-port resources and ware-protection device for your
Figure 1 This printer-port serial EEPROM program- valuable software. Only you know
the architectural simplicity of the
MicroWire serial EEPROM. The mer can also act as a dongle once you program the device. whatever was programmed in the
printer port comprises the 8-bit device.
data, status, and control registers. Each read/write operations. This design uses the When the protected software runs, it
register has its unique address. On the chip-select signal from the reverse level of first checks whether the device is present
classic IBM PC, the data port serves sole- the control bit C3 (Pin 17). It also ties to- at the printer port and whether the code
ly for output, but the control port can gether pins DI and DO and connects them matches what you programmed. If a
serve as either input or output. The eight- to the Control bit C0 (Pin 1), which can match doesn’t exist, the software refuses
pin, tiny, serial EEPROM consumes less serve as input or output, thereby saving to continue and exits. The dongle is
than 1-mA current in the active state, and one pin. These selections caused no prob- primitive, but it does illustrate the basic
the printer port’s data pin can supply a lems in practice. Because control Pin 1’s principle of dongle-protection technolo-
few milliamps, so this design uses D7 (Pin logic is the reverse of the logic level on bit gy. You can build the circuit using wire-
9) as a power-supply pin. No decoupling C0, the software must take care of the in- wrapping or point-to-point soldering
capacitor is necessary in practice. version. The MicroWire interface nor- techniques on a solderless breadboard, in
The MicroWire chip uses the CS (chip- mally requires a pullup resistor on the DO which case you’ll need a cable, or with
select), SK (clock-signal), DI (data-input), pin, but such a resistor is already inside the your own pc board. It’s a one-evening
and DO (data-output) pins to control its PC, so it’s unnecessary. project.왏
88 edn | May 13, 2004 www.edn.com
design
ideas
Circuit controls ratiometric or simultaneous
power-up of multiple rails
Dirk Gehrke, Texas Instruments, Freising, Germany
any applications use FPGAs, IC2 controllers share a soft-start capaci- 3

M ASICs, or DSP chips, which usual-


ly require multiple voltage rails,
typically two: the core voltage and the I/O
tor, C14. This example uses two buck con-
verters with integrated synchronous-
rectification FETs. From a 5V
0.2 mSEC
0.50V

2
0.2 mSEC
0.50V
voltage. The core voltage is usually lower input-voltage rail, IC1 generates the 3.3V
than the I/O voltage. Guidelines for de- I/O voltage. Buck converter IC2 gener-
termining how to power up two or more ates the 1.5V output voltage.
voltage rails depend on the part and the The soft-start pin, available on both
manufacturer you use. The first imple- controller ICs, serves two purposes. You
mentation in Figure 1 shows how to re- can use it to enable the controller cir- 0.2 mSEC
alize ratiometric sequencing, which cuitry if required—an implementation 1 10 mV 50⍀
10 MSAMPLES/SEC
you could realize by tying an open-col- 23 50 mV DC x
means that both power-supply output 50 mV DC 2 DC 2.00V
10
x
10
□ STOPPED
rails simultaneously start and simultane- lector or open-drain gate to the SS Pin. 4 0.1V DC
x
10

ously reach their final regulated output If the transistor or FET is active, it
Figure 2
voltage. This implementation uses resis- ties the SS Pin to ground potential,
tor R15 connected to ground; the path and forcing both controllers to stay off. Once This graphic shows measurement results for
components in red are deleted. You can you release the SS Pin, both ICs start to the ratiometric implementation.
achieve the ratiometric function by stack- charge C14 with their internal 5-␮A cur-
ing together multiple converters that rent sources. In total, 10-␮A current flows time⫽C14(1.2V/10 ␮A). As the output ac-
share one soft-start capacitor. This con- into C14. Once C14 reaches the threshold tivates, a brief ramp-up at the internal
nection ensures that both controllers voltage of 1.2V, both controllers start to soft-start ramp may occur before the ex-
ramp up their output voltage at the same operate. You can easily calculate the de- ternal soft-start rate takes control. The
time during power-up. Both the IC1 and lay versus the capacitor’s value: Delay output then rises at a rate proportional

VIN 5V L1 I/O 3.3V, 3A


VIN PH
R1
+ C7 C8
C1 C2 76.8k C6
RT C12 47 ␮F 47 ␮F
470 ␮F 10 ␮F C5 BOOT
47 nF R7
1.8 nF 105
100 nF TPS54310
C13 VBIAS R8
IC1
56 pF 27.4k
VSENSE
SYNC R2 C10
R9 3.83k 6.8 nF
D1 SS
1k COMP
GND R3 R6
40.2k 13.7k
C9 R15
470 pF 10.22k R5
Q1 330k

C11
47 ␮F

L2 CORE 1.5V, 6A
VIN PH
R4
330k C19 C20 C21
PGOOD C18 47 ␮F R 47 ␮F
BOOT 47 nF 13
5.6 nF 33.2
TPS54610
Figure 1 RT IC2 SYNC R14
R10 10k
VBIAS VSENSE
71.5k C17
This circuit provides C15
SS R11 18 nF
ratiometric (delete red 100 nF
COMP
path and components) or GND R12
C14 14.7k
simultaneous power-up C16
39 nF
sequencing. 1.5 nF

90 edn | May 13, 2004 www.edn.com


design
ideas
to the soft-start capacitor. You can pro- start at the same time with the same parator output pin. This action forces the
gram the soft-start time via C14. The next ramp, reaching their final value at the pin to rise immediately to the output-
equation represents the soft-start time same time. Once both rails reach 1.5V, voltage level because of resistor R4’s
calculation. The actual soft-start time is you must increase IC1’s output voltage to pullup action. A lowpass filter consisting
likely to be less than the calculated ap- 3.3V, its final value. To make that increase of R5 and C11 forms a delay circuit, driv-
proximation because of the brief ramp- happen, Q1 places R6 in parallel with R3. ing MOSFET transistor Q1’s gate. This
up at the internal rate. Soft-start You can calculate the value of R6 using the delay circuitry determines when Q1 be-
time⫽C14(0.7V/10 ␮A). If you set IC1 for next three equations. The given parame- comes active. Q1 has a threshold voltage,
ters are: VOUTCORE⫽1.5V; R8⫽27.4 k⍀; VGSTH, of 1.6V. Once the gate voltage
2
5 mSEC
VREF⫽0.891V, the internal bandgap-ref- reaches or exceeds the threshold voltage,
0.50V erence voltage of IC1; and R3⫽40.2 k⍀. VGSTH, Q1 starts to conduct, putting R6 in
3 You can program VOUTI/O via R8 and RX. parallel with R3. Because of the resistor-
5 mSEC
0.50V
RX represents the value of R3 and R6 in a ratio change, IC1’s output voltage ramps
parallel connection. up to its final I/O-voltage value of 3.3V.
The MOSFET this design uses has an on-
resistance of roughly 10⍀. This figure
might sound high, but, because of the
high-ohmic-resistive divider, this value
5ms does not affect performance. Figure 3
1 10 mV 50⍀
500 kSAMPLES/SEC
shows the results of the described imple-
2 50 mV DC
3 50 mV DC 2 DC 1.02V
mentation during power-up.
4 0.1V DC □ STOPPED
Significantly, in this implementation
Figure 3 both converters run at the same switch-
ing frequency. IC2 is the master con-
These curves, distinctly different from those in RX must have a value of 10.22 k⍀ to pro- troller, programmed to a 700-kHz
Figure 2, show simultaneous-sequencing duce VOUTI/O⫽3.3V. switching frequency. IC1 starts at a lower
results. initial switching frequency of roughly
630 kHz, 10% below the switching fre-
3.3V and IC2 for 1.5V, they both reach quency of IC2. Once IC2 begins to oper-
their final voltage level at the same time. ate, it synchronizes IC1 via the Sync Pin.
Figure 2 shows measured results of the ra- Diode D1 limits negative voltage spikes at
tiometric sequencing. In this example, R6 needs a value of the Sync input. Placing a well-chosen
In the simultaneous-sequencing sce- 13.7 k⍀. Applying 5V to the input-volt- Schottky diode between both output
nario, IC2 acts as the master controller. age rail activates both controllers at once, voltage rails can ensure that, even during
You program its output voltage via R14 allowing them to start at the same time. power-down, both rails have a voltage
and R12 to a value of 1.5V. R8 and R3 pro- Once the master controller, IC2, reaches difference of 400 to 600 mV for safety
gram the slave controller IC1’s output an output voltage level equal to or greater reasons. The cathode connects to the I/O-
voltage to a value of 1.5V. As the ratio- than 90% of the initial value, the IC re- voltage rail, and the anode connects to
metric scenario describes, both voltages leases the power-good open-drain-com- the core rail.왏

Scheme provides automatic power-off for batteries


Miguel Gimenez, Altair-Equipos Europeos Electronicos, Madrid, Spain
he circuit in Figure 1 provides a circuit, the circuit incorporates an auto- is approximately six minutes. The timer’s

T simple and inexpensive way to pro-


tect one of the most valuable com-
ponents in portable applications: the bat-
power-off function with a time period
that is a function of preprogrammed
time constants.
output feeds the Q1 inverter that activates
medium-power, pass-through Q2 transis-
tor. This circuit is configured as a pnp
tery. Applications include all portable IC1 and related parts provide a bistable block to ensure low losses to the load. The
equipment that requires a limited time of toggle function and also ensure protection loss comes only from VCE(SAT)—approxi-
operation, such as test instruments, gui- against switch-contact bounce. IC1C mately 0.2V at 100 mA, or 20 mW. For ap-
tar tuners, and electronic toys. Pressing buffers the toggled signal and isolates the plications demanding more current, you
the on/off momentary switch starts the R1-C1 charging current. This signal feeds can choose a more suitable transistor. A
cycle, and the circuit provides power to the IC2 timer, configured as a monostable MOSFET can be an efficient approach
the application circuit. If you again press multivibrator that remains activated un- when you need either lower standby loss-
the switch at any instant, the circuit til it times out, according to the expression es or a lower voltage drop between the bat-
switches off and “sleeps” until the next t⫽1.1⫻RTCT. This figure is the auto-pow- tery and the application circuit.
cycle. In case you forget to switch off the er-off time. In the example, this interval Standby losses in the switched-off state
92 edn | May 13, 2004 www.edn.com
design
ideas
Q2
+ BD140
VIN
9V DC VOUT
– BATTERY R9 TO
C6
100k APPLICATION
R3 1 ␮F
22k
R7
IC1A R2 IC1B IC1C 2.2k
CD4023A 2.2k CD4023A CD4023A
1 3 11 D1 LED
2 9 4 6 12 10
8 5 13 8
RT R4 R5 R6
R1 VCC
1M 100k 100k 10k
390k 2 3 Q1
S1 TRIGGER OUTPUT
4 BC337
1 2 RESET
5 IC2
CONTROL
C1 6
ON/OFF THRESHOLD
100 nF 7
MOMENTARY DISCHARGE
CT C2 C3 C4
330 ␮F 1 nF 10 nF 10 nF GND
Figure 1 C5 1 555
10 nF ON

OFF OFF
This battery-saving circuit is handy for applications requiring a limited operating time. T

are negligible, because the circuit draws LED, because it is connected in the cur- gles the bistable circuit to the off state,
power only from the CMOS gate in the rent-source leg of the driver transistor. performing the same role you might have
inactive off-state. LED D1 indicates the The output transition to 0V during time- forgotten with the on/off switch. This
on-off status of the circuit. No extra pow- out ensures the timed power-off by simple circuit is useful when the applica-
er comes from the battery to drive this means of the C5 feedback loop that tog- tion doesn’t require a microcontroller.왏

94 edn | May 13, 2004 www.edn.com

Vous aimerez peut-être aussi