CN113541259A - Charging method and system - Google Patents

Charging method and system Download PDF

Info

Publication number
CN113541259A
CN113541259A CN202110828862.3A CN202110828862A CN113541259A CN 113541259 A CN113541259 A CN 113541259A CN 202110828862 A CN202110828862 A CN 202110828862A CN 113541259 A CN113541259 A CN 113541259A
Authority
CN
China
Prior art keywords
charging
charged
module
electrically connected
charge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110828862.3A
Other languages
Chinese (zh)
Other versions
CN113541259B (en
Inventor
李雷妮
付师福
刘恩锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yanxiang Smart Iot Technology Co ltd
Original Assignee
Yanxiang Smart Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yanxiang Smart Iot Technology Co ltd filed Critical Yanxiang Smart Iot Technology Co ltd
Priority to CN202110828862.3A priority Critical patent/CN113541259B/en
Publication of CN113541259A publication Critical patent/CN113541259A/en
Application granted granted Critical
Publication of CN113541259B publication Critical patent/CN113541259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00302Overcharge protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The invention provides a charging method and a charging system, wherein the method is applied to a charging device, and the charging method comprises the following steps: judging whether the input voltage of the external power supply is within a preset voltage range; when the input voltage of the external power supply is within the preset voltage range, detecting the state of the charging module; acquiring charging information according to the state of the charging module; judging whether the change-over switch submodule is started according to the charging information, and starting the change-over switch submodule electrically connected with the device to be charged when the change-over switch submodule electrically connected with the device to be charged is not started so as to enable the charging interface to be conducted with the corresponding device to be charged; detecting the working voltage of a device to be charged which is communicated with the charging interface; and controlling the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged. The invention can improve the safety of battery charging.

Description

Charging method and system
Technical Field
The invention relates to the technical field of power supply charging management, in particular to a charging method and a charging system.
Background
With the rapid development of science and technology, the living standard of people is greatly improved. Electric equipment has become an indispensable thing in people's daily life.
Although some charging devices can charge a plurality of electric devices simultaneously in daily life, the charging device is low in safety and low in charging efficiency, and cannot monitor the charging states of the plurality of electric devices in real time, for example, effective safety measures cannot be adopted when a battery pack is overcharged, the battery pack is pulled out by mistake or the charging device works abnormally.
Disclosure of Invention
In order to solve the problems, the charging method and the charging system provided by the invention control the charging module through the input voltage, the charging information and the working voltage of the device to be charged, so that the charging interface can safely and efficiently charge the corresponding device to be charged.
In a first aspect, the present invention provides a charging method, which is applied to a charging device, the charging device including: the charging system comprises a control module, a charging interface and at least two charging modules;
the charging interface is electrically connected with the charging module;
each charging module is used for being electrically connected with a device to be charged so as to provide electric energy for the device to be charged;
the control module is used for controlling the charging module when the charging interface is connected with an external power supply so that the external power supply can charge the corresponding device to be charged;
the charging module includes: one end of the change-over switch submodule is electrically connected with the control module, and the change-over switch submodule is used for controlling the on-off of a corresponding device to be charged and the charging interface;
the charging method comprises the following steps:
judging whether the input voltage of the external power supply is within a preset voltage range;
when the input voltage of the external power supply is within the preset voltage range, detecting the state of the charging module;
according to the state of the charging module, acquiring charging information, wherein the charging information comprises: the connection state of the charging module and the device to be charged;
judging whether the change-over switch submodule is started according to the charging information, and starting the change-over switch submodule electrically connected with the device to be charged when the change-over switch submodule electrically connected with the device to be charged is not started so as to enable the charging interface to be conducted with the corresponding device to be charged;
detecting the working voltage of a device to be charged which is communicated with the charging interface;
controlling the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged, wherein the charging modes comprise: at least two of a pre-charge mode, a constant current charge mode, and a constant voltage charge mode.
Optionally, the charging module further includes: a charge and discharge submodule;
the charge and discharge sub-module is electrically connected with the other end of the corresponding change-over switch sub-module;
the charging and discharging submodule is used for being electrically connected with a device to be charged and providing a charging and discharging circuit for the corresponding device to be charged so as to charge or discharge the corresponding device to be charged;
before the determining whether the input voltage of the external power supply is within the preset voltage range, the method further includes:
judging whether a device to be charged is in a discharging state or not;
whether the input voltage of the external power supply is within the preset voltage range is judged, and the method comprises the following steps: and when the device to be charged is not in the discharging state, judging whether the input voltage of the external power supply is within a preset voltage range.
Optionally, the charging information further includes: the residual electric quantity of the device to be charged is electrically connected with the charging module;
when the change over switch submodule that is connected with the device electricity that waits to charge is not opened, open the change over switch submodule that is connected with the device electricity that waits to charge to make the interface that charges and corresponding device electricity that waits to charge switch on, still include:
determining a device to be charged which needs to be charged in the devices to be charged electrically connected with the charging module according to the residual electric quantity of the devices to be charged electrically connected with the charging module;
and opening a change-over switch submodule corresponding to the device to be charged which needs to be charged so as to enable the charging interface to be communicated with the corresponding device to be charged.
Optionally, each charging module corresponds to a unique identification character;
the charging method further comprises:
acquiring an identification character corresponding to a charging module electrically connected with a device to be charged;
storing identification characters corresponding to a charging module electrically connected with a device to be charged in a first storage column, and sequencing the identification characters in the first storage column;
determining the arrangement sequence of the devices to be charged according to the arrangement sequence of the identification characters in the first storage column;
the control is waited to charge the device and is got into different charge modes and charge according to waiting the operating voltage of device, includes:
and sequentially detecting the working voltage of the devices to be charged according to the arrangement sequence of the devices to be charged, and sequentially controlling the devices to be charged to enter different charging modes for charging according to the working voltage of the devices to be charged.
Optionally, the controlling the device to be charged to enter different charging modes for charging according to the operating voltage of the device to be charged includes:
determining the number of charging modules communicated with the charging interfaces, and recording the number as N, wherein N is a natural number;
acquiring Vn when n is 1, wherein the Vn is the working voltage of the nth device to be charged in the devices to be charged electrically connected with the charging module;
judging whether Vn is smaller than a first threshold voltage or not;
when Vn is smaller than a first threshold voltage, controlling a device to be charged corresponding to Vn to enter a pre-charging mode for charging;
adding 1 to n to update n;
judging whether the updated N is less than or equal to N;
when the updated N is less than or equal to N, executing the step of judging whether the Vn is less than a first threshold voltage;
when the updated N is larger than N, executing the step of judging whether the input voltage of the external power supply is within a preset voltage range, or executing the step of acquiring charging information according to the state of the charging module, or executing the step of judging whether a switch submodule is started according to the charging information, or executing the step of acquiring Vn when N is 1;
when Vn is not less than a first threshold voltage, judging whether Vn is less than or equal to a second threshold voltage, wherein the second threshold voltage is greater than the first threshold voltage;
when Vn is smaller than or equal to a second threshold voltage, controlling a device to be charged corresponding to Vn to enter a constant current charging mode for charging, and executing the step of adding 1 to n to update n;
when Vn is greater than a second threshold voltage, judging whether Vn is less than a third threshold voltage, wherein the third threshold voltage is greater than the second threshold voltage;
when Vn is smaller than a third threshold voltage, controlling a device to be charged corresponding to Vn to enter a constant voltage charging mode for charging, and executing the step of adding 1 to n to update n;
when Vn is not less than the third threshold voltage, disconnecting a switch submodule electrically connected with a device to be charged corresponding to Vn, and executing the step of adding 1 to n to update n;
each charging module corresponds to a unique identification character;
the charging method further comprises:
acquiring an identification character of each charging module;
respectively storing the identification characters of each charging module in a first storage column, and sequencing the identification characters in the first storage column;
storing the connection state of each charge-discharge module and the battery pack in a second storage column;
the connection state of each charge-discharge module and each battery pack corresponds to the corresponding identification character;
the control is waited to charge the device and is got into different charge modes and charge according to waiting the operating voltage of device, includes:
sequentially detecting the working voltage of the corresponding devices to be charged according to the information stored in the first storage column and the second storage column, and sequentially controlling the devices to be charged to enter different charging modes for charging according to the working voltage of the devices to be charged;
the charging method further comprises: and when the updated N is larger than N, judging whether the connection state of the charging module and the device to be charged is changed or not according to the detected connection state of the charging module and the device to be charged, and if so, adjusting the information stored in the first storage column or/and the information stored in the second storage column.
In a second aspect, the present invention provides a charging system, which is applied to a charging device, the charging device including: the charging system comprises a control module, a charging interface and at least two charging modules;
the charging interface is electrically connected with the charging module;
each charging module is used for being electrically connected with a device to be charged so as to provide electric energy for the device to be charged;
the control module is used for controlling the charging module when the charging interface is connected with an external power supply so that the external power supply can charge the corresponding device to be charged;
the charging module includes: a switch submodule;
one end of the switch submodule is electrically connected with the control module;
the switching switch submodule is used for controlling the on-off of a corresponding device to be charged and the charging interface;
the charging system includes:
the first judgment module is configured to judge whether the input voltage of the external power supply is within a preset voltage range;
a first detection module configured to detect a state of the charging module when an input voltage of the external power supply is within the preset voltage range;
a first acquisition module configured to acquire charging information according to a state of the charging module;
the second judgment module is configured to judge whether the switch submodule is started according to the charging information, and when the switch submodule electrically connected with the device to be charged is not started, the switch submodule electrically connected with the device to be charged is started so that the charging interface is conducted with the corresponding device to be charged;
the second detection module is configured to detect the working voltage of the device to be charged which is conducted with the charging interface;
the charging control module 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;
the charging information includes: the connection state of the charging module and the device to be charged;
the charging mode includes: at least two of a pre-charge mode, a constant current charge mode, and a constant voltage charge mode.
According to the charging method and the charging system provided by the embodiment of the invention, the external power supply and the charging device can be ensured to be in good electric connection state by judging whether the preset voltage is within the preset voltage range, and the external power supply can provide stable charging voltage for the charging device, so that the charging safety can be ensured, the charging device is prevented from working abnormally, and further, the safety guarantee is provided for the subsequent charging process; whether the switch submodule is switched on or not is judged according to the charging information, so that an external power supply can be rapidly controlled to charge a device to be charged through a corresponding charging module, the charging modules of other devices to be charged which are not electrically connected are avoided, the charging modules comprise the charging modules which are not electrically connected with the device to be charged due to mistaken pulling, electric energy is consumed, and the energy-saving effect of the charging device is achieved; and finally, controlling the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged, so that the charging safety can be improved, the charging efficiency can be further improved, and the over-charging of a battery pack is avoided.
Drawings
Fig. 1 is a schematic structural view of a multi-pack charge/discharge device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a multi-battery-pack charging and discharging device embodying an internal connection relationship and a charging and discharging flow chart of the multi-battery-pack charging and discharging device according to an embodiment of the present application;
fig. 3 is a circuit diagram of a charge-discharge module according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart diagram of a charging method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of a charging method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a charging system according to an embodiment of the present application;
FIG. 7 is a schematic flow chart diagram of a discharging method according to an embodiment of the present application;
FIG. 8 is a schematic flow chart diagram of a discharge method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a discharge method according to an embodiment of the present application.
Reference numerals
1. A control module; 11. a voltage reduction circuit sub-module; 12. a micro-control submodule; 2. a discharge switch; 3. a charge-discharge interface; 4. an electric quantity display module; 5. a charge-discharge module; 51. a switch submodule; 511. a switch chip; d1, a first diode; d2, a second diode; q1, a first control switch; q2, a second control switch; r1, a first fixed resistor; 52. a charge and discharge submodule; 521. a charge-discharge chip; q3, a third control switch; q4, a fourth control switch; q5, a fifth control switch; q6, a sixth control switch; l1, inductance; r2, a second fixed resistance; r3, third fixed resistance; r4, fourth fixed resistance; r5, fifth fixed resistance; 6. a control body.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that, in the present invention, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
In a first aspect, with reference to fig. 1 and fig. 2, this embodiment provides a multi-battery pack charging and discharging device, including: the battery pack comprises a control main body 6, at least one battery pack and at least one charge-discharge module 5. The control main body 6 includes: the device comprises a control module 1, a discharge switch 2, a charge and discharge interface 3 and an electric quantity display module 4. The number of the battery packs is less than or equal to the number of the charge-discharge modules 5. In an alternative embodiment, the multi-pack charging and discharging device includes: the battery pack comprises a control main body 6, at least one battery pack and at least two charge-discharge modules 5.
In the embodiment, the multi-battery pack charging and discharging device can be compatible with a common input adapter and a high-voltage USB PD input adapter to charge the battery; the number of the control module 1, the discharge switch 2, the charge and discharge interface 3 and the electric quantity display module 4 is one. The battery package with charge and discharge module 5's quantity is four, and every battery package can dismantle fixed connection with one and only charge and discharge module 5 respectively. Each charging module 5 is detachably and fixedly connected with the control main body 6. The discharging switch 2 is electrically connected with the control module 1, the charging and discharging interface 3 is electrically connected with the charging and discharging module 5, and each battery pack is electrically connected with the control module 1 through one charging and discharging module 5.
Wherein, the battery package can dismantle the mode of fixed connection with charge-discharge module 5 to and the mode of the dismantled fixed connection of charge-discharge module 5 and control main part 6 all can include: the existing magnetic adsorption, the clamping fit of the clamping hook and the clamping groove and the limit fit of the storage bin and the movable baffle plate. Taking the clamping fit of the clamping hook and the clamping groove as an example, the clamping hook is fixedly connected with the charging and discharging module 5, and the surface of the battery pack is provided with the clamping groove matched with the clamping hook. When mechanically connecting the battery pack with the charge and discharge module 5, the detachable fixed connection between the battery pack and the charge and discharge module 5 can be realized by clamping one end of the clamping hook into the clamping groove.
Further, the control module 1 is configured to identify a charge-discharge module 5 electrically connected to a battery pack in the at least one charge-discharge module 5, and is configured to control the charge-discharge module 5 when the charge-discharge 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 for controlling a charge and discharge module 5 electrically connected with the battery pack through the control module 1 so as to discharge the corresponding battery pack through the charge and discharge interface 3.
Specifically, the manner of identifying the charge and discharge module 5 electrically connected to the battery pack in the at least one charge and discharge module 5 by the control module 1 includes: the control module 1 judges whether the charge-discharge module 5 is electrically connected with the battery pack by detecting the end part potential and the borne pressure of the charge-discharge module 5, which are used for being connected with the battery pack.
According to the multi-battery-pack charging and discharging device, the charging and discharging module 5 is detachably connected with the battery pack, so that the weight of the multi-battery-pack charging and discharging device is convenient to adjust, and the multi-battery-pack charging and discharging device is convenient to carry; the charge-discharge module 5 is detachably connected with the control main body 6, so that a user can select a proper number of charge-discharge modules 5 according to the actual use condition; meanwhile, the control module 1 is arranged to identify and control the corresponding charging and discharging module 5, so that the multi-battery-pack charging and discharging device can still normally charge and discharge under the condition that the number of the battery packs is changed.
Meanwhile, the multi-battery pack charging and discharging device can generate better technical effects according to different application scenes. For example, when the multi-pack charging/discharging device is used as a charger for charging a mobile phone, a smart watch, and a notebook computer, the number of the battery packs may be configured according to actual time of going out or an object to be charged. Specifically, if the mobile phone and the smart watch are charged by the charger only when going out, one or two battery packs in the multi-battery-pack charging and discharging device can be electrically connected with the corresponding charging and discharging module 5; if the charger is needed to charge the notebook computer, three or four battery packs in the multi-battery-pack charging and discharging device are reserved to be electrically connected with the corresponding charging and discharging modules 5. The multi-battery-pack charging and discharging device can select a proper number of battery packs to be configured according to the actual application scene, so that the weight of the multi-battery-pack charging and discharging device is effectively reduced, and inconvenience brought to outgoing due to carrying of redundant battery packs is avoided.
When the multi-battery-pack charging and discharging device is used as a power supply device of large-scale electric equipment, such as an electric automobile, and when the electric automobile is used for driving in short mileage in an urban area, two battery packs can be configured on the multi-battery-pack charging and discharging device to supply power to the electric automobile; when the electric automobile is used for long-mileage driving, four batteries can be arranged on the multi-battery discharging device to supply power for the electric automobile. So under the condition that does not influence the long mileage driving of drive car, can also make electric automobile carry few battery in short mileage simultaneously to reduce electric automobile's weight, and then can effectively prolong the mileage that the electric motor car can travel under the unit electric quantity.
Further, each charge and discharge module 5 includes: a switch submodule 51 and a charge and discharge submodule 52.
The change-over switch submodule 51 is electrically connected with the control module 1, the charge and discharge submodule 52 is electrically connected with the change-over switch submodule 51, and the battery pack is electrically connected with the corresponding charge and discharge submodule 52. The switching switch submodule 51 is used for controlling the on-off of the charging and discharging submodule 52 and the charging and discharging interface 3; the charging and discharging submodule 52 is configured to provide a charging and discharging circuit for the corresponding battery pack, so as to charge or discharge the corresponding battery pack.
Referring to fig. 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: the first control terminal, the first positive terminal and the first negative terminal. The second control switch Q2 includes: a second control terminal, a second positive terminal and a second negative terminal.
The first control end is used for controlling the conduction of the first positive end and the first negative end when the potential of the first control end reaches a first threshold potential; the second control end is used for controlling the second positive end and the second negative end to be conducted when the potential of the second control end reaches a first threshold potential. The switch chip 511 is configured 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.
The anode of the first diode D1 is electrically connected with the charge and discharge interface 3; the cathode of the first diode D1 is electrically connected to the switch chip 511; the first control end and the second control end are both electrically connected with the switch chip 511 through a first fixed resistor R1; the first negative end is electrically connected with the charge and discharge interface 3; the second negative terminal is electrically connected with the charge and discharge submodule 52; the first positive terminal is electrically connected with the second positive terminal; the switch chip 511 is electrically connected to the control module 1.
The charge and discharge submodule 52 includes: the charging and discharging circuit comprises 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 end is used for controlling the third positive end and the third negative end to be conducted when the potential of the third control end reaches a 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 end is used for controlling the fourth positive end and the fourth negative end to be conducted when the potential of the fourth control end reaches a 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 for controlling the fifth positive terminal and the fifth negative terminal to be conducted when the potential of the fifth control terminal reaches a 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 end is used for controlling the sixth positive end and the sixth negative end to be conducted when the potential of the sixth control end reaches a second threshold potential. The charging and discharging chip 521 is configured 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 a second control signal, so as to charge or discharge the corresponding battery pack.
One end of the inductor L1 is electrically connected to the third positive terminal and the fifth negative terminal, the other end of the inductor L1 is electrically connected to the fourth positive terminal and the sixth negative terminal, the third control terminal is electrically connected to the charge and discharge chip 521 through a fifth fixed resistor R5, the fourth control terminal is electrically connected to the charge and discharge chip 521 through a second fixed resistor R2, the fifth control terminal is electrically connected to the charge and discharge chip 521 through a fourth fixed resistor R4, the sixth control terminal is electrically connected to the charge and discharge chip 521 through a third fixed resistor R3, the third negative terminal is electrically connected to the corresponding switch submodule 51, the fourth negative terminal is electrically connected to the corresponding battery pack, the fifth positive terminal and the sixth positive terminal are both grounded, and the charge and discharge chip 521 is electrically connected to the control module 1. The fourth control switch Q4 is electrically connected to the charging/discharging chip 521 through a second fixed resistor R2. So far, the charging and discharging submodule 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, so as to realize the charging function of the multi-battery pack charging and discharging device on the battery pack through the charging and discharging interface 3 and the discharging function of the device to be charged through the charging and discharging interface 3.
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 field effect transistors, triodes and the like with the same specification. The first potential and the second potential are not limited in this embodiment, and the potentials capable of breaking down the corresponding field effect transistors in the circuit are all possible.
In the present 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 transistors with the same specification. The first control end, the second control end, the third control end, the fourth control end, the fifth control end and the sixth control end are all grids; 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 source electrodes; 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 drain electrodes.
Further, the control module 1 includes: a voltage reduction circuit sub-module 11 and a micro control sub-module 12. The output end of the voltage reduction circuit submodule 11 is electrically connected with the micro control submodule 12 and the charge and discharge chip 521, and the input end of the voltage reduction circuit submodule 11 is electrically connected with the charge and discharge interface 3; the working voltage of the micro control sub-module 12 is 3.3V. The charging and discharging chip 521 is electrically connected to the step-down circuit sub-module 11, so that some signals of the charging and discharging chip 521 need to be externally pulled up to 3.3V, for example, the pin I2C in the charging and discharging chip 521 needs to be externally pulled up to 3.3V, so as to communicate with the micro-control sub-module 12.
The electric quantity display module 4 is electrically connected with the micro-control submodule 12; the electric quantity display module 4 is used for displaying the residual electric quantity of the battery pack electrically connected with the charge and discharge module 5 and the state of the battery pack; the states of the battery pack include: a charged state, a discharged state, and a rest state. And the standing state W is the state of the battery pack in a non-working state. In this embodiment, the micro control sub-module 12 is an MCU (micro controller Unit); the charge and discharge chip 521 is a Buck-Boost charge and discharge chip 521.
The voltage reduction loop submodule 11 is configured to adjust the voltage provided by the charge and discharge interface 3 when the battery pack is charged; the charge and discharge interface 3 is used for providing the working voltage of the micro control sub-module 12 to the micro control sub-module 12 through the voltage reduction circuit sub-module 11.
In addition, the input terminal of the step-down circuit submodule 11 is electrically connected to the at least one battery pack via a diode. Wherein, the anode of the diode is electrically connected with the battery pack, and the cathode of the diode is electrically connected with the voltage reduction circuit submodule 11. The voltage reduction circuit submodule 11 is used for adjusting the voltage provided by the battery pack when the battery pack is electrically connected for discharging. The at least one battery pack is used for providing the working voltage of the micro-control submodule 12 to the micro-control submodule 12 through the voltage reduction circuit submodule 11. The micro control sub-module 12 is configured to send a first control signal and a second control signal to the charge and discharge module 5, so as to charge or discharge a corresponding battery pack.
Specifically, taking the circuit of one charge-discharge module 5 as an example, when the multi-battery-pack charge-discharge device is in a charging state, the control module 1 controls the switch chip 511 to supply power to the battery pack through VIN to the first diode D1, and outputs an EN _ S1 signal, i.e., a first control signal, to the switch chip 511 through the control module 1, so that the gate voltage provided by the switch chip 511 opens the first control switch Q1 and the second control switch Q2 through the first fixed resistor R1, so that the first control switch Q1 is mutually conducted with the second control switch Q2. Then, when detecting that the potential greater than zero exists at VIN _1, the Buck-Boost charging and discharging chip 521 forms a Buck-Boost loop 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 finally charges the battery pack through the fourth negative terminal. VIN is an end of the circuit of the switch submodule 51 electrically connected to the charge/discharge interface 3, and VIN _1 is an end of the switch submodule 51 electrically connected to the charge/discharge submodule 52.
When the input adapter is not in use, that is, when the battery in the multi-battery pack charging and discharging device is not in a charging state, the MCU detects a switch signal triggered by the discharging switch 2 by pressing the discharging switch 2, and at this time, the MCU selects a battery corresponding to the charging and discharging module 5 to discharge according to the charging and discharging information stored in the multi-battery pack charging and discharging device. Specifically, an EN _ OTG1 signal, that is, a second control signal, is sent to the Buck-Boost charging and discharging chip 521 through the MCU to turn on the discharging function of the Buck-Boost charging and discharging chip 521, so that the battery pack passes through a Buck-Boost loop to generate a preset output voltage at a third negative terminal, and the MCU sends an EN _ S1 signal to turn on the switch chip 511, at this time, the switch chip 511 turns on the first control switch Q1 and the second control switch Q2 through the preset output voltage provided by the third negative terminal to the second diode D2, so that the first control switch Q1 and the second control switch Q2 are mutually conducted, and thus a corresponding output voltage is generated at the first negative terminal, thereby realizing charging of the device to be charged through the charging and discharging interface 3. Meanwhile, in the process, the control module 1 controls the switching switch sub-modules 51 in the other charge-discharge modules 5 to be in the off state, that is, controls the switching switches in the other charge-discharge modules 5 to disconnect the corresponding charge-discharge sub-modules 52 from the charge-discharge interface 3, so that the battery pack which is discharging can be prevented from charging the other battery packs, and the discharging effect of the multi-battery-pack charging-discharging device is prevented from being influenced.
In an optional embodiment, the multi-pack charging and discharging device further includes: and a storage module. The storage module is electrically connected with the charging and discharging module 5 and the control module 1; the storage module is used for storing charge and discharge information. The control module 1 is further configured to control the corresponding charge and discharge module 5 according to the charge and discharge information, so that the corresponding battery pack is charged or discharged;
wherein the charge and discharge information includes: the connection state of the charge-discharge module 5 and the battery pack; or, the charge and discharge information includes: the connection state of the charge-discharge module 5 and the battery pack, and the remaining capacity of the battery pack electrically connected with the charge-discharge module 5.
The storage module is arranged, so that the control module 1 can quickly identify the charge and discharge modules 5 electrically connected with the battery pack in all the charge and discharge modules 5, and the control module 1 can accurately control the corresponding change-over switch submodule 51 to be switched on or off.
Furthermore, each charge-discharge 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 for storing the identification characters corresponding to the at least one charge-discharge module 5 respectively and sequencing the stored identification characters; or, the battery pack is used for storing the identification characters corresponding to the charge and discharge module 5 electrically connected with the battery pack and sorting the stored identification characters.
The control module 1 is further configured to sequentially control the corresponding battery packs to be charged or discharged according to the sequence of the identifier characters arranged in the first storage column.
Under the condition that the first storage column is used for storing the identification characters corresponding to the charge and discharge module 5 electrically connected with the battery pack and sequencing the stored identification characters, the arrangement mode of the identification characters is as follows:
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 respectively: a. b, c and d.
Watch 1
a c d
If the information stored in the first storage column is as table one, it indicates that the charging and discharging module 5 corresponding to the identifier character b is not electrically connected to the battery pack. And during the charging and discharging process, the corresponding battery packs are operated according to the sequence of a → c → d, but the embodiment is not limited thereto.
When the first storage column stores the identification characters respectively corresponding to the at least one charge-discharge module 5, the control list further includes: a second storage column; the second storage column is used for storing the connection state of the at least one charge-discharge module 5 and the battery pack. The connection state of each charge-discharge module 5 and the battery pack corresponds to the corresponding identification character. The arrangement of the identification characters at this time is as follows, but not limited thereto:
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 respectively: a. b, c and d.
Watch two
b a d c
1 1 0 1
In the second table, the first row table is a first storage column, the second row table is a second storage column, 1 indicates that the corresponding charge-discharge module 5 is electrically connected with the battery pack, and 0 indicates that the corresponding charge-discharge module 5 is not electrically connected with the battery pack. In this way, the corresponding battery pack is operated in the sequence of b → a → c during the charging and discharging process, but the embodiment is not limited thereto.
In this alternative embodiment, the control list includes: the battery pack comprises a first storage column and a second storage column, wherein the first storage column is used for storing identification characters corresponding to a charge and discharge module 5 electrically connected with the battery pack; the charge and discharge information includes: the connection state of the charge-discharge module 5 and the battery pack, and the remaining capacity of the battery pack electrically connected with the charge-discharge module 5.
And when the second storage column is used for storing the residual electric quantity of the battery pack and the connection state of the at least one charge and discharge module 5 and the battery pack, the second storage column stores charge and discharge information by providing a plurality of word bits. Taking the example that the second storage column provides 5 word bits, one word bit is used for storing the connection state between the charging and discharging module 5 corresponding to the identification character and the battery pack, and the other word bits are used for storing the remaining power of the corresponding battery pack. Such as: 11000, the charging and discharging module 5 corresponding to the identification character is electrically connected with a battery pack, and the electric quantity of the corresponding battery pack is less than 30%; 10100, the charge and discharge module 5 corresponding to the identification character is electrically connected with a battery pack, and the electric quantity of the corresponding battery pack is more than 30% and less than 70%; 10010, it is indicated that the charge and discharge module 5 corresponding to the identification character is electrically connected to a battery pack, and the electric quantity of the corresponding battery pack is greater than 70% and less than 100%; 10001, which indicates that the charge/discharge module 5 corresponding to the identification character is electrically connected to a battery pack and the corresponding battery pack is full of electricity; 00000, the charging and discharging module 5 corresponding to the identification character is not electrically connected with the battery pack.
Through setting up the memory list, can make many battery package charge-discharge device arrange in an order to the discharge order of battery package is automatic, so can make the user demolish the battery package at will, and need not to demolish according to a certain fixed order to make the dismantlement of battery package more nimble.
The working principle of the multi-battery pack charging and discharging device provided by the embodiment is as follows:
charging principle: after an external power supply is inserted into the charging and discharging interface 3 through an adapter, the voltage reduction loop works and supplies power to the MCU; after the MCU works, the MCU starts to identify the charge and discharge modules 5 electrically connected with the battery pack in the at least one charge and discharge module 5, after identification is completed, the residual electric quantity of the corresponding battery pack is detected, all the switch submodules 51 electrically connected with the battery pack are opened by sending a first control instruction, so that voltage passes through the switch submodules 51 to the Buck-Boost charge and discharge chip 521, the Buck-Boost charge and discharge chip 521 starts to work when detecting input voltage and receiving a second control signal sent by the MCU, the corresponding battery pack is charged, during charging, the MCU monitors the residual electric quantity of each battery pack in real time and controls the battery pack to work in a corresponding charging mode through the Buck-Boost charge and discharge chip 521, and meanwhile, the electric quantity display module 4 displays the charging state and the residual electric quantity corresponding to each battery pack in real time.
The discharge principle is as follows: when the charging and discharging interface 3 is not connected with an external power supply, the discharging switch 2 is pressed, the battery pack supplies power to the voltage reduction loop at the moment, the MCU starts to identify the charging and discharging module 5 electrically connected with the battery pack in the at least one charging and discharging module 5, the number of the battery pack is detected after identification is completed, and when the MCU detects a switch signal triggered by the discharging switch 2, the MCU sends an EN _ OTG1 signal, namely a second control signal, to the corresponding Buck-Boost charging and discharging chip 521 according to a discharging sequence and sends an EN _ S1 signal, namely a first control signal, to the corresponding Buck-Boost charging and discharging chip 521 to discharge to the charging and discharging interface 3 through the battery pack 1, so that the charging and discharging same interface functions are realized. Meanwhile, the MCU controls the other switch sub-modules 51 to be in the off state, so as to prevent the discharged battery pack from charging the other battery pack. When the voltage of the battery pack 1 is monitored to be lower than a certain value, the MCU sends an EN _ S1 signal to the discharging changeover switch chip 511 again, and sends an EN _ OTG1 signal to the discharging charge-discharge submodule 52 to stop the battery pack 1 from continuing to discharge, and at the same time, by sending an EN _ S2 signal, the other changeover switch submodule 51 is turned on, and the discharge function of the Buck-Boost charge-discharge chip 521 is turned on by sending an EN _ OTG2 signal to continue to discharge the battery pack 2, and the states of the other charge-discharge modules 5 are kept consistent with the previous state and are in a closed state. And analogizing in turn until all the configured battery packs are discharged and cut off, displaying the discharge end by the electric quantity display module 4, and displaying the residual electric quantity of all the battery packs, thereby realizing the function of alternately discharging the multiple batteries.
In a second aspect, the present embodiment provides a charging method, which is applied to any multi-battery charging device with a charging function, and 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 a 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 a 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; the charging method is controlled by the micro-control submodule 12.
With reference to fig. 4, the charging method includes steps S101 to S106:
step S101: and judging whether the input voltage of the external power supply is within a preset voltage range.
In an optional embodiment, the charging module further comprises: charge and discharge submodule 52. The charge and discharge submodule 52 is electrically connected with the other end of the corresponding change-over switch submodule 51; the charging and discharging submodule 52 is configured 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 as to charge or discharge the corresponding device to be charged.
Before the determining whether the input voltage of the external power supply is within the preset voltage range, the charging method further includes: and judging whether the device to be charged is in a discharging state or not. 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 executed after The discharging of The charging device is ended.
Whether the input voltage of the external power supply is within the preset voltage range is judged, and the method comprises the following steps: and when the device to be charged is not in the discharging state, judging whether the input voltage of the external power supply is within a preset voltage range.
Step S102: and when the input voltage of the external power supply is within the preset voltage range, detecting the state of the charging module.
The preset voltage range is a voltage range allowed to be input by the charging device, and the voltage range allowed to be input by the charging device is not limited in the embodiment.
In an alternative embodiment, when the input voltage of the external power supply is not within the preset voltage range, the charging device is terminated to charge the device to be charged, and the user is informed to check whether the external power supply and the charging device are abnormal. Therefore, accidents caused by the charging device in an abnormal state can be avoided.
Step S103: and acquiring charging information according to the state of the charging module.
In an optional embodiment, the obtaining the charging information according to the state of the charging module includes: judging whether the connection state of the charging module and the device to be charged changes or not according to the detected connection state of the charging module and the device to be charged, if so, adjusting the information stored in the second storage column to store the connection state of the corresponding charging module and the device to be charged in the second storage column, and then acquiring the connection state of the charging module and the device to be charged from the second storage column; if the charging module does not exist, the connection state of the charging module and the device to be charged is directly acquired from the second storage column.
Step S104: and judging whether the switch submodule 51 is started or not according to the charging information, and starting the switch submodule 51 electrically connected with the device to be charged when the switch submodule 51 electrically connected with the device to be charged is not started so as to enable the charging interface to be communicated with the corresponding device to be charged.
In an alternative embodiment, when the switch submodule 51 electrically connected to the device to be charged is not turned on, the switch submodule 51 electrically connected to the device to be charged is turned on to make the charging interface conduct with the corresponding device to be charged, including: a switch submodule 51 for determining the electrical connection with the device to be charged according to the connection state of the charging module and the device to be charged; and starting the switch submodule 51 electrically connected with the device to be charged so as to enable the charging interface to be conducted with the corresponding device to be charged.
Through the connection state of the charging module and the device to be charged, the corresponding change-over switch submodule 51 is controlled to be opened and closed, the external power supply can be prevented from supplying power to the charging module which is not electrically connected with the device to be charged, the effect of the charging module on electric energy is caused, therefore, the electric energy waste can be saved, and the energy-saving effect of the charging device is realized.
In an optional embodiment, the charging information further includes: and the residual capacity of the device to be charged is electrically connected with the charging module.
When the switch submodule 51 electrically connected to the device to be charged is not turned on, the switch submodule 51 electrically connected to the device to be charged is turned on to connect the charging interface with the corresponding device to be charged, and the method further includes: determining a device to be charged which needs to be charged in the devices to be charged electrically connected with the charging module according to the residual electric quantity of the devices to be charged electrically connected with the charging module; and starting the switch submodule 51 corresponding to the device to be charged which needs to be charged, so that the charging interface is conducted with the corresponding device to be charged.
According to the residual electric quantity of the device to be charged electrically connected with the charging module, the corresponding switch submodule 51 is controlled to be switched on and off, so that the battery pack can be further prevented from being overcharged, and the service life of the battery pack is prolonged.
In an alternative embodiment, when the switch submodule 51 electrically connected to the device to be charged is not turned on, the switch submodule 51 electrically connected to the device to be charged is turned on to make the charging interface conduct with the corresponding device to be charged, including: a switch submodule 51 for determining the electrical connection with the device to be charged according to the connection state of the charging module and the device to be charged; and starting the switch submodule 51 electrically connected with the device to be charged so as to enable the charging interface to be conducted with the corresponding device to be charged.
Step S105: and detecting the working voltage of the device to be charged which is conducted with the charging interface.
Step S106: and controlling the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged.
Wherein the charging information includes: the connection state of 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 charge mode (CC mode), and a constant voltage charge mode (CV mode).
The charging method can ensure that the electric connection state of the external power supply and the charging device is good by judging whether the preset voltage is within the preset voltage range, and the external power supply can provide stable charging voltage for the charging device, so that the charging safety can be ensured, the charging device is prevented from working abnormally, and further safety guarantee is provided for the subsequent charging process; whether the change-over switch submodule 51 is started or not is judged according to the charging information, so that the external power supply can be rapidly controlled to charge the device to be charged through the corresponding charging module, and the charging modules of other devices to be charged which are not electrically connected are avoided, wherein the charging modules of the devices to be charged which are not electrically connected due to mistaken pulling comprise the charging modules of the devices to be charged which are not electrically connected, and the electric energy is consumed, so that the energy-saving effect of the charging device is realized; and finally, controlling the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged, so that the charging safety can be improved, the charging efficiency can be further improved, and the over-charging of a battery pack is avoided.
In an optional embodiment, after detecting the state of the charging module when the input voltage of the external power supply is within the preset voltage range, the method further includes:
storing identification characters corresponding to a charging module electrically connected with a device to be charged in a first storage column, and sequencing the identification characters in the first storage column;
determining the arrangement sequence of the devices to be charged according to the arrangement sequence of the identification characters in the first storage column;
the control is waited to charge the device and is got into different charge modes and charge according to waiting the operating voltage of device, includes: and sequentially detecting the working voltage of the devices to be charged according to the arrangement sequence of the devices to be charged, and sequentially controlling the devices to be charged to enter different charging modes for charging according to the working voltage of the devices to be charged.
In an optional embodiment, the controlling the device to be charged to enter different charging modes for charging according to the operating voltage of the device to be charged includes:
determining the number of charging modules communicated with the charging interfaces, and recording the number as N, wherein N is a natural number;
acquiring Vn when n is 1, wherein the Vn is the working voltage of the nth device to be charged in the devices to be charged electrically connected with the charging module;
judging whether Vn is smaller than a first threshold voltage or not;
when Vn is smaller than a first threshold voltage, controlling a device to be charged corresponding to Vn to enter a pre-charging mode for charging;
adding 1 to n to update n;
judging whether the updated N is less than or equal to N;
when the updated N is less than or equal to N, executing the step of judging whether the Vn is less than a first threshold voltage;
when the updated N is greater than N, executing the step of judging whether the input voltage of the external power supply is within a preset voltage range, or executing the step of acquiring charging information according to the state of the charging module, or executing the step of judging whether the switch submodule 51 is turned on according to the charging information, or executing the step of acquiring the Vn when N is 1;
when Vn is not less than a first threshold voltage, judging whether Vn is less than or equal to a second threshold voltage, wherein the second threshold voltage is greater than the first threshold voltage;
when Vn is smaller than or equal to a second threshold voltage, controlling a device to be charged corresponding to Vn to enter a constant current charging mode for charging, and executing the step of adding 1 to n to update n;
when Vn is greater than a second threshold voltage, judging whether Vn is less than a third threshold voltage, wherein the third threshold voltage is greater than the second threshold voltage;
when Vn is smaller than a third threshold voltage, controlling a device to be charged corresponding to Vn to enter a constant voltage charging mode for charging, and executing the step of adding 1 to n to update n;
and when the Vn is not less than the third threshold voltage, disconnecting the switch submodule 51 electrically connected with the device to be charged corresponding to the Vn, and executing the step of adding 1 to the n to update the n.
Specific values of the first threshold voltage, the second threshold voltage and the third threshold voltage are determined by specifications of the device to be charged, and the embodiment is not limited.
The number of the charging modules communicated with the charging interface is recorded, and Vn is used as the working voltage of the nth device to be charged in the devices to be charged electrically connected with the charging modules, so that the working voltages of all the devices to be charged can be efficiently and orderly monitored; simultaneously, make every battery package can be according to self condition, independent entering corresponding charge mode charges to make every battery package can both be stable, quick charge.
In addition, by judging the magnitude of N and N, the charging system 200 corresponding to the charging method can continuously monitor the working voltages of all the devices to be charged, so that the battery pack can be effectively controlled to enter a corresponding charging mode to be charged according to the change of the working voltage of the battery pack in the charging process, and the service life of the battery pack is further prolonged.
Further, 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, so that the charging system 200 corresponding to the charging method can continuously monitor the working voltages of all the devices to be charged, and simultaneously can monitor the input voltage of the charging device in the charging process, thereby preventing the charging device and the devices to be charged from being damaged due to the fact that the charging device is still charged when the charging process is abnormal.
When the updated N is greater than N, the step of acquiring the charging information according to the state of the charging module is executed, or the step of judging whether the switch submodule 51 is turned on according to the charging information is executed, so that the device to be charged, which needs to be charged, can be updated, and the external power supply can be rapidly stopped to supply power to the charging module corresponding to the device to be charged, the working voltage of which is not less than the third threshold voltage.
When the updated N is larger than N, executing the step of acquiring the Vn when N is 1; the charging system 200 corresponding to the charging method can quickly detect the working voltage of the device to be charged again from the 1 st device to be charged, so that the efficiency of cycle detection is improved.
In an alternative embodiment, each charging module corresponds to a unique identification character. The charging method further comprises: acquiring an identification character corresponding to a charging module electrically connected with a device to be charged; storing identification characters corresponding to a charging module electrically connected with a device to be charged in a first storage column, and sequencing the identification characters in the first storage column; and determining the arrangement sequence of the devices to be charged according to the arrangement sequence of the identification characters in the first storage column.
The control is waited to charge the device and is got into different charge modes and charge according to waiting the operating voltage of device, includes: and sequentially detecting the working voltage of the devices to be charged according to the arrangement sequence of the devices to be charged, and sequentially controlling the devices to be charged to enter different charging modes for charging according to the working voltage of the devices to be charged.
Through setting up the first storage fence that sets for the identification character and be used for the storage and wait to charge the identification character that the electric module of charging that the device is connected corresponds, can make and wait that the device that charges fast, orderly get into corresponding charge mode and charge to can further avoid charging device unusual in charging process.
In an alternative embodiment, each charging module corresponds to a unique identification character. The charging method further comprises: acquiring an identification character of each charging module; respectively storing the identification characters of each charging module in a first storage column, and sequencing the identification characters in the first storage column; the connection state of each charge and discharge module 5 with the battery pack is stored in the second storage column. The connection state of each charge-discharge module 5 and the battery pack corresponds to the corresponding identification character.
The control is waited to charge the device and is got into different charge modes and charge according to waiting the operating voltage of device, includes: and sequentially detecting the working voltage of the corresponding devices to be charged according to the information stored in the first storage column and the second storage column, and sequentially controlling the devices to be charged to enter different charging modes for charging according to the working voltage of the devices to be charged.
Through setting up the identification character, be used for storing the first storage fence of identification character and be used for storing the second storage fence of every charge-discharge module 5 and battery package's connected state, can charging device stable, orderly control corresponding device of waiting to charge get into corresponding charge mode and charge to can further avoid charging device unusual in charging process.
In an optional embodiment, the charging method further comprises: and judging whether the connection state of the charging module and the device to be charged is changed or not according to the detected connection state of the charging module and the device to be charged, and if so, adjusting the information stored in the first storage column or/and the information stored in the second storage column.
Specifically, when the updated N is greater than N, the connection state between the charging module and the device to be charged is changed, including: the device to be charged is pulled out, or the device to be charged breaks down and cannot be electrically connected with the charging module. When the first storage column is used for storing the identification character corresponding to the charging module electrically connected with the device to be charged, the adjusting the information stored in the first storage column includes: and clearing the identification characters which are stored in the first storage column and correspond to the devices to be charged and electrically connected with the devices to be charged.
When the first storage column is used for storing the identification characters corresponding to each charging module, the adjusting 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 with the module to be charged; or clearing the identification character which is stored in the first storage column and corresponds to the device to be charged and electrically connected with the device to be charged, and clearing the information which is stored in the second storage column and corresponds to the identification character. So can be in the charging process, prevent to wait that the device that charges can not normally be connected with corresponding module of charging electricity, and external power supply lasts to corresponding module of charging and supplies power, and charging device continues to take place corresponding module of charging and the phenomenon of waiting that the device that charges carries out the monitoring to not only can further improve the security of charging, can also further reduce the unnecessary consumption simultaneously, further improve charging device's energy-conserving efficiency.
Third aspect, with reference to fig. 5, the present embodiment provides a charging method based on the content of the second aspect, where the charging method 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 charger that includes a plurality of battery packs.
The charging method comprises the following steps:
firstly, after the charger is inserted into the charger, the MCU judges whether a battery pack in the current charger is in an OTG discharge state, namely whether the OTG mode of the battery pack in the current charger is started; if so, closing the OTG mode to finish discharging the charger baby, and entering the next step after finishing discharging the charger baby; if not, directly entering the next step.
And then, the MCU judges whether the input voltage of the charging device is in the range of Vin 1-Vin 2, if not, the charging method is directly ended, the charging device is controlled to enter an input protection state, and the charging is ended. If so, go to the next step. Vin1 and Vin2 are protection points for inputting low voltage and receiving high voltage preset by the charging device, respectively.
Then, the MCU detects the total number of the battery packs, and marks the total number as N, and marks the battery packs in place, and at the same time, sorts the battery packs in place, and turns on the charge-discharge switches Sn corresponding to all the battery packs in place, i.e., the switch submodule 51, and proceeds to the next step.
The in-place battery pack is electrically connected with the corresponding charging module. Sequencing the in-place battery packs comprises: and storing the identification characters corresponding to the charging modules electrically connected with the in-place battery pack in a first storage column and sequencing. The charging method further comprises: determining the arrangement sequence of the battery packs in place according to the arrangement sequence of the identification characters in the first storage column, such as: the battery pack 1, the battery packs 2 and … … and the battery pack n are positive integers.
And then, the MCU starts to detect from the working voltage of the battery pack 1 so as to control the battery pack to enter a corresponding charging mode for charging according to the working voltage of the battery pack 1. Specifically, whether the working voltage of the battery pack 1 is smaller than a first threshold voltage V1 is judged, and if the working voltage of the battery pack 1 is smaller than the first threshold voltage V1, the next step of judging the working voltage of the battery pack 2 is performed; and if not, continuously judging whether the working voltage of the battery pack 1 is greater than or equal to a first threshold voltage V1 and less than or equal to a second threshold voltage V2, if so, entering a constant current charging mode by the battery pack 1, and further judging the working voltage of the battery pack 2. If not, whether the working voltage of the battery pack 1 is larger than the second threshold voltage and smaller than the third threshold voltage V3 is continuously judged, if so, the battery pack 1 enters a constant voltage charging mode, and the next step is carried out to judge the working voltage of the battery pack 2. If not, whether the working voltage of the battery pack 1 is larger than the third threshold voltage V3 is continuously judged, if so, the battery pack 1 is determined to be in a full-charge state, the charging of the battery pack 1 is finished, and the next step of judging the working voltage of the battery pack 2 is carried out.
And finally, judging the working voltages of all in-place battery packs according to the sequence of the previous step, circularly judging the voltage of each in-place battery pack after the in-place battery packs enter a corresponding charging mode, finishing one-round judgment and charging mode setting of all in-place battery packs when N is less than or equal to N, then entering a new round of judgment starting from the battery pack 1, and repeating the steps until all in-place batteries are charged.
In a fourth aspect, with reference to fig. 6, the present invention provides a charging system 200, where the charging system 200 is applied to any multi-battery charging device with a charging function, and 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 a 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 a battery pack in the multi-battery pack charging and discharging device; the charging system 200 is controlled by the micro-control sub-module 12.
The charging system 200 includes:
a first determining module 201 configured to determine whether an input voltage of an external power supply is within a preset voltage range;
a first detection module 202 configured to detect a state of the charging module when an input voltage of the external power supply is within the preset voltage range;
an obtaining module 203 configured to obtain charging information according to a state of the charging module;
the second judging module 204 is configured to judge whether the switch submodule 51 is turned on according to the charging information, and when the switch submodule 51 electrically connected with the device to be charged is not turned on, turn on the switch submodule 51 electrically connected with the device to be charged so as to enable the charging interface to be conducted with the corresponding device to be charged;
in an alternative embodiment, the second determining module 204 includes:
the first charging determination submodule is configured to determine a change-over switch submodule electrically connected with the device to be charged according to the connection state of the charging module and the device to be charged;
the first charging starting submodule is configured to start a change-over switch submodule electrically connected with the device to be charged so as to enable the charging interface to be conducted with the corresponding device to be charged.
A second detecting module 205 configured to detect an operating voltage of the device to be charged, which is conducted with the charging interface;
a charging control module 206 configured to control the device to be charged to enter different charging modes for charging according to the operating voltage of the device to be charged;
the charging information includes: the connection state of the charging module and the device to be charged;
the charging mode includes: at least two of a pre-charge mode, a constant current charge mode, and a constant voltage charge mode.
In an optional embodiment, the charging module further comprises: a charge and discharge submodule 52;
the charge and discharge submodule 52 is electrically connected with the other end of the corresponding change-over switch submodule 51;
the charging and discharging submodule 52 is configured 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 as to charge or discharge the corresponding device to be charged;
the charging system 200 further includes:
the third judging module is configured to judge whether a device to be charged is in a discharging state before judging whether the input voltage of the external power supply is within a preset voltage range;
the first determining 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.
In an alternative embodiment, the second determining module 204 includes:
a first determination submodule configured to determine a changeover switch submodule 51 electrically connected to the device to be charged, according to a connection state of the charging module and the device to be charged;
and a first starting submodule configured to start the switch submodule 51 electrically connected to the device to be charged so as to conduct the charging interface with the corresponding device to be charged.
In an optional embodiment, the charging information further includes: the residual electric quantity of the device to be charged is electrically connected with the charging module;
the second determining module 204 further includes:
the second determining submodule is configured to determine a device to be charged, which needs to be charged, in the devices to be charged electrically connected with the charging module according to the residual electric quantity of the device to be charged electrically connected with the charging module;
and a second starting submodule configured to start the switch submodule 51 corresponding to the device to be charged that needs to be charged, so as to enable the charging interface to be conducted with the corresponding device to be charged.
In an alternative embodiment, the charging control module 206 includes:
the third determining submodule is configured to determine the number of the charging modules which are communicated with the charging interface and record the number of the charging modules as N, wherein N is a natural number;
an acquisition sub-module configured to acquire Vn when n is 1, the Vn being an operating voltage of an nth device to be charged among devices to be charged electrically connected to the charging module;
a first judgment sub-module configured to judge whether Vn is smaller than a first threshold voltage;
the first control submodule is configured to control a device to be charged corresponding to Vn to enter a pre-charging mode for charging when the Vn is smaller than a first threshold voltage;
an update submodule configured to add 1 to n to update n;
a second judgment submodule configured to judge whether the updated N is less than or equal to N;
a first execution sub-module configured to execute the first judgment sub-module when the updated N is less than or equal to N;
a second execution sub-module, configured to execute the first determining module 201, or execute the obtaining module 203, or execute the second determining module 204, or execute the obtaining sub-module when the updated N is greater than N;
a third judgment sub-module configured to judge whether Vn is less than or equal to a second threshold voltage, the second threshold voltage being greater than the first threshold voltage, when Vn is not less than the first threshold voltage;
the second control submodule is configured to control the device to be charged corresponding to the Vn to enter a constant current charging mode for charging and execute the updating submodule when the Vn is smaller than or equal to a second threshold voltage;
a fourth determining submodule configured to determine whether Vn is smaller than a third threshold voltage when Vn is larger than a second threshold voltage, the third threshold voltage being larger than the second threshold voltage;
the third control submodule is configured to control the device to be charged corresponding to the Vn to enter a constant voltage charging mode for charging and execute the updating submodule when the Vn is smaller than a third threshold voltage;
and the disconnection submodule is configured to disconnect the switch submodule 51 electrically connected with the to-be-charged device corresponding to the Vn when the Vn is not less than the third threshold voltage, and execute the update submodule.
In an alternative embodiment, each charging module corresponds to a unique identification character. The charging system 200 further includes:
a second obtaining module 203 configured to obtain an identification character corresponding to a charging module electrically connected to the device to be charged;
the first storage module is configured to store the identification characters corresponding to the charging module electrically connected with the device to be charged in a first storage column and sort the identification characters in the first storage column;
the determining module is configured to determine the arrangement sequence of the devices to be charged according to the arrangement sequence of the identification characters in the first storage column;
the charging control module 206 is further configured to sequentially detect the operating voltages of the devices to be charged according to the arrangement order of the devices to be charged, and sequentially control the devices to be charged to enter different charging modes for charging according to the operating voltages of the devices to be charged.
In an optional embodiment, each charging module corresponds to a unique identification character;
the system further comprises:
a third obtaining module 203 configured to obtain an identification character of each charging module;
the second storage module is configured to store the identification characters of each charging module in the first storage column respectively and sort the identification characters in the first storage column;
a third storage module configured to store a connection state of each charge and discharge module 5 with the battery pack in the second storage column;
the connection state of each charge-discharge module 5 and the battery pack corresponds to the corresponding identification character;
the charging control module 206 is configured to sequentially detect the operating voltages of the corresponding devices to be charged according to the information stored in the first storage column and the second storage column, and sequentially control the devices to be charged to enter different charging modes for charging according to the operating voltages of the devices to be charged.
In an alternative embodiment, the charging system 200 further comprises:
the fourth judging module is configured to judge whether the connection state of the charging module and the device to be charged changes according to the detected connection state of the charging module and the device to be charged when the updated N is larger than N;
the adjusting module is configured to adjust the information stored in the first storage column or/and the information stored in the second storage column when the connection state of the charging module and the device to be charged changes.
In a fifth aspect, with reference to fig. 7, this embodiment provides a discharging method, which is applied to any discharging device with multiple batteries having a discharging function, in this embodiment, the discharging device with multiple batteries is the charging and discharging device with multiple battery packs of the first aspect. The discharging interface in the discharging device of the multi-battery pack is the charging and discharging interface 3 in the charging and discharging device of the multi-battery pack; the discharging module in the discharging device of the multi-battery pack is the charging and discharging module 5 in the charging and discharging device of the multi-battery pack; the discharge information is the charge and discharge information in the multi-point battery charge and discharge device; the discharging method is controlled by the micro-control submodule 12.
The discharging method includes steps S301 to S304:
step S301: the state of the discharge module is detected.
Step S302: according to the state of the discharging module, discharging information is obtained, and the discharging information comprises: and the connection state of the discharge module and the battery pack.
Step S303: and determining a discharging battery pack for discharging in at least one battery pack according to the discharging information, and opening the switch submodule 51 corresponding to the discharging battery pack to discharge the discharging battery pack.
Wherein, the determining a discharging battery pack for discharging in at least one battery pack according to the discharging information comprises: determining a discharging module electrically connected with the battery pack according to the discharging information; and selecting a discharging battery pack which meets the power supply requirement of the electric equipment from the battery packs electrically connected with the discharging module according to the working voltage of the battery pack electrically connected with the discharging module and the power supply requirement of the electric equipment. The power supply requirement of the electric equipment is determined by the specification of the electric equipment, and is not limited in this embodiment.
In an optional embodiment, before the determining, according to the discharge information, a discharged battery pack for discharging in at least one battery pack, the discharging method further includes: and judging whether the discharging device is in a charging state or not.
The determining a discharging battery pack for discharging in at least one battery pack according to the discharging information includes: and when the discharging device is not in a charging state, determining a discharging battery pack for discharging in at least one battery pack according to the discharging information.
By judging whether the discharging device is in the charging state or not, the phenomenon that the battery pack in the discharging device discharges the electric equipment when in the charging state can be avoided, and the service life of the battery pack can be prolonged.
In an optional embodiment, the determining whether the discharging device is in a charging state includes: judging whether the discharging interface has input voltage or not; and when the input voltage exists in the discharging interface, judging whether the OTG mode of the discharging device is started or not, and if so, not charging the discharging device.
Step S304: and judging whether the discharging battery pack needs to be replaced to continue discharging, if so, replacing the discharging battery pack to continue discharging until the discharging battery pack does not exist in the at least one battery pack or until discharging is finished, and stopping discharging of the discharging device.
According to the discharging method, the discharging module electrically connected with the battery pack in the plurality of discharging modules can be rapidly identified by determining the state of the discharging module, so that the battery pack can conveniently pass through the corresponding discharging module, and the electric equipment can be rapidly and efficiently charged; and through confirming the battery package that discharges, can be convenient for charge the consumer with the quick stable orderly automation of the module of discharging that the battery package electricity is connected, so not only further improved the efficiency of charging the consumer, still avoided the battery package to cross the emergence of putting the phenomenon simultaneously to discharge device's security has been improved.
In an optional embodiment, the discharging method further comprises:
determining the number of discharging modules electrically connected with the battery pack according to the discharging information, and recording the number as R, wherein R is a natural number;
when the discharging device is not in a charging state, determining a discharging battery pack for charging in at least one battery pack, and turning on the discharging battery pack for discharging, including:
when the OTG mode of the discharge device is turned on or when the input voltage does not exist at the discharge interface, setting n to 1, and determining whether the operating voltage of a battery pack n is greater than or equal to a fourth threshold voltage, where the battery pack n is a discharge battery pack that discharges the nth battery pack;
when the working voltage of the battery pack n is greater than or equal to the fourth threshold voltage, turning on the switch submodule 51 corresponding to the battery pack n, and turning off the other switch submodules 51;
judging whether the working current of the battery pack n is less than or equal to a threshold current or not;
when the working current of the battery pack n is larger than the threshold current, judging whether the working voltage of the battery pack n is larger than or equal to a fifth threshold voltage, wherein the fifth threshold voltage comprises a fourth threshold voltage;
when the working voltage of the battery pack n is smaller than a fifth threshold voltage, adding 1 to n to update n;
judging whether the updated n is less than or equal to R, if so, executing the step of judging whether the working voltage of the battery pack n is greater than or equal to a fifth threshold voltage;
turning off the discharging device when the updated n is larger than R or when the working current of the battery pack n is smaller than or equal to the threshold current;
when the working voltage of the battery pack n is greater than or equal to a fifth threshold voltage, judging whether a switch submodule 51 corresponding to the battery pack n is started, if so, executing the step of judging whether the working current of the battery pack n is less than or equal to the threshold current, otherwise, executing the steps of starting the switch submodule 51 corresponding to the battery pack n and closing other switch submodules 51;
and when the working voltage of the battery pack n is smaller than a fourth threshold voltage, the step of adding 1 to n to update n is executed.
Wherein the magnitudes of the threshold current, the fourth threshold voltage, and the fifth threshold voltage are determined by the specification of the battery pack. In this embodiment, the fifth threshold voltage is the fourth threshold voltage, and the magnitude of the threshold current and the magnitude of the fourth threshold are not limited in this embodiment.
By comparing the operating current of the battery pack n with the threshold current, it can be determined whether the output of the discharging device is loaded, that is, when the discharging current of the battery pack n is smaller than the threshold current, the control module 1 determines that the output of the discharging device is unloaded, so as to turn off the output of the discharging device, thereby reducing the loss of the battery pack.
Through comparing the working voltage of the battery pack n with the fifth threshold voltage, the phenomenon that the battery pack n is over-discharged can be prevented, so that the service life of the battery pack can be ensured, safety accidents are prevented, and the safety of the discharging device is further improved.
In addition, when the updated n is judged to be less than or equal to R, the step of judging whether the working voltage of the battery pack n is greater than or equal to the fifth threshold voltage is executed, so that the working voltage of the replaced discharging battery pack can be judged after the discharging battery pack is replaced, other discharging battery packs can be rapidly replaced continuously when the requirement is not met, the step of starting the switching switch sub-module 51 corresponding to the replaced battery pack and the step of judging whether the working current of the replaced discharging battery pack is less than or equal to the threshold current are not executed, the power consumption of the discharging device can be saved, and the discharging efficiency of the discharging device can be improved.
In an alternative embodiment, each discharge module is provided with a unique identification character. The acquiring of the discharge information according to the state of the discharge module includes: judging whether a discharging module electrically connected with the battery pack exists or not; when a discharging module electrically connected with the battery pack exists, storing identification characters corresponding to the discharging module electrically connected with the battery pack in a control list; and determining a discharging module electrically connected with the battery pack according to the identification characters stored in the control list.
The determining the number of discharge modules electrically connected with the battery pack according to the discharge information includes: and determining the number of discharging modules electrically connected with the battery pack according to the number of the identification characters stored in the control list.
The identification characters corresponding to the discharging modules electrically connected with the battery pack are stored in the control list, so that the discharging device can identify the battery packs electrically connected with different discharging modules, and can control the discharging battery packs to discharge stably and orderly, the efficiency of charging the electric equipment is further improved, the over-discharge of the battery packs is avoided, and the safety of the discharging device is improved.
Sixth aspect, with reference to fig. 8, the present embodiment provides a discharging method based on the content of the fifth aspect, where the discharging method 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 charger that includes a plurality of battery packs.
The discharge method includes:
first, the discharge device is prepared to enter a discharge state by receiving a discharge trigger signal transmitted by pressing the discharge switch 2.
And then, judging whether the input of the discharge device has voltage, if so, continuously judging whether all discharge modules are in an OTG mode, otherwise, proving that the input voltage of the discharge device exists and the discharge device is in a charging state, and if so, finishing the discharge if the discharge device cannot discharge through the OTG mode. If the OTG mode is adopted, the discharging device is in a discharging state at present, and the discharging method goes to the next step to judge the working voltage of the battery pack. And if the input of the discharging device has no voltage, the next step is carried out to judge the voltage of the battery pack. Before the voltage of the battery pack is judged, the number of the battery packs electrically connected with the discharging module needs to be determined, and the battery packs electrically connected with the discharging module are sequenced so as to control the battery packs electrically connected with the discharging module to discharge in sequence.
Then, judging whether the working voltage V of the battery pack 1 is greater than a fourth threshold voltage V0, if so, controlling the battery pack 1 to discharge, specifically, turning on the switching switch submodule 51S1 corresponding to the battery pack 1 and turning off other switching switch submodules 51; if not, whether the working voltage V of the battery pack 2 is greater than the fourth threshold voltage V0 is determined, and if so, the battery pack 2 is controlled to discharge, specifically, the switch submodule 51S2 corresponding to the battery pack 2 is turned on, and other switches are turned off.
And finally, judging whether the working current I of the battery pack n is less than or equal to the threshold current I1, if not, entering the next step to continuously judge the working voltage of the battery pack n +1 and finishing discharging according to the flow of the jacket steps until the last battery pack is discharged. If the operating current I of the battery pack n is less than or equal to the threshold current I1, the control module 1 confirms that the output of the discharging device is no load and controls to turn off the output of the discharging device to reduce the loss of the battery pack.
Wherein sorting the battery packs comprises: and storing the identification characters corresponding to the charging modules electrically connected with the battery pack in a first storage column and sequencing the identification characters. The discharge method further includes: determining the arrangement sequence of the battery packs according to the arrangement sequence of the identification characters in the first storage column, such as: the battery pack 1, the battery packs 2 and … … and the battery pack n are positive integers.
Seventh aspect, with reference to fig. 9, the present embodiment provides a discharging system 400, which is applied to any multi-battery charging device with a discharging function, in the present embodiment, the multi-battery charging device is the multi-battery pack charging and discharging device in the first aspect. The discharging interface in the discharging device of the multi-battery pack is the charging and discharging interface 3 in the charging and discharging device of the multi-battery pack; the discharging module in the discharging device of the multi-battery pack is the charging and discharging module 5 in the charging and discharging device of the multi-battery pack; the discharge information is the charge and discharge information in the multi-point battery charge and discharge device; the discharging method is controlled by the micro-control submodule 12.
The discharge system 400 includes:
a discharge detection module 401 configured to detect a state of the discharge module;
a discharge obtaining module 402 configured to obtain discharge information according to a state of the discharge module, the discharge information including: the connection state of the discharging module and the battery pack;
a discharging determining module 403, configured to determine a discharging battery pack for discharging from at least one battery pack according to the discharging information, and turn on the switch submodule 51 corresponding to the discharging battery pack, so as to discharge the discharging battery pack;
a first discharge determination module 404 configured to determine whether a discharge battery pack needs to be replaced to continue discharging;
a discharge replacement module 405 configured to, when the discharge battery pack needs to be replaced to continue discharging, replace the discharge battery pack to continue discharging until the discharge battery pack does not exist in the at least one battery pack or until discharging is completed, stop discharging of the discharging device.
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 the selection submodule is configured to select a discharging battery pack which meets the power supply requirement of the electric equipment from the battery packs electrically connected with the discharging module according to the working voltage of the battery pack electrically connected with the discharging module and the power supply requirement of the electric equipment.
In an alternative embodiment, the discharge system 400 further comprises:
a second discharge determination module configured to determine whether the discharge device is in a charged state;
the discharging determining module 403 is further configured to determine a discharging battery pack for discharging in at least one battery pack according to the discharging information when the discharging apparatus is not in the charging state.
In an optional embodiment, the second discharge determining module includes:
a first discharge judgment submodule configured to judge whether an input voltage exists in the discharge interface;
the second discharge judgment submodule is configured to judge whether the OTG mode of the discharge device is started or not when the input voltage exists in the discharge interface, and if so, the discharge device is not in a charging state.
In an alternative embodiment, the discharge system 400 further comprises:
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 R, which is a natural number;
the discharge confirmation module includes: a third discharge judgment submodule configured to, when the OTG mode of the discharge device is turned on or when the input voltage does not exist in the discharge interface, set n to 1, and judge whether an operating voltage of a battery pack n is greater than or equal to a fourth threshold voltage, where the battery pack n is a discharge battery pack in which the nth cell pack is discharged; a first discharge execution submodule configured to execute a discharge switch control submodule when an 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 51 corresponding to the battery pack n and turn off the other switch submodules 51; a fourth discharge judgment submodule configured to judge whether or not the operating current of the battery pack n is less than or equal to a threshold current; the second discharge execution submodule is configured to execute a fifth discharge judgment submodule when the working current of the battery pack n is larger than the threshold current; the fifth discharge judgment submodule is configured to judge whether the working voltage of the battery pack n is greater than or equal to a fifth threshold voltage, and the fifth threshold voltage comprises a fourth threshold voltage; a third discharge execution submodule 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 discharge update submodule configured to add 1 to n to update n; a sixth discharge judgment sub-module configured to judge whether the updated n is less than or equal to R; a fourth discharge execution sub-module configured to execute the fifth discharge judgment sub-module when the updated n is less than or equal to R; a discharge shutdown submodule configured to shut down the discharge device when the updated n is greater than R or when an 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 51 corresponding to the battery pack n is turned on when the working voltage of the battery pack n is greater than or equal to a fifth threshold voltage; a fifth discharge execution submodule configured to execute the fourth discharge judgment submodule when the change-over switch submodule 51 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 51 corresponding to the battery pack n is not turned on; a seventh discharge execution submodule configured to execute the discharge update submodule when the operating voltage of the battery pack n is less than a fourth threshold voltage.
In an alternative embodiment, each discharge module is provided with a unique identification character. The discharge acquisition module 402 includes: an eighth discharge judgment submodule configured to judge whether there is a discharge module electrically connected to the battery pack; the discharge storage submodule is configured to store the identification characters corresponding to the discharge module electrically connected with the battery pack in the control list when the discharge module electrically connected with the battery pack exists; the discharge determining submodule is configured to determine a discharge module electrically connected with 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 with the battery pack according to the number of identification characters stored in the control list.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A charging method applied to a charging device, the charging device comprising: the charging system comprises a control module, a charging interface and at least one charging module;
the charging interface is electrically connected with the charging module; each charging module is used for being electrically connected with a device to be charged so as to provide electric energy for the device to be charged;
the control module is used for controlling the charging module when the charging interface is connected with an external power supply so that the external power supply can charge the corresponding device to be charged;
the charging module includes: one end of the change-over switch submodule is electrically connected with the control module, and the change-over switch submodule is used for controlling the on-off of a corresponding device to be charged and the charging interface;
the charging method comprises the following steps:
judging whether the input voltage of the external power supply is within a preset voltage range;
when the input voltage of the external power supply is within the preset voltage range, detecting the state of the charging module;
according to the state of the charging module, acquiring charging information, wherein the charging information comprises: the connection state of the charging module and the device to be charged;
judging whether the change-over switch submodule is started according to the charging information, and starting the change-over switch submodule electrically connected with the device to be charged when the change-over switch submodule electrically connected with the device to be charged is not started so as to enable the charging interface to be conducted with the corresponding device to be charged;
detecting the working voltage of a device to be charged which is communicated with the charging interface;
controlling the device to be charged to enter different charging modes for charging according to the working voltage of the device to be charged, wherein the charging modes comprise: at least two of a pre-charge mode, a constant current charge mode, and a constant voltage charge mode.
2. The charging method according to claim 1, wherein the charging module further comprises: a charge and discharge submodule;
the charge and discharge sub-module is electrically connected with the other end of the corresponding change-over switch sub-module;
the charging and discharging submodule is used for being electrically connected with a device to be charged and providing a charging and discharging circuit for the corresponding device to be charged so as to charge or discharge the corresponding device to be charged;
before the determining whether the input voltage of the external power supply is within the preset voltage range, the method further includes:
judging whether a device to be charged is in a discharging state or not;
whether the input voltage of the external power supply is within the preset voltage range is judged, and the method comprises the following steps: and when the device to be charged is not in the discharging state, judging whether the input voltage of the external power supply is within a preset voltage range.
3. The charging method of claim 1, wherein the charging information further comprises: the residual electric quantity of the device to be charged is electrically connected with the charging module;
when the change over switch submodule that is connected with the device electricity that waits to charge is not opened, open the change over switch submodule that is connected with the device electricity that waits to charge to make the interface that charges and corresponding device electricity that waits to charge switch on, still include:
determining a device to be charged which needs to be charged in the devices to be charged electrically connected with the charging module according to the residual electric quantity of the devices to be charged electrically connected with the charging module;
and opening a change-over switch submodule corresponding to the device to be charged which needs to be charged so as to enable the charging interface to be communicated with the corresponding device to be charged.
4. The charging method according to claim 1, wherein each charging module corresponds to a unique identification character;
the charging method further comprises:
acquiring an identification character corresponding to a charging module electrically connected with a device to be charged;
storing identification characters corresponding to a charging module electrically connected with a device to be charged in a first storage column, and sequencing the identification characters in the first storage column;
determining the arrangement sequence of the devices to be charged according to the arrangement sequence of the identification characters in the first storage column;
the control is waited to charge the device and is got into different charge modes and charge according to waiting the operating voltage of device, includes:
and sequentially detecting the working voltage of the devices to be charged according to the arrangement sequence of the devices to be charged, and sequentially controlling the devices to be charged to enter different charging modes for charging according to the working voltage of the devices to be charged.
5. The charging method according to claim 1, wherein the controlling the device to be charged to enter different charging modes for charging according to the operating voltage of the device to be charged comprises:
determining the number of charging modules communicated with the charging interfaces, and recording the number as N, wherein N is a natural number;
acquiring Vn when n is 1, wherein the Vn is the working voltage of the nth device to be charged in the devices to be charged electrically connected with the charging module;
judging whether Vn is smaller than a first threshold voltage or not;
when Vn is smaller than a first threshold voltage, controlling a device to be charged corresponding to Vn to enter a pre-charging mode for charging;
adding 1 to n to update n;
judging whether the updated N is less than or equal to N;
when the updated N is less than or equal to N, executing the step of judging whether the Vn is less than a first threshold voltage;
when the updated N is larger than N, executing the step of judging whether the input voltage of the external power supply is within a preset voltage range, or executing the step of acquiring charging information according to the state of the charging module, or executing the step of judging whether a switch submodule is started according to the charging information, or executing the step of acquiring Vn when N is 1;
when Vn is not less than a first threshold voltage, judging whether Vn is less than or equal to a second threshold voltage, wherein the second threshold voltage is greater than the first threshold voltage;
when Vn is smaller than or equal to a second threshold voltage, controlling a device to be charged corresponding to Vn to enter a constant current charging mode for charging, and executing the step of adding 1 to n to update n;
when Vn is greater than a second threshold voltage, judging whether Vn is less than a third threshold voltage, wherein the third threshold voltage is greater than the second threshold voltage;
when Vn is smaller than a third threshold voltage, controlling a device to be charged corresponding to Vn to enter a constant voltage charging mode for charging, and executing the step of adding 1 to n to update n;
when Vn is not less than the third threshold voltage, disconnecting a switch submodule electrically connected with a device to be charged corresponding to Vn, and executing the step of adding 1 to n to update n;
each charging module corresponds to a unique identification character;
the charging method further comprises:
acquiring an identification character of each charging module;
respectively storing the identification characters of each charging module in a first storage column, and sequencing the identification characters in the first storage column;
storing the connection state of each charge-discharge module and the battery pack in a second storage column;
the connection state of each charge-discharge module and each battery pack corresponds to the corresponding identification character;
the control is waited to charge the device and is got into different charge modes and charge according to waiting the operating voltage of device, includes:
sequentially detecting the working voltage of the corresponding devices to be charged according to the information stored in the first storage column and the second storage column, and sequentially controlling the devices to be charged to enter different charging modes for charging according to the working voltage of the devices to be charged;
the charging method further comprises: and when the updated N is larger than N, judging whether the connection state of the charging module and the device to be charged is changed or not according to the detected connection state of the charging module and the device to be charged, and if so, adjusting the information stored in the first storage column or/and the information stored in the second storage column.
6. A charging system, wherein the system is applied to a charging device, and the charging device comprises: the charging system comprises a control module, a charging interface and at least one charging module;
the charging interface is electrically connected with the charging module;
each charging module is used for being electrically connected with a device to be charged so as to provide electric energy for the device to be charged;
the control module is used for controlling the charging module when the charging interface is connected with an external power supply so that the external power supply can charge the corresponding device to be charged;
the charging module includes: one end of the change-over switch submodule is electrically connected with the control module, and the change-over switch submodule is used for controlling the on-off of a corresponding device to be charged and the charging interface;
the charging system includes:
the first judgment module is configured to judge whether the input voltage of the external power supply is within a preset voltage range;
a first detection module configured to detect a state of the charging module when an input voltage of the external power supply is within the preset voltage range;
a first obtaining module configured to obtain charging information according to a state of a charging module, the charging information including: the connection state of the charging module and the device to be charged;
the second judgment module is configured to judge whether the switch submodule is started according to the charging information, and when the switch submodule electrically connected with the device to be charged is not started, the switch submodule electrically connected with the device to be charged is started so that the charging interface is conducted with the corresponding device to be charged;
the second detection module is configured to detect the working voltage of the device to be charged which is conducted with the charging interface;
the charging control module 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, and the charging modes comprise: at least two of a pre-charge mode, a constant current charge mode, and a constant voltage charge mode.
7. The charging system of claim 6, wherein the charging module further comprises: a charge and discharge submodule;
the charge and discharge sub-module is electrically connected with the other end of the corresponding change-over switch sub-module;
the charging and discharging submodule is used for being electrically connected with a device to be charged and providing a charging and discharging circuit for the corresponding device to be charged so as to charge or discharge the corresponding device to be charged;
the system further comprises:
the third judging module is configured to judge whether a device to be charged is in a discharging state before judging whether the input voltage of the external power supply is within a preset voltage range;
the first judging module is further configured to judge whether the input voltage of the external power supply is within a preset voltage range when the device to be charged is not in a discharging state.
8. The charging system of claim 6, wherein the charging information further comprises: the residual electric quantity of the device to be charged is electrically connected with the charging module;
the second judging module further includes:
the first determining submodule is configured to determine a device to be charged, which needs to be charged, in the devices to be charged electrically connected with the charging module according to the residual electric quantity of the device to be charged electrically connected with the charging module;
and the starting submodule is configured to start the change-over switch submodule corresponding to the to-be-charged device to be charged so as to enable the charging interface to be conducted with the corresponding to-be-charged device.
9. The charging system of claim 6, wherein each charging module corresponds to a unique identification character;
the charging system further includes:
the second acquisition module is configured to acquire an identification character corresponding to a charging module electrically connected with the device to be charged;
the first storage module is configured to store the identification characters corresponding to the charging module electrically connected with the device to be charged in a first storage column and sort the identification characters in the first storage column;
the determining module is configured to determine the arrangement sequence of the devices to be charged according to the arrangement sequence of the identification characters in the first storage column;
the charging control module is further configured to sequentially detect the working voltages of the devices to be charged according to the arrangement sequence of the devices to be charged, and sequentially control the devices to be charged to enter different charging modes for charging according to the working voltages of the devices to be charged.
10. The charging system of claim 6, wherein the charging control module comprises:
the second determining submodule is configured to determine the number of the charging modules which are communicated with the charging interface and record the number of the charging modules as N, wherein N is a natural number;
an acquisition sub-module configured to acquire Vn when n is 1, the Vn being an operating voltage of an nth device to be charged among devices to be charged electrically connected to the charging module;
a first judgment sub-module configured to judge whether Vn is smaller than a first threshold voltage;
the first control submodule is configured to control a device to be charged corresponding to Vn to enter a pre-charging mode for charging when the Vn is smaller than a first threshold voltage;
an update submodule configured to add 1 to n to update n;
a second judgment submodule configured to judge whether the updated N is less than or equal to N;
a first execution sub-module configured to execute the first judgment sub-module when the updated N is less than or equal to N;
a second execution sub-module configured to execute the first judgment module, or execute the first obtaining module, or execute the second judgment module, or execute the obtaining sub-module when the updated N is greater than N;
a third judgment sub-module configured to judge whether Vn is less than or equal to a second threshold voltage, the second threshold voltage being greater than the first threshold voltage, when Vn is not less than the first threshold voltage;
the second control submodule is configured to control the device to be charged corresponding to the Vn to enter a constant current charging mode for charging and execute the updating submodule when the Vn is smaller than or equal to a second threshold voltage;
a fourth determining submodule configured to determine whether Vn is smaller than a third threshold voltage when Vn is larger than a second threshold voltage, the third threshold voltage being larger than the second threshold voltage;
the third control submodule is configured to control the device to be charged corresponding to the Vn to enter a constant voltage charging mode for charging and execute the updating submodule when the Vn is smaller than a third threshold voltage;
the disconnection submodule is configured to disconnect a switching switch submodule electrically connected with the to-be-charged device corresponding to Vn and execute the updating submodule when the Vn is not smaller than a third threshold voltage;
each charging module corresponds to a unique identification character;
the system further comprises:
a third obtaining module configured to obtain an identification character of each charging module;
the second storage module is configured to store the identification characters of each charging module in the first storage column respectively and sort the identification characters in the first storage column;
a third storage module configured to store a connection state of each charge and discharge module with the battery pack in the second storage column;
the connection state of each charge-discharge module and each battery pack corresponds to the corresponding identification character;
the charging control module is configured to sequentially detect the working voltages of the corresponding devices to be charged according to the information stored in the first storage column and the second storage column, and sequentially control the devices to be charged to enter different charging modes for charging according to the working voltages of the devices to be charged;
the charging system further includes:
the fourth judging module is configured to judge whether the connection state of the charging module and the device to be charged changes according to the detected connection state of the charging module and the device to be charged when the updated N is larger than N;
the adjusting module is configured to adjust the information stored in the first storage column or/and the information stored in the second storage column when the connection state of the charging module and the device to be charged changes.
CN202110828862.3A 2021-07-21 2021-07-21 Charging method and system Active CN113541259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110828862.3A CN113541259B (en) 2021-07-21 2021-07-21 Charging method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110828862.3A CN113541259B (en) 2021-07-21 2021-07-21 Charging method and system

Publications (2)

Publication Number Publication Date
CN113541259A true CN113541259A (en) 2021-10-22
CN113541259B CN113541259B (en) 2024-08-02

Family

ID=78088587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110828862.3A Active CN113541259B (en) 2021-07-21 2021-07-21 Charging method and system

Country Status (1)

Country Link
CN (1) CN113541259B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108565904A (en) * 2018-01-15 2018-09-21 欣旺达电子股份有限公司 The charging method and device of charging system
CN110768330A (en) * 2019-10-18 2020-02-07 湖南小步科技有限公司 Charging and discharging control method and device and UPS system
CN111546944A (en) * 2020-04-10 2020-08-18 吉利汽车研究院(宁波)有限公司 Charging voltage switching device, control method and automobile

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108565904A (en) * 2018-01-15 2018-09-21 欣旺达电子股份有限公司 The charging method and device of charging system
CN110768330A (en) * 2019-10-18 2020-02-07 湖南小步科技有限公司 Charging and discharging control method and device and UPS system
CN111546944A (en) * 2020-04-10 2020-08-18 吉利汽车研究院(宁波)有限公司 Charging voltage switching device, control method and automobile

Also Published As

Publication number Publication date
CN113541259B (en) 2024-08-02

Similar Documents

Publication Publication Date Title
CN101765958B (en) Apparatus and method for balancing of battery cell's charge capacity
CN112165156B (en) Charging/discharging device, battery system, charging/discharging control method, and storage medium
KR20010015453A (en) Method of discharging a plurality of secondary batteries and combination battery
CN101841176A (en) Charging method and charging system
CN114448010A (en) Charging and discharging control system and method and battery pack
CN218958568U (en) Backup power supply with bidirectional quick charging function
EP3771057A1 (en) Cell protection circuit and electronic device
CN101325342A (en) Charger for storage battery
CN101414758A (en) Power supply controller and control method
CN102231769A (en) Method for turning on mobile phone with over-discharged cell and mobile phone
CN110391682B (en) Battery charging and discharging circuit
CN116094114A (en) Mobile household energy storage system
CN109038754B (en) Battery pack balancing system and method for applying battery pack balancing system
CN113541256A (en) Discharge method and discharge system
JP2022045843A (en) Method, rated voltage adjustment device, and power storage device
CN2935483Y (en) External battery bag of portable digital equipment
CN219576668U (en) Mobile household energy storage system
CN113541259B (en) Charging method and system
CN106130093A (en) A kind of battery charge controller and method
CN113541258A (en) Charging and discharging device
CN216720949U (en) Charge-discharge protection device and starting power supply equipment
CN218243085U (en) Double-battery charging and discharging system and unmanned ship thereof
CN115308612A (en) Module battery deep over-discharge testing system and method
CN211830278U (en) Charging management system for rechargeable battery
CN111953029B (en) Power management control method and mobile device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant