3

I want to build a simple and stable constant voltage source (voltage regulator) and current source. I built one using a LM317 but the output is not stable, it varies when temperature changes. Do you have any suggestions to improve the design?

CURRENT SOURCE enter image description here

VOLTAGE SOURCE

enter image description here

yogece
  • 420
  • 5
  • 18
  • 1
    How much variation do you get, and how much stability do you need? – pjc50 May 24 '13 at 09:10
  • I believe we pinpointed the external resistor/potmeter drifting with temperature due to the current through them in a similar question. Believe it was a @CamilStaps' question. – jippie May 24 '13 at 10:32
  • Here is the question I was thinking of: http://electronics.stackexchange.com/questions/65607/keeping-the-output-of-a-heated-lm317-constant – jippie May 24 '13 at 10:53
  • You should put another small capacitor across R2. See the data sheet. – user207421 May 24 '13 at 23:28

2 Answers2

8

For a temperature compensated, high precision voltage source, the LM317 is not the way to go. It is a very basic voltage regulator, of ancient design, about as viable to electronic designers today as the LM741. They serve at best as teaching tools, preferably to teach what not to use.

Further, any variable regulator that depends on external components (e.g. the potentiometer in the question's schematic) for set-point determination will be at the mercy of all temperature effects on all those external components, and all connections to them - even poor solder joints can be a problem. This is why for temperature-sensitive designs, fixed voltage regulators are a preferred option.

There are many modern parts with considerably better temperature compensation than the LM317. The Micrel MIC5219 regulator, for instance, has a temperature coefficient of 40 ppm/oC, compared to the 200 ppm/oC of the LM317.

For something that is more easily available in retail in India, consider the Texas Instruments µA723 series of voltage regulators (30 to 100 ppm/oC). It is not a great part, but way better than the LM317. These can occasionally be found in the electronics components markets, selling for less than a third of the nearest Digikey price, though the shopkeepers will typically have no clue what they are selling.

A precision voltage regulator with temperature compensation will typically require more support components than a basic regulator such as the ones in the question. For instance, from the above datasheet:

Schematic

This part, and other similar parts, can also incorporate current limiting, if that is the original purpose of the current source in the question.


If, on the other hand, the compensated current source is an independent requirement, read on...

As with voltage regulation, current regulation too requires fixed set-point parts for the best stability: Variable current designs will necessarily suffer from temperature effects on all set-point setting components.

One family of current regulators I have used with excellent temperature compensation are the SuperTex CLxx series of regulators: The SuperTex CL2 is rock solid for 20 mA temperature-stable current regulation. Similarly, on the SuperTex product selection page, they offer parts for various other current settings and supply voltages.

These current regulators are very easy to use 2-terminal parts, no external support components needed:

Schematic


To gain a bit of insight into the challenges faced in temperature compensated current regulation, please see this paper: "A Precision Low-TC Wide-Range CMOS Current Reference".

Anindo Ghosh
  • 50,188
  • 8
  • 103
  • 200
1

The circuit diagrams looks fine. As the internal reference voltage will vary with temperature and change the output perhaps the solution is to attach a good heat sink onto the lm317 and prevent the temperature change in the first instance. My other thought is that the 1.2R resistor sets the current, any variation in its value would alter the output. This resistor dissipates 1.2W and its rating is 2W. Its going to run hot. Try a bigger wattage rating, say 10W, that will run cooler.

JIm Dearden
  • 18,926
  • 30
  • 40