All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > The Projects Forum

Notices

The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 05-03-2009, 06:02 PM
doug3460's Avatar
doug3460 doug3460 is offline
Member
 
Join Date: Oct 2008
Location: Belleville, IL (outside St Louis, MO)
Posts: 87
Default Power Supply Voltage Potentiometer

Sorry for a lengthy start, but I hope to avoid later explanations.

Please take a look at the attached drawing. The problem I'm having is with the linear potentiometer: it's too sensitive for easy adjustment & doesn't have linear sweep. Please read on for more background & what I've done so far.

Background:
Over the past few months I've made a few posts of a PSU in various stages of development. I have received lots of great help from the senior members & moderators. A couple notes from those posts:
Ron H noted, I would not get full sweep from the 5K pot & he recommended R1 be dropped to 82Ω & R2 changed to 2K (see "What I've Done So Far," below).
eblc1388 & Audioguru noted, R1, often shown as 240Ω in countless 317 references, should be 120Ω instead. After considering their in-put, completing a lot of research, & doing some Ohm's Law calculations (which I posted in that thread), I settled on using a 130Ω resistor in the schematic because mathmatically it made sense to me. (see "What I've Done So Far," below).
beenthere noted, in considering a resistor placed in parallel with R2 to limit the range, that it would have "...a deleterious effect on the adjustment pot." This threw me a bit since basically it was an application from Vol VI, Chap 3 of the AAC guides. But I removed the resistor as he suggested.
About the PSU: This unit is the second part of a two unit set mounted in one enclosure. The other unit is an ATX PSU break-out (which is completed). In the course of working on this project I obtained a rack-mount type enclosure which I gutted for components & re-finished the face to the new applications. I am at the point of building the stand-alone adjustable supply for the unit. As noted in other posts, it is planned as dual rail with selectable current limiting (ranges: 50mA, 100mA, 250mA, 500mA & 1A) & voltage adjustable within the range of the 317/337 ICs. So, no, I haven't made a final decision on the supply voltages. I intend to use an op-amp to simultaniously control the out-put of the rails.

At the moment, I'm working strictly on the positive rail, using either 12V or 15V as the supply. I was under the impression that V wouldn't matter so long as it was within the operating range of the 317 specs. But there is some difference in how the range of the pot is affected (i.e., the higher V allows a slight increase in range, but essentially the sensitivity up to that point remains unchanged).

WHAT I'VE DONE SO FAR: First, I confirmed the pots are linear type. Next, I researched the problem & found that linear pots aren't always completely linear. I located some sources for adjusting the output of the pot, so if it were graphically represented, it could be made more log or even anti-log. I have tried some of these techniques without positive results. I do not want to limit the range of the pot (Vol VI, Chap 3 stuff) - I simply want a reasonable sweep to V, especially (& if doable, lol) for at least 90% of the sweep.

I have tried R1 in ranges from 120Ω to 1kΩ & R2 at 2k, 5k & using Vol VI techniques, some variations of these two. The 2k provides a far better ratio of movement to output in the lower ranges, but still reaches the upper limit well before the stop. With either pot, the last 40%+ of sweep is only adjusting the mV of the upper limit. You can figure the time I've spent messing with the combinations/permutations in adjusting these two variables. Interestingly, I did find the combination of R1=680Ω & R2=2kΩ provided a nice ratio of sweep to output, however, I could no longer swing completely down to 1.2V & the upper limit was capped regardless of the supply V.

I would prefer to use a single pot on my panel since it's a lot of work to refinish (lol, live & learn - I hadn't anticipated this particular problem since this configuration is so widely used & there are numerous commercial supplies with a single pot for adjustments).

Obviously I'm doing something wrong. Is this fixable by modifying the circuit or adding components or do I need to begin exploring a digital solution?
Attached Images
File Type: png 317Adj.png (6.1 KB, 42 views)

Last edited by doug3460; 05-03-2009 at 06:04 PM. Reason: added attachement
Reply With Quote
  #2  
Old 05-03-2009, 06:32 PM
SgtWookie's Avatar
SgtWookie SgtWookie is offline
Senior Member
 
Join Date: Jul 2007
Location: Orlando, FL USA
Posts: 14,022
Default

In the LM317 datasheet, you will find that guaranteed regulation is provided when 10mA <= Iout <= 1.5A.
You will also find that Vref (measured from the ADJ to OUT terminals) is nominally 1.25v (when the output load is 10mA to 1.5A), but values anywhere from 1.2v to 1.3v are acceptable.

For this reason, 120 Ohms is typically specified for R1, as it guarantees that the minimum 10mA load will be on the output of the LM317, even if Vref is at the minimum threshold: 1.2v/120 Ohms = 10mA. You can use a lower value than 120 Ohms for R1 if necessary, but remember that current through R1 takes away from the maximum output current.

You can get by with a somewhat higher value for R1, as long as your load makes up for the difference in order to get the guaranteed regulation. If R1 is considerably higher than the standard value, Iadj (current sourced from the ADJ pin, typically 50uA but may be as high as 100uA) will have an increasingly significant impact on the output voltage.

I see that your C2 is rated for 25v. In that case, you should not count on your regulator output voltage to be higher than 12.5v, as capacitors should have a voltage rating of twice that expected in the circuit.

With R1 at a value of 120 Ohms, a typical Vref of 1.25v (ADJ to OUT voltage), and a typical Iadj (current sourced from the ADJ terminal) of 50uA, R2 should not be greater than 1073 Ohms to provide a 12.5v output. If you are using a standard 5k linear 3/4 turn pot, you'll only have a useable adjustment range of about 54°, or around 1/7 of a turn, and it will seem very "finicky".

Change R2 to a 1k pot. If you wish to have a "fine" and "coarse" control, use a 1k pot and a 100 Ohm pot in series.

If you need more than 12.5v output, then you will need more changes; like C2's voltage rating.

What is your minimum and maximum output voltage requirement?
__________________
General info:
If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input.

Last edited by SgtWookie; 05-03-2009 at 06:55 PM. Reason: Clarifications
Reply With Quote
  #3  
Old 05-03-2009, 07:01 PM
doug3460's Avatar
doug3460 doug3460 is offline
Member
 
Join Date: Oct 2008
Location: Belleville, IL (outside St Louis, MO)
Posts: 87
Default

Thanks Sarge.

Forgot to mention that I was using a 120ohm in the breadboard but the schematic hadn't been changed (I had put the schematic together back when working on the other thread so just reposted it here since it depicts the board layout pretty closely). I also forgot to mention that I had tried Ron H's recommendation of R1 at 82 ohm with R2 at 2k.

I had tried R1 @ 120 coupled with R2 @ 2k but didn't get the desired result. Since I don't have a 1k pot available, can I parallel 2k to R2, or will it have the "deleterious" effect beenthere had warned of?

I would like to proto this so I can set V in one of two ranges -the dual 12V rails and the dual rails for the higher range (getting the correct size center tap transformer & what the desired maximum adjusted out volts will be is what's causing me to remain undetermined on the supply). I can't think at present of needing more than 24V max out. Even 18Vmaxout would probably suffice. Anyway, is this doable. Am I misunderstanding the V? I thought it was always a 1.25V between them (internally controlled), or is it changing depending on the V?

Last edited by doug3460; 05-03-2009 at 07:06 PM. Reason: correction
Reply With Quote
  #4  
Old 05-03-2009, 08:04 PM
SgtWookie's Avatar
SgtWookie SgtWookie is offline
Senior Member
 
Join Date: Jul 2007
Location: Orlando, FL USA
Posts: 14,022
Default

Quote:
Originally Posted by doug3460 View Post
Forgot to mention that I was using a 120 Ohm in the breadboard but the schematic hadn't been changed (I had put the schematic together back when working on the other thread so just reposted it here since it depicts the board layout pretty closely). I also forgot to mention that I had tried Ron H's recommendation of R1 at 82 ohm with R2 at 2k.
With R1=82 and R2 = 0 to 2k, your output range would 1.2v - 32v; much more than C2 is rated for.

Quote:
I had tried R1 @ 120 coupled with R2 @ 2k but didn't get the desired result. Since I don't have a 1k pot available, can I parallel 2k to R2, or will it have the "deleterious" effect beenthere had warned of?
With R1 = 120 Ohms and R2 = 0 to 2k, you would have a range of 1.2v-22.3v; still more than C2 should be used at.

If you attempt to parallel a 2k resistor with [eta] R2 = 0 to 5k, you'll have a very non-linear response from the pot.
At max, you'll get about 1.43k Ohms.
At 90%, 1.385k
At 80%, 1.334k
At 70%, 1.273k
At 60%, 1.2k
At 50%, 1.111k
At 40%, 1k
At 30%, 857 Ohms
At 20%, 667 Ohms
At 10%, 400 Ohms.
As you can see, the last 30% of travel will have the lion's share of variation.

Quote:
I would like to proto this so I can set V in one of two ranges -the dual 12V rails and the dual rails for the higher range (getting the correct size center tap transformer & what the desired maximum adjusted out volts will be is what's causing me to remain undetermined on the supply). I can't think at present of needing more than 24V max out. Even 18Vmaxout would probably suffice. Anyway, is this doable.
Yes, but keep in mind that the power dissipation in the regulators for a given current at a given Vin will increase as the output voltage decreases.

For example, if you have Vin=20v, Vout=5v and a 1A current, your load power dissipation is 5V x 1A = 5W, while your regulator dissipation is (20V-5V) x 1A = 15V x 1A = 15W.

Quote:
Am I misunderstanding the V? I thought it was always a 1.25V between them (internally controlled), or is it changing depending on the V?
Vref is nominally 1.25v, and it is internally controlled. It might be as low as 1.2v, or as high as 1.3v, and still be within the manufacturer's specifications. The LM317A has closer tolerances for Vref.

In any event, if you're planning on being able to output up to 24v, better use 50v rated caps on the output, and 63v or higher for the bridge filter caps - as well as a much higher capacitance rating for the bridge filter.
__________________
General info:
If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input.

Last edited by SgtWookie; 05-03-2009 at 10:10 PM.
Reply With Quote
  #5  
Old 05-03-2009, 09:16 PM
eblc1388's Avatar
eblc1388 eblc1388 is offline
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 1,006
Default

Quote:
Originally Posted by doug3460 View Post
I simply want a reasonable sweep to V, especially (& if doable, lol) for at least 90% of the sweep.
It seems to me you are not aware of the "drop out" voltage of the LM317. The drop out voltage is the headroom that the LM317 requires to do its job properly.

The data sheet indicates that this is about 2.4V at 1.5A load current.

So even if you supply Vin=12V to the LM317, the most you can get from its output is 12-2.4=9.6V @1.5A load current, regardless of how you set your resistor. This would explain why the output voltage won't change when you reached the upper part of the VR.

Since you have already got a 2K VR, let's design with this requirement in mind. A combination of R1=180Ω and R2=2KΩ VR on LM317 would give linear changing voltage output from 1.25V to about 15.3V. The prerequisite is that Vin is at least 17.7V or higher. To compensate for the increase of min. loading resistor from 120Ω to 180Ω, an extra loading resistor is needed on the LM317's output to make sure that min. loading is back to 120Ω. Its value from Ohm's law for parallel resistors works out to be 360Ω.

@Sgt: You won't get 1.43K max. when 2K is parallel with a 2KVR.
__________________
L.Chung

Last edited by eblc1388; 05-03-2009 at 09:36 PM.
Reply With Quote
  #6  
Old 05-03-2009, 10:09 PM
SgtWookie's Avatar
SgtWookie SgtWookie is offline
Senior Member
 
Join Date: Jul 2007
Location: Orlando, FL USA
Posts: 14,022
Default

Quote:
Originally Posted by eblc1388 View Post
(snip)
Since you have already have a 2K VR, let's design with this requirement in mind. A combination of R1=180Ω and R2=2KΩ VR on LM317 would give linear changing voltage output from 1.25V to about 15.3V. The prerequisite is that Vin is at least 17.7V or higher.
OK, the minimum dropout voltage for the LM317 is 1.7v with a 10mA load on the output; the dropout naturally increases with the load on the output.

Quote:
To compensate for the increase of min. loading resistor from 120Ω to 180Ω, an extra loading resistor is needed on the LM317's output to make sure that min. loading is back to 120Ω. Its value from Ohm's law for parallel resistors works out to be 360Ω.
I'm afraid this scheme won't work very well, as I=E/R. You can't sink current from the 360 Ohm resistor (let's call this R3) via the pot, as that will increase the current through the pot, thus increasing the output voltage (within Vin's limits and voltage drop vs current, of course). You couldn't connect R3 to ground either, as I=E/R, so as the output voltage was changed, the current through R3 would also change.

Quote:
@Sgt: You won't get 1.43K max. when 2K is parallel with a 2KVR.
Somehow, I only saw the 5k pot mentioned; I completely missed the 2k pot. The numbers I gave were for a 2k fixed resistor and a 5k pot in parallel.
__________________
General info:
If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input.
Reply With Quote
  #7  
Old 05-03-2009, 10:24 PM
eblc1388's Avatar
eblc1388 eblc1388 is offline
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 1,006
Default

Quote:
Originally Posted by SgtWookie View Post
You couldn't connect R3 to ground either, as I=E/R, so as the output voltage was changed, the current through R3 would also change.
I know the current will change with increased output voltage.

At 1.25V output, the combined current of this resistor and 180Ω amounts to 10mA.

At 12V output, an additional 33mA will flow through this resistor. Not ideal but it satisfied the minimum loading requirement of the LM317.
__________________
L.Chung
Reply With Quote
  #8  
Old 05-04-2009, 03:50 PM
doug3460's Avatar
doug3460 doug3460 is offline
Member
 
Join Date: Oct 2008
Location: Belleville, IL (outside St Louis, MO)
Posts: 87
Default

SgtWookie & elbc1388 - Thanks to you both for the replies. Couple notes.
SgtWookie wrote:
Quote:
In any event, if you're planning on being able to output up to 24v, better use 50v rated caps on the output, and 63v or higher for the bridge filter caps - as well as a much higher capacitance rating for the bridge filter.
I replaced that output cap to 35V for now (largest Tant I have readily available). Since 15V (13.5V is the maximum being tested on the circuit at present, I knew the 25V cap was pushing it but thought it would be okay (13.5V x 2 = 27V). I will increase all caps in the final to your recommended ranges. BTW, the electolytic cap is 50V.
elbc1388 wrote:
Quote:
It seems to me you are not aware of the "drop out" voltage of the LM317. The drop out voltage is the headroom that the LM317 requires to do its job properly.
I was aware. The actual measured difference in the circuit as set-up on my board is 1.54V for either the 12V or 15V supply (for the 12V line from the ATX, there's 11.77V at the board-in & 10.23V at the 317 OUT pin; for the 15V Lambda, it's 15.04V and 13.50V respectively). The "capped" range I referred to (the 680Ω & 2kVR) dropped the V to 9V something, regardless of the supply. Using your example, logically, there should have been an increase in the output when I switched to the 15V source (15V - 2.4V = 12.6V), which didn't happen.

Quote:
To compensate for the increase of min. loading resistor from 120Ω to 180Ω, an extra loading resistor is needed on the LM317's output to make sure that min. loading is back to 120Ω. Its value from Ohm's law for parallel resistors works out to be 360Ω.
I tried increasing R1 to 180Ω without any additional resistors. The result was VR was less sensitive (less "finicky") but the overall sweep range was only slightly increased (maybe by 10°). Adding 360Ω parallel as you suggested simply set the VR sweep back to as if I just had R1 as 120Ω. Additionally, as I noted earlier, the current will be limited to 1A max (using a 317 in series with the one for the voltage).
So, unfortuneately, the problem remains. Of the 270° rotation for the VR (i.e., R2), I'm hitting V (based on limit imposed by V) at about the 210° rotation. In other terms (more for my clarification, lol ), if VR is set to minimum, the dial is at the 7 o'clock position. When rotated to about 2:30 o'clock, the near maximum out the supply & circuit can produce is reached. Only the final few mV adjustments to the absolute max are available from the 2:30 to 5 o'clock positions. That leaves about 60° of basically useless rotation. Adjustments between 7 & 10:30 o'clock positions are very "finnicky" or so sensitive that it's problematic.

Couple other notes.
Sarge, I cannot duplicate your math! I'm using:

V=1.25V(1+

Is this wrong?

With R1 = 120Ω, R2 = 2kΩ, I get max = 22.08V. Where'd the extra .3 come from in your samples? Just trying to make sure I'm not missing something (which, based on past experience, would be quite the norm for me! )
I would prefer to keep only one knob on the panel for voltage adjustment so I don't have to re-face the panel, but I will go to the coarse/fine arrangement if that will fix this problem.

One final thought: I have no real load on the V on the breadboard. I have a wire to connect to my DVM and a 1kΩ resistor connected to a cheap LED so I have a visual reference. Is that the problem - no load?

I'm off tonight, so am going to go pick-up some components today (1k pot, etc.). I will continue to try to modify this to get the linear sweep I want.

As always, thanks very much the time & assistance.
Reply With Quote
  #9  
Old 05-04-2009, 06:23 PM
eblc1388's Avatar
eblc1388 eblc1388 is offline
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 1,006
Default

Quote:
Originally Posted by doug3460 View Post
The "capped" range I referred to (the 680Ω & 2kVR) dropped the V to 9V something, regardless of the supply. Using your example, logically, there should have been an increase in the output when I switched to the 15V source (15V - 2.4V = 12.6V), which didn't happen.
To reduce the upper end of the voltage output value of LM317, one can add a resistor(R5) in parallel with the center terminal of the VR.

The result is shown as the red trace in the image, which now has a reduced max. voltage output from 15.4V down to 13.6V. The blue trace is the 180Ω & 2KΩ VR without this R5, plotted as reference.

You can use smaller value for this R5 and the LM317 max. V_out will then reduces more say to 11V or less. e.g. R5=10K for 13V and R5=5K6 for 11.5V.

Attached Images
File Type: gif LM317_Range1.gif (17.7 KB, 69 views)
__________________
L.Chung
Reply With Quote
  #10  
Old 05-04-2009, 08:44 PM
doug3460's Avatar
doug3460 doug3460 is offline
Member
 
Join Date: Oct 2008
Location: Belleville, IL (outside St Louis, MO)
Posts: 87
Default

eblc1388 -

Thank you for the graph & option to lower the maximum voltage out. I will find a use for that info sometime. However, I don't want to reduce the voltage range, in fact, I want as much as the circuit will deliver from whatever V I apply (within the limits of the 317 requirements).

The problem is the rotation of the VR (i.e., R2) doesn't sweep from stop to stop in regard to V. It's too sensitive in the lower ranges & too quick to reach the maximum out.

Maybe I'm not grasping how it's supposed to work. Intuitively, if I rotate a linear pot 25 degrees, then I would expect the output to be 25% higher than it was. So if the pot is in the off position, I would expect no voltage; 1/2 way would be 50%; etc.. But that's not what is happening. I'm hitting 50% of the out put at about 25% rotation & 100% at about 65% rotation.

I have to wonder if the output I'm seeing is the normal for these simple circuits. I have looked at dozens & dozens of schematics that show the 317 with a 240 ohm resistor & 5k pot. While shopping today, I looked at the schematic/owner manual for a commercial PS they had on the shelf. It's using the 317 set up with a 240 & 5k. But I tried that combination for R1 & R2 after the 120 & 2k didn't get the result I wanted & I still had the same problem. I'm wondering if more complex circuitry is required.

Anyway, thanks again for explaining & graphing the output if I put a resistor on the wiper. I picked up a 1k pot today, so sometime this evening I'll try it. One can only hope it improves!
Reply With Quote
Reply   Post New Thread

Bookmarks

Tags
, , ,

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Power supply, current and voltage limiting dude521 General Electronics Chat 13 04-23-2009 06:45 PM
30-32volt 4A regulated dual power supply... excuseme The Projects Forum 15 01-10-2009 04:01 PM
Single power supply for multiple devices deefactorial General Electronics Chat 13 11-12-2008 06:06 PM
Volume III - Semiconductors » Zener diodes - few corrections needed chindu Feedback and Suggestions 1 10-31-2008 09:54 AM


All times are GMT. The time now is 11:51 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License. Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.