Discharge method and discharge system
By introducing control modules and switch submodules into the discharge device, the battery pack status is automatically detected and managed, and the problem of low efficiency of manual control of discharge status in the prior art is solved, and the automatic management of the battery pack and the charging efficiency are improved.
Patent Information
- Application Number
- CN202110823310.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-21
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2041-07-21
AI Technical Summary
Existing discharge devices require manual control of the discharge state of multiple battery packs, resulting in low charging efficiency and reduced user satisfaction, and lack of automated management.
A discharge method and system are designed to automatically detect and manage the status of the battery pack through the control module and the switching switch submodule, ensuring orderly discharge and charging and discharging, including detecting the status of the discharge module, obtaining discharge information, and determining the discharge for discharge. Battery bag and replace the battery bag if necessary.
It realizes automatic management of battery packs, improves the charging efficiency of electrical equipment, avoids over-discharge of battery packs, and enhances the safety and user experience of the discharge device.
Smart Images

Figure CN113541256B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power management, and in particular to a discharge method and a discharge system. Background Art
[0002] With the rapid development of science and technology, people's living standards have been greatly improved. Electrical equipment has become an indispensable part of people's daily life.
[0003] Although in daily life some discharge devices can charge electrical equipment by providing multiple battery packs, in order to ensure the safety of charging the electrical equipment, it is necessary to manually control the discharge state of the multiple battery packs to ensure that the multiple battery packs can stably and continuously charge the electrical equipment. In this way, the user needs to pay attention to the discharge state of the discharge device in real time to manually adjust the discharge state of the corresponding battery pack, which seriously reduces the efficiency of the discharge device in charging the electrical equipment and reduces the user's satisfaction with the discharge device. Summary of the invention
[0004] In order to solve the above problems, the present invention provides a discharge method and a discharge system, which can automatically control the battery packs in the discharge device to discharge in an orderly manner by controlling the replacement of the discharge battery packs.
[0005] In a first aspect, the present invention provides a discharge method, the discharge method is applied to a discharge device, the discharge device comprising: a control module, a discharge interface and at least two discharge modules;
[0006] The discharge interface is electrically connected to at least one discharge module;
[0007] Each discharge module is used to be electrically connected to a battery pack so that the battery pack charges the electrical device through the corresponding discharge module;
[0008] The control module is used to control the discharge module when the discharge interface is connected to the power-consuming device, so that the battery pack charges the power-consuming device;
[0009] The discharge module includes: a switch submodule, one end of which is electrically connected to the control module, and the switch submodule is used to control the connection and disconnection between the corresponding battery pack and the discharge interface;
[0010] The discharge method comprises:
[0011] Detect the status of the discharge module;
[0012] Acquire discharge information according to the state of the discharge module, wherein the discharge information includes: a connection state between the discharge module and the battery pack;
[0013] Determine a discharge battery pack for discharging in at least one battery pack according to the discharge information, and turn on the switch submodule corresponding to the discharge battery pack to enable the discharge battery pack to discharge;
[0014] Determine whether the discharge battery pack needs to be replaced to continue discharging, and if so, replace the discharge battery pack to continue discharging until there is no discharge battery pack in the at least one battery pack, or until the discharge is completed, and stop the discharge device from discharging.
[0015] Optionally, the discharge module further comprises: a charge and discharge electronic module;
[0016] The charging and discharging electronic module is electrically connected to the other end of the corresponding switching submodule;
[0017] The charging and discharging electronic module is used to be electrically connected to a battery pack and provide a charging and discharging circuit for the corresponding battery pack so that the corresponding battery pack can be charged or discharged;
[0018] The discharge method further comprises:
[0019] determining whether the discharge device is in a charging state;
[0020] The step of determining a discharge battery pack for discharging in at least one battery pack according to the discharge information includes:
[0021] When the discharging device is not in a charging state, a discharging battery pack for discharging is determined in at least one battery pack according to the discharging information.
[0022] Optionally, determining whether the discharge device is in a charging state includes:
[0023] Determine whether there is an input voltage at the discharge interface;
[0024] When there is an input voltage at the discharge interface, it is determined whether the OTG mode of the discharge device is turned on. If so, the discharge device is not in a charging state.
[0025] Optionally, the discharging method further includes:
[0026] Determine the number of discharge modules electrically connected to the battery pack according to the discharge information, and record it as R, where R is a natural number;
[0027] When the discharge device is not in a charging state, determining a discharge battery pack for charging in at least one battery pack, and starting the discharge battery pack for discharging, comprises:
[0028] When the OTG mode of the discharge device is turned on, or when there is no input voltage at the discharge interface, let n=1, and determine whether the operating voltage of battery pack n is greater than or equal to a fourth threshold voltage, and the battery pack n is the nth discharging battery pack among the at least one battery pack;
[0029] When the operating voltage of the battery pack n is greater than or equal to the fourth threshold voltage, turning on the switch submodule corresponding to the battery pack n, and turning off the other switch submodules;
[0030] Determining whether the operating current of the battery pack n is less than or equal to a threshold current;
[0031] When the operating current of the battery pack n is greater than the threshold current, determining whether the operating voltage of the battery pack n is greater than or equal to a fifth threshold voltage, wherein the fifth threshold voltage includes the fourth threshold voltage;
[0032] When the operating voltage of the battery pack n is less than the fifth threshold voltage, adding 1 to n to update n;
[0033] Determine whether the updated n is less than or equal to R, and if so, perform the step of determining whether the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage;
[0034] When the updated n is greater than R, or when the operating current of the battery pack n is less than or equal to a threshold current, turning off the discharge device;
[0035] When the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage, determining whether the switch submodule corresponding to the battery pack n is turned on, and if so, executing the step of determining whether the operating current of the battery pack n is less than or equal to the threshold current, and if not, executing the step of turning on the switch submodule corresponding to the battery pack n and turning off other switch submodules;
[0036] When the operating voltage of the battery pack n is less than the fourth threshold voltage, the step of adding 1 to n to update n is performed.
[0037] Optionally, each discharge module is provided with a unique identification character;
[0038] The obtaining of discharge information according to the state of the discharge module includes:
[0039] Determine whether there is a discharge module electrically connected to the battery pack;
[0040] When there is a discharge module electrically connected to the battery pack, storing an identification character corresponding to the discharge module electrically connected to the battery pack in the control list;
[0041] Determining a discharge module electrically connected to the battery pack according to the identification characters stored in the control list;
[0042] The determining the number of discharge modules electrically connected to the battery pack according to the discharge information includes:
[0043] The number of discharge modules electrically connected to the battery pack is determined according to the number of identification characters stored in the control list.
[0044] In a second aspect, the present invention provides a discharge system, the system is applied to a discharge device, the discharge device comprises: a control module, a discharge interface and at least two discharge modules;
[0045] The discharge interface is electrically connected to at least two discharge modules;
[0046] Each discharge module is used to be electrically connected to a battery pack so that the battery pack charges the electrical device through the corresponding discharge module;
[0047] The control module is used to control the discharge module when the discharge interface is connected to the power-consuming device, so that the battery pack charges the power-consuming device;
[0048] The discharge module includes: a switch submodule, one end of which is electrically connected to the control module, and the switch submodule is used to control the connection and disconnection between the corresponding battery pack and the discharge interface;
[0049] The discharge system comprises:
[0050] a discharge detection module, configured to detect a state of the discharge module;
[0051] A discharge acquisition module is configured to acquire discharge information according to a state of the discharge module, wherein the discharge information includes: a connection state between the discharge module and the battery pack;
[0052] a discharge determination module, configured to determine a discharge battery pack for discharging in at least one battery pack according to the discharge information, and turn on the switch submodule corresponding to the discharge battery pack to enable the discharge battery pack to discharge;
[0053] A first discharge determination module is configured to determine whether a discharge battery pack needs to be replaced to continue discharge;
[0054] The discharge replacement module is configured to replace the discharge battery pack to continue discharging when the discharge battery pack needs to be replaced to continue discharging, until there is no discharge battery pack in at least one of the battery packs, or until the discharge is completed, and then stop the discharge device from discharging.
[0055] Optionally, the discharge module further comprises: a charge and discharge electronic module;
[0056] The charging and discharging electronic module is electrically connected to the other end of the corresponding switching submodule;
[0057] The charging and discharging electronic module is used to be electrically connected to a battery pack and provide a charging and discharging circuit for the corresponding battery pack so that the corresponding battery pack can be charged or discharged;
[0058] The system further comprises:
[0059] A second discharge determination module is configured to determine whether the discharge device is in a charging state;
[0060] The discharge determination module is further configured to determine a discharge battery pack for discharging in at least one battery pack according to the discharge information when the discharge device is not in a charging state.
[0061] Optionally, the second discharge determination module includes:
[0062] A first discharge determination submodule is configured to determine whether there is an input voltage on the discharge interface;
[0063] The second discharge judgment submodule is configured to judge whether the OTG mode of the discharge device is turned on when there is an input voltage at the discharge interface. If so, the discharge device is not in a charging state.
[0064] Optionally, the discharge system further comprises:
[0065] a discharge recording module, configured to determine the number of discharge modules electrically connected to the battery pack according to the discharge information, and record the number as R, where R is a natural number;
[0066] The discharge confirmation module comprises:
[0067] A third discharge judgment submodule is configured to, when the OTG mode of the discharge device is turned on, or when there is no input voltage at the discharge interface, set n=1 to judge whether the operating voltage of battery pack n is greater than or equal to a fourth threshold voltage, and the battery pack n is the nth discharging battery pack in the at least one battery pack;
[0068] The first discharge execution submodule is configured to execute the discharge switch control submodule when the operating voltage of the battery pack n is greater than or equal to the fourth threshold voltage.
[0069] The discharge switch control submodule is configured to turn on the switch submodule corresponding to the battery pack n and turn off other switch submodules;
[0070] a fourth discharge determination submodule, configured to determine whether the operating current of the battery pack n is less than or equal to a threshold current;
[0071] A second discharge execution submodule, configured to execute a fifth discharge determination submodule when the operating current of the battery pack n is greater than a threshold current;
[0072] The fifth discharge judgment submodule is configured to judge whether the operating voltage of the battery pack n is greater than or equal to a fifth threshold voltage, wherein the fifth threshold voltage includes the fourth threshold voltage;
[0073] A third discharge execution submodule is configured to add 1 to n to update n when the operating voltage of the battery pack n is less than a fifth threshold voltage;
[0074] The discharge update submodule is configured to add 1 to n to update n;
[0075] A sixth discharge determination submodule is configured to determine whether the updated n is less than or equal to R;
[0076] a fourth discharge execution submodule, configured to execute the fifth discharge determination submodule when the updated n is less than or equal to R;
[0077] a discharge shut-off submodule, configured to shut down the discharge device when the updated n is greater than R, or when the operating current of the battery pack n is less than or equal to a threshold current;
[0078] a seventh discharge judgment submodule, configured to judge whether the switch submodule corresponding to the battery pack n is turned on when the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage;
[0079] a fifth discharge execution submodule, configured to execute the fourth discharge determination submodule when the switch submodule corresponding to the battery pack n is turned on;
[0080] a sixth discharge execution submodule, configured to execute the discharge switch control submodule when the switch submodule corresponding to the battery pack n is not turned on;
[0081] The seventh discharge execution submodule is configured to execute the discharge refresh submodule when the operating voltage of the battery pack n is less than a fourth threshold voltage.
[0082] Optionally, each discharge module is provided with a unique identification character;
[0083] The discharge acquisition module comprises:
[0084] An eighth discharge determination submodule is configured to determine whether there is a discharge module electrically connected to the battery pack;
[0085] a discharge storage submodule configured to store an identification character corresponding to the discharge module electrically connected to the battery pack in a control list when there is a discharge module electrically connected to the battery pack;
[0086] a discharge determination submodule, configured to determine a discharge module electrically connected to the battery pack according to the identification characters stored in the control list;
[0087] The discharge recording module is further configured to determine the number of discharge modules electrically connected to the battery pack according to the number of identification characters stored in the control list.
[0088] The discharge method and discharge system provided in the embodiments of the present invention can quickly identify the discharge module electrically connected to the battery pack among multiple discharge modules by determining the state of the discharge module, thereby facilitating the battery pack to charge the electrical equipment quickly and efficiently through the corresponding discharge module; and by determining the discharge battery pack, the discharge module electrically connected to the battery pack can automatically charge the electrical equipment quickly, stably and orderly, which not only further improves the efficiency of charging the electrical equipment, but also avoids the occurrence of over-discharge of the battery pack, thereby improving the safety of the discharge device. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] Figure 1 A schematic structural diagram of a multi-battery pack charging and discharging device according to an embodiment of the present application;
[0090] Figure 2 A schematic structural diagram of a multi-battery pack charging and discharging device that embodies the internal connection relationship and charging and discharging flow chart of the multi-battery pack charging and discharging device according to an embodiment of the present application;
[0091] Figure 3 A circuit diagram of a charge-discharge module according to an embodiment of the present application;
[0092] Figure 4 is a schematic flow chart of a charging method according to an embodiment of the present application;
[0093] Figure 5 is a schematic flow chart of a charging method according to an embodiment of the present application;
[0094] Figure 6 is a schematic structural diagram of a charging system according to an embodiment of the present application;
[0095] Figure 7 is a schematic flow chart of a discharge method according to an embodiment of the present application;
[0096] Figure 8 is a schematic flow chart of a discharge method according to an embodiment of the present application;
[0097] Fig. 9 It is a schematic structural diagram of a discharge method according to an embodiment of the present application.
[0098] Reference numerals
[0099] 1. Control module; 11. Buck circuit submodule; 12. Micro control submodule; 2. Discharge switch; 3. Charge and discharge interface; 4. Power display module; 5. Charge and discharge module; 51. Switching switch submodule; 511. Switching switch chip; D1. First diode; D2. Second diode; Q1. First control switch; Q2. Second control switch; R1. First fixed resistor; 52. Charge and discharge electronic module; 521. Charge and discharge chip; Q3. Third control switch; Q4. Fourth control switch; Q5. Fifth control switch; Q6. Sixth control switch; L1. Inductor; R2. Second fixed resistor; R3. Third fixed resistor; R4. Fourth fixed resistor; R5. Fifth fixed resistor; 6. Control body. DETAILED DESCRIPTION
[0100] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0101] It should be noted that, in the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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.
[0102] First, combining Figure 1 and Figure 2 , this embodiment provides a multi-battery pack charging and discharging device, the multi-battery pack charging and discharging device includes: a control body 6, at least one battery pack and at least one charging and discharging module 5. The control body 6 includes: a control module 1, a discharge switch 2, a charging and discharging interface 3, and a power display module 4. Among them, the number of the battery packs is less than or equal to the number of the charging and discharging modules 5. In an optional embodiment, the multi-battery pack charging and discharging device includes: a control body 6, at least one battery pack and at least two charging and discharging modules 5.
[0103] In this embodiment, the multi-battery pack charging and discharging device is compatible with ordinary input adapters and high-voltage USB PD input adapters for charging batteries; the number of the control module 1, the discharge switch 2, the charge and discharge interface 3 and the power display module 4 are all one. The number of the battery packs and the charge and discharge modules 5 are four, and each battery pack is detachably fixedly connected to one and only charge and discharge module 5. Each charging module 5 is detachably fixedly connected to the control body 6. The discharge switch 2 is electrically connected to the control module 1, the charge and discharge interface 3 is electrically connected to the charge and discharge module 5, and each battery pack is electrically connected to the control module 1 through a charge and discharge module 5.
[0104] Among them, the detachable fixed connection method between the battery pack and the charging and discharging module 5, and the detachable fixed connection method between the charging and discharging module 5 and the control body 6 can all include: existing magnetic adsorption, the snap-fitting of the hook and the slot, and the limiting cooperation between the storage bin and the movable baffle. Taking the snap-fitting of the hook and the slot as an example, the hook is fixedly connected to the charging and discharging module 5, and the surface of the battery pack is provided with a slot adapted to the hook. When the battery pack and the charging and discharging module 5 are mechanically connected, the detachable fixed connection between the battery pack and the charging and discharging module 5 can be achieved by snapping one end of the hook into the slot.
[0105] Furthermore, the control module 1 is used to identify the charging and discharging module 5 electrically connected to the battery pack among the at least one charging and discharging module 5, and is used to control the charging and discharging module 5 when the charging and discharging interface 3 is connected to an external power supply, so that the external power supply charges the corresponding battery pack; the discharge switch 2 is used to control the charging and discharging module 5 electrically connected to the battery pack through the control module 1, so that the corresponding battery pack is discharged through the charging and discharging interface 3.
[0106] Specifically, the control module 1 identifies the charging and discharging module 5 electrically connected to the battery pack among the at least one charging and discharging module 5, including: the control module 1 determines whether the charging and discharging module 5 is electrically connected to the battery pack by detecting the end potential of the charging and discharging module 5 used to connect to the battery pack and the pressure it is subjected to.
[0107] The multi-battery pack charging and discharging device provided in this embodiment facilitates adjustment of the weight of the multi-battery pack charging and discharging device by detachably connecting the charging and discharging module 5 to the battery pack, thereby facilitating carrying of the multi-battery pack charging and discharging device; and the charging and discharging module 5 is detachably connected to the control body 6, so that the user can select an appropriate number of charging and discharging modules 5 according to actual usage; at the same time, by setting the control module 1 to identify and control the corresponding charging and discharging module 5, it can be ensured that the multi-battery pack charging and discharging device can still charge and discharge normally when the number of battery packs changes.
[0108] At the same time, the multi-battery pack charging and discharging device can produce better technical effects according to different application scenarios. For example, when the multi-battery pack charging and discharging device is used as a power bank to charge mobile phones, smart watches and laptops, the number of battery packs can be configured according to the actual time of going out or the objects that need to be charged. Specifically, if you only need a power bank to charge your mobile phone and smart watch when you go out, you can keep one or two battery packs in the multi-battery pack charging and discharging device electrically connected to the corresponding charging and discharging module 5; if you need a power bank to charge a laptop computer, keep three or four battery packs in the multi-battery pack charging and discharging device electrically connected to the corresponding charging and discharging module 5. In this way, the multi-battery pack charging and discharging device can select the appropriate number of battery packs for configuration according to the actual application scenario, effectively reducing the weight of the multi-battery pack charging and discharging device, and avoiding the inconvenience caused by carrying extra battery packs when going out.
[0109] When the multi-battery pack charging and discharging device is used as a power supply device for large-scale electrical equipment, such as for electric vehicles, when the electric vehicle is used for short-distance driving in urban areas, two battery packs can be configured on the multi-battery pack charging and discharging device to power the electric vehicle; when the electric vehicle is used for long-distance driving, four battery packs can be configured on the multi-battery discharge device to power the electric vehicle. In this way, while not affecting the long-distance driving of the car, the electric vehicle can also carry fewer batteries in short-distance driving, thereby reducing the weight of the electric vehicle, and thus effectively extending the mileage that the electric vehicle can travel with a unit of electricity.
[0110] Furthermore, each charging and discharging module 5 includes: a switching submodule 51 and a charging and discharging electronic module 52 .
[0111] The switch submodule 51 is electrically connected to the control module 1, the charge and discharge electronic module 52 is electrically connected to the switch submodule 51, and the battery pack is electrically connected to the corresponding charge and discharge electronic module 52. The switch submodule 51 is used to control the on and off of the charge and discharge electronic module 52 and the charge and discharge interface 3; the charge and discharge electronic module 52 is used to provide a charge and discharge circuit for the corresponding battery pack, so that the corresponding battery pack can be charged or discharged.
[0112] Combination Figure 3 The switch submodule 51 includes: a first diode D1, a switch chip 511, a first control switch Q1 and a second control switch Q2. The first control switch Q1 includes: a first control terminal, a first positive terminal and a first negative terminal. The second control switch Q2 includes: a second control terminal, a second positive terminal and a second negative terminal.
[0113] The first control terminal is used to control the first positive terminal and the first negative terminal to be turned on when the potential of the first control terminal reaches the first threshold potential; the second control terminal is used to control the second positive terminal and the second negative terminal to be turned on when the potential of the second control terminal reaches the first threshold potential. The switching switch chip 511 is used to provide a potential not less than the first threshold potential to the first control terminal and the second control terminal when receiving a first control signal.
[0114] The anode of the first diode D1 is electrically connected to the charge and discharge interface 3; the cathode of the first diode D1 is electrically connected to the switching switch chip 511; the first control end and the second control end are electrically connected to the switching switch chip 511 through the first fixed resistor R1; the first negative end is electrically connected to the charge and discharge interface 3; the second negative end is electrically connected to the charging and discharging electronic module 52; the first positive end is electrically connected to the second positive end; the switching switch chip 511 is electrically connected to the control module 1.
[0115] The charging and discharging electronic module 52 includes: a third control switch Q3, a fourth control switch Q4, a fifth control switch Q5, a sixth control switch Q6, a charging and discharging chip 521 and an inductor L1. The third control switch Q3 includes: a third control terminal, a third positive terminal and a third negative terminal; the third control terminal is used to control the third positive terminal and the third negative terminal to be turned on when the potential of the third control terminal reaches the second threshold potential. The fourth control switch Q4 includes: a fourth control terminal, a fourth positive terminal and a fourth negative terminal; the fourth control terminal is used to control the fourth positive terminal and the fourth negative terminal to be turned on when the potential of the fourth control terminal reaches the second threshold potential. The fifth control switch Q5 includes: a fifth control terminal, a fifth positive terminal and a fifth negative terminal. The fifth control terminal is used to control the fifth positive terminal and the fifth negative terminal to be turned on when the potential of the fifth control terminal reaches the second threshold potential. The sixth control switch Q6 includes: a sixth control terminal, a sixth positive terminal and a sixth negative terminal. The sixth control terminal is used to control the sixth positive terminal and the sixth negative terminal to be turned on when the potential of the sixth control terminal reaches the second threshold potential. The charge and discharge chip 521 is used to provide a potential not less than the second threshold potential to the third control terminal, the fourth control terminal, the fifth control terminal and the sixth control terminal when receiving the second control signal, so as to charge or discharge the corresponding battery pack.
[0116] One end of the inductor L1 is electrically connected to the third positive end and the fifth negative end respectively, the other end of the inductor L1 is electrically connected to the fourth positive end and the sixth negative end respectively, the third control end is electrically connected to the charge-discharge chip 521 through a fifth fixed resistor R5, the fourth control end is electrically connected to the charge-discharge chip 521 through a second fixed resistor R2, the fifth control end is electrically connected to the charge-discharge chip 521 through a fourth fixed resistor R4, the sixth control end is electrically connected to the charge-discharge chip 521 through a third fixed resistor R3, the third negative end is electrically connected to the corresponding switch submodule 51, the fourth negative end is electrically connected to the corresponding battery pack, the fifth positive end and the sixth positive end are both grounded, and the charge-discharge chip 521 is electrically connected to the control module 1. Among them, the fourth control switch Q4 is electrically connected to the charge-discharge chip 521 through a second fixed resistor R2. At this point, the charging and discharging electronic module 52 composed of the third control switch Q3, the fourth control switch Q4, the fifth control switch Q5, the sixth control switch Q6, the charging and discharging chip 521 and the inductor L1 forms a Buck-Boost loop to realize the charging function of the multi-battery pack charging and discharging device to the battery pack through the charging and discharging interface 3 and the discharging function to the device to be charged through the charging and discharging interface 3.
[0117] Among them, the first control switch Q1, the second control switch Q2, the third control switch Q3, the fourth control switch Q4, the fifth control switch Q5 and the sixth control switch Q6 are all of the same specifications and can be field effect tubes and triodes, etc. This embodiment does not limit the first potential and the second potential, and any potential that can break through the corresponding field effect tube in the circuit can be used.
[0118] In this embodiment, the first control switch Q1, the second control switch Q2, the third control switch Q3, the fourth control switch Q4, the fifth control switch Q5 and the sixth control switch Q6 are all N-type MOS tubes with the same specifications. Among them, the first control terminal, the second control terminal, the third control terminal, the fourth control terminal, the fifth control terminal and the sixth control terminal are all gates; the first positive terminal, the second positive terminal, the third positive terminal, the fourth positive terminal, the fifth positive terminal and the sixth positive terminal are all sources; the first negative terminal, the second negative terminal, the third negative terminal, the fourth negative terminal, the fifth negative terminal and the sixth negative terminal are all drains.
[0119] Furthermore, the control module 1 includes: a step-down circuit submodule 11 and a micro-control submodule 12. The output end of the step-down circuit submodule 11 is electrically connected to the micro-control submodule 12 and the charge-discharge chip 521, and the input end of the step-down circuit submodule 11 is electrically connected to the charge-discharge interface 3; the operating voltage of the micro-control submodule 12 is 3.3V. Electrically connecting the charge-discharge chip 521 to the step-down circuit submodule 11 enables certain signals of the charge-discharge chip 521 to be externally pulled up to 3.3V, such as the I2C pin in the charge-discharge chip 521 needs to be externally pulled up to 3.3V, so as to communicate with the micro-control submodule 12.
[0120] The power display module 4 is electrically connected to the microcontroller module 12; the power display module 4 is used to display the remaining power of the battery pack electrically connected to the charging and discharging module 5 and the state of the battery pack; the state of the battery pack includes: charging state, discharging state and static state. Among them, the static state W is the state of the battery pack in a non-working state. In this embodiment, the microcontroller module 12 is an MCU (Microcontroller Unit); the charging and discharging chip 521 is a Buck-Boost charging and discharging chip 521.
[0121] The step-down circuit submodule 11 is used to adjust the voltage provided by the charge and discharge interface 3 when charging the battery pack; the charge and discharge interface 3 is used to provide the micro-control submodule 12 with the working voltage of the micro-control submodule 12 through the step-down circuit submodule 11 .
[0122] In addition, the input end of the step-down circuit submodule 11 is electrically connected to the at least one battery pack through a diode. The anode of the diode is electrically connected to the battery pack, and the cathode of the diode is electrically connected to the step-down circuit submodule 11. The step-down circuit submodule 11 is used to adjust the voltage provided by the battery pack when the battery pack is electrically connected for discharge. The at least one battery pack is used to provide the micro-control submodule 12 with the working voltage of the micro-control submodule 12 through the step-down circuit submodule 11. The micro-control submodule 12 is used to send a first control signal and a second control signal to the charge and discharge module 5 to charge or discharge the corresponding battery pack.
[0123] Specifically, taking the circuit of a charging and discharging module 5 as an example, when the multi-battery pack charging and discharging device is in a charging state, the control module 1 controls the switching chip 511 to supply power to the battery pack through VIN to the first diode D1, and outputs the EN_S1 signal, i.e., the first control signal, to the switching chip 511 through the control module 1, so that the gate voltage provided by the switching chip 511 turns on the first control switch Q1 and the second control switch Q2 through the first fixed resistor R1, so that the first control switch Q1 and the second control switch Q2 are turned on. Then, the Buck-Boost charging and discharging chip 521 detects that there is a potential greater than zero at VIN_1, and a Buck-Boost loop is formed through the third control switch Q3, the fourth control switch Q4, the fifth control switch Q5, the sixth control switch Q6, the charging and discharging chip 521 and the inductor L1, and the voltage input to the Buck-Boost loop is finally used to charge the battery pack through the fourth negative terminal. Among them, VIN is an end of the circuit of the switching submodule 51 electrically connected to the charging and discharging interface 3, and VIN_1 is an end of the circuit of the switching submodule 51 electrically connected to the charging and discharging electronic module 52.
[0124] When the input adapter is not present, that is, when the battery in the multi-battery pack charging and discharging device is not in a charging state, by pressing the discharge switch 2, the MCU will detect the switch signal triggered by the discharge switch 2. At this time, the MCU selects a battery corresponding to a charge and discharge module 5 for discharge according to the charge and discharge information stored in the multi-battery pack charging and discharging device. Specifically, the MCU sends an EN_OTG1 signal, that is, a second control signal, to the Buck-Boost charging and discharging chip 521 to turn on the discharge function of the Buck-Boost charging and discharging chip 521, so that the battery pack generates a preset output voltage on the third negative terminal through the Buck-Boost loop, and the MCU sends an EN_S1 signal to turn on the switching switch chip 511. At this time, the switching switch chip 511 provides a preset output voltage through the third negative terminal to the second diode D2, turns on the first control switch Q1 and the second control switch Q2, and makes the first control switch Q1 and the second control switch Q2 conduct to each other, thereby generating a corresponding output voltage at the first negative terminal, and then realizing charging of the device to be charged through the charging and discharging interface 3. At the same time, during this process, the control module 1 controls the switching switch submodules 51 in other charging and discharging modules 5 to be in a closed state, that is, controls the switching switch submodules in other charging and discharging modules 5 to disconnect the corresponding charging and discharging electronic module 52 from the charging and discharging interface 3, so as to prevent the battery pack being discharged from charging other battery packs and affecting the discharge effect of the multi-battery pack charging and discharging device.
[0125] In an optional embodiment, the multi-battery pack charging and discharging device further includes: a storage module. The storage module is electrically connected to the charging and discharging module 5 and the control module 1; the storage module is used to store charging and discharging information. The control module 1 is also used to control the corresponding charging and discharging module 5 according to the charging and discharging information, so that the corresponding battery pack is charged or discharged;
[0126] The charging and discharging information includes: the connection status between the charging and discharging module 5 and the battery pack; or, the charging and discharging information includes: the connection status between the charging and discharging module 5 and the battery pack, and the remaining power of the battery pack electrically connected to the charging and discharging module 5.
[0127] By setting up the storage module, the control module 1 can quickly identify the charging and discharging module 5 electrically connected to the battery pack among all the charging and discharging modules 5, so that the control module 1 can accurately control the corresponding switching submodule 51 to be turned on or off.
[0128] Furthermore, each charging and discharging module 5 is provided with a unique identification character; the storage module provides a control list. The control list includes: a first storage column. The first storage column is used to store the identification characters corresponding to the at least one charging and discharging module 5, respectively, and to sort the stored identification characters; or, to store the identification characters corresponding to the charging and discharging modules 5 electrically connected to the battery pack, and to sort the stored identification characters.
[0129] The control module 1 is further used to control the corresponding battery packs to charge or discharge in sequence according to the order in which the identification characters are arranged in the first storage column.
[0130] When the first storage column is used to store identification characters corresponding to the charging and discharging modules 5 electrically connected to the battery pack, and the stored identification characters are sorted, the arrangement of the identification characters is as follows:
[0131] For example, the multi-battery pack charging and discharging device includes four charging and discharging modules 5, and the identification characters corresponding to each charging and discharging module are: a, b, c, d.
[0132] Table 1
[0133] a c d
[0134] If the information stored in the first storage column is as shown in Table 1, it indicates that the charge and discharge module 5 corresponding to the identification character b is not electrically connected to the battery pack. During the charge and discharge process, the corresponding battery pack is operated in the order of a→c→d, but the embodiment is not limited thereto.
[0135] When the first storage column stores the identification characters corresponding to the at least one charging and discharging module 5, the control list further includes: a second storage column; the second storage column is used to store the connection status of the at least one charging and discharging module 5 and the battery pack. The connection status of each charging and discharging module 5 and the battery pack corresponds to the corresponding identification character. At this time, the arrangement of the identification characters is as follows, but not limited to this:
[0136] For example, the multi-battery pack charging and discharging device includes four charging and discharging modules 5, and the identification characters corresponding to each charging and discharging module are: a, b, c, d.
[0137] Table 2
[0138] b a d c 1 1 0 1
[0139] In Table 2, the first row of the table is the first storage column, the second row of the table is the second storage column, 1 indicates that the corresponding charging and discharging module 5 is electrically connected to the battery pack, and 0 indicates that the corresponding charging and discharging module 5 is not electrically connected to the battery pack. In this way, during the charging and discharging process, the corresponding battery pack is operated in the order of b→a→c, but the present embodiment is not limited thereto.
[0140] In this optional embodiment, the control list includes: a first storage column and a second storage column, and the first storage column is used to store the identification characters corresponding to the charging and discharging module 5 electrically connected to the battery pack; the charging and discharging information includes: the connection status between the charging and discharging module 5 and the battery pack, and the remaining power of the battery pack electrically connected to the charging and discharging module 5.
[0141] When the second storage column is used to store the remaining power of the battery pack and the connection status of the at least one charging and discharging module 5 with the battery pack, the second storage column stores the charging and discharging information by providing multiple bits. Taking the second storage column as an example, by providing 5 bits, one bit is used to store the connection status of the charging and discharging module 5 corresponding to the identification character and the battery pack, and the other bits are used to store the remaining power of the corresponding battery pack. For example: 11000, indicating that the charging and discharging module 5 corresponding to the identification character is electrically connected to the battery pack, and the power of the corresponding battery pack is less than 30%; 10100, indicating that the charging and discharging module 5 corresponding to the identification character is electrically connected to the battery pack, and the power of the corresponding battery pack is greater than 30% and less than 70%; 10010, indicating that the charging and discharging module 5 corresponding to the identification character is electrically connected to the battery pack, and the power of the corresponding battery pack is greater than 70% and less than 100%; 10001, indicating that the charging and discharging module 5 corresponding to the identification character is electrically connected to the battery pack, and the power of the corresponding battery pack is full; 00000, indicating that the charging and discharging module 5 corresponding to the identification character is not electrically connected to the battery pack.
[0142] By setting a storage list, a multi-battery pack charging and discharging device can automatically sort the discharge order of the battery packs, so that users can remove the battery packs at will without having to remove them in a fixed order, making the disassembly of the battery packs more flexible.
[0143] The working principle of the multi-battery pack charging and discharging device provided in this embodiment is as follows:
[0144] Charging principle: after the external power supply is inserted into the charging and discharging interface 3 through the adapter, the step-down circuit works and supplies power to the MCU; after the MCU works, the MCU starts to identify the charging and discharging module 5 electrically connected to the battery pack in the at least one charging and discharging module 5. After the identification is completed, the remaining power of the corresponding battery pack is detected and the first control instruction is sent to open all the switching switch submodules 51 electrically connected to the battery pack, so that the voltage passes through the switching switch submodule 51 to the Buck-Boost charging and discharging chip 521. The Buck-Boost charging and discharging chip 521 starts to work when it detects the input voltage and receives the second control signal sent by the MCU, and charges the corresponding battery pack. During the charging process, the MCU monitors the remaining power of each battery pack in real time, and controls it to work in the corresponding charging mode through the Buck-Boost charging and discharging chip 521. At the same time, the power display module 4 displays the charging status and the remaining power corresponding to each battery pack in real time.
[0145] Discharge principle: When the charge and discharge interface 3 is not connected to an external power supply, by pressing the discharge switch 2, the battery pack supplies power to the step-down circuit, so that the MCU starts to identify the charge and discharge module 5 electrically connected to the battery pack in the at least one charge and discharge module 5. After the identification is completed, the number of battery packs is detected. When the MCU detects the switch signal triggered by the discharge switch 2, the MCU sends the EN_OTG1 signal, i.e., the second control signal, to the corresponding Buck-Boost charge and discharge chip 521 according to the discharge sequence, and sends the EN_S1 signal, i.e., the first control signal, to the corresponding switching switch chip 511, so that the corresponding Buck-Boost charge and discharge chip 521 discharges to the charge and discharge interface 3 through the battery pack 1, thereby realizing the charge and discharge interface function. At the same time, the MCU controls other switching switch submodules 51 to be in a closed state to prevent the discharged battery pack from charging other battery packs. When the MCU detects that the voltage of battery pack 1 is lower than a certain value, it sends the EN_S1 signal to the switching switch chip 511 that is discharging again, and sends the EN_OTG1 signal to the charging and discharging electronic module 52 that is discharging, so as to stop the battery pack 1 from continuing to discharge. At the same time, it sends the EN_S2 signal to open another switching switch submodule 51, and sends the EN_OTG2 signal to open the discharge function of the Buck-Boost charging and discharging chip 521 to allow the battery pack 2 to continue to discharge. The status of other charging and discharging modules 5 remains the same as before and is in a closed state. This process continues in this way until all configured battery packs are discharged, the power display module 4 displays the end of discharge, and displays the remaining power of all battery packs, thereby realizing the function of multiple batteries discharging in turn.
[0146] In the second aspect, this embodiment provides a charging method, which is applied to any multi-battery charging device with a charging function. In this embodiment, the multi-battery charging device is the multi-battery pack charging and discharging device in the first aspect. The charging interface in the multi-battery charging device is the charging and discharging interface 3 in the multi-battery pack charging and discharging device; the charging module in the multi-battery charging device is the charging and discharging module 5 in the multi-battery pack charging and discharging device; the device to be charged is the battery pack in the multi-battery pack charging and discharging device; the charging information is the charging and discharging information in the multi-point battery charging and discharging device; and the charging method is controlled and implemented by the micro-control submodule 12.
[0147] Combination Figure 4 , the charging method includes steps S101 to S106:
[0148] Step S101: determining whether the input voltage of the external power source is within a preset voltage range.
[0149] In an optional embodiment, the charging module further includes: a charging and discharging electronic module 52. The charging and discharging electronic module 52 is electrically connected to the other end of the corresponding switching submodule 51; the charging and discharging electronic module 52 is used to be electrically connected to a device to be charged, and provide a charging and discharging circuit for the corresponding device to be charged, so that the corresponding device to be charged can be charged or discharged.
[0150] Before determining whether the input voltage of the external power supply is within the preset voltage range, the charging method further includes: determining whether there is a device to be charged in a discharging state. When there is a device to be charged in a discharging state, the OTG (On The Go) mode of the charging device is turned off to end the discharging of the charging device, and step S101 is performed after the discharging of the charging device is ended.
[0151] The determining whether the input voltage of the external power supply is within a preset voltage range includes: determining whether the input voltage of the external power supply is within the preset voltage range when there is no device to be charged in a discharging state.
[0152] Step S102: When the input voltage of the external power source is within the preset voltage range, detecting the state of the charging module.
[0153] The preset voltage range is the voltage range allowed to be input by the charging device. This embodiment does not limit the voltage range allowed to be input by the charging device.
[0154] In an optional embodiment, when the input voltage of the external power source is not within the preset voltage range, the charging device stops charging the device to be charged, and the user is notified to check whether there are abnormalities in the external power source and the charging device. This can avoid accidents caused by the abnormal state of the charging device.
[0155] Step S103: Acquire charging information according to the state of the charging module.
[0156] In an optional embodiment, obtaining charging information according to the state of the charging module includes: judging whether there is a change in the connection state between the charging module and the device to be charged according to the detected connection state between the charging module and the device to be charged, and if so, adjusting the information stored in the second storage column to store the corresponding connection state between the charging module and the device to be charged in the second storage column, and then obtaining the connection state between the charging module and the device to be charged from the second storage column; if not, directly obtaining the connection state between the charging module and the device to be charged from the second storage column.
[0157] Step S104: determining whether the switch submodule 51 is turned on according to the charging information, and turning on the switch submodule 51 electrically connected to the device to be charged when the switch submodule 51 electrically connected to the device to be charged is not turned on, so that the charging interface is connected to the corresponding device to be charged.
[0158] In an optional embodiment, when the switching switch submodule 51 electrically connected to the device to be charged is not turned on, turning on the switching switch submodule 51 electrically connected to the device to be charged so that the charging interface is connected to the corresponding device to be charged, including: determining the switching switch submodule 51 electrically connected to the device to be charged according to the connection state between the charging module and the device to be charged; turning on the switching switch submodule 51 electrically connected to the device to be charged so that the charging interface is connected to the corresponding device to be charged.
[0159] By controlling the connection status between the charging module and the device to be charged, the opening and closing of the corresponding switching submodule 51 can be controlled, so as to avoid the external power supply supplying power to the charging module which is not electrically connected to the device to be charged, causing the effect of electric energy inside the charging module, thereby saving electric energy waste and achieving the energy-saving effect of the charging device.
[0160] In an optional embodiment, the charging information also includes: the remaining power of the device to be charged that is electrically connected to the charging module.
[0161] The method further includes: when the switching switch submodule 51 electrically connected to the device to be charged is not turned on, turning on the switching switch submodule 51 electrically connected to the device to be charged so that the charging interface is connected to the corresponding device to be charged, and further includes: determining, according to the remaining power of the device to be charged electrically connected to the charging module, the device to be charged that needs to be charged among the devices to be charged electrically connected to the charging module; and turning on the switching switch submodule 51 corresponding to the device to be charged that needs to be charged so that the charging interface is connected to the corresponding device to be charged.
[0162] According to the remaining power of the device to be charged electrically connected to the charging module, the corresponding switching submodule 51 is controlled to be turned on and off, which can further prevent the battery pack from being overcharged, thereby extending the service life of the battery pack.
[0163] In an optional embodiment, when the switching switch submodule 51 electrically connected to the device to be charged is not turned on, turning on the switching switch submodule 51 electrically connected to the device to be charged so that the charging interface is connected to the corresponding device to be charged, including: determining the switching switch submodule 51 electrically connected to the device to be charged according to the connection state between the charging module and the device to be charged; turning on the switching switch submodule 51 electrically connected to the device to be charged so that the charging interface is connected to the corresponding device to be charged.
[0164] Step S105: Detecting the operating voltage of the device to be charged that is connected to the charging interface.
[0165] Step S106: According to the working voltage of the device to be charged, the device to be charged is controlled to enter different charging modes for charging.
[0166] The charging information includes: the connection status between the charging module and the device to be charged; the charging mode includes: at least two of a pre-charge mode (pre-charge mode), a constant current charging mode (CC mode) and a constant voltage charging mode (CV mode).
[0167] The charging method can ensure that the external power supply and the charging device are in good electrical connection by judging whether the preset voltage is within the preset voltage range, and the external power supply can provide a stable charging voltage for the charging device, thereby ensuring the safety of charging and preventing the charging device from working abnormally, thereby providing safety protection for the subsequent charging process; by judging whether the switching switch submodule 51 is turned on according to the charging information, the external power supply can be quickly controlled to charge the device to be charged through the corresponding charging module, thereby avoiding other charging modules that are not electrically connected to the device to be charged, including charging modules that are not electrically connected to the device to be charged due to misplugging, consuming electric energy, thereby achieving the energy-saving effect of the charging device; finally, according to the working voltage of the device to be charged, the device to be charged is controlled to enter different charging modes for charging, which can not only improve the safety of charging, but also further improve the charging efficiency and avoid overcharging of the battery pack.
[0168] In an optional embodiment, when the input voltage of the external power supply is within the preset voltage range, after detecting the state of the charging module, the method further includes:
[0169] storing identification characters corresponding to the charging module electrically connected to the device to be charged in a first storage column, and sorting the identification characters in the first storage column;
[0170] Determining the arrangement order of the devices to be charged according to the arrangement order of the identification characters in the first storage column;
[0171] Controlling the devices to be charged to enter different charging modes for charging according to their working voltages includes: detecting the working voltages of the devices to be charged in sequence according to the arrangement order of the devices to be charged, and controlling the devices to be charged to enter different charging modes for charging in sequence according to their working voltages.
[0172] In an optional embodiment, controlling the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged includes:
[0173] Determine the number of charging modules connected to the charging interface and record it as N, where N is a natural number;
[0174] Obtaining Vn when n=1, where Vn is the operating voltage of the nth device to be charged among the devices to be charged that are electrically connected to the charging module;
[0175] Determine whether Vn is less than a first threshold voltage;
[0176] When Vn is less than the first threshold voltage, the device to be charged corresponding to Vn is controlled to enter a pre-charging mode for charging;
[0177] Add 1 to n to update n;
[0178] Determine whether the updated n is less than or equal to N;
[0179] When the updated n is less than or equal to N, executing the step of determining whether Vn is less than the first threshold voltage;
[0180] When the updated n is greater than N, the step of determining whether the input voltage of the external power supply is within the preset voltage range is executed, or the step of obtaining charging information according to the state of the charging module is executed, or the step of determining whether the switching switch submodule 51 is turned on according to the charging information is executed, or the step of obtaining Vn when n=1 is executed;
[0181] When Vn is not less than the first threshold voltage, determining whether Vn is less than or equal to a second threshold voltage, wherein the second threshold voltage is greater than the first threshold voltage;
[0182] When Vn is less than or equal to the second threshold voltage, the device to be charged corresponding to Vn is controlled to enter a constant current charging mode for charging, and the step of adding 1 to n to update n is performed;
[0183] When Vn is greater than the second threshold voltage, determining whether Vn is less than a third threshold voltage, wherein the third threshold voltage is greater than the second threshold voltage;
[0184] When Vn is less than the third threshold voltage, the device to be charged corresponding to Vn is controlled to enter a constant voltage charging mode for charging, and the step of adding 1 to n to update n is performed;
[0185] When Vn is not less than the third threshold voltage, the switch submodule 51 electrically connected to the device to be charged corresponding to Vn is disconnected, and the step of adding 1 to n to update n is performed.
[0186] The specific values of the first threshold voltage, the second threshold voltage and the third threshold voltage are determined by the specifications of the device to be charged, and are not limited in this embodiment.
[0187] By recording the number of charging modules connected to the charging interface and using Vn as the operating voltage of the nth device to be charged among the devices to be charged that are electrically connected to the charging module, the operating voltages of all devices to be charged can be monitored efficiently and orderly; at the same time, each battery pack can independently enter the corresponding charging mode for charging according to its own situation, so that each battery pack can be charged stably and quickly.
[0188] In addition, by judging the size of n and N, the charging system 200 corresponding to the charging method can continuously monitor the working voltage of all devices to be charged, so that during the charging process, the battery pack can be effectively controlled to enter the corresponding charging mode for charging according to the change of its own working voltage, thereby further extending the service life of the battery pack.
[0189] Furthermore, when the updated n is greater than N, executing the step of determining whether the input voltage of the external power supply is within the preset voltage range can not only enable the charging system 200 corresponding to the charging method to continuously monitor the working voltages of all devices to be charged, but also monitor the input voltage of the charging device during the charging process to prevent the charging device from being damaged when an abnormality occurs during the charging process but the charging device is still charged.
[0190] When the updated n is greater than N, the step of obtaining the charging information according to the state of the charging module is executed, or the step of determining whether the switching switch submodule 51 is turned on according to the charging information is executed, so that the charged device to be charged can be updated, so that the external power supply can quickly stop supplying power to the charging module corresponding to the charged device whose operating voltage is not less than the third threshold voltage.
[0191] When the updated n is greater than N, the step of obtaining Vn when n=1 is performed; the charging system 200 corresponding to the charging method can quickly detect the working voltage of the first device to be charged again, thereby improving the efficiency of the cycle detection.
[0192] In an optional embodiment, each charging module corresponds to a unique identification character. The charging method further includes: obtaining the identification character corresponding to the charging module electrically connected to the device to be charged; storing the identification character corresponding to the charging module electrically connected to the device to be charged in a first storage column, and sorting the identification characters in the first storage column; and determining the arrangement order of the devices to be charged according to the arrangement order of the identification characters in the first storage column.
[0193] Controlling the devices to be charged to enter different charging modes for charging according to their working voltages includes: detecting the working voltages of the devices to be charged in sequence according to the arrangement order of the devices to be charged, and controlling the devices to be charged to enter different charging modes for charging in sequence according to their working voltages.
[0194] By setting a set identification character and a first storage column for storing an identification character corresponding to a charging module electrically connected to the device to be charged, the device to be charged can quickly and orderly enter a corresponding charging mode for charging, thereby further avoiding abnormalities in the charging device during the charging process.
[0195] In an optional embodiment, each charging module corresponds to a unique identification character. The charging method further includes: obtaining the identification character of each charging module; storing the identification character of each charging module in a first storage column respectively, and sorting the identification characters in the first storage column; storing the connection status of each charging and discharging module 5 and the battery pack in a second storage column. The connection status of each charging and discharging module 5 and the battery pack corresponds to the corresponding identification character.
[0196] The method of controlling the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged includes: detecting the working voltage of the corresponding device to be charged in sequence according to the information stored in the first storage column and the second storage column, and controlling the device to be charged to enter different charging modes for charging in sequence according to the working voltage of the device to be charged.
[0197] By setting a set identification character, a first storage column for storing the identification character, and a second storage column for storing the connection status of each charging and discharging module 5 and the battery pack, the charging device can stably and orderly control the corresponding charged device to enter the corresponding charging mode for charging, thereby further avoiding abnormalities in the charging device during the charging process.
[0198] In an optional embodiment, the charging method further includes: judging whether there is a change in the connection status between the charging module and the device to be charged based on the detected connection status between the charging module and the device to be charged, and if so, adjusting the information stored in the first storage column and / or the information stored in the second storage column.
[0199] Specifically, when the updated n is greater than N, there is a change in the connection state between the charging module and the device to be charged, including: the device to be charged is unplugged, or the device to be charged fails and cannot be electrically connected to the charging module. When the first storage column is used to store the identification character corresponding to the charging module electrically connected to the device to be charged, the adjusting the information stored in the first storage column includes: clearing the identification character corresponding to the device to be charged that is electrically connected to the device to be charged and stored in the first storage column.
[0200] When the first storage column is used to store the identification characters corresponding to each charging module, the adjustment of the information stored in the first storage column includes: adjusting the information stored in the second storage column to distinguish the charging module corresponding to the unplugged device to be charged from other charging modules electrically connected to the device to be charged; or clearing the identification characters corresponding to the device to be charged that is electrically connected to the device to be charged stored in the first storage column, and clearing the information stored in the second storage column corresponding to the identification characters. In this way, during the charging process, it can prevent the device to be charged from being unable to be electrically connected to the corresponding charging module normally, while the external power supply continues to supply power to the corresponding charging module, and the charging device continues to monitor the corresponding charging module and the device to be charged, thereby not only further improving the safety of charging, but also further reducing unnecessary power consumption and further improving the energy-saving efficiency of the charging device.
[0201] Thirdly, combining Figure 5 Based on the content of the second aspect, this embodiment provides a charging method, which is applied to the multi-battery pack charging and discharging device in the first aspect. In this embodiment, the multi-battery pack charging and discharging device is a power bank containing multiple battery packs.
[0202] The charging method comprises:
[0203] First, after the power bank is plugged into the charger, the MCU determines whether there is a battery pack in the current power bank that is in the OTG discharge state, that is, whether the OTG mode of the battery pack in the current power bank is turned on; if so, the OTG mode is turned off to end the power bank discharge, and proceed to the next step after the power bank discharge is ended; if not, proceed directly to the next step.
[0204] Next, the MCU determines whether the input voltage of the charging device is within the range of Vin1 to Vin2. If not, the charging method is terminated directly, and the charging device is controlled to enter the input protection state and the charging is terminated. If yes, the next step is entered. Among them, Vin1 and Vin2 are the protection points of the input low voltage and the input high voltage preset by the charging device, respectively.
[0205] Then, the MCU detects the total number of battery packs, recorded as N, and marks the battery packs in place, sorts the battery packs in place, and turns on the charge and discharge switching switches Sn corresponding to all the battery packs in place, that is, the switching switch submodule 51, and proceeds to the next step.
[0206] The in-place battery pack is a battery pack electrically connected to a corresponding charging module. Sorting the in-place battery packs includes: storing the identification characters corresponding to the charging modules electrically connected to the in-place battery packs in a first storage column and sorting them. The charging method also includes: determining the arrangement order of the in-place battery packs according to the arrangement order of the identification characters in the first storage column, such as: battery pack 1, battery pack 2, ..., battery pack n, where n is a positive integer.
[0207] Afterwards, the MCU starts to detect the working voltage of battery pack 1, and controls the battery pack to enter the corresponding charging mode for charging according to the working voltage of battery pack 1. Specifically, it is determined whether the working voltage of battery pack 1 is less than the first threshold voltage V1. If so, battery pack 1 enters the pre-charging mode and proceeds to the next step to determine the working voltage of battery pack 2; if not, it continues to determine whether the working voltage of battery pack 1 is greater than or equal to the first threshold voltage V1 and less than or equal to the second threshold voltage V2. If so, battery pack 1 enters the constant current charging mode and proceeds to the next step to determine the working voltage of battery pack 2. If not, it continues to determine whether the working voltage of battery pack 1 is greater than the second threshold voltage and less than the third threshold voltage V3. If so, battery pack 1 enters the constant voltage charging mode and proceeds to the next step to determine the working voltage of battery pack 2. If not, it continues to determine whether the working voltage of battery pack 1 is greater than the third threshold voltage V3. If so, it is determined that battery pack 1 is fully charged, and the charging of battery pack 1 is terminated, and the next step is to determine the working voltage of battery pack 2.
[0208] Finally, the operating voltage of all the battery packs in place is judged in the order of the previous step, and they are made to enter the corresponding charging mode, and then the voltage of each battery pack in place is judged cyclically. When n≤N is judged to be no, a round of judgment and charging mode setting of all the battery packs in place is completed, and then a new round of judgment starts from battery pack 1, and this cycle is repeated until all the batteries in place are charged.
[0209] Fourthly, combining Figure 6The present invention provides a charging system 200, which is applied to any multi-battery charging device with a charging function. In this embodiment, the multi-battery charging device is the multi-battery pack charging and discharging device in the first aspect. The charging interface in the multi-battery charging device is the charging and discharging interface 3 in the multi-battery pack charging and discharging device; the charging module in the multi-battery charging device is the charging and discharging module 5 in the multi-battery pack charging and discharging device; the device to be charged is the battery pack in the multi-battery pack charging and discharging device; the charging system 200 is controlled and implemented by the micro-control submodule 12.
[0210] The charging system 200 comprises:
[0211] The first determination module 201 is configured to determine whether the input voltage of the external power supply is within a preset voltage range;
[0212] The first detection module 202 is configured to detect the state of the charging module when the input voltage of the external power supply is within the preset voltage range;
[0213] The acquisition module 203 is configured to acquire charging information according to the state of the charging module;
[0214] The second judgment module 204 is configured to judge whether the switch submodule 51 is turned on according to the charging information, and turn on the switch submodule 51 electrically connected to the device to be charged when the switch submodule 51 electrically connected to the device to be charged is not turned on, so that the charging interface is connected to the corresponding device to be charged;
[0215] In an optional embodiment, the second determining module 204 includes:
[0216] A first charging determination submodule is configured to determine a switching submodule electrically connected to the device to be charged according to a connection state between the charging module and the device to be charged;
[0217] The first charging start submodule is configured to start the switch submodule electrically connected to the device to be charged, so that the charging interface is connected to the corresponding device to be charged.
[0218] The second detection module 205 is configured to detect the working voltage of the device to be charged that is connected to the charging interface;
[0219] The charging control module 206 is configured to control the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged;
[0220] The charging information includes: the connection status between the charging module and the device to be charged;
[0221] The charging modes include at least two of: a pre-charging mode, a constant current charging mode and a constant voltage charging mode.
[0222] In an optional embodiment, the charging module further includes: a charging and discharging electronic module 52;
[0223] The charging and discharging electronic module 52 is electrically connected to the other end of the corresponding switching submodule 51;
[0224] The charging and discharging electronic module 52 is used to be electrically connected to a device to be charged and provide a charging and discharging circuit for the corresponding device to be charged so that the corresponding device to be charged can be charged or discharged;
[0225] The charging system 200 further includes:
[0226] A third judgment module is configured to judge whether there is a device to be charged in a discharging state before judging whether the input voltage of the external power supply is within a preset voltage range;
[0227] The first determination module 201 is further configured to determine whether the input voltage of the external power supply is within a preset voltage range when there is no device to be charged in a discharging state.
[0228] In an optional embodiment, the second determining module 204 includes:
[0229] A first determination submodule is configured to determine the switch submodule 51 electrically connected to the device to be charged according to the connection state between the charging module and the device to be charged;
[0230] The first opening submodule is configured to open the switch submodule 51 electrically connected to the device to be charged, so that the charging interface is connected to the corresponding device to be charged.
[0231] In an optional embodiment, the charging information further includes: the remaining power of the device to be charged electrically connected to the charging module;
[0232] The second determining module 204 further includes:
[0233] A second determination submodule is configured to determine a device to be charged that needs to be charged among the devices to be charged that are electrically connected to the charging module according to the remaining power of the devices to be charged that are electrically connected to the charging module;
[0234] The second opening submodule is configured to open the switch submodule 51 corresponding to the device to be charged, so that the charging interface is connected to the corresponding device to be charged.
[0235] In an optional embodiment, the charging control module 206 includes:
[0236] A third determination submodule is configured to determine the number of charging modules connected to the charging interface and record it as N, where N is a natural number;
[0237] An acquisition submodule is configured to acquire Vn when n=1, where Vn is the operating voltage of the nth device to be charged among the devices to be charged that are electrically connected to the charging module;
[0238] A first judgment submodule is configured to judge whether Vn is less than a first threshold voltage;
[0239] A first control submodule is configured to control the device to be charged corresponding to Vn to enter a pre-charging mode for charging when Vn is less than a first threshold voltage;
[0240] An update submodule is configured to add 1 to n to update n;
[0241] A second judgment submodule is configured to judge whether the updated n is less than or equal to N;
[0242] A first execution submodule, configured to execute the first judgment submodule when the updated n is less than or equal to N;
[0243] A second execution submodule is configured to execute the first judgment module 201, or execute the acquisition module 203, or execute the second judgment module 204, or execute the acquisition submodule when the updated n is greater than N;
[0244] A third judgment submodule is configured to judge whether Vn is less than or equal to a second threshold voltage when Vn is not less than the first threshold voltage, and the second threshold voltage is greater than the first threshold voltage;
[0245] A second control submodule is configured to control the charged device corresponding to Vn to enter a constant current charging mode for charging when Vn is less than or equal to a second threshold voltage, and execute the update submodule;
[0246] a fourth judgment submodule, configured to judge whether Vn is less than a third threshold voltage when Vn is greater than the second threshold voltage, wherein the third threshold voltage is greater than the second threshold voltage;
[0247] A third control submodule is configured to control the device to be charged corresponding to Vn to enter a constant voltage charging mode for charging when Vn is less than a third threshold voltage, and execute the update submodule;
[0248] The disconnection submodule is configured to disconnect the switch submodule 51 electrically connected to the device to be charged corresponding to Vn when Vn is not less than the third threshold voltage, and execute the update submodule.
[0249] In an optional embodiment, each charging module has a unique identification character. The charging system 200 also includes:
[0250] A second acquisition module 203 is configured to acquire an identification character corresponding to a charging module electrically connected to the device to be charged;
[0251] A first storage module is configured to store identification characters corresponding to the charging module electrically connected to the device to be charged in a first storage column, and to sort the identification characters in the first storage column;
[0252] A determination module, configured to determine an arrangement order of the devices to be charged according to an arrangement order of the identification characters in the first storage column;
[0253] The charging control module 206 is further configured to detect the working voltages of the devices to be charged in sequence according to the arrangement order of the devices to be charged, and control the devices to be charged to enter different charging modes for charging in sequence according to the working voltages of the devices to be charged.
[0254] In an optional embodiment, each charging module corresponds to a unique identification character;
[0255] The system further comprises:
[0256] The third acquisition module 203 is configured to acquire the identification character of each charging module;
[0257] a second storage module configured to store the identification characters of each charging module in the first storage column respectively, and to sort the identification characters in the first storage column;
[0258] A third storage module is configured to store the connection status between each charging and discharging module 5 and the battery pack in the second storage column;
[0259] The connection status of each charging and discharging module 5 and the battery pack corresponds to the corresponding identification character;
[0260] The charging control module 206 is configured to detect the working voltage of the corresponding device to be charged in sequence according to the information stored in the first storage column and the second storage column, and control the device to be charged to enter different charging modes for charging in sequence according to the working voltage of the device to be charged.
[0261] In an optional embodiment, the charging system 200 further includes:
[0262] A fourth judgment module is configured to judge whether there is a change in the connection state between the charging module and the device to be charged according to the detected connection state between the charging module and the device to be charged when the updated n is greater than N;
[0263] The adjustment module is configured to adjust the information stored in the first storage column and / or the information stored in the second storage column when the connection state between the charging module and the device to be charged changes.
[0264] Fifth, combined Figure 7 This embodiment provides a discharge method, which is applied to any multi-battery discharge device with a discharge function. In this embodiment, the multi-battery discharge device is the multi-battery pack charge and discharge device in the first aspect. The discharge interface in the multi-battery discharge device is the charge and discharge interface 3 in the multi-battery pack charge and discharge device; the discharge module in the multi-battery discharge device is the charge and discharge module 5 in the multi-battery pack charge and discharge device; the discharge information is the charge and discharge information in the multi-point battery charge and discharge device; and the discharge method is implemented by the micro-control submodule 12.
[0265] The discharge method includes steps S301 to S304:
[0266] Step S301: Detect the state of the discharge module.
[0267] Step S302: acquiring discharge information according to the state of the discharge module, wherein the discharge information includes: the connection state between the discharge module and the battery pack.
[0268] Step S303: determining a discharge battery pack for discharging in at least one battery pack according to the discharge information, and turning on the switch submodule 51 corresponding to the discharge battery pack to enable the discharge battery pack to discharge.
[0269] Wherein, determining a discharge battery pack for discharge in at least one battery pack according to the discharge information includes: determining a discharge module electrically connected to the battery pack according to the discharge information; and selecting a discharge battery pack that meets the power supply requirements of the power consumption device from the battery pack electrically connected to the discharge module according to the working voltage of the battery pack electrically connected to the discharge module and the power supply requirements of the power consumption device. The power supply requirements of the power consumption device are determined by the specifications of the power consumption device, which are not limited in this embodiment.
[0270] In an optional embodiment, before determining a discharge battery pack for discharging in at least one battery pack according to the discharge information, the discharge method further includes: determining whether the discharge device is in a charging state.
[0271] Determining a discharge battery pack for discharging in at least one battery pack according to the discharge information includes: when the discharge device is not in a charging state, determining a discharge battery pack for discharging in at least one battery pack according to the discharge information.
[0272] By judging whether the discharge device is in a charging state, it is possible to avoid the phenomenon that the battery pack in the discharge device discharges the electrical equipment when it is in a charging state, thereby extending the service life of the battery pack.
[0273] In an optional embodiment, determining whether the discharge device is in a charging state includes: determining whether there is an input voltage at the discharge interface; when there is an input voltage at the discharge interface, determining whether the OTG mode of the discharge device is turned on, and if so, the discharge device is not in a charging state.
[0274] Step S304: Determine whether the discharge battery pack needs to be replaced to continue discharging. If so, replace the discharge battery pack to continue discharging until there is no discharge battery pack in the at least one battery pack, or until the discharge is completed, and stop the discharge device from discharging.
[0275] The discharge method can quickly identify the discharge module electrically connected to the battery pack among multiple discharge modules by determining the state of the discharge module, thereby facilitating the battery pack to quickly and efficiently charge the electrical equipment through the corresponding discharge module; and by determining the discharge battery pack, the discharge module electrically connected to the battery pack can automatically charge the electrical equipment quickly, stably and orderly, which not only further improves the efficiency of charging the electrical equipment, but also avoids the occurrence of over-discharge of the battery pack, thereby improving the safety of the discharge device.
[0276] In an optional embodiment, the discharging method further includes:
[0277] Determine the number of discharge modules electrically connected to the battery pack according to the discharge information, and record it as R, where R is a natural number;
[0278] When the discharge device is not in a charging state, determining a discharge battery pack for charging in at least one battery pack, and starting the discharge battery pack for discharging, comprises:
[0279] When the OTG mode of the discharge device is turned on, or when there is no input voltage at the discharge interface, let n=1, and determine whether the operating voltage of battery pack n is greater than or equal to a fourth threshold voltage, and the battery pack n is the nth discharging battery pack among the at least one battery pack;
[0280] When the operating voltage of the battery pack n is greater than or equal to the fourth threshold voltage, the switch submodule 51 corresponding to the battery pack n is turned on, and the other switch submodules 51 are turned off;
[0281] Determining whether the operating current of the battery pack n is less than or equal to a threshold current;
[0282] When the operating current of the battery pack n is greater than the threshold current, determining whether the operating voltage of the battery pack n is greater than or equal to a fifth threshold voltage, wherein the fifth threshold voltage includes the fourth threshold voltage;
[0283] When the operating voltage of the battery pack n is less than the fifth threshold voltage, adding 1 to n to update n;
[0284] Determine whether the updated n is less than or equal to R, and if so, perform the step of determining whether the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage;
[0285] When the updated n is greater than R, or when the operating current of the battery pack n is less than or equal to a threshold current, turning off the discharge device;
[0286] When the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage, determining whether the switch submodule 51 corresponding to the battery pack n is turned on, if so, executing the step of determining whether the operating current of the battery pack n is less than or equal to the threshold current, if not, executing the step of turning on the switch submodule 51 corresponding to the battery pack n and turning off other switch submodules 51;
[0287] When the operating voltage of the battery pack n is less than the fourth threshold voltage, the step of adding 1 to n to update n is performed.
[0288] The magnitudes of the threshold current, the fourth threshold voltage and the fifth threshold voltage are determined by the specifications of the battery pack. In this embodiment, the fifth threshold voltage is the fourth threshold voltage, and this embodiment does not limit the magnitudes of the threshold current and the fourth threshold voltage.
[0289] By comparing the operating current of battery pack n with the threshold current, it is possible to determine whether the output of the discharge device is loaded. That is, when the discharge current of battery pack n is less than the threshold current, the control module 1 determines that the output of the discharge device is unloaded, thereby shutting down the output of the discharge device to reduce the loss of the battery pack.
[0290] By comparing the operating voltage of the battery pack n with the fifth threshold voltage, the over-discharge of the battery pack n can be prevented, thereby ensuring the service life of the battery pack, preventing the occurrence of safety accidents, and further improving the safety of the discharge device.
[0291] In addition, when it is determined that the updated n is less than or equal to R, the step of determining whether the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage is performed. In this way, after the discharge battery pack is replaced, the operating voltage of the replaced discharge battery pack can be determined. When the requirements are not met, other discharge battery packs can be quickly replaced without turning on the switching switch submodule 51 corresponding to the replaced battery pack and determining whether the operating current of the replaced discharge battery pack is less than or equal to the threshold current. This not only saves the power consumption of the discharge device, but also improves the discharge efficiency of the discharge device.
[0292] In an optional embodiment, each discharge module is provided with a unique identification character. The obtaining of discharge information according to the state of the discharge module includes: determining whether there is a discharge module electrically connected to the battery pack; if there is a discharge module electrically connected to the battery pack, storing the identification character corresponding to the discharge module electrically connected to the battery pack in a control list; and determining the discharge module electrically connected to the battery pack according to the identification character stored in the control list.
[0293] The determining the number of discharge modules electrically connected to the battery pack according to the discharge information includes: determining the number of discharge modules electrically connected to the battery pack according to the number of identification characters stored in the control list.
[0294] By storing the identification characters corresponding to the discharge modules electrically connected to the battery pack in the control list, it is not only convenient for the discharge device to identify the battery packs electrically connected to different discharge modules, but also enables the discharge device to control the discharge of the battery pack in a stable and orderly manner, which not only further improves the efficiency of charging the electrical equipment, but also avoids the occurrence of over-discharge of the battery pack, thereby improving the safety of the discharge device.
[0295] Sixth, combined with Figure 8 Based on the fifth aspect, this embodiment provides a discharge method, which is applied to the multi-battery pack charge and discharge device in the first aspect. In this embodiment, the multi-battery pack charge and discharge device is a power bank including multiple battery packs.
[0296] The discharge method comprises:
[0297] First, by receiving the discharge trigger signal sent by pressing the discharge switch 2, the discharge device is ready to enter the discharge state.
[0298] Next, determine whether there is voltage at the input of the discharge device. If so, continue to determine whether all the discharge modules are in OTG mode. If not, it proves that the input voltage of the discharge device exists and the discharge device is in a charging state. In this case, the discharge device cannot be discharged through the OTG mode, and the discharge is terminated. If it is in OTG mode, it means that the discharge device is currently in a discharging state, and the discharge method proceeds to the next step to determine the working voltage of the battery pack. If there is no voltage at the input of the discharge device, proceed to the next step to determine the voltage of the battery pack. Before determining the voltage of the battery pack, it is necessary to determine the number of battery packs electrically connected to the discharge module and sort the battery packs electrically connected to the discharge module so as to control the orderly discharge of the battery packs electrically connected to the discharge module.
[0299] Then, determine whether the operating voltage V of battery pack 1 is greater than the fourth threshold voltage V0. If so, control battery pack 1 to discharge, specifically by turning on the switching switch submodule 51S1 corresponding to battery pack 1 and turning off other switching switch submodules 51; if not, determine whether the operating voltage V of battery pack 2 is greater than the fourth threshold voltage V0. If so, control battery pack 2 to discharge, specifically by turning on the switching switch submodule 51S2 corresponding to battery pack 2 and turning off other switching switches.
[0300] Finally, it is determined whether the operating current I of battery pack n is less than or equal to the threshold current I1. If not, the next step is to continue to determine the operating voltage of battery pack n+1 and follow the process of the above steps until the last battery pack is discharged and the discharge is terminated. If the operating current I of battery pack n is less than or equal to the threshold current I1, the control module 1 confirms that the output of the discharge device is unloaded and controls the output of the discharge device to be turned off to reduce the loss of the battery pack.
[0301] The method further comprises: determining the arrangement order of the battery packs according to the arrangement order of the identification characters in the first storage column, such as: battery pack 1, battery pack 2, ..., battery pack n, where n is a positive integer.
[0302] Seventh, combined with Fig. 9 This embodiment provides a discharge system 400, which is applied to any multi-battery charging device with a discharge function. In this embodiment, the multi-battery charging device is the multi-battery pack charging and discharging device in the first aspect. The discharge interface in the multi-battery discharge device is the charging and discharging interface 3 in the multi-battery pack charging and discharging device; the discharge module in the multi-battery discharge device is the charging and discharging module 5 in the multi-battery pack charging and discharging device; the discharge information is the charging and discharging information in the multi-point battery charging and discharging device; and the discharge method is controlled and implemented by the micro-control submodule 12.
[0303] The discharge system 400 includes:
[0304] A discharge detection module 401 is configured to detect a state of a discharge module;
[0305] The discharge acquisition module 402 is configured to acquire discharge information according to the state of the discharge module, wherein the discharge information includes: the connection state between the discharge module and the battery pack;
[0306] a discharge determination module 403, configured to determine a discharge battery pack for discharging in at least one battery pack according to the discharge information, and turn on the switch submodule 51 corresponding to the discharge battery pack to enable the discharge battery pack to discharge;
[0307] A first discharge determination module 404 is configured to determine whether a discharge battery pack needs to be replaced to continue discharge;
[0308] The discharge replacement module 405 is configured to replace the discharge battery pack to continue discharging when it is necessary to replace the discharge battery pack to continue discharging, until there is no discharge battery pack in the at least one battery pack, or until the discharge is completed, and stop the discharge device from discharging.
[0309] The discharge determination module 403 includes: a discharge information determination submodule, configured to determine a discharge module electrically connected to the battery pack according to the discharge information; and a selection submodule, configured to select a discharge battery pack that meets the power supply requirements of the electrical equipment from the battery packs electrically connected to the discharge module according to the working voltage of the battery pack electrically connected to the discharge module and the power supply requirements of the electrical equipment.
[0310] In an optional embodiment, the discharge system 400 further includes:
[0311] A second discharge determination module is configured to determine whether the discharge device is in a charging state;
[0312] The discharge determination module 403 is further configured to determine a discharge battery pack for discharging in at least one battery pack according to the discharge information when the discharge device is not in a charging state.
[0313] In an optional embodiment, the second discharge determination module includes:
[0314] A first discharge determination submodule is configured to determine whether there is an input voltage on the discharge interface;
[0315] The second discharge judgment submodule is configured to judge whether the OTG mode of the discharge device is turned on when there is an input voltage at the discharge interface. If so, the discharge device is not in a charging state.
[0316] In an optional embodiment, the discharge system 400 further includes:
[0317] a discharge recording module, configured to determine the number of discharge modules electrically connected to the battery pack according to the discharge information, and record the number as R, where R is a natural number;
[0318] The discharge confirmation module comprises:
[0319] A third discharge judgment submodule is configured to, when the OTG mode of the discharge device is turned on, or when there is no input voltage at the discharge interface, set n=1 to judge whether the operating voltage of battery pack n is greater than or equal to a fourth threshold voltage, and the battery pack n is the nth discharging battery pack in the at least one battery pack;
[0320] The first discharge execution submodule is configured to execute the discharge switch control submodule when the operating voltage of the battery pack n is greater than or equal to the fourth threshold voltage.
[0321] The discharge switch control submodule is configured to turn on the switch submodule 51 corresponding to the battery pack n and turn off other switch submodules 51;
[0322] a fourth discharge determination submodule, configured to determine whether the operating current of the battery pack n is less than or equal to a threshold current;
[0323] A second discharge execution submodule, configured to execute a fifth discharge determination submodule when the operating current of the battery pack n is greater than a threshold current;
[0324] The fifth discharge judgment submodule is configured to judge whether the operating voltage of the battery pack n is greater than or equal to a fifth threshold voltage, wherein the fifth threshold voltage includes the fourth threshold voltage;
[0325] A third discharge execution submodule is configured to add 1 to n to update n when the operating voltage of the battery pack n is less than a fifth threshold voltage;
[0326] The discharge update submodule is configured to add 1 to n to update n;
[0327] A sixth discharge determination submodule is configured to determine whether the updated n is less than or equal to R;
[0328] a fourth discharge execution submodule, configured to execute the fifth discharge determination submodule when the updated n is less than or equal to R;
[0329] a discharge shut-off submodule, configured to shut down the discharge device when the updated n is greater than R, or when the operating current of the battery pack n is less than or equal to a threshold current;
[0330] a seventh discharge determination submodule, configured to determine whether the switch submodule 51 corresponding to the battery pack n is turned on when the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage;
[0331] a fifth discharge execution submodule, configured to execute the fourth discharge determination submodule when the switch submodule 51 corresponding to the battery pack n is turned on;
[0332] a sixth discharge execution submodule, configured to execute the discharge switch control submodule when the switch submodule 51 corresponding to the battery pack n is not turned on;
[0333] The seventh discharge execution submodule is configured to execute the discharge refresh submodule when the operating voltage of the battery pack n is less than a fourth threshold voltage.
[0334] In an optional embodiment, each discharge module is provided with a unique identification character.
[0335] The discharge acquisition module 402 includes:
[0336] An eighth discharge determination submodule is configured to determine whether there is a discharge module electrically connected to the battery pack;
[0337] a discharge storage submodule configured to store an identification character corresponding to the discharge module electrically connected to the battery pack in a control list when there is a discharge module electrically connected to the battery pack;
[0338] a discharge determination submodule, configured to determine a discharge module electrically connected to the battery pack according to the identification characters stored in the control list;
[0339] The discharge recording module is further configured to determine the number of discharge modules electrically connected to the battery pack according to the number of identification characters stored in the control list.
[0340] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention 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 discharge method, characterized in that: The discharge method is applied to a discharge device, which includes: a control module, a discharge interface and at least one discharge module; The discharge interface is electrically connected to at least one discharge module; Each discharge module is used to be electrically connected to a battery pack so that the battery pack charges the electrical device through the corresponding discharge module; The control module is used to control the discharge module when the discharge interface is connected to the power-consuming device, so that the battery pack charges the power-consuming device; The discharge module includes: a switch submodule, one end of which is electrically connected to the control module, and the switch submodule is used to control the connection and disconnection between the corresponding battery pack and the discharge interface; The discharge method comprises: Detect the status of the discharge module; Acquire discharge information according to the state of the discharge module, wherein the discharge information includes: a connection state between the discharge module and the battery pack; Determine a discharge battery pack for discharging in at least one battery pack according to the discharge information, and turn on the switch submodule corresponding to the discharge battery pack to enable the discharge battery pack to discharge; Determine the number of discharge modules electrically connected to the battery pack according to the discharge information, and record it as R, where R is a natural number; The step of determining a discharge battery pack for discharging in at least one battery pack according to the discharge information, and turning on a switch submodule corresponding to the discharge battery pack, comprises: when the discharge device is not in a charging state, determining a discharge battery pack for discharging in at least one battery pack according to the discharge information, and turning on a switch submodule corresponding to the discharge battery pack, so that the discharge battery pack is discharged; The method comprises: when the OTG mode of the discharge device is turned on, or when there is no input voltage at the discharge interface, setting n=1, judging whether the operating voltage of battery pack n is greater than or equal to a fourth threshold voltage, and the battery pack n is the nth discharging battery pack in the at least one battery pack for discharging; when the operating voltage of the battery pack n is greater than or equal to the fourth threshold voltage, turning on the switching switch submodule corresponding to the battery pack n, and turning off other switching switch submodules; judging whether the operating current of the battery pack n is less than or equal to the threshold current; and judging whether the operating voltage of the battery pack n is greater than the threshold current, judging whether the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage. The fifth threshold voltage includes the fourth threshold voltage; when the operating voltage of the battery pack n is less than the fifth threshold voltage, n is added by 1 to update n; it is determined whether the updated n is less than or equal to R, and if so, the step of determining whether the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage is performed; when the updated n is greater than R, or when the operating current of the battery pack n is less than or equal to the threshold current, the discharge device is turned off; when the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage, it is determined whether the switching switch submodule corresponding to the battery pack n is turned on, and if so, the step of determining whether the operating current of the battery pack n is less than or equal to the threshold current is performed, and if not, the step of turning on the switching switch submodule corresponding to the battery pack n and turning off other switching switch submodules is performed; when the operating voltage of the battery pack n is less than the fourth threshold voltage, the step of adding 1 to n is performed; Determine whether the discharge battery pack needs to be replaced to continue discharging, and if so, replace the discharge battery pack to continue discharging until there is no discharge battery pack in the at least one battery pack, or until the discharge is completed, and stop the discharge device from discharging.
2. The discharge method according to claim 1, characterized in that: The discharge module also includes: a charge and discharge electronic module; The charging and discharging electronic module is electrically connected to the other end of the corresponding switching submodule; The charging and discharging electronic module is used to be electrically connected to a battery pack and provide a charging and discharging circuit for the corresponding battery pack so that the corresponding battery pack can be charged or discharged; The discharge method further comprises: It is determined whether the discharge device is in a charging state.
3. The discharge method according to claim 2, characterized in that: The determining whether the discharge device is in a charging state comprises: Determine whether there is an input voltage at the discharge interface; When there is an input voltage at the discharge interface, it is determined whether the OTG mode of the discharge device is turned on. If so, the discharge device is not in a charging state.
4. The discharge method according to claim 1, characterized in that: Each discharge module is provided with a unique identification character; The obtaining of discharge information according to the state of the discharge module includes: Determine whether there is a discharge module electrically connected to the battery pack; When there is a discharge module electrically connected to the battery pack, storing an identification character corresponding to the discharge module electrically connected to the battery pack in the control list; Determining a discharge module electrically connected to the battery pack according to the identification characters stored in the control list; The determining the number of discharge modules electrically connected to the battery pack according to the discharge information includes: The number of discharge modules electrically connected to the battery pack is determined according to the number of identification characters stored in the control list.
5. A discharge system, characterized in that: The discharge system is applied to a discharge device, and the discharge device comprises: a control module, a discharge interface and at least one discharge module; The discharge interface is electrically connected to at least one discharge module; Each discharge module is used to be electrically connected to a battery pack so that the battery pack charges the electrical device through the corresponding discharge module; The control module is used to control the discharge module when the discharge interface is connected to the power-consuming device, so that the battery pack charges the power-consuming device; The discharge module includes: a switch submodule, one end of which is electrically connected to the control module, and the switch submodule is used to control the connection and disconnection between the corresponding battery pack and the discharge interface; The discharge system comprises: a discharge detection module, configured to detect a state of the discharge module; A discharge acquisition module is configured to acquire discharge information according to a state of the discharge module, wherein the discharge information includes: a connection state between the discharge module and the battery pack; a discharge recording module, configured to determine the number of discharge modules electrically connected to the battery pack according to the discharge information, and record the number as R, where R is a natural number; a discharge determination module, configured to determine a discharge battery pack for discharging in at least one battery pack according to the discharge information, and turn on the switch submodule corresponding to the discharge battery pack to enable the discharge battery pack to discharge; The discharge determination module comprises: A third discharge judgment submodule is configured to, when the OTG mode of the discharge device is turned on, or when there is no input voltage at the discharge interface, set n=1 to judge whether the operating voltage of battery pack n is greater than or equal to a fourth threshold voltage, and the battery pack n is the nth discharging battery pack in the at least one battery pack; A first discharge execution submodule, configured to execute a discharge switch control submodule when the operating voltage of the battery pack n is greater than or equal to a fourth threshold voltage; The discharge switch control submodule is configured to turn on the switch submodule corresponding to the battery pack n and turn off other switch submodules; a fourth discharge determination submodule, configured to determine whether the operating current of the battery pack n is less than or equal to a threshold current; A second discharge execution submodule, configured to execute a fifth discharge determination submodule when the operating current of the battery pack n is greater than a threshold current; The fifth discharge judgment submodule is configured to judge whether the operating voltage of the battery pack n is greater than or equal to a fifth threshold voltage, wherein the fifth threshold voltage includes the fourth threshold voltage; A third discharge execution submodule is configured to add 1 to n to update n when the operating voltage of the battery pack n is less than a fifth threshold voltage; A sixth discharge determination submodule is configured to determine whether the updated n is less than or equal to R; a fourth discharge execution submodule, configured to execute the fifth discharge determination submodule when the updated n is less than or equal to R; a discharge shut-off submodule, configured to shut down the discharge device when the updated n is greater than R, or when the operating current of the battery pack n is less than or equal to a threshold current; a seventh discharge judgment submodule, configured to judge whether the switch submodule corresponding to the battery pack n is turned on when the operating voltage of the battery pack n is greater than or equal to the fifth threshold voltage; a fifth discharge execution submodule, configured to execute the fourth discharge determination submodule when the switch submodule corresponding to the battery pack n is turned on; a sixth discharge execution submodule, configured to execute the discharge switch control submodule when the switch submodule corresponding to the battery pack n is not turned on; a seventh discharge execution submodule, configured to execute the operation of adding 1 to n in the third discharge execution submodule and execute the sixth discharge determination submodule when the operating voltage of the battery pack n is less than the fourth threshold voltage; A first discharge determination module is configured to determine whether a discharge battery pack needs to be replaced to continue discharge; The discharge replacement module is configured to replace the discharge battery pack to continue discharging when the discharge battery pack needs to be replaced to continue discharging, until there is no discharge battery pack in at least one of the battery packs, or until the discharge is completed, and then stop the discharge device from discharging.
6. The discharge system according to claim 5, characterized in that: The discharge module also includes: a charge and discharge electronic module; The charging and discharging electronic module is electrically connected to the other end of the corresponding switching submodule; The charging and discharging electronic module is used to be electrically connected to a battery pack and provide a charging and discharging circuit for the corresponding battery pack so that the corresponding battery pack can be charged or discharged; The discharge system further comprises: The second discharge determination module is configured to determine whether the discharge device is in a charging state.
7. The discharge system according to claim 6, characterized in that: The second discharge determination module includes: A first discharge determination submodule is configured to determine whether there is an input voltage on the discharge interface; The second discharge judgment submodule is configured to judge whether the OTG mode of the discharge device is turned on when there is an input voltage at the discharge interface. If so, the discharge device is not in a charging state.
8. The discharge system according to claim 5, characterized in that: Each discharge module is provided with a unique identification character; The discharge acquisition module comprises: An eighth discharge determination submodule is configured to determine whether there is a discharge module electrically connected to the battery pack; a discharge storage submodule configured to store an identification character corresponding to the discharge module electrically connected to the battery pack in a control list when there is a discharge module electrically connected to the battery pack; a discharge determination submodule, configured to determine a discharge module electrically connected to the battery pack according to the identification characters stored in the control list; The discharge recording module is further configured to determine the number of discharge modules electrically connected to the battery pack according to the number of identification characters stored in the control list.
