A charging apparatus, configured to supply power to a load, wherein the charging apparatus comprises: a rectifier circuit, configured to rectify a received alternating current; a transformer, configured to buck an output voltage of the rectifier circuit and then provide a bucked output voltage to the load, wherein the transformer comprises a primary coil (Lm) and at least one secondary coil (Ld), and a first end of the primary coil is electrically connected to the rectifier circuit; a lower bridge switch (Td), wherein a first end of the lower bridge switch is electrically connected to a second end of the primary coil, a second end of the lower bridge switch is grounded, and the lower bridge switch is configured to be turned on in a first phase of a charging cycle of the charging apparatus, so that a current output by the rectifier circuit is transmitted to the primary coil, to charge the primary coil; a clamp capacitor (Cq), wherein a first end of the clamp capacitor is electrically connected to the first end of the primary coil; an upper bridge switch (Tc), wherein a first end of the upper bridge switch is electrically connected to a second end of the clamp capacitor, a second end of the upper bridge switch is electrically connected to the second end of the primary coil, and the upper bridge switch is configured to be turned on in a second phase of the charging cycle, so that a leakage inductance in the primary coil charges the clamp capacitor, and the clamp capacitor discharges electricity to the primary coil; and a controller, configured to control, in the first phase and the second phase, the upper bridge switch and the lower bridge switch to be alternatively turned on, wherein the controller is further configured to: when the lower bridge switch is turned off, obtain a sampling waveform at a location at which the controller is electrically connected to the transformer; and when the sampling waveform in a current charging cycle is abnormal, turn off the lower bridge switch in a first phase of a next charging cycle, wherein the sampling waveform comprises a voltage waveform of the primary coil or a voltage waveform of the secondary coil. a rectifier circuit, configured to rectify a received alternating current; a transformer, configured to buck an output voltage of the rectifier circuit and then provide a bucked output voltage to the load, wherein the transformer comprises a primary coil (Lm) and at least one secondary coil (Ld), and a first end of the primary coil is electrically connected to the rectifier circuit; a lower bridge switch (Td), wherein a first end of the lower bridge switch is electrically connected to a second end of the primary coil, a second end of the lower bridge switch is grounded, and the lower bridge switch is configured to be turned on in a first phase of a charging cycle of the charging apparatus, so that a current output by the rectifier circuit is transmitted to the primary coil, to charge the primary coil; a clamp capacitor (Cq), wherein a first end of the clamp capacitor is electrically connected to the first end of the primary coil; an upper bridge switch (Tc), wherein a first end of the upper bridge switch is electrically connected to a second end of the clamp capacitor, a second end of the upper bridge switch is electrically connected to the second end of the primary coil, and the upper bridge switch is configured to be turned on in a second phase of the charging cycle, so that a leakage inductance in the primary coil charges the clamp capacitor, and the clamp capacitor discharges electricity to the primary coil; and a controller, configured to control, in the first phase and the second phase, the upper bridge switch and the lower bridge switch to be alternatively turned on, wherein the controller is further configured to: when the lower bridge switch is turned off, obtain a sampling waveform at a location at which the controller is electrically connected to the transformer; and when the sampling waveform in a current charging cycle is abnormal, turn off the lower bridge switch in a first phase of a next charging cycle, wherein the sampling waveform comprises a voltage waveform of the primary coil or a voltage waveform of the secondary coil.