6Current sensing amplifying network
The STEVAL-IPMnM1S motor control demonstration board can be configured to run in three-shunt or single-shunt
configurations for field oriented control (FOC).
The current can be sensed thanks to the shunt resistor and amplified by using the on-board operational amplifiers
or by the MCU (if equipped with op-amp).
Once the shunt configuration is chosen by setting solder bridge on SW5, SW6, SW7 and SW8 (as described in
Section 5.3.4 Single- or three-shunt selection), the user can choose whether to send the voltage shunt to the
MCU amplified or not amplified.
Single-shunt configuration requires a single op amp so the only voltage sent to the MCU to control the sensing is
connected to phase V through SW2.
SW1, SW2, SW3 and SW17 can be configured to select which signals are sent to the microcontroller, as per the
following table.
Table 2. Op-amp sensing configuration
Configuration Sensing Bridge (SW1) Bridge (SW2) Bridge (SW3) Bridge (SW17)
Single Shunt
IPM op-amp open 1-2 open 2-3
On board op-amp open 1-2 open 1-2
MCU op-amp open 2-3 open 1-2
Three Shunt
On board op-amp 1-2 1-2 1-2 1-2
MCU op-amp 2-3 2-3 2-3 1-2
The operational amplifier TSV994 used on the amplifying networks has a 20 MHz gain bandwidth from a single
positive supply of 3.3 V.
The amplification network must allow bidirectional current sensing, so an output offset VO = +1.65 V represents
zero current.
For the STIPNS1M50T-H (IOCP = 1.3 A; RSHUNT = 0.68 Ω), the maximum measurable phase current, considering
that the output swings from +1.65 V to +3.3 V (MCU supply voltage) for positive currents and from +1.65 V to 0 for
negative currents is:
Equation 5
MaxMeasCurrent = ∆ V
rm= 1.3A(6)
rm=∆ V
MaxMeasCurrent =1.65
1.3 =1.27Ω(7)
The overall trans-resistance of the two-port network is:
rm= RSHUNT ∙AMP = 0.68 ∙ AMP = 1.27Ω (8)
AMP = rm
RSHUNT=1.27
0.68 =1.87 (9)
Finally choosing Ra=Rb and Rc=Rd, the differential gain of the circuit is:
AMP= Rc
Ra=1.9 (10)
An amplification gain of 1.9 was chosen. The same amplification is obtained for all the other devices, taking into
account the OCP current and the shunt resistance, as described in Table 1.
The RC filter for output amplification is designed to have a time constant that matches noise parameters in the
range of 1.5 µs:
4∙τ=4 ∙Re∙ Cc= 1.5μs (11)
Cc= 1.5µs
4∙1000 =375pF330pFselected (12)
UM2467
Current sensing amplifying network
UM2467 - Rev 1 page 13/30