Sie sind auf Seite 1von 4

TECHNOLOGY APPLICATION NOTE

The content of this note is based on information received from manufacturers in the electrical and electronics industries or their
representatives and does not imply practical experience by Elektor Electronics or its consultants.

CURRENT SENSING
USING THE ZXCT10 XX
Gregor Kleine

Measuring high-side current becomes a piece of cake when


you use the ZXCT10xx range of devices from Zetex. The
chips can produce a proportional output voltage
referenced to ground by sensing current through a user-
defined shunt resistor.

The semiconductor manufacturer Zetex has recently intro- Current sensing


duced a new family of current sensing ICs. These devices
operate from a wide supply voltage range between
with three external components
+ 2.5 to 20 V and can be used in many applications The basic configuration using a ZXCT 1010 and current
including overload protection, battery chargers, cooling sensing resistor (shunt) R1 is shown in Figure 1. This
fan current monitoring or switch-on surge limiting. The device output current at IOUT is a scaled down measure-
four variants perform the same function but have different ment of the load current through RL. Resistor R2 is con-
output characteristics; the measured current can be output nected between IOUT and ground and converts the output
as a scaled current or voltage and one variant has an in- current into a voltage VOUT. Internally the ZXCT1010
built comparator. contains an op-amp, transistor and a 100 Ω resistor. The
op-amp is configured so that when a voltage is devel-
oped across the sense resistor it will cause the transistor
VSENSE to conduct and divert sufficient current through its IOUT
+VIN R1 * IL
pin so that the voltage across the op-amp inputs is
reduced to zero. The voltage across the internal 100 Ω
+2V5...+20V
4 5
resistor will therefore be the same as the drop across the
VIN LOAD
RL sense resistor (VSENSE).
C1
100Ω

100n
This relationship can be expressed mathematically:
I2 ZXCT1010
N.C. 1 1 LOAD
IL × R1 = 100 Ω × I2 = VSENSE
GND 2
ZXCT
VOUT/IOUT 3 3 VIN
1010
Figure 1. * see text VOUT
Rearranging for I2:
(SOT23-5)
IOUT 3
The ZXCT1010 in a
basic current sense GND N.C.
*
R2
I2 = IL × R1 / 100 Ω
2 1
circuit showing the
internal block diagram 040262 - 11 We can assume that the op-amp takes so little current at
and chip pin-outs. its inputs that all of I2 passes through the transistor and

70 elektor electronics - 5/2005


out of IOUT. The voltage (VOUT) produced across the For the ZXCT1022:
external resistor R2 can now be expressed in terms of the VOUT = 100 × IL × R1
other variables:
The ZXCT1021 produces an output voltage of 1 V for a
VOUT = IOUT × R2 = I2 × R2 drop of 100 mV across the shunt resistor R1 while the
ZXCT1022 produces the same output for a drop of
Substituting the expression for I2 above: 10 mV across R1.

VOUT = VSENSE × (R2 / 100 Ω)

VOUT =IL × R1 × (R2 / 100 Ω) [1]

The ZXCT1010 requires a value of R1 so that the load VSENSE

current produces a sense voltage of approximately 100 +VIN R1 * IL


mV. The low sense voltage reduces power dissipation in
+2V5...+20V
R1. As an example, assuming a load current IL of 5 A, 4 5
RL
R1 can be calculated from: C1
VIN LOAD
1k5 @ ZXCT1021
150Ω @ ZXCT1022
100n
R1 = VSENSE / IL [2] I2 ZXCT1021/1022
N.C. 1 1 LOAD
R1 = 0.1 V / 5 A = 20 mΩ GND 2
ZXCT
1021/ VOUT/IOUT 3 3 VIN
It most cases it will be convenient to make this low value * see text 1022 VOUT (SOT23-5)
resistor using an etched track on the PCB. The required IOUT 3
Figure 2.
track length and width can be calculated providing the R2
Both the ZXCT1021
15k

thickness of the copper layer is known (see ‘Printed cur- GND N.C. and ZXCT1022
rent sensors’). 2 1
040262 - 12 have a built-in scaling
resistor R2.
Once the value of R1 has been calculated it is now possi-
ble to choose the value of the scaling resistor R2 so that
is gives the required output voltage for the load current of
5 A. For example we will pick an output voltage of
2 1
500 mV. Rearranging equation [1] for R2: GND N.C.

R2 = VOUT / [(IL × R1) × 100 Ω] [3] ZXCT1010


R2 = [0.5 V / (5 A × 0.02 Ω)] × 100 Ω IOUT
3

R2 = 500 Ω LOAD VIN

5 4

Equation [1] becomes:


+VIN R1 * IL

VOUT = 0.1 V × (IL / 1 A) +2V5...+20V


RL
C1
It is important to choose R2 so that the value of VOUT can- 4 5
100n
not be greater than the supply voltage VIN. In practice VIN LOAD

the maximum value of VOUT should always be a few volts ZXCT1010


less than the supply voltage. IOUT
3
VOUT

GND N.C.

Capacitor C1 filters supply-borne high frequency noise 2 1 *


R2
Figure 3.
and should always be present in any circuit using a * see text
040262 - 13 Bipolar current sensing
ZXCT10xx device to ensure stable operation and reduce configuration.
any tendency for the device to oscillate.

Current in/voltage out VOUT


The ZXCT1021 and ZXCT1022 devices are basically the
same as the ZXCT1010 but have a built-in scaling resis-
tor (R2) and therefore have a VOUT rather than an IOUT 10 • I L • R1
pin. The resistor ratio of R2 / 100 Ω in equation [1] is
replaced by 15 kΩ / 1.5 kΩ = 10 for the ZXCT1021
and 15 kΩ / 150 Ω = 100 for the ZXCT1022. The equa-
tion for R1 then simplifies to:
Figure 4.
I
The characteristic of
For the ZXCT1021: - IL 0 +I L output voltage versus
VOUT = 10 × IL × R1 040262 - 14
bipolar current.

5/2005 - elektor electronics 71


TECHNOLOGY APPLICATION NOTE

+VIN R1
* IL
Type Function Technical Data

4 5
VIN LOAD
Forerunner to the ZXCT 1010 has a lower
D1 RL ZXCT 1009
C2 ZXCT 1010 Offset
* ZXCT1021
100n
15V GND N.C. IOUT
2 1 3
VSENSE typ. 100 mV
* see text Current sense with Bandwidth 2 MHz sup-
T1
ZXCT 1010
ply current 4 µA
0mA1
current output.
Package outline SOT 23
VOUT

Figure 5. R3 *
R2 VSENSE typ. 100 mV
Current sensing with a VOUT / VSENSE = 10
supply greater than Current sense with Bandwidth 300 kHz
040262 - 15
ZXCT 1021
20 V. voltage output. supply current 25 µA
Package outline
SOT-23-5
+VIN RDS On
IL

+2V5...+20V
VSENSE typ. 10 mV
VOUT / VSENSE = 100
100k

Current sense with Bandwidth 300 kHz


ZXCT 1022
10k

voltage output. supply current 25 µA


Package outline
4 5
SOT-23-5
VIN LOAD
1k

C1 VSENSE typ. 100 mV


ZXCT1021
VOUT / VSENSE = 10
100n Current sense with
GND N.C. IOUT Bandwidth 10 MHz
Figure 6. On/Off ZXCT 1030 voltage output and
V = +2.2 to 20 V
The RDSON of a
2 1 3 VOUT built-in comparator. CC
supply current 270 µA
switched MOSFET can Package outline MSOP8
also be used for
040262 - 16
sensing current.

Bipolar sensing a few extra components are required (Figure 5). The
zener diode ensures the supply to the ZXCT1010 does
The ZXTC1010 can only sense current flowing in one not exceed 15 V while the remainder of the supply volt-
direction, when the current changes direction IOUT age is dropped across the collector-emitter junction of T1.
remains at zero. Where an application calls for current It is important to check that this does not exceed the tran-
sensing in both directions (e.g. monitoring the charge sistor VCEO rating. The voltage level of the IOUT pin will
and discharge current of a rechargeable battery) it is be one diode drop (0.7 V) above the base potential of
necessary to use a bipolar current sense configura- T1. The high current gain of T1 enables us to ignore the
tion. Figure 3 shows how two ZXCT1010s can be con- base current and assume that the emitter and collector
nected using the same sensing resistor R1 and output currents are equal. The scaled output voltage VOUT is
scaling resistor R2. The upper ZXCT1010 in the diagram once again produced by IOUT through R2 and can be
has its VIN and LOAD inputs swapped around the sense calculated as before.
resistor. Both R1 and R2 can be calculated using the for- The value of resistor R3 is calculated to allow a current of
mulae given above. For applications requiring the for- 0.1 mA through the zener diode. The ZXCT1010 draws
ward/reverse currents to be independently monitored the just 4 µA and the current gain of T1 ensures that its base
two VOUT signals from each ZXCT1010 can be sepa- current will also be comparatively small. The transistor is
rated and connected to its own scaling resistor R2. Both used in a common-base configuration.
the ZXCT1021 and ZXCT1022 have a in-built 15 kΩ
scaling resistor but their tolerance is so wide (±30 % The chip can also be used in conjunction with a MOSFET
according to the data sheet) that these devices would, in to both switch and sense the current to a circuit
most cases be unsuitable this type of configuration. Fig- (Figure 6). The MOSFET drain-source resistance (RDS
ure 4 shows the VOUT to load current relationship. ON) is typically around 10 mΩ and is used to sense the
load current in this circuit. The load resistor connected to
The ZXCT1010 chip employs high side sensing without pin 5 is only required if the output voltage drives an elec-
the need to disrupt the earth return. The device is also trically noisy circuit that may generate voltage spikes
suitable in circuits where the supply rail exceeds 20 V but greater than the maximum 20 V supply limit of the chip.

72 elektor electronics - 5/2005


One thing to bear in mind with this circuit is that the comparator output (open collector) pin Comp_out that
value of RDS ON has quite a wide spread and is also a switches low when the pre-set threshold at Comp_in is
function of temperature. When the MOSFET is switched exceeded.
off VOUT rises to its maximum value because the drain- (040262-1)
source voltage rises to a maximum and the current sense
References:
IC interprets this as maximum load current condition.
Data sheets from: www.zetex.com
The type ZXCT1030 has a built-in comparator with an
ZETEX Application Note No. 39
internal reference voltage and comparator input level
(Comp_in). In addition to the usual VOUT it has a digital ZETEX Design Note No. 77 (High Voltage Transients)

Printed current sense resistors


The current sensing element R1 has a relatively low Trackwidth bcu Maximum current ILmax
value and can be cheaply made from a zigzag length
of PCB track. The resistivity of copper is: 0.1 mm 0.5 A
0.2 mm 0.7 A
ρcu = 0.0175 Ω⋅mm2 / m 0.3 mm 1.0 A
0.5 mm 1.2 A
The copper layer thickness of a standard PCB is typi- 0.8 mm 1.5 A
cally 35 µm. The resistance of R1 can be calculated 1.0 mm 1.7 A
from the length of copper track lcu and its cross sec- 1.5 mm 2.0 A
tional area Acu: 2 mm 4A
3 mm 6A
R1 = ρcu × lcu / Acu
5 mm 8A
10 mm 12 A
The cross sectional area Acu is given by the copper
layer thickness and track width wcu:

Acu = 35 µm × wcu

For example, assuming we require a resistance for R1 of 0.1 Ω. The calculated current flow indicates that a
0.2 mm wide track will be acceptable. Plug the value for R1 into the above formula and using a cross sectional
area of 35 µm × 0.2 = 0.007 mm2 we arrive at a PCB track length lcu of 40 mm.

The track must be able to pass the current without getting too hot. The table indicates maximum current rating for a
given track width:

The last consideration is how well copper


performs as a resistor. The bad news is that
it has a relatively high positive temperature
coefficient i.e. as it gets hotter its resistance
l Cu increases linearly by 0.4%/°C. A tempera-
ture change from +5° C to +45° C will
result in a 16 % change in resistance! The
35µm good news is that the ZXCT10xx family of
w Cu devices have a negative temperature coeffi-
l Cu cient. This characteristic is not linear and is
not as pronounced as copper (0.25 % / °C
between +5 °C and +45 °C) but it does go
some way to offset changes bought about
by heating R1. The device will need to have
good thermal coupling to R1 to get maxi-
mum benefit from this effect.
VIN LOAD
040262 - K

The copper track sense resistor R1.

5/2005 - elektor electronics 73

Das könnte Ihnen auch gefallen