Previous in Forum: Hermetically Sealed Transformers   Next in Forum: Should Mobile Power Generators be Grounded?
Close
Close
Close
27 comments
Rate Comments: Nested
Member

Join Date: Jun 2009
Location: Quebec, Canada
Posts: 7

From 24-VAC to 9-VDC or 5-VDC

06/09/2009 4:19 PM

Hi sir,

here is my problem,

I'm using a LM324 for controlling the effect of 2 LEDs with 2 transistors 2N3904 + 2N3906 ) It's working very well with a standard 9Volts Battery.

I would like to change the input of it to use standard 12VAC and/or 24VAC. to have more LEDs ( 4 to 6 LEDs )...

I have tried several combinaisons and it doesn't start.

Soneone told me that I need a Regulator ( Mosfet ) and add several components to it like; 2 or 3 Capacitors, Diodes etc...

Does it exist something like a Chip or an IC to replace all that ?

Do you have an IC number for it ?

If you need more details, let me know of,

Vitalimus

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: El Lago, Texas, USA
Posts: 2639
Good Answers: 65
#1

Re: From 24-VAC to 9-VDC or 5-VDC

06/09/2009 5:24 PM

use a full bridge rectifier to convert your AC to DC, then use a linear voltage regulator (LM317, for instance). You can google "dc power supply design" for more info.

Register to Reply
3
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#2

Re: From 24VAC to 9VDC. or 5VDC.

06/09/2009 5:28 PM

Yes, you would do well with a rectifier and filter to provide the DC supply and a 3 terminal adjustable regulator such as an LM317K T or S (commercial grade LM117 is Mili ) to provide the regulated 9 volts at 1.5 amps. If you are not using much current the heatsink will not be necessary. The LM317 is internally protected from overheating, output shorting.

R2 would be about 1.6 kohm for 9 volts output in this circuit.

R2 would be about 880 ohm for 5 volts in this circuit.

A permanent meter is not required for fixed voltage outputs.

I don't know what you are doing with the LM324 Quad Op Amp and complimentary transistors to control your LEDs so that is as far as I can go until you can provide more information.

Register to Reply Good Answer (Score 3)
Member

Join Date: Jun 2009
Location: Quebec, Canada
Posts: 7
#3
In reply to #2

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 12:50 AM

Hi and Thanks for your quick reply,

Here is a Link that shows what I'm trying to atchieve ...

Go to: http://ourworld.compuserve.com/homepages/Bill_Bowden/page5.htm

near the middle of the page you will see a Title ( Fading Color LEDs ) with lot of texts, below that there are 2 drawings;

#1 is with LM1458

#2 is with LM324 ( The one that I am working with. )

It work very good with a 9 Volts Battery ( I love this Effect ! ) but I want to be able to use it with a 12 & 24VAC. current.

Everybody want me to use a LM317 with Capacitors, Resistors etc...

I'm very limited in space with my PCB. ( 1.500" x 1.650" )

My question is:

Is there somewhere an IC that would replace the LM317 + all other components that need to be added and that will drop the voltage considerably so I can put 3 LEDs per transistor and still use this LM324.

( There most be something somewhere ! )

Thanks,

Vitalimus

Register to Reply
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#4
In reply to #3

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 2:48 AM

So it is a Free-running multivibrator driving complimentary transistors.

The circuit below illustrates two pairs of LEDs that operate out of phase so as one pair slowly illuminates, the other pair will fade.

With the low current drain on your power supply you can use an LM78M08, 8 Volt, 0.5 Amp, TO202 package, Fixed regulator. No adjustment network. Your Rectifier and Filter Capacitor will be smaller value as you don't need so much filtration for such a small current draw. Your dc input has to be about 15 Volts to work properly.

Register to Reply
Member

Join Date: Jun 2009
Location: Quebec, Canada
Posts: 7
#8
In reply to #4

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 10:15 AM

Hi sir,

Yes this is the one ...

Like I said, with a 9 volts battery, everything is working ver well.

Now what I would like to do is to use a standard 12VAC. and 24 VAC. current from an wall outlet to start this project....

I cannot use a standard power supply ( no space )

Is there a regulator already made that will transfer the AC to DC. without having to add all those components?

Thanks,

Vitalimus

Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#9
In reply to #8

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 10:27 AM

What about a "plug top" supply.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Member

Join Date: Jun 2009
Location: Quebec, Canada
Posts: 7
#11
In reply to #9

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 10:41 AM

Hi Randall,

No I cannot use this type of power supply.

My application is very special and I need to use the existing current ( 12VAC. )

Imagine that you have 30 Lamps screwed on a Wall and that had already a 12VAC. current in it ... I have to use this current, I don't haveroom or space in the Lamp to include a little power supply, I need to design a PCB. with LEDs and having an effect like the one from the LM324.

thanks,

Vitalimus

Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#12
In reply to #11

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 11:26 AM

The problem is that the 12VAC current you keep referring to is actually 120 Volts Alternating Current. An LED requires between about 1½ and 4 Volts to operate: if you don't "transform" the mains down to the voltage your working at you will just be wasting 120X0.02 = 2½ Watts and you will need to get rid of the heat somehow.

What about those little lights they put in mains distribution extension leads.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#14
In reply to #11

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 2:32 PM

I have 12VAC track lighting in my garage so I am assuming you have a similar electrical source to work with.

You need a way to rectify, filter, and reduce the voltage to about 9 volts.

Rectifying and filtering 12 Volts ac gives you an unstable no-load voltage of about 15 volts.

This circuit is a voltage stabilizer that reduces to a lower voltage by dissipating heat from "R".

"+" would be the rectified Voltage fed through "R".

"D" would be a 9 volt Zener that provides 9 Volts stable output.

Swap the positions of "D" and "R" and "D" would drop the input voltage by 9 volts and "R" will be the load of your Blinker circuit. "D" would have to be a Zener value that drops the voltage to the desired value.

If "+" is 15 Volts then the Zener would be 6 Volts to give you 9 Volts out.

That is about as basic as it gets.

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15602
Good Answers: 982
#15
In reply to #14

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 2:41 PM

While this is easy, this won't work without rectification and filtering. A simple variation of this can produce a stable stepped down voltage once my previous questions are answered.

On that note, I do not need to know values to great precision, approximate starting points will easily do.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#16
In reply to #15

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 2:56 PM

Hi Red,

In my recent post I said: "You need a way to rectify, filter, and reduce the voltage to about 9 volts. Rectifying and filtering 12 Volts ac gives you an unstable no-load voltage of about 15 volts."

Did you miss it somehow?

Jon

Register to Reply
Member

Join Date: Jun 2009
Location: Quebec, Canada
Posts: 7
#19
In reply to #16

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 3:06 PM

Hi Jon,

No I did not miss it,

I'm trying to find out something that will be much simpler like an IC CHIP or similar to replace the Rectifier - Capacitors - Diodes - Résistors to rectify the current because my space on my PCB. is limited ( 1.500" x 1.500" )

Thanks,

Vitalimus

Register to Reply
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#21
In reply to #19

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 3:14 PM

Vit,

The "did you miss it" was addressed to Redfred's comment.

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15602
Good Answers: 982
#23
In reply to #21

Re: From 24VAC to 9VDC. or 5VDC.

06/11/2009 10:11 AM

No, I did not miss the rectify and filter comment. My point was that the resistor and zener diode you showed was not doing rectification and filtering. Your earlier comment did not state that the resistor and zener will not do the rectification and filtering. My point is to fit all components of an AC to DC power supply circuit inside 2.25 square inches, requires more information than we have. Your space limitation is larger than a design I've already made to convert 24 VDC to 5VDC. In that case I knew all of the questions I'm asking you so I could proceed. To properly size the filter the frequency of the AC should be known. To scale the voltage changing circuitry the initial voltage range must be known. To prevent human or equipment damage, one should know the expected environment. I also have the luxury of surface mount circuit board fabrication and assembly.

I am willing to help those who just require some guidance. My previous post listing all of my concerns were the collection of things that immediately came to my mind of what needs to be known to successfully meet the limitations you've specified. Should you answer some or all of my questions, I'll offer more refined suggestions. That is unless I feel the new information makes this supply implausible. Then I'll explain why I think you're exceeding practical limits.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply Score 1 for Good Answer
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#25
In reply to #23

Re: From 24VAC to 9VDC. or 5VDC.

06/11/2009 2:42 PM

Ok. You are looking at the whole picture as I should have while including getting the voltage down to 9 volts dc without more loading.

Sounds like you could do his whole project from start to finish using his size limitation and the latest miniaturized technology.

Register to Reply
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#22
In reply to #19

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 3:27 PM

The cel-phone charger in my car is even smaller and without all of the hardware it may fit in yours.

It can run on 12 and 24 volt electrical systems.

Register to Reply
Member

Join Date: Jun 2009
Location: Quebec, Canada
Posts: 7
#26
In reply to #22

Re: From 24VAC to 9VDC. or 5VDC.

06/11/2009 3:56 PM

Hi Kudukd,

You maybe right but there is my situation,

I cannot use surface mount parts, my eyes are not good for that, I need to use throught holes parts and those parts are bigger than the others.

Vitalimus

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15602
Good Answers: 982
#27
In reply to #26

Re: From 24VAC to 9VDC. or 5VDC.

06/11/2009 4:13 PM

Ok, so things can now get much tighter but not impossible. Use http://www.newark.com/multicomp/1w06/bridge-rectifier-1a-600v/dp/15J2227

for your bridge rectifier. It's a through hole part that's smaller than most. Identify how much current your blinking light circuit draws. Easiest method is to just measure with an ammeter the battery driven version you have. This will determine if you must use a switching supply or the simple linear rectifier and what capacitance size for the filter capacitor.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#18
In reply to #15

Re: From 24VAC to 9VDC. or 5VDC.

06/10/2009 3:02 PM

Red,

While I was the preparing the first response in this thread somone slipped one in about changing AC to filtered DC

Take a look at entries 1 and 2.

Jon

Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#5

Re: From 24-VAC to 9-VDC or 5-VDC

06/10/2009 4:50 AM

Where is your 12 or 24 V AC coming from?

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Guru
Hobbies - Fishing - New Member

Join Date: Jun 2006
Location: Rochester, NY
Posts: 867
Good Answers: 11
#6
In reply to #5

Re: From 24-VAC to 9-VDC or 5-VDC

06/10/2009 7:57 AM

I am thinking he means 120Vac or 240Vac? That would be "standard."

__________________
Eric
Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#7
In reply to #6

Re: From 24-VAC to 9-VDC or 5-VDC

06/10/2009 9:51 AM

Mains! On a 1½"² PCB?

But, my worrying gut feeling is that you may be right.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Guru
Hobbies - Fishing - New Member

Join Date: Jun 2006
Location: Rochester, NY
Posts: 867
Good Answers: 11
#10
In reply to #7

Re: From 24-VAC to 9-VDC or 5-VDC

06/10/2009 10:31 AM

Don't open up your average hair blow dryer then, you'll go into shock....

__________________
Eric
Register to Reply Off Topic (Score 5)
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15602
Good Answers: 982
#13

Re: From 24-VAC to 9-VDC or 5-VDC

06/10/2009 1:17 PM

There are many ways this can be done. In all scenarios I can think of, there is no single magic component though that will do what you state and imply. So a circuit design will have to be crafted. But you have to many uncertainties to provide simple answers. Here are a few questions you should answer before proceeding:

  • What is your nominal supply voltage? 12VAC, 24VAC 120VAC or 240VAC each voltage produces their own circuit design considerations.
  • What is the nominal frequency of the AC power? 60 hertz, 50 hertz, 400 hertz again each frequency produces different considerations.
  • Can you fabricate this design using surface mount components? This will permit smaller packaging but likely more sophisticated assembly than you may have.
  • Do you have any in-rush current limitations?
  • How much power will the supply provide? Your description implied unspecified expansion.
  • It appears that you won't need a very tightly controlled output voltage, is this true?
  • How much power can the supply dissipate?
  • Any unusual environmental considerations? Explosive atmosphere, temperature extremes, humidity, water submersion, etc.

That's at least a good first batch of questions.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Member

Join Date: Jun 2009
Location: Quebec, Canada
Posts: 7
#17
In reply to #13

Re: From 24-VAC to 9-VDC or 5-VDC

06/10/2009 3:02 PM

Hi Red,

Here are some answers

Nominal voltage is 12VAC - 60Hz.

Yes I can fabricate a PCB.

Explain ( in-rush current limitatrions )

Environmental considerations ( very little humidity ) Room tempered at 60 to 65°F. in winter and 65 to 70°F. in summer.

Hope those answers will help,

Thanks

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15602
Good Answers: 982
#24
In reply to #17

Re: From 24-VAC to 9-VDC or 5-VDC

06/11/2009 11:23 AM

Sorry, when I flew through the earlier postings I missed your reply answering some of my questions. I don't want to do a complete supply design here (I normally get paid to do that ) but I certainly will help you design one yourself.

Ok, as others here have suggested, go with a full bridge diode package to rectify. This may at first seem like a large part but you can locate surface mount components (the Vishay DF005S thru DF10S series will do well, Newark has a few DF08S available). This doubles your filter frequency, so the filter capacitor can be smaller. The current drawn off of this capacitor every 1/(120HZ) will determine how much ripple gets produced and therefore what value capacitor will be used. (More on this later.)

Now, the first time this capacitor gets charged is the in rush current. Depending on the peak current your source can or cannot tolerate, you might add a small ohmic value resistor between the diode bridge and capacitor to limit the in rush current.

Now the peak voltage of a sine wave is Vp=√(2)*Vrms so 12VAC produces a peak voltage of about 17 volts. So the peak voltage on the capacitor will be 16.4 volts when you include the diode drop. Since you are looking for a 5VDC output, your ripple on the filter capacitor can be quite safely 10 volts peak to peak.

Knowing this you can now choose between circuit types and topologies. A linear regulator circuit like the previous resistor and zener circuit or just a simple all in one linear regulator like the 78LS05 linear regulator so many companies manufacture will produce a very clean, voltage at the cost of a loss in efficiency. For in your case a linear regulator will be dissipating twice as much power as your entire regulated circuit. If your regulated circuit will only draw 0.1W this won't be a problem. But you can see that this can become a problem. More complicated switching regulation like the LM2594M-5.0 will require a few more parts (they'll fit inside your foot print) but will work more efficiently and thus not dissipate much additional heat load.

Well there you go, that's my approach for you.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru

Join Date: Jan 2009
Posts: 1011
Good Answers: 25
#20

Re: From 24-VAC to 9-VDC or 5-VDC

06/10/2009 3:09 PM

Vitalimus,

My tiny cel-phone charger can convert 100 to 240 Vac 50 - 60 Hz to 5 Volts 0.7 ma.

It is about the size of a "D" cell.

Jon

Register to Reply
Register to Reply 27 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

bhankiii (1); ca1ic0cat (2); kudukdweller9 (9); Randall (4); redfred (5); Vitalimus (6)

Previous in Forum: Hermetically Sealed Transformers   Next in Forum: Should Mobile Power Generators be Grounded?
You might be interested in: IC Modems, IC Timers

Advertisement