16
Figure 20. Motor output horsepower vs. motor
phase current and supply voltage.
the output voltage across the resistor is also reduced,
which means that the o set and noise, which are  xed,
become a larger percentage of the signal amplitude. The
selected value of the sense resistor will fall somewhere
between the minimum and maximum values, depending
on the particular requirements of a speci c design.
When sensing currents large enough to cause signi cant
heating of the sense resistor, the temperature coe cient
(tempco) of the resistor can introduce nonlinearity due
to the signal dependent temperature rise of the resistor.
The e ect increases as the resistor-to-ambient ther-mal
resistance increases. This e ect can be minimized by
reducing the thermal resistance of the current sensing
resistor or by using a resistor with a lower tempco. Lower-
ing the thermal resistance can be accomplished by repo-
sitioning the current sensing resistor on the PC board, by
using larger PC board traces to carry away more heat, or
by using a heat sink.
For a two-terminal current sensing resistor, as the value
of resistance decreases, the re-sistance of the leads
become a signi cant percentage of the total resistance.
This has two primary e ects on resistor accuracy. First,
the e ective resistance of the sense resistor can become
dependent on factors such as how long the leads are, how
they are bent, how far they are inserted into the board,
and how far solder wicks up the leads during assembly
(these issues will be discussed in more detail shortly).
Second, the leads are typically made from a material, such
as copper, which has a much higher tempco than the
material from which the resistive element itself is made,
resulting in a higher tempco overall.
Both of these e ects are eliminated when a four-terminal
current sensing resistor is used. A four-terminal resistor
has two additional terminals that are Kelvin-connected
directly across the resistive element itself; these two ter-
minals are used to monitor the voltage across the resistive
element while the other two terminals are used to carry
the load current. Because of the Kelvin connection, any
voltage drops across the leads carrying the load current
should have no impact on the measured voltage.
When laying out a PC board for the current
sensing resistors, a couple of points should be kept
in mind. The Kelvin connections to the resistor should
be brought together under the body of the resistor
and then run very close to each other to the input of
the HCPL-7840; this minimizes the loop area of the
connection and reduces the possibility of stray mag-
netic  elds from interfering with the measured signal. If
the sense resistor is not located on the same PC board as
the HCPL-7840 circuit, a tightly twisted pair of wires can
accomplish the same thing.
Current Sensing Resistors
The current sensing resistor should have low resistance
(to minimize power dissipation), low inductance (to
minimize di/dt induced voltage spikes which could
adversely a ect operation), and reasonable tolerance
(to maintain overall circuit accuracy). Choosing a par-
ticular value for the resistor is usually a compro-mise
between minimizing power dissipation and maximiz-
ing accu-racy. Smaller sense resistance decreases
power dissipation, while larger sense resistance
can improve circuit accuracy by utilizing the full input
range of the HCPL -7840.
The  rst step in selecting a sense resistor is determining
how much current the resistor will be sensing. The graph
in Figure 20 shows the RMS current in each phase of a
three-phase induction motor as a function of average
motor output power (in horse-power, hp) and motor
drive supply voltage. The maximum value of the sense
re-sistor is determined by the current being measured
and the maxi-mum recommended input voltage of the
isolation ampli er. The maximum sense resistance can
be calculated by taking the maxi-mum recommended
input voltage and dividing by the peak current that the
sense resistor should see during normal operation. For
example, if a motor will have a maximum RMS current
of 10 A and can experience up to 50% overloads during
normal op-eration, then the peak current is 21.1 A (=10 x
1.414 x 1.5). Assuming a maximum input voltage of 200
mV, the maximum value of sense resistance in this case
would be about 10 mΩ.
The maximum average power dissipation in the sense
resistor can also be easily calculated by multiplying the
sense resistance times the square of the maximum RMS
current, which is about 1 W in the previous example. If
the power dissipation in the sense resistor is too high, the
resistance can be decreased below the maximum value to
decrease power dissipation. The minimum value of the
sense resistor is limited by precision and accuracy require-
ments of the design. As the resistance value is reduced,
MOTOR PHASE CURRENT – A (rms)
15
5
40
10 25 30
0
35
035
25
10
20
440 V
380 V
220 V
120 V
30
20
5
15
17
Also, multiple layers of the PC board can be used to
increase current carrying capacity. Numerous plated-
through vias should surround each non-Kelvin terminal of
the sense resistor to help distribute the current between
the layers of the PC board. The PC board should use 2 or
4 oz. copper for the layers, resulting in a current carrying
capacity in excess of 20 A. Making the current carrying
traces on the PC board fairly large can also improve the
sense resistor’s power dissipation capability by acting as a
heat sink. Liberal use of vias where the load current enters
and exits the PC board is also recommended.
Sense Resistor Connections
The recommended method for connecting the HCPL-7840
to the current sensing resistor is shown in Figure 18. V
IN+
(pin 2 of the HPCL-7840) is connected to the positive
terminal of the sense resistor resistor, while V
IN-
(pin 3) is
shorted to GND1 (pin 4), with the power-supply return
path functioning as the sense line to the negative termi-
nal of the current sense resistor. This allows a single pair
of wires or PC board traces to connect the HCPL-7840
circuit to the sense resistor. By referencing the input
circuit to the negative side of the sense resistor, any load
current induced noise transients on the resistor are seen
as a common-mode signal and will not interfere with the
current-sense signal. This is important because the large
load currents  owing through the motor drive, along with
the parasitic inductances inherent in the wiring of the
circuit, can generate both noise spikes and o sets that are
relatively large compared to the small voltages that are
being measured across the current sensing resistor.
If the same power supply is used both for the gate drive
circuit and for the current sensing circuit, it is very impor-
tant that the connection from GND1 of the HCPL-7840
to the sense resistor be the only return path for supply
current to the gate drive power supply in order to elimi-
nate potential ground loop problems. The only direct
connection between the HCPL-7840 circuit and the gate
drive circuit should be the positive power supply line.
Output Side
The op-amp used in the external post-ampli er circuit
should be of su ciently high precision so that it does not
contribute a signi cant amount of o set or o set drift
relative to the contribution from the isolation ampli er.
Generally, op-amps with bipolar input stages exhibit
better o set performance than op-amps with JFET or
MOSFET input stages.
In addition, the op-amp should also have enough
bandwidth and slew rate so that it does not adversely
a ect the response speed of the overall circuit. The
post-ampli er circuit includes a pair of capacitors (C5
and C6) that form a single-pole low-pass  lter; these
capacitors allow the bandwidth of the post-amp to
be adjusted independently of the gain and are useful for
reducing the output noise from the isola-tion ampli er.
Many di erent op-amps could be used in the circuit,
including: MC34082A (Motorola), TLO32A, TLO52A, and
TLC277 (Texas Instruments), LF412A (National Semicon-
ductor).
The gain-setting resistors in the post-amp should have a
tolerance of 1% or better to ensure adequate CMRR and
adequate gain toler-ance for the overall circuit. Resistor
networks can be used that have much better ratio toler-
ances than can be achieved using discrete resistors. A
resistor network also reduces the total number of com-
ponents for the circuit as well as the required board space.
Please refer to Avago Applications Note 1078 for addi-
tional information on using Isolation Ampli ers.
18
FREQUENTLY ASKED QUESTIONS ABOUT THE HCPL-7840
1. THE BASICS
1.1: Why should I use the HCPL-7840 for sensing current when Hall-e ect sensors are available which don’t need an
isolated supply voltage?
Available in an auto-insertable, 8-pin DIP package, the HCPL-7840 is smaller than and has better linearity, o set vs.
temperature and Common Mode Rejection (CMR) performance than most Hall-e ect sensors. Additionally, often
the required input-side power supply can be derived from the same supply that powers the gate-drive optocoupler.
2. SENSE RESISTOR AND INPUT FILTER
2.1: Where do I get 10 mΩ resistors? I have never seen one that low.
Although less common than values above 10 Ω, there are quite a few manufacturers of resistors suitable for
measuring currents up to 50 A when combined with the HCPL- 7840.
Example product information may be found at Dale’s web site (http://www.vishay.com/vishay/dale) and Isoteks
web site (http://www.isotekcorp.com).
2.2: Should I connect both inputs across the sense resistor instead of grounding V
IN-
directly to pin 4?
This is not necessary, but it will work. If you do, be sure to use an RC  lter on both pin 2 (V
IN+
) and pin 3 (V
IN-
) to
limit the input voltage at both pads.
2.3: Do I really need an RC  lter on the input? What is it for? Are other values of R and C okay?
The input anti-aliasing  lter (R=39 Ω, C=0.01 µF) shown in the typical application circuit is recommended for  l-
tering fast switching voltage transients from the input signal. (This helps to attenuate higher signal frequencies
which could otherwise alias with the input sampling rate and cause higher input o set voltage.)
Some issues to keep in mind using di erent lter resistors or capacitors are:
1. (Filter resistor:) Input bias current for pins 2 and 3: This is on the order of 500 nA. If you are using a single  lter
resistor in series with pin 2 but not pin 3 the IxR drop across this resistor will add to the o set error of the device.
As long as this IR drop is small compared to the input o set voltage there should not be a problem. If larger-
valued resistors are used in series, it is better to put half of the resistance in series with pin 2 and half the resistance
in series with pin 3. In this case, the o set voltage is due mainly to resistor mismatch (typically less than 1% of
the resistance design value) multiplied by the input bias.
2. (Filter resistor:) The equivalent input resistance for -7840 is around 500 kΩ. It is therefore best to ensure
that the  lter resistance is not a signi cant percentage of this value; otherwise the o set voltage will
be increased through the resistor divider e ect. [As an example, if R
lt
= 5.5 kΩ, then V
OS
= (Vin * 1%) =
2 mV for a maximum 200 mV input and V
OS
will vary with respect with Vin.]
3. The input bandwidth is changed as a result of this di erent R-C  lter con guration. In fact this is one of the main
reasons for changing the input- lter R-C time constant.
4. (Filter capacitance:) The input capacitance of the -78XX is approximately 1.5 pF. For proper operation the switch-
ing input-side sampling capacitors must be charged from a relatively  xed (low impedance) voltage source.
Therefore, if a  lter capacitor is used it is best for this capacitor to be a few orders of magnitude greater than the
C
INPUT
(A value of at least 100 pF works well.)
2.4: How do I ensure that the HCPL-7840 is not destroyed as a result of short circuit conditions which cause voltage
drops across the sense resistor that exceed the ratings of the HCPL-7840’s inputs?
Select the sense resistor so that it will have less than 5 V drop when short circuits occur. The only other require-
ment is to shut down the drive before the sense resistor is damaged or its solder joints melt. This ensures that the
input of the HCPL-7840 can not be damaged by sense resistors going open-circuit.

HCPL-7840-300E

Mfr. #:
Manufacturer:
Broadcom / Avago
Description:
Optically Isolated Amplifiers 4.5 - 5.5 SV 8 dB
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union