Electronic – the reason the ULN2003A overheats

flybackpwm

I'm driving some 12v fan motors from a microcontroller using ULN2003A Darlington array. Both total wattage and per-channel wattage are way below ULN2003a limits. Still, I found that when PWM duty cycle is below 20%, ULN2003a starts to get really hot (can't touch with a finger). At higher PWM duty cycle temperature is much lower.

Update: Fans draw around 0.2A each, and the PWM frequency is 32 kHz currently. The capacitors are there to reduce the audible noise (I was using lower PWM frequency initially).

Am I correct in suspecting that the heat source is the flyback diodes, and not the darlingtons?

I'm thinking of adding some external flyback diodes across the motor coil. Is this the corect thing to do in this situation? I have some 1N5818DICT on hand (Schottky diode 30V 1A, Recovery < 500ns). Will such diode be ok, or I I need something special?

enter image description here

Best Answer

PWM frequency is 32 kHz so that's a period of about 32 us and half that time the transistor will be dumping energy into charging up those capacitor. It'll be doing it totally inefficiently too so maybe half that energy again is wasted in transistor heat.

Capacitor acquired energy is \$\dfrac{CV^2}{2} = \dfrac{2.2 \times 10^{-6}\times 144 }{2}\$ = 0.158mJ

BUT because charging the cap is done totally inefficiently, at a guess, the transistor will throw away just as much energy. It does this 32,000 times per second so that's a power of about 5 watts per transistor.

Now I may have over-egged this a bit by assuming that each 2.2uF would become totally discharged in one cycle of PWM but I'd wager that each transistor is doing over a watt just driving these capacitors back to full charge (32,000 times per second). Get rid of the caps and if you still have problems with noise then come back and tell us.

The lower the duty cycle the worse this will be because there will be a longer time for these caps to discharge and hence inefficiently re-acquire more of their 0.158mJ when the transistor switches back on again.