A charging and discharging control method, device, battery and electronic equipment
By setting four modules and corresponding switches in the battery circuit of the electronic device and switching the charging and discharging mode according to the system status, the problem of excessive power consumption in the DC S5 state is solved, and more efficient battery management and user experience is achieved.
Patent Information
- Application Number
- CN202111141836.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-28
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2041-09-28
AI Technical Summary
In the DC S5 state, the system power consumption of electronic devices is too high to meet the standard requirements. The existing technology mainly solves the problem by turning off the power consumption device or putting the EC into the deep sleep state, but this will affect the real-time detection function or the standard requirements cannot be achieved.
By setting four modules in the battery circuit and setting corresponding switches between modules, the on-off control of the module switch is performed according to the system status information, and the charging and discharging mode is switched, thereby adjusting the charging and discharging voltage.
While ensuring that the battery supplies normal power to electronic devices, it effectively reduces the system's power consumption, improves system efficiency, extends standby time, and meets the corresponding standards, improving user experience.
Smart Images

Figure CN113991767B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power electronics technology, and in particular to a charge and discharge control method, device, battery and electronic equipment Background Art
[0002] The technology of using power adapters for charging and discharging and normal power supply of electronic devices is already quite widespread, such as laptop power adapters. However, the system has the problem of excessive power consumption in DC S5 state (all devices including power supply are turned off) and cannot meet the corresponding standard requirements. At present, the main method is to turn off the power-consuming device or put the EC (Embedded Controller) into deep sleep state. However, after turning off the power-consuming device, there is still a problem of not meeting the standard requirements. If the EC is put into deep sleep, the real-time detection function cannot be realized, and the EC needs to be woken up regularly. Summary of the invention
[0003] Embodiments of the present invention provide a charge and discharge control method, a battery, a device, and an electronic device.
[0004] According to a first aspect of the present invention, a charge and discharge control method is provided, the method comprising: receiving system status information of the electronic device; when the system status information indicates that the system status of the electronic device is switched from a working state to a closed state, switching the charge and discharge mode of the battery of the electronic device from a first mode to a second mode by controlling the on and off of the module switch, the charging voltage of the first mode is greater than the charging voltage of the second mode, and the discharging voltage of the first mode is greater than the discharging voltage of the second mode.
[0005] According to one embodiment of the present invention, when the system status information shows that the system status of the electronic device is in a working state, it is detected whether the voltages of various modules in the battery of the electronic device are balanced; when it is detected that the voltages of various modules in the battery of the electronic device are unbalanced, the charging information of the electronic device is obtained; and according to the charging information, the battery charging and discharging mode of the electronic device is switched to the third mode or the fourth mode by controlling the on and off of the module switch.
[0006] According to one embodiment of the present invention, the charging voltage of the third mode is lower than the charging voltage of the first mode and higher than the charging voltage of the second mode; the discharging voltage of the third mode is lower than the discharging voltage of the first mode and higher than the discharging voltage of the second mode; the charging voltage of the fourth mode is equal to the charging voltage of the second mode; and the discharging voltage of the fourth mode is equal to the discharging voltage of the third mode.
[0007] According to one embodiment of the present invention, according to the charging information, the battery charge and discharge mode of the electronic device is switched to the third mode or the fourth mode by controlling the on and off of the module switch, including: if the battery of the electronic device currently has external power supply, then the battery charge and discharge mode of the electronic device is switched to the fourth mode by controlling the on and off of the module switch; if the battery of the electronic device currently has no external power supply, then the battery charge and discharge mode of the electronic device is switched to the third mode by controlling the on and off of the module switch.
[0008] According to a second aspect of the present invention, a battery is also provided, which is applied to electronic equipment. The battery includes a charging unit, a microcontroller unit, a battery module and a module switch. The battery module includes: a first module, a second module, a third module and a fourth module connected in series from the negative electrode to the positive electrode of the battery, and the module switch includes a first switch, a second switch, a third switch and a fourth switch; the first switch is arranged between the first module and the second module; the first module is connected in series with the first switch and then connected in parallel with the third switch; the second module, the third module and the fourth module are connected in series with the first switch and then connected in parallel with the third switch. The fourth switch and the second switch are connected in parallel; a wire is led out between the second switch and the fourth switch and connected to the charging unit, and is used to charge the first module independently when the second module, the third module and the fourth module are discharged; the micro control unit is connected to the first module, the second module, the third module and the fourth module, and the micro control unit can detect the voltage across any one of the first module, the second module, the third module and the fourth module; and the charging voltage and the discharging voltage of the battery are regulated by controlling the on-off of the module switch.
[0009] According to a third aspect of the present invention, a charge and discharge control device is also provided, which is applied to the battery, and the device includes: a charging unit receiving module, which is used to receive system status information of the electronic device; a charge and discharge control module, which is used to switch the charge and discharge mode of the battery of the electronic device from a first mode to a second mode by switching a switch when the system status information shows that the system status of the electronic device is switched from a working state to a closed state, wherein the charging voltage of the first mode is greater than the charging voltage of the second mode, and the discharging voltage of the first mode is greater than the discharging voltage of the second mode.
[0010] According to one embodiment of the present invention, a balance detection module is used to detect whether the voltages of various modules in the battery of the electronic device are balanced when the system status information shows that the system status of the electronic device is in a working state; a charging information acquisition module is used to acquire the charging information of the electronic device when it is detected that the voltages of various modules in the battery of the electronic device are unbalanced; and a mode switching module is used to switch the battery charging and discharging mode of the electronic device to a third mode or a fourth mode by controlling the on and off of the module switch according to the charging information.
[0011] According to one embodiment of the present invention, the charging voltage of the third mode is lower than the charging voltage of the first mode and higher than the charging voltage of the second mode; the discharging voltage of the third mode is lower than the discharging voltage of the first mode and higher than the discharging voltage of the second mode; the charging voltage of the fourth mode is equal to the charging voltage of the second mode; and the discharging voltage of the fourth mode is equal to the discharging voltage of the third mode.
[0012] According to one embodiment of the present invention, the mode switching module includes: a first switching submodule, which is used to switch the battery charging and discharging mode of the electronic device to the fourth mode if the battery of the electronic device currently has external power supply; and a second switching submodule, which is used to switch the battery charging and discharging mode of the electronic device to the third mode if the battery of the electronic device currently has no external power supply.
[0013] According to a fourth aspect of the present invention, an electronic device is provided, which is applied to the battery. According to a fifth aspect of the present invention, a computer-readable storage medium is provided, which includes a set of computer-executable instructions, which are used to execute any of the above-mentioned charge and discharge control methods when the instructions are executed.
[0014] The method, device, battery and electronic device for charge and discharge control of the embodiments of the present invention set four modules in the battery circuit and set corresponding switches between the modules. When the system changes from the working state to the closed state, the charge and discharge voltage is controlled by controlling the on and off of the module switches. Therefore, while ensuring that the battery can normally supply power to the electronic device, the power consumption of the system is effectively reduced, the system efficiency is improved, the standby time is extended, and the corresponding standards are met, the user experience is improved, and more devices can be allowed to realize more functions under the same standards.
[0015] It should be understood that the teachings of the present invention are not required to achieve all of the beneficial effects described above, but specific technical solutions can achieve specific technical effects, and other embodiments of the present invention can also achieve beneficial effects not mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, in which:
[0017] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0018] Figure 1 A circuit schematic diagram of a battery according to an embodiment of the present invention is shown;
[0019] Figure 2 A schematic diagram of the implementation flow of a charge and discharge control method according to an embodiment of the present invention is shown;
[0020] Figure 3 A circuit state diagram of a first mode of a charge and discharge control method according to an embodiment of the present invention is shown;
[0021] Figure 4 A circuit state diagram of a second mode of a charge and discharge control method according to an embodiment of the present invention is shown;
[0022] Figure 5 A circuit state diagram of a third mode of a charge and discharge control method according to an embodiment of the present invention is shown;
[0023] Figure 6 A circuit state diagram showing a fourth mode of a charge and discharge control method according to an embodiment of the present invention;
[0024] Figure 7 A schematic diagram of a method flow for implementing a specific application example of the charge and discharge control method according to an embodiment of the present invention is shown;
[0025] Figure 8 A schematic diagram of a charge and discharge control device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0026] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0027] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0028] Figure 1 The schematic diagram of the circuit of the battery according to the embodiment of the present invention is shown.
[0029] The charge and discharge control method of the embodiment of the present invention is applied to a battery, and the battery is applied to an electronic device. The circuit schematic diagram of the battery can be as follows: Figure 1 As shown, the battery includes a charging unit 101, a micro control unit 102, a battery module 103 and a module switch 104. The battery module 103 includes: a first module 1031, a second module 1032, a third module 1033 and a fourth module 1034 which are sequentially connected in series from the negative electrode to the positive electrode of the battery. The module switch includes a first switch S1, a second switch S2, a third switch S3 and a fourth switch S4. The first module 1031 is provided between the first module 1031 and the second module 1032. The first module 1031 is connected in series with the first switch S1 and then connected in parallel with the third switch S3. The second module 1032, the second module 1033 and the fourth module 1034 are connected in series with the first switch S1 and then connected in series with the third switch S3. The fourth switch S4 is connected in parallel with the circuit of the second switch S2; a wire is led out between the second switch S2 and the fourth switch S4 and connected to the charging unit 101, and is used to charge the first module 1031 independently when the second module 1032, the second module 1033 and the fourth module 1034 are discharged; the micro control unit 102 is connected to the first module 1031, the second module 1032, the second module 1033 and the fourth module 1034, and the micro control unit 102 can detect the voltage across any one of the first module 1031, the second module 1032, the second module 1033 and the fourth module 1034; the charging voltage and the discharging voltage of the battery are regulated by controlling the on-off of the module switch.
[0030] In one embodiment of the present invention, the battery circuit also includes a voltage regulator 104, which can be an LDO (low dropout linear regulator) for stabilizing the voltage during discharge. It should be noted that the present invention does not make specific control limitations on the low dropout linear regulator, and low dropout regulators with the same function are within the protection scope of the present invention.
[0031] In this embodiment of the present invention, the electronic device may be a notebook computer, a tablet computer, a personal digital assistant (PDA), etc.
[0032] In one embodiment of the present invention, the charging unit 101 may include: a plug, an adapter and a charger, wherein after the power plug is connected to the adapter, it is connected to the charger, and the adapter is not limited here. The charger may be a HPBCharger (hybrid power enhanced charger), which is used to charge the first module 1031 independently when the second module 1032, the second module 1033 and the fourth module 1034 are discharged. It should be noted that the present invention does not control the charging unit 101, and those with the same function belong to the protection scope of the present invention.
[0033] In one embodiment of the present invention, the charging unit 101 may further include high-speed switches 1012 and 1013 and path switches 1013 and 1014. The high-speed switches 1012 and 1013 may be used to adjust the duty cycle during battery charging, thereby adjusting the voltage, and the path switches 1013 and 1014 may be used to reconstruct the circuit.
[0034] In one embodiment of the present invention, the microcontroller unit 102 may be a Gauge IC (battery management chip) for detecting the voltage across any one of the first module 1031, the second module 1032, the third module 1033 and the fourth module 1034, so that the voltage of each module in the battery can be controlled in real time. It should be noted that the present invention does not specifically limit the charging unit 101. As long as the microcontroller unit 102 can control the battery of the embodiment of the present invention, microcontroller units 102 with the same function are within the protection scope of the present invention.
[0035] Figure 2 A schematic diagram of the implementation flow of the charge and discharge control method according to an embodiment of the present invention is shown;
[0036] refer to Figure 2 The charge and discharge control method of the embodiment of the present invention at least includes the following operation process: operation 201, receiving system status information of the electronic device; operation 202, when the system status information shows that the system status of the electronic device is switched from the working state to the off state, by controlling the on and off of the module switch, the charge and discharge mode of the battery of the electronic device is switched from the first mode to the second mode, wherein the charging voltage of the first mode is greater than the charging voltage of the second mode, and the discharging voltage of the first mode is greater than the discharging voltage of the second mode.
[0037] In operation 201, system status information of an electronic device is received.
[0038] In operation 202, when the system status information shows that the system status of the electronic device is switched from the working state to the off state, the charge and discharge mode of the battery of the electronic device is switched from the first mode to the second mode by controlling the on and off of the module switch, and the charging voltage of the first mode is greater than the charging voltage of the second mode, and the discharging voltage of the first mode is greater than the discharging voltage of the second mode.
[0039] For example, when all devices including the power supply are turned off and the system state of the electronic device is switched from the working state to the off state, in order to reduce the system power consumption in the off state, the charging and discharging mode of the battery of the electronic device is switched from the first mode to the second mode by controlling the on and off of the module switch. The charging voltage of the first mode is greater than the charging voltage of the second mode, and the discharging voltage of the first mode is greater than the discharging voltage of the second mode.
[0040] When the system state changes from the working state to the shut-down state, in the first mode, by turning on switch S2 and switch S4 and turning off switch S1, it is converted to the second mode to reduce the charge and discharge voltage, thereby reducing the power consumption of the system in the DC S5 state.
[0041] Figure 3 is a circuit state diagram of the first mode of the charge and discharge control method according to an embodiment of the present invention, with reference to Figure 3 In one embodiment of the present invention, the first mode switch state of the present invention is: switch S1 is turned on, and switch S2, switch S3 and switch S4 are in the off state; by turning on switch S1, the first module, the second module, the third module and the fourth module of the battery are all connected to the circuit to provide charging and discharging voltages.
[0042] Figure 4 FIG. 1 shows a circuit state diagram of a second mode of a charge and discharge control method according to an embodiment of the present invention; Figure 4 The switch state of the second mode of the present invention is: switch S2 and switch S4 are turned on, switch S1 and switch S3 are turned off, and only the first battery module is connected to the circuit to provide the charge and discharge voltage by controlling switch S1 and switch S4 to be turned on.
[0043] refer to Figures 3-4 , taking the voltage of each battery module as 4.4V as an example.
[0044] In the first mode, switch S1 is turned on, and switches S2, S3, and S4 are turned off. By turning on switch S1, the first, second, third, and fourth battery modules are all connected to the circuit. At this time, the four battery modules are all connected to the circuit for charging and discharging, and the charging and discharging voltage is provided by the four battery modules at the same time, which is 17.6V.
[0045] In the second mode, switches S2 and S4 are turned on, and switches S1 and S3 are turned off. By controlling switches S1 and S4 to be turned on, only the first battery module is connected to the circuit to provide the charge and discharge voltage. At this time, the charge and discharge voltage is only provided by the first module, which is 4.4V.
[0046] It should be noted that the voltage of each battery module can be the same, or the voltage of some modules can be the same, and of course the voltage of each battery module can be different, which can be determined in combination with the actual application scenario. The voltage of the battery module can also be determined in combination with the actual application scenario. The above is only an example of the voltage of each battery module being 4.4V, which is an exemplary description of the charge and discharge state of the battery of the electronic device in the first mode and the second mode, and does not constitute a limitation on the technical solution of the present invention.
[0047] In one embodiment of the present invention, system status information of the electronic device is also received, and when the system status information shows that the system status of the electronic device is in a working state, it is detected whether the voltages of the modules in the battery of the electronic device are balanced. When it is detected that the voltages of the modules in the battery of the electronic device are unbalanced, the charging information of the electronic device is further obtained, and according to the charging information, the battery charging and discharging mode of the electronic device is switched to the third mode or the fourth mode by controlling the on and off of the module switch.
[0048] In one embodiment of the present invention, if the battery of the electronic device currently has external power supply, the battery charge and discharge mode of the electronic device is switched to the fourth mode. If the battery of the electronic device currently has no external power supply, the battery charge and discharge mode of the electronic device is switched to the third mode. By judging whether the external power supply is connected, the third mode and the fourth mode are connected accordingly, thereby effectively reducing the battery power consumption and improving the battery charge and discharge efficiency.
[0049] In one embodiment of the present invention, the charging voltage of the third mode is less than the charging voltage of the first mode and greater than the charging voltage of the second mode; the discharging voltage of the third mode is less than the discharging voltage of the first mode and greater than the discharging voltage of the second mode; the charging voltage of the fourth mode is equal to the charging voltage of the second mode; and the discharging voltage of the fourth mode is equal to the discharging voltage of the third mode.
[0050] For example, when the system is in operation, in order to reduce unnecessary power consumption and improve system efficiency, it is necessary to detect the voltage of each module. When the voltage of each module is unbalanced, it is necessary to make corresponding adjustments to balance the voltage of each module. In the case of unbalanced voltage of each module, it is detected whether an external power supply is connected. If an external power supply is connected, the control circuit is switched from the first mode to the third mode, thereby reducing the charge and discharge voltage. At this time, the charge and discharge voltage is less than the charge and discharge voltage of the first mode in the normal working state, and greater than the charge and discharge voltage when the system is in the off state, so as to maintain the corresponding system operation. If an external power supply is connected, it is switched from the first mode to the fourth mode. After having an external power supply, the charging voltage can be reduced to the charging voltage of the second mode in the off state of the system to avoid unnecessary voltage input, and the discharge voltage is correspondingly reduced to the voltage of the third mode, so as to maintain the corresponding operation of the system while avoiding unnecessary power consumption.
[0051] Figure 5 FIG. 1 shows a circuit state diagram of the third mode of the charge and discharge control method according to an embodiment of the present invention, referring to FIG. Figure 5 In one embodiment of the present invention, the third mode switch state is: switch S3 is turned on, switch S1, switch S2 and switch S4 are turned off, and the second battery module, the third battery module and the fourth battery module are connected to the circuit for charging and discharging by controlling only switch S3 to be turned on.
[0052] Figure 6 FIG. 1 shows a circuit state diagram of a fourth mode of a charge and discharge control method according to an embodiment of the present invention, referring to FIG. Figure 6 The switch state of the fourth mode is: switch S3 and switch S4 are turned on, switch S1 and switch S2 are turned off, and the charging unit charges the first battery module alone by controlling the conduction of switch S3 and switch S4, while the circuit is connected to the second module, the third module and the fourth module for discharge.
[0053] refer to Figures 5-6 , taking the voltage of each battery module as 4.4V as an example.
[0054] In the third mode, switch S3 is turned on, and switches S1, S2 and S4 are turned off. By controlling only switch S3 to be turned on, the second battery module, the third battery module and the fourth battery module are connected to the circuit for charging and discharging. At this time, the charging and discharging voltage is provided by the second battery module, the third battery module and the fourth battery module, which is 13.2V.
[0055] In the fourth mode, switches S3 and S4 are turned on, and switches S1 and S2 are turned off. By controlling the conduction of switches S3 and S4, the charging unit charges the first battery module alone, and the charging voltage is 4.4V. The circuit is connected to the second module, the third module, and the fourth module for discharge, and the discharge voltage is 13.2V.
[0056] In addition, it should be noted that the description of the third mode and the fourth mode is also only for illustrative purposes, taking the battery module voltage of 4.4V as an example. Like the first mode and the second mode, there is no limitation on the battery module voltage.
[0057] Figure 7 A flowchart of an implementation method of a specific application example of the charge and discharge control method according to an embodiment of the present invention is shown.
[0058] refer to Figure 7 , a charge and discharge control method according to an embodiment of the present invention comprises the following steps:
[0059] Operation 701 : detecting whether the system is in a shutdown state in a first mode.
[0060] Operation 702: If the system is in the off state, the module switch is switched from the first mode to the second mode by controlling the on and off of the module switch.
[0061] Operation 703 , if the system is in working state, detect whether the voltages of the battery modules are balanced.
[0062] Operation 704 : If the voltages of the battery modules are unbalanced, it is detected whether an external power source is connected.
[0063] Operation 705: If no external power source is connected, the first mode is switched to the third mode by controlling the on / off of the module switch.
[0064] Operation 706 , if an external power source is connected, switching from the first mode to the fourth mode is performed by controlling the on / off of the module switch.
[0065] In this way, the present invention sets four groups of battery modules and sets corresponding switches between the modules, detects the working status of the system at any time, and switches between various modes by controlling the on and off of the module switches. While satisfying the battery charging of electronic devices, it improves the efficiency of the system in the off state, reduces power consumption, and increases the standby time of the system in the off state, meets the requirements of the standard, and improves the user experience. Moreover, under the same standard, the present invention can connect to more devices and realize more functions.
[0066] Specifically, when the above four battery modules are all 4.4V, the charge and discharge control method of the present invention can improve the system efficiency of the electronic device in the system shutdown state by 4 times, and the corresponding battery power consumption can be reduced to 1 / 4 before using the battery charge and discharge control method of the present invention.
[0067] Further, based on the above charge and discharge control method, the embodiment of the present invention also provides a charge and discharge control device 80, referring to Figure 8 The device includes: a status information receiving module 801, which is used to receive system status information of the electronic device; a charge and discharge control module 802, which is used to switch the charge and discharge mode of the battery of the electronic device from a first mode to a second mode by switching when the system status information shows that the system status of the electronic device is switched from a working state to a closed state, wherein the charging voltage of the first mode is greater than the charging voltage of the second mode, and the discharging voltage of the first mode is greater than the discharging voltage of the second mode.
[0068] In one embodiment of the present invention, referring to the figure, the charge and discharge control device also includes a charge and discharge device: a balance detection module, which is used to detect whether the voltages of various modules in the battery of the electronic device are balanced when the system status information shows that the system status of the electronic device is in a working state; a charging information acquisition module, which is used to acquire the charging information of the electronic device when it is detected that the voltages of various modules in the battery of the electronic device are unbalanced; and a mode switching module, which is used to switch the battery charge and discharge mode of the electronic device to the third mode or the fourth mode by controlling the on and off of the module switch according to the charging information.
[0069] In one embodiment of the present invention, the charging voltage of the third mode is less than the charging voltage of the first mode and greater than the charging voltage of the second mode; the discharging voltage of the third mode is less than the discharging voltage of the first mode and greater than the discharging voltage of the second mode; the charging voltage of the fourth mode is equal to the charging voltage of the second mode; and the discharging voltage of the fourth mode is equal to the discharging voltage of the third mode.
[0070] In one embodiment of the present invention, the mode switching module includes: a first switching submodule, which is used to switch the battery charging and discharging mode of the electronic device to the fourth mode if the battery of the electronic device currently has external power supply; and a second switching submodule, which is used to switch the battery charging and discharging mode of the electronic device to the third mode if the battery of the electronic device currently has no external power supply.
[0071] Furthermore, based on the above charge and discharge control method, an embodiment of the present invention also provides an electronic device, comprising the above battery.
[0072] Similarly, based on the above charge and discharge control method, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program, and when the program is executed by a processor, the processor performs at least the following operation steps: operation 201, receiving system status information of an electronic device; operation 202, when the system status information shows that the system status of the electronic device is switched from a working state to a closed state, by controlling the on and off of a module switch, the charge and discharge mode of the battery of the electronic device is switched from a first mode to a second mode, the charge voltage of the first mode is greater than the charge voltage of the second mode, and the discharge voltage of the first mode is greater than the discharge voltage of the second mode.
[0073] It should be noted here that the above description of the embodiment of the electronic device for charge and discharge control is similar to the description of the aforementioned embodiment of the charge and discharge control method, and has similar beneficial effects as the aforementioned embodiment of the charge and discharge control method, so it will not be repeated. For technical details not disclosed in the embodiment of the display device for configuration information of the present invention, please refer to the description of the aforementioned embodiment of the charge and discharge control method of the present invention for understanding, and in order to save space, it will not be repeated.
[0074] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0075] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0076] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0077] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0078] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0079] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0080] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A charge and discharge control method, characterized in that: The method is applied to a battery of an electronic device, the battery comprising a charging unit, a microcontroller unit, a battery module and a module switch, the battery module comprising: a first module, a second module, a third module and a fourth module connected in series from the negative electrode to the positive electrode of the battery, the module switch comprising a first switch, a second switch, a third switch and a fourth switch; the first switch is arranged between the first module and the second module; the first module is connected in series with the first switch and then connected in parallel with the third switch; the second module, the third module and the fourth module are connected in series with the first switch and then connected in parallel with the circuit of the fourth switch and the second switch connected in series; a wire is drawn out between the second switch and the fourth switch and connected to the charging unit, for charging the first module independently when the second module, the third module and the fourth module are discharged; the microcontroller unit is connected to the first module, the second module, the third module and the fourth module, and the microcontroller unit can detect the voltage across any one of the first module, the second module, the third module and the fourth module; the method comprises: Receiving system status information of the electronic device; When the system status information shows that the system status of the electronic device is switched from the working state to the off state, the charging and discharging mode of the battery of the electronic device is switched from the first mode to the second mode by controlling the on and off of the module switch, and the charging voltage of the first mode is greater than the charging voltage of the second mode, and the discharging voltage of the first mode is greater than the discharging voltage of the second mode; wherein the first mode switch state is: the first switch is turned on, and the second switch, the third switch and the fourth switch are in the off state; and the second mode switch state is: the second switch and the fourth switch are turned on, and the first switch and the third switch are turned off.
2. The method according to claim 1, characterized in that The method further comprises: When the system status information indicates that the system status of the electronic device is in a working state, detecting whether the voltages of various modules in the battery of the electronic device are balanced; When it is detected that the voltages of the modules in the battery of the electronic device are unbalanced, acquiring the charging information of the electronic device; And according to the charging information, the battery charging and discharging mode of the electronic device is switched to the third mode or the fourth mode by controlling the on and off of the module switch; wherein the switch state of the third mode is: the third switch is turned on, and the first switch, the second switch and the third switch are turned off; the switch state of the fourth mode is: the third switch and the fourth switch are turned on, and the first switch and the second switch are turned off.
3. The method according to claim 2, characterized in that The charging voltage of the third mode is lower than the charging voltage of the first mode and higher than the charging voltage of the second mode; The discharge voltage of the third mode is lower than the discharge voltage of the first mode and higher than the discharge voltage of the second mode; The charging voltage of the fourth mode is equal to the charging voltage of the second mode; The discharge voltage of the fourth mode is equal to the discharge voltage of the third mode.
4. The method according to claim 3, characterized in that The method of switching the battery charging and discharging mode of the electronic device to the third mode or the fourth mode by controlling the on and off of the module switch according to the charging information includes: If the battery of the electronic device currently has external power supply, switching the battery charging and discharging mode of the electronic device to a fourth mode by controlling the on and off of the module switch; If the battery of the electronic device currently has no external power supply, the battery charging and discharging mode of the electronic device is switched to the third mode by controlling the on and off of the module switch.
5. A charge and discharge control device, characterized in that: The device is applied to the battery as claimed in claim 1, wherein the battery comprises a charging unit, a microcontroller unit, a battery module and a module switch, wherein the battery module comprises: a first module, a second module, a third module and a fourth module which are sequentially connected in series from the negative electrode to the positive electrode of the battery, and the module switch comprises a first switch, a second switch, a third switch and a fourth switch; the first switch is arranged between the first module and the second module; the first module is connected in series with the first switch and then connected in parallel with the third switch; the second module, the third module and the fourth module are connected in series with the first switch and then connected in parallel with the circuit of the fourth switch and the second switch which are connected in series; a wire is drawn out between the second switch and the fourth switch and connected to the charging unit, and is used to charge the first module independently when the second module, the third module and the fourth module are discharged; the microcontroller unit is connected to the first module, the second module, the third module and the fourth module, and the microcontroller unit can detect the voltage across any one of the first module, the second module, the third module and the fourth module; the device comprises: A status information receiving module, used to receive system status information of the electronic device; A charge and discharge control module, used for switching the charge and discharge mode of the battery of the electronic device from a first mode to a second mode by switching a switch when the system status information shows that the system status of the electronic device is switched from a working state to a closed state, wherein the charging voltage of the first mode is greater than the charging voltage of the second mode, and the discharging voltage of the first mode is greater than the discharging voltage of the second mode; wherein the first mode switch state is: the first switch is turned on, and the second switch, the third switch and the fourth switch are in the turned-off state; and the second mode switch state is: the second switch and the fourth switch are turned on, and the first switch and the third switch are turned off.
6. The device according to claim 5, characterized in that The device also includes: A balance detection module, used to detect whether the voltages of various modules in the battery of the electronic device are balanced when the system status information shows that the system status of the electronic device is in a working state; A charging information acquisition module, used to acquire charging information of the electronic device when it is detected that the voltages of various modules in the battery of the electronic device are unbalanced; A mode switching module is used to switch the battery charging and discharging mode of the electronic device to a third mode or a fourth mode by controlling the on and off of the module switch according to the charging information; wherein the switch state of the third mode is: the third switch is turned on, and the first switch, the second switch and the third switch are turned off; the switch state of the fourth mode is: the third switch and the fourth switch are turned on, and the first switch and the second switch are turned off.
7. The device according to claim 6, characterized in that The charging voltage of the third mode is lower than the charging voltage of the first mode and higher than the charging voltage of the second mode; The discharge voltage of the third mode is lower than the discharge voltage of the first mode and higher than the discharge voltage of the second mode; The charging voltage of the fourth mode is equal to the charging voltage of the second mode; The discharge voltage of the fourth mode is equal to the discharge voltage of the third mode.
8. The device according to claim 6, characterized in that The mode switching module comprises: A first switching submodule, configured to switch the battery charging and discharging mode of the electronic device to a fourth mode if the battery of the electronic device currently has external power supply; The second switching submodule is used to switch the battery charging and discharging mode of the electronic device to a third mode if the battery of the electronic device is not currently powered by an external power supply.
9. An electronic device comprising the battery according to claim 1.
Citation Information
Patent Citations
Charging control circuit and electronic equipment
CN111900769A
Battery system and charge and discharge controlling method for battery packs
KR1020180044750A