Electronic Circuits and Projects Forum



PWM a 12v bulb

12 Last »
  1. #1
    Conrad_Turbo Conrad_Turbo is offline

    PWM a 12v bulb

    I want to build something that can dim an automotive bulb from 100w from full brightness to just glowing. I will be using a micro controller to do the PWM, but I am not sure where I should look in terms of a simple 12v (14.4v when the engine is running) PWM controller for a resistive load. Any suggestions to get me started. If it's just a few components to source I can easily build on that.

    Doing some searching, an IRF530 looks like it could work?

    http://www.datasheetcatalog.org/data...ild/IRF530.pdf

    Run a microcontroller PWM to control the mosfet to control the 12v light?
    Last edited by Conrad_Turbo; 30th March 2012 at 09:07 PM.

  2. #2
    alec_t alec_t is offline
    The principle is ok, but that FET has a specified 'on' resistance of 160mΩ, so will dissipate about 10W when the bulb is on. It will get hot. Better (lower resistance ) FETs are available.
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  3. #3
    duffy duffy is offline
    Like Alec said, there are better mosfets. If you can stand dealing with a surface-mount part, you might try a IRFH6200TR2PBF. This has an RDSon of 1.2mΩ with a 4.5V gate voltage. This will dissipate a mere .083W driving that 100W bulb - won't even get warm. Costs less than $3.
    0
    Please respond to items in forum, not in private messages.

  4. #4
    KeepItSimpleStupid KeepItSimpleStupid is offline
    BTW, this will work nicely. http://www.jameco.com/webapp/wcs/sto...0001_120539_-1

    There will be an oddity at the low brightness level though. if you were to plot intensity vs %ON, there will be a difference for up/down, especially at the low duty cycles. In fact, the lamp may not even turn on.
    0

  5. Thread Starter #5
    Conrad_Turbo Conrad_Turbo is offline
    I could possibly make that SMD chip work...wow it is light years better than the one I suggested. 45A!?!? I wouldn't mind spending a few extra bucks for a non-SMD unit though, just to make assembly easier and to know that it is heatsinked properly. However if there isn't something like that I could make it work. I'm going to be driving two lights total.

    KISS, something like that would work, but I will be using the microcontroller to do the PWM. I just need the muscle to control the current of the lights.
    0
    Last edited by Conrad_Turbo; 31st March 2012 at 03:35 AM.

  6. Thread Starter #6

  7. #7
    duffy duffy is offline
    That will work fine.
    0
    Please respond to items in forum, not in private messages.

  8. #8
    bountyhunter bountyhunter is offline
    Quote Originally Posted by Conrad_Turbo View Post
    I want to build something that can dim an automotive bulb from 100w from full brightness to just glowing. I will be using a micro controller to do the PWM, but I am not sure where I should look in terms of a simple 12v (14.4v when the engine is running) PWM controller for a resistive load. Any suggestions to get me started. If it's just a few components to source I can easily build on that.

    Doing some searching, an IRF530 looks like it could work?

    http://www.datasheetcatalog.org/data...ild/IRF530.pdf

    Run a microcontroller PWM to control the mosfet to control the 12v light?
    You can even use a simple 555 timer circuit and a pot to adjust the pulse width.
    0

  9. #9
    MrAl MrAl is offline
    Hi,

    As already pointed out, the bulb will not dim in accordance with the pulse width but will dim more than the pulse width would have you believe. The reason for this is because the bulb voltage vs brightness varies as a power law, not a linear one. So at 75 percent of max pulse width you wont get 75 percent of max light output but actually less than that. At 50 percent pulse width you'd get much less than 50 percent of max light output.

    Since you are using a micro controller however you could program it to sense the potentiometer position and adjust the pulse width based on that and the control law for the bulb. You could discover the law for the bulb by setting the PWM to several levels and then measuring the light output, then using that data as a lookup table and interpolate between table entries, or do a curve fit to fit an approximate curve for the control law of the bulb. This would work pretty nice, so with the pot set at 75 percent of max rotation you'd actually be able to get 75 percent of full brightness, and likewise at 50 percent.

    The control law for the lumen output of a vacuum tungsten filament bulb is approximately:
    PercentOutput=(Volts/NominalVolts)^3.5

    so you could fit the curve:
    y=(Volts/NominalVolts)^a

    or something like that. This would mean you could program the formula into the microcontroller and use that to calculate the PWM requirement for a given pot setting.

    'NominalVolts' above is the voltage the bulb normally operates at, so for an automobile bulb this would be 12v or nearly that.
    'Volts' is the average voltage of the bulb as it is actually being operated, so 75 percent would mean this would be 9v.
    0
    Last edited by MrAl; 31st March 2012 at 12:19 PM.
    One test is worth a thousand expert opinions, but one expert specification is worth a thousand tests.
    If i miss something you posted or something you think is important, feel free to PM me.

  10. #10
    chandan28 chandan28 is offline
    dude you need not have to do all these circus just buy a regulator used for fan that wil do this job
    0

12 Last »
Tags
Similar Threads
Thread Starter Forum Replies Last Post
need help making a circuit to sense PWM on 12v auto headlight (DRL) Paiko General Electronics Chat 20 7th December 2012, 05:28 PM
PWM 220v light bulb control using pic16f877 betterworst Microcontrollers 1 7th September 2011, 02:12 PM
Which PWM for 12v DC motor control... Sosijdog Electronic Projects Design/Ideas/Reviews 1 16th February 2010, 04:46 PM
Potentiometer to dim 12v bulb? HondaCop Electronic Projects Design/Ideas/Reviews 4 3rd August 2009, 04:31 PM
Very simple motor PWM question - 12V motor, 24V supply Speakerguy Electronic Projects Design/Ideas/Reviews 3 22nd March 2009, 02:37 AM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.14680 seconds      Memory: 7,750 KB      Queries: 16      Templates: 0