主权项 |
1. A device, comprising:
a phase-lock-loop (PLL) module configured to synchronize with a rectified line voltage signal input to a flyback converter to power a load, and to detect changes in phase of the rectified line voltage signal; and an output regulator module configured to regulate at least one of output current, output voltage, and/or output power to the load, using an on-time control signal that reflects a correction factor based on phase variation in the rectified line voltage signal detected by the PLL module, wherein the on-time control signal controls switching of the flyback converter; wherein the PLL module is configured to synchronize by measuring at a sampling period Tsampling a value of the rectified line voltage signal, and adjusting the sampling period Tsamplinq based on changes in frequency of the rectified line voltage signal. |