CN116111659A - Charging circuit, method, device, electronic equipment and medium - Google Patents

Charging circuit, method, device, electronic equipment and medium Download PDF

Info

Publication number
CN116111659A
CN116111659A CN202111318424.9A CN202111318424A CN116111659A CN 116111659 A CN116111659 A CN 116111659A CN 202111318424 A CN202111318424 A CN 202111318424A CN 116111659 A CN116111659 A CN 116111659A
Authority
CN
China
Prior art keywords
battery
charging
charge
branch
temperature
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.)
Pending
Application number
CN202111318424.9A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111318424.9A priority Critical patent/CN116111659A/en
Publication of CN116111659A publication Critical patent/CN116111659A/en
Pending legal-status Critical Current

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
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/441Methods for charging or discharging for several batteries or cells 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/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • 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/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • H02J7/007194Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature of the battery
    • 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/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • 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)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present disclosure relates to a charging circuit, a method, a device, an electronic device and a medium, wherein the charging circuit is connected with an external charging device, and comprises a first battery and a second battery which are arranged in parallel; the charging circuit comprises a charging circuit, and the external charging device is respectively connected with the first battery and the second battery through the charging circuit; the charging circuit comprises a first charging and discharging branch and a second charging and discharging branch, wherein the first charging and discharging branch is connected with the first battery, and the second charging and discharging branch is connected with the second battery. The charging circuit also comprises a control unit, and the control unit is used for controlling the on-off of the first charging and discharging branch and the on-off of the second charging and discharging branch. The first battery and the second battery in the present disclosure are arranged in parallel, the control unit controls the on-off of the first charging branch and the on-off of the second charging and discharging branch, so as to respectively complete the charging and discharging of the first battery and the second battery, realize the intelligent control technology of the electronic device, and satisfy the charging requirement of the electronic device.

Description

Charging circuit, method, device, electronic equipment and medium
Technical Field
The disclosure relates to the field of charging technologies, and in particular, to a charging circuit, a charging method, a charging device, an electronic device and a medium.
Background
With the development of technology, electronic devices such as mobile phones and tablet computers have become one of the indispensable articles in people's work and life. In order to meet the use demands of users, electronic devices are increasingly rich in functions, such as consumption, entertainment, communication, and the like. However, when users frequently use the electronic devices, power consumption of the electronic devices is increasing, and power consumption is too fast. Many electronic manufacturers employ a dual battery structure to increase the battery capacity of the electronic device.
However, the charging scheme of the dual battery structure requires a more complicated charging control technique than the charging scheme of the conventional single battery structure.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a charging circuit, a method, an apparatus, an electronic device, and a medium.
According to a first aspect of embodiments of the present disclosure, a charging circuit is provided and applied to an electronic device, where the charging circuit is connected with an external charging device, and the charging circuit includes a first battery and a second battery, and the first battery and the second battery are arranged in parallel;
the charging circuit comprises a charging circuit, and the external charging device is respectively connected with the first battery and the second battery through the charging circuit;
The charging circuit comprises a first charging and discharging branch and a second charging and discharging branch, wherein the first charging and discharging branch is connected with the first battery, and the second charging and discharging branch is connected with the second battery;
the charging circuit further comprises a control unit, wherein the control unit is used for controlling the on-off of the first charging and discharging branch and the on-off of the second charging and discharging branch.
Optionally, the charging circuit further includes a circuit board, and the circuit board is disposed in the second charging and discharging branch and is connected with the second battery.
Optionally, the charging circuit further comprises a battery protection chip in communication connection with the control unit;
the battery protection chip is provided with a first pin and a second pin, the first battery is connected with the battery protection chip through the first pin, and the second battery is connected with the battery protection chip through the second pin.
Optionally, the charging circuit further comprises a common charging branch and at least one fast charging branch, wherein the common charging branch and the fast charging branch are arranged in parallel;
the general charging branch is electrically connected with the external charging device, the first battery and the second battery respectively, and the quick charging branch is electrically connected with the external charging device, the first battery and the second battery respectively.
According to a second aspect of the embodiments of the present disclosure, a charging method is provided, which is applied to an electronic device, where the electronic device includes two batteries, a difference between electric quantities of the two batteries is within a preset range, and each battery corresponds to one charging and discharging branch, and the charging method includes:
respectively obtaining impedance parameters of the two charge and discharge branches;
according to the impedance parameters of the two charge and discharge branches, determining a battery corresponding to a smaller impedance parameter of the two impedance parameters as a first battery, and determining a battery corresponding to a larger impedance parameter of the two impedance parameters as a second battery;
in the charging process, a first charging and discharging branch connected with the first battery and a second charging and discharging branch connected with the second battery are both conducted, and when the charge quantity of the first battery reaches a first preset charge quantity, the first charging and discharging branch is disconnected, and the second charging and discharging branch is kept conducting;
when the current value of the second battery reaches the cut-off current, the first charge-discharge branch circuit is controlled to be switched into conduction by being disconnected, and the first charge-discharge branch circuit and the second charge-discharge branch circuit are simultaneously conducted to supply power for the electronic equipment.
Optionally, the method for disconnecting the first charge-discharge branch includes:
transmitting a first level signal to a first pin connected with the first charge-discharge branch in the battery protection chip;
the method for keeping the first charge-discharge branch circuit conductive comprises the following steps:
transmitting a second level signal to a first pin connected with the first charge-discharge branch in the battery protection chip;
the method for keeping the second charge-discharge branch circuit conductive comprises the following steps:
and sending a second level signal to a second pin connected with the second charge and discharge branch in the battery protection chip.
Optionally, the method further comprises:
acquiring first temperature information of the first battery and second temperature information of the second battery;
when the first temperature information and the second temperature information are higher than a first preset temperature, taking the battery temperature with larger numerical value in the first temperature information and the second temperature information as the battery temperature of the electronic equipment;
and when any one of the first temperature information and the second temperature information is smaller than or equal to a second preset temperature, taking the smaller value of the first temperature information and the second temperature information as the battery temperature of the electronic equipment.
Optionally, the method further comprises:
and when the battery temperature of the electronic equipment is larger than or equal to a third preset temperature, and/or when the battery temperature of the electronic equipment is smaller than or equal to a fourth preset temperature, reducing the current or voltage of the first battery and/or the second battery so as to reduce the battery temperature of the electronic equipment.
Optionally, the charging method further includes:
determining a first weight coefficient of the first battery and a second weight coefficient of the second battery;
respectively acquiring the charge quantity of the first battery and the charge quantity of the second battery;
and determining the battery electric quantity of the electronic equipment according to the first weight coefficient and the electric quantity of the first battery and the second weight coefficient and the electric quantity of the second battery.
Optionally, the determining the battery power of the electronic device according to the first weight coefficient and the charge amount of the first battery, and the second weight coefficient and the charge amount of the second battery includes:
the product of the first weight coefficient and the charge amount of the first battery is a first electric quantity of the first battery;
the product of the second weight coefficient and the charge amount of the second battery is the second charge amount of the second battery;
The battery power of the electronic device is the sum of the first power and the second power.
Optionally, the determining the first weight coefficient and the second weight coefficient includes:
respectively acquiring a first full charge capacity of the first battery and a second full charge capacity of the second battery;
and determining the first weight coefficient and the second weight coefficient according to the first full charge capacity and the second full charge capacity.
According to a third aspect of the embodiments of the present disclosure, there is provided a charging device applied to an electronic device, where the electronic device includes two batteries, a difference in electric quantity between the two batteries is within a preset range, and each battery corresponds to a charging and discharging branch, and the charging device includes:
the acquisition module is used for respectively acquiring impedance parameters of the two charge and discharge branches;
the determining module is used for determining that a battery corresponding to the smaller impedance parameter in the two impedance parameters is a first battery and determining that a battery corresponding to the larger impedance parameter in the two impedance parameters is a second battery according to the impedance parameters of the two charge and discharge branches;
the control module is used for switching on a first charge-discharge branch connected with the first battery and a second charge-discharge branch connected with the second battery in the charging process, and switching off the first charge-discharge branch when the charge quantity of the first battery reaches a first preset charge quantity so as to keep the second charge-discharge branch switched on;
When the current value of the second battery reaches the cut-off current, the first charge-discharge branch circuit is controlled to be switched into conduction by being disconnected, and the first charge-discharge branch circuit and the second charge-discharge branch circuit are simultaneously conducted to supply power for the electronic equipment.
Optionally, the control module is specifically configured to:
the method for disconnecting the first charge-discharge branch circuit comprises the following steps:
transmitting a first level signal to a first pin connected with the first charge-discharge branch in the battery protection chip;
the method for keeping the first charge-discharge branch circuit conductive comprises the following steps:
transmitting a second level signal to a first pin connected with the first charge-discharge branch in the battery protection chip;
the method for keeping the second charge-discharge branch circuit conductive comprises the following steps:
and sending a second level signal to a second pin connected with the second charge and discharge branch in the battery protection chip.
Optionally, the apparatus further comprises:
the control module is also used for acquiring first temperature information of the first battery and second temperature information of the second battery;
when the first temperature information and the second temperature information are higher than a first preset temperature, taking the battery temperature with larger numerical value in the first temperature information and the second temperature information as the battery temperature of the electronic equipment;
And when any one of the first temperature information and the second temperature information is smaller than or equal to a second preset temperature, taking the smaller value of the first temperature information and the second temperature information as the battery temperature of the electronic equipment.
Optionally, the apparatus further comprises:
the control module is further configured to reduce a current or a voltage of the first battery and/or the second battery when the battery temperature of the electronic device is greater than or equal to a third preset temperature and/or when the battery temperature of the electronic device is less than or equal to a fourth preset temperature, so as to reduce the battery temperature of the electronic device.
Optionally, the apparatus further comprises:
the control module is also used for determining a first weight coefficient of the first battery and a second weight coefficient of the second battery;
respectively acquiring the charge quantity of the first battery and the charge quantity of the second battery;
and determining the battery electric quantity of the electronic equipment according to the first weight coefficient and the electric quantity of the first battery and the second weight coefficient and the electric quantity of the second battery.
Optionally, the control module is further configured to:
the product of the first weight coefficient and the charge amount of the first battery is a first electric quantity of the first battery;
The product of the second weight coefficient and the charge amount of the second battery is the second charge amount of the second battery;
the battery power of the electronic device is the sum of the first power and the second power.
Optionally, the control module is further configured to:
respectively acquiring a first full charge capacity of the first battery and a second full charge capacity of the second battery;
and determining the first weight coefficient and the second weight coefficient according to the first full charge capacity and the second full charge capacity.
According to a fourth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor, a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the charging method as described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform a charging method as described above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: the first battery and the second battery are arranged in the electronic equipment, so that the cruising ability of the electronic equipment is improved. The first battery and the second battery are arranged in parallel, the control unit controls the on-off of the first charging branch and the on-off of the second charging and discharging branch, so that the charging and discharging of the first battery and the second battery are respectively completed, the intelligent control technology of the electronic equipment is realized, and the charging requirement of the electronic equipment is met.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a block diagram illustrating a charging method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a charging method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a charging method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a charging method according to an exemplary embodiment.
Fig. 5 is a block diagram of a charging device according to an exemplary embodiment.
Fig. 6 is a block diagram of an electronic device, shown in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
In the related art, in the charging scheme of the single cell structure, the number of the cells is unique, the charging control technology is simple, and the register of the fuel gauge chip can be directly read to acquire the information of the charging current, the temperature of the cells, the electric quantity of the cells and the like. When the charging current reaches the cut-off current, stopping charging so as to prevent the overcharge phenomenon; when the temperature information is abnormal, the charging current is adjusted to reduce the temperature of the battery; and the battery electric quantity does not need to be calculated, and can be directly obtained through an electric quantity meter register.
However, the charging control technology of the single-battery structure is not suitable for a double-battery structure, and the charging paths of the double-battery structure have impedance difference, so that the charging control technology is more complex, and a more accurate charging strategy is needed to ensure the safety in the charging process, thereby avoiding damage to the battery
The utility model provides a charging circuit is applied to electronic equipment, and charging circuit is connected with external charging device, and charging circuit includes first battery and second battery, and first battery and second battery parallel arrangement. The charging circuit comprises a charging circuit, and the external charging device is respectively connected with the first battery and the second battery through the charging circuit. The charging circuit comprises a first charging and discharging branch and a second charging and discharging branch, wherein the first charging and discharging branch is connected with the first battery, and the second charging and discharging branch is connected with the second battery. The charging circuit also comprises a control unit, and the control unit is used for controlling the on-off of the first charging and discharging branch and the on-off of the second charging and discharging branch. The first battery and the second battery are arranged in the electronic equipment, so that the cruising ability of the electronic equipment is improved. The first battery and the second battery are arranged in parallel, the control unit controls the on-off of the first charging branch and the on-off of the second charging and discharging branch, so that the charging and discharging of the first battery and the second battery are respectively completed, the intelligent control technology of the electronic equipment is realized, and the charging requirement of the electronic equipment is met.
In an exemplary embodiment, as shown in fig. 1, a charging circuit is applied to an electronic device, and the electronic device may be a mobile phone, a tablet computer, and the like.
The charging circuit is connected with the external charging device 1 so that the external charging device 1 can supply power for the charging circuit. The external charging device 1 may include an adapter and a data line, the data line is connected with the adapter in a plugging manner, and the adapter is connected with a mains supply. Of course, it should be understood that the external charging device 1 is not limited to the adapter and the data line, the external charging device 1 may be only a data line, the data line is connected with an electronic product, and the electronic product may be a computer, for example, so long as the charging circuit can be powered to realize the charging function.
The charging circuit comprises two batteries 2, the two batteries 2 are a first battery 21 and a second battery 22 respectively, and the first battery 21 and the second battery 22 are arranged in parallel, so that the charging and discharging process of the whole electronic equipment is simple, convenient and safe.
The charging circuit includes a charging circuit 3, and the external charging device 1 is connected to the first battery 21 and the second battery 22 through the charging circuit 3, so as to be convenient for a passage communicating with the first battery 21 and the second battery 22, and charge the first battery 21 and the second battery 22. The charging circuit 3 includes a first charging and discharging branch 31 and a second charging and discharging branch 32, the first charging and discharging branch 31 is connected with the first battery 21, and the second charging and discharging branch 32 is connected with the second battery 22.
The charging circuit further comprises a control unit 4, which control unit 4 may for example be a microcontroller, integrated on the motherboard of the electronic device. The control unit is used for controlling the on-off of the first charge-discharge branch 31 and the on-off of the second charge-discharge branch 32, so that the intelligent control technology of the electronic equipment is realized.
In this embodiment, as shown in fig. 1, the charging circuit further includes a circuit board 5, and the circuit board 5 may be, for example, a flexible circuit board (Flexible Printed Circuit, abbreviated as FPC), so that it has the characteristics of high wiring density, light weight, thin thickness, and good flexibility, and has high reliability. In order to improve the user experience, electronic devices have evolved into various forms, such as curved screen electronic devices, full screen electronic devices, or folded screen electronic devices.
In one example, when the electronic device forms a folded state, the electronic device includes a first folded region and a second folded region, the first battery 21 is connected to the main board and disposed in the first folded region, and the second battery 22 is disposed in the second folded region. Due to the folding characteristic, a flexible circuit board needs to be additionally arranged on one side of the second battery 22 to realize normal communication between the second battery 22 and the main board. One end of the flexible circuit board can be connected with the second battery 22, and the other end of the flexible circuit board can be connected to the main board of the electronic equipment through the connector in a buckling mode, and the flexible circuit board has good bending property, so that the flexible circuit board cannot be damaged when being bent, the service life of the circuit board 5 is prolonged, and the normal use of the second battery 22 is guaranteed.
In this embodiment, as shown in fig. 1, the charging circuit further includes a battery protection chip (not shown in the figure) communicatively connected to the control unit 4, so as to control the on-off of the first charging/discharging branch 31 and the on-off of the second charging/discharging branch 32 by sending a GPIO (General-purpose input/output) signal to the battery protection chip.
Wherein, be provided with first pin on the battery protection chip, first battery 21 is connected with the battery protection chip through first pin, and control unit 4 is through sending first level signal to the first pin that links to each other with first charge-discharge branch road 31 in the battery protection chip to break off first charge-discharge branch road 31, and control unit 4 is through sending second level signal to the first pin that links to each other with first charge-discharge branch road 31 in the battery protection chip to switch on first charge-discharge branch road 31. The battery protection chip is further provided with a second pin, and the second battery 22 is connected with the battery protection chip through the second pin. The manner in which the control unit 4 controls the on-off of the two charge-discharge branches 32 is the same as the manner in which the on-off of the first charge-discharge branch 31 is controlled, and a detailed description is omitted here.
In this embodiment, as shown in fig. 1, the charging circuit 3 further includes a common charging branch 33 and at least one fast charging branch 34, where the common charging branch 33 and the fast charging branch 34 are arranged in parallel. The common charging branch 33 is electrically connected with the external charging device 1 and the first battery 21 and the second battery 22, respectively, and the fast charging branch 34 is electrically connected with the external charging device 1 and the first battery 21 and the second battery 22, respectively.
The common charging branch 33 is a power management integrated circuit (Power Management IC, abbreviated as PMIC), the fast charging branch 34 is a charge pump (charge pump), and the voltage output by the external charging device 1 is subjected to boost conversion, so that the fast charging branch 34 can bear larger current than the common charging branch 33, thereby improving the charging rate and realizing the fast charging mode of the electronic equipment.
In the charging state, the charging process includes an initial charging stage and a tail end charging stage, where the initial charging stage usually employs the fast charging branch 34 to charge the first battery 21 and the second battery 22, and the charging current is greater than a preset value, for example, 200mA. The maximum current that the fast charging branch 34 can bear can be, for example, 5A, when the charging current is gradually changed from 5A to 200mA from the initial charging stage to the tail charging stage, the common charging branch 33 is used to charge the first battery 21 and the second battery 22, so as to save energy consumption.
It should be noted that one, two or more fast charging branches 34 may be provided to further increase the charging rate, particularly based on the actual design.
The present disclosure also proposes a charging method for controlling a charging circuit as described above, which method may be applied in the control unit of the electronic device hereinabove. The electronic device may be, for example, a mobile phone, a tablet computer, etc. The electronic device comprises a control unit, a register of the fuel gauge chip, a battery protection chip and two batteries, wherein the difference of the electric quantity between the two batteries is in a preset range, and the preset range can be 100MAH. The register of the fuel gauge chip is used for collecting information such as charging current, battery temperature, battery capacity and the like. Each battery corresponds to a charging and discharging branch, and the control unit can control the on-off of the charging and discharging branch so as to realize the charging and discharging state of the battery. Wherein the control unit may be a microcontroller.
As shown in fig. 2, the charging method in the present embodiment includes:
s110, respectively acquiring impedance parameters of the two charge and discharge branches.
In this step, the control unit 4 reads the registers of the fuel gauge chip to obtain the two charge-discharge branch impedance parameters. The impedance parameter may be, for example, a resistance value.
S120, according to the impedance parameters of the two charge and discharge branches, determining a battery corresponding to a smaller impedance parameter of the two impedance parameters as a first battery, and determining a battery corresponding to a larger impedance parameter of the two impedance parameters as a second battery.
In this step, as shown in fig. 1, the control unit 4 determines, according to the two charge and discharge impedance parameters, the battery corresponding to the smaller one of the two impedance parameters as the first battery 21, and the battery corresponding to the larger one of the two impedance parameters as the second battery 22.
Connected to the first battery 21 is a first charge and discharge branch 31, and connected to the second battery 22 is a second charge and discharge branch 32. The second charge-discharge branch 32 is provided with the circuit board 5, so that the total resistance value of the second charge-discharge branch 32 is the sum of the resistance value of the second battery 22 and the resistance value of the circuit board 5. The total resistance value of the first charge-discharge branch 31 is the resistance value of the first battery 21, the total resistance value of the second charge-discharge branch 32 is greater than the total resistance value of the first charge-discharge branch 31, and the current value of the first charge-discharge branch 31 path is greater than the current value of the second charge-discharge branch 32 path, resulting in that the full charge states of the first battery 21 and the second battery 22 are not synchronized. The two batteries are marked as a first battery 21 and a second battery 22, so that the registers of the fuel gauge chip can record parameter information of the first battery 21 and the second battery 22 respectively for reference, and the electronic equipment can be safely charged.
And S130, in the charging process, a first charging and discharging branch connected with the first battery and a second charging and discharging branch connected with the second battery are both conducted, and when the electric charge quantity of the first battery reaches a first preset electric charge quantity, the first charging and discharging branch is disconnected, and the second charging and discharging branch is kept conducting.
In this step, as shown in fig. 1, in the charging process, the control unit 4 obtains that the electric charges of the first battery 21 and the second battery 22 are lower than the first preset electric charges through the register of the electric meter chip, and controls the first charge-discharge branch 31 connected to the first battery 21 and the second charge-discharge branch 32 connected to the second battery 22 to be conducted so as to charge the first battery 21 and the second battery 22.
The control unit 4 obtains that the electric charge amount of the first battery 21 reaches the first preset electric charge amount through the register of the electric meter chip, and the control unit 4 controls the first charge-discharge branch 31 to be disconnected and keeps the second charge-discharge branch 32 to be conducted, so that the charging current totally flows into the second charge-discharge branch 32 to charge the second battery 22. The first predetermined charge amount may be, for example, 100%.
And S140, when the current value of the second battery reaches the cut-off current, the first charge-discharge branch circuit is controlled to be switched into conduction by being disconnected, and the first charge-discharge branch circuit and the second charge-discharge branch circuit are simultaneously conducted to supply power for the electronic equipment.
In step S130, as shown in fig. 1, when the control unit 4 obtains that the current value of the second battery 22 reaches the off-current through the register of the fuel gauge chip, the first charge and discharge branch 31 is controlled to be turned on, the first charge and discharge branch 31 and the second charge and discharge branch 32 are controlled to stop charging, and the first charge and discharge branch 31 and the second charge and discharge branch 32 are simultaneously turned on to supply power to the electronic device.
The method for disconnecting the first charge and discharge branch circuit comprises the following steps:
the control unit 4 sends a first level signal to a first pin connected to the first charge and discharge branch 31 in the battery protection chip to disconnect the first charge and discharge branch 31 and stop charging the first battery 21.
The method for keeping the first charge and discharge branch circuit on comprises the following steps:
the control unit 4 sends a second level signal to a first pin connected to the first charge-discharge branch 31 in the battery protection chip to conduct the first charge-discharge branch 31 so as to charge the first battery 21 continuously or supply power to the electronic device by the first battery 21.
The method for keeping the second charge and discharge branch circuit on comprises the following steps:
the control unit 4 sends a second level signal to a second pin connected to the second charge-discharge branch 32 in the battery protection chip to turn on the second charge-discharge branch 32 so as to charge the second battery 22 continuously or supply power to the electronic device by the second battery 22.
The first level signal is, for example, a high level signal, and the second level signal is, for example, a low level signal.
In the method in this embodiment, the external charging device charges the first battery and the second battery, and when the control unit obtains that the first battery reaches a first preset charge amount through the register of the fuel gauge chip, the control unit sends a first level signal to a first pin connected with the first charging and discharging branch in the battery protection chip, so as to disconnect the first charging and discharging branch, avoid the overcharge phenomenon of the first battery, and improve the safety during charging. When the control unit obtains that the current value of the second battery reaches the cut-off current through the register of the fuel gauge chip, the control unit sends a second level signal to a first pin connected with the first charge and discharge branch circuit in the battery protection chip so as to conduct the first charge and discharge branch circuit, the first battery and the second battery supply power for the electronic equipment at the same time, and the full charge capacity of the second battery meets the design requirement, namely, the full charge capacity is more than or equal to 98% of the minimum design capacity value of the battery, so that the phenomenon of overcharging can be effectively prevented.
The present disclosure also proposes a charging method for controlling a charging circuit as described above, which method may be applied in the control unit of the electronic device hereinabove. The electronic device may be, for example, a mobile phone, a tablet computer, etc. The electronic device comprises a control unit, a register of the fuel gauge chip, a battery protection chip and two batteries, wherein the difference of the electric quantity between the two batteries is in a preset range, and the preset range can be 100MAH. The register of the fuel gauge chip is used for collecting information such as charging current, battery temperature, battery capacity and the like. The two batteries respectively correspond to one charging and discharging branch, and the control unit can control the on-off of the charging and discharging branch so as to realize the charging and discharging states of the batteries. Wherein the control unit may be a microcontroller.
As shown in fig. 3, the charging method in the present embodiment includes:
s210, acquiring first temperature information of the first battery and second temperature information of the second battery.
In this step, as shown in fig. 1, the control unit 4 acquires the first temperature information of the first battery 21 and the second temperature information of the second battery 22 through the register of the fuel gauge chip.
S220, when the first temperature information and the second temperature information are higher than a first preset temperature, taking the battery temperature with larger numerical value in the first temperature information and the second temperature information as the battery temperature of the electronic equipment; and when any one of the first temperature information and the second temperature information is smaller than or equal to a second preset temperature, taking the smaller value of the first temperature information and the second temperature information as the battery temperature of the electronic equipment.
In step S210, as shown in fig. 1, when the control unit 4 obtains that both the first temperature information and the second temperature information are higher than the first preset temperature, the battery temperature of the electronic device is marked with the larger value in the first temperature information and the second temperature information, and the first preset temperature may be 50 ℃. When the control unit 4 obtains that any one of the first temperature information and the second temperature information is smaller than or equal to a second preset temperature, the smaller value in the first temperature information and the second temperature information is marked as the battery temperature of the electronic device, and the second preset temperature can be 20 ℃ for example.
When the battery temperature of the electronic device is between the third preset temperature and the fourth preset temperature, it indicates that the electronic device is in the safe temperature range, and the fast charging branch 34 is used to rapidly charge the first battery 21 and the second battery 22 by using the maximum charging voltage and the maximum charging current. Wherein the maximum charging voltage is lower than the rated voltage, ensuring that the first battery 21 and the second battery 22 are provided with a safe voltage, the maximum charging voltage being for example 4.48V.
When the battery temperature of the electronic device is greater than or equal to the third preset temperature, for example, the third preset temperature may be 55 ℃, which indicates that the electronic device is in a high temperature state, the control unit 4 switches the fast charging branch 34 to the common charging branch 33, so as to reduce the current or voltage of the first battery 21 and/or the second battery 22, so as to reduce the battery temperature of the electronic device, prevent the first battery 21 and/or the second battery 22 from being irreversibly damaged by incorrect voltage or current in the high temperature state, and further ensure the charging safety.
When the battery temperature of the electronic device is less than or equal to the fourth preset temperature, for example, the fourth preset temperature may be 15 ℃, which indicates that the electronic device is in a low temperature state, the control unit 4 switches the fast charging branch 34 to the common charging branch 33, and reduces the current or voltage of the first battery and/or the second battery, so as to change the battery temperature of the electronic device, and prevent the high voltage or the high current from causing loss to the first battery 21 and/or the second battery 22 in the low temperature state.
The method in this embodiment determines a battery temperature of the electronic device from the first temperature information of the first battery and the second temperature information of the second battery. The electronic equipment is charged by incorrect voltage or current under the influence of a low-temperature state and a high-temperature state, and the battery is easy to damage. Under different temperatures, different charging circuits are adopted, so that safe charging is realized, and the charging rate is effectively improved.
The present disclosure also proposes a charging method for controlling a charging circuit as described above, which method may be applied in the control unit of the electronic device hereinabove. The electronic device may be, for example, a mobile phone, a tablet computer, etc. The electronic device comprises a control unit, a register of the fuel gauge chip, a battery protection chip and two batteries, wherein the difference of the electric quantity between the two batteries is in a preset range, and the preset range can be 100MAH. The register of the fuel gauge chip is used for collecting information such as charging current, battery temperature, battery capacity and the like. The two batteries respectively correspond to one charging and discharging branch, and the control unit can control the on-off of the charging and discharging branch so as to realize the charging and discharging states of the batteries. Wherein the control unit may be a microcontroller.
As shown in fig. 4, the charging method in the present embodiment includes:
s310, determining a first weight coefficient of the first battery and a second weight coefficient of the second battery.
In this step, as shown in fig. 1, the control unit 4 determines a first weight coefficient of the first battery 21 and a second weight coefficient of the second battery 22.
In one example, the first weight coefficient and the second weight coefficient may be pre-stored in a register of the fuel gauge chip, so as to save a calculation process and improve charging efficiency.
In another example, batteries have a limited life cycle, and as the battery is used, the battery ages to a different degree, resulting in a full charge capacity (Full Charge Capacity, FCC for short) of the battery that has not reached a typical value for the design capacity of the battery. Thus, by means of the registers of the fuel gauge chip, a first full charge capacity of the first battery 21, denoted FCC1, and a second full charge capacity of the second battery 22, denoted FCC2, can be obtained in a real-time tracking manner. The control unit 4 determines the first weight coefficient W1 and the second weight coefficient W2 from the first full charge capacity and the second full charge capacity using the following formulas.
Figure BDA0003344370490000121
Figure BDA0003344370490000122
And S320, respectively acquiring the charge quantity of the first battery and the charge quantity of the second battery.
In this step, as shown in fig. 1, in order to accurately estimate the battery charge (SOC) of the electronic device, the register of the fuel gauge chip may acquire the current charge amount of the first battery 21 and the current charge amount of the second battery 22 in real time, and the control unit 4 may acquire the charge amount of the first battery 21, respectively, as SOC1, and as SOC2, through the register of the fuel gauge chip.
S330, determining the battery electric quantity of the electronic device according to the first weight coefficient and the electric quantity of the first battery, and the second weight coefficient and the electric quantity of the second battery.
In this step, as shown in fig. 1, the control unit 4 determines the battery power of the electronic device based on the first weight coefficient and the charge amount of the first battery, and the second weight coefficient and the charge amount of the second battery, and displays the battery power in the display screen of the electronic device, so as to facilitate the user to view.
The product of the first weight coefficient and the charge amount of the first battery is the first charge amount of the first battery, and the product of the second weight coefficient and the charge amount of the second battery is the second charge amount of the second battery.
The control unit 4 determines the battery power of the electronic device by using the following formula.
SOC=w1×SOC1+w2×SOC2
The battery power of the electronic device is the sum of the first power and the second power.
According to the method, the first full charge capacity and the second full charge capacity are used as weight factors, and the charge quantity of the first battery and the charge quantity of the second battery are weighted linearly, so that the battery capacity of the electronic equipment is calculated, the battery capacity of the electronic equipment is tracked in real time, and the influence caused by battery aging is effectively reduced.
According to the charging method provided by the disclosure, due to the difference of impedance parameters of the charging and discharging branches, the time difference of the full charge state of the first battery and the full charge state of the second battery is generated, and the charging stopping strategy is determined by monitoring the charge quantity of the first battery and the charge quantity of the second battery, so that the phenomenon of overcharging of the battery of the electronic equipment is avoided. And according to the charge quantity of the first battery, the charge quantity of the second battery and the weight factor, the battery electric quantity of the electronic equipment is determined, so that the user can check conveniently.
Meanwhile, the battery temperature of the electronic equipment is monitored by combining the first temperature information and the second temperature information, the voltage and the current in a high-temperature state or a low-temperature state are limited, the charging safety is ensured, the user experience is greatly improved, and irreversible damage to the battery is avoided.
The disclosure further provides a charging device, which is applied to electronic equipment, wherein the electronic equipment comprises two batteries, the electric quantity difference value between the two batteries is in a preset range, and each battery corresponds to one charging and discharging branch respectively.
In one exemplary embodiment, as shown in fig. 5, the charging device in this embodiment includes: the device in this embodiment is used to implement the method shown in fig. 2, and the obtaining module 110, the determining module 120, and the control module 130. In the implementation process, the obtaining module 110 is configured to obtain impedance parameters of the two charge and discharge branches respectively. The determining module 120 is configured to determine, according to the impedance parameters of the two charge and discharge branches, a battery corresponding to a smaller impedance parameter of the two impedance parameters as a first battery, and determine a battery corresponding to a larger impedance parameter of the two impedance parameters as a second battery. The control module 130 is configured to switch on both a first charge-discharge branch connected to the first battery and a second charge-discharge branch connected to the second battery during the charging process, and disconnect the first charge-discharge branch when the charge amount of the first battery reaches a first preset charge amount, so as to keep the second charge-discharge branch on;
when the current value of the second battery reaches the cut-off current, the first charge-discharge branch circuit is controlled to be switched into conduction by disconnection, and the first charge-discharge branch circuit and the second charge-discharge branch circuit are simultaneously conducted to supply power for the electronic equipment; wherein, the liquid crystal display device comprises a liquid crystal display device,
The control module 130 is specifically configured to send a first level signal to a first pin connected to a first charge-discharge branch in the battery protection chip; transmitting a second level signal to a first pin connected with a first charge-discharge branch in the battery protection chip; and sending a second level signal to a second pin connected with a second charge and discharge branch in the battery protection chip.
In one exemplary embodiment, as shown in fig. 5, the charging device in this embodiment includes: the device in this embodiment is used to implement the method shown in fig. 3, and the obtaining module 110, the determining module 120, and the control module 130. In an implementation process, the control module 130 is specifically configured to obtain the first temperature information of the first battery and the second temperature information of the second battery;
when the first temperature information and the second temperature information are higher than a first preset temperature, taking the battery temperature with larger numerical value in the first temperature information and the second temperature information as the battery temperature of the electronic equipment;
when any one of the first temperature information and the second temperature information is smaller than or equal to a second preset temperature, taking the smaller value of the first temperature information and the second temperature information as the battery temperature of the electronic equipment;
The control module 130 is further configured to reduce the current or the voltage of the first battery and/or the second battery when the battery temperature of the electronic device is greater than or equal to the third preset temperature and/or when the battery temperature of the electronic device is less than or equal to the fourth preset temperature, so as to reduce the battery temperature of the electronic device.
In one exemplary embodiment, as shown in fig. 5, the charging device in this embodiment includes: the device in this embodiment is used to implement the method shown in fig. 4, and the obtaining module 110, the determining module 120, and the control module 130. In an implementation process, the control module 130 is specifically configured to determine a first weight coefficient of the first battery and a second weight coefficient of the second battery;
respectively acquiring the charge quantity of the first battery and the charge quantity of the second battery;
determining the battery power of the electronic equipment according to the first weight coefficient and the charge quantity of the first battery, and the second weight coefficient and the charge quantity of the second battery;
the control module 130 is further configured to multiply the first weight coefficient by the charge amount of the first battery to obtain a first charge amount of the first battery;
the product of the second weight coefficient and the charge amount of the second battery is the second charge amount of the second battery;
the battery power of the electronic equipment is the sum of the first power and the second power;
The control module 130 is further configured to obtain a first full charge capacity of the first battery and a second full charge capacity of the second battery, respectively;
and determining a first weight coefficient and a second weight coefficient according to the first full charge capacity and the second full charge capacity.
A block diagram of an electronic device is shown in fig. 6. The present disclosure also provides an electronic device, a memory for storing executable instructions of a processor configured to perform a charging method as shown in fig. 2-4.
The electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 606 provides power to the various components of the electronic device 600. Power component 606 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
The multimedia component 608 includes a screen between the electronic device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. When the electronic device 600 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor assembly 614 may detect an on/off state of the electronic device 600, a relative positioning of the components, such as a display and keypad of the electronic device 600, the sensor assembly 614 may also detect a change in position of the electronic device 600 or a component of the electronic device 600, the presence or absence of a user's contact with the electronic device 600, an orientation or acceleration/deceleration of the electronic device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communication between the electronic device 600 and other devices, either wired or wireless. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi,2G, or 6G, or a combination thereof. In one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
A non-transitory computer readable storage medium, such as memory 604, including instructions executable by processor 620 of electronic device 600 to perform the above-described methods is provided in one exemplary embodiment of the present disclosure. For example, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc. The instructions in the storage medium, when executed by the processor of the electronic device, enable the electronic device to perform the methods illustrated in fig. 2-4 described above.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (20)

1. The charging circuit is applied to electronic equipment and is characterized by being connected with an external charging device, wherein the charging circuit comprises a first battery and a second battery, and the first battery and the second battery are arranged in parallel;
the charging circuit comprises a charging circuit, and the external charging device is respectively connected with the first battery and the second battery through the charging circuit;
The charging circuit comprises a first charging and discharging branch and a second charging and discharging branch, wherein the first charging and discharging branch is connected with the first battery, and the second charging and discharging branch is connected with the second battery;
the charging circuit further comprises a control unit, wherein the control unit is used for controlling the on-off of the first charging and discharging branch and the on-off of the second charging and discharging branch.
2. The charging circuit of claim 1, further comprising a circuit board disposed in the second charge and discharge branch and connected to the second battery.
3. The charging circuit of claim 1, further comprising a battery protection chip communicatively coupled to the control unit;
the battery protection chip is provided with a first pin and a second pin, the first battery is connected with the battery protection chip through the first pin, and the second battery is connected with the battery protection chip through the second pin.
4. The charging circuit of claim 1, wherein the charging circuit further comprises a common charging leg and at least one fast charging leg, the common charging leg and the fast charging leg being arranged in parallel;
The general charging branch is electrically connected with the external charging device, the first battery and the second battery respectively, and the quick charging branch is electrically connected with the external charging device, the first battery and the second battery respectively.
5. The charging method is applied to electronic equipment and is characterized by comprising two batteries, wherein the electric quantity difference value between the two batteries is within a preset range, each battery corresponds to one charging and discharging branch, and the charging method comprises the following steps:
respectively obtaining impedance parameters of the two charge and discharge branches;
according to the impedance parameters of the two charge and discharge branches, determining a battery corresponding to a smaller impedance parameter of the two impedance parameters as a first battery, and determining a battery corresponding to a larger impedance parameter of the two impedance parameters as a second battery;
in the charging process, a first charging and discharging branch connected with the first battery and a second charging and discharging branch connected with the second battery are both conducted, and when the charge quantity of the first battery reaches a first preset charge quantity, the first charging and discharging branch is disconnected, and the second charging and discharging branch is kept conducting;
When the current value of the second battery reaches the cut-off current, the first charge-discharge branch circuit is controlled to be switched into conduction by being disconnected, and the first charge-discharge branch circuit and the second charge-discharge branch circuit are simultaneously conducted to supply power for the electronic equipment.
6. The charging method according to claim 5, wherein,
the method for disconnecting the first charge-discharge branch circuit comprises the following steps:
transmitting a first level signal to a first pin connected with the first charge-discharge branch in the battery protection chip;
the method for keeping the first charge-discharge branch circuit conductive comprises the following steps:
transmitting a second level signal to a first pin connected with the first charge-discharge branch in the battery protection chip;
the method for keeping the second charge-discharge branch circuit conductive comprises the following steps:
and sending a second level signal to a second pin connected with the second charge and discharge branch in the battery protection chip.
7. The charging method according to claim 5, characterized in that the method further comprises:
acquiring first temperature information of the first battery and second temperature information of the second battery;
when the first temperature information and the second temperature information are higher than a first preset temperature, taking the battery temperature with larger numerical value in the first temperature information and the second temperature information as the battery temperature of the electronic equipment;
And when any one of the first temperature information and the second temperature information is smaller than or equal to a second preset temperature, taking the smaller value of the first temperature information and the second temperature information as the battery temperature of the electronic equipment.
8. The charging method according to claim 7, characterized in that the method further comprises:
and when the battery temperature of the electronic equipment is larger than or equal to a third preset temperature, and/or when the battery temperature of the electronic equipment is smaller than or equal to a fourth preset temperature, reducing the current or voltage of the first battery and/or the second battery so as to reduce the battery temperature of the electronic equipment.
9. The charging method according to claim 5, characterized in that the charging method further comprises:
determining a first weight coefficient of the first battery and a second weight coefficient of the second battery;
respectively acquiring the charge quantity of the first battery and the charge quantity of the second battery;
and determining the battery electric quantity of the electronic equipment according to the first weight coefficient and the electric quantity of the first battery and the second weight coefficient and the electric quantity of the second battery.
10. The method of charging of claim 9, wherein the determining the battery level of the electronic device based on the first weight coefficient and the charge level of the first battery, and the second weight coefficient and the charge level of the second battery comprises:
The product of the first weight coefficient and the charge amount of the first battery is a first electric quantity of the first battery;
the product of the second weight coefficient and the charge amount of the second battery is the second charge amount of the second battery;
the battery power of the electronic device is the sum of the first power and the second power.
11. The charging method of claim 9, wherein the determining the first weight coefficient and the second weight coefficient comprises:
respectively acquiring a first full charge capacity of the first battery and a second full charge capacity of the second battery;
and determining the first weight coefficient and the second weight coefficient according to the first full charge capacity and the second full charge capacity.
12. The utility model provides a charging device, is applied to electronic equipment, its characterized in that, electronic equipment includes two batteries, electric quantity difference between two batteries is in the preset range, every battery corresponds a charge and discharge branch road respectively, charging device includes:
the acquisition module is used for respectively acquiring impedance parameters of the two charge and discharge branches;
the determining module is used for determining that a battery corresponding to the smaller impedance parameter in the two impedance parameters is a first battery and determining that a battery corresponding to the larger impedance parameter in the two impedance parameters is a second battery according to the impedance parameters of the two charge and discharge branches;
The control module is used for switching on a first charge-discharge branch connected with the first battery and a second charge-discharge branch connected with the second battery in the charging process, and switching off the first charge-discharge branch when the charge quantity of the first battery reaches a first preset charge quantity so as to keep the second charge-discharge branch switched on;
when the current value of the second battery reaches the cut-off current, the first charge-discharge branch circuit is controlled to be switched into conduction by being disconnected, and the first charge-discharge branch circuit and the second charge-discharge branch circuit are simultaneously conducted to supply power for the electronic equipment.
13. The charging device according to claim 12, wherein the control module is specifically configured to:
transmitting a first level signal to a first pin connected with the first charge-discharge branch in the battery protection chip;
transmitting a second level signal to a first pin connected with the first charge-discharge branch in the battery protection chip;
and sending a second level signal to a second pin connected with the second charge and discharge branch in the battery protection chip.
14. The charging device of claim 12, wherein the device further comprises:
the control module is also used for acquiring first temperature information of the first battery and second temperature information of the second battery;
When the first temperature information and the second temperature information are higher than a first preset temperature, taking the battery temperature with larger numerical value in the first temperature information and the second temperature information as the battery temperature of the electronic equipment;
and when any one of the first temperature information and the second temperature information is smaller than or equal to a second preset temperature, taking the smaller value of the first temperature information and the second temperature information as the battery temperature of the electronic equipment.
15. The charging device of claim 14, wherein the device further comprises:
the control module is further configured to reduce a current or a voltage of the first battery and/or the second battery when the battery temperature of the electronic device is greater than or equal to a third preset temperature and/or when the battery temperature of the electronic device is less than or equal to a fourth preset temperature, so as to reduce the battery temperature of the electronic device.
16. The charging device of claim 12, wherein the device further comprises:
the control module is also used for determining a first weight coefficient of the first battery and a second weight coefficient of the second battery;
respectively acquiring the charge quantity of the first battery and the charge quantity of the second battery;
And determining the battery electric quantity of the electronic equipment according to the first weight coefficient and the electric quantity of the first battery and the second weight coefficient and the electric quantity of the second battery.
17. The charging device of claim 16, wherein the control module is further configured to:
the product of the first weight coefficient and the charge amount of the first battery is a first electric quantity of the first battery;
the product of the second weight coefficient and the charge amount of the second battery is the second charge amount of the second battery;
the battery power of the electronic device is the sum of the first power and the second power.
18. The charging device of claim 16, wherein the control module is further configured to:
respectively acquiring a first full charge capacity of the first battery and a second full charge capacity of the second battery;
and determining the first weight coefficient and the second weight coefficient according to the first full charge capacity and the second full charge capacity.
19. An electronic device, comprising:
a processor, a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the charging method of any one of claims 5-11.
20. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the charging method of any one of claims 5-11.
CN202111318424.9A 2021-11-09 2021-11-09 Charging circuit, method, device, electronic equipment and medium Pending CN116111659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111318424.9A CN116111659A (en) 2021-11-09 2021-11-09 Charging circuit, method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111318424.9A CN116111659A (en) 2021-11-09 2021-11-09 Charging circuit, method, device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN116111659A true CN116111659A (en) 2023-05-12

Family

ID=86258391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111318424.9A Pending CN116111659A (en) 2021-11-09 2021-11-09 Charging circuit, method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN116111659A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116707097A (en) * 2023-08-02 2023-09-05 荣耀终端有限公司 Charging and discharging method, device, chip and readable storage medium
CN116995781A (en) * 2023-09-22 2023-11-03 荣耀终端有限公司 Power supply circuit and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116707097A (en) * 2023-08-02 2023-09-05 荣耀终端有限公司 Charging and discharging method, device, chip and readable storage medium
CN116995781A (en) * 2023-09-22 2023-11-03 荣耀终端有限公司 Power supply circuit and electronic equipment
CN116995781B (en) * 2023-09-22 2024-03-22 荣耀终端有限公司 Power supply circuit and electronic equipment

Similar Documents

Publication Publication Date Title
CN107843802B (en) Internal short circuit detection method and device
CN108899952B (en) Multi-battery charging and discharging device and mobile terminal
CN108964182B (en) Reverse charging equipment, and method and device for adjusting reverse charging current
EP4047780A1 (en) Charging method and apparatus, electronic device and storage medium
CN108461834B (en) Battery pack structure, mobile terminal and charge-discharge control method
CN110829528A (en) Charging method, charging device and readable storage medium
CN116111659A (en) Charging circuit, method, device, electronic equipment and medium
CN109378878B (en) Charging circuit, charging processing method, electronic device, and storage medium
EP3846305A1 (en) Electronic device, charging method and device for the same, and computer-readable storage medium
CN113451669A (en) Charging method and device, electronic device and storage medium
CN113285499A (en) Charging control method, electronic device, control device, and storage medium
CN113036710A (en) Method and device for acquiring battery state, battery, electronic equipment and storage medium
CN216564606U (en) Charger and charging equipment
CN117318198A (en) Charging and discharging method and device of terminal, readable storage medium and chip
CN115706428A (en) Protection circuit board, charging and discharging system, and method and device for determining battery state
CN109560335B (en) Battery, charging and discharging method and device thereof, terminal and storage medium
CN115566745A (en) Charging and discharging protection system and method and electronic equipment
CN214479747U (en) Battery protection circuit, battery pack and terminal equipment
CN114268137A (en) Charging and discharging circuit, charging and discharging control method and electronic equipment
CN113675901A (en) Charging circuit, electronic device control method, charging control device, and storage medium
CN111600351A (en) Rechargeable battery, terminal device, charging method, charging system, and charging apparatus
CN113258150A (en) Charging method and device, electronic equipment and computer readable storage medium
CN105870994B (en) Terminal device
CN112701737B (en) Battery circuit, charging method and device and electronic equipment
CN219181211U (en) Electronic equipment

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