A battery charging and discharging management circuit includes a
microcontroller, a
microcontroller power supply circuit, an input
voltage detection circuit, an input
voltage start / stop circuit, a
trickle charging circuit, a
constant current charging circuit, a battery charging
overcurrent detection circuit, a battery charging / discharging overtemperature detection circuit, a
battery voltage detection circuit, a battery
discharge switch circuit, a circuit operating status indicator circuit, and a battery interface. The
trickle charging circuit and the
constant current charging circuit are connected in parallel. The external power input is connected to the battery interface through the parallel
trickle charging circuit and the
constant current charging circuit. The external power supply charges the battery through the
trickle charging circuit or the constant current charging circuit. During charging, the
battery voltage detection circuit feeds back the detection result to the
microcontroller. The microcontroller controls the operation of the
trickle charging circuit and the constant current charging circuit. During charging, the microcontroller switches between the
trickle charging circuit and the constant current charging circuit according to the
battery voltage and charging time to ensure that the battery can be fully charged under different ambient temperatures without overcharging.