eem2am
Banned
Hello,
I wish to use the UC3842 current mode controller to drive a SEPIC LED Driver.
Do you know how I can use a microcontroller to adjust the duty cycle of the UC3842?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I know that the UC3842’s duty cycle can be adjusted by varying the amount of current drawn out of its COMP pin.
COMP pin of UC3842 ---with current source
http://i47.tinypic.com/106lrmr.jpg
UC3842 DATASHEET:
http://www.datasheetcatalog.org/datasheet/fairchild/UC3842.pdf
Block Diagram of UC3842
http://i45.tinypic.com/2qa20p5.jpg
…….You see, there are various LED loads, of different voltages, and its just impossible to get a feedback compensation network which suits all loads……especially since I have extremes of duty cycle, both very high and very low.
Therefore , I wish to use the UC3842 as a “controllable FET driver”, and control its duty cycle by using a microcontroller to apply a control voltage (in some way) to the “COMP” pin , such that I can control the UC3842’s duty cycle with the microcontroller.
I can easily get a variable DC control voltage from a microcontroller by PWM’ing an RC network with variable duty cycle, depending on the DC level required.
I will measure the LED current using the microcontrollers ADC to read the voltage across a current sense resistor….and then use the microcontroller to increment/decrement the UC3842’s duty cycle to suit
So
Do you know how I can use a microcontroller to adjust the duty cycle of the UC3842?
(I appreciate that some other circuitry may also be required)
I wish to use the UC3842 current mode controller to drive a SEPIC LED Driver.
Do you know how I can use a microcontroller to adjust the duty cycle of the UC3842?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I know that the UC3842’s duty cycle can be adjusted by varying the amount of current drawn out of its COMP pin.
COMP pin of UC3842 ---with current source
http://i47.tinypic.com/106lrmr.jpg
UC3842 DATASHEET:
http://www.datasheetcatalog.org/datasheet/fairchild/UC3842.pdf
Block Diagram of UC3842
http://i45.tinypic.com/2qa20p5.jpg
…….You see, there are various LED loads, of different voltages, and its just impossible to get a feedback compensation network which suits all loads……especially since I have extremes of duty cycle, both very high and very low.
Therefore , I wish to use the UC3842 as a “controllable FET driver”, and control its duty cycle by using a microcontroller to apply a control voltage (in some way) to the “COMP” pin , such that I can control the UC3842’s duty cycle with the microcontroller.
I can easily get a variable DC control voltage from a microcontroller by PWM’ing an RC network with variable duty cycle, depending on the DC level required.
I will measure the LED current using the microcontrollers ADC to read the voltage across a current sense resistor….and then use the microcontroller to increment/decrement the UC3842’s duty cycle to suit
So
Do you know how I can use a microcontroller to adjust the duty cycle of the UC3842?
(I appreciate that some other circuitry may also be required)