mkelly09
Newbie level 6
- Joined
- May 27, 2012
- Messages
- 11
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,407
Hello,
A few months ago I posted a question about controlling the intensity of a car headlight from a microcontroller. I ended up using a PWM signal from a microcontroller to turn on/off an N-channel MOSFET, as shown in this circuit:
https://i.imgur.com/Ca8kJce.jpg
It ended up working great.. except for one major problem. I was planning on using the car headlight as a solar simulator to shine onto a solar cell. The issue is that the current generated out of the solar cell is also flickering at the same frequency that the transistor is turning on and off, which is a big problem for my application.
This method of controlling the intensity of the car headlight results in a flicker in the light source - one that is not noticeable to my eyes, but the solar cell picks it up quite well. I was able to increase the PWM frequency from 500Hz to 62.5KHz, but I still have noticeable flicker in the current being generated by the cell.
I need a new method to control the intensity of the light source from a microcontroller, one that does not cause any flicker in the light source. Does anyone have any ideas?
I was thinking of putting a large capacitor in parallel with the light source to smooth out the flicker, similar to a filter capacitor in a rectifier circuit. The problem is that when i simulate this in SPICE, I end up with a filter capacitor with extremely large values (on the order of 100s of mili farads!) in order to convert the waveform to DC. Also, i'm not sure what type of capacitor I would need.. the current through the light source is around 3 amps.
If anyone might be able to provide a suggestion or to steer me in the right direction, it would be greatly appreciated!
Thanks.
A few months ago I posted a question about controlling the intensity of a car headlight from a microcontroller. I ended up using a PWM signal from a microcontroller to turn on/off an N-channel MOSFET, as shown in this circuit:
https://i.imgur.com/Ca8kJce.jpg
It ended up working great.. except for one major problem. I was planning on using the car headlight as a solar simulator to shine onto a solar cell. The issue is that the current generated out of the solar cell is also flickering at the same frequency that the transistor is turning on and off, which is a big problem for my application.
This method of controlling the intensity of the car headlight results in a flicker in the light source - one that is not noticeable to my eyes, but the solar cell picks it up quite well. I was able to increase the PWM frequency from 500Hz to 62.5KHz, but I still have noticeable flicker in the current being generated by the cell.
I need a new method to control the intensity of the light source from a microcontroller, one that does not cause any flicker in the light source. Does anyone have any ideas?
I was thinking of putting a large capacitor in parallel with the light source to smooth out the flicker, similar to a filter capacitor in a rectifier circuit. The problem is that when i simulate this in SPICE, I end up with a filter capacitor with extremely large values (on the order of 100s of mili farads!) in order to convert the waveform to DC. Also, i'm not sure what type of capacitor I would need.. the current through the light source is around 3 amps.
If anyone might be able to provide a suggestion or to steer me in the right direction, it would be greatly appreciated!
Thanks.