Conditioning A Switch-Mode Power Supply Current Signal Using TI OP Amps
Conditioning A Switch-Mode Power Supply Current Signal Using TI OP Amps
Conditioning A Switch-Mode Power Supply Current Signal Using TI OP Amps
Application Report
Conditioning a Switch-Mode Power Supply Current Signal
Using TI OP Amps
Larry Spaziani
ABSTRACT
The switch-mode power supply primary current is often sensed using a power resistor. Using an op amp to
amplify the current-sense signal can reduce cost and improve noise performance and efficiency. This report
reviews the advantages of using an op amp circuit and analyzes the design criteria needed to choose the proper
op amp.
Table of Contents
1 Introduction.............................................................................................................................................................................2
2 Circuit Design..........................................................................................................................................................................3
3 Advantages..............................................................................................................................................................................4
4 Choosing the Op Amp ...........................................................................................................................................................5
5 Conclusion.............................................................................................................................................................................. 7
6 Revision History......................................................................................................................................................................7
List of Figures
Figure 1-1. Typical RSense Method and Proposed Op-Amp Method for Sensing Primary Side Switch Current...........................2
Figure 4-1. Current Sense Waveforms........................................................................................................................................ 5
List of Tables
Table 5-1. Suggested Texas Instruments Op Amps for Current Sensing.................................................................................... 7
SLOA044A – MARCH 2000 – REVISED JUNE 2021 Conditioning a Switch-Mode Power Supply Current Signal Using TI OP Amps 1
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
Introduction www.ti.com
1 Introduction
Switch-mode power supplies almost always require knowledge of the switching current, often sensed on the
primary side of the power transformer. Current Sensing Solutions for Power Supply Designers1 reviews many
methods for sensing the switched current. In lower-power switch-mode power supplies, the method most often
used employs a sense resistor. The type of sense resistor used is often a high power, low inductance resistor
that can add significant cost and power dissipation to the power supply design. This circuit is shown in Figure 1-1
(a).
PWMIC REF
RLEB
ISense
+ CLEB
+
VS VSense RSense
– –
GND
A P
PWMIC VREF R3
A
R2
TI OP AMP +
ISense
+
– VSense
+
VS A –
– A Ri
GND Rf
RSense
Cf P
A
To overcome the cost and power dissipation of such power resistors, the circuit of Figure 1-1 (b) is proposed.
Using a differential amplifier made up of a low-power op amp and discrete resistors can result in several
advantages including lower power dissipation (efficiency), noise immunity, cost, and programmability.
1 Current Sensing Solutions for Power Supply Designers, Bom Mammano, Unitrode Power Supply Seminar SEM-1200, 1997.
2 Conditioning a Switch-Mode Power Supply Current Signal Using TI OP Amps SLOA044A – MARCH 2000 – REVISED JUNE 2021
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
www.ti.com Circuit Design
2 Circuit Design
A switch-mode power supply often switches current on the primary side of a transformer through a MOSFET
and measures the primary current with a sense resistor (RSense) as shown in Figure 1-1 (a). The pulse width
modulator IC (PWM) usually requires a current-sense signal (VS) in order to provide short-circuit protection or for
use in current mode control, or for both protection and control. The peak value of VS depends on the PWM IC
used, but it is typically 1 volt.
The value of the sense resistor RSense in Figure 1-1 (a) is chosen based on the peak value of the primary-side
current (IPeak) and the required value of VS. Therefore, RSense is determined by:
Vs
Rsense = Ipeak
The power dissipation in RSense is based on the RMS value of the primary-side current (Irms), which depends on
the peak value as well as on the waveshape and the duty cycle. The power dissipated is:
As an example, let:
IPeak = 6.67 A
Irms = 4 A
VS = 1 V
These values result in an RSense of 0.15 Ω, and a power dissipation in RSense equal to 2.4 W. Typically, a
5-W-rated resistor would be used in this application.
The circuit of Figure 1-1 (b) can be used to significantly reduce the cost and power dissipation of RSense. First,
let us review how the circuit of Figure 1-1 (b) operates. This op-amp circuit is configured as a typical differential
amplifier. The circuit operates by multiplying the differential sense signal (VSense) by the differential gain of the
op-amp circuit. If Rf = R3 and Ri = R2, this gain is:
Rf
Gain = Rf
Ri and Vs = Vsense x Ri
Using the previous example, assume that the design goal is to use a lower-power sense resistor with a standard
value, such as a 0.01-Ω resistor rated at 0.5 W, and to limit the dissipation of this resistor to no more than 0.25
W. From this information, the gain of the circuit can be calculated.
2
Psense = Irms 2 × Rsense = 4 Arms × 0.01 Ω = 0.16 W
Vs 1V
Gain = Vsense = 66.7 mV = 15
SLOA044A – MARCH 2000 – REVISED JUNE 2021 Conditioning a Switch-Mode Power Supply Current Signal Using TI OP Amps 3
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
Advantages www.ti.com
3 Advantages
Power Dissipation and Efficiency:
The power dissipation of the sense resistor (RSense) used in the second example results in an improvement of
2.4 W – 0.16 W = 2.24 W, which can result in a significant increase in efficiency as well.
Board Area:
The reduction in power rating results in a much smaller sense resistor. Consider for example the following sense
resistors from Vishay Dale (www.vishay.com): WSR-3 3-W surface-mount and the WSL 1/2-watt surface-mount
resistors. The 3-W device requires six times the board area of the 1/2 watt device and also needs significant
copper area to dissipate the heat. The 1/2-W resistor combined with a SOT-23 op amp and sense resistors result
in approximately the same overall board area. Therefore, there is no significant advantage or disadvantage in
board area.
Cost:
The cost tradeoff in this design is not just the cost of a high-power resistor versus the cost of the lower-power
resistor plus the op-amp circuit. The following considerations can also be made regarding cost:
• Reduced bill of materials and reduced-size inventory: custom or semicustom power-supply designs often
choose sense resistors for the particular peak current and sense voltage required for each design. This can
result in each individual power supply design requiring a unique value and power rating, resulting in many
sense resistors in the company’s inventory. By utilizing one standard component, such as a 0.01-Ω 0.5-W
resistor, each individual power supply design can be customized by changing the gain of the resistors around
the op amp circuit. This also helps cost by allowing volume buying of one resistor.
• Through-hole construction versus surface mount: The cost of manufacturing large through-hole power
resistors should be compared to that of manufacturing standard surface-mount components such as lower-
power sense resistors, ICs, and standard SMD resistors.
• Thermal: The cost of additional cooling due to higher power dissipation should be considered.
Programmability:
The peak current of the switch-mode power supply can vary due to minor design or output specification changes,
or for various other reasons. The ability to easily adjust the gain of the op amp circuit offers power-supply
designers easy programmability by allowing changes to the circuit performance without having to change the
sense resistor. These changes can be due to control-loop changes, or to power supply specification changes
such as input-voltage range or output-voltage and current changes, all of which affect the primary-side peak
current.
Noise/performance:
Several factors of this op amp design will improve performance with regard to noise immunity of the sensed
current signal:
• Lower-inductance resistors: lower-power-rated resistors have smaller bodies and are almost always surface-
mount devices. This results in significantly-less series inductance, producing less ringing and fewer noise
spikes on the current signal.
• Differential sensing: differential sensing of the current signal results in an accurate measurement of the
primary-side current without the ground variation (ground bounce) becoming a factor. This is not the case in
the circuit of Figure 1-1 (a), where the current sensing is single-ended.
• Separating the grounds: the sense voltage (VS) is often used by the PWM IC for both control and current limit
protection. It is important to isolate the analog ground of the PWM IC from the noisy power ground of the
sense resistor. The circuit of Figure 1-1 (b) allows the designer to use grounds that vary slightly. It also allows
the power-supply designer to place the sense resistor away from the PWM IC using the op amp to buffer the
signal. The op amp should be ground-referenced to the same analog ground as the PWM IC.
4 Conditioning a Switch-Mode Power Supply Current Signal Using TI OP Amps SLOA044A – MARCH 2000 – REVISED JUNE 2021
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
www.ti.com Choosing the Op Amp
trise tfall
1/fs
Figure 4-1 shows a representation of VSense, the current-sense signal across the sense resistor, and VS, the
filtered signal desired at the PWM IC. The leading edge of VSense contains a spike that is due to parasitic
elements in the power supply, including reverse recovery of diodes and capacitance of the MOSFET. This spike
is undesirable and can be filtered out using the feedback capacitor Cf, as shown in Figure 1-1 (b). The filter
time-constant is often set to be three to four times the rise time of this spike. The filter’s pole must be set
low enough to filter the leading edge spike, but not so low that the current ramp signal is distorted. The filter
pole must therefore be set above the switching frequency (fs) of the switch-mode power supply. This can be
expressed as:
SLOA044A – MARCH 2000 – REVISED JUNE 2021 Conditioning a Switch-Mode Power Supply Current Signal Using TI OP Amps 5
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
Choosing the Op Amp www.ti.com
1 1
fc = 2 x π x Rf x Cf = 8 x π x trise and fc ≥ 3 x fs
So, for a rise time (tr) of 100 ns and a 100-kHz switching frequency, this corner frequency would be set to 400
kHz. In this case the limiting factor is the time constant.
Because the circuit filters out frequencies above fc, the gain-bandwidth (GBW) product of the op amp used can
be easily calculated as:
For the earlier example where the gain was set to 15, and with a 400-kHz corner frequency, the GBW for the
desired op amp is calculated to be 6 MHz.
The slew rate (SR) of the waveform in Figure 4-1 can be determined by the falling slope, and is equal to
VPeak/tfall. However, the bandwidth of the circuit is limited significantly by the RC time-constant of the pole. It can
be assumed that the slew rate of the op amp should exceed the limitation of the filter time constant. Therefore,
the slew rate can be determined by:
Vpeak Vpeak
SR ≥ τ = Rf x Cf = Vpeak x 2 x π x fc Volts/second
6 Conditioning a Switch-Mode Power Supply Current Signal Using TI OP Amps SLOA044A – MARCH 2000 – REVISED JUNE 2021
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
www.ti.com Conclusion
5 Conclusion
The use of an op amp to differentially-amplify a current-sense signal in switch-mode power supplies offers cost,
programmability, performance and power advantages. This paper discusses how to choose the proper op amp
for this particular application. Several single-supply op amps suggested for this application are detailed in Table
5-1, with significant parameters listed. The TLV2771 and TLC081 are well suited for this application in 3.3-V and
5-V systems, respectively.
Table 5-1. Suggested Texas Instruments Op Amps for Current Sensing
OP AMP SUPPLY VOLTAGE SUPPLY CURRENT SLEW RATE GBW SMD PACKAGES
P/N [V] [mA] (MAX) [V/us] (TYP) [MHz] (TYP)
6 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
Changes from Revision * (March 2000) to Revision A (June 2021) Page
• Updated the numbering format for tables, figures and cross-references throughout the document...................2
SLOA044A – MARCH 2000 – REVISED JUNE 2021 Conditioning a Switch-Mode Power Supply Current Signal Using TI OP Amps 7
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party
intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages,
costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (https:www.ti.com/legal/termsofsale.html) or other applicable terms available either
on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s
applicable warranties or warranty disclaimers for TI products.IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2021, Texas Instruments Incorporated