A support battery control circuit with charging and discharging, heating management

CN224418458UActive Publication Date: 2026-06-26SHANGHAI PYTES ENERGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHANGHAI PYTES ENERGY CO LTD
Filing Date
2025-06-23
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

在低电量时,大功率的主机因为电池电压低而无法稳定工作

Benefits of technology

[0013]本实用新型同现有技术相比,解决负载功率跟随电池电压波动的问题,避免浮充和低电量大电流充电,有效避免了大电流充电和系统供电的冲突,提高了安全性,增加充放电加热功能,解决低温情况下大功率放电需求,提高续航时间,进一步降低电池成本,通过同步升降压电路和功率检测,兼容PD和QC协议,实现了恒功率输出和恒压输出功能,解决了低电量下的负载能力不足问题和设备故障安全保护。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224418458U_ABST
    Figure CN224418458U_ABST
Patent Text Reader

Abstract

The utility model relates to lithium cell technical field, concretely is a kind of support battery control circuit with charge-discharge, heating management.The GND port of MCU control circuit is connected with the GND port of DCDC step-up and step-down control circuit, the GND port of DC interface circuit, the GND port of USB interface circuit, the 3V3 port of MCU control circuit is connected with the 3V3 port of DCDC step-up and step-down control circuit, the 3V3 port of DC interface circuit, the 3V3 port of USB interface circuit, the 5V port, IRQ port, USB_SCK port, USB_SDA port of MCU control circuit are connected with the 5V port, IRQ port, USB_SCK port, USB_SDA port of USB interface circuit respectively, the DC_DET port, DC_STA port, DC_CTR port of MCU control circuit are connected with the DC_DET port, DC_STA port, DC_CTR port of DC interface circuit respectively, the Heater_Ctr port and NTC port of MCU control circuit are connected with the Heater_Ctr port and NTC port of temperature detection control circuit respectively.Compared with prior art, avoid floating charge and low power large current charging, effectively avoid the conflict of large current charging and system power supply, improve safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of lithium battery technology, specifically a bracket battery control circuit with charging / discharging and heating management. Background Technology

[0002] In some equipment applications, the switching power supply and battery are used in parallel within the mounting bracket. The switching power supply simultaneously powers both the bracket and the battery, resulting in a generally high output current. However, high-current charging poses significant risks. For safety reasons, the industry widely adopts a dual-power supply design: one power supply is dedicated to battery charging, while the other powers the main unit.

[0003] Meanwhile, some applications require batteries to be charged at low temperatures, and there are currently two main design approaches. One is to use batteries designed for low-temperature charging. This method places extremely high demands on the battery's performance, but current low-temperature batteries generally have low capacity, requiring devices to sacrifice some battery life to meet the low-temperature charging requirements. The second approach involves reserving interfaces for heating devices within the battery pack, allowing the host device to control the battery's heating. However, this requires the host device to have temperature detection capabilities and a complete heating logic control system.

[0004] In the industry, when a battery powers a device, the output voltage changes dynamically due to the battery voltage. This causes the device's output voltage to fluctuate dynamically with the battery's charge level. When the battery is low, high-power devices cannot operate stably due to the low battery voltage.

[0005] In addition, the battery interface design of the bracket is quite complex, requiring differentiation between different interfaces such as charging, discharging, heating, and NTC detection. With numerous and complex interfaces, how to adjust and optimize the controller accordingly to adapt to these interfaces is also a problem that needs to be considered. Utility Model Content

[0006] To address the problems mentioned in the background art, this utility model provides a bracket battery control circuit with charging / discharging and heating management, including a lithium battery protection circuit, a DC-DC buck-boost control circuit, an MCU control circuit, a DC interface circuit, a USB interface circuit, and a temperature detection and control circuit. The lithium battery protection circuit has a P+ port and a P- port; the DC-DC buck-boost control circuit has a P+ port, a P- port, a 3V3 port, a GND port, a DC_DCDC+ port, a DC_DCDC- port, a USD_DCDC+ port, a USD_DCDC- port, a DC_SDA port, a DC_SCL port, a CE port, and a PSTOP port; the MCU control circuit has a P+ port, a 3V3 port, a GND port, a DC_SDA port, a DC_SCL port, a CE port, a PSTOP port, a 5V port, and an I... The system includes an RQ port, a USB_SCK port, a USB_SDA port, a DC_DET port, a DC_STA port, a DC_CTR port, a Heater_Ctr port, and an NTC port; the DC interface circuit includes a 3V3 port, a GND port, a DC_DCDC+ port, a DC_DCDC- port, a DC_DET port, a DC_STA port, a DC_CTR port, a DC+ port, a DC-1 port, and a DC-2 port; the USB interface circuit includes a 3V3 port, a GND port, a USD_DCDC+ port, a USD_DCDC- port, a 5V port, an IRQ port, a USB_SCK port, a USB_SDA port, a USB+ port, a USB- port, a CC1 port, and a CC2 port; the temperature detection and control circuit includes a P+ port, a P- port, a Heater_Ctr port, and an NTC port.The P+ port of the lithium battery protection circuit is connected to the P+ port of the temperature detection and control circuit, the P+ port of the MCU control circuit, and the P+ port of the DC-DC buck-boost control circuit. The P- port of the lithium battery protection circuit is connected to the P+ port of the temperature detection and control circuit and the P- port of the DC-DC buck-boost control circuit. The DC_DCDC+ and DC_DCDC- ports of the DC-DC buck-boost control circuit are connected to the DC_DCDC+ and DC_DCDC- ports of the DC interface circuit, respectively. The USD_DCDC+ and USD_DCDC- ports of the DC-DC buck-boost control circuit are connected to the USD_DCDC+ and USD_DCDC- ports of the USB interface circuit, respectively. The DC_SDA, DC_SCL, CE, and PSTOP ports of the DC-DC buck-boost control circuit are connected to the DC_SDA, DC_SCL, CE, and PSTOP ports of the MCU control circuit, respectively. The GND port of the MCU control circuit is connected to the GND port of the DC-DC buck-boost control circuit, the GND port of the DC interface circuit, and the GND port of the USB interface circuit. The 3V3 port of the MCU control circuit is also connected to these ports. The 5V port, IRQ port, USB_SCK port, and USB_SDA port of the MCU control circuit are connected to the corresponding ports of the USB interface circuit. Similarly, the DC_DET port, DC_STA port, and DC_CTR port of the MCU control circuit are connected to the corresponding ports of the DC interface circuit. Finally, the Heater_Ctr port and NTC port of the MCU control circuit are connected to the Heater_Ctr port and NTC port of the temperature detection control circuit.

[0007] The lithium battery protection circuit includes a chip U1E, model SH367601B. The P+ port of the lithium battery protection circuit is connected to the cathode of diode D4E, one end of capacitor C5E, one end of resistor R2E, one end of resistor R12E, and serial port B6. The other end of capacitor C5E is connected to one end of capacitor C6E. The other end of resistor R2E is connected to the anode of diode D1E and one end of capacitor C3E. The cathode of diode D1E is connected to one end of resistor R1E and the cathode of Zener diode D2E. The other end of resistor R1E is connected to one end of capacitor C1E, one end of capacitor C2E, pin 28 of chip U1E, and one end of resistor R3E. The other end is connected to the cathode of diode D3E. The anode of diode D3E is connected to pin 1 of connector J1E. The other ends of capacitors C1E, C2E, and C3E, and the anode of Zener diode D2E are connected together to port B-. The other end of resistor R12E is connected to one end of capacitor C8E, pins 2, 3, 4, 5, and 6 of chip U1E. The other end of capacitor C8E is connected to pin 7 of chip U1E, one end of capacitor C11E, and one end of resistor R16E. The other end of resistor R16E is connected to serial port B5. The other end of capacitor C11E is connected to the chip... Pin 8 of U1E, one end of capacitor C12E, and one end of resistor R17E are connected to serial port B4. The other end of capacitor C12E is connected to pin 9 of chip U1E, one end of capacitor C14E, and one end of resistor R18E. The other end of resistor R18E is connected to serial port B3. The other end of capacitor C14E is connected to pin 10 of chip U1E, one end of capacitor C15E, and one end of resistor R19E. The other end of resistor R19E is connected to serial port B2. The other end of capacitor C15E is connected to pin 11 of chip U1E, one end of capacitor C18E, one end of resistor R24E, and the cathode of diode D9E. The other end of resistor R24E is connected to serial port B4. 1. The other end of capacitor C18E is connected to pin 12 of chip U1E, one end of capacitor C19E, one end of resistor R26E, and the cathode of diode D10E. The other end of resistor R26E is connected to one end of resistor R30E. Pin 13 of chip U1E is connected to port B-. Pin 26 of chip U1E is connected to one end of resistor R6E. The other end of resistor R6E is connected to the anode of diode D5E. Pin 25 of chip U1E is connected to one end of resistor R7E. The other end of resistor R7E is connected to the drain of MOSFETs M1E, M4E, M2E, and M3E. Pin 24 of chip U1E is connected to one end of resistor R8E.The other end of resistor R8E is connected to the emitter of transistor Q1E and one end of resistor R11E. The base of transistor Q1E is connected to the other end of resistor R11E and one end of resistor R15E. The collector of transistor Q1E is connected to the anode of diode D6E. The cathode of diode D6E is connected to the cathode of Zener diode D8E, one end of resistor R23E, one end of resistor R25E, and one end of resistor R29E. The other end of resistor R23E is connected to the gate of MOSFET M2E. The other end of resistor R29E is connected to the gate of MOSFET M3E. The other end of resistor R15E is connected to port B-. Pin 23 of chip U1E is connected to one end of resistor R9E. The other end of resistor R9E is connected to one end of resistor R22E, one end of resistor R27E, one end of resistor R28E, and the cathode of Zener diode D7E. The other end of resistor R22E is connected to the gate of MOSFET M1E, and the other end of resistor R27E is connected to the gate of MOSFET M4E. Pin 22 of chip U1E is connected to one end of resistor R10E. Pin 21 of chip U1E is connected to the other end of resistor R10E, one end of capacitor C4E, and the 5V power supply. The other end of capacitor C4E is connected to port B-. Pin 20 of chip U1E is connected to one end of resistor R4E. The other end of resistor R4E is connected to pin 2 of connector J1E. Pin 19 of chip E is connected to one end of resistor R5E. The other end of resistor R5E is connected to pin 3 of connector J1E. Pin 18 of chip U1E is connected to one end of resistor R14E and one end of capacitor C10E. Pin 17 of chip U1E is connected to one end of resistor R13E and one end of capacitor C6E. Pin 16 of chip U1E is connected to one end of thermistor NTC1E and one end of capacitor C7E. The other ends of resistor R14E, capacitor C10E, resistor R13E, capacitor C6E, thermistor NTC1E, and capacitor C7E are combined and connected to terminal B-. Pin 15 of chip U1E... The pins are connected to one end of resistor R20E, one end of capacitor C13E, and one end of capacitor C16E respectively. Pin 14 of chip U1E is connected to one end of resistor R21E, the other end of capacitor C13E, and one end of capacitor C17E respectively. The other ends of capacitor C16E and capacitor C17E are combined and connected to port B-. The other ends of resistor R20E, resistor R31E, resistor R32E, resistor R28E, the anode of Zener diode D7E, the source of MOSFET M1E, the source of MOSFET M4E, and one end of capacitor C21E are combined and connected to the CRS terminal. The other end of capacitor C21E is connected to one end of capacitor C20E.The other end of resistor R30E, the other end of capacitor C19E, the anode of diode D9E, the anode of diode D10E, the other end of resistor R31E, the other end of resistor R32E, and the other end of resistor R21E are connected to port B-. Pin 4 of connector J1E is connected to port B-. The other end of capacitor C20E, the anode of Zener diode D8E, the other end of resistor R25E, the source of MOSFET M2E, the source of MOSFET M3E, the anode of diode D4E, the cathode of diode D5E, and the other end of capacitor C9E are connected to port P-.

[0008] The DC-DC buck-boost control circuit includes a chip U1B, model SC8815. Pin 6 of chip U1B is connected to one end of capacitor C22B, and the other end of capacitor C22B is connected to the AGND port. Pin 7 of chip U1B is connected to one end of resistor R17B and the CE port. Pin 8 of chip U1B is connected to one end of resistor R18B and the PSTOP port. Pin 9 of chip U1B is connected to one end of resistor R16B and the DC-DC_SCL port. Pin 10 of chip U1B is connected to one end of resistor R15B and the DC-DC_SDA port, and the other ends of resistors R17B, R18B, and R16B are also connected. The other end of the resistor R15B is connected to the 3V3 voltage. The 3V3 port is connected to one end of capacitor C23B, and the other end of capacitor C23B is connected to the AGND port. Pins 12 and 13 of chip U1B are connected to the AGND port. Pin 15 of chip U1B is connected to one end of resistor R21B and one end of capacitor C25B. The other end of resistor R21B is connected to one end of capacitor C26B. The other ends of capacitor C26B and C25B are connected to the AGND port. Pin 30 of chip U1B is connected to one end of capacitor C18B. The other end of capacitor C18B is connected to pin 28 of chip U1B. Pin 26 of chip U1B is connected to... One end of capacitor C20B is grounded. The other end of capacitor C20B is connected to pins 25 and 24 of chip U1B. Pin 22 of chip U1B is connected to one end of capacitor C21B. The other end of capacitor C21B is connected to pin 20 of chip U1B. Pin 33 of chip U1B is grounded. The DC_DCDC+ port is connected to the USD_DCDC+ port, one end of capacitor C13B, and the drain of MOSFET M1B. The source of M1B is connected to one end of resistor R3B, one end of polarized capacitor EC1B, one end of capacitor C1B, one end of capacitor C2B, one end of capacitor C3B, one end of capacitor C4B, one end of capacitor C7B, and one end of capacitor C14B. One end of resistor R2B, one end of resistor R5B, and pin 31 of chip U1B are connected. The drain of MOSFET M1B is connected to the other end of resistor R3B and one end of resistor R14B. The other end of resistor R14B is connected to pin 2 of chip U1B. The other end of capacitor C14B is grounded. The other ends of polarized capacitor EC1B, capacitor C1B, capacitor C2B, capacitor C3B, capacitor C4B, capacitor C7B, and capacitor C13B are combined and connected to the USB_DCDC-port, DC_DCDC-port, and ground, respectively. The other end of resistor R5B is connected to one end of capacitor C15B and pin 1 of chip U1B.The other end of resistor R2B is connected to one end of resistor R6B, one end of capacitor C6B, and then connected in four separate paths to the drain of MOSFET M3B. The other end of resistor R6B is connected to the other end of capacitor C15B and pin 32 of chip U1B. The other end of capacitor C6B is grounded. The gate of MOSFET M3B is connected to one end of resistor R4B, and the other end of resistor R4B is connected to pin 29 of chip U1B. The source of MOSFET M3B is split into three paths and combined, then connected to resistor R7B, inductor L1B, and finally connected in four separate paths to the drain of MOSFET M4B. The gate of MOSFET M4B is connected to one end of resistor R11B, and the other end of resistor R11B is connected to chip U1B. Pin 27 of chip U1B: The source of MOSFET M4B is split into three paths and connected to one end of capacitor C16B, one end of capacitor C17B, and then to the source of MOSFET M5B and ground. The other end of capacitor C16B is connected to the other end of resistor R7B. The gate of MOSFET M5B is connected to one end of resistor R13B, and the other end of resistor R13B is connected to pin 23 of chip U1B. The drain of MOSFET M5B is split into four paths and connected to the other end of inductor L1B, one end of resistor R8B, and then to the source of MOSFET M2B. The other end of resistor R8B is connected to the other end of capacitor C17B. MOSFET M2B... The gate of the MOSFET is connected to one end of resistor R12B. The other end of resistor R12B is connected to pin 21 of chip U1B. The drain of MOSFET M2B is divided into four paths and combined to connect to one end of capacitor C5B, one end of resistor R9B, and one end of resistor R1B respectively. The other end of capacitor C5B is grounded. The other end of resistor R9B is connected to one end of capacitor C19B and pin 18 of chip U1B respectively. The other end of resistor R1B is connected to one end of resistor R10B, one end of resistor R19B, one end of capacitor C24B, one end of capacitor C12B, one end of capacitor C8B, one end of capacitor C9B, one end of capacitor C10B, and one end of capacitor C11B respectively. One end of polarized capacitor EC2B, the P+ port, and pin 19 of chip U1B are connected. The other end of resistor R10B is connected to the other end of capacitor C19B and pin 17 of chip U1B. The other end of resistor R19B is connected to one end of resistor R20B and pin 16 of chip U1B. The other end of resistor R20B is grounded. The other end of capacitor C24B is grounded. The other ends of capacitors C12B, C8B, C9B, C10B, C11B, and polarized capacitor EC2B are combined and connected to the P- port and ground. The GND port is connected to the AGND port and ground.

[0009] The DC-1 port of the DC interface circuit is connected to the cathode of diode D1D. The anode of diode D1D is connected to one end of resistor R12D. The other end of resistor R12D is connected to one end of resistor R11D and one end of resistor R13D. The other end of resistor R13D is connected to one end of capacitor C2D and the DC_STA port. The other end of resistor R11D is connected to the 3V3 and 3V3 ports. The DC-2 port is connected to one end of resistor R10D, one end of capacitor C1D, the other end of capacitor C2D, the DC_DCDC- port, the GND port, and ground. The other end of resistor R10D is connected to one end of resistor R9D and the other end of capacitor C1D, which are then combined and connected to the DC_DET port. The DC+ port is connected to the other end of resistor R9D, one end of resistor R1D, and the source of MOSFET M1D. The gate of MOSFET M1D is connected to resistor R1D. The other end of the resistor is connected to one end of resistor R3D. The other end of resistor R3D is connected to the collector of transistor Q2D. The base of transistor Q2D is connected to one end of resistor R5D and one end of resistor R7D. The other end of resistor R7D is connected to the emitter of transistor Q2D and grounded. The other end of resistor R5D is connected to the DC_CTR port. The drain of MOSFET M1D is connected to the drain of M2D. The source of M2D is connected to one end of resistor R2D and the DC_DCDC+ port. The gate of MOSFET M2D and the other end of resistor R2D are connected to one end of resistor R4D. The other end of resistor R4D is connected to the collector of transistor Q1D. The base of transistor Q1D is connected to one end of resistor R6D and one end of resistor R8D. The other end of resistor R8D is connected to the emitter of transistor Q1D and grounded. The other end of resistor R6D is connected to the DC_CTR port.

[0010] The MCU control circuit includes voltage regulator chips U1A, U2A, and U3A. Voltage regulator chip U1A is model HT7150-1, voltage regulator chip U2A is model HT7133-1, and voltage regulator chip U3A is model CMS8S6990. Pin 1 of chip U3A is connected to one end of resistor R4A, and the other end of resistor R4A is connected to the DC-DC_SCL port. Pin 2 of chip U3A is connected to one end of resistor R6A, and the other end of resistor R6A is connected to the DC-DC_SDA port. Pin 3 of chip U3A is grounded. Pin 4 of chip U3A is connected to pin 2 of the connector programming 1A. Pin 5 of chip U3A is connected to a 3V3 voltage. Pin 6 of chip U3A is connected to one end of resistor R9A, and the other end of resistor R9A is connected to the PSTOP port. Pin 7 of chip U3A is connected to one end of resistor R10A, and the other end of resistor R10A is connected to the CE port. Pin 8 of chip U3A is connected to the DC-DC_STA port. Pin 9 of chip U3A is connected to the DC-DC_DET port. Pin 10 of chip U3A is connected to the DC-DC_CTR port. Pin 11 of chip U3A is connected to one end of resistor R11A, and the other end of resistor R11A is connected to the IRQ port. Pin 12 of chip U3A is connected to one end of resistor R7A, and the other end of resistor R7A is connected to the USB_SDA port. Pin 13 of chip U3A is connected to resistor R5A. One end of the resistor R5A is connected to the USB_SCK port. Pin 14 of chip U3A is connected to pin 3 of connector programming 1A. Pin 15 of chip U3A is connected to one end of resistor R12A and one end of resistor R13A respectively. The other end of resistor R12A is connected to 3V3 voltage. The other end of resistor R13A is connected to one end of button K1A, and the other end of button K1A is grounded. Pin 16 of chip U3A is connected to one end of resistor R2A. The other end of resistor R2A is connected to the anode of diode DS1A, and the cathode of diode DS1A is grounded. Pin 17 of chip U3A is connected to one end of resistor R3A. The other end of resistor R3A is connected to the anode of diode DS2A. With the negative terminal grounded, pin 18 of chip U3A is connected to one end of resistor R8A, and the other end of resistor R8A is connected to the anode of diode DS3A. The negative terminal of diode DS3A is grounded. Pin 19 of chip U3A is connected to the Heater_Ctr port. Pin 20 of chip U3A is connected to one end of resistor R14A and the NTC port, respectively. The other end of resistor R14A is connected to a 3V3 voltage. Pin 1 of connector programming 1A is grounded, and pin 4 of connector programming 1A is connected to a 3V3 voltage. One end of capacitor C7A is connected to a 3V3 voltage, and the other end of capacitor C7A is grounded. The positive power input terminal is connected to the P+ port and the anode of diode D1A, respectively. The cathode of diode D1A is connected to one end of resistor R1A.The other end of resistor R1A is connected to one end of capacitor C3A, one end of capacitor C4A, and pin 2 of voltage regulator chip U1A. Pin 3 of voltage regulator chip U1A is connected to one end of capacitor C5A, one end of capacitor C6A, the 5V port, the 5V voltage, and pin 2 of voltage regulator chip U2A. Pin 3 of voltage regulator chip U2A is connected to one end of capacitor C1A, one end of capacitor C2A, the 3V3 voltage, and the 3V3 port. The other ends of capacitors C1A, C2A, C3A, C4A, C5A, and C6A, pin 1 of voltage regulator chip U1A, and pin 1 of voltage regulator chip U2A are combined and grounded and connected to the GND pin.

[0011] The USB interface circuit includes a chip U1C, specifically the SW2505 model. The 5V port of the USB interface circuit is connected to a 5V voltage source, one end of capacitor C10C, and pin 3 of chip U1C. Pin 4 of chip U1C is connected to one end of capacitor C8C. Pin 5 of chip U1C is connected to one end of capacitor C9C. The other ends of capacitors C10C, C8C, and C9C are grounded. Pin 17 of chip U1C is connected to one end of resistor R5C and the USB_SCK port. Pin 16 of U1C is connected to one end of resistor R6C and the USB_SDA port. Pin 15 of U1C is connected to one end of resistor R7C. The other ends of resistors R5C, R6C, and R7C are connected together to the IRQ port and the 3V3 voltage level port. Pin 29 of chip U1C is grounded. Pin 28 of chip U1C is connected to one end of capacitor C5C, and the other end of capacitor C5C is grounded. Pin 23 of chip U1C is connected to one end of capacitor C6C. Pin 22 of chip U1C is connected to one end of capacitor C7C. The other ends of capacitors C6C and C7C are connected together to ground. Pin 27 of chip U1C is connected to one end of capacitor C3C, one end of capacitor C2C, and one end of resistor R3C. Pin 26 of chip U1C is connected to the other end of capacitor C3C, one end of capacitor C4C, and one end of resistor R7C. One end of resistor R4C and the other end of capacitor C2C are grounded. The other end of resistor R3C is connected to resistor R2C and the USD_DCDC+ port. The other end of resistor R2C is connected to the other end of R4C, and then to the drain of MOSFET M2C in four separate connections. The source of MOSFET M2C is connected to the source of MOSFET M1C in three separate connections. The gate of MOSFET M2C is connected to the cathode of Zener diode ZD1C, the gate of MOSFET M1C, and pin 25 of chip U1C. The other end of Zener diode ZD1C is connected to the sources of MOSFET M1C and MOSFET M2C. The drain of MOSFET M1C is divided into four paths, which are then combined and connected to one end of resistor R1C and capacitor C1C. One end of the resistor R1C is connected to the USB+ port, pin 2 of the female USB1C connector, and pin 11 of the female USB1C connector. The other end of the resistor R1C is connected to pin 24 of the chip U1C. The other end of the capacitor C1C is grounded. Pins 1 and 12 of the female USB1C connector are grounded respectively. Pins 13 and 14 of the female USB1C connector are connected together to ground and the USB- port. Pin 4 of the female USB1C connector is connected to ground in series with ESD1C. Pin 10 of the female USB1C connector is connected to ground in series with diode ESD2C. Pins 5 and 7 of the female USB1C connector and pin 21 of the chip U1C connector are connected together to one end of diode ESD3C. The other end of diode ESD3C is grounded.Pins 6 and 8 of the female USB1C connector, and pin 20 of the U1C chip are connected together to one end of the ESD4C diode. The other end of the ESD4C diode is grounded. The USB_DCDC- port and the GND port are connected together to ground.

[0012] The P+ port of the temperature detection and control circuit is connected to one end of the temperature switch K1H, the other end of the temperature switch K1H is connected to one end of the heating film RM1, the other end of the heating film RM1 is connected to the drain of the MOSFET M1F, the source of the MOSFET M1F is connected to one end of the thermistor NTC1F, one end of the resistor R2F and the P- port respectively, the gate of the MOSFET M1F is connected to one end of the resistor R1F and the other end of the resistor R2F respectively, the other end of the resistor R1F is connected to the Heater_Ctr port, and the other end of the thermistor NTC1F is connected to the NTC port.

[0013] Compared with existing technologies, this invention solves the problem of load power following battery voltage fluctuations, avoids float charging and high-current charging at low battery levels, effectively avoids conflicts between high-current charging and system power supply, improves safety, adds charging and discharging heating function, solves the demand for high-power discharge in low-temperature conditions, improves battery life, further reduces battery costs, and achieves constant power output and constant voltage output functions through synchronous buck-boost circuit and power detection, compatible with PD and QC protocols, solving the problem of insufficient load capacity at low battery levels and providing equipment fault safety protection. Attached Figure Description

[0014] Figure 1 This is a system diagram of the present invention;

[0015] Figure 2 This is a circuit diagram of a DC interface circuit.

[0016] Figure 3 This is a circuit diagram of a USB interface circuit.

[0017] Figure 4 Circuit diagram of DC-DC step-up / step-down control circuit;

[0018] Figure 5 This is the circuit diagram for the MCU control circuit.

[0019] Figure 6 This is a circuit diagram for a lithium battery protection circuit.

[0020] Figure 7 This is a circuit diagram of a temperature detection and control circuit. Detailed Implementation

[0021] The present invention will be further described below with reference to the accompanying drawings.

[0022] like Figure 1A battery control circuit with charging / discharging and heating management features includes a lithium battery protection circuit, a DC-DC buck-boost control circuit, an MCU control circuit, a DC interface circuit, a USB interface circuit, and a temperature detection and control circuit. The lithium battery protection circuit has P+ and P- ports. The DC-DC buck-boost control circuit has P+, P-, 3V3, GND, DC_DCDC+, DC_DCDC-, USD_DCDC+, USD_DCDC-, DC_SDA, DC_SCL, CE, and PSTOP ports. The MCU control circuit has P+, 3V3, GND, DC_SDA, DC_SCL, CE, PSTOP, 5V, IRQ, and USB_SC ports. The system includes a K-port, a USB_SDA port, a DC_DET port, a DC_STA port, a DC_CTR port, a Heater_Ctr port, and an NTC port; the DC interface circuit includes a 3V3 port, a GND port, a DC_DCDC+ port, a DC_DCDC- port, a DC_DET port, a DC_STA port, a DC_CTR port, a DC+ port, a DC-1 port, and a DC-2 port; the USB interface circuit includes a 3V3 port, a GND port, a USD_DCDC+ port, a USD_DCDC- port, a 5V port, an IRQ port, a USB_SCK port, a USB_SDA port, a USB+ port, a USB- port, a CC1 port, and a CC2 port; the temperature detection and control circuit includes a P+ port, a P- port, a Heater_Ctr port, and an NTC port.The P+ port of the lithium battery protection circuit is connected to the P+ port of the temperature detection and control circuit, the P+ port of the MCU control circuit, and the P+ port of the DC-DC buck-boost control circuit. The P- port of the lithium battery protection circuit is connected to the P+ port of the temperature detection and control circuit and the P- port of the DC-DC buck-boost control circuit. The DC_DCDC+ and DC_DCDC- ports of the DC-DC buck-boost control circuit are connected to the DC_DCDC+ and DC_DCDC- ports of the DC interface circuit, respectively. The USD_DCDC+ and USD_DCDC- ports of the DC-DC buck-boost control circuit are connected to the USD_DCDC+ and USD_DCDC- ports of the USB interface circuit, respectively. The DC_SDA, DC_SCL, CE, and PSTOP ports of the DC-DC buck-boost control circuit are connected to the DC_SDA, DC_SCL, CE, and PSTOP ports of the MCU control circuit, respectively. The GND port of the MCU control circuit is connected to the GND port of the DC-DC buck-boost control circuit, the GND port of the DC interface circuit, and the GND port of the USB interface circuit. The 3V3 port of the MCU control circuit is also connected to these ports. The 5V port, IRQ port, USB_SCK port, and USB_SDA port of the MCU control circuit are connected to the corresponding ports of the USB interface circuit. Similarly, the DC_DET port, DC_STA port, and DC_CTR port of the MCU control circuit are connected to the corresponding ports of the DC interface circuit. Finally, the Heater_Ctr port and NTC port of the MCU control circuit are connected to the Heater_Ctr port and NTC port of the temperature detection control circuit.

[0023] like Figure 2The DC-1 port of the DC interface circuit is connected to the cathode of diode D1D. The anode of diode D1D is connected to one end of resistor R12D. Diode D1D prevents damage to the circuit when the charger is reverse-connected. The other end of resistor R12D is connected to one end of resistor R11D and one end of resistor R13D. The other end of resistor R13D is connected to one end of capacitor C2D and the DC_STA port. The other end of resistor R11D is connected to the 3V3 and 3V3 ports respectively. The DC-2 port is connected to one end of resistor R10D, one end of capacitor C1D, the other end of capacitor C2D, the DC_DCDC- port, the GND port, and ground respectively. The other end of resistor R10D is connected to one end of resistor R9D and the other end of capacitor C1D, and then combined to the DC_DET port. The DC+ port is connected to the other end of resistor R9D, one end of resistor R1D, and the source of MOSFET M1D respectively. The gate of transistor M1D and the other end of resistor R1D are connected together to one end of resistor R3D. The other end of resistor R3D is connected to the collector of transistor Q2D. The base of transistor Q2D is connected to one end of resistor R5D and one end of resistor R7D. The other end of resistor R7D and the emitter of transistor Q2D are connected together to ground. The other end of resistor R5D is connected to the DC_CTR port. The drain of MOSFET M1D is connected to the drain of M2D. The source of M2D is connected to one end of resistor R2D and the DC_DCDC+ port. The gate of MOSFET M2D and the other end of resistor R2D are connected together to one end of resistor R4D. The other end of resistor R4D is connected to the collector of transistor Q1D. The base of transistor Q1D is connected to one end of resistor R6D and one end of resistor R8D. The other end of resistor R8D and the emitter of transistor Q1D are connected together to ground. The other end of resistor R6D is connected to the DC_CTR port. The voltage signal is supplied to the DC_STA port through an RC filter circuit consisting of resistor R12D and capacitor C2D. When the voltage signal at the DC_CTR port is high, MOSFETs M1D and M2D are turned on; when the voltage signal at the DC_CTR port is low, MOSFETs M1D and M2D are turned off.

[0024] like Figure 3The USB interface circuit includes chip U1C, which is model SW2505. The 5V port of the USB interface circuit is connected to a 5V voltage source, one end of capacitor C10C, and pin 3 of chip U1C. Pin 4 of chip U1C is connected to one end of capacitor C8C. Pin 5 of chip U1C is connected to one end of capacitor C9C. The other ends of capacitors C10C, C8C, and C9C are grounded together. Pin 17 of chip U1C is connected to one end of resistor R5C and the USB_SCK port. Pin 16 of U1C is connected to one end of resistor R6C and the USB_SDA port. Pin 15 of U1C is connected to one end of resistor R7C and... The RQ port, the other ends of resistors R5C, R6C, and R7C are connected together to the 3V3 voltage level and the 3V3 port. Pin 29 of chip U1C is grounded. Pin 28 of chip U1C is connected to one end of capacitor C5C, and the other end of capacitor C5C is grounded. Pin 23 of chip U1C is connected to one end of capacitor C6C. Pin 22 of chip U1C is connected to one end of capacitor C7C. The other ends of capacitors C6C and C7C are connected together to ground. Pin 27 of chip U1C is connected to one end of capacitor C3C, one end of capacitor C2C, and one end of resistor R3C. Pin 26 of chip U1C is connected to the other end of capacitor C3C, one end of capacitor C4C, and resistor R3C. One end of R4C is connected to ground, the other end of capacitor C2C is grounded, the other end of resistor R3C is connected to resistor R2C and the USD_DCDC+ port, the other end of resistor R2C is connected to the other end of R4C, and then connected to the drain of MOSFET M2C in four separate paths. The source of MOSFET M2C is connected to the source of MOSFET M1C in three separate paths. The gate of MOSFET M2C is connected to the cathode of Zener diode ZD1C, the gate of MOSFET M1C, and pin 25 of chip U1C. The other end of Zener diode ZD1C is connected to the source of MOSFET M1C and the source of MOSFET M2C. The drain of MOSFET M1C is connected to one end of resistor R1C and capacitor C1C in four separate paths. One end of the resistor R1C is connected to the USB+ port, pin 2 of the female USB1C connector, and pin 11 of the female USB1C connector. The other end of the resistor R1C is connected to pin 24 of the chip U1C. The other end of the capacitor C1C is grounded. Pins 1 and 12 of the female USB1C connector are grounded respectively. Pins 13 and 14 of the female USB1C connector are connected together to ground and the USB- port. Pin 4 of the female USB1C connector is connected to ground in series with ESD1C. Pin 10 of the female USB1C connector is connected to ground in series with diode ESD2C. Pins 5 and 7 of the female USB1C connector and pin 21 of the chip U1C connector are connected together to one end of diode ESD3C. The other end of diode ESD3C is grounded.Pins 6 and 8 of the female USB1C connector, and pin 20 of the U1C chip are connected together to one end of diode ESD4C. The other end of diode ESD4C is grounded. The USB_DCDC- port and the GND port are grounded together. Diodes ESD1C, ESD2C, ESD3C, and ESD4C protect the USB port from damage to U1C caused by hot-plugging and static electricity. Zener diode ZD1C prevents voltage surges during hot-plugging, which could damage MOSFETs M1C and M2C. Resistors R3C and R4C, and capacitors C2C, C3C, and C4C form a differential detection RC filter circuit to filter out interference signals on the current detection line, ensuring that the signal on R2C is accurately detected by U1C. Resistors R5C, R6C, and R7C act as pull-up resistors, providing power to the communication signal during communication. The remaining capacitors act as filter capacitors, ensuring the stability of the power supply and signal. The female USB1C connector uses a Type-C interface.

[0025] like Figure 4The DC-DC step-up / step-down control circuit includes chip U1B, model SC8815. Pin 6 of chip U1B is connected to one end of capacitor C22B, and the other end of capacitor C22B is connected to the AGND port. Pin 7 of chip U1B is connected to one end of resistor R17B and the CE port. Pin 8 of chip U1B is connected to one end of resistor R18B and the PSTOP port. Pin 9 of chip U1B is connected to one end of resistor R16B and the DC-DC_SCL port. Pin 10 of chip U1B is connected to one end of resistor R15B and the DC-DC_SDA port. The other ends of resistors R17B, R18B, and R16B are also connected. One end of the resistor R15B and the other end of the capacitor R15B are connected together to a 3V3 voltage source. The 3V3 port is connected to one end of the capacitor C23B. The other end of the capacitor C23B is connected to the AGND port. Pins 12 and 13 of the chip U1B are connected together to the AGND port. Pin 15 of the chip U1B is connected to one end of the resistor R21B and one end of the capacitor C25B. The other end of the resistor R21B is connected to one end of the capacitor C26B. The other ends of the capacitor C26B and C25B are connected together to the AGND port. Pin 30 of the chip U1B is connected to one end of the capacitor C18B. The other end of the capacitor C18B is connected to pin 28 of the chip U1B. Pin 26 of the chip U1B is connected to... One end of capacitor C20B is connected to ground. The other end of capacitor C20B is connected to pins 25 and 24 of chip U1B, respectively. Pin 22 of chip U1B is connected to one end of capacitor C21B, and the other end of capacitor C21B is connected to pin 20 of chip U1B. Pin 33 of chip U1B is grounded. The DC_DCDC+ port is connected to the USD_DCDC+ port, one end of capacitor C13B, and the drain of MOSFET M1B. The source of M1B is connected to one end of resistor R3B, one end of polarized capacitor EC1B, one end of capacitor C1B, one end of capacitor C2B, one end of capacitor C3B, one end of capacitor C4B, one end of capacitor C7B, and one end of capacitor C14B. One end of resistor R2B, one end of resistor R5B, and pin 31 of chip U1B are connected. The drain of MOSFET M1B is connected to the other end of resistor R3B and one end of resistor R14B. The other end of resistor R14B is connected to pin 2 of chip U1B. The other end of capacitor C14B is grounded. The other ends of polarized capacitor EC1B, capacitor C1B, capacitor C2B, capacitor C3B, capacitor C4B, capacitor C7B, and capacitor C13B are combined and connected to the USB_DCDC-port, DC_DCDC-port, and ground, respectively. The other end of resistor R5B is connected to one end of capacitor C15B and pin 1 of chip U1B.The other end of resistor R2B is connected to one end of resistor R6B, one end of capacitor C6B, and then connected in four separate paths to the drain of MOSFET M3B. The other end of resistor R6B is connected to the other end of capacitor C15B and pin 32 of chip U1B. The other end of capacitor C6B is grounded. The gate of MOSFET M3B is connected to one end of resistor R4B, and the other end of resistor R4B is connected to pin 29 of chip U1B. The source of MOSFET M3B is split into three paths and combined, then connected to resistor R7B, inductor L1B, and finally connected in four separate paths to the drain of MOSFET M4B. The gate of MOSFET M4B is connected to one end of resistor R11B, and the other end of resistor R11B is connected to chip U1B. Pin 27 of chip U1B: The source of MOSFET M4B is split into three paths and connected to one end of capacitor C16B, one end of capacitor C17B, and then to the source of MOSFET M5B and ground. The other end of capacitor C16B is connected to the other end of resistor R7B. The gate of MOSFET M5B is connected to one end of resistor R13B, and the other end of resistor R13B is connected to pin 23 of chip U1B. The drain of MOSFET M5B is split into four paths and connected to the other end of inductor L1B, one end of resistor R8B, and then to the source of MOSFET M2B. The other end of resistor R8B is connected to the other end of capacitor C17B. MOSFET M2B... The gate of the MOSFET is connected to one end of resistor R12B. The other end of resistor R12B is connected to pin 21 of chip U1B. The drain of MOSFET M2B is divided into four paths and combined to connect to one end of capacitor C5B, one end of resistor R9B, and one end of resistor R1B respectively. The other end of capacitor C5B is grounded. The other end of resistor R9B is connected to one end of capacitor C19B and pin 18 of chip U1B respectively. The other end of resistor R1B is connected to one end of resistor R10B, one end of resistor R19B, one end of capacitor C24B, one end of capacitor C12B, one end of capacitor C8B, one end of capacitor C9B, one end of capacitor C10B, and one end of capacitor C11B respectively. One end of polarized capacitor EC2B, the P+ port, and pin 19 of chip U1B are connected. The other end of resistor R10B is connected to the other end of capacitor C19B and pin 17 of chip U1B. The other end of resistor R19B is connected to one end of resistor R20B and pin 16 of chip U1B. The other end of resistor R20B is grounded. The other end of capacitor C24B is grounded. The other ends of capacitors C12B, C8B, C9B, C10B, C11B, and polarized capacitor EC2B are combined and connected to the P- port and ground. The GND port is connected to the AGND port and ground.

[0026] Resistors R5B, R6B, and capacitors C15B and R9B, R10B, and C19B form a differential detection RC filter circuit. This circuit filters out interference signals on the current detection line, ensuring that the signals on resistors R2B and R1B are accurately detected by chip U1B. Polarized capacitors EC1B, C1B, C2B, C3B, C4B, and C7B, along with polarized capacitors EC2B, C8B, C9B, C10B, C11B, and C12B, form the filter capacitors in the power circuit. These capacitors filter out oscillation signals in the main circuit, providing filtering, voltage regulation, and reducing electrical radiation.

[0027] like Figure 5The MCU control circuit includes voltage regulator chips U1A, U2A, and U3A. Voltage regulator chip U1A is model HT7150-1, voltage regulator chip U2A is model HT7133-1, and voltage regulator chip U3A is model CMS8S6990. Pin 1 of chip U3A is connected to one end of resistor R4A, and the other end of resistor R4A is connected to the DC-DC_SCL port. Pin 2 of chip U3A is connected to one end of resistor R6A, and the other end of resistor R6A is connected to the DC-DC_SDA port. Pin 3 of chip U3A is grounded. Pin 4 of chip U3A is connected to pin 2 of the connector programming 1A. Pin 5 of chip U3A is connected to a 3V3 voltage. Pin 6 of chip U3A is connected to one end of resistor R9A, and the other end of resistor R9A is connected to the PSTOP port. Pin 7 of chip U3A is connected to one end of resistor R10A, and the other end of resistor R10A is connected to the CE port. Pin 8 of chip U3A is connected to the DC-DC_STA port. Pin 9 of chip U3A is connected to the DC-DC_DET port. Pin 10 of chip U3A is connected to the DC-DC_CTR port. Pin 11 of chip U3A is connected to one end of resistor R11A, and the other end of resistor R11A is connected to the IRQ port. Pin 12 of chip U3A is connected to one end of resistor R7A, and the other end of resistor R7A is connected to the USB_SDA port. Pin 13 of chip U3A is connected to resistor R5A... One end of resistor R5A is connected to the USB_SCK port. Pin 14 of chip U3A is connected to pin 3 of connector programming 1A. Pin 15 of chip U3A is connected to one end of resistor R12A and one end of resistor R13A respectively. The other end of resistor R12A is connected to 3V3 voltage. The other end of resistor R13A is connected to one end of button K1A, and the other end of button K1A is grounded. Pin 16 of chip U3A is connected to one end of resistor R2A. The other end of resistor R2A is connected to the anode of diode DS1A, and the cathode of diode DS1A is grounded. Pin 17 of chip U3A is connected to one end of resistor R3A. The other end of resistor R3A is connected to the anode of diode DS2A. With the negative terminal grounded, pin 18 of chip U3A is connected to one end of resistor R8A, and the other end of resistor R8A is connected to the anode of diode DS3A. The negative terminal of diode DS3A is grounded. Pin 19 of chip U3A is connected to the Heater_Ctr port. Pin 20 of chip U3A is connected to one end of resistor R14A and the NTC port, respectively. The other end of resistor R14A is connected to a 3V3 voltage. Pin 1 of connector programming 1A is grounded, and pin 4 of connector programming 1A is connected to a 3V3 voltage. One end of capacitor C7A is connected to a 3V3 voltage, and the other end of capacitor C7A is grounded. The positive power input terminal is connected to the P+ port and the anode of diode D1A, respectively. The cathode of diode D1A is connected to one end of resistor R1A.The other end of resistor R1A is connected to one end of capacitor C3A, one end of capacitor C4A, and pin 2 of voltage regulator chip U1A. Pin 3 of voltage regulator chip U1A is connected to one end of capacitor C5A, one end of capacitor C6A, the 5V port, the 5V voltage, and pin 2 of voltage regulator chip U2A. Pin 3 of voltage regulator chip U2A is connected to one end of capacitor C1A, one end of capacitor C2A, the 3V3 voltage, and the 3V3 port. The other ends of capacitors C1A, C2A, C3A, C4A, C5A, C6A, pin 1 of voltage regulator chip U1A, and pin 1 of voltage regulator chip U2A are combined and connected to ground and GND pin. Resistors R4A, R5A, R6A, R7A, R9A, R10A, and R11A act as current-limiting resistors to protect the chip from voltage instability in the communication circuit.

[0028] like Figure 6The lithium battery protection circuit includes chip U1E, model SH367601B. The P+ port of the lithium battery protection circuit is connected to the cathode of diode D4E, one end of capacitor C5E, one end of resistor R2E, one end of resistor R12E, and serial port B6. The other end of capacitor C5E is connected to one end of capacitor C6E. The other end of resistor R2E is connected to the anode of diode D1E and one end of capacitor C3E. The cathode of diode D1E is connected to one end of resistor R1E and the cathode of Zener diode D2E. The other end of resistor R1E is connected to one end of capacitor C1E, one end of capacitor C2E, pin 28 of chip U1E, and one end of resistor R3E. The other end of resistor R3E... The cathode of diode D3E is connected to the terminal of connector J1E. The anode of diode D3E is connected to pin 1 of connector J1E. The other ends of capacitors C1E, C2E, and C3E, and the anode of Zener diode D2E are connected together to port B-. The other end of resistor R12E is connected to one end of capacitor C8E, pins 2, 3, 4, 5, and 6 of chip U1E. The other end of capacitor C8E is connected to pin 7 of chip U1E, one end of capacitor C11E, and one end of resistor R16E. The other end of resistor R16E is connected to serial port B5. The other end of capacitor C11E is connected to chip U1E. Pin 8 of chip U1E, one end of capacitor C12E, and one end of resistor R17E are connected to serial port B4. The other end of capacitor C12E is connected to pin 9 of chip U1E, one end of capacitor C14E, and one end of resistor R18E. The other end of resistor R18E is connected to serial port B3. The other end of capacitor C14E is connected to pin 10 of chip U1E, one end of capacitor C15E, and one end of resistor R19E. The other end of resistor R19E is connected to serial port B2. The other end of capacitor C15E is connected to pin 11 of chip U1E, one end of capacitor C18E, one end of resistor R24E, and the cathode of diode D9E. The other end of resistor R24E is connected to serial port B1. The other end of capacitor C18E is connected to pin 12 of chip U1E, one end of capacitor C19E, one end of resistor R26E, and the cathode of diode D10E. The other end of resistor R26E is connected to one end of resistor R30E. Pin 13 of chip U1E is connected to port B-. Pin 26 of chip U1E is connected to one end of resistor R6E. The other end of resistor R6E is connected to the anode of diode D5E. Pin 25 of chip U1E is connected to one end of resistor R7E. The other end of resistor R7E is connected to the drain of MOSFETs M1E, M4E, M2E, and M3E. Pin 24 of chip U1E is connected to one end of resistor R8E.The other end of resistor R8E is connected to the emitter of transistor Q1E and one end of resistor R11E. The base of transistor Q1E is connected to the other end of resistor R11E and one end of resistor R15E. The collector of transistor Q1E is connected to the anode of diode D6E. The cathode of diode D6E is connected to the cathode of Zener diode D8E, one end of resistor R23E, one end of resistor R25E, and one end of resistor R29E. The other end of resistor R23E is connected to the gate of MOSFET M2E. The other end of resistor R29E is connected to the gate of MOSFET M3E. The other end of resistor R15E is connected to port B-. Pin 23 of chip U1E is connected to one end of resistor R9E. The other end of resistor R9E is connected to one end of resistor R22E, one end of resistor R27E, one end of resistor R28E, and the cathode of Zener diode D7E. The other end of resistor R22E is connected to the gate of MOSFET M1E, and the other end of resistor R27E is connected to the gate of MOSFET M4E. Pin 22 of chip U1E is connected to one end of resistor R10E. Pin 21 of chip U1E is connected to the other end of resistor R10E, one end of capacitor C4E, and the 5V power supply. The other end of capacitor C4E is connected to port B-. Pin 20 of chip U1E is connected to one end of resistor R4E. The other end of resistor R4E is connected to pin 2 of connector J1E. Pin 19 of chip E is connected to one end of resistor R5E. The other end of resistor R5E is connected to pin 3 of connector J1E. Pin 18 of chip U1E is connected to one end of resistor R14E and one end of capacitor C10E. Pin 17 of chip U1E is connected to one end of resistor R13E and one end of capacitor C6E. Pin 16 of chip U1E is connected to one end of thermistor NTC1E and one end of capacitor C7E. The other ends of resistor R14E, capacitor C10E, resistor R13E, capacitor C6E, thermistor NTC1E, and capacitor C7E are combined and connected to terminal B-. Pin 15 of chip U1E... The pins are connected to one end of resistor R20E, one end of capacitor C13E, and one end of capacitor C16E respectively. Pin 14 of chip U1E is connected to one end of resistor R21E, the other end of capacitor C13E, and one end of capacitor C17E respectively. The other ends of capacitor C16E and capacitor C17E are combined and connected to port B-. The other ends of resistor R20E, resistor R31E, resistor R32E, resistor R28E, the anode of Zener diode D7E, the source of MOSFET M1E, the source of MOSFET M4E, and one end of capacitor C21E are combined and connected to the CRS terminal. The other end of capacitor C21E is connected to one end of capacitor C20E.The other end of resistor R30E, the other end of capacitor C19E, the anode of diode D9E, the anode of diode D10E, the other end of resistor R31E, the other end of resistor R32E, and the other end of resistor R21E are connected to port B-. Pin 4 of connector J1E is connected to port B-. The other end of capacitor C20E, the anode of Zener diode D8E, the other end of resistor R25E, the source of MOSFET M2E, the source of MOSFET M3E, the anode of diode D4E, the cathode of diode D5E, and the other end of capacitor C9E are connected to port P-.

[0029] like Figure 7 The P+ port of the temperature detection and control circuit is connected to one end of the temperature switch K1H. The other end of the temperature switch K1H is connected to one end of the heating film RM1. The other end of the heating film RM1 is connected to the drain of the MOSFET M1F. The source of the MOSFET M1F is connected to one end of the thermistor NTC1F, one end of the resistor R2F, and the P- port. The gate of the MOSFET M1F is connected to one end of the resistor R1F and the other end of the resistor R2F. The other end of the resistor R1F is connected to the Heater_Ctr port. The other end of the thermistor NTC1F is connected to the NTC port.

[0030] Obtain the actual number of battery cells N, set the setpoint A (A=4.2V×N), set the setpoint B (B=4.15V×N), set the current C (current range 20A-30A), set the temperature D (temperature range 1℃-5℃), and set the temperature E (temperature range 8℃-12℃). When the USB interface circuit chip detects a connected power supply or load device, it wakes up the MCU control circuit chip from its sleep state. The USB interface circuit chip monitors the real-time operating current and voltage, and confirms the type of connected device through the protocol. If the connected device is determined to be a power supply, the preset power information is sent to the power supply, which inputs the required voltage and current to supply power to the system. If the connected device is determined to be a load device, the load information is sent to the MCU control circuit. When DC... The interface circuit chip detects the connected power supply or load device and wakes up the MCU control circuit chip from its sleep state. The MCU control circuit chip starts up, determines the type of connected device based on the voltage signal, and controls the DC-DC buck-boost control circuit. The DC-DC buck-boost control circuit chip manages charging and discharging according to the type of connected device. When a power supply is connected, it enters the charging state, controlling and monitoring the charging current, battery voltage, and power in real time by adjusting the switching frequency of the MOSFET. When the detected battery voltage is greater than or equal to the set value A, charging stops; when the detected battery voltage is less than the set value B, charging resumes. When a load device is connected, it enters the discharging state, controlling and monitoring the discharging current, battery voltage, and power in real time by adjusting the switching frequency of the MOSFET. When the detected discharging current is greater than or equal to the set current C, discharging stops; if the detected discharging current is less than the set value B, discharging resumes. When a button in the MCU control circuit is pressed, the MCU control circuit chip displays the battery level status. The display automatically turns off after a few seconds. The MCU control circuit chip performs battery temperature detection and heating control. It detects the battery temperature status. If the set temperature D is not reached, the MCU control circuit chip controls the heating film of the temperature detection control circuit to start working and heat the battery. If the set temperature E is reached, the MCU control circuit chip controls the heating film of the temperature detection control circuit to stop working and stop heating the battery. The temperature switch of the temperature detection control circuit performs overheat protection. When the temperature switch detects that the battery temperature is greater than or equal to 40°C, it automatically disconnects and disconnects the heating circuit until the battery temperature is less than or equal to 20°C, at which point it reconnects. If the MCU control circuit chip detects that no device is connected or that the device is connected to a power supply or load other than the device itself, it enters sleep mode and stops all operations.The battery powers the entire circuit through the P+ and P- ports of the lithium battery protection circuit. The P+ port of the lithium battery protection circuit is connected to the P+ port of the MCU control circuit. The voltage regulator chip U1A is powered by the RC filter circuit formed by resistor R1A, capacitor C4A, and capacitor C3A of the MCU control circuit. After being filtered by capacitors C6A and C5A, a stable 5V DC voltage is output to power the chip U1C of the USB interface circuit. At the same time, the voltage regulator chip U2A and the filter capacitors C2A and C1A output a 3.3V voltage to power the MCU control circuit.

[0031] The lithium battery protection circuit uses the SH367601B analog front-end chip from Chipown Microelectronics. This chip includes overcharge, over-discharge, overcurrent, short circuit, temperature protection, and 0V charge restriction functions. The lithium battery protection circuit module 5 can be configured with 1-6 modules in series according to customer needs. Additionally, a programming port is reserved, allowing for customized protection parameters and compatibility based on user requirements.

[0032] This circuit is compatible with the charging needs of battery packs ranging from 1 to 6 cells, and requires only one switching power supply to simultaneously charge the battery and supply the load, reducing the cost of the switching power supply. It features built-in battery heating management; in low-temperature environments, if the battery requires charging or discharging, it automatically heats the battery and disconnects automatically once the designated temperature is reached, ensuring safe charging and discharging in low-temperature conditions. The simultaneous charging and discharging port design eliminates the need for additional interfaces on the system control board, making it compatible with products that do not require charging and heating management. Using the battery invented in this design, the control board of the bracket does not require temperature management; the battery autonomously manages all charging and discharging.

Claims

1. A battery control circuit with charging / discharging and heating management functions, comprising a lithium battery protection circuit, a DC-DC buck-boost control circuit, an MCU control circuit, a DC interface circuit, a USB interface circuit, and a temperature detection and control circuit, characterized in that: The lithium battery protection circuit has a P+ port and a P- port; the DC-DC buck-boost control circuit has a P+ port, a P- port, a 3V3 port, a GND port, a DC_DCDC+ port, a DC_DCDC- port, a USD_DCDC+ port, a USD_DCDC- port, a DC-DC_SDA port, a DC-DC_SCL port, a CE port, and a PSTOP port; the MCU control circuit has a P+ port, a 3V3 port, a GND port, a DC-DC_SDA port, a DC-DC_SCL port, a CE port, a PSTOP port, a 5V port, an IRQ port, a USB_SCK port, a USB_SDA port, a DC_DET port, a DC_STA port, and a DC_CTR port. The system includes a P+ port, a Heater_Ctr port, and an NTC port; the DC interface circuit includes a 3V3 port, a GND port, a DC_DCDC+ port, a DC_DCDC- port, a DC_DET port, a DC_STA port, a DC_CTR port, a DC+ port, a DC-1 port, and a DC-2 port; the USB interface circuit includes a 3V3 port, a GND port, a USD_DCDC+ port, a USD_DCDC- port, a 5V port, an IRQ port, a USB_SCK port, a USB_SDA port, a USB+ port, a USB- port, a CC1 port, and a CC2 port; the temperature detection and control circuit includes a P+ port, a P- port, a Heater_Ctr port, and an NTC port.The P+ port of the lithium battery protection circuit is connected to the P+ port of the temperature detection and control circuit, the P+ port of the MCU control circuit, and the P+ port of the DC-DC buck-boost control circuit. The P- port of the lithium battery protection circuit is connected to the P+ port of the temperature detection and control circuit and the P- port of the DC-DC buck-boost control circuit. The DC_DCDC+ and DC_DCDC- ports of the DC-DC buck-boost control circuit are connected to the DC_DCDC+ and DC_DCDC- ports of the DC interface circuit, respectively. The USD_DCDC+ and USD_DCDC- ports of the DC-DC buck-boost control circuit are connected to the USD_DCDC+ and USD_DCDC- ports of the USB interface circuit, respectively. The DC_SDA, DC_SCL, CE, and PSTOP ports of the DC-DC buck-boost control circuit are connected to the DC_SDA, DC_SCL, CE, and PSTOP ports of the MCU control circuit, respectively. The GND port of the MCU control circuit is connected to the GND port of the DC-DC buck-boost control circuit, the GND port of the DC interface circuit, and the GND port of the USB interface circuit. The 3V3 port of the MCU control circuit is also connected to these ports. The 5V port, IRQ port, USB_SCK port, and USB_SDA port of the MCU control circuit are connected to the corresponding ports of the USB interface circuit. Similarly, the DC_DET port, DC_STA port, and DC_CTR port of the MCU control circuit are connected to the corresponding ports of the DC interface circuit. Finally, the Heater_Ctr port and NTC port of the MCU control circuit are connected to the Heater_Ctr port and NTC port of the temperature detection control circuit.

2. The battery control circuit with charging / discharging and heating management according to claim 1, characterized in that: The DC-1 port of the DC interface circuit is connected to the cathode of diode D1D. The anode of diode D1D is connected to one end of resistor R12D. The other end of resistor R12D is connected to one end of resistor R11D and one end of resistor R13D. The other end of resistor R13D is connected to one end of capacitor C2D and the DC_STA port. The other end of resistor R11D is connected to the 3V3 and 3V3 ports. The DC-2 port is connected to one end of resistor R10D, one end of capacitor C1D, the other end of capacitor C2D, the DC_DCDC- port, the GND port, and ground. The other end of resistor R10D is connected to one end of resistor R9D and the other end of capacitor C1D, which are then combined and connected to the DC_DET port. The DC+ port is connected to the other end of resistor R9D, one end of resistor R1D, and the source of MOSFET M1D. The gate of MOSFET M1D is connected to resistor R1D. The other end of the resistor is connected to one end of resistor R3D. The other end of resistor R3D is connected to the collector of transistor Q2D. The base of transistor Q2D is connected to one end of resistor R5D and one end of resistor R7D. The other end of resistor R7D is connected to the emitter of transistor Q2D and grounded. The other end of resistor R5D is connected to the DC_CTR port. The drain of MOSFET M1D is connected to the drain of M2D. The source of M2D is connected to one end of resistor R2D and the DC_DCDC+ port. The gate of MOSFET M2D and the other end of resistor R2D are connected to one end of resistor R4D. The other end of resistor R4D is connected to the collector of transistor Q1D. The base of transistor Q1D is connected to one end of resistor R6D and one end of resistor R8D. The other end of resistor R8D is connected to the emitter of transistor Q1D and grounded. The other end of resistor R6D is connected to the DC_CTR port.

3. The battery control circuit with charging / discharging and heating management according to claim 1, characterized in that: The USB interface circuit includes a chip U1C, specifically the SW2505 model. The 5V port of the USB interface circuit is connected to a 5V voltage source, one end of capacitor C10C, and pin 3 of chip U1C. Pin 4 of chip U1C is connected to one end of capacitor C8C. Pin 5 of chip U1C is connected to one end of capacitor C9C. The other ends of capacitors C10C, C8C, and C9C are grounded. Pin 17 of chip U1C is connected to one end of resistor R5C and the USB_SCK port. Pin 16 of U1C is connected to one end of resistor R6C and the USB_SDA port. Pin 15 of U1C is connected to one end of resistor R7C. The other ends of resistors R5C, R6C, and R7C are connected together to the IRQ port and the 3V3 voltage level port. Pin 29 of chip U1C is grounded. Pin 28 of chip U1C is connected to one end of capacitor C5C, and the other end of capacitor C5C is grounded. Pin 23 of chip U1C is connected to one end of capacitor C6C. Pin 22 of chip U1C is connected to one end of capacitor C7C. The other ends of capacitors C6C and C7C are connected together to ground. Pin 27 of chip U1C is connected to one end of capacitor C3C, one end of capacitor C2C, and one end of resistor R3C. Pin 26 of chip U1C is connected to the other end of capacitor C3C, one end of capacitor C4C, and one end of resistor R7C. One end of resistor R4C and the other end of capacitor C2C are grounded. The other end of resistor R3C is connected to resistor R2C and the USD_DCDC+ port. The other end of resistor R2C is connected to the other end of R4C, and then to the drain of MOSFET M2C in four separate connections. The source of MOSFET M2C is connected to the source of MOSFET M1C in three separate connections. The gate of MOSFET M2C is connected to the cathode of Zener diode ZD1C, the gate of MOSFET M1C, and pin 25 of chip U1C. The other end of Zener diode ZD1C is connected to the sources of MOSFET M1C and MOSFET M2C. The drain of MOSFET M1C is divided into four paths, which are then combined and connected to one end of resistor R1C and capacitor C1C. One end of the resistor R1C is connected to the USB+ port, pin 2 of the female USB1C connector, and pin 11 of the female USB1C connector. The other end of the resistor R1C is connected to pin 24 of the chip U1C. The other end of the capacitor C1C is grounded. Pins 1 and 12 of the female USB1C connector are grounded respectively. Pins 13 and 14 of the female USB1C connector are connected together to ground and the USB- port. Pin 4 of the female USB1C connector is connected to ground in series with ESD1C. Pin 10 of the female USB1C connector is connected to ground in series with diode ESD2C. Pins 5 and 7 of the female USB1C connector and pin 21 of the chip U1C connector are connected together to one end of diode ESD3C. The other end of diode ESD3C is grounded.Pins 6 and 8 of the female USB1C connector, and pin 20 of the U1C chip are connected together to one end of the ESD4C diode. The other end of the ESD4C diode is grounded. The USB_DCDC- port and the GND port are connected together to ground.

4. A battery control circuit with charging / discharging and heating management according to claim 1, characterized in that: The DC-DC buck-boost control circuit includes a chip U1B, model SC8815. Pin 6 of chip U1B is connected to one end of capacitor C22B, and the other end of capacitor C22B is connected to the AGND port. Pin 7 of chip U1B is connected to one end of resistor R17B and the CE port. Pin 8 of chip U1B is connected to one end of resistor R18B and the PSTOP port. Pin 9 of chip U1B is connected to one end of resistor R16B and the DC-DC_SCL port. Pin 10 of chip U1B is connected to one end of resistor R15B and the DC-DC_SDA port, and the other ends of resistors R17B, R18B, and R16B are also connected. The other end of the resistor R15B is connected to the 3V3 voltage. The 3V3 port is connected to one end of capacitor C23B, and the other end of capacitor C23B is connected to the AGND port. Pins 12 and 13 of chip U1B are connected to the AGND port. Pin 15 of chip U1B is connected to one end of resistor R21B and one end of capacitor C25B. The other end of resistor R21B is connected to one end of capacitor C26B. The other ends of capacitor C26B and C25B are connected to the AGND port. Pin 30 of chip U1B is connected to one end of capacitor C18B. The other end of capacitor C18B is connected to pin 28 of chip U1B. Pin 26 of chip U1B is connected to... One end of capacitor C20B is grounded. The other end of capacitor C20B is connected to pins 25 and 24 of chip U1B. Pin 22 of chip U1B is connected to one end of capacitor C21B. The other end of capacitor C21B is connected to pin 20 of chip U1B. Pin 33 of chip U1B is grounded. The DC_DCDC+ port is connected to the USD_DCDC+ port, one end of capacitor C13B, and the drain of MOSFET M1B. The source of M1B is connected to one end of resistor R3B, one end of polarized capacitor EC1B, one end of capacitor C1B, one end of capacitor C2B, one end of capacitor C3B, one end of capacitor C4B, one end of capacitor C7B, and one end of capacitor C14B. One end of resistor R2B, one end of resistor R5B, and pin 31 of chip U1B are connected. The drain of MOSFET M1B is connected to the other end of resistor R3B and one end of resistor R14B. The other end of resistor R14B is connected to pin 2 of chip U1B. The other end of capacitor C14B is grounded. The other ends of polarized capacitor EC1B, capacitor C1B, capacitor C2B, capacitor C3B, capacitor C4B, capacitor C7B, and capacitor C13B are combined and connected to the USB_DCDC-port, DC_DCDC-port, and ground, respectively. The other end of resistor R5B is connected to one end of capacitor C15B and pin 1 of chip U1B.The other end of resistor R2B is connected to one end of resistor R6B, one end of capacitor C6B, and then connected in four separate paths to the drain of MOSFET M3B. The other end of resistor R6B is connected to the other end of capacitor C15B and pin 32 of chip U1B. The other end of capacitor C6B is grounded. The gate of MOSFET M3B is connected to one end of resistor R4B, and the other end of resistor R4B is connected to pin 29 of chip U1B. The source of MOSFET M3B is split into three paths and combined, then connected to resistor R7B, inductor L1B, and finally connected in four separate paths to the drain of MOSFET M4B. The gate of MOSFET M4B is connected to one end of resistor R11B, and the other end of resistor R11B is connected to chip U1B. Pin 27 of chip U1B: The source of MOSFET M4B is split into three paths and connected to one end of capacitor C16B, one end of capacitor C17B, and then to the source of MOSFET M5B and ground. The other end of capacitor C16B is connected to the other end of resistor R7B. The gate of MOSFET M5B is connected to one end of resistor R13B, and the other end of resistor R13B is connected to pin 23 of chip U1B. The drain of MOSFET M5B is split into four paths and connected to the other end of inductor L1B, one end of resistor R8B, and then to the source of MOSFET M2B. The other end of resistor R8B is connected to the other end of capacitor C17B. MOSFET M2B... The gate of the MOSFET is connected to one end of resistor R12B. The other end of resistor R12B is connected to pin 21 of chip U1B. The drain of MOSFET M2B is divided into four paths and combined to connect to one end of capacitor C5B, one end of resistor R9B, and one end of resistor R1B respectively. The other end of capacitor C5B is grounded. The other end of resistor R9B is connected to one end of capacitor C19B and pin 18 of chip U1B respectively. The other end of resistor R1B is connected to one end of resistor R10B, one end of resistor R19B, one end of capacitor C24B, one end of capacitor C12B, one end of capacitor C8B, one end of capacitor C9B, one end of capacitor C10B, and one end of capacitor C11B respectively. One end of polarized capacitor EC2B, the P+ port, and pin 19 of chip U1B are connected. The other end of resistor R10B is connected to the other end of capacitor C19B and pin 17 of chip U1B. The other end of resistor R19B is connected to one end of resistor R20B and pin 16 of chip U1B. The other end of resistor R20B is grounded. The other end of capacitor C24B is grounded. The other ends of capacitors C12B, C8B, C9B, C10B, C11B, and polarized capacitor EC2B are combined and connected to the P- port and ground. The GND port is connected to the AGND port and ground.

5. A battery control circuit with charging / discharging and heating management according to claim 1, characterized in that: The MCU control circuit includes voltage regulator chips U1A, U2A, and U3A. Voltage regulator chip U1A is model HT7150-1, voltage regulator chip U2A is model HT7133-1, and voltage regulator chip U3A is model CMS8S6990. Pin 1 of chip U3A is connected to one end of resistor R4A, and the other end of resistor R4A is connected to the DC-DC_SCL port. Pin 2 of chip U3A is connected to one end of resistor R6A, and the other end of resistor R6A is connected to the DC-DC_SDA port. Pin 3 of chip U3A is grounded. Pin 4 of chip U3A is connected to pin 2 of the connector programming 1A. Pin 5 of chip U3A is connected to a 3V3 voltage. Pin 6 of chip U3A is connected to one end of resistor R9A, and the other end of resistor R9A is connected to the PSTOP port. Pin 7 of chip U3A is connected to one end of resistor R10A, and the other end of resistor R10A is connected to the CE port. Pin 8 of chip U3A is connected to the DC-DC_STA port. Pin 9 of chip U3A is connected to the DC-DC_DET port. Pin 10 of chip U3A is connected to the DC-DC_CTR port. Pin 11 of chip U3A is connected to one end of resistor R11A, and the other end of resistor R11A is connected to the IRQ port. Pin 12 of chip U3A is connected to one end of resistor R7A, and the other end of resistor R7A is connected to the USB_SDA port. Pin 13 of chip U3A is connected to resistor R5A. One end of the resistor R5A is connected to the USB_SCK port. Pin 14 of chip U3A is connected to pin 3 of connector programming 1A. Pin 15 of chip U3A is connected to one end of resistor R12A and one end of resistor R13A respectively. The other end of resistor R12A is connected to 3V3 voltage. The other end of resistor R13A is connected to one end of button K1A, and the other end of button K1A is grounded. Pin 16 of chip U3A is connected to one end of resistor R2A. The other end of resistor R2A is connected to the anode of diode DS1A, and the cathode of diode DS1A is grounded. Pin 17 of chip U3A is connected to one end of resistor R3A. The other end of resistor R3A is connected to the anode of diode DS2A. With the negative terminal grounded, pin 18 of chip U3A is connected to one end of resistor R8A, and the other end of resistor R8A is connected to the anode of diode DS3A. The negative terminal of diode DS3A is grounded. Pin 19 of chip U3A is connected to the Heater_Ctr port. Pin 20 of chip U3A is connected to one end of resistor R14A and the NTC port, respectively. The other end of resistor R14A is connected to a 3V3 voltage. Pin 1 of connector programming 1A is grounded, and pin 4 of connector programming 1A is connected to a 3V3 voltage. One end of capacitor C7A is connected to a 3V3 voltage, and the other end of capacitor C7A is grounded. The positive power input terminal is connected to the P+ port and the anode of diode D1A, respectively. The cathode of diode D1A is connected to one end of resistor R1A.The other end of resistor R1A is connected to one end of capacitor C3A, one end of capacitor C4A, and pin 2 of voltage regulator chip U1A. Pin 3 of voltage regulator chip U1A is connected to one end of capacitor C5A, one end of capacitor C6A, the 5V port, the 5V voltage, and pin 2 of voltage regulator chip U2A. Pin 3 of voltage regulator chip U2A is connected to one end of capacitor C1A, one end of capacitor C2A, the 3V3 voltage, and the 3V3 port. The other ends of capacitors C1A, C2A, C3A, C4A, C5A, and C6A, pin 1 of voltage regulator chip U1A, and pin 1 of voltage regulator chip U2A are combined and grounded and connected to the GND pin.

6. A battery control circuit with charging / discharging and heating management according to claim 1, characterized in that: The lithium battery protection circuit includes a chip U1E, model SH367601B. The P+ port of the lithium battery protection circuit is connected to the cathode of diode D4E, one end of capacitor C5E, one end of resistor R2E, one end of resistor R12E, and serial port B6. The other end of capacitor C5E is connected to one end of capacitor C6E. The other end of resistor R2E is connected to the anode of diode D1E and one end of capacitor C3E. The cathode of diode D1E is connected to one end of resistor R1E and the cathode of Zener diode D2E. The other end of resistor R1E is connected to one end of capacitor C1E, one end of capacitor C2E, pin 28 of chip U1E, and one end of resistor R3E. The other end is connected to the cathode of diode D3E. The anode of diode D3E is connected to pin 1 of connector J1E. The other ends of capacitors C1E, C2E, and C3E, and the anode of Zener diode D2E are connected together to port B-. The other end of resistor R12E is connected to one end of capacitor C8E, pins 2, 3, 4, 5, and 6 of chip U1E. The other end of capacitor C8E is connected to pin 7 of chip U1E, one end of capacitor C11E, and one end of resistor R16E. The other end of resistor R16E is connected to serial port B5. The other end of capacitor C11E is connected to the chip... Pin 8 of U1E, one end of capacitor C12E, and one end of resistor R17E are connected to serial port B4. The other end of capacitor C12E is connected to pin 9 of chip U1E, one end of capacitor C14E, and one end of resistor R18E. The other end of resistor R18E is connected to serial port B3. The other end of capacitor C14E is connected to pin 10 of chip U1E, one end of capacitor C15E, and one end of resistor R19E. The other end of resistor R19E is connected to serial port B2. The other end of capacitor C15E is connected to pin 11 of chip U1E, one end of capacitor C18E, one end of resistor R24E, and the cathode of diode D9E. The other end of resistor R24E is connected to serial port B4.

1. The other end of capacitor C18E is connected to pin 12 of chip U1E, one end of capacitor C19E, one end of resistor R26E, and the cathode of diode D10E. The other end of resistor R26E is connected to one end of resistor R30E. Pin 13 of chip U1E is connected to port B-. Pin 26 of chip U1E is connected to one end of resistor R6E. The other end of resistor R6E is connected to the anode of diode D5E. Pin 25 of chip U1E is connected to one end of resistor R7E. The other end of resistor R7E is connected to the drain of MOSFETs M1E, M4E, M2E, and M3E. Pin 24 of chip U1E is connected to one end of resistor R8E.The other end of resistor R8E is connected to the emitter of transistor Q1E and one end of resistor R11E. The base of transistor Q1E is connected to the other end of resistor R11E and one end of resistor R15E. The collector of transistor Q1E is connected to the anode of diode D6E. The cathode of diode D6E is connected to the cathode of Zener diode D8E, one end of resistor R23E, one end of resistor R25E, and one end of resistor R29E. The other end of resistor R23E is connected to the gate of MOSFET M2E. The other end of resistor R29E is connected to the gate of MOSFET M3E. The other end of resistor R15E is connected to port B-. Pin 23 of chip U1E is connected to one end of resistor R9E. The other end of resistor R9E is connected to one end of resistor R22E, one end of resistor R27E, one end of resistor R28E, and the cathode of Zener diode D7E. The other end of resistor R22E is connected to the gate of MOSFET M1E, and the other end of resistor R27E is connected to the gate of MOSFET M4E. Pin 22 of chip U1E is connected to one end of resistor R10E. Pin 21 of chip U1E is connected to the other end of resistor R10E, one end of capacitor C4E, and the 5V power supply. The other end of capacitor C4E is connected to port B-. Pin 20 of chip U1E is connected to one end of resistor R4E. The other end of resistor R4E is connected to pin 2 of connector J1E. Pin 19 of chip E is connected to one end of resistor R5E. The other end of resistor R5E is connected to pin 3 of connector J1E. Pin 18 of chip U1E is connected to one end of resistor R14E and one end of capacitor C10E. Pin 17 of chip U1E is connected to one end of resistor R13E and one end of capacitor C6E. Pin 16 of chip U1E is connected to one end of thermistor NTC1E and one end of capacitor C7E. The other ends of resistor R14E, capacitor C10E, resistor R13E, capacitor C6E, thermistor NTC1E, and capacitor C7E are combined and connected to terminal B-. Pin 15 of chip U1E... The pins are connected to one end of resistor R20E, one end of capacitor C13E, and one end of capacitor C16E respectively. Pin 14 of chip U1E is connected to one end of resistor R21E, the other end of capacitor C13E, and one end of capacitor C17E respectively. The other ends of capacitor C16E and capacitor C17E are combined and connected to port B-. The other ends of resistor R20E, resistor R31E, resistor R32E, resistor R28E, the anode of Zener diode D7E, the source of MOSFET M1E, the source of MOSFET M4E, and one end of capacitor C21E are combined and connected to the CRS terminal. The other end of capacitor C21E is connected to one end of capacitor C20E.The other end of resistor R30E, the other end of capacitor C19E, the anode of diode D9E, the anode of diode D10E, the other end of resistor R31E, the other end of resistor R32E, and the other end of resistor R21E are connected to port B-. Pin 4 of connector J1E is connected to port B-. The other end of capacitor C20E, the anode of Zener diode D8E, the other end of resistor R25E, the source of MOSFET M2E, the source of MOSFET M3E, the anode of diode D4E, the cathode of diode D5E, and the other end of capacitor C9E are connected to port P-.

7. A battery control circuit with charging / discharging and heating management according to claim 1, characterized in that: The P+ port of the temperature detection and control circuit is connected to one end of the temperature switch K1H, the other end of the temperature switch K1H is connected to one end of the heating film RM1, the other end of the heating film RM1 is connected to the drain of the MOSFET M1F, the source of the MOSFET M1F is connected to one end of the thermistor NTC1F, one end of the resistor R2F and the P- port respectively, the gate of the MOSFET M1F is connected to one end of the resistor R1F and the other end of the resistor R2F respectively, the other end of the resistor R1F is connected to the Heater_Ctr port, and the other end of the thermistor NTC1F is connected to the NTC port.