Hi,
I need to control the output current of a flyback converter to be constant using the dsPIC33FJ64MC802. the converter is to drive a 20W high power LED. I am using a hall effect sensor (LEM, LTSR 6NP)for output current sensing. i want to maintain my output current to a constant value of 1A. i have checked the application note AN1138 from microchip, i think if the code used in the application note is properly modified it can suit my application.
I am willing to have a maximum tolerance of 10% on the output current.
As i have already mensioned i am using a flyback converter.
I am new to programming in c and using dspics. I need to someone who can modify the AN1138 code for me and explain it to me.
I am also to use the same dspic33 to control my power factor, if anyone knowns how to do so please help. This is urgent as my project is due next week Monday the 28th of January 2013.