OP Amp power supply question - Page 1
Forum section: electronics / beginners

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 13, 2017, 02:02:04 pm
content: Greetings,I would like to build the following power supply......which is described herehttp://www.joebrown.org.uk/wp/?p=7294.I see that the OP Amp gets +8V from the 7808 and also gets -22V straight from the rectifier.Questions:1 - Does that mean that it will be pulling only -8V from the available -22V?2 - Wouldn't it be better to just install another 7908 regulator and feed -8V to the OP Amp?Thanks...

author: StillTrying
author_rank: Super Contributor
timestamp: December 13, 2017, 02:58:04 pm
content: "1 - Does that mean that it will be pulling only -8V from the available -22V?"? No, the op amp output can go lower because of the -22V supply."2 - Wouldn't it be better to just install another 7908 regulator and feed -8V to the OP Amp?"The output of the opamp & 337ADJ pin has to go from about +0.5V to -14V, so supply rails of +8 and -22V would be about right.U3 could be made a bit faster and stable with feedback components, rather than just a 10u on it's output.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 13, 2017, 03:12:57 pm
content: Thank you very much for your super fast reply. I'm glad I asked.Quote from: StillTrying on December 13, 2017, 02:58:04 pmThe recommended OP Amp is LF351.Is this done by adding a resistor and cap in parallel from the output back to the +input?Thanks...

author: David Hess
author_rank: Super Contributor
timestamp: December 13, 2017, 11:14:16 pm
content: The forum ate my post but I kept a backup copy. Why is this even necessary?Quote from: Adinol on December 13, 2017, 02:02:04 pmHuh? No, with the 78L08 positive voltage regulator, the operational amplifier will be operating from a regulated +8 volts and an unregulated -22 volts which is no problem. Of course you need a 36 volt minimum regulator for this to work.The +8 volt supply is really a little high and could be lowered. The Tektronix PS503A power supply uses similarly asymmetrical voltages for its operational amplifiers but only 5 volts and 78L05s are much easier to find than 78L08s. I have seen 3 volts used in some circuits.QuoteThe operational amplifier has to drive the adjust pin of the LM337 down to the -ve output voltage (plus 1.25 volts) which is considerably more negative than -8 volts.Quote from: Adinol on December 13, 2017, 03:12:57 pmThere are lots of parts which would work including the LF351, LF355, LF356, TL031, TL051, TL061, TL071, TL081, 741, 301A, etc. Practically any 36 or higher volt part is suitable. I have used the LT1007, a slightly more modern OP-27, in a similar circuit for low noise but that does not apply here.Usually a slow operational amplifier should be used but the output resistance of the operational amplifier combined with C6 implements dominant pole compensation preventing oscillation. In that respect, a 301A with suitable external compensation would be a much better choice but any part will work.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 14, 2017, 02:30:55 am
content: Quote from: David Hess on December 13, 2017, 11:14:16 pmThank you for this information. I couldn't find a through hole LF351, so now you gave me plenty of choices. This list will be helpful.I am now Googling what it mean "...with suitable external compensation" but it's a bit much for my brain to process as I don't have any real background in electronics. I think I understand that compensation makes it more stable and that it is done by connecting C6 in a feedback loop back to the positive input of the OP amp. Correct? And if so, would the value of C6 change depending on which OP amp is used?Thanks...

author: danadak
author_rank: Super Contributor
timestamp: December 14, 2017, 10:50:19 am
content: A pretty good ap note on compensating V OpAmps -http://www.ti.com/lit/an/sloa020a/sloa020a.pdfRegards, Dana.

author: David Hess
author_rank: Super Contributor
timestamp: December 15, 2017, 03:32:38 am
content: Quote from: Adinol on December 14, 2017, 02:30:55 amIt may be that they selected the LF351 because it is particularly suitable to the form of frequency compensation they used because it has a controlled output resistance.QuoteUsually a much lower value of capacitance would be placed between the output and inverting input (1) and I am not sure why they did not do that here. A larger capacitor from the output to ground achieves the same objective of making the feedback loop stable but at the expense of performance which was not needed in this case anyway because an integrated regulator was used as a pass element instead of a transistor.The value of the capacitor between the output and inverting input does not change but slower operational amplifiers would not require the external feedback capacitor at all. In that respect, the LF351 strikes me as an odd choice in this application. Below is an example of the same type of tracking regulator circuit made with an LM301 with its standard 30pF compensation capacitor and no feedback capacitor which a faster operational amplifier would require. A 741 operational amplifier would be a drop in replacement for the LM301 in this circuit.(1) The value of this capacitance is inversely proportional to the parallel resistance of R2 and R3.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 15, 2017, 01:48:07 pm
content: First of all, than you both for this useful information.Quote from: danadak on December 14, 2017, 10:50:19 amThank you, Dana. I opened the PDF but as I'm sure you can understand it is going to take me time to study and understand all this. I have no formal training in electronics. I'm more of a broad range DIY enthusiast and as such I have limits. I also have a big priority in my life, which is raising a small child that is very demanding (and a lot of fun) and I haven't had much spare time in the past few years. But thanks again. I will try to study that document, as time permits.Quote from: David Hess on December 15, 2017, 03:32:38 amThis is all very helpful. Thank you.I think in my case it makes sense to buy 2 or 3 different IC's and experiment a bit. I am not designing a circuit to sell a product. This is just a project for me to take my mind off of all the daily obligations and have some fund DIY-ing. So, I'll do just that and experiment a bit. I'm sure I'll end up with a power supply that will be just fine for my future experimental needs. And I'm also using all the other parts from a salvage bin, so buying a few IC's won't break my bank.Again, many thanks to all that took the time to share your knowledge. I'll order the IC's, start breadboarding and if I run into any issues I guess I'll have to ask for more help.Thanks...

author: StillTrying
author_rank: Super Contributor
timestamp: December 15, 2017, 02:15:02 pm
content: If you really wanted the outputs to go below +/- 1.25V, you could quite easily produce a -1.25V from the -22V to allow the outputs to go very close to +/- 0V.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 15, 2017, 05:38:43 pm
content: Quote from: StillTrying on December 15, 2017, 02:15:02 pmYes, I was thinking about that, too.I saw another circuit, described herehttp://www.nutsvolts.com/magazine/article/a_test_bench_power_supply, that uses a zener.I'm in the process of figuring out how to incorporate that trick in the circuit that I want to build and am also searching for the appropriate zener. But the Mouser part number #511-TS821A1Z listed on that page does not return any results at Mouser. When I search DigiKey for "Zener 1.25" I only find surface mount zeners with forward voltage 1.25V @ 200mA. However, I thought I would have to use a zener with reverse voltage of 1.25V, but DigiKey does not have zeners with this spec.So, I guess I don't really know what I should be looking for. Is it a zener with forward voltage 1.25 or reverse voltage 1.25?Thanks...

author: rdl
author_rank: Super Contributor
timestamp: December 15, 2017, 06:03:31 pm
content: Don't use a Zener, use a voltage reference such as the LM385.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 15, 2017, 07:04:11 pm
content: Quote from: rdl on December 15, 2017, 06:03:31 pmOh, I see.Would the AZ432AZTR-E1 be a better choice, as it has output voltage exactly 1.25V?Thanks...

author: Zero999
author_rank: Super Contributor
timestamp: December 15, 2017, 07:09:52 pm
content: Is a regulated power supply really necessary? Check the supply voltage rejection ratio of the op-amp you're using. It might be so high, a regulated supply is unnecessary, as long as large enough filter capacitors are used.

author: rdl
author_rank: Super Contributor
timestamp: December 15, 2017, 11:02:04 pm
content: Quote from: Adinol on December 15, 2017, 07:04:11 pmHaving an exact output voltage is probably not that important. All that's being done is pulling the LM317 adjust pin down to zero by offsetting its internal reference voltage, and the LM317 reference voltage is not likely to be exactly 1.25 volts.

author: StillTrying
author_rank: Super Contributor
timestamp: December 16, 2017, 12:25:27 am
content: The easiest way to produce a stable -1.25V would be to use a low power LM337."Is a regulated power supply really necessary?"The positive 8V/5V supply is just to save needing a 50V opamp.

author: David Hess
author_rank: Super Contributor
timestamp: December 16, 2017, 05:43:13 am
content: Quote from: StillTrying on December 16, 2017, 12:25:27 amThe various easy ways to generate a +/-1.25 volt reference are all about the same cost:1. TO-220 LM317 and LM3372. TO-92 LM317LZ and LM337LZ3. LM385-1.2More complex designs use a separate operational amplifier and reference to control the LM317 and LM337 regulators which are used as protected pass elements so +/-1.25 volt references are not required.

author: Zero999
author_rank: Super Contributor
timestamp: December 16, 2017, 03:55:35 pm
content: Quote from: StillTrying on December 16, 2017, 12:25:27 amI think I misunderstood the purpose of this thread/circuit. I thought it was about a power supply for an op-amp circuit, rather than an op-amp based general purpose power supply.Quite often a PSU for op-amps doesn't need a regulator, because the op-amps themselves reject changes in power supply voltage and stop it from changing the output.As far as using an op-amp as a part of a regulated PSU is concerned: that's common too, although care needs to be taken with phase compensation, otherwise it will oscillated. In this case, C6 on the output of U3 might cause oscillation, as op-amps often oscillate when driving a capacitive load.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 16, 2017, 07:18:51 pm
content: Quote from: Hero999 on December 16, 2017, 03:55:35 pmActually, you were correct. I started this post by asking about the power supplying the OP Amp. Then the thread took a life of its own...In any case, I guess there's many solutions for the reference voltage. Again, perhaps in my case it's just best to order 2 or 3 different components and have fun experimenting. For me, it's all about learning and experimenting, at this point.Thanks...

author: David Hess
author_rank: Super Contributor
timestamp: December 16, 2017, 10:49:16 pm
content: Quote from: Hero999 on December 16, 2017, 03:55:35 pmI explained that in my earlier post. The large value of C6 shunting the output of U3 *is* the frequency compensation in this circuit. Without C6, the fast LF351 will oscillate because of the phase delay produced by the regulator. The output resistance of U3 combined with the large value of C6 reduces the gain below 1 before the total feedback reaches 360 degrees. This is a completely legitimate way to implement frequency compensation (dominant pole compensation) but it has the cost of reducing bandwidth severely which is acceptable in this case because the integrated regulator itself has such a low output impedance and low adjustment pin to output pin drift; after all, by itself it is a regulator with its own feedback loop.The alternatives are to use a much smaller value of capacitance between the output of U3 and its inverting input or to use a slower operational amplifier so no external compensation is required. These would be appropriate choices for a higher performance design.

author: Zero999
author_rank: Super Contributor
timestamp: December 17, 2017, 07:17:39 pm
content: Quote from: David Hess on December 16, 2017, 10:49:16 pmWell with C6 being that high, it probably won't oscillate at all, as the bandwidth will be far too low.I agree about using a slower op-amp. I've built a similar circuit to this before, with the µA741 and it was perfectly stable. I tried applying a load transient, at different supply/output voltages/currents and couldn't get it to oscillate. The negative linear regulator acts as a follower, so doesn't add any gain which would make it unstable. The delay may be a problem. I haven't done any tests to confirm whether it would oscillate, when used with a faster op-amp.Quote from: Adinol on December 16, 2017, 07:18:51 pmPlease post the op-amp circuit you want to power. It it's something like a low gain, high level, audio amplifier, then it probably doesn't need a regulated supply. If the voltage doesn't need to be changed, then there's no need for any potentiometers. Select fixed resistor values, to give the appropriate output voltage or fixed linear regulators, such as the LM78(L)xx (positive) or LM79(L)xx (negative), where L is for low current if you don't need more than 100mA and xx is the output voltage, so LM7812 and LM7912 would give +/-12V at up to 1A and LM78L09 and LM79L09 would give +/-9V at up to 100mA.

author: David Hess
author_rank: Super Contributor
timestamp: December 17, 2017, 09:01:28 pm
content: Quote from: Hero999 on December 17, 2017, 07:17:39 pmThat is the intention. Sometimes this type of compensation is used to present a low output impedance at high frequencies which the operational amplifier itself is not capable of.QuoteNegative linear integrated regulators almost always use NPN output stages so they actually have voltage gain and problematical stability. That is why they *must* have a bulk output decoupling capacitor for stability and may have restrictions on ESR. Low dropout regulators of all kinds have the same issue. This may explain why the unusual frequency compensation method was used here; it would be easier to get working.QuoteThere are also designs where the positive and negative integrated regulators are cross coupled to produce a variable tracking output supply. Shown below is one example.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 18, 2017, 02:14:59 am
content: Quote from: Hero999 on December 17, 2017, 07:17:39 pmAt this time I am only building a bench power supply. I Googled through many schematics and settled on the one I posted above, because it matched a very nice salvaged transformer that I have and want to use. I initially just wanted some clarification so I can order components from DigiKey.I am new to electronics but I believe it makes difference what will be the intended use for a bench power supply.In my case, I want to experiment a lot with audio amplifier circuits. When I Google audio amp schematics I find that some require a +/- power supply, so this is one reason I settled on this schematic. Of course, I will experiment with circuits that require different voltages, which is why I'd like to have the adjustable option.I feel like I've already learned a lot more that I was expecting from this thread and I really appreciate all of you are taking the time to explain things to me.Perhaps my next step should be to revise the above schematic, based on everything I've learned in the past few days, and post my revised schematic here. But I can't work fast, so I need a little time to do this. And I also don't have any software, so I'll have to draw by hand.Thanks...

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 18, 2017, 03:41:39 am
content: OK, this took less time than I thought.So, here is the schematic. I'm sure I made mistakes.Thanks...

author: David Hess
author_rank: Super Contributor
timestamp: December 18, 2017, 04:42:23 am
content: That looks about right. C8 should go between +5 volts and ground and does not need to be nearly that large; 10uF would be better. C7 and D6 should go between the positive output and ground. U3 usually requires a 30pF capacitor between pins 1 and 8 but might work without it in this case.

author: StillTrying
author_rank: Super Contributor
timestamp: December 18, 2017, 01:32:32 pm
content: I think C3 should also go to GND rather than the -1.25V.At 0V/0V output, unfortunately C3 and C6 get 1.25V in reverse, but I think most electrolytics won't mind thattoomuch.Connect the pot's wiper and open end together - slightly safer when the wiper becomes noisy.

author: Zero999
author_rank: Super Contributor
timestamp: December 18, 2017, 01:58:29 pm
content: Here's the circuit I made a long time ago, while I was still a student. It doesn't have any compensation capacitor and it's perfectly stable. There are a couple of other things about the design which are marginal and I wouldn't built is exactly like this again, but frequency compensation isn't one of them.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 18, 2017, 02:38:04 pm
content: Thanks again.I made some revisions (all shown in red).Quote from: David Hess on December 18, 2017, 04:42:23 amI think you misread my handwriting. That was a 470n cap, not 470u. So, I left it 470n. That value is OK, right?Quote from: David Hess on December 18, 2017, 04:42:23 amI fixed that.Quote from: David Hess on December 18, 2017, 04:42:23 amI made that revision, too. Could you please check if my pin numbers are correct? Thanks...

author: David Hess
author_rank: Super Contributor
timestamp: December 18, 2017, 02:39:57 pm
content: Quote from: Hero999 on December 18, 2017, 01:58:29 pmThe 741 has the same relatively slow performance as a 301A with its standard 30pF compensation capacitor so further compensation is not needed in this circuit. The precision version of this circuit might use a slow 308 or OP-07 also without further compensation. The LF351 shown in the original circuit is much faster so requires the 10uF output capacitor or something else. When I used the fast OP-27 or LT1007 in a precision low noise design, the external compensation became pretty complex.Usually it is not really necessary for the output to go all the way down to zero volts; most loads are not going to draw much current at +/-1.25 volts.

author: David Hess
author_rank: Super Contributor
timestamp: December 18, 2017, 02:51:46 pm
content: Quote from: Adinol on December 18, 2017, 02:38:04 pmYes, that will be fine.QuoteThose are correct; you can always check the LM301A datasheet. The 30pF capacitor between pins 1 and 8 makes the LM301A duplicate the performance of a 741 which has this capacitor built in.StillTrying brought up a good point about the voltage across C6 going to negative -1.25 volts. In this circuit with the LM301A and its 30pF compensation capacitor, C6 should not even be needed. If the negative side is unstable without C6, then the value of C11 can be increased to gain the same effect which is something that an operational amplifier with a built in compensation capacitor like the 741 cannot do.I have a funny story about the 741 and 301A involving power supplies. Tektronix used the 741 in their PS500 series power supplies but I have a very late PS503A which came stock from the factory with 301As replacing the 741s and the needed 30pF compensation capacitors soldered to the back of the board. I have no idea why this was done and this change does not show up in any of the detailed service documentation they provided. Maybe they ran out of 741s that day?

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 18, 2017, 03:22:23 pm
content: Wow! I already got a lot more from this post than I expected. I should end up with a very decent power supply thanks to all your help.I made yet another revised schematic.1 - C6 is now dashed, in case a different OP Amp is used.2 - I added fine and coarse output voltage adjustments, based on another schematic I've seen on the internet. Are those values correct?Also, thanks for the PDF (it came in as I was posting my previous reply).

author: StillTrying
author_rank: Super Contributor
timestamp: December 19, 2017, 02:31:28 pm
content: I wouldn't think course and fine pots were really worth the bother on a 0-15V supply.I've often thought that for a 5k pot, you could use a dual 10k with the tracks in parallel to increase the stability and resolution, I bought a dual pot to test the theory a while ago, but never got a round tuit, as usual.

author: David Hess
author_rank: Super Contributor
timestamp: December 19, 2017, 02:49:42 pm
content: I prefer fine and coarse single turn potentiometers to 10-turn potentiometers unless extra stability is required; wirewound 10-turn potentiometers have better absolute and ratiometric stability. In most applications, just a coarse single turn potentiometer is sufficient.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 19, 2017, 04:24:22 pm
content: Quote from: StillTrying on December 19, 2017, 02:31:28 pmThat sounds like a neat idea, also to keep in mind for any future reference.Quote from: StillTrying on December 19, 2017, 02:31:28 pmSounds like you and I have something in common. I got quite a few project bins filled with parts I never got around assembling.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 21, 2017, 01:29:02 pm
content: First of all, I want to thank everyone for taking the time to reply to my questions. This was all very helpful.I ordered the components and will be posting some photos when I put it all together. I'll be experimenting with different pots to see the effects, but I guess I'll settle on a 4.7K multi turn pot that I found at a very good price.One last question (I think important) if you don't mind.Should my output ground be connected to the same ground as the ground from the AC outlet? In other words, are the transformer center tap, the transformer core and body, the enclosure, the heat sinks and the output ground all connected?Thanks...

author: Richard Crowley
author_rank: Super Contributor
timestamp: December 21, 2017, 02:16:27 pm
content: Quote from: Adinol on December 21, 2017, 01:29:02 pmTypically, no. If you examine the "common practice" you will note that the "ground"/0V node is NOT connected to mains green-wire safety ground. It is typical to find the mains ground connected to a green terminal on the power supply front panel so that the user has the option to connect circuit ground to mains ground and ultimately to the crust of the planet if it is appropriate for the use-case.QuoteNO! Pay very careful attention to where the heat-sink tab is connected in the regulator components! The data sheet shows that the LM317 tab is connected to the output node. So it should most certainly be isolated from ground. And the LM337 tab is connected to the input node. There are some fixed, positive voltage regulators whose heat-sink tabs are connected to ground, but most other regulator chips must have their heat sink tabs isolated from circuit ground.

author: Zero999
author_rank: Super Contributor
timestamp: December 21, 2017, 04:24:44 pm
content: As mentioned above, it's better not to connect the 0V rail to mains ground.As far as the heat sink is concerned: an insulating tab should be used, otherwise the two devices should be on separate heat sinks, which are not connected to anything else.

author: Frankentronics
author_rank: Regular Contributor
timestamp: December 21, 2017, 04:42:13 pm
content: Got it! Thank you both for taking the time to explain.