Replace each LED with three in series (they can be rated lower current, of course). Use a series resistor to limit current, and PWM them for brightness control.
To repeat myself a bit - these aren't traditional LEDs - but power LEDs - 5W and about 1200mA with a forward voltage of 2.2V. I've been able to run them at around 7-9V but find 12V provides the best control. At 12V for a single LED that would need a 10 Ohm (14.5W) resistor - I have two in parallel so that would be a 5ohm resistor (28W - not even sure I have a resistor that can handle that). Much much larger than the mosfet and it too would get rather hot. I have a pot to help set an overall brighness (wattage) so help keep the power consumption down (and another thing my prototype shows me is that my calculations are off on the opamp setup so I can provide way too much power via the mosfet - I think this is partly my problem).
I need to control the switch - and I don't have any OPAMP that can drive that much current either so I went for the MOSFET (IRF510 in this case). If I keep the maximum current below 1A and generally avoid turning the light too full brightness for long periods of time, with a beefy heat sink I have a reliable mosfet running - meaning it levels out the temperature well below it's maximum tolerances. A code error however kept the brightness at full much longer than I wanted it to, and at 1.5/2A it got well above 100
oC too close to comfort. And that's with a heat sink twice the size of the prototype PCB.
This needs to basically just flash in certain patterns - it is not meant to run the LEDs at full power for very long periods - just in very short bursts, so I'm hoping that with software setup I can adjust things than a smaller heat-sink can handle it.
The LEDs won't mind the supply being momentarily higher. Can even put a voltage sense divider from +12V to an ADC pin, and adjust PWM for the actual supply voltage and I would definitely need active cooling.
Or you can still use the MOSFET and it'll dissipate just as much heat as the resistor (at nominal supply) but be independent of supply; it just takes more stuff to build.
Right - active cooling is definitely needed with my current design. Still, I'm still attempting to make passive cooling enough but as the above calculation shows, 28W is quite a lot of "cooling" to deal with.
And yes, he watts/power is the same regardless of device. However I can find heat sinks to handle that with a mosfet. I think my biggest power resister is 5W and it doesn't allow me to control/provide the PWM (again, I've not found using the OPAMP ideal if feeding the output straight into the LEDs).
Or you can use a switching LED driver, which is more efficient than anything, but is generally harder to use (good layout, maybe additional filtering, etc.).
That's pretty much what I'm doing right now? All these ICs do is have a hardware frequency and can adjust the PWM width based on this - my cheap Wemo does all of this in software - but in the end, it's a frequency to a gate (mosfet in my case). And it too would drive the same watts if just inserted instead of the mosfet.
I did try a much higher frequency last night for my PWM and while it helped a bit it wasn't significant. I still need to find a way to keep the average load small enough not to heat things up too much. Well, there is of course using a aluminum project box and use it as a heat-sink too - but now we're up in a huge size that I was hoping to avoid; and it feels like quite a big waste of power->heat this way. When I started, I thought I only needed heat-sinks of the LEDs themselves - boy was I wrong
Why are you worried about the supply again?
My power/wattage -> temperature is based on a 12V feed. I want to ensure that isn't exceeded.