Charging and discharging control method and device of battery and storage medium

By introducing a boost charging system and a load discharge system into the battery charge and discharge control system, the charging process is managed according to the battery state, and the problem of the battery being affected by external power supply during the charge and discharge process is solved, and the stability of battery performance and equipment reliability are improved.

CN119561188APending Publication Date: 2025-03-04SHENZHEN RISHENGZHI ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411706270.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

During the charging and discharging process, the acceleration capacity attenuation is affected by the external power supply, resulting in unstable battery performance and affecting the reliability and safety of the equipment.

Method used

By introducing a boost charging system and a load discharge system into the battery charge and discharge control system, the external power supply access status is judged, and the charging connection is charged or disconnected according to the battery state is avoided unnecessary charging and discharging of the battery by the external power supply.

Benefits of technology

It effectively avoids the rapid attenuation of battery capacity by external power supply, improves the effective utilization rate of battery charging and discharging, reduces the heat generation of equipment, and enhances the performance stability of the battery and the reliability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561188A_ABST
    Figure CN119561188A_ABST
Patent Text Reader

Abstract

The invention relates to the field of charge and discharge control, and discloses a charge and discharge control method and device of a battery and a storage medium. The method comprises the steps that when a load discharging system is connected to an external load, a boost charging system judges whether an external power supply is connected or not; when the external power supply is connected, the voltage of the external power supply is guided into the load discharge system, so that the load discharge system outputs power to an external load through the external power supply; judging whether the state of the battery is a fully-charged state or not; when the battery is in the full charging state, the charging connection with the battery is disconnected; when the charging state is not the full charging state, the charging connection with the battery is opened; when the external power supply is not connected, a load operation instruction is sent to the load discharge system; and the load discharging system receives the load operation instruction and opens load connection with the battery, so that the load discharging system outputs power to an external load through the battery. In the embodiment of the invention, the heat generation of the whole equipment is reduced, and the capacity attenuation acceleration of an external power supply to the battery is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charge and discharge control, and in particular to a battery charge and discharge control method, device and storage medium. Background Art

[0002] In modern electronic devices, the design of backup power systems is critical, as they not only need to provide emergency power support when the main power fails, but also maintain low power consumption and high efficiency in daily operations. However, this design may cause a series of problems when the external power supply continuously charges the battery through the charge management circuit, while the backup power supply battery continuously supplies power to the external load through the voltage regulation circuit.

[0003] If the battery is charged and discharged for a long time, the battery capacity will decay rapidly. This is because the battery discharges while charging, which causes frequent chemical reactions inside the battery, thus accelerating battery aging. This aging not only reduces the total energy storage capacity of the battery, but also may cause unstable battery performance, ultimately affecting the reliability and safety of the equipment. The charging management circuit and the buck-boost voltage regulator output circuit will generate a lot of heat due to continuous energy conversion and regulation when working for a long time. If this heat cannot be effectively dissipated, it will not only damage the circuit components, but also lead to energy waste. Energy waste not only increases the operating cost of the equipment, but also imposes an additional burden on the environment. Therefore, in order to solve the problem that the battery capacity decays rapidly due to the influence of external power during the charging and discharging process, a new technology is needed to solve the current problem. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem that the battery capacity decay is accelerated by the external power supply during the charging and discharging process.

[0005] A first aspect of the present invention provides a battery charge and discharge control method, the battery charge and discharge control method is applied to the battery charge and discharge control system, the battery charge and discharge control system comprises: a boost charging system and a load discharge system, the boost charging system is connected to the load discharge system, the boost charging system and the load discharge system are both connected to the battery, the battery charge and discharge control method comprises:

[0006] When the load discharge system is connected to an external load, the boost charging system determines whether to connect to an external power source;

[0007] When an external power source is connected, the voltage of the external power source is introduced into the load discharge system so that the load discharge system outputs power to the external load through the external power source;

[0008] Determining whether the battery is in a fully charged state;

[0009] When the battery is fully charged, the charging connection with the battery is disconnected;

[0010] When the battery is not fully charged, the charging connection with the battery is opened;

[0011] When the external power supply is not connected, a load operation instruction is sent to the load discharge system;

[0012] The load discharge system receives the load operation instruction and opens the load connection with the battery so that the load discharge system outputs power to the external load through the battery.

[0013] Optionally, in a first implementation of the first aspect of the present invention, the boost charging system includes: a first NMOS tube, a charging interface, a first control node, and a boost charging chip, the source of the first NMOS tube is grounded, the gate of the first NMOS tube is connected to the charging interface, the drain of the first NMOS tube is connected to the first control node, and the first pin of the boost charging chip is connected to the charging interface, and the boost charging system determines whether to connect to an external power supply, including:

[0014] inputting a monitoring voltage to the first control node;

[0015] The monitoring voltage is used to control the opening and closing of the first NMOS tube to determine whether the charging interface is connected to an external power supply.

[0016] Optionally, in a second implementation of the first aspect of the present invention, the boost charging system further includes: a second control node, a second pin of the boost charging chip is connected to the second control node, a third pin of the boost charging chip is connected to the battery, and disconnecting the charging connection with the battery includes:

[0017] A low level voltage is input to the second control node to control the boost charging chip to disconnect from the battery.

[0018] Optionally, in a third implementation of the first aspect of the present invention, opening a charging connection with the battery includes:

[0019] A high level voltage is input to the second control node to control the boost charging chip to close the connection between the third pin and the battery.

[0020] Optionally, in a fourth implementation manner of the first aspect of the present invention, the load discharge system includes: a load interface, a second NMOS tube, a PMOS tube, and a third control node, the gate of the second NMOS tube is connected to the third control node, the source of the second NMOS tube is grounded, the drain of the second NMOS tube is connected to the gate of the PMOS tube, the source of the PMOS tube is connected to the battery, and the drain of the PMOS tube is connected to the load interface, and sending a load operation instruction to the load discharge system includes:

[0021] A connection voltage is input to the third control node.

[0022] Optionally, in a fifth implementation of the first aspect of the present invention, the load discharging system receives the load operation instruction, and opening the load connection with the battery includes:

[0023] The connection voltage controls the second NMOS tube to be closed;

[0024] The PMOS tube is controlled to be closed by closing the second NMOS tube, so that the PMOS tube is closed to connect the battery to the load interface.

[0025] Optionally, in a sixth implementation of the first aspect of the present invention, determining whether the battery is in a fully charged state includes:

[0026] Reading the state of charge value of the battery;

[0027] Determining whether the state of charge value exceeds a preset state threshold;

[0028] When the state threshold is exceeded, it is confirmed that the state of the battery is fully charged;

[0029] When the state threshold is not exceeded, it is confirmed that the state of the battery is not fully charged.

[0030] Optionally, in a seventh implementation of the first aspect of the present invention, when the load discharge system is connected to an external load, before the boost charging system determines whether to connect to an external power source, it further includes:

[0031] Performing initial verification processing on the boost charging system and the load discharging system to obtain verification results;

[0032] Determine whether the verification result is in an abnormal state;

[0033] When an abnormal state exists, the abnormal state in the verification result is transmitted to a preset display port.

[0034] A second aspect of the present invention provides a battery charge and discharge control device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the battery charge and discharge control device executes the above-mentioned battery charge and discharge control method.

[0035] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned battery charge and discharge control method.

[0036] In the embodiment of the present invention, by controlling the hardware system, the boost charging system and the load discharge system do not affect the performance of the battery itself during the battery charging and discharging process. In the presence of an external power supply, the battery power switch is not turned on, and only the external power supply is allowed to output power to the load, and charging is performed based on the battery capacity state. In the absence of an external power supply, the battery power switch is turned on to output power to the load. This not only avoids the load from having no power output, but also reduces the acceleration of the battery capacity decay caused by the external power supply, thereby improving the effective utilization rate of the battery charging and discharging, reducing the heat generation of the entire device, and reducing the acceleration of the battery capacity decay caused by the external power supply. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of an embodiment of a battery charge and discharge control method according to an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of the circuit entity structure of a boost charging system of a battery charge and discharge control method according to an embodiment of the present invention;

[0039] Figure 3a It is a schematic diagram of a first circuit entity structure of a load discharge system of a battery charge and discharge control method according to an embodiment of the present invention;

[0040] Figure 3b It is a schematic diagram of a second circuit entity structure of a load discharge system of a battery charge and discharge control method according to an embodiment of the present invention;

[0041] Figure 4 It is a schematic diagram of an embodiment of a battery charge and discharge control device in an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The embodiments of the present invention provide a battery charge and discharge control method, device and storage medium.

[0043] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.

[0044] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0045] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 An embodiment of a battery charge and discharge control method in an embodiment of the present invention is applied to a battery charge and discharge control system, wherein the battery charge and discharge control system comprises: a boost charging system and a load discharge system, wherein the boost charging system is connected to the load discharge system, and the boost charging system and the load discharge system are both connected to the battery, and the battery charge and discharge control method comprises:

[0046] 101. When the load discharge system is connected to an external load, the boost charging system determines whether to connect to an external power source;

[0047] In this embodiment, the load discharge system and the boost charging system have both a physical circuit system and a matching control system, that is, the load discharge system has both a circuit setting and a corresponding control software setting, and the boost charging system has both a circuit setting and a corresponding control software setting. The software settings corresponding to the boost charging system and the load discharge system can be set in the same physical chip or can be set using different physical chips respectively, and there is no restriction on this.

[0048] When the load discharge system is connected to an external load and needs corresponding power output, the boost charging system first determines whether there is an external power supply connected.

[0049] For details, please refer to Figure 2 , Figure 2The schematic diagram of the circuit entity structure of the boost charging system of the battery charge and discharge control method in the embodiment of the present invention is as follows. The boost charging system includes: a first NMOS tube Q15, a charging interface J1, a first control node charge-IN, and a boost charging chip U3. The source of the first NMOS tube Q15 is grounded, the gate of the first NMOS tube Q15 is connected to the charging interface J1, the drain of the first NMOS tube Q15 is connected to the first control node charge-IN, and the first pin 4 (VIN) of the boost charging chip U3 is connected to the charging interface J1. The following specific embodiments are included in step 101:

[0050] 1011. Input a monitoring voltage to the first control node;

[0051] 1012. Use the monitoring voltage to control the opening and closing of the first NMOS tube to determine whether the charging interface is connected to an external power supply.

[0052] In steps 1011-1012, the first control node is input with a relevant monitoring voltage, which is pulled up to 3.3V through the diode D7 and the resistor R91. At the same time, the monitoring voltage is high level through the resistor R90 to the gate of the first NMOS tube Q15, and the drain of the first NMOS tube Q15 is grounded to form a low level. When the charging interface J1 is connected to an external power supply, the first NMOS tube is closed, and the first pin 4 (VIN) of the boost charging chip U3 recognizes that the external power supply is connected. If the external power supply is not connected, the first NMOS tube is disconnected, and the first pin 4 (VIN) of the boost charging chip U3 does not recognize the external power supply.

[0053] The boost charging chip U3 can be an existing chip model PW4000. The PW4000 chip is an integrated circuit (IC) used for lithium battery charging management. The PW4000 is often used in conjunction with PD / QC fast charging protocol chips such as PW6603 or PW6606. These protocol chips are responsible for protocol communication with the PD charger to output a specified voltage.

[0054] When a 12V charger is plugged into the charging port J1, the 12V input voltage passes through the battery RL1 to the first pin 4 of the boost charging chip (U3 / PW4000) for battery charging management as the charging input voltage of the boost charging chip (U3 / PW4000). The battery is connected to the P+ node, and the pin FB of the boost charging chip IC (U3 / PW4000) is fed back through the resistor R29 and the resistor R32 to adjust the network so that the output voltage rises to 12.6V to the pin BAT of the boost charging chip (U3 / PW4000) and enters the node P+ to charge the battery.

[0055] Furthermore, before step 101, the following specific implementation is also included:

[0056] 1013. Performing initial verification processing on the boost charging system and the load discharging system to obtain a verification result;

[0057] 1014. Determine whether the verification result is in an abnormal state;

[0058] 1015. When an abnormal state exists, the abnormal state in the verification result is transmitted to a preset display port.

[0059] In steps 1013-1015, after the host computer system is turned on, the software and hardware corresponding to the boost charging system and the load discharge system are initialized and checked at the software level to check whether the circuit transmission and information transmission of the boost charging system and the load discharge system are normal, and the verification result is obtained. It is determined whether there is data of abnormal state in the verification result. If there is an abnormal state, the abnormal state in the verification result is transmitted to the preset display port so that the display port can display the abnormal state on the pre-display screen.

[0060] 102. When an external power source is connected, the voltage of the external power source is introduced into the load discharge system so that the load discharge system outputs power to the external load through the external power source;

[0061] In this embodiment, when it is detected that an external power source is connected, the pin FB of the boost charging chip IC (U3 / PW4000) can be connected to the load interface of the load discharge system, and the voltage can be directly derived from the pin FB of the boost charging chip IC (U3 / PW4000) and introduced into the load discharge system, so that the load discharge system can output power to the external load through the external power source.

[0062] 103. Determine whether the battery is in a fully charged state;

[0063] 104. When the battery is fully charged, disconnect the charging connection with the battery;

[0064] 105. When the battery is not fully charged, opening a charging connection with the battery;

[0065] In steps 103-105, it is analyzed whether the battery is in a fully charged state. If the battery is in a fully charged state, the charging connection of the battery needs to be disconnected to prevent the battery from discharging to the external load while the external power source is charging the battery, thereby accelerating the capacity decay of the battery. If the battery is not in a fully charged state, the charging connection with the battery is opened, and the battery is first charged by the external power source, and then the charging connection of the battery is closed after the battery is fully charged.

[0066] Specifically, step 103 includes the following specific implementation methods:

[0067] 1031. Read the state of charge value of the battery;

[0068] 1032. Determine whether the state of charge value exceeds a preset state threshold;

[0069] 1033. When the state threshold is exceeded, confirming that the battery is in a fully charged state;

[0070] 1034. When the state threshold is not exceeded, it is confirmed that the state of the battery is not fully charged.

[0071] In steps 1031-1034, the full charge state of the battery can be determined by reading the state of charge (SOC value) of the battery to determine whether the SOC value exceeds the state threshold. When the SOC value exceeds the state threshold, it is confirmed that the battery is in a fully charged state, and when the SOC value does not exceed the state threshold, it is confirmed that the battery is in a partially charged state.

[0072] Further, the boost charging system further includes: a second control node Charge-off, a second pin 6 (EN / NTC) of the boost charging chip U3 is connected to the second control node Charge-off, and a third pin 6 (EN / NTC) of the boost charging chip U3 is connected to the battery. Step 104 includes the following specific embodiments:

[0073] 1041. Input a low-level voltage to the second control node to control the boost charging chip to disconnect from the battery.

[0074] In step 1041, the second control node Charg-Off pulls down the third pin 6 (EN / NTC) of the boost charging chip (U3 / PW4000) through resistor R34 to turn off charging, and disconnects the BAT pin of the boost charging chip (U3 / PW4000) from the node P+ of the battery.

[0075] Further, step 105 includes the following specific embodiments:

[0076] 1051. Input a high level voltage to the second control node to control the boost charging chip to close the connection between the third pin and the battery.

[0077] In step 1051, the second control node Charg-Off pulls up the third pin 6 (EN / NTC) of the boost charging chip (U3 / PW4000) through resistor R34 to start charging, and turns on the connection between the BAT pin of the boost charging chip (U3 / PW4000) and the node P+ of the battery.

[0078] 106. When the external power supply is not connected, a load operation instruction is sent to the load discharge system;

[0079] In this embodiment, if there is no external power supply connected, a load operation instruction is sent to the load discharge system, and the load discharge system adjusts the load to output power from the battery.

[0080] For details, please refer to Figure 3a-3b , Figure 3a FIG. 1 is a schematic diagram of a first circuit entity structure of a load discharge system of a battery charge and discharge control method according to an embodiment of the present invention. Figure 3b The second circuit entity structure diagram of the load discharge system of the battery charge and discharge control method according to the embodiment of the present invention is a schematic diagram of the load discharge system, the load discharge system comprising: a load interface J2, a second NMOS tube Q13, a PMOS tube Q12, and a third control node 12V_EN, the gate of the second NMOS tube Q13 is connected to the third control node 12V_EN, the source of the second NMOS tube Q13 is grounded, the drain of the second NMOS tube Q13 is connected to the gate Q12 of the PMOS tube, the source of the PMOS tube Q12 is connected to the battery P+, and the drain of the PMOS tube Q12 is connected to the load interface J2. The following specific implementations are included in step 106:

[0081] 1061. Input a connection voltage to the third control node.

[0082] In step 1061, the third control node 12V_EN is input and connected to a voltage output at a high level.

[0083] Further, step 107 includes the following specific implementations:

[0084] 1071. The connection voltage controls the second NMOS transistor to be closed;

[0085] 1072. By closing the second NMOS tube, the PMOS tube is controlled to be closed, so that the PMOS tube is closed to connect the battery to the load interface.

[0086] In steps 1071-1072, the connection voltage of the third control node 12V_EN is connected to the gate of the second NMOS tube Q13 through the resistor R84, and then to the gate of the PMOS tube Q12 through the resistor R86. At this time, the VGS of the PMOS tube Q12 is at a low level, the P+ output is turned on, and the PMOS tube is closed so that the battery is connected to the load interface.

[0087] 107. The load discharge system receives the load operation instruction and opens the load connection with the battery so that the load discharge system outputs power to the external load through the battery.

[0088] In this embodiment, the load discharge system opens the load connection with the battery through the control-related device of the load operation instruction, so that the load discharge system outputs power to the external load through the battery.

[0089] It should be noted that for the connection method between the load discharge system and the boost charging system, please refer to Figure 3a and Figure 2 , Figure 3a The node 12V-IN can be connected to the Figure 2 The Charge-IN node in the circuit is connected, and the node 12V-IN outputs a high level and is connected to the gate of the first NMOS tube Q15 through the resistor R62. The node 12V-IN is connected to the gate of the PMOS tube Q7 through the resistor R48. When the node 12V-IN outputs a high level, the VGS of the PMOS tube Q7 is a low level. Figure 3a The node 12V-VIN on the resistor R53 in the load discharge chip U6 (model CN5120) is connected to the pin 6 (VIN) of the load discharge chip U6. At this point, the voltage of the P+ node is input to the pin 6 (VIN) of the load discharge chip U6, and Figure 3a The FB node between resistor R51 and resistor R60 is connected in Figure 2 At pin 12 (FB) of the boost charger chip (U3 / PW4000). Node FB is fed back through resistors R51 and R60 to adjust the network, raising the output voltage to 12.0V to the first pin of the load interface J2.

[0090] In a specific embodiment, when the code of the host computer is set, it can be set to the following code:

[0091]

[0092]

[0093] In the embodiment of the present invention, by controlling the hardware system, the boost charging system and the load discharge system do not affect the performance of the battery itself during the battery charging and discharging process. In the presence of an external power supply, the battery power switch is not turned on, and only the external power supply is allowed to output power to the load, and charging is performed based on the battery capacity state. In the absence of an external power supply, the battery power switch is turned on to output power to the load. This not only avoids the load from having no power output, but also reduces the acceleration of the battery capacity decay caused by the external power supply, thereby improving the effective utilization rate of the battery charging and discharging, reducing the heat generation of the entire device, and reducing the acceleration of the battery capacity decay caused by the external power supply.

[0094] Figure 44 is a schematic diagram of the structure of a battery charge and discharge control device provided by an embodiment of the present invention. The battery charge and discharge control device 400 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 410 (for example, one or more processors) and a memory 420, and one or more storage media 430 (for example, one or more mass storage devices) storing application programs 433 or data 432. Among them, the memory 420 and the storage medium 430 can be short-term storage or permanent storage. The program stored in the storage medium 430 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the battery charge and discharge control device 400. Furthermore, the processor 410 can be configured to communicate with the storage medium 430 to execute a series of instruction operations in the storage medium 430 on the battery charge and discharge control device 400.

[0095] The battery-based charge and discharge control device 400 may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input and output interfaces 460, and / or one or more operating systems 431, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 4 The illustrated structure of the battery charge and discharge control device does not constitute a limitation on the battery-based charge and discharge control device, and may include more or fewer components than illustrated, or a combination of certain components, or a different arrangement of components.

[0096] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the battery charge and discharge control method.

[0097] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0098] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0099] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A battery charge and discharge control method, characterized in that: The battery charge and discharge control method is applied to the battery charge and discharge control system, the battery charge and discharge control system includes: a boost charging system and a load discharge system, the boost charging system is connected to the load discharge system, the boost charging system and the load discharge system are both connected to the battery, the battery charge and discharge control method includes: When the load discharge system is connected to an external load, the boost charging system determines whether to connect to an external power source; When an external power source is connected, the voltage of the external power source is introduced into the load discharge system so that the load discharge system outputs power to the external load through the external power source; Determining whether the battery is in a fully charged state; When the battery is fully charged, the charging connection with the battery is disconnected; When the battery is not fully charged, the charging connection with the battery is opened; When the external power supply is not connected, a load operation instruction is sent to the load discharge system; The load discharge system receives the load operation instruction and opens the load connection with the battery so that the load discharge system outputs power to the external load through the battery.

2. The battery charge and discharge control method according to claim 1, characterized in that: The boost charging system includes: a first NMOS tube, a charging interface, a first control node, and a boost charging chip, wherein the source of the first NMOS tube is grounded, the gate of the first NMOS tube is connected to the charging interface, the drain of the first NMOS tube is connected to the first control node, and the first pin of the boost charging chip is connected to the charging interface. The boost charging system determines whether to connect to an external power supply, including: inputting a monitoring voltage to the first control node; The monitoring voltage is used to control the opening and closing of the first NMOS tube to determine whether the charging interface is connected to an external power supply.

3. The battery charge and discharge control method according to claim 2, characterized in that: The boost charging system further includes: a second control node, a second pin of the boost charging chip is connected to the second control node, a third pin of the boost charging chip is connected to the battery, and disconnecting the charging connection with the battery includes: A low level voltage is input to the second control node to control the boost charging chip to disconnect from the battery.

4. The battery charge and discharge control method according to claim 3, characterized in that: The opening of a charging connection with the battery comprises: A high level voltage is input to the second control node to control the boost charging chip to close the connection between the third pin and the battery.

5. The battery charge and discharge control method according to claim 1, characterized in that: The load discharge system includes: a load interface, a second NMOS tube, a PMOS tube, and a third control node, wherein the gate of the second NMOS tube is connected to the third control node, the source of the second NMOS tube is grounded, the drain of the second NMOS tube is connected to the gate of the PMOS tube, the source of the PMOS tube is connected to the battery, and the drain of the PMOS tube is connected to the load interface, and sending a load operation instruction to the load discharge system includes: A connection voltage is input to the third control node.

6. The battery charge and discharge control method according to claim 5, characterized in that: The load discharging system receives the load operation instruction, and opens the load connection with the battery, comprising: The connection voltage controls the second NMOS tube to be closed; The PMOS tube is controlled to be closed by closing the second NMOS tube, so that the PMOS tube is closed to connect the battery to the load interface.

7. The battery charge and discharge control method according to claim 1, characterized in that: The determining whether the battery is in a fully charged state comprises: Reading the state of charge value of the battery; Determining whether the state of charge value exceeds a preset state threshold; When the state threshold is exceeded, it is confirmed that the state of the battery is fully charged; When the state threshold is not exceeded, it is confirmed that the state of the battery is not fully charged.

8. The battery charge and discharge control method according to claim 1, characterized in that: When the load discharge system is connected to an external load, the boost charging system further comprises: Performing initial verification processing on the boost charging system and the load discharging system to obtain verification results; Determine whether the verification result is in an abnormal state; When an abnormal state exists, the abnormal state in the verification result is transmitted to a preset display port.

9. A battery charge and discharge control device, characterized in that: The battery charge and discharge control device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instruction in the memory to enable the battery charge and discharge control device to execute the battery charge and discharge control method according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the charge and discharge control method of the battery according to any one of claims 1 to 8 is implemented.