element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Design Challenges
  • Challenges & Projects
  • More
Design Challenges
Forum 25-45 DC in, I need 12V DC out.
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 32 replies
  • Answers 18 answers
  • Subscribers 11 subscribers
  • Views 4515 views
  • Users 0 members are here
Related

25-45 DC in, I need 12V DC out.

maroka
maroka over 8 years ago

I need stable 12v for the LED turn signals on my motorcycle but the bike doesn't have a battery (from the factory) so everything is in AC. I used a bridge rectifier (KBPC5010) which outputs anywhere between 25-45 volts DC (maybe even more since I didn't rev it too high and it depends on engine RPM) but my flasher relay works on 12V. I made a circuit containing a 1000uF capacitor, 7812 stabilizer and 2 smaller ceramic capacitors, the components were connected in that order. It worked, the output I got was a stable 11.9V (according to my butchered multimeter). I put all of that in a plastic shroud from a glowplug relay and hot glued everything in place. It worked for a little bit until it stopped working, the capacitors are fine but the 7812 stabilizer shows no voltage on the output pin. My question is, did I fry it with too much voltage coming out of the rectifier, or was my mistake inadequate cooling? What would you guys suggest I build to make my turn signals work? Thanks in advance!

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 8 years ago in reply to WarrenW +4 verified
    @ WarrenW - I don't think your values will work very well:: Suppose the load current is 1A, the TIP3055 isn't accurately specified for current gain at Ic = 1A but interpolating from the ST and On Semi…
  • WarrenW
    WarrenW over 8 years ago +3 suggested
    Firstly, msimon is correct the input voltages of a 7812 will not withstand prolonged high voltage. There is a high voltage equivalent but it may be better to consider a transistor series regulator. I have…
  • WarrenW
    WarrenW over 8 years ago in reply to maroka +3 suggested
    What was the resistor value you were using? The Zener sounds like it was working overtime and dissipating a bit of heat! I would really suggest you look at the components I indicated and the values. The…
Parents
  • WarrenW
    0 WarrenW over 8 years ago

    Firstly, msimon  is correct the input voltages of a 7812 will not withstand prolonged high voltage. There is a high voltage equivalent but it may be better to consider a transistor series regulator.

    I have attached a simple circuit for reference. Select a transistor that has enough voltage Vce rating and current.

    Filter capacitors do not need to be huge. Input filter is the most critical. Make it perhaps 470Uf 63V. Zener diode is 12 volt.

    image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • maroka
    0 maroka over 8 years ago in reply to WarrenW

    Thanks for the help! I'll see what I can come up with. Can you perhaps suggest some components I should use, like the transistor and the resistor? I went on the local hardware store's website and there so many different kinds that it's overwhelming. Once again, I apologize for asking such questions. Also, about the capacitors, the ones apart from the input, can I get away with using ceramic capacitors?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • WarrenW
    0 WarrenW over 8 years ago in reply to maroka

    Hi,

     

    What you want to do is make sure that the zener is regulating - as suggested remove the transistor. Your 18V transformer with a bridge should be fine for confirming the zener is indeed regulating. This simple circuit is effectively known as an emitter follower series regulator. The base of the transistor is held at the zener voltage and the output (emitter) will be approx. 0.6 volts lower than the zener voltage (with a small load on it - less than 0.5 amp). The regulation will be pretty stable as the current into the load increases. If you are using a BDX33 this is a darlington arrangement (effectively 2 transistors in one package), it requires less drive current into the base as you have 2 transistors to 'amplify' the current. With 2 transistors you have 3 base emitter junctions each at 0.6v so the output voltage will be 1.2volts lower than the zener voltage, but would be VERY stable under even small loads.

     

    Assuming the Hfe (current gain) is 100 and you want 1 amp of output. 1 amp divided by the gain would be the required input current to the base. Or in this case 10mA. For good regulation the zener current should be approx. 5 times the base current so let us assume we will want a total of 60mA (10 to the transistor and 50 to the zener). The zener voltage is 12 volts and when running at 50mA (P=I*V) the power dissipated would be 600mW so a 1 Watt zener is the smallest you would go for.

     

    The real problem you have is the very wide range of input voltage. If we say you have 45 volts of input, the voltage dropped across the resistor is going to be 45 -12 = 33 volts. We have to supply the zener / transistor with 60mA so that makes the resistor value 33/.06 = 550 ohms (closet is 560) and the wattage will be 33*.06 or 2 watts.

     

    As the input voltage decreases the amount of voltage across the resistor drops and therefore the current into the zener /transistor drops as well. At 24 Volts input we have only 12 volts across a 560 ohm resistor = 20mA  if your load is 1 amp and the transistor is 100 gain then you have 10mA going into the base and 10mA into the zener. It will still regulate but is now dependant upon the characteristics of the zener.

     

    Best option is to find a higher gain transistor as this will allow you to drop the current through the zener / transistor combination. A TIP142 may be a better option with a VCE of 50V allowing you input voltage to get close to 60V. It also has a current gain of 1000. This means for a 1A load you only need to supply 1mA into the base! you can run with 5 -10mA zener current and this means your zener can go down to a 400mW version if needed for better regulation. The resistor value would now be 3300 ohms to give you a 10mA current flow into the zener /transistor at the 45V input voltage.

     

    When the input voltage drops to 24V the current in the zener / transistor would then be approx. 4mA. All good!

    The resistor wattage also reduces to a 1/2 watt version.

     

    Hopefully this long drawn out response will be of some assistance.

    image

    Warren.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • maroka
    0 maroka over 8 years ago in reply to WarrenW

    Allright, just got done testing the zener with the transformer I got, it was reading around 13V across it while radiating a considerable amount of heat. I think I baked it back at the lab because there was some smoke coming out when my teacher tested the zener, I guess the PSU there supplied too many amps. Flipping it around gave me around 0.03V while attached to my transformer but it was buzzing a lot louder. Warren, just to confirm, you're suggesting I build a new circuit with the values you stated above? I once again apologize for my newbie questions, it's all a little complicated to me.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • WarrenW
    0 WarrenW over 8 years ago in reply to maroka

    What was the resistor value you were using?

    The Zener sounds like it was working overtime and dissipating a bit of heat!

    I would really suggest you look at the components I indicated and the values. The calculations are all based on Ohms law for power and voltages etc. P=V x I , V=IxR, I=V/R, R=V/I.

    Have a look at this for a better explanation Ohms Law Tutorial and Power in Electrical Circuits

     

    With a TIP142 transistor the power dissipations go right down due to the gain of the device.

     

    I would recommend you build the circuit. Sounds like the zener may now be fried. Replace it to be safe.

     

    Cheers

    Warren.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • maroka
    0 maroka over 8 years ago in reply to WarrenW

    So I just retested the zener and it seems that there was some dirt in the solder or something else which was preventing the current from going through the zenner to close the circuit. Right now with just the zener and the 2K2 resistor attached to my transformer I'm getting 7.8V across the zener and no smoke. Last time I had just connected the diode to my transformer with no load on it, which I'll admit wasn't very smart but it didn't want to work with the resistor.  I will see when I can go to the store to buy the hardware. Thank you for the help guys, I really appreciate it. I'll post an update when I mount it on the bike.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • maroka
    0 maroka over 8 years ago in reply to WarrenW

    Hey there, sorry for the delay. I was really busy lately and this project wasn't top priority. I'm going to build the circuit tomorrow with the TIP142, but reading the replies got me a little confused, so I have a few questions. What zener should I get, the same as before or a "better" one (which Michael suggested)? Will the 470uF 63V cap that I have be sufficient for the input? And last but not least, I need a 3K3 resistor right?

     

    Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • WarrenW
    0 WarrenW over 8 years ago in reply to maroka

    If you use a TIP142 you will only need a 3k3 resistor. The issue with that is that it will limit the current through the zener to smaller values. A larger wattage zener has a slightly softer regulation curve than a smaller one. Given for example you have a 45volt input to the regulator and a 12 volt zener. The difference in voltages is therefore 45v-12v = 33v. Using a 3k3 resistor results in a current flow in the zener of 33v/3300 ohms = 10mA. the wattage dissipated by the zener will be 12v x 10mA = 120mW so a 400mW zener rating would be fine.

    Oh and I just had a thought, you are running the generator voltage through a rectifier right? If not that could be the cause of the issues you have had with the diode smoking.

    A 470uF capacitor should be ok. As a general rule - allow 1ooouF per amp per volt of loss of regulation at 50Hz. your motor will be running at I guess at least 1200 rpm at idle (20Hz) and maybe 7500 at full rpm (125 Hz) so there is a bit of guesswork there.

     

    If you do NOT have a rectifier from the output of the generator to the input of the regulator you can add a diode into the feed +ve line (use a 5Amp rated device) or better still connect the output of then generator to a bridge rectifier and then to the regulator.

    I hope this helps.

     

    Cheers

    Warren.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • maroka
    0 maroka over 8 years ago in reply to WarrenW

    I do have rectified voltage at the input. I'm using a KBPC5010 brige rectifier before the regulator. So if I understood everything correctly, if I just get a 3k3 resistor, a TIP142 transistor and I replace the fried zener, it should work. Thanks for the help, will update tomorrow. Have a nice evening (or day).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • WarrenW
    0 WarrenW over 8 years ago in reply to maroka

    YES YOU HAVE THAT CORRECT.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • maroka
    0 maroka over 8 years ago in reply to WarrenW

    I got it all wired up today and it worked! Revving the bike didn't change neither the frequency of the flashing nor the brightness, so I guess it's safe to say that it works! Huge thanks to everyone who participated and helped educate me on the subject. And once again I apologize for being a such a slow learner.

     

    Take care

     

    -Vladimir
    Edit: It's really difficult to select the correct answer, since they are all correct image. I think that Michael's answer will be easier to understand by someone who didn't read the whole thread. Don't get me wrong, I went with Warren's solution which works great! I just think that Michael's solution is easier to follow by newcomers to the thread, since it's in a single message. I hope I don't get anyone mad.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • WarrenW
    0 WarrenW over 8 years ago in reply to maroka

    Awesome stuff. I am glad that we could be of assistance. Learning by remote can be a very hard experience. I would have to say that you have done extremely well and taken advice on board that ultimately has helped you get your project operational.

    I also ask for assistance when stumped. No-one can know everything. I pays to draw on others experience to broaden your own knowledge base.

     

    Well done!

     

    Cheers

    Warren.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • WarrenW
    0 WarrenW over 8 years ago in reply to maroka

    Awesome stuff. I am glad that we could be of assistance. Learning by remote can be a very hard experience. I would have to say that you have done extremely well and taken advice on board that ultimately has helped you get your project operational.

    I also ask for assistance when stumped. No-one can know everything. I pays to draw on others experience to broaden your own knowledge base.

     

    Well done!

     

    Cheers

    Warren.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube