A control circuit configured to be applied to an alternating current-direct current, AC-DC, power supply, the control circuit comprising: a ripple reference signal generation circuit, configured to generate a ripple reference signal (V REF1) characterizing an industrial frequency ripple component (ΔVo) of an output voltage (V f) of the AC-DC power supply; and an error compensation circuit, configured to compare a sum (V REF +V REF1) of a reference signal (V REF) characterizing a desired output voltage of the AC-DC power supply and the ripple reference signal (VREF1) with a feedback signal (V FB) characterizing the output voltage of the AC-DC power supply, to generate a voltage compensation signal (V COMP); wherein the control circuit is configured to generate a control signal for controlling a main power switch of the AC-DC power supply based on the voltage compensation signal: characterized in that: the ripple reference signal generation circuit is configured to perform low-pass filtering on an inductive current sampling signal (V RS) characterizing a current flowing through an inductor in the AC-DC power supply to obtain a first inductive current sampling signal (V RS1) characterizing an industrial frequency ripple component of the output voltage; and wherein the ripple reference signal generation circuit is further configured to shift a phase of the first inductive current sampling signal (V RS1) and change an amplitude of the first inductive current sampling signal (V RS1) to obtain an estimated (V REF2) industrial frequency ripple component of the output voltage, wherein the ripple reference signal (V REF1) is proportional to the estimated industrial frequency ripple component (V REF2) and both depend on a capacitive reactance of an output capacitor (C f) of the AC-DC power supply. a ripple reference signal generation circuit, configured to generate a ripple reference signal (V REF1) characterizing an industrial frequency ripple component (ΔVo) of an output voltage (V f) of the AC-DC power supply; and an error compensation circuit, configured to compare a sum (V REF +V REF1) of a reference signal (V REF) characterizing a desired output voltage of the AC-DC power supply and the ripple reference signal (VREF1) with a feedback signal (V FB) characterizing the output voltage of the AC-DC power supply, to generate a voltage compensation signal (V COMP); wherein the control circuit is configured to generate a control signal for controlling a main power switch of the AC-DC power supply based on the voltage compensation signal: characterized in that: the ripple reference signal generation circuit is configured to perform low-pass filtering on an inductive current sampling signal (V RS) characterizing a current flowing through an inductor in the AC-DC power supply to obtain a first inductive current sampling signal (V RS1) characterizing an industrial frequency ripple component of the output voltage; and wherein the ripple reference signal generation circuit is further configured to shift a phase of the first inductive current sampling signal (V RS1) and change an amplitude of the first inductive current sampling signal (V RS1) to obtain an estimated (V REF2) industrial frequency ripple component of the output voltage, an industrial frequency ripple component of the output voltage; and wherein the ripple reference signal generation circuit is further configured to shift a phase of the first inductive current sampling signal (V RS1) and change an amplitude of the first inductive current sampling signal (V RS1) to obtain an estimated (V REF2) industrial frequency ripple component of the output voltage, wherein the ripple reference signal (V REF1) is proportional to the estimated industrial frequency ripple component (V REF2) and both depend on a capacitive reactance of an output capacitor (C f) of the AC-DC power supply.