i wanna create an active power factor correction.
my aim is to have the same output current as i use function generator. hoping to do the coding for microcontroller to program the mosfet driver of the boost converter to control the ON/ OFF pwm.
and also control mosfet with mosfet driver from boost converter to produce PWM (pulse voltage waveform)and current wave form that when ON the waveform increased linearly and OFF the waveform decreased linearly.
but currently i am not sure how to code on the microcontroller to on/off the mosfet driver for mosfet, any guidance for coding of active power factor correction?
What are you really trying to do? What kind of load are you trying to drive? You can't control voltage & current at the same time. Ohm's Law says voltage & current are related by impedance.
"Power Factor" usually relates to the phase difference between the current and voltage in a capacitive or inductive circuit, but I have a feeling that's not what you're talking about... In a resistive circuit the power factor is 1.0 (Power = Voltage X Current).
my task is to do an active power factor correction.
So i need to program the arduino microcontroller to my boost converter (there is mosfet driver in my boost converter where my microcontroller will need to control the mosfet driver for the duty cycle.)
So i need to program the arduino microcontroller to my boost converter (there is mosfet driver in my boost converter where my microcontroller will need to control the mosfet driver for the duty cycle.)
That is nothing to do with power factor correction.
Power factor correction would involve switching capacitors in and out of the supply.