Battery charging and discharging circuit of single switch and control method for battery charging and discharging

The invention discloses a battery charging and discharging circuit of a single switch and a control method for battery charging and discharging. Only one power switch pipe is controlled in the charging and discharging process of the battery, the complexity of a control circuit and a power device can be reduced. In the charging process of the battery, the charging current can be customized according to needs; in the discharging process, the output voltage average value is controlled to maintain the stability of an output signal. By adopting the technical scheme, the power loss of the system can be reduced, and the volume is optimized.