Hello one and all!
I am currently in the process of implementing an active power factor correction algorithm. I am using an average current mode control to control the inductor current. At an input voltage of of 72.9V I get a waveform like this.

Ive worked the power factor to be 0.9716. Using the FFT and the attached calculations.



Firstly I would like to ask if this calculation is correct? And secondly I would like to ask why the input current waveform has so much distortion at the top? Furthermore if possible I would like to know whether it functions in CCM, CRcM and DCM.
Thank you
I am currently in the process of implementing an active power factor correction algorithm. I am using an average current mode control to control the inductor current. At an input voltage of of 72.9V I get a waveform like this.

Ive worked the power factor to be 0.9716. Using the FFT and the attached calculations.



Firstly I would like to ask if this calculation is correct? And secondly I would like to ask why the input current waveform has so much distortion at the top? Furthermore if possible I would like to know whether it functions in CCM, CRcM and DCM.
Thank you