Many current-sensing ICs are available for applications that require single-quadrant operation, where positive common-mode voltages are present and current flows in only one direction. There are also ICs that can handle current flow in both directions, known as two-quadrant operation. But the choices become more limited when the voltage and current ranges include positive and negative values, which require circuits capable of four-quadrant operation.

One solution is a four-quadrant current-sense amplifier design based on op amps and discrete components. This amplifier design minimizes the effects of errors encountered in resistor-based current sensing, particularly those associated with high common-mode voltages.

Current-Sense Challenges

The simplest way to measure an electrical current is to insert a resistor in its path and sense the voltage drop. Historically, this type of resistor is called a shunt, from the time when all instruments were essentially voltmeters. In these meters, the resistor would shunt the heavy current away from the instrument, allowing the measurement to be taken as a voltage.

The term more often used today in electronic systems is “sense resistor,” though sometimes the term “burden resistor” is used. The measurement is easy when one side of the resistor is at the reference potential (ground), and the measurement is called low-side current sensing.

When there is a common-mode potential (VCM) added to the difference between the ends of the sense resistor (high-side sensing), the measurement becomes harder as the common-mode voltage is increased. The simplest form of high-side sensing is where only positive common-mode voltages are present and current flows in only one direction. These conditions are described as a single-quadrant operation, which refers to a pair of coordinate axes with VCM and I as the x and y coordinates.

Analog semiconductor companies offer a wide array of current-sensing ICs for single-quadrant operation. These devices are reasonably accurate and easy to use.

There also are ICs that can handle current flow in both directions (two-quadrant operation). Fig. 1 illustrates a typical application of such an IC. Both circuit types operate with reasonable accuracy within a single-polarity (always positive) range of VCM bounded by maximum and minimum operating voltages.

The value of the minimum operating voltage can be defined by the true minimum operating voltage below which the circuit ceases to operate. But since the errors grow rapidly as this true minimum voltage is approached, the useful minimum voltage is usually a higher value. In either case, the minimum voltage rarely includes zero or even gets close to zero.

When the current flow to be measured can be in either direction and the VCM can be of either polarity (the four-quadrant case), the measurement becomes more complicated. The complexity of the measurement increases if the requirements for accuracy, precision and frequency response are added to the design considerations. This type of current sensing is required in many motor-control applications, magnetic-field correction systems, and ac or ac + dc circuits.

Sources of Error

Sensing current by way of a series resistor and a high-side sensing IC introduces two errors. One error is the voltage burden, which is the drop across the sense resistor in series with the line voltage. This voltage drop alters the voltage in the measured line. The other error is the current burden, the small amount of current “stolen” by the IC for its own operation. This current comes from the circuit in which the current is being measured.

The common-mode operating point also affects measurement accuracy, because the common-mode rejection ratio (CMRR) of the sensing circuitry is not infinite. Since the current-carrying line voltage is a common-mode voltage, there is an output-voltage uncertainty induced by the common-mode error that must be considered when estimating the error budget. As a consequence, the CMRR change with temperature is also a concern.

The sense resistor must always be in a four-terminal type of configuration, sometimes called a Kelvin connection. In this configuration, there are two pairs of terminals — one pair carries the current and the other carries the voltage signal. One connection from each pair converges with one of the other pairs at each resistor end.

The connection converging points define the physical limits of the circuit section length used for current sensing the delimited section. If properly implemented, the four-terminal technique can exclude undesirable resistances (contact resistances) that might exist in the current path and the resistor attachments, as well as the influence of resistance in the voltage connections, since they carry no current.

It is the resistance of the delimited section that is the real sense-resistor value, the factor that translates directly the value of the current to be measured into voltage, as:

As such, the resistor must have a very small temperature coefficient, and its temperature increase due to dissipation of its self-generated heat must be limited. This is needed not only to maintain measurement accuracy at a given value of current, but also to keep the linearity of the measurement over the current range. Power dissipation within the resistor is low at low currents, but then grows quickly with the square of the current. Consequently, the value of the resistor might change with the current value, resulting in a nonlinear response if a large change in temperature is allowed.

In high-accuracy/precision measurements, where discrete high-stability resistors are used, no copper conductor should be present within the bounds defined by the voltage contacts. That's because the high-temperature coefficient of copper resistivity (0.39%/°C) will deteriorate the desired sensor performance, even if a good sense resistor is used.

Sense resistors also can introduce errors in other ways. They can suffer from hysteresis, not returning to original values after overloads. In addition, these components are subject to long-term value drift (over months or years) if mounted under mechanical stress, which they release slowly while undergoing temperature changes.

The designer must reduce all errors to levels compatible with the expected design accuracy by the choice of adequate circuits; choice of sense resistor type, value and tolerance; good mechanical/thermal design; and good electrical layout.

When the measurement problem includes a bipolar range both for VCM and for the current to be measured, or includes zero as part of the VCM range, four-quadrant operation becomes a necessity and the selection of available IC solutions is limited. As the range for VCM is increased, IC options become even more scarce for a given accuracy limit.

Four-Quadrant Operation

One solution is to design a high-side current-sensing circuit using discrete op amps. Naturally, this approach has its challenges, too. One difficulty is the fact that most modern high-performance op amps are low-voltage devices, with a total supply voltage of 5 V or less. This fact complicates the circuit design when the common-mode range (CMR) is high.

The CMR of a high-side current-sense amplifier has three values. The absolute maximum CMR voltage is the value that, if exceeded, will destroy the amplifier. The operating CMR is the range in which the amplifier will still process the sense-resistor drop. And finally, the useful CMR is the range that the current-sense resistor can swing through while the amplifier still delivers an output within the error limits.

If a single op amp, standard instrumentation amplifier configuration is used, the operational amplifier input-voltage range (usually smaller than the output-voltage swing) is the factor that limits the operating CMR. This factor forces the use of a very small fractional gain, making drift and noise problems worse.

With a two op amp instrumentation amplifier topology (where both are configured as inverters), the op amp inputs remain at the reference point — usually 0 V. So, the CMR is limited only by the operational amplifier output swing, allowing a higher CMR for a given supply voltage.

For all these amplifier types, the accuracy at the high end of the useful CMR is set mostly by the CMRR. A better CMRR will introduce a smaller uncertainty and, therefore, better accuracy for a given common-mode voltage. The CMRR is a function of the tolerance of the resistors used. As the limits of the CMR are extended higher, the resistor tolerance required for a given accuracy becomes unbearably small. Such precision resistors may not be available, and even when they are, the cost of such resistors may be unbearably high.

The circuit in Fig. 2 alleviates these problems. First, the circuit amplifies the sense-resistor voltage. Then, it applies that signal to the amplifier that does the level translation from the common-mode level of the current-carrying line to the ground-referred level. In this way, the ratio of the desired signal to the spurious (or uncertainties) is increased by the gain of the first amplifier. This approach effectively increases the accuracy of the measurement by the same factor.

Since the first amplifier reference point needs to move with the common-mode level, it must be powered by an isolated power source. The circuit in Fig. 2 can operate under common-mode voltages up to ±75 V and has an input range (voltage burden) of ±80 mV for an output of ±2.5 V.

The VOUT/VDIFF gain is 30, which is accurate within 0.1%. The output-offset voltage at room temperature is less than 100 µV. The current burden is 5 MΩ or 10 µA total when VCM is 50 V. The absolute maximum voltage (nonoperational) for VCM is limited by the breakdown voltage of R1, R2 or T1, whichever breaks first.

Amplifiers A1 and A2 make the first amplifier, powered by an isolated power supply with the MAX845 high-frequency power-supply IC driving a low interwinding capacitance transformer T1. A3 and A4 form the wide-CMR, high-CMRR instrumentation amplifier.

Fig. 3 shows the amplifier's dc CMRR behavior over temperature, which is critical to maintaining accuracy. The graph in this figure allows designers to determine the amount of error introduced by the common-mode voltage into the output voltage at each temperature.

For the amplifier described here, this error is adjusted to zero at room temperature (by means of the 500-Ω potentiometer). The effect is attributed to changes in the ratios R1/R3 and R2/R4 across the temperature range, and is about 2.5-mV change at the output from -10°C to 50°C.

Fig. 4 shows the same information as Fig. 3, but as a function of frequency. It presents the CMRR versus frequency needed to calculate the uncertainty when VCM is an ac voltage, or contains ac components.

Fig. 5 is the gain as a function of frequency for the sensed voltage signal. This plot shows the range of frequencies (starting from dc) over which the amplifier is useful, within a given acceptable error.

The frequency performance is important because it also involves the phase shift behavior, which matters when the current measurement is used to calculate power. In such calculations, there are two considerations. First, there is the frequency dependency of the absolute amplitude of the current in the power formulas. But then, too, the cosine of the phase angle weighs in as the so-called “power factor” in the power calculations.