My 2000 honda civic has an incandescent dome light that has PWM controlled "dimming". It takes a period of about 6 or 7 seconds when the domelight goes from full bright (not pulsed) to a pulsed duty cycle so the bulb dims slowly. I took some measurements with my scope when it is doing this.
The frequency is a constant 63.7hz. When it goes into this PWM controlled dimming it starts at about 60% on-time duty cycle. It reduces the "on time" and ends up going from this 60% to about 5% over a period of about 6 or 7 seconds.
The problem with this 63.7hz, is that it is not a super fast pulsing and I can see it with my naked eyes when I connect an LED strip to it. The goal of this project is to prevent the visible flicker when it dims with an LED circuit instead of a bulb.
I drew up an LED circuit with 27 LEDs- (9 parallel strings of 3 LED in series- each string has its own current limiting resistor) it will draw about 470ma total when connected to 14v. It has an effective resistance of 20 ohm.
The factory bulb that is in there draws about 600ma when it heats up (I measured on the bench). This means at steady state when everything is working the LEDs will draw about 130ma LESS than the original incandescent stuff.
I want to use a capacitor so that it will smooth out this dimming while it is PWM. The problem I am having is that I can't find a way to be sure on what capacitor value to buy. I want to get the smallest capacitor I can, and still do the job. Since my circuit draws 130ma less than factory, I can use a resistor to slow the charging of the capacitor (14v divided by 130ma is about 100 ohms in front of the capacitor- this way I will not ever draw more than the original 600ma that it draws from the factory with the bulb fully warmed up- this should protect the driver that controls the circuit in the car)
I was also thinking i should "diode isolate" the charging and discharging of the capacitor so that the discharging does not have to go through the charging resistor. The LEDs and the resistors on the output side should take care of this right? I assume it will see this as a 20 ohm load.
Here is a video of the entire system working when I was playing around with it first understanding how it works better. (sorry this video is sideways!) https://drive.google.com/open?id=149BNC7PA8Fv81TNguBFgFEfnkXbPAcyn
I do not mind a delay of about .5 seconds while the capacitor charges. I just don't want to draw too much current over the driver in the car. I do not mind if it changes the 'fade duration', I just want to hide the visible 'flickering' that I see because the frequency is too low.