Just wanted to clear things up and hopefully solve this ongoing issue. As you may have read in my previous posts, s40's CEM uses PWM(pulse width modulation) for halogen bulbs to regulate the voltage at 13v +/- .2v Most HID ballasts will not tolerate pulse voltage and will shut off(protection mode).
Back to the fix; I finally had some time to take a trip to the dealer today, and trying to get my PWM disabled, or at least find out about what the halogen software controls. Well, they were no help at all. Kept saying to me that it's impossible, or that it would cause my lights not to work at all.
Well, looks like that plan just went out the window. But that just made me even more determined to figure this thing out.
So, after a few hours of some more research on PWM, in finally stumbled on LC filters. Do a search, it'll tell you more about them and how they are used to convert PWM signal back to analog
(There's also references on how PWM causes really bad voltage spikes..... That kind of explains burned out wiper motor.)
According to the formula, all I need to know is the resistance of the load and frequency of PWM signal. Unfortunately I don't have a meter that measures frequency, so I have to hold off for now. I will try to obtain one ASAP, but it might be another week before I actually make the filter.
So till then, if any of the brainiacs out there have some comments/suggestions, don't hesitate.
Back to the fix; I finally had some time to take a trip to the dealer today, and trying to get my PWM disabled, or at least find out about what the halogen software controls. Well, they were no help at all. Kept saying to me that it's impossible, or that it would cause my lights not to work at all.

Well, looks like that plan just went out the window. But that just made me even more determined to figure this thing out.
So, after a few hours of some more research on PWM, in finally stumbled on LC filters. Do a search, it'll tell you more about them and how they are used to convert PWM signal back to analog

(There's also references on how PWM causes really bad voltage spikes..... That kind of explains burned out wiper motor.)
According to the formula, all I need to know is the resistance of the load and frequency of PWM signal. Unfortunately I don't have a meter that measures frequency, so I have to hold off for now. I will try to obtain one ASAP, but it might be another week before I actually make the filter.
So till then, if any of the brainiacs out there have some comments/suggestions, don't hesitate.