Beruflich Dokumente
Kultur Dokumente
improved noise margin
Designers commonly use 0- to ing circuit generates the small differen-
20-mA, 0 to 10V isolated in- tial voltage that the AD7400 requires EWhat are your design problems
puts for industrial-application-control (Figure 1). The circuit generates the and solutions? Publish them here
signals. A combination of isolated sup- required 200-mV differential voltage. and receive $150! Send your
plies, the built-in isolation of an Analog For clarity, the figure omits overvolt- Design Ideas to edndesignideas@
Devices (www.analog.com) AD7400 age diodes and protection circuits. reedbusiness.com.
sigma-delta modulator, and a Texas In- A 0- to 20-mA current loop con-
struments (www.ti.com) MSP430 mi- verts to a voltage through a properly taining constant voltage on the posi-
crocontroller creates a design for in- scaled resistor, R2, and enters a preci- tive input of the amplifier. The 0 to
dustrial designers requiring complete, sion operational amplifier. The signal 10V signal, such as that from a poten-
isolated, and robust analog-signal in- level, which connects to the negative tiometer, also scales to a similar volt-
terfaces. A precise signal-condition- input, gets a positive offset by main- age to that of the 0- to 20-mA sig-
12V
R1
100
A_IN_O_010V(H)
D1
R3 C3
BZX84C11 0.1 �F
A_IN_O_010V(W) 12.1k
R7
10k
R4
A_IN_O_020MA(+) 10k
5V
R2 D2 5V
C1 R10
20 IN4448W R8
A_IN_O_COM 0.1 �F 22.1
IC1 10k
OP1177 �
2.5V R9 R11 C4
AD8138 47 �F TO AD7400
REFERENCE 10k 22.1
R5 �
8.68k �5V
�5V
R6 C2
1k 0.1 �F
Figure 1 This analog-conditioning circuit filters and level-shifts the input signals, developing the AD7400 ADC’s differen-
tial input.
3.3V
38 1
LDO
37 LDI 2
3.3V
36 3
5V 0.1 �F
35 4
1 16 TC7SZ08F 34 5
AD7400
VDD+ GND2
2 15 33 6
� VIN+ NC NC7S14M5X
3 14
� VIN� VDD2 32 7
4 13
NC MCLOCKOUT
5 12 31 8
NC NC
6 MDAT 11 30 9
NC
7 VDD1 10 MSP430F2274
0.1 �F NC 29 10
8 9
GND1 GND2
28 11
27 12
26 13
25 14
CLK
24 15
23 16
22 17
21 18
20 19 10 �F 0.1 �F
Figure 3 The AD7400 serial ADC digitizes the analog input and feeds the simple, low-cost microcontroller.
A universal requirement for au- rior. Though operating from a voltage D3 provides a diode-OR connection to
tomotive electronics is that any of 3.3 or 5V, which is lower than the the dc voltage on each output, thereby
device with direct connections to the battery voltage, the amplifier must be producing a voltage that controls the
wiring harness must be able to with- able to stand off the full battery volt- output of shunt regulator IC2. The cir-
stand shorts to the battery voltage. age. You can also use a protection net- cuitry protects IC1, a 1.4W Class AB
Though brutal, this requirement is nec- work appropriate for these amplifiers amplifier suitable for audible warnings
essary for reliability and for safety. One for other automotive circuits (Figure and indications for the automotive
example of the need for this protection 1). A dual N-channel MOSFET dis- electronics.
is an audio amplifier that produces in- connects the amplifier’s outputs from During normal operation, the am-
dicator noises in the automotive inte- the wiring harness in response to a plifier outputs’ dc components are at
J1
VBAT
J2
VCC
R3
200k
R4
J3 5.1k
J6
C4 OUT�
D4
0.1 �F
CMPZ5241
Q1A
1 SHDN OUT� 8 SI4982
2 BIAS GND 7
C5 3 IC1 6
1 �F IN� VCC J7
MAX9716 OUT�
4 5
IN� OUT�
D3
C1 D1 D2 BAV70LT1
1 �F Q1B K
CMPZ5231 CMPZ5231
C3 R R2 SI4982 R5
1
J4 1 �F 22k 51k 38.3k
IN
1 PGND FB 5
2 GND IC2
J5 MAX8515
3 OUT 4
IN R6
10k
C2
0.1 �F
Figure 1 This output-protection circuit provides continuous protection against overvoltage faults.
The circuit in Figure 1 provides this level drives the output of the op- ing equation yields the time when this
a low-cost, isolated ac-line mon- tocoupler high. When the voltage ex- crossover happens:
itor that measures ac-line-voltage level ceeds the enable voltage, the transistor VE5VIN3cos(23p3f3tON).
and has some other unique capabilities. in the optocoupler becomes saturated, Because the cosine function is sym-
The analysis of the circuit is straightfor- pulling the output low. The output con- metrical around zero, time tON is half
ward: When the ac input, VIN, is posi- tinues to stay low until the input volt- the total time that the output pulse is
tive relative to neutral, you apply it to age drops below the enable voltage. high. Because a microprocessor’s timer
the network comprising R1, R2, D1, and The resulting output is a square wave port usually captures the time, the sim-
the LED in optocoupler IC1. Current with a fixed time, tTOTAL, based on how plest way to calculate the input volt-
flows in this network when the volt- long the input voltage is above the en- age from the pulse width is to replace
age is high enough to get zener diode able voltage. If the voltage on the input the on-time with the total time and
D1 and the diode in the optocoupler to varies from 120 to 144V, the resulting thenEquation
to solve for
thedi4074
equation for the in-
conduct. This diode pair’s conducting square-wave waveform becomes wid- put voltage, which gives the result as a
voltage is the enable voltage, VE. The er; if the voltage varies downward, the function of the measured pulse-width
zener diode’s reverse-breakdown volt- pulse width decreases. To calculate the output from the optocoupler:
age of 47V and the optocoupler’s LED formula for this circuit, consider the in-
forward voltage of 1.2V make the en- put waveform as a cosine function. Be- VE
VIN = .
able voltage 48.2V. Any voltage below cause the input voltage peaks at time cos(π × f × t TOTAL )
I2C interface has galvanic isolation, high—that is, no I2C devices are pull-
ing them down—Q1 is off, no current
wired-OR capability, improved flows into the LED of optocoupler IC2,
IC2’s Pin 7 is high, Q2 is off, and the
noise margin LED of optocoupler IC1 is also off.
If a device drives the SDA line low,
Michele Costantino, Microsaic Systems Ltd, Woking, United Kingdom
Q1 and the LED of IC2 turn off, driving
This Design Idea describes a sim- pullup resistors on the slave device’s IC2’s Pin 7 low; diode D2 then starts to
ple and effective way to provide side of the bus, and R3 and R1 are dum- conduct. The result is a low level on
optoisolation for devices connected on my pullups in parallel with the main the SDA1 line—the low output volt-
the I2C bus (Figure 1). It improves on I2C pullup resistors on the SDA/SCL age of IC2 plus the threshold voltage of
an earlier version (Reference 1). SDA side. If both SDA and SDA1 lines are Schottky barrier diode D2. In this situ-
and SCL are on the bus master’s side ation, it is important to notice that the
of the I2C bus; SDA1 and SCL1 are on the LED of IC1 LED of IC1 does not turn on because
the slave device’s side. It is fairly easy the voltage applied across it is below
to optoisolate the clock line because does not turn its threshold. This situation means that
it is unidirectional, from the master to on because the circuit does not latch, and it can
the slave device. A P-channel MOS- recover from this state once you release
FET, Q3, provides the current for the the voltage the SDA line.
LED of the fast optocoupler, IC2, buff- applied across Q3 and the PNP BJT (bipolar-junc-
ering the clock line. tion transistor), Q1, effectively buf-
The data line, however, is bidirec-
it is below its fer the two SDA/SCL lines so that
tional. This section of the circuit is sym- threshold. no extra current flows into the open-
metrical. Resistors R6 and R7 are the I2C collector and -drain stages of the I2C
Systems Design, Oct 14, 2004, Figure 1 This circuit provides an isolated, bidirectional, wired-OR connection of
www.embedded.com/showArticle. slave devices to the I2C-bus master.
jhtml?articleID=49901764. edn070621di40771 DIANE