Author Topic: LM7812  (Read 1572 times)

0 Members and 1 Guest are viewing this topic.

Offline glinjikTopic starter

  • Regular Contributor
  • *
  • Posts: 200
  • Country: gb
LM7812
« on: March 05, 2022, 02:03:58 pm »
Hi I'm building a small project that requires a 12v reg lm7812 I know it requires 2 caps one electrolytic the other is a 0.33uf cap I'm assuming that it should be a ceramic disc cap, or can I get away with something else?
All the truth in the world adds up to one big lie (Bob Dylan)
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8110
  • Country: us
  • Retired, now restoring antique test equipment
Re: LM7812
« Reply #1 on: March 05, 2022, 02:53:54 pm »
For the recommended minimum 0.33 uF capacitor at the input to the 78xx series, I usually install a 0.47 uF X7R ceramic (leaded MLCC for through-hole construction), but I have used 0.47 uF polyester (Mylar), which takes up much more space.  For the original 78xx, they are prone to oscillation if you omit this part.
 
The following users thanked this post: glinjik

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 7972
  • Country: us
Re: LM7812
« Reply #2 on: March 05, 2022, 03:14:01 pm »
The input cap can be almost anything and it can be bigger than 0.33uF without any issues.  A 10uF electrolytic is not uncommon, although probably not necessary. The datasheet will tell you that it can be omitted if the regulator is close to other filter capacitors.  The output capacitor should be small and preferably either ceramic or film.  If the output capacitor or the capacitance of the load is greater than 10uF, you may need a supplemental protection diode across the regulator to prevent the load capacitance from backfeeding and damaging the regulator.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: glinjik

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2478
  • Country: gb
  • Recovering Electrical Engineer
Re: LM7812
« Reply #3 on: March 05, 2022, 03:23:02 pm »
https://www.ti.com/product/LM7800 page 1!
Add a single protection diode, say a 4001 to protect against input shorts.
 
The following users thanked this post: glinjik

Offline glinjikTopic starter

  • Regular Contributor
  • *
  • Posts: 200
  • Country: gb
Re: LM7812
« Reply #4 on: March 05, 2022, 03:56:08 pm »
thank you all here is what i came up with
All the truth in the world adds up to one big lie (Bob Dylan)
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 7972
  • Country: us
Re: LM7812
« Reply #5 on: March 05, 2022, 04:50:27 pm »
thank you all here is what i came up with

I'd say you should swap the capacitors, if you even need 100uF for any reason--like high source impedance.  The regulator will respond reasonably quickly to input and load variations and you only need to use capacitors to filter out higher frequency variations that the regulator can't respond to.  The purpose of that protection diode is to protect against large output capacitance in the load that happens to already be there, but there's typically no reason to expressly add it yourself.


A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: glinjik

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8110
  • Country: us
  • Retired, now restoring antique test equipment
Re: LM7812
« Reply #6 on: March 05, 2022, 05:19:54 pm »
Since the introduction of the 78xx series, the datasheets have always required a 0.33 uF or so capacitor directly at the input to prevent oscillation, unless the leads from the previous capacitor are short.
The output capacitor is optional, but is often a good idea.  Note that the rising output impedance with frequency essentially defines an inductance, which is important to stability questions.
 
The following users thanked this post: glinjik

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16947
  • Country: us
  • DavidH
Re: LM7812
« Reply #7 on: March 06, 2022, 11:28:11 pm »
The input decoupling capacitor is only required if the regulator is far from the input filter capacitors; a small ceramic or film capacitor is typical but an electrolytic capacitor can be used.  The output capacitor should be a small bulk decoupling electrolytic capacitor of like 10 to 100 microfarads per amp.  Ceramic or film decoupling capacitors are placed at the loads; they do not do anything useful directly at the output of the regulator.
 
The following users thanked this post: glinjik


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf