Electronic – Eliminating negative output voltage in a LM317-based power supply adjustable down to 0V

lm317power supply

I've been looking to build a linear power supply with current limiting and output adjustable down to 0V and I found this circuit in a LM317 datasheet.:

"Laboratory" Power supply with Adjustable Current Limit and Output Voltage

So I've built it on a breadboard with minor changes. I used J111 JFETs as current sources, with 1k resistors between source and gate to limit the current to about 6.5mA. Negative voltage rail is provided by a 555-based charge pump, outputting about -13V at this load level. And while this works and regulates down to 0V, it can be adjusted even to negative voltages. When using in CV mode, it can go down to negative few-hundred millivolts, consistent with 1.25V minus the voltage drop across D3, D4. When the current limit is set to minimum and voltage to maximum, I can get the output to go as low as -4V!

I think this should not be the case, since the design above uses a polarized tantalum cap on the output. Even if it's expected, I would like to eliminate it because I don't want my circuits damaged from negative voltage when I turn the pot too far. So far I thought about using a more precise shunt reference below 1.25V in place of D3, D4 and/or adding fixed resistors in series with the pots to limit their regulation range.

So to sum up my questions are:

  • Is this supposed to happen or am I doing something terribly wrong?
  • What is the best way to limit regulation to positive voltages/currents only?

Thanks in advance.

EDIT: Schematic of the full circuit below as requested, exactly as I have it on the breadboard.
enter image description here

Best Answer

Considering the circuit was designed decades ago, the performance is OK. However if you want to accurately regulate down to zero volts, it is not the best design.

The current limiter does not work since when it reaches its limit it will always force the voltage output 317 into an under voltage condition (its Vin drops below the minimum) and the output voltage will go negative.

There are lots of options to provide voltage regulation down to zero, I'll present only one of them here.
The negative reference needed to offset the LM317 reference can be created in several ways (in the comments I suggested an LM185 as a potential quick fix) but probably the easiest is to create an adjustable reference based on a good reference shunt voltage regulator.

schematic

simulate this circuit – Schematic created using CircuitLab

I've ignored the current limiter here to simplify the circuit.

The TL431 provides a stable -2.5V reference to the end of the R4,R5,R6 chain and I set the feedback R2 such that only 1.3mA is being sunk from the output.

Since you want to be able to set Vout down to zero it's hard to provide the minimum current load over such a large voltage range. If you try to set R2 to provide this then you need a higher power R1 pot. I chose in this case to use a BSS139 depletion mode FET to provide a constant load on the output. This will work in this case, but if you try to add a current limiter as shown in the original circuit, then this load would pull the output negative when U1 was below it's working threshold.

With the circuit I've shown here, you could do current limiting with an N-channel FET directly across R1 and use something like an INA219 to sense the output current of U1. If the output is never allowed over 25V this would work but would need a separate supply (a Zener or TL431) to provide its supply.

You might also read this design note on EDN which explores using a very simple CC source to drive the negative reference.