Adaptive sampling circuit for detecting the demagnetized voltage of the transformer

An adaptive sampling circuit of the power converter according to the present invention comprises a sample-and-hold unit and a signal-generation circuit. The sample-and-hold unit is coupled to a transformer to generate a feedback signal by sampling a demagnetized voltage of the transformer in response to a sample signal. The signal-generation circuit generates the sample signal in response to a magnetized voltage of the transformer, the demagnetized voltage of the transformer, a switching signal and a code. The sample signal is used for sampling the demagnetized voltage. The feedback signal is correlated to an output voltage of the power converter. The switching signal is generated in response to the feedback signal for switching the transformer and regulating the output of the power converter. The adaptive sampling circuit is used to precisely measure the demagnetized voltage of the transformer without the limitation of the transformer design.