Differences between regulator circuits.

Click For Summary

Discussion Overview

The discussion revolves around the differences between two types of voltage regulator circuits, specifically focusing on the LM7805 regulator. Participants explore the necessity and function of capacitors in these circuits, addressing both theoretical and practical aspects of circuit design.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant questions whether the first circuit can use the regulator from the second circuit, noting both supply a 5V output but seeking clarity on the role of capacitors.
  • Another participant asserts that the second circuit is superior due to the inclusion of capacitors, emphasizing their importance for stability and noise reduction.
  • Concerns are raised about the choice of output capacitor values, with one participant unsure whether to use 10 μF or 0.1 μF, and seeking a method to determine the appropriate value.
  • It is suggested that the output capacitor protects against voltage changes during load transients, with a recommendation to test different values experimentally to observe effects on output voltage.
  • Discussion includes the importance of placing bypass capacitors close to power pins to mitigate inductive effects, with one participant explaining the limitations of using a single capacitor for multiple pins.
  • Another participant questions the necessity of both a 100 nF and a 10 μF capacitor, suggesting that the larger capacitor might suffice, prompting a deeper exploration of capacitor behavior at different frequencies.
  • One participant explains that parasitic inductance affects capacitor performance, indicating that smaller capacitors are more effective at higher frequencies while larger capacitors serve as charge reservoirs.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and effectiveness of capacitor configurations in regulator circuits, indicating that multiple competing perspectives remain without a clear consensus on the best practices for capacitor selection and placement.

Contextual Notes

Participants acknowledge the complexity of determining capacitor values due to unpredictable noise and transient behavior, suggesting that empirical testing may be necessary to find suitable values for specific applications.

Who May Find This Useful

This discussion may be of interest to electronics engineers, students learning about circuit design, and hobbyists seeking to understand voltage regulation and capacitor roles in power supply circuits.

Zalajbeg
Messages
77
Reaction score
3
Hi everyone,

I want to understand how to decide what type of regulator I need to use in a circuit. I believe it will take much time to learn it totally but as a first step I am going to ask the differences between two regulator circuits.

A circuit and the 5V regulator it uses can be seen below:

Circuit1.PNG


Regulator1.PNG


Another circuit uses a different regulator circuit:

Circuit2.PNG


The question is that, cannot the first circuit use the regulator circuit in the second circuit (the one with no capacitor)? If not, why? As both of them supply a 5V output I cannot see the difference. Could you explain me why the capacitors are used?
 
Engineering news on Phys.org
Bobbywhy said:
The best circuit for the LM7805 regulator in your examples is #2. It uses a capacitor on both the input to the regulator and on the output. Each is important: see this for explanation: http://www.learningaboutelectronics.com/Articles/How-do-you-connect-a-voltage-regulator-in-a-circuit
Good luck! İyi şanslar!

I have totally understood the logic. The capacitors are not much important for the first circuit as the noise will not affect much the LEDs. However in the second circuit the battery also supplies the input pin. As the input pin is sensible to 5V the noise is important. So it is important to use the capacitors when the regulator circuit supplies the input pins.

However I have one more question. The picture I sent shows the output capacitor as 10 μF and the page you sent shows it as 0.1 μF. I couldn't make sure how I must decide it. If I can use 0.1 μF, 0.33 μF or a similar magnitude it will be better to me. (As I can use ceramic ones I will make sure that someone will not link it wrong and will not cause a small explosion.).

Could you offer me a method to predict the value?

Çok teşekkürler!
 
bir şey değil!

The capacitor at the output of the LM 7805 functions to protect the output voltage from changing during large transients of load current. It “smoothes” the output voltage.

You could easily test this by selecting a typical value, for instance, 1 or 10 microfarad. Then operate your circuit while monitoring the output voltage with your oscilloscope. Set the “vertical sensitivity” control higher and higher, looking for voltage dips (sags) when the circuit draws current. The larger the current spikes, the more capacitance is needed to avoid voltage drops. Think of it a mechanical shock absorber. If your load does not draw large transient currents, the output capacitor can be smaller.

Your English is excellent!
 
Re your first figure: Although your circuit will probably work as it stands, 'best practice' would be to have two dedicated 100nF bypass caps that are placed close to each power pin (pins 11 and 32).

If you share a single cap between the two power pins as you suggest in your schematic, the pin furthest away from the cap (assuming you place it close to one of the two pins) will see a large series trace inductance. This inductive impedance is the cryptonite of decoupling because it increases with frequency, effectively rendering your decoupling capacitor useless for high frequency noise decoupling.
 
Bobbywhy said:
bir şey değil!

The capacitor at the output of the LM 7805 functions to protect the output voltage from changing during large transients of load current. It “smoothes” the output voltage.

You could easily test this by selecting a typical value, for instance, 1 or 10 microfarad. Then operate your circuit while monitoring the output voltage with your oscilloscope. Set the “vertical sensitivity” control higher and higher, looking for voltage dips (sags) when the circuit draws current. The larger the current spikes, the more capacitance is needed to avoid voltage drops. Think of it a mechanical shock absorber. If your load does not draw large transient currents, the output capacitor can be smaller.

Your English is excellent!

I have understood the logic but it sounds it is hard to determine the magnitudes analytically as the noise is unpredictable. Therefore I will find out the value I need for my design via experimental methods. Your suggestion will work well.

Thank you very much for your nice words and explanations.

Regarding to my English, spell check function of the forum helps me to correct my errors.

@gnurf:

As I don't know much about electronics -because I am a mechanical engineer- it is good to learn details as the one you told. In my first try I will probably use a different controller which is similar to the one in the third figure but I will remember this when I work on a different micro controller. Thank you for it.
 
gnurf said:
Re your first figure: Although your circuit will probably work as it stands, 'best practice' would be to have two dedicated 100nF bypass caps that are placed close to each power pin (pins 11 and 32).

If you share a single cap between the two power pins as you suggest in your schematic, the pin furthest away from the cap (assuming you place it close to one of the two pins) will see a large series trace inductance. This inductive impedance is the cryptonite of decoupling because it increases with frequency, effectively rendering your decoupling capacitor useless for high frequency noise decoupling.

Actually I have thought a bit more about the circuit and have understood that I haven't understood why this 100 nF capacitor is there.

Doesn't the 10 μF capacitor after the regulator behave like a by-pass capacitor too? The 100 nF and the 10 μF capacitors are just parallel. So it seems to me the 100 nF capacitor is useless. Could you explain me the logic of this?
 
Zalajbeg said:
Actually I have thought a bit more about the circuit and have understood that I haven't understood why this 100 nF capacitor is there. Doesn't the 10 μF capacitor after the regulator behave like a by-pass capacitor too? The 100 nF and the 10 μF capacitors are just parallel. So it seems to me the 100 nF capacitor is useless. Could you explain me the logic of this?
It's a good question because from looking at the schematic there's really no good reason why you can't simply place a huge capacitor somewhere and be done with it. Unfortunately, the schematic isn't telling the true story.

A real, non-ideal, capacitor will always be plagued by parasitic series inductance from the component package and connecting traces, and this effective LC circuit will have a resonance frequency beyond which the impedance actually increases with frequency (as opposed to the ever decreasing impedance of an ideal capacitor).

In fact, at higher frequencies, the rated capacitance actually becomes irrelevant and the effectiveness of the decoupling is solely determined by the parasitic inductance. Since the 10uF capacitor is physically larger in size than a 100nF, it will have a larger parasitic inductance associated with it and therefor be less effective for higher frequencies. On the other end, the 100nF capacitor will have little effect for frequencies below the 10uF capacitor's resonance frequency, where the rated capacitance dominates the impedance.

The 10uF is often called a bulk (decoupling) capacitor because it acts as a charge reservoir for the smaller 100nF cap(s); when the logic inside your uC switches, the uC momentarily draws a current spike ("high frequency") from the 100nF decoupling capacitor and then the bulk capacitor recharges the decoupling capacitors until the next transition a half-period later ("low frequency").
 
Last edited:
  • Like
Likes   Reactions: 1 person
gnurf said:
It's a good question because from looking at the schematic there's really no good reason why you can't simply place a huge capacitor somewhere and be done with it. Unfortunately, the schematic isn't telling the true story.

A real, non-ideal, capacitor will always be plagued by parasitic series inductance from the component package and connecting traces, and this effective LC circuit will have a resonance frequency beyond which the impedance actually increases with frequency (as opposed to the ever decreasing impedance of an ideal capacitor).

In fact, at higher frequencies, the rated capacitance actually becomes irrelevant and the effectiveness of the decoupling is solely determined by the parasitic inductance. Since the 10uF capacitor is physically larger in size than a 100nF, it will have a larger parasitic inductance associated with it and therefor be less effective for higher frequencies. On the other end, the 100nF capacitor will have little effect for frequencies below the 10uF capacitor's resonance frequency, where the rated capacitance dominates the impedance.

The 10uF is often called a bulk (decoupling) capacitor because it acts as a charge reservoir for the smaller 100nF cap(s); when the logic inside your uC switches, the uC momentarily draws a current spike ("high frequency") from the 100nF decoupling capacitor and then the bulk capacitor recharges the decoupling capacitors until the next transition a half-period later ("low frequency").

Thanks for your explanation.

Although it seems to me too complicated, at least I can understand I have to use both capacitors to be able to handle both low and high frequencies. I hope I can learn more about it in analog electronic books.
 
  • #10
Zalajbeg said:
Although it seems to me too complicated, at least I can understand I have to use both capacitors to be able to handle both low and high frequencies. I hope I can learn more about it in analog electronic books.
Yes, I guess you could sum it up like that (many do). Maybe it was wrong of me to drag inductance into this, but I don't know of any other way to approach it.

A slightly less verbose version of post #8: Both capacitors are charge reservoirs with a certain amount of parasitic series inductance. This inductance limits the rate at which the capacitors can provide the end user (be it a digital IC or another cap) with charge. Big capacitors require big packages, and big packages means more inductance, so big capacitors can provide a lot of charge albeit over a longer time. Smaller caps come in smaller packages with less parasitic inductance, so small caps can provide a small amount of charge but do so quickly.

Anyway, that's my take on it. Good luck!
 
  • #11
gnurf said:
Yes, I guess you could sum it up like that (many do). Maybe it was wrong of me to drag inductance into this, but I don't know of any other way to approach it.

A slightly less verbose version of post #8: Both capacitors are charge reservoirs with a certain amount of parasitic series inductance. This inductance limits the rate at which the capacitors can provide the end user (be it a digital IC or another cap) with charge. Big capacitors require big packages, and big packages means more inductance, so big capacitors can provide a lot of charge albeit over a longer time. Smaller caps come in smaller packages with less parasitic inductance, so small caps can provide a small amount of charge but do so quickly.

Anyway, that's my take on it. Good luck!

Thank you very much for your explanation. Actually it was good to learn about inductance. I think my problem was that I considered the capacitors as ideal. Therefore the schematic didn't seem to me like a LC circuit and I thought the small capacitor is useless.

By the way I want to learn more about these circuits. Could you advise me any book about the topic?
 
  • #12
Hello again everyone. I have designed a circuit and made the PCB. However there is a loose contact on a line and I want to build a separate link for this line.

Let us assume, there is a loose contact on the circuit in the first picture (the first post of the topic.) and it is on the line which goes to the pin RC3. Could I link the two separate point with a 100 Ohm resistor or do I have to link them with a copper wire?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
5K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 63 ·
3
Replies
63
Views
8K
  • · Replies 32 ·
2
Replies
32
Views
4K