Follow-up to: Is it okay to use a MOSFET in its resistive region with a heat sink?
I plan to use two PWMs to very slowly turn on an LED strip, from 0.002% to 100%. Both PWMs are 8-bits. The high power part PWM1 will take over when the low power part PWM2 reaches a certain level. In fact, the "low power" part of the circuit could drive the light from 0 to 100%, but that half of the circuit (left) is analog, and I can't easily model the brightness. Hence, at the level where I no longer need extremely small gradations, I'll switch over to driving the light with PWM1, which is mathematically nice but incapable of the extremely low power needed for the early steps.
Is this a reasonable circuit to drive a transistor Q2 with both a PWM signal (PWM1) and an analog voltage (after a low-pass filter from PWM2), but not at the same time?
Potential problem:
The low-pass filter may not respond fast enough, so when PWM1 starts sending its signal and PWM2 turns off, the low pass filter may not step down fast enough to avoid a flash. (The flash would occur if the low-pass filter remains on during the early OFF portions of PWM1's signal.) This would manifest in a brief doubling in brightness.
Potential solution: maybe with a diode, capacitor, and a couple resistors, I can hold the base voltage of Q1 high when PWM1 becomes active, even during the off-portion the signal.
