Same-port buck-boost charge-discharge automatic control circuit with battery management
By integrating battery management and charge/discharge control with a buck-boost automatic charge/discharge control circuit, the issues of scalability, compatibility, and stability of battery backup equipment in the field of explosion-proof electrical systems are resolved. This enables independent operation and rapid switching of battery modules, improving the safety and flexibility of the equipment.
Patent Information
- Application Number
- CN202511796770.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-02
- Publication Date
- 2026-02-10
AI Technical Summary
Existing battery backup equipment in the field of explosion-proof electrical systems suffers from problems such as the lack of integrated design of battery management and charge/discharge control, resulting in limited scalability, complex layout, poor compatibility, long switching response time, and insufficient flexibility.
It adopts a same-port buck-boost automatic charge and discharge control circuit with battery management, which integrates battery management and charge and discharge control, enabling independent operation of battery modules, stable output voltage, same-port charging and discharging design, fast switching and parallel connection of multiple modules, and has dual overcurrent protection and communication anti-interference capability.
It improves the compatibility and adaptability of battery modules, simplifies circuit layout, shortens development cycle, ensures the operational stability and safety of equipment, and meets the requirements for use in explosive environments.
Smart Images

Figure CN121508031A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of explosion-proof electrical technology, and particularly relates to a same-port step-up and step-down charge-discharge automatic control circuit with battery management. BACKGROUND
[0002] In explosive environments such as coal mines and petroleum chemical industries, battery backup equipment is the core component to ensure uninterrupted operation of equipment, and the stability and compatibility of the charge-discharge control and battery management directly affect the safe operation of explosion-proof electrical equipment.
[0003] In the prior art, the battery backup scheme has many technical defects: first, the battery management unit is closely connected with the battery body, and the charge-discharge control circuit is integrated on the mainboard of the equipment. Due to the limitation of the charging capacity of the mainboard, the expansion capability of the battery management module and the battery is greatly restricted, and the number of battery modules cannot be flexibly increased or decreased according to the backup time requirement; second, the charge-discharge circuit is designed with different ports, that is, the charging and discharging are realized through independent circuits. This design increases the number of circuits of the mainboard, complicates the circuit layout of the mainboard, increases the probability of circuit failure, and increases the wiring difficulty and cost of the equipment; third, the battery management and battery module adopt a non-stabilized voltage output mode, and the stability of the output voltage is poor, which leads to insufficient compatibility between the battery module and different types of backup equipment, and the battery cannot independently complete the core functions such as charge-discharge protection and parameter monitoring; fourth, the existing scheme lacks an efficient charge-discharge switching mechanism, and the switching response time is long, which easily leads to restart or shutdown of the backup equipment during power switching, and cannot meet the requirement of uninterrupted operation of equipment in explosive environments; fifth, the battery modules cannot be directly connected in parallel, and if the backup time needs to be increased, the circuit needs to be redesigned for adaptation, which is complicated and has poor flexibility.
[0004] The root cause of the above technical defects lies in that the existing scheme does not integrate the battery management and charge-discharge control, and the structure design of the charge-discharge circuit lacks universality and flexibility, and lacks precise charge-discharge direction judgment and fast switching mechanism, which leads to that the battery backup equipment cannot meet the use requirement in the field of explosion-proof electrical technology in terms of safety, compatibility, flexibility and stability. Therefore, it is a technical problem to be solved in the field to develop a circuit integrating battery management and same-port step-up and step-down charge-discharge automatic control. SUMMARY
[0005] In view of the problems in the above background art, the purpose of the present application is to provide a same-port step-up and step-down charge-discharge automatic control circuit with battery management to solve the problems in the above background art.
[0006] To achieve the above technical purpose, the technical scheme adopted by the present application is as follows: The application discloses a same-port input and output automatic control circuit with battery management, which comprises a same-port input and output, a battery management circuit, a charging and discharging management circuit, a charging and discharging automatic control and auxiliary circuit and a battery pack. The battery management circuit is electrically connected with the battery pack and is used for realizing parameter collection, charging and discharging protection and balance management of the battery pack. The charging and discharging management circuit is electrically connected with the charging and discharging automatic control and auxiliary circuit and the battery management circuit respectively and is used for realizing step-up and step-down control of the charging and discharging direction. The charging and discharging automatic control and auxiliary circuit is electrically connected with the same-port input and output and the charging and discharging management circuit respectively and is used for judging an input voltage and controlling charging and discharging direction switching.
[0007] Further, the battery management circuit comprises a battery IC management U5, charging and discharging protection switch tubes Q15 and Q16, a communication element U4, temperature collection interfaces J5 and J6, a current sampling resistor R83 and balance control switch tubes Q12, Q13 and Q14. The battery IC management U5 is electrically connected with the charging and discharging protection switch tubes Q15 and Q16, the temperature collection interfaces J5 and J6, the current sampling resistor R83, the balance control switch tubes Q12, Q13 and Q14 and the communication element U4 respectively.
[0008] Further, the battery IC management U5 comprises an AFE analog front end and an MCU, the AFE is used for collecting voltage, temperature and current parameters of the battery pack, and the MCU is used for register configuration of the AFE and external transmission of battery parameters through the communication element U4.
[0009] Further, the charging and discharging protection switch tube Q15 is electrically connected with a charging protection output end of the battery IC management U5 and is used for shutting down a charging loop when overvoltage and overcurrent charging occurs; and the charging and discharging protection switch tube Q16 is electrically connected with a discharging protection output end of the battery IC management U5 and is used for shutting down a discharging loop when under-voltage and overcurrent discharging occurs.
[0010] Further, the charging and discharging management circuit comprises a bidirectional charging and discharging IC management U1, current sampling resistors R1 and R2, a voltage stabilizing feedback resistor group, topological transformation elements and an inductor L1, the topological transformation elements comprise Q1, Q2, Q6 and Q7. The DIR pin of the bidirectional charge / discharge IC management U1 is electrically connected to the automatic charge / discharge control and auxiliary circuit. The current sampling resistor R1, the current sampling resistor R2, the voltage regulation feedback resistor group, the topology transformation element and the inductor L1 are all electrically connected to the bidirectional charge / discharge IC management U1.
[0011] Further defined, the voltage regulation feedback resistor group includes discharge voltage regulation feedback resistors R7, R14, and R15 and charging voltage regulation feedback resistors R8, R16, and R17. The discharge voltage regulation feedback resistors R7, R14, and R15 correspond to the output voltage feedback in the discharge direction, and the charging voltage regulation feedback resistors R8, R16, and R17 correspond to the output voltage feedback in the charging direction.
[0012] Further defined, the topology transformation elements Q1, Q2, Q6, Q7 and inductor L1 constitute a buck-boost topology circuit: when the DIR pin is low, Q1, Q6 and L1 constitute a buck topology, Q2 is normally on and Q7 is normally off, realizing buck control of the charging direction; when the DIR pin is high, Q2, Q7 and L1 constitute a boost topology, Q1 is normally on and Q6 is normally off, realizing boost control of the discharging direction.
[0013] Further specified, the automatic charging and discharging control and auxiliary circuit includes a comparator U7, a direction control switch Q4, an energy storage capacitor C30, and an energy storage capacitor C43; The input terminal of the comparator U7 is electrically connected to the sampling terminal of the input voltage VIN. The output terminal of the comparator U7 is electrically connected to the DIR pin of the bidirectional charge and discharge IC management U1 via an inverting circuit. The direction control switch Q4 is electrically connected to the output terminal of the comparator U7. The energy storage capacitors C30 and C43 are connected in parallel in the input circuit.
[0014] Furthermore, the automatic charging and discharging control and auxiliary circuit also includes a voltage divider resistor and a voltage reference IC. The voltage divider resistor divides the VIN voltage and inputs it to the inverting input terminal of the comparator U7, compares it with the reference voltage of the voltage reference IC, and outputs a charging and discharging direction control signal.
[0015] Further, it also includes an output anti-reverse circuit and a timing control element. The output anti-reverse circuit is used to prevent current from flowing in reverse, and the timing control element includes capacitors C4 and C15. The start-up timing is controlled by adjusting the capacitor values.
[0016] The battery-managed buck-boost automatic charge / discharge control circuit of this invention solves many defects in existing battery backup solutions by integrating battery management and charge / discharge control. Its technical effects are specifically manifested as follows: Firstly, the battery module can operate independently, automatically entering a low-power sleep mode when no load is connected and automatically activating upon plugging in a charger. Its stable output voltage makes it compatible with almost all types of backup power equipment, significantly improving compatibility and greatly shortening the development cycle of backup power equipment products. Secondly, it adopts a simultaneous charging and discharging port design, requiring only one communication line, simplifying circuit layout and wiring, and reducing the complexity of the motherboard circuit. Thirdly, the charging and discharging switching response time is less than 5ms, and with the energy storage capacitor, it achieves uninterrupted switching, ensuring the equipment does not restart during power switching and improving the operational stability of the backup power equipment. Fourthly, multiple battery modules can be directly connected in parallel, and the number of modules can be flexibly increased or decreased according to actual needs to adjust the backup power duration. A single module can be directly replaced after failure, greatly improving adaptability and maintenance convenience. Fifthly, the circuit has dual overcurrent protection and communication anti-interference capabilities, and battery parameters can be stably transmitted through the communication bus, meeting the safety requirements for use in explosive environments such as coal mines and petrochemical plants. Attached Figure Description
[0017] The present invention can be further illustrated by the non-limiting embodiments given in the accompanying drawings; Figure 1 This is a system block diagram of an embodiment of the same-port buck-boost charging and discharging automatic control circuit with battery management according to the present invention; Figure 2 This is a circuit diagram illustrating the battery management function of an embodiment of the same-port buck-boost automatic charge and discharge control circuit with battery management according to the present invention. Figure 3 This is a circuit diagram illustrating the charging and discharging management function of an embodiment of a battery-managed buck-boost automatic charging and discharging control circuit of the present invention. Figure 4 This is a circuit diagram illustrating the automatic charging and discharging control and auxiliary circuit of an embodiment of a battery-managed buck-boost charging and discharging automatic control circuit of the present invention. Detailed Implementation
[0018] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be further described below with reference to the accompanying drawings and embodiments. The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. The technical solutions of various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention. It should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.
[0019] like Figure 1 As shown, the present invention provides a battery management-enabled automatic charging and discharging control circuit with a same-port buck-boost converter, including an input / output port, a battery management function circuit, a charging and discharging management function circuit, an automatic charging and discharging control and auxiliary circuit, and a battery pack. The battery management function circuit is electrically connected to the battery pack and is used to realize the battery pack parameter acquisition, charge and discharge protection and equalization management. The battery management function circuit is connected to external devices through the communication bus. The current can flow bidirectionally to the end of the battery pack through the input and output ports. The charge / discharge management function circuit is electrically connected to the charge / discharge automatic control and auxiliary circuit and the battery management function circuit, respectively, and is used to realize the step-up and step-down control of the charge / discharge direction. The automatic charging and discharging control and auxiliary circuits are electrically connected to the input / output port and the charging and discharging management function circuit, respectively, and are used to determine the input voltage and control the switching of the charging and discharging direction.
[0020] In the practical application of this embodiment, the battery management function circuit includes a battery IC management U5, a charge / discharge protection switch Q15, a charge / discharge protection switch Q16, a communication element U4, a temperature acquisition interface J5, a temperature acquisition interface J6, a current sampling resistor R83, an equalization control switch Q12, an equalization control switch Q13, and an equalization control switch Q14. The battery IC management U5 is electrically connected to the charge / discharge protection switch Q15, charge / discharge protection switch Q16, temperature acquisition interface J5, temperature acquisition interface J6, current sampling resistor R83, equalization control switch Q12, equalization control switch Q13, equalization control switch Q14 and communication element U4 respectively.
[0021] In the practical application of this embodiment, the battery IC management U5 includes an AFE analog front end and an MCU. The AFE is used to collect the voltage, temperature and current parameters of the battery pack, and the MCU is used to configure the registers of the AFE and transmit the battery parameters to the outside through the communication element U4.
[0022] Specific examples Figure 2 As shown, the core component is the U5 battery management IC, which is used to protect the battery from overvoltage, undervoltage, overcurrent, short circuit, high and low temperatures, and to achieve balanced management of the batteries within the battery pack. The key components for protection are charge and discharge protection switches Q15 and Q16, and the key component for communication is the communication component U4. The others are auxiliary components.
[0023] The circuit works as follows: The U5 battery management IC internally comprises two parts: an AFE (Analog Front-End) and an MCU (Microcontroller Unit). The AFE collects various battery parameters: voltage is directly acquired, temperature is acquired through temperature acquisition interfaces J5 and J6, current is acquired through current sampling resistor R83, and balancing is achieved through balancing control switches Q12, Q13, and Q14. After the MCU configures the registers of the AFE analog front-end, the AFE can implement corresponding protection functions. When overvoltage or overcurrent occurs during charging, the charge / discharge protection switch Q15 is immediately turned off; when undervoltage or overcurrent occurs during discharging, the charge / discharge protection switch Q16 is immediately turned off, thus achieving corresponding charge / discharge protection. The collected battery parameters are transmitted to the external device via U4 through the MCU.
[0024] In the practical application of this embodiment, the charge / discharge protection switch Q15 is electrically connected to the charging protection output terminal of the battery IC management U5, and is used to shut down the charging circuit when there is overvoltage or overcurrent during charging; the charge / discharge protection switch Q16 is electrically connected to the discharge protection output terminal of the battery IC management U5, and is used to shut down the discharging circuit when there is undervoltage or overcurrent during discharging.
[0025] In the practical application of this embodiment, the charge and discharge management function circuit includes a bidirectional charge and discharge IC management U1, a current sampling resistor R1, a current sampling resistor R2, a voltage regulation feedback resistor group, a topology transformation element, and an inductor L1. The topology transformation element includes Q1, Q2, Q6, and Q7. The DIR pin of the bidirectional charge / discharge IC management U1 is electrically connected to the automatic charge / discharge control and auxiliary circuit. The current sampling resistor R1, the current sampling resistor R2, the voltage regulation feedback resistor group, the topology transformation element and the inductor L1 are all electrically connected to the bidirectional charge / discharge IC management U1.
[0026] In the practical application of this embodiment, the voltage regulation feedback resistor group includes discharge voltage regulation feedback resistors R7, R14, and R15 and charging voltage regulation feedback resistors R8, R16, and R17. The discharge voltage regulation feedback resistors R7, R14, and R15 correspond to the output voltage feedback in the discharge direction, and the charging voltage regulation feedback resistors R8, R16, and R17 correspond to the output voltage feedback in the charging direction.
[0027] In the practical application of this embodiment, the topology transformation elements Q1, Q2, Q6, Q7 and inductor L1 constitute a buck-boost topology circuit: when the DIR pin is low, Q1, Q6 and L1 constitute a buck topology, Q2 is normally on and Q7 is normally off, realizing buck control of the charging direction; when the DIR pin is high, Q2, Q7 and L1 constitute a boost topology, Q1 is normally on and Q6 is normally off, realizing boost control of the discharging direction.
[0028] Specific examples Figure 3 As shown, the core component of the charge / discharge management circuit is the bidirectional charge / discharge IC management U1, which switches directions by setting the high and low levels of its DIR pin. R1 / R2 are current sampling resistors, implementing bidirectional current limiting. R7 / R14 / R15 and R8 / R16 / R17 implement bidirectional voltage regulation. Q1 / Q2 / Q6 / Q7 and L1 implement topology transformation. The others are auxiliary components.
[0029] The circuit works as follows: The charging direction is from left to right. Pin 2 (DIR) of U1 is at a low level. Q1 / Q6 / L1 form a step-down topology. Q2 is normally on, and Q7 is normally off. R1 limits the input current, and R2 limits the output current, using the smaller value as the standard. R8 / R16 / R17 provide voltage feedback at the output, stabilizing the output voltage. Through current and voltage limiting, a three-stage charging function for the battery is achieved. The discharge direction is from right to left. Pin 2 (DIR) of U1 is at a high level. Q2 / Q7 / L1 form a boost topology. Q1 is normally on and Q6 is normally off. R2 limits the current at the input and R1 limits the current at the output. R95 / R105 / Q17 are used to limit the current on the R2 side in different directions, thus solving the problem of inconsistent charging and discharging current limits. The smaller value is used as the standard. R7 / R14 / R15 provide voltage feedback at the output to stabilize the output voltage. Through current and voltage limiting, the external output voltage regulation and current limiting functions are achieved.
[0030] In the practical application of this embodiment, the automatic charging and discharging control and auxiliary circuit includes a comparator U7, a direction control switch Q4, an energy storage capacitor C30, and an energy storage capacitor C43; The input terminal of the comparator U7 is electrically connected to the sampling terminal of the input voltage VIN. The output terminal of the comparator U7 is electrically connected to the DIR pin of the bidirectional charge and discharge IC management U1 via an inverting circuit. The direction control switch Q4 is electrically connected to the output terminal of the comparator U7. The energy storage capacitors C30 and C43 are connected in parallel in the input circuit.
[0031] In the practical application of this embodiment, the automatic charging and discharging control and auxiliary circuit also includes a voltage divider resistor and a voltage reference IC. The voltage divider resistor divides the VIN voltage and inputs it to the inverting input terminal of the comparator U7, compares it with the reference voltage of the voltage reference IC, and outputs a charging and discharging direction control signal.
[0032] In practical applications of this embodiment, an output anti-reverse circuit and a timing control element are also included. The output anti-reverse circuit is used to prevent current from flowing in reverse. The timing control element includes capacitors C4 and C15. The start-up timing is controlled by adjusting the capacitor values.
[0033] Specific examples Figure 4 As shown, the core component of the automatic charging and discharging control and auxiliary circuit is comparator U7, which sets the charging and discharging direction by determining the voltage value of VIN. The direction control switch Q4 is the direction control element and also the parallel anti-reverse current adaptive element. The others are auxiliary components.
[0034] The circuit works as follows: Assuming the input voltage of the DC power supply is 26V and the battery output is 22V after passing through the charge / discharge management circuit, the voltage at the inverting input of comparator U7 is set to 24V (the comparison voltage is reduced after passing through a voltage divider resistor and compared with the voltage reference IC, for example, 1.25V). If it is higher than 24V, the DC power supply is activated, comparator U7 outputs a high level, and Q4 is turned on. The corresponding charge / discharge management circuit then indicates the charging direction (the output of comparator U7 is output to the DIR pin of the bidirectional charge / discharge IC management U1 through an inverting circuit), thus realizing the charging function.
[0035] If the DC power supply is disconnected, the voltage drops due to the presence of capacitors C30 / C43 (this process is only in the millisecond range). When the voltage drops below 24V, the comparator outputs a low level, Q4 is turned off (using its own body diode for unidirectional power supply, and enabling current adaptation for multiple battery modules). The corresponding charge / discharge management circuit then directs the discharge (the comparator output is output to the DIR pin of the bidirectional charge / discharge IC management U1 through an inverting circuit), thus achieving the discharge function. Since the comparator U7 has a very fast response time, typically in the microsecond range, as long as capacitors C30 / C43 are selected appropriately, power-off switching of the device can be achieved. Furthermore, setting different values for capacitor C4 and C15 in the charge / discharge management circuit can achieve corresponding startup sequences, increasing the stability of this capacitor.
[0036] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.
Claims
1. A battery-managed automatic control circuit for buck-boost charging and discharging, characterized in that: It includes input / output ports, battery management circuitry, charge / discharge management circuitry, automatic charge / discharge control and auxiliary circuitry, and a battery pack. The battery management function circuit is electrically connected to the battery pack and is used to realize the battery pack parameter acquisition, charge and discharge protection and equalization management. The battery management function circuit is connected to external devices through the communication bus. The current can flow bidirectionally to the end of the battery pack through the input and output ports. The charge / discharge management function circuit is electrically connected to the charge / discharge automatic control and auxiliary circuit and the battery management function circuit, respectively, and is used to realize the step-up and step-down control of the charge / discharge direction. The automatic charging and discharging control and auxiliary circuits are electrically connected to the input / output port and the charging and discharging management function circuit, respectively, and are used to determine the input voltage and control the switching of the charging and discharging direction.
2. The automatic charging and discharging control circuit with battery management according to claim 1, characterized in that: The battery management function circuit includes a battery IC management U5, a charge / discharge protection switch Q15, a charge / discharge protection switch Q16, a communication element U4, a temperature acquisition interface J5, a temperature acquisition interface J6, a current sampling resistor R83, an equalization control switch Q12, an equalization control switch Q13, and an equalization control switch Q14. The battery IC management U5 is electrically connected to the charge / discharge protection switch Q15, charge / discharge protection switch Q16, temperature acquisition interface J5, temperature acquisition interface J6, current sampling resistor R83, equalization control switch Q12, equalization control switch Q13, equalization control switch Q14 and communication element U4 respectively.
3. The automatic charging and discharging control circuit with battery management according to claim 2, characterized in that: The battery IC management U5 includes an AFE analog front-end and an MCU. The AFE is used to collect the voltage, temperature and current parameters of the battery pack, and the MCU is used to configure the registers of the AFE and transmit the battery parameters to the outside through the communication element U4.
4. The automatic charging and discharging control circuit with battery management according to claim 2, characterized in that: The charge / discharge protection switch Q15 is electrically connected to the charging protection output terminal of the battery IC management U5, and is used to shut down the charging circuit when there is overvoltage or overcurrent during charging; the charge / discharge protection switch Q16 is electrically connected to the discharge protection output terminal of the battery IC management U5, and is used to shut down the discharging circuit when there is undervoltage or overcurrent during discharging.
5. The automatic charging and discharging control circuit with battery management according to claim 1, characterized in that: The charge and discharge management function circuit includes a bidirectional charge and discharge IC management U1, a current sampling resistor R1, a current sampling resistor R2, a voltage regulation feedback resistor group, a topology transformation element, and an inductor L1. The topology transformation element includes Q1, Q2, Q6, and Q7. The DIR pin of the bidirectional charge / discharge IC management U1 is electrically connected to the automatic charge / discharge control and auxiliary circuit. The current sampling resistor R1, the current sampling resistor R2, the voltage regulation feedback resistor group, the topology transformation element and the inductor L1 are all electrically connected to the bidirectional charge / discharge IC management U1.
6. The automatic charging and discharging control circuit with battery management according to claim 5, characterized in that: The voltage regulation feedback resistor group includes discharge voltage regulation feedback resistors R7, R14, and R15 and charging voltage regulation feedback resistors R8, R16, and R17. The discharge voltage regulation feedback resistors R7, R14, and R15 correspond to the output voltage feedback in the discharge direction, and the charging voltage regulation feedback resistors R8, R16, and R17 correspond to the output voltage feedback in the charging direction.
7. The automatic charging and discharging control circuit with battery management according to claim 1, characterized in that, The topology transformation elements Q1, Q2, Q6, Q7 and inductor L1 constitute a buck-boost topology circuit: when the DIR pin is low, Q1, Q6 and L1 form a buck topology, Q2 is normally on and Q7 is normally off, realizing buck control of the charging direction; when the DIR pin is high, Q2, Q7 and L1 form a boost topology, Q1 is normally on and Q6 is normally off, realizing boost control of the discharging direction.
8. The automatic charging and discharging control circuit with battery management according to claim 1, characterized in that: The automatic charging and discharging control and auxiliary circuit includes a comparator U7, a direction control switch Q4, an energy storage capacitor C30, and an energy storage capacitor C43. The input terminal of the comparator U7 is electrically connected to the sampling terminal of the input voltage VIN. The output terminal of the comparator U7 is electrically connected to the DIR pin of the bidirectional charge and discharge IC management U1 via an inverting circuit. The direction control switch Q4 is electrically connected to the output terminal of the comparator U7. The energy storage capacitors C30 and C43 are connected in parallel in the input circuit.
9. The automatic charging and discharging control circuit with battery management according to claim 8, characterized in that: The automatic charge / discharge control and auxiliary circuit also includes a voltage divider resistor and a voltage reference IC. The voltage divider resistor divides the VIN voltage and inputs it to the inverting input of the comparator U7. The voltage is compared with the reference voltage of the voltage reference IC, and a charge / discharge direction control signal is output.
10. The same-port buck-boost charging and discharging automatic control circuit with battery management according to claim 1, characterized in that: It also includes an output anti-reverse circuit and a timing control element. The output anti-reverse circuit is used to prevent current from flowing in reverse. The timing control element includes capacitors C4 and C15. The start-up timing is controlled by adjusting the capacitor values.