Power conservation analysis of linear and PWM brightness regulation methods

I think maybe you are misunderstanding the calculations. Estimating runtime is not a part of the calculations.

So what do this “same power consumption 12.6W” mean, if it will be changed in a several seconds?

https://www.swiatelka.pl/viewtopic.php?p=224450
You get
1,
2,
3,
4,
5,
6,
7,
8 OR 9 OR 10 7135s without PWM.
Plus another 8 levels with a single PWMed 7135.
The author says that he has another version that can drive any number of 7135s from 1 to 16, but the level progression is just too slow to be useful.

12.6W will be consumed. You don’t need an in-depth calculation to determine that. Yes, the power will change as the input voltage decreases if the average current stays the same.

The calculation shows, at any given input voltage and average current, what fraction of the input power is dissipated in the different parts of the circuits. That’s it. What question are you trying to answer?

Why it is needed, if you are using well-known led and driver and you are sure that they wont die from overheat.

I’ve been doing that for a long time… Here is an older one: Mod: BMF SRK v2 Roche Edition (Rebuilt into triple XHP 35 HI)

And here is one of my latest designs where any number of them up to 14 can be turned on: What did you mod today? - #2984 by Mike_C
I have G-10, G-12 and G-16, the number is the amount of 7135s, and any number of them can be turned on in constant current.

So it’s been done over here since the end of 2015…

Just to satisfy my curiosity. In most all of our applications the extra power dissipated in the circuit resistance and LED in the PWM case is not going to break anything, but I think it’s always worth understanding how something works.

Used to be a guy named goldserve on TOS years ago, I know around 2008/9, that had a line of linear drivers that worked switched to DD on “high”using a FET IIRC. They were called flupic. They were user programmable with just the switch. Also one of the easiest programming interfaces I’ve ever used. I’ve thought about asking someone here to revive the concept, goldserve went dark and quit building years ago. I think I still have some of those drivers in a box somewhere.

I think I understand where the confusion lies. Kiriba though you were doing a complete comparative analysis of the different processes, which wouldn’t be accurate without testing at various V points for the batteries discharge range, not just observing the relationship between waste heat/energy and efficiency at a singular voltage.

Nice work and thanks for posting.

Driver progression may seem slow and indeed does hiccup and jump around but that’s just the nature of developement even under the best of circumstances. Remember that this is a hobby to virtually all of the contributors with zero monetary reward and for any new designs to go into mass production it must first be paired with a host and sold in a Group Buy. Frankly, the pace over the last three years has been phenomenal given that very little went on before then. Thanks to open sourcing and the generous creation of tutorials for both pcb’s and firmware things are moving along pretty well now, at least with linear drivers. However, there’s been much less movement in boost/buck drivers partly I believe because of the greater difficulty in design(higher level electrical engineering), less common and more expensive tools required such as oscilloscopes, and more expensive parts in each driver making developement and testing a nontrivial expense. Even so a few of them are getting done but there’s no such body as “The institute for BLF driver developement”, just some people doing there own thing as they see fit.

I just wonder what is the reason in comparing two intermediate values when both are point-measured.

Frankly that’s why I ended up here instead of TOS when I came back from a long hiatus. LEDs had progressed significantly, but not much had happened on the driver side at all, the hobby side that is, and it seemed like the failings of TOS had all but killed the industrious/inventive atmosphere that is so prevalent here. I love this site, I don’t participate as much as I should but the development here is a blast to simply observe.

Edit- to Kiriba-ru, I think it was an excercise in understanding something he intuitively knew but wanted to prove mathematically. It’s not an arguement promoting one over the other, just curiousity to find where the power is dissipated in each one.

I really don’t know what you mean here. The example at the end is using one set of parameters: duty cycle, voltage, etc. The calculation is general; you can choose any voltage or duty cycle you want.

Yes, rufusbduck, I’m definitely not trying to say one way is better than the other.

When you operate with values that are changing in time and values dont have time inside them, this is point values.
What is cell capacity? Watt×hour. Operating with power only can not show difference, we need to know how does it changes in the time.
How can we compare power consuption, if nobody can fix it with fet pwm? Comparing fixed current regulation with non-regulated fet? It can be usefull for some average current, but will show nothing in one point. And the results shows this.

Dear EasyB.., your analysis is pertinent and the principle of power conservation is demonstrated again , so it's safe with us...

I do not want to disagree with some of your statements but I have to , please do not take it personal , we are not talking about personal opinions or understanding of a process , but about physic laws as : P=U x I =square U / R = square I x R . I hope we all agree with this !

" In the linear regulation method, the driver itself dissipates heat. In the PWM method the driver dissipates no heat." quote .

This is the statement I want to challenge , because the PWM drivers do dissipates a lot of heat , due to their active internal resistance ( I'm calling it " active " because is changing with frequency and duty-cycle) . Just take a look at the efficiency of a buck driver and you 'll see that the difference from 100% to , lets say , 75% is power loss , transformed in...HEAT , in driver circuitry ( fet , inductor , fly back diode , resistance of copper traces , wires...).

On the other side , the DD drivers , made with quality components , should dissipate LESS heat , especially when the input voltage decrease and is closer to Uf of the led , because in the circuit we have only the resistance of the FET ( Rd-s in " on " state ) and resistance of the traces and wires.Logic , right ?

Lets take them, one by one and see what the drivers can do ( in terms of efficiency and subsequently , in terms of heat dissipation )

1. Linear Driver. Basic , is working like a variable resistance , between power source and LED. So , assuming that the current is CONSTANT, the efficiency will be :V led/V battery . Lets take V led=3.4Volts.

For a full battery ( 4.2 V) : 3.4/4.2=80% efficiency.

For a depleted battery (3.4V) : 3.4/3,4=100% efficiency . Between this values (4.2 V and 3.4 V) we'll have a gradual increase of efficiency , from 80% to 100 % , and a decrease of power loss (less heat).

Under the 3.4 V ,the efficiency will remain 100% , but with the dimming of led luminosity .

2. DD drivers . Is acting as a direct path from power supply, to the led. Trying to add a resistance in the path , for limiting the current , will make this driver less efficient than a Linear Driver , the current is greatly variable with the power supply voltage. Good for high currents , one battery , one led . Could be PWM controlled , for modes .

3. Buck Drivers. The stated efficiency of these drivers is from 70% to 90 % , depending on the design , quality of components , work frequency... The diversity of these are so big that is gonna be very difficult to state which is better , and in what conditions ( 2 to 4 batteries in series , 2 to 4 LEDs in series...) .To be short and very close to the experimental side , I'll present here ,one (considered one of the best) buck driver , from Skilhunt , as a prove of what means efficiency , in real world...

First set up : Three batteries in series ( Vbat=12.1V),one led XM-L ,Vf=3.18 V.

Current to batteries Ibat=1,47 A , Current Led Iled=3.87 A .Doing the math , efficiency almost 70 % ! Heating was big , hard to keep fingers on the driver !

Second set up.: Same 3 batteries in series , but 2 XM-L in series .

Ibat=2.90 A , Ubat=12.0V ( 34.8 W) ; Vf 2xled=6.76 V , I leds=3.87A ( as you can see , the current is constant to 3,87 A!) . Efficiency =75% ! Better...,heat was lower but still uncomfortable to touch...

Third set up : Same 3 batteries in series , but 3 XML in series !

I bat=3.20 A , U bat=11.62 V (37.18 W) ; Vf3xled=9.71 V , I leds=3.98 A (almost constant!). Efficiency=96% !!! .Wow , this was unexpected , the driver was working slightly warm , as this was the point where he was designed for...! I have to admit that I changed the inductor with a bigger one , but was the same one, for all 3 setups . Nothing else was changed !

So, as a conclusion , the drivers has to be chosen accordingly with their destination , and the heat will be a measure of their efficiency !

I hope I didn't upset anybody , and if I did , I do apologize ...

Adrian,
Yes of course the FET driver will dissipate some heat. I pointed out the perfect switching as an assumption, and I think that is fine for the purpose of the analysis.

I think my take-away message that I learned is that you can’t just consider the driver efficiency by itself. You have to consider the whole system. The FET driver itself is more efficient than a linear driver because it produces less heat, but if you consider the whole system, modulating a FET driver using PWM is less efficient at producing light than using constant current with a linear driver.

OK, that’s fine. One can certainly calculate more things. What you want would just be a continuation of the analysis, using the same concepts but integrating over the discharge of a cell.

That’s no surprise to me, because i.m.o. it’s the obvious thing to do, whereas PWM is (i.m.h.o.) a bit of a lame route to take…\
My obvious question is: Where can i buy it??
And i’d be more than happy with 3 modes like 10% 30% 100%.
Those Atmels have enough legs for it, no? :slight_smile:

There was also someone here who made, or was making, a driver with individual 7135 control back in 2014. I think it was a driver with a USB interface made by someone with a baby as avatar (could be mixing different projects though). At the time I didn’t design drivers and was interested but I don’t think it was ever made available here. When I started designing myself I took his idea of individual 7135 control.

I made drivers and firmware available where everything in the firmware could be programmed by the switch, modes, number of modes, voltage step-down and cut off levels, temperature protection etc etc, but I don’t think anyone ever built one.

[quote=Jerommel]
That’s no surprise to me, because i.m.o. it’s the obvious thing to do, whereas PWM is (i.m.h.o.) a bit of a lame route to take…\/quote]
I was unable to eliminate PWM altogether though, I use PWM on a single 7135 for the steps in between. I was experimenting on a true constant current driver but I’m no electronics guy and all that datasheet reading gave me a headache so I gave it up.

I’ll be making some available and also do a giveaway of a few (which has already been sponsored by BLF) in this thread: Mike C drivers: v8 series, ATtiny1634 based.

Without mucking about with the reset pin these little things have 11 I/O pins. I’ve already used every single one of them in a headlamp driver I built :slight_smile:

I’m still not sure what question you are interested in answering. How the power consumption will change with the FET driver and constant duty cycle? You could certainly do this calculation for a specific cell, and it’s pretty simple to estimate it for different states of charge. But this is an additional calculation and beyond the scope of the present analysis, the purpose of which was to determine where power was dissipated with each dimming method. And the analysis answers this question for any combination of emitter, cell voltage, and average current