Documente Academic
Documente Profesional
Documente Cultură
ideas
The best of
8 Check it out at: www.edn.com
design ideas
ome transducers for portable or CD40106B D1 D2 automotive applications need accuOUTPUT STAGE rately regulated, high-voltage bias and draw little current. To produce such high voltages from a low battery voltage, designers typically use switch-mode Q2 C1 VC1 dc/dc convertersgenerally, flyback conVDD verters. These converters exhibit high ef12V COUT VOUT ficiency at medium or high output power. However, for the low output power for biasing some transducers, the fixed VIN Q1 VOUT1 amount of power the power-switch Figure 1 driver and the regulator circuitry require can have a detrimental effect on efficiency. Furthermore, the associated transformer is rarely available off the shelf, so it requires a custom-design ef- This four-IC circuit uses no transformers and converts 12V to 180V, using off-the-shelf components. fort. This effort can account for 70% of the entire design time. The two complementary MOSFETs, circuit in Figure 2 acts as a voltage-douThe circuit in Figure 1 overcomes the Q1 and Q2, mounted in a push-pull con- bler cell. If you cascade N voltage-doubler cells transformer-related problem, thanks to a figuration, represent the output stage of transformerless, switched-capacitor top- one CD40106 Schmitt-trigger inverter. in the chainlike structure of Figure 1, an ology that requires only off-the-shelf The input signal,VIN, drives the push-pull extension of the voltage-doubler princicomponents. You can describe the oper- stage, producing a 0 to 12V square wave ple yields VOUT (N 1)(VDD VD). From ating principles of the circuit by first con- at 150 kHz. If you assume that VIN is 12V this equation, you can determine the sidering the behavior of a single during the first half-period, then Q1 is on, number, N, of inverters you need to proswitched-capacitor cell and then extend- and Q2 is off. Consequently, D1 is for- duce a given high output voltage: ing the concept to an N-cell voltage mul- ward-biased, and C1 charges positively to tiplier. Figure 2 represents the equivalent VC1 VDD VD, where VD is D1s forwardcircuit of the first switched-capacitor cell. voltage drop (0.7V). Meanwhile, D2 is forward-biased, and COUT charges to To produce 180V output voltage from VOUT VDD 2VD. During the second a 12V lead-acid battery, which can flucBuild a transformerless 12V-to-180V half-period, the states reverse: VIN is 0V, tuate from 11 to 13.5V, an application of dc/dc converter ..............................................83 Q1 is off, and Q2 is on, thus connecting the the equation with worst-case VDD of 11V Build a simple one-chip negative terminal of C1 to the supply volt- yields phototimer ......................................................86 age. This action forces the positive terSolenoid trip circuit works minal of C1 to elevate itself to a voltage at batterys end of life ..................................88 higher than the supply voltage, VDD. D1 now becomes reverse-biased and allows So, your design requires three Servo loop improves C2 to charge up again through D2. If you CD40106 hex Schmitt-trigger inverters, linear-regulator efficiency ............................90 assume that COUTs value is considerably as Figure 1 shows. An inspection of the Boole helps simplify wiring lower than the value of C1, then you can equation VOUT (N 1)(VDD VD) reand save money ............................................92 calculate that VOUT attains the value veals that the 11 to 13.5V fluctuation of Publish your Design Idea in EDN. See the Whats Up section at www.edn.com. VOUT VOUT1 VC1 2(VDD VD). Thus, the lead-acid battery produces a proporassuming VDD VD, you can see that the tional 195 to 243V output-voltage flucJuly 8, 2004 | edn 83
www.edn.com
design
VBAT 12V +
ideas
IBAT IC4 LP2951 8 INPUT 1 OUTPUT C21 1 F FEEDBACK + _ ERROR AMPLIFIER 2 + SENSE 8 VTAP 5 ERROR _ NC NC NC C22 3.3 F
NC SHUTDOWN 60 mV
ERROR-DETECTION COMPARATOR +
D1 C1
D2 C2
D3 C3
D4 C4
D5 C5
D6 C6
IC1A
IC1B
IC1C
IC1D
IC1E
IC1F
D7 C7
D8 C8
D9 C9
D10 C10
D11 C11
D12 C12
IC2A
IC2B
IC2C
IC2D
IC2E
IC2F
D13 C13
D14 C14
D15 C15
D16 C16
D17 C17
D18 C18
D19
Figure 2
NOTES: C1 TO C18: 33 TO 100 nF (63V). D1 TO D19: 1N4148 OR EQUIVALENT. IC1 TO IC3: CD 40106B. IC4: LP2951 (NATIONAL SEMICONDUCTOR).
This circuit illustrates the operating principle of the basic voltage-doubler cell.
tuation. This variation is unacceptable for biasing applications requiring accuracy. The obvious solution to this problem is to regulate the output voltage, VOUT. You could use either of two regula-
tion techniques: Connect a high-voltage regulator directly to the output terminal, VOUT, or control the low-supply voltage, VDD, of the CMOS inverters to indirectly regulate the output voltage, VOUT. Be-
cause of the high cost and low efficiency of linear high-voltage regulators, the circuit in Figure 1 uses the second regulation technique. The key element of the feedback loop
www.edn.com
design
ideas
TABLE 2OUTPUT REGULATION AND EFFICIENCY AT VBAT 12V
IOUT (mA) 0 200 400 800 1000 VOUT (V) 180.3 180.6 180.7 180.2 179 Ripple p-p (V) 0.08 0.1 0.1 0.15 0.2 IBAT (mA) 3.4 7.6 11.7 19.8 25 Efficiency (%) NA 40 52 61 60
is the low-cost, low-dropout regulator, IC4, the LP2951 from National Semiconductor (www.national.com). The output of this regulator produces the variablesupply voltage, VDD, to the 16 Schmitttrigger inverters (IC1 to IC3). With this arrangement, IC4 has to deal with input voltages ranging from only 11 to 13.5V. The output voltage, VOUT, feeds back to
IC4s error amplifier via the resistive divider, R2, R3, and P3. IC1A, the first multiplier cell, produces the square waveform that the 18-cell, switched-capacitor voltage multiplier needs. Using the feedback network (R1, C1), this Schmitt-trigger inverter constitutes a free-running oscillator that produces a 150-kHz square waveform at its output. Tables 1 and 2 show the measured electrical characteristics of the regulated 12-to-180V dc/dc
converter. The input-regulation characteristic in Table 1 proves that the output voltage does not fluctuate significantly for battery voltages ranging from 11 to 14V. From the output-regulation characteristic in Table 2, you can see that the overall power efficiency attains 61%, the maximum output current reaches 1 mA, and the peak-to-peak output ripple voltage does not exceed 0.2V.
www.edn.com
design
ideas
example, as a continuous mode to light the lamp just after power-up, without waiting for night. You can use any type of microcontroller in the project. For example, using the 16-pin microcontroller MC68HC908QY2 from the same Motorola family allows you to increase the number of bidirectional I/O lines to 13. Also, instead of the photocell, you could use a different kind of sensor temperature, pressure, or motion, for exampleto activate the time delay.
it the number of LEDs you can add. For more advanced projects, you can even use a seven-segment display, either directly or via a decoder, for time indication. You can eliminate the Auto/Manual switch by modifying Mode 0, for,
prevented the supply voltage from sagging so dramatically, allowing the device to continue functioning much further into the batterys life. However, the electrolytic was bulky and expensive, and presented an awkward packaging problem. The circuit in Figure1 solves the problem by incorporating feedback in such a way that any drop in supply voltage only turns on the drive circuit harder. In testing, this circuit functioned even when the nominally 6V battery sags as low as 2V. Q1 is a 3A, high-beta, low-saturationvoltage pnp transistor that drives the solenoid. To energize the solenoid, Q1 has to turn on hard to minimize voltage drop and get the most from the batterys life. The circuit achieves the full turn-on by using three sections of an LP339 quad comparator in parallel. The LP339 is similar to the venerable LM339 but with lower power consumption, making it more suitable for battery-powered applications. Interestingly enough, it also has higher output drive. The three parallel devices provide approximately 200 mA to
the base of Q1, sufficient for Q1 to supply 2A to the solenoid and remain well-saturated. The design requires no currentlimiting resistor in series with the base of Q1 because the outputs of the LP339 are naturally current-limited to approximately 60 or 70 mA each. Once the trip mechanism triggers, S1 opens, removing all power from the circuit. The device remains in this state until you manually reset the trip mechanism. An entire trip event takes only about 10 msec, thus conserving the battery and preventing excessive power dissipation in Q1 and the LP339. The remaining section of the LP339 implements a single-section window comparator. A window comparator is necessary because motion detectors are commonly ac-coupled circuits. You must apply the detection threshold equally to positive or negative excursions. In other words, any excursion outside the window should trigger detection. In a quiescent state with no input signal, the network comprising R3, R5, and dual-diode D2
V
R1 R3 220k 4.7M
C1 1 F
R2 270k R4 100k
V Q1 FZT788 S1 IC2 + C 2 10 F 1 + C 3 10 F
V+ 7 + INPUT FROM MOTION DETECTOR D1 BAV99 D2 BAV99 4 5 + 12 2 IC1A 3 LP339 9 + 8 V 11 + 6 1 IC1B LP339 14 IC1C LP3 13 IC1D LP3 D4 1N4935 6V SOLENOID
3 2
V+ OUT V TLE2426
V + 6V BATTERY
Figure 1
This motion-detector circuit works with 6V battery voltages that sag as low as 2V.
10
www.edn.com
design
ideas
til it is higher than the negative input. Either case results in the output of IC1As going high. This action in turn causes the IC1B, IC1C, and IC1D outputs to turn on, turning on Q1 and energizing the solenoid. R4 provides positive feedback. If Q1 even starts to turn on, the partial turn-on causes IC1B, IC1C, and IC1D to turn on more, precipitating a latch-up to ensure that Q1 turns on all the way. Thus, all possible battery energy is delivered to the solenoid. C1 provides further positive feedback when the supply sags. D3 protects the LP339s inputs from being driven more than a diode drop below ground when the power-supply sag is severe. A beneficial side effect of the time constant formed by C1 and R6 is to prevent false triggers on start-up by holding off the IC1B, IC1C, and IC1D stage until the motion detector has had time to stabilize. IC2 is a ground-generator chip, used to create a circuit ground midway between the supply rails. In contrast to the original circuit, everything in this circuit is going in the proper direction to ensure positive actuation of the solenoid once it reaches a trip threshold. The circuit uses only common, low-cost, and small components. The circuit offers full usage of battery life and needs no bulky energyreservoir capacitor.
keeps the negative input of IC1A one diode drop above ground and the positive input one diode drop below ground. This level keeps IC1As output and, hence, the negative inputs of IC1B, IC1C, and IC1D, low. Because R1 and R6 bias the positive input of IC1B, IC1C, and IC1D at approximately 0.75V, the comparators outputs remain off. The circuit trips if the input goes more than two diode drops above or below ground. For example, if the circuits input goes below ground, the negative input of IC1A pulls down until it is lower than the positive input. If the input goes up, the positive input of IC1A pulls up un-
kHz fixed frequency. The LT1085, IC2, is a good choice for the linear regulator. The preregulator feedback loop uses an operational amplifier, IC3. When the servo loop is closed, the feedback voltage for IC1 is: (1)
(2) Equation 2 yields the relationship VA VOUT VDROPOUT kVFB. You can set the dropout voltage according to the linear-regulator requirements. If you select
L1 220 H
an LT1085, maximum VDROPOUT is 1.5V; for the LM2576T, VFB 1.23V and if k 1.5, VDROPOUT 1.89V, slightly higher than the value in the data sheet. The dropout voltage is the same regardless of the output voltage and thus ensures reasonable efficiency. (The overall efficiency is greater than 56% for VOUT 5V at 3A and at least 72% for VOUT 30V at 3A.) The output voltage, VOUT, ranges from 0 to 30V, and VIN must be at least 5V greater than the maximum VOUT. IC3 has no special requirements, and IC2 may be any kind of linear regulator. C6 reduces the output ripple, and C2 filters some of the 52-kHz noise on the control line coming from IC3. The result is a simple, robust, and high-performance laboratory power supply that can supply 3A in a 0 to 30V output-voltage range, using only a small heat sink.
IC2 LT1085 VA C3 2200 F 50V 3 IN R4 15k 1% C6 OUT 2 ADJ R1 1 100 R2 2.5k VOUT
C1 100 F 50V
C2 100 pF
D2 3.3V
D1 R8 6.8k SR508
C4 100 F 50V
C5 100 nF
+
R6 15k 1%
+
50V 25 F
C7 150 F 50V
C8 100 nF
5V 4 + 7 33V 3 2 R3 10k 1%
Figure 1
This inexpensive power supply uses a preregulator to boost efficiency.
R7 510 5V
D3 12V
www.edn.com
design
ideas
switches in series, Figure 1). This redundancy enables the detection of errors, such as a short circuit within a cable. The Boolean-logic equations of these two circuits are X A B, and Y AB. The problem is that most small limit switches are SPDT (single-pole, double-throw) switches, with which you
A B B A X = A+AB X = A+B X = A+AB X = A+B Y = AB
o safely observe the positions of two cylinders, you need two signals: one circuit, X, which is open only when both cylinders are in a safe position (two normally closed switches in parallel), and one circuit, Y, which is closed only when both cylinders are in a safe position (two normally open
A B B A X = A+B Y = AB
cannot configure the circuit of Figure 1. Using Boolean arithmetic, you can derive X A B A AB, which corresponds to the schematic in Figure 2. You can easily make a circuit equivalent to that of Figure 2 using two ordinary SPDT limit switches (Figure 3).
B A
Y = AB
Figure 1
Figure 2
Further simplification yields this circuit, which uses only two SPDT switches.
Figure 3
www.edn.com