Академический Документы
Профессиональный Документы
Культура Документы
W
10k 6
1
linear application, you
Figure 1 5 8 12V
should consider its gain 4 10k
2 3
drift with temperature. Traditional sin- 100V
IC2
+
IC1 1
gle- and dual-transistor-output devices H11AV1 402 LM358
2 2
4
have a notable gain drift with tempera-
ture. In recent years, some temperature-
compensated optocouplers have ap-
peared. However, another option is to use 2200 pF
1
6
two optocouplers or a dual optocoupler 10k
5
with appropriate feedback to make the 2
4 VOUT
drift of one device cancel the drift of the IC3
402
other. The circuit in Figure 1 accom- 402 H11AV1
plishes that task by using a differential
amplifier with the drift treated as a com-
mon-mode signal. In operation, it is in- By using two optocouplers instead of one, you can cancel temperature-dependent gain drift.
teresting to apply a dc signal to the input
and use digital voltmeters to simultane-
A a 1
ously monitor the output of each opto- INPUT GAIN = a = • ,
coupler and the differential amplifier.
a
A
OUTPUT 1 + Ab b 1+
1
Apply a heat gun and observe the indi- Ab
vidual outputs change rapidly where a/b is the ideal closed-loop gain
while the amplifier output moves Figure 2 and is multiplied by the loop-gain error
b
term. Given that the error term is small
(from the large gain A of the op amp), the
Circuit compensates optocoupler Control-system feedback theory explains the
gain of the system is seen as the ratio of
temperature coefficient ................................93 operation of the circuit in Figure 1.
the gains (current-transfer ratios) of the
Soft-start controller is much more slowly. This result occurs optocouplers. You can also easily find this
gentle on loads ..............................................94 even with optocouplers from different same ratio by setting the voltages to the
Method offers fail-safe manufacturers. With optocouplers of the op-amp inputs equal. The input and out-
variable-reluctance sensors ........................96 same type, you can observe good drift put signals for this analysis are currents,
cancellation. Parts from the same manu- which precision resistors translate to volt-
Circuit efficiently switches
facturer and dual devices give outstand- ages. The optocouplers in this design are
bipolar LED......................................................98
ing results. You can use individual opto- not particularly fast devices, so the phase
Circuit forms adjustable couplers instead of dual devices to meet delays could cause oscillation without a
bipolar clamp ..............................................100 safety-agency spacing requirements. feedback capacitor. You choose its value
Analog switch expands I2C interface ......102 To examine the method in control-sys- empirically by applying a pulse at the in-
tem terms, consider Figure 2, which put and observing the rise time and over-
Circuit safely applies power to ICs ..........104 shows one amplifier, a, in the forward shoot at the output.
Simple circuit forms path and another amplifier, b, in the feed-
peak/clipping indicator ..............................104 back path. Also consider the following Is this the best Design Idea in this
equation: issue? Vote at www.ednmag.com.
www.ednmag.com November 22, 2001 | edn 93
design
ideas
LINE
R3
R2
20k 68k
50k 10k
1%
20k 5.1k 20k
22k 22k 1% 0.1 mF
Q1 Q2 Q3
Figure 1 1W 1W
2N3096 2N3096
2N3096 Q4
51k 53.6k
1% 8 4 2N3094
D1 0.047
1N4002 7 mF
D3 3
R8 10k
1N4001 R4 IC2
121k
54.9k 6 TLC555CP 5
1% R9
1%
D4 75k
45.3k
D2 1N5242 + C2
1% 2 1
AC-LINE 12.1V
+
C1 O.1 mF
INPUT 100 mF 16V 0.01 mF
20V
R1
2Ok
R7
100k 0.1 mF R6
8 51k D5
100k
5 1N4148 C4
NEUTRAL T1 1k +
3
2
6 22 mF
IC1 7 16V
220 pF LM311 Q6
560k 2 24k 2N7000
+ 1N4148
1
2:50
4
C3 +
10 mF
16V
1k 1M
100k
This soft-start circuit protects the load from large inrush currents.
12
IC5 11
MAC223-8FP VOLTAGE AT Q5
MOC3052
340 COLLECTOR
1 4 0.01 mF
0
R5 MOV
30k
2 6
The circuit in Figure 1 provides soft-starting by adjusting the phase angle of the power applied to
Q5
47 the load.
2N3094
IC2. This pulse uses its negative edge to is floating; you must not tie these
provide a minimum pulse width of 200 grounds together. The design in Figure
msec to the base of Q4. The feedback pair 1 has successfully controlled fans and
150 Q4 and Q5 provides signal inversion and high-amperage universal motors (100
limits the current drawn from the 12V mA to 11A). One example is a router for
supply rail through IC3. When sufficient woodworking. By soft-starting these
LED current develops, the MOC3052 high-torque motors, the reaction torque
triac driver latches on and generates a (to the input current) that the user feels
gate current in the power triac, trigger- disappears. Moreover, other soft-start de-
ing it into the conducting state. Once the signs need two switches. The design in
power triac latches on, the triac driver Figure 1 needs only one on-off switch
LOAD enters its off state, even if the LED cur- (located at the load). Thus, less danger
INPUT rent still exists. exists for incurring an accidental starting
The power triac’s gate voltage falls be- condition. Figure 2 shows some of the
low the optocoupler’s threshold and waveforms associated with the circuit in
cannot hold the optocoupler. The longer Figure 1. T1 is a signal transformer that
the phase delay from the zero-crossing you can modify by wrapping two turns of
trigger, the smaller the conduction an- 14-gauge wire around the bobbin to act
gle and power delivered to the load. R5 as the primary winding.
facilitates on-off switching of the triac-
driver LED by providing a path for leak-
age currents. Potentiometer R2 provides
variable power to the load (to provide
motor-speed control, for example). R2
varies the dc-source current that charges
C2 every ac half-cycle. Note that the sig- Is this the best Design Idea in this
nal ground with respect to earth ground issue? Vote at www.ednmag.com.
www.ednmag.com November 22, 2001 | edn 95
design
ideas
Method offers fail-safe
variable-reluctance sensors
Phil Levya, Maxim Integrated Products, Sunnyvale, CA
ariable-reluctance sensors are the cable or sensor. The circuit in Figure the steel bar supplies the necessary mag-
V preferred for industrial and automo- 1 is a fail-safe variable-reluctance sensor netic flux. The rotating target causes a
tive environments, because they sus- for low- to medium-speed operation.
tain mechanical vibration and operation
change in reluctance and, hence, a change
The circuit comprises L1; R1; and a in the amount of magnetic flux conduct-
to 3008C. In most applications, they sense quad RS-422/RS-485 receiver, IC1. It pro- ed. This change produces a correspon-
a steel target that is part of a rotating as- vides the complementary, independent ding change in the current induced in L1.
sembly. Because the unprocessed signal output signals VOUT and VOUT. Table 1 lists R1 converts the L1 current to a time-vary-
amplitude is proportional to target speed, the resulting fail-safe modes. The supply ing voltage. This voltage goes to the in-
a sensor whose signal-processing circuit- voltage can be 10V, 12V, or the control puts of IC1, whose input-voltage range of
ry is designed for high speed ceases to system’s 24V-dc source. Coil L1 consists 625V, input threshold of 60.2V, and
function at some lower rate of rotation. of 2600 turns of #32 magnet wire wound typical input hysteresis of 45 mV enable
Hall-effect sensors are preferable for on a 0.8-in. steel bar of 0.2-in. diameter, the VR sensor to operate at low speeds.
speeds of several pulses per second, but with 0.125 in. protruding from the sen- The separate, complementary outputs
they require the attachment of a magnet sor face. A magnet attached to the back of come from separate, ESD-protected in-
to the rotating assem-
bly. They’re thus prone TABLE 1—FAIL-SAFE MODES (TWO CYCLES OF VOUT OR VOUT)
to failure when the (VOUT, VOUT) Mode
magnet is broken or (1,0) then (0,1) or (0,1) then (1,0) Normal mode, both pulses valid
damaged. Neither vari- (1,0) then (0,0) or (0,0) then (1,0) Failure, valid VOUT pulse, VOUT failure, cable failure, or partial sensor failure*
able-reluctance nor (0,1) then (0,0) or (0,0) then (0,1) Failure, valid VOUT pulse, VOUT failure, cable failure, or partial sensor failure*
Hall-effect sensors of- Always (1,1) Short-circuited cables or failure in IC1
fers fail-safe detection Always (0,0) Severed cables, failure in IC1 or failure in Q1 and Q2
of the processed signal
*System remains functional in failure modes.
in the event of failure in
10 TO 24V
Figure 1 STEEL
5V 1
ROTATING IN OUT 3 5V
TARGET IC2
4 MAX1615
5V R2
G 5
SHDN + 1k
12 16 4 C2
G VCC 5/3
C1 4.7 mF
2 0.1 mF GND
A1
2
IC1 VOUT
MAX3095
Q1
1
L1 R1 B1 Y1 3
47k
7
B2
10V
6
A2
8 R3
GND Y2 5 1k
VOUT
10
A3 Y3 11
9 B3 Q2 GND
14 A4 Y4 13
BAR 15
B4
MAGNET
Figure 2
CHANNEL 1 CHANNEL 1
FREQUENCY FREQUENCY
4.958 Hz 752.4 Hz
CHANNEL 3 CHANNEL 3
PEAK TO PEAK PEAK TO PEAK
270 mV 5.70V
(a) (b)
These waveforms represent operation at 4.9 Hz at 2.4 revolutions/sec (a) and 752.4 Hz at 376.2 revolutions/sec (b). Channel 1 is VOUT, Channel 2 is VOUT,
and Channel 3 is the voltage across R1.
RED GREEN
Figure 2
RS
130
SPDT
circuit wastes power and does not work SPDT
properly if the power-supply voltage is GREEN RED
not substantially more than the sum of D1
the LEDs’ forward voltages. The circuit is, D2
D2
therefore, marginal, to the point of be-
ing unusable, with a 5V supply and a red RA RB
D1
or green LED, which typically has a total
forward voltage of 4V. You can use a cir-
R1 R2
cuit resembling a flip-flop (Figure 2) that This switching circuit wastes power and does
doesn’t suffer the disadvantages of the not work with low supply voltages. 750 1.8k
circuit in Figure 1. It adds only one
VCE(SAT) voltage to the VF of each LED, so costs less than a dime for the parts, which
plenty of headroom exists with a 5V sup- include three resistors and two inexpen- In this “flip-flop” switch, the only losses come
ply and a series resistor to control the sive, general-purpose npn transistors, from the VCE(SAT) and the base currents of the
LEDs’ current. The circuit in Figure 2 such as the 2N4401 or the C8050. In this transistors.
98 edn | November 22, 2001 www.ednmag.com
design
ideas
example, D1 is red (VF151.6V), and D2 is base drive is a function of the VF of the power supply. The circuit requires only
green (VF252.4V). Based on D2, the driven LED, so you can calculate the base two connections, rendering it ideal for
green LED, you can calculate that resistors, using a forced beta of 20, as fol- front-panel use. Because the 130V resis-
R S5(5V22.4V20.1V)/0.02A5125V lows: tor is in series with the power supply, any
(use 130V for 19 mA). R1520(VF120.7V)/ILED15720V part of the circuit beyond RS can short
As a result, using a single resistor, D1 (use 750V). to ground without causing damage.
has a current of 25 mA. If it is desirable R2520(VF220.7V)/ILED251.8 kV.
to have equal or arbitrarily different cur- The base drive reduces the actual LED
rents, you can insert an additional resis- current by 5%, which is visually negligi-
tor in one leg of the switch to increase the ble. As a bonus, the circuit does not in- Is this the best Design Idea in this
effective RS for that switch position. The troduce any switching glitches into the issue? Vote at www.ednmag.com.
VIN
2
1
3 +
8
IC1A
TL082
15V
1
680
6
1
5 +
IC1B
TL082
7
VOUT
OUTPUT 24
Case VIN (V) VOUT (V) Mode
CLAMPED 26
A 7 5 Clamped 28
B 3 3 Linear 210
C 13 13 Linear
D 17 15 Clamped With VCLAMP set at 25V, the output clamps firmly at 65V.
VDD
IC2
ADDRESS: 0250 ADDRESS: 0251 ADDRESS: 0252
Figure 1
SDA SCL SDA SCL SDA SCL
2250k
AUXILIARY I2C
BUS 1
VDD
IC1 IC3
MAX4562 ADDRESS: 0250 ADDRESS: 0251 ADDRESS: 0252
22
SDA SCL SDA SCL SDA SCL
COM3 NO3 50k
VDD
ADDRESS: 0250 ADDRESS: 0251 ADDRESS: 0252
COM4 NO4 SDA SCL SDA SCL SDA SCL
NO2A 2250k
COM2 AUXILIARY I2C
NO2B
BUS 3
ADDRESS: 0298
SDA SCL A1 A0
MICROCONTROLLER VDD
ADDRESS: 0291 ADDRESS: 0292 ADDRESS: 0293
WITH I2C INTERFACE
SDA SCL SDA SCL SDA SCL
225k
SDA MAIN
SCL I2C BUS
This I2C-controlled analog switch expands by three the number of devices connected to the bus.
S
VIN (<30V) (3.1 TO 5.5V)
monitor a microprocessor’s
supply voltage, asserting reset Figure 1 R3 R4
4k 1M Q2
to the IC during power-up, power-down, 5 NDS8947
VCC
and brownout. In this way, the circuit en- R1
sures that the supply voltage is stable be- 1M IC1
LM3722
fore the microprocessor boots, thus pre- Q1 4
MR 3.08V
2SD601
venting code-execution errors. Many RESET 3 Q3
analog and digital ICs also need a well- GND R5 2SD601
behaved start-up of their supply to avoid R2 1M
120k 1, 2
latch-up and logic-state errors. In addi-
tion to low-supply conditions, low-volt-
age CMOS circuits need overvoltage pro-
tection from any supply runaway. The This LM3722 configuration connects only safe voltages to sensitive ICs.
additional components in Figure 1 ex-
tend IC1’s supervisory functions to con- Adjustment of R2 for an exact overvolt-
nect VIN to VSAFE only when VIN is within TABLE 1—VSAFE HYSTERESIS age value nullifies VBE1’s accuracy error.
set limits. This function protects circuit- OVER TEMPERATURE Table 1 shows typical setpoints over tem-
ry at the VSAFE terminal from power-up VSAFE 088C 2588C 5088C perature. If you need further error re-
transients and overvoltage damage. As a On (V) VIN increasing 3.2 3.2 3.2 duction, you could exchange Q2 for a
supervisory circuit, IC1 asserts a reset sig- Off (V) VIN increasing 6.1 5.5 4.9 comparator and voltage reference. For
nal that is delayed by more than 100 msec On (V) VIN decreasing 6 5.4 4.8 VIN within the set limits, 3.1 to 5.5V, the
whenever VIN decreases below the pre- On (V) VIN decreasing 3.1 3.1 3.1 circuit draws only 16 mA. A total of 5 mA
cisely trimmed reset threshold. You can flows into both the R1 and R4 nodes, and
custom-select the reset threshold from is Q2’s pullup resistor; R5 limits Q3’s base 6 mA flows into R3’s node. R3 protects IC1
2.32 to 4.63V. You can also use current. Using Q1 as an inexpensive 0.6V by providing current limiting of less than
a manual input, MR, to assert the reset switch, resistor dividers R1 and R2 set the 6 mA) for high voltages at VIN. The typi-
signal. overvoltage threshold according to the cal IC1 current of 6 mA through R3 in-
This application uses IC1’s delayed re- equation VOV 5VBE1(R11R2)/R2. An in- creases the undervoltage setpoint by 24
set signal to control switch Q2. The delay ternal 22-kV resistor at IC1’s MR input mV.
ensures that VIN is stable before applica- provides Q2’s pullup. Typical VBE1 accu-
tion to VSAFE. Q3 inverts and isolates IC1’s racy and temperature-coefficient errors Is this the best Design Idea in this
reset signal to control the gate of Q2. R4 are 610% and 22 mV/8C, respectively. issue? Vote at www.ednmag.com.