Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Differences between regulator circuits.

  1. May 20, 2013 #1
    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?
     
  2. jcsd
  3. May 20, 2013 #2

    Bobbywhy

    User Avatar
    Gold Member

  4. May 20, 2013 #3
    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!
     
  5. May 20, 2013 #4

    Bobbywhy

    User Avatar
    Gold Member

    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!
     
  6. May 20, 2013 #5
    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.
     
  7. May 20, 2013 #6
    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.
     
  8. May 22, 2013 #7
    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?
     
  9. May 22, 2013 #8
    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: May 22, 2013
  10. May 23, 2013 #9
    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.
     
  11. May 23, 2013 #10
    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!
     
  12. May 24, 2013 #11
    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?
     
  13. Jun 4, 2013 #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?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook