| CPC H02M 3/156 (2013.01) | 20 Claims |

|
1. A power converting device, comprising:
a power transistor, coupled between an input end of the power converting device and an output end of the power converting device;
a detecting device, coupled to the output end of the power converting device and the power transistor, obtaining a detection voltage by detecting an output voltage on the output end of the power converting device and a detection current by detecting an operation current of the power transistor;
a signal converter, coupled to the detecting device, converting the detection voltage from a first format to a second format, and converting the detection current from the first format to the second format; and
a controller, coupled to a control end of the power transistor and the signal converter, receiving the detection voltage and the detection current in the second format,
wherein the controller compares the detection voltage with a first voltage threshold value and a second voltage threshold value to generate a comparison result, and generates a control signal to a control end of the power transistor according to a control code,
wherein the controller decreases or increases the control code by a step value according to the comparison result.
|