Application Note An-1052: Using The Ir217X Linear Current Sensing Ics
Application Note An-1052: Using The Ir217X Linear Current Sensing Ics
1. Basic Functionality.......................................................................... 1
2. Bootstrap Circuit ............................................................................. 1
3. Retrieving Analog Current Signal at the Output ............................. 2
3.1 Passive Filters .............................................................................. 2
3.2 Active Filters ................................................................................. 3
4. Interfacing the Output With Digital Circuits..................................... 3
4.1 Hardware Interfacing .................................................................... 3
4.2 Software for Decoding the PWM Signal ....................................... 4
5. Dealing With Negative Transients at the VS Pin ............................ 4
6. Layout Recommendations.............................................................. 4
7. Dv/Dt And Its Effect On Duty Cycle ................................................ 5
8. Comparison of the IR2170/1/2/5..................................................... 6
Linear current sensing ICs are designed to transfer current sense information from the high-side
motor drive circuit to the low-side circuit, so that the information may be processed by ground
referenced control circuits. The Analog input signal is actually a voltage which comes from the
voltage drop across an external sensing resistor.
APPLICATION NOTE
AN-1052
1. BASIC FUNCTIONALITY
This section will cover the basic operation of the current
sense IC.
These Linear Current Sensing ICs are designed to transfer
current sense information from the high side part of a Motor
drive circuit to the low side circuit, so that the information
may be processed by the ground referenced control circuits.
The Analog input signal is actually a voltage which comes
from the voltage drop across an external sensing resistor. The
sensing resistor senses the motor phase current, and generates
a small AC voltage signal input to the IR2175 Current sensing
IC. The maximum input signal is +260mV so the sense resistor should be chosen such that the desired setting for
overcurrent would generate 260mV across it (e.g. for a 10A
overcurrent the sense resistor would be 26m ).
The AC input signal is converted to a PWM signal, in the
high side circuitry of the IR2175, using a carrier frequency of
130kHz . The PWM signal is then level shifted down to the
low side ground referenced circuit.
The PO output is an open drain PWM output, which means it
can be easily interfaced with any control circuit with operating voltages of 3.3V to 15V. Due to the fact that the output is
an open drain output, the PO pin will need to be connected to
the low side control circuit power supply by means of a pullup resistor (the size of this pull-up resistor is dependant on
the input current requirement of the circuit that the PO output is being interfaced with, but typically 1-10K would be a
good value for this resistor.
There are two options for handling the output signal from the
current sense IC:
1. Use a filter to filter out the carrier frequency and
retrieve the analog current signal.
2. Directly interface the output with the low side digital
control circuit (e.g. microcontroller or DSP) and use
a software algorithm to calculate the current
Methods and circuits will be discussed later in sections 3 & 4.
The high side floating supply between Vb and Vs is generated
by means of a bootstrap circuit, which is described in the
next section. The circuit will operate down to a minimum
Vbs supply of 8V, but it is recommended that the Vbs and
Vdc
Dbs
Vcc
V+
Q1
V-
Current Vb
Sense
IC
Vs
Cbs
Rsense
COM
To Motor
Phase
Q2
2. BOOTSTRAP CIRCUIT
The Vbs supply voltage is a floating supply that sits on top of
the Vs voltage (which in most cases will be a high frequency
square wave). There are a number of ways in which the Vbs
floating supply can be generated, one of these being the bootstrap method described here in this design tip. This method
has the advantage of being simple and inexpensive but has
1.5
ideal
Vout
0.5
218.00
204.00
190.00
Vin (mV)
176.00
8.00
0
162.00
A typical situation and the one used here for example would
be an 8kHz AC input signal, using the AC input signal and
measuring the AC output from the filter, using a 150nF
decoupling capacitor. Fig 3 shows the AC linearity characteristics of the IR2175 which has a PWM frequency of 130kHz.
This results in the characteristic following the ideal with a
linearity of better than 1% down to 25mV, at which point the
difference is 3% from the ideal.
148.00
134.00
COM
120.00
Analog
Current
Sense
Output
92.00
C2
470pF
106.00
C1
2.2nF
78.00
IR217x
64.00
18k
50.00
10k
36.00
R2
22.00
R1
PO
Vout(V)
Vcc
1.2
ideal
Vout
0.8
0.6
0.4
0.2
218.00
204.00
190.00
176.00
162.00
148.00
134.00
120.00
106.00
92.00
78.00
64.00
50.00
36.00
8.00
0
22.00
1
fc =
2RC
Vin (mV)
1.5nF
Vcc
12k
PO
12k
+
L
-
2.2
1.5nF
1.8
1.6
Vout(V)
Analog
Current
Sense
Output
1k
IR217x
18k
1.4
COM
ideal
1.2
Vout
1
0.8
0.6
0.4
182.00
168.00
154.00
140.00
126.00
98.00
112.00
84.00
70.00
56.00
42.00
28.00
0.00
14.00
0.2
Vin (mV)
Vout(V)
2
ideal
1.5
Vout
1
0.5
190.00
176.00
162.00
148.00
134.00
120.00
92.00
106.00
78.00
64.00
50.00
36.00
22.00
0
8.00
For comparison we will look at the AC linearity characteristics of the IR2172 with an 8kHz AC input signal. This IC has
a PWM carrier frequency of 40kHz, so we will use the same
filter circuit as used for the the tests of figure 3. The results
can be seen in Figure 5. The measured characteristic follows
the ideal line closely down to about 50mV with a linearity of
approximately 2%, but below 50mV it starts to veer away
sharply with a 14% difference from the expected ideal at
25mV input. The lower PWM carrier frequency results in
lower resolution which leads to the lower performance in
terms of linearity, particularly at low level input signals.
Vin (mV)
Notice that although the resistor between the Vs pin and the
ceneter of the half bridge is in the current sensing path ( i.e.
between V+ and V-, it will not contribute to the current sense
signal unless there is current flow in that resistor, and that will
only occur during a transition and would be short in duration
(hence being ignored by the amplifier at the input of the
IR2175 due to the limited Slew rate of this amplifier).
6. LAYOUT RECOMMENDATIONS
Vdd
R1
PO
IR217x
GP0
MCU
COM
LD1
Vss
VB
HO
VS
Q1
+
HV1
VCC
VCC
LO
COM
CB
R1
LS1
LLOAD
RLOAD
LD2
C1
Q2
HV2
R2
LS2
For the IR2175 current sense IC, the layout guidelines are
similar to those for gate drive ICs. As Shown in Figure 10 the
decoupling capacitors for the Vcc and Vbs supply should be as
close as possible to the IC. Also the connection between Vand Vs should be made very close to the IC, to minimize
Recommended
Not Recommended
VB
VB
VS
VS
VCC
VCC
COM
COM
J it t e r
@100V (% )
J it t e r @200V (% )
J it t e r
@300V (% )
I R 2171/2
+ve dV/dt
1.4
2.8
4.0
I R 2171/2
-ve dV/dt
1. 5
3.3
5.0
I R 2175
+ve dV/dt
0.75
1.4
2.1
I R 2175
-ve dV/dt
0.25
0.8
1.6
I R 2170
I R 2171
I R 2172
I R 2175
PWM Out
No
Yes
Yes
Yes
Ove r cur r e nt
Signa l
Yes
No
Yes
Yes
OC Tr ip De la y
( s )
1.5
1.5
1.5
2.0
I QBS (mA)
FO (k Hz)
N/A
40
40
130
Dmin (% )
N/A
Dma x (% )
N/A
93
93
91
IMPORTANT NOTE: It should be noted that the IR2171/IR2172 are being obsoleted, so for new designs the IR2175
should be used.
IR WORLD HEADQUARTERS: 233 Kansas St., El Segundo, California 90245 Tel: (310) 252-7105
Data and specifications subject to change without notice. 9/2/2003