# Power Tip 64: Compensate for cable drop without remote sensing

Technology News |
By eeNews Europe

Sometimes your power supply design specifies better regulation than you can achieve without the complexity of remote sensing. A prime example of this is an offline USB charger where the power supply must compensate for 0.5 volts of cable drop without the cost and bulk of two extra wires. The voltage to the output needs to be in range of 4.75-5.25 volts. Without remote sensing, this cannot be achieved with typical component tolerances and the 0.5-volt drop on the output cable.

The standard approach to this problem measures the output current through a sense resistor with a low offset voltage differential amplifier. Then the output voltage from the amplifier is turned into a current source and subtracts current in the voltage sensing circuit, thereby raising the output voltage. A simpler approach that eliminates the transconductance amplifier is shown in Figure 1.

Figure 1
A single op-amp can compensate for cable drop.

The output of the amplifier U1B is the output voltage minus the amplified current sense voltage. If the amplifier output is held constant by a closed loop, the output voltage (Vo) rises as the load current is increased. This can be used to compensate for cable drop from Vo to the actual load by suitable choices of R1, R3, and R4.

Figure 1 also shows how the circuit can be unstable. The EAout equation shows a simplified expression for the amplifier output voltage in terms of Vo. In this simplification, the cable resistance and the load resistance are lumped as RLOAD, and there is no capacitance assumed at the load.

Note that the amplifier voltage has two terms, one positive and one negative. If at some frequency, the magnitude of the second term is larger than the first term, the phase of the amplifier output changes 180 degrees, which can create an oscillator. This typically is not a problem when the current sense resistor is connected between the output capacitor and the load. It can be a serious problem if the current sense resistor is connected between the output inductor and output capacitor.

Figure 2 shows how simple cable drop compensation can be.

Figure 2
This method of compensation has one less amplifier than a traditional approach. (View full-size image.)

This is a 12-volt to five-volt buck regulator that can be used in an automotive USB charger. The power supply would be in an assembly that plugs into a power port, and the load would be powered through a cable. The heart of this circuit is the control IC, U1, which closes the feedback voltage loop as well as provides the power switches of the buck regulator. Internally to the IC, the voltage at the feedback pin is compared to a one-volt reference. This information is used to set the duty cycle of the power switches. The voltage at the feedback pin is set by the R5/R7 divider, so that the circuit regulates TP9 to five volts. The amplifier U4A subtracts an amplified current sense voltage from the voltage at TP4.

In this circuit, the output current is 2.5 amps, and the resulting current-sense resistor voltage is 125 mV. The offset voltage of the differential amp is 3 mV, which is amplified to 10 mV for about a 2 percent set-on error. You can get better set-on error with a better and more expensive amplifier. This circuit provides about 625 mV of cable drop compensation with 125 mV current sense voltage and a gain of five in the amplifier.

Figure 3 shows the measured performance of this circuit.

Figure 3
Increasing output voltage compensates cable drop.

There are three curves: the uncorrected Vo with 0.25 Ohms of resistance of the cable, the power supply output with cable drop compensation, and the load voltage with cable drop compensation. The uncomp Vo curve shows that, without cable drop compensation, the output voltage would fall outside a 5 percent window. The comp PS Vo curve shows the output of the power supply with cable compensation ranges about 600 mV over a 2.5-amp load current range.

The no-load voltage regulation point is 4.92 volts compared to a desired 5.00 volts, for an error of about 1.6 percent. This is less than the potential worst-case error. The significant error terms are reference accuracy (0.7 percent), divider resistors R4 and R7 (1.6 percent with 1 percent resistors), and U4A offset voltage (0.3 percent). The comp cable Vo curve shows the voltage at the end of the cable connected to the load with cable compensation. The goal of 5 percent accuracy is easily achieved with this approach.

To summarize, it is possible to put a positive load line on a power supply with a handful of inexpensive parts. In many cases, the added complexity of this circuit is small compared to remote sensing. Furthermore, it is safer due to concerns over fault conditions with the remote sense connections. The impact on the loop compensation is minor as long as the current sense connection is on the downstream side of the output capacitor.