4

The car halogen headlight is rated at 12V 100W.

Will it be okay if I connect it to 60V dc supply, and using pwm make sure the average power doesn't exceed 100W?


Context:

I have just built a pwm hobby circuit using Arduino+irf540 MOSFET, which I want to test using high power.

I have 60V lion battery from my electric scooter and a 12V 100W halogen bulb.

I want to discharge the 60v battery over 12v bulb using pwm.

across
  • 1,150
  • 12
  • 26
  • 4
    You can, but it'll destroy the bulb. – Hearth Apr 24 '22 at 19:14
  • 2
    haha will it destroy if I connect it just for 1 microsecond? @Hearth – across Apr 24 '22 at 19:15
  • @across depends, what does its datasheet say? Can it tolerate 60V for 1 microsecond? I suggest a slow turn-on/startup circuit/configuration, and a buxk/step down converter to bring the voltage to 12V and then use it to turn on the lamp. – Christianidis Vasilis Apr 24 '22 at 19:26
  • 3
    The smart thing to do is use an inductor to store as much energy as you plan to use 0.5LI^2=E in the cycle time that you choose for power and switch at a frequency with an Nch swich rated for 10x the current you need (8A) and chokes rated for more than what is required. Allow for soft start and bulb temp that starts at 9% of the 100W/144 =R_hot ohms The smarter thing is to choose LED headlamps with DCDC converter – Tony Stewart EE75 Apr 24 '22 at 19:31
  • @across That depends on various parameters of the filament like ESL, thermal mass, a bunch of mechanical parameters.... I would guess probably not, because you'd be dumping in 25× the designed power and that will probably blow the filament very quickly, but I couldn't say for sure. – Hearth Apr 24 '22 at 19:32
  • Thus is not a smart idea using Ohm's and Watt's Law as the surge current would be upwards of 1000 A or basically a short circuit across the battery's ESR – Tony Stewart EE75 Apr 24 '22 at 19:33
  • Very interesting, so these halogen bulbs are not simple resistors. (With resistors we don't care voltage as long as power rating is met) @Hearth thank you this is valuable! You all saved me from destroying a good lamp!! – across Apr 24 '22 at 19:37
  • 1
    @across They kind of are simple resistors, but you're not meeting the power rating at all; applying 5x the voltage means 25x the power into a resistive load. Some resistors (like carbon composition, ceramic composition, or some wirewound) can handle that for a very brief time, but a lightbulb definitely can't--they're designed with entirely different goals in mind. – Hearth Apr 24 '22 at 19:48
  • 2
    @across Modeling them as resistors also breaks down because the resistance of an incandescent bulb isn't constant. No resistor has constant resistance, but incandescent bulbs are much more variable due to the extreme temperatures they get to--most resistors stay within about a 100 °C range, but a typical light bulb heats up to over 2000 °C, which means the resistance changes by far more than a typical resistor. – Hearth Apr 24 '22 at 19:51
  • You can certainly PWM them for a higher voltage, but 5 times the rating me be pushing it. Soft start (ramping up the duty cycle) helps. Can you add an inductor in series and make a true buck out of it, even if DCM? – winny Apr 24 '22 at 20:55
  • @Hearth A factor of 12 holes true for hot versus cold resistance for most bulbs. – winny Apr 24 '22 at 20:56
  • 2
    For test loads, a good alternative is a resistive heater meant for mains power. Because they are 120V or 230V rated, you would be running it under the rated voltage and be well within its specs. (Just make sure the heater doesn't have a fan in it, because that won't like DC supply.) – jpa Apr 25 '22 at 10:23
  • Have you considered a 24 V bulb? – winny Apr 25 '22 at 14:14
  • 1
    My feeling is that if you PWM it fast it will work fine. But it is a feeling, not something I am sure of. Maybe the pulsed current will stress the filament in some non-obvious way and cause it to fail prematurely. Adding an inductor in series (and you need a freewheel diode also) seems like a simple safe solution. You probably don't need feedback control of the duty cycle, but you will need to implement a slow start at turn on time. – user57037 Apr 25 '22 at 16:33

11 Answers11

12

The lamp filament is likely to just blow up.

Let's assume for simplicity that the lamp is completely resistive 100W load at 12V. It will thus draw 8.33A, and thus lamp resistance can be assumed to be 1.44 ohms.

If connected to 60V at any given time, for a second, or microsecond, as the time does not matter, it will draw 41.67A and will dissipate 2.5 kilowatts.

As the filament is very thin and heats up quite rapidly, the PWM pulses would need to be extremely short to not blow up the filament, as they drive 2500 watts momentarily to a 100 watt lamp, so on average you only need 4% of maximum power to get 100W. The PWM pulse width would need to be quite fast to not momentarily drive too much power into the lamp, and that on time with repetition rate would determine the average.

What is even worse that cold resistance of the lamp is a lot smaller, and cold current can be approximated to be 10x the average nominal current, so it would need extremely soft ramping of power on to the lamp.

So you can try but don't expect it to work, as you might just blow up your switching component as well.

Justme
  • 147,557
  • 4
  • 113
  • 291
8

Well use 5 of those bulbs in series, that would work.

One bulb even allowing for charging variation on the car will be 15V, so 60V is too much.

Just to be clear, if you connect that 12V bulb directly to your 60V battery, then the filament will burn out.

If you have some resistances handy you could make a voltage dropper.

Solar Mike
  • 6,539
  • 1
  • 12
  • 28
  • But I have only one bulb. I want to know if the bulb is sensitive to voltage or power or both? – across Apr 24 '22 at 19:07
  • I mean will I be okay if i make sure the power doesn't exceed 100w, but the voltage across the bulb is switched on 60v and off 0v – across Apr 24 '22 at 19:09
  • So if you can switch the supply so that the output is 12V or at least under 15V should work. – Solar Mike Apr 24 '22 at 19:12
  • I need a 500w resistor to drop the voltage, which is very costly. So I cannot connect 12v bulb to 60v supply. Understood. I'm glad i posted the question here before starting fireworks! Thank you so much ! – across Apr 24 '22 at 19:13
  • Ah wait, are you saying I can do pwm with 60v as long as the average output voltage is 12v? – across Apr 24 '22 at 19:18
  • 4
    YOu can't do it with PWM , it would blow your switch and you can't put 5 in series as the weakest bulb by even 1% will heatup to about 80%~90% of the 60V voltage while the others stay just warm and much lower resistance. Thermal runaway effect with PTC's in series – Tony Stewart EE75 Apr 24 '22 at 19:20
  • 1
    Oh very interesting. 5 in series doesn't work because the bulbs are PTC. So the weakest bulb's resistance keeps on increasing as it dissipates more power. This is positive feedback. The bulb blows! @TonyStewartEE75 thanks for pointing this out – across Apr 24 '22 at 19:28
  • 1
    It's not as bad as I thought 5% higher R in bulb lowers the overall avg power but raise the filament temp to >6000'K http://www.falstad.com/circuit/circuitjs.html?ctz=CQAgDOB0YwrFYCctEEYAciAssDsqlUBmdAJhFgni3QoFMBaVVAKACURVcA2EbrTqnL9worBG4QpUWCwyoQpMLRGlYvERCxZkkJUX5FSuHkVycYncmD1Qsc9ArUaBRMAM0htu-YeOneAgghKGtIe3kQNw9XWGEBLR1YPTADLCMTbgMLYLCwiMcouL4BcQkErySUtIzTcyCrULsHBTKSypUKyQNIDFI3dDx0dCxeZEabDGaAcw727Vp0aTAWM2CedqVOzh2V8SI55nI8QI2qAH1Uc9xLohQSc6VzyfOmS-P+FaA – Tony Stewart EE75 Apr 24 '22 at 20:02
  • 1
    @across The light is generated by heat, so power is what matters for the purpose of creating light. – user253751 Apr 24 '22 at 23:18
  • 1
    @across You may find a voltage converter that is not a resistor. Look for buck converter modules. – user253751 Apr 25 '22 at 11:51
7

Yes it will work, but not the way you set out to do it.

The PWM-ing needs to be done by a switching power converter in a buck configuration. It will act as a PWM, and its inductor will smooth the current going into the bulb, so the bulb won't get destroyed.

One cannot do this PWM-ing without the inductor, and to keep the voltage stable, you need a control loop. I doubt you feel like designing switching converter control loops on an Arduino, so it's best to use a chip that will do the job. Most likely the chip will drive an external MOSFET, i.e. it will be a switching controller.

This calls for a 100W buck converter from 60V to 12V, and adjust the buck's feedback ratio to regulate the lamp brightness.

Don't even think of putting such a buck converter together on a breadboard. Either buy a premade module, or design a PCB for it, and add detailed layout images in a new question, where you'll be able to get an idea of how close to potentially working it may be.

  • Thats the only real solution from all the answers here :-) I am wondering why it is not accepted and not voted higher... simply extending the PWM by a coil and a free wheel diode and everything is fine as long as the given controller really regulates to 12V. This is quite easy by feedback... – Klaus Apr 25 '22 at 08:04
  • 2
    Voltage control loop is not strictly necessary. Even with just inductor and a flyback diode, the PWM duty cycle will convert quite linearly to the DC current through the bulb. Typically about 10% accuracy and no stability issues because no feedback. – jpa Apr 25 '22 at 10:22
  • @jpa Given how nonlinear the bulbs are, 10% voltage error is relatively huge. It changes their life expectancy a lot. This may not be a concern. From a buck chip, you get more than just voltage conversion and voltage regulation: there’s fault protection too, and you get a gate drive for free and whatnot. This would not work with the fet being driven from an Arduino – not without a relatively large inductor and not without being an EMI nightmare. – Kuba hasn't forgotten Monica Apr 25 '22 at 16:20
5

Can I connect 12V halogen bulb to a 60V battery?

Do some very simple math to get an indication of whether it would work.

At 12V the bulb will draw 100/12 --> 8.3 Amps. The pre-supposes that the bulb is warmed up. It will draw perhaps 5-10 times as much current if it is cold. As pointed out earlier the filament has a PTC characteristic.

You can obviously use a PWM to reduce the AVERAGE power into the bulb. eg In terms of voltage across the bulb a 50% duty cycle would look like 30V and a 25% duty cycle would look like 15V ....on average (the same as RMS in this case). However the filament is just a resistor and we can see from Ohms law that the bulb has approximately 12/8.3 --> 1.4 Ohms when heated up.

Put a 1.4 Ohm resistor across a 60 V supply and it will draw 42 Amps. That's an instantaneous power dissipation of 2520 Watts. A PWM driver results in a much lower average power dissipation, but it all comes down to how much current can pass through the filament before it simply acts like a fuse.

I'd suggest that if your PWM was high frequency (> 10 Khz) and you you can slow start the bulb (ie start at a very low pulse width and slowly increase) you might just get a way with it. However if you are using an Arduino PWM (490 or 980 Hz) then your chance of success is much lower. I'd also add that you have absolutely no protection using an open loop system like this. You are not considering the initial surge currents when the bulb is cold for example.

You could put an NTC (surge suppressor) in series with the bulb, that might help you, but it sounds like you are using only what is on hand. You also need to consider your PWM controller, you've not presented any details for that. For example, the IRF540 is only suitable up to a peak of about 80A (for <10us), so you'd need to have at least 2-3 in parallel to handle the peak currents expected.

In short, if you aren't able to design what you want to build, you shouldn't be doing it.

Jack Creasey
  • 21,729
  • 2
  • 15
  • 29
  • 1
    Power is V^2/R. 50% duty cycle would be 50% power (at any given steady-state operating point given the temperature-coefficient effects). So it's what you'd get from V * sqrt(0.5) the voltage, 70.7% of the voltage. As Sphero's answer says, 4% duty cycle gives you 12V RMS. – Peter Cordes Apr 25 '22 at 06:28
  • @PeterCordes, perhaps I was not clear ...I said the PWM would reduce the power to the bulb. But the example I gave said "A 50% duty cycle would look like 30V and a 25% duty cycle would look like 15V ....on average." That is absolutely correct. I didn't say 50% duty cycle was 50% of the power. – Jack Creasey Apr 25 '22 at 15:39
  • Yes, that's why your voltage math is wrong. You said 50% duty cycle would "look like 30V" (implied equivalent power to 30 VDC, aka that it's 30 VRMS). But actually a 25% duty cycle (1/4 the power, half the VRMS) would be 30 VRMS, while a 50% duty cycle (1/2 the power) would be 42.42VRMS. Sorry my first comment didn't point that out more clearly. – Peter Cordes Apr 25 '22 at 21:47
  • 1
    I think you are thinking of buck converters. With no inductor this is not a buck converter. So I think Peter Cordes is correct. – user57037 Apr 30 '22 at 03:03
5

In theory a 4% duty-cycle PWM would give you 12V RMS but the peak currents would be very high and it would likely emit EMI etc to a large degree. Without some kind of mitigation the peak cold filament current would be enormous and likely to damage the lamp or the switch.

If you add an inductor and maybe some smoothing capacitors you will have a DC-DC converter, which is perfectly fine and is feasible, but might be more of a challenge at 60V/100W than you want to take on. There are controller ICs that will handle some of the task.

If you just want to test your PWM into a resistive load, a resistor would be the best kind of load. Even a bit of stray inductance (long wires or a wire wound resistor) can cause issues if you don't have a diode across the load since the IR540 is only good for 100V.

Spehro Pefhany
  • 397,265
  • 22
  • 337
  • 893
4

If the bulb has two filaments forget it, the filaments will arc paralleling the two filaments, causing them to be parallel from there common point until the arc. This overpowers the remaining filament causing it to blow in a very short time. We learned this when PWMing 12V lamps on 42V for future electrical vehicle systems. We designed a very fast circuit that detected the fault and shut the power off for the remainder of the PWM cycle. see: https://patents.justia.com/patent/20030218426 A much simpler solution that is safe for your expensive bulb is to use normal household tungsten lamps. In the US they are 120V so you will not need as many. As you are PWMing them the cold resistance will come into play and help you.

Gil
  • 5,113
  • 2
  • 13
  • 14
  • 1
    You’ve went to all that expense of PWMing and even got a patent without just slapping a buck converter and calling it a day? As far as Rube Goldberg schemes go, direct PWM with arc detection+a patent bests them all probably – and I appreciate the effort, practicality be damned – but that’s a lot of effort for want of an inductor… Would be a cool hobby project, since those get extra points for outrageousness; but for a product – wow. – Kuba hasn't forgotten Monica Apr 25 '22 at 16:26
  • There’s this idea that naked fast PWM is some universal approach… it mainly works for motors because they are inductors already, and even then you’re better off using current mode control rather than using bare PWM duty cycle as the output of a speed control loop, as is usually done. For most everything, a switcher with current control loop is what practical PWM really is… And it always is when the load is “stiff” and not rated for the full voltage applied to the PWM input. – Kuba hasn't forgotten Monica Apr 25 '22 at 16:31
  • Arcing-wise: if 60V was a problem at the distances between filaments in automotive bulbs, then vacuum tubes would be a fantasy. The arcing you experienced was because: 1. With a thermionic cathode - filament A - you can’t have a positive anode as filament B and expect no current to flow. In a double-filament bulb you get classic positive feedback that way. 2. Even with polarities sorted out, the inductive kick from all the parasitic impedances can either drive plate into conduction if it’s taken positive vs. cathode, or it can break down to cathode if it goes too negative. – Kuba hasn't forgotten Monica Apr 25 '22 at 16:48
  • 2
    In other words: all that work for a want of an inductor… and using vacuum tubes as if they weren’t… All multi-filament lightbulbs are vacuum tubes and must be used with understanding of this. I use the very double-filament automotive bulbs as crude rectifiers in science demos. I blow apart one filament with overcurrent so it gets disconnected from the common and acts as a free-standing plate, to make life easier. Presto, instant diode. A poor one due to small plate, but a diode nevertheless. Works fine for a “crystal” – Kuba hasn't forgotten Monica Apr 25 '22 at 16:50
2

The power used by a resistance of R Ohms connected to voltage V is

P = V^2 / R

So if we raise the voltage from 12 to 60 V, we have 5 times the voltage and thus 5^2 = 25 times the power. So for a hot filament, the power would raise from 100 to 25 * 100 = 2500 W.

If your PWM is on for only 10 microseconds, you need an of time interval of 240 µs.

It might work using a 24 V battery instead of a 12 V. So the PWM may be on for 1 ms and off for 3 ms.

But the resistance of the cold filament is about 10 times smaller than the hot ones resistance. So the PWM should start with on time 100 µs and a period of 4 ms and then ramp up slowly over about a second to 1000 µs on time with the same period of 4 ms.

But it would not be easy with 24 V. The maximum power peak for the first pulse to the cold filament would be about 100 * 4 * 10 = 4000 W.

Uwe
  • 2,813
  • 1
  • 11
  • 18
2

No, your FET is way overloaded

A 12 V 100 W auto bulb will draw about 8 amps when at operating temperature.

Its cold resistance will be about 1/10th of the hot resistance, so expect about 80 amps when cold.

At 60 V, expect about 400 amps when cold.

The FET you have chosen has an absolute max peak pulsed current of 120 amps (absolute max, not some reasonable operating spec).

Adding inductance and a flyback diode to the load could keep your current lower, but then you'd be building your own homebrew buck converter.

I want to discharge the 60v battery over 12v bulb using pwm.

If you simply want to discharge the battery using PWM, then use a load that doesn't overload your FET.

You could use the same characteristic of filament lamps to get a reasonable current draw from 120 V or 230 V lamps at 60 V, if you have any to hand. An electric kettle is an excellent heat-dumper, and has typically 10 to 30 ohms resistance depending on whether you're in 120 or 230 V land.

Neil_UK
  • 166,079
  • 3
  • 185
  • 408
2

You can, but:

  1. Does your circuit has any means of overload protection (e.g. overcurrent protection)?

This is important both because something could go wrong and because of the inrush current of the bulb.

At least use a fuse on the battery side.

Keep in mind that a lot of things can go profoundly wrong with the power electronics.

  1. Does your circuit has any inductance and flyback at the output, or not?

This is the difference between regulating your PWM at ~4% (when you feed the raw 60V pulses over the load) and 20% (when you feed a smoothed-out voltage to the load).

In some use cases, the inductance is skipped from the circuit because the intended load (e.g. motor) has its own inductance.

PWM at 20% is much easier to control than PWM at 4%. How much is the granularity of your control? 1%? 2%? You see the problem.

  1. Is your bulb internal wiring capable of 60V without arcing somewhere? Most probably it is, but you don't know and you will find out the hard way. See p. 0. See also p. 3.

  2. Do you have any means of slow start?

The inrush current/power of the incandescent light bulbs is ~10 times the rated one. For headlight bulbs, the current and power settle for about half a second.

If you set the PWM right at 4% (or 20%, see above), your current pulses will go well above the switching transistor rating and/or the battery rating - for long enough to burn them out.

  1. The standard, road-legal bulbs are 55W or 60W for H4 high-beam. Their production is regulated to some basic standards.

100W headlights are not road-legal, meaning that their quality is not governed by any standard. This, in turn, means that their quality is generally low and you can expect any kinds of problems - including, but not limited to, exploding the bulb into a cloud of flying red-hot glass particles.

Keep your eyes and your skin off such bulb, especially when trying non-standard things.


How can your experimental setup be improved with a minor investment?

Get two bulbs 55W/24V or 70W/24V (24V bulbs are for heavy trucks/busses, 70W are also road-legal for them) and connect them in series.

Two 24-volt bulbs in series are perfectly capable of running at 60V even without PWM. A 24V truck/bus battery routinely goes up to 30V with the engine running and the bulbs are designed with this expectation.

fraxinus
  • 9,184
  • 11
  • 35
2

It would probably be easier to buy 5 20W 12V bulbs and holders, and connect them in series. G4 halogens would work well and the holders are cheap. Then you can test your PWM knowing that 100% on won't destroy your test bulb.

For a very first test, you could even use a 120V incandescent bulb. It will light dimly at 60V, and will dim further with PWM. You could connect a few in parallel to increase the current you draw.

Chris H
  • 2,591
  • 12
  • 19
0

I like the idea of using a different way to discharge the battery. Read through all of my answer to accurately see the stupidity in this redundant question. The problem is wanting to discharge a 60v battery. Everyone is forgetting to inquire what its amp-hour load rating is. If this guy discharges that 60v Lipo(or lith-ion) battery too quickly this will cause thermal breakdown within the cells of either lith-ion or lipo types essentially turning a fairly large battery into a chemical bomb. Now if you guys want to continue to tell him how he can turn this into a bomb then be my guest but in my opinion it is best for him to discharge said battery in the way it is designed to and JUST GO RIDE THE DAMN SCOOTER and forget about this other nonsense before you end up blowing you and your house up!!!

Joe
  • 9
  • 1
  • 2
    The battery of a scooter should be able to deliver some hundred watts, but not several kW, it may have the same effect as a short of the battery. But if the fuse is not blown, the effects may be much worse than a short. – Uwe Apr 25 '22 at 08:41