CN118801498A - Charging and discharging control method and device, electronic device, and readable storage medium - Google Patents
Charging and discharging control method and device, electronic device, and readable storage medium Download PDFInfo
- Publication number
- CN118801498A CN118801498A CN202310382138.1A CN202310382138A CN118801498A CN 118801498 A CN118801498 A CN 118801498A CN 202310382138 A CN202310382138 A CN 202310382138A CN 118801498 A CN118801498 A CN 118801498A
- Authority
- CN
- China
- Prior art keywords
- battery
- charge
- discharge
- charging
- current
- 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
Links
Classifications
-
- H02J7/44—
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/425—Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
-
- H02J7/50—
-
- H02J7/80—
-
- H02J7/82—
-
- H02J7/825—
-
- H02J7/865—
-
- H02J7/94—
-
- H02J7/96—
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (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)
- Secondary Cells (AREA)
Abstract
The disclosure relates to a charge and discharge control method and device, an electronic device and a readable storage medium. The method comprises the following steps: acquiring equipment charge and discharge data of the electronic equipment acquired by a first fuel gauge, and acquiring second charge and discharge data of a second battery acquired by a second fuel gauge; determining first charge-discharge data of the first battery based on the device charge-discharge data and the second charge-discharge data; and respectively controlling the charge and discharge of the first battery and the second battery according to the first charge and discharge data and the second charge and discharge data. In this embodiment, through setting up an electricity meter and second battery circuit board and setting up an electricity meter on the mainboard to need not to set up the electricity meter at first battery circuit board, can reduce the size of first battery circuit board, avoid reducing the size of first battery, reach the purpose that need not to sacrifice battery capacity.
Description
Technical Field
The disclosure relates to the field of charging technologies, and in particular, to a charging and discharging control method and device, an electronic device, and a readable storage medium.
Background
The current electronic devices have increasingly high power consumption and require increasingly high capacity batteries to provide power. To avoid excessive single battery capacity, electronic devices are typically provided with two batteries, which may be the same or different in capacity. Taking an example that the electronic equipment is provided with two batteries with different capacities, the two batteries with different capacities can be used in parallel, and each battery is provided with an electricity meter; the electricity meter can model a battery, monitor the battery voltage by the electricity meter with tab leads to a circuit board, and use a protection chip with an interrupt (CNT) function to charge and discharge the battery.
However, providing the circuit boards for the two batteries separately causes the protective plate to have a large size, and limits the size of the batteries while the size of the electronic device remains unchanged, possibly resulting in a problem of sacrificing the battery capacity.
Disclosure of Invention
The present disclosure provides a charge and discharge control method and apparatus, an electronic device, and a readable storage medium to solve the deficiencies of the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a charge and discharge control method, which is applicable to an electronic device, where the electronic device includes a main board, a first battery circuit board, a second battery circuit board, and a power management chip; the first battery and the second battery are arranged in parallel; the main board is provided with a first electricity meter, and the second battery circuit board is provided with a second electricity meter; the method comprises the following steps:
acquiring equipment charge and discharge data of the electronic equipment acquired by the first fuel gauge, and acquiring second charge and discharge data of the second battery acquired by the second fuel gauge;
Determining first charge-discharge data of the first battery based on the device charge-discharge data and the second charge-discharge data;
And respectively controlling the charge and discharge of the first battery and the second battery according to the first charge and discharge data and the second charge and discharge data.
Optionally, controlling the charging and discharging of the first battery and the second battery according to the first charging and discharging data and the second charging and discharging data respectively includes:
when the voltage of the first battery is smaller than or equal to a first voltage threshold value and the voltage of the second battery is smaller than or equal to a second voltage threshold value, controlling the power management chip to output charging current; the charging current comprises a first charging current corresponding to the first battery and a second charging current corresponding to the second battery;
when the first charging current is determined to be less than or equal to a first current threshold, charging the first battery with the first charging current until the electric quantity of the first battery is equal to a first charging electric quantity threshold;
when the second charging current is determined to be less than or equal to a second current threshold, charging the second battery with the second charging current until the charge of the second battery is equal to a second charge threshold;
when the electric quantity display value is equal to a preset value, the power management chip is controlled to output charging current with a preset magnitude until the charging is finished.
Optionally, the method further comprises:
And controlling the power management chip to reduce the charging current when the voltage of the first battery is determined to be greater than the first voltage threshold or the voltage of the second battery is determined to be greater than the second voltage threshold.
Optionally, controlling the charging and discharging of the first battery and the second battery according to the first charging and discharging data and the second charging and discharging data respectively includes:
When the discharge voltage of the first battery is greater than or equal to a first discharge voltage threshold value and the voltage of the second battery is greater than or equal to a second discharge voltage threshold value, controlling the power management chip to output discharge current; the discharging current comprises a first discharging current corresponding to the first battery and a second discharging current corresponding to the second battery;
When the first discharging current is determined to be smaller than or equal to a first discharging current threshold value, controlling the first battery to output the first discharging current until the electric quantity of the first battery is 0;
when the second discharge current is determined to be less than or equal to a second discharge current threshold value, controlling the second battery to output the second discharge current until the electric quantity of the second battery is 0;
and when the electric quantity display value is equal to 0, controlling the electronic equipment to be powered off.
Optionally, the method further comprises:
And when the discharge voltage of the first battery is larger than the first discharge voltage threshold or the discharge voltage of the second battery is larger than the second discharge voltage threshold, the protection circuit is controlled to turn off the discharge switch.
Optionally, the method further comprises:
and acquiring an electric quantity display value of the electronic equipment according to the first electric quantity data in the first charge and discharge data and the second electric quantity data in the second charge and discharge data.
Optionally, acquiring the electric quantity display value of the electronic device according to the first electric quantity data in the first charge-discharge data and the second electric quantity data in the second charge-discharge data includes:
Acquiring full electric quantity of the first battery and the second battery respectively to obtain a first full electric quantity and a second full electric quantity;
acquiring a first weight value corresponding to the first battery according to the first full power quantity and the second full power quantity, and acquiring a second weight value corresponding to the second battery according to the first full power quantity and the second full power quantity;
and calculating an electric quantity weighted value according to the first electric quantity, the first weighted value, the second charge and discharge data and the second weighted value to obtain the electric quantity display value.
Optionally, the initial value of the second full charge amount is obtained through a learning mode of multiple charging and discharging.
Optionally, the initial value of the first full power is a required charging power between a charging cut-off voltage and a shutdown voltage of the first battery.
According to a second aspect of embodiments of the present disclosure, there is provided a charge-discharge control device adapted to an electronic apparatus including a main board, a first battery circuit board, a second battery circuit board, and a power management chip; the first battery and the second battery are arranged in parallel; the main board is provided with a first electricity meter, and the second battery circuit board is provided with a second electricity meter; the device comprises:
the device charge and discharge data acquisition module is used for acquiring the device charge and discharge data of the electronic device acquired by the first fuel gauge;
the second charge and discharge data acquisition module is used for acquiring second charge and discharge data of the second battery acquired by the second fuel gauge;
the first charge and discharge data acquisition module is used for determining first charge and discharge data of the first battery based on the charge and discharge data of the equipment and the second charge and discharge data;
And the battery charge and discharge control module is used for respectively controlling the charge and discharge of the first battery and the second battery according to the first charge and discharge data and the second charge and discharge data.
Optionally, the battery charge and discharge control module includes:
The charging current control module is used for controlling the power management chip to output charging current when the voltage of the first battery is smaller than or equal to a first voltage threshold value and the voltage of the second battery is smaller than or equal to a second voltage threshold value; the charging current comprises a first charging current corresponding to the first battery and a second charging current corresponding to the second battery;
a first battery charging module configured to charge the first battery with the first charging current when the first charging current is determined to be less than or equal to a first current threshold, until an amount of power of the first battery is equal to a first charge power threshold;
a second battery charging module configured to charge the second battery with the second charging current until the electric quantity of the second battery is equal to a second charging electric quantity threshold value when it is determined that the second charging current is less than or equal to a second current threshold value;
and the charging current output module is used for controlling the power management chip to output charging current with a preset size until the charging is finished when the electric quantity display value is equal to a preset value.
Optionally, the apparatus further comprises:
And the charging current reducing module is used for controlling the power management chip to reduce the charging current when the voltage of the first battery is determined to be larger than the first voltage threshold value or the voltage of the second battery is determined to be larger than the second voltage threshold value.
Optionally, the battery charge and discharge control module includes:
The discharging current control sub-module is used for controlling the power supply management chip to output the discharging current when the discharging voltage of the first battery is greater than or equal to a first discharging voltage threshold value and the voltage of the second battery is greater than or equal to a second discharging voltage threshold value; the discharging current comprises a first discharging current corresponding to the first battery and a second discharging current corresponding to the second battery;
The first battery discharging sub-module is used for controlling the first battery to output the first discharging current until the electric quantity of the first battery is 0 when the first discharging current is determined to be smaller than or equal to a first discharging current threshold value;
the second battery discharging sub-module is used for controlling the second battery to output the second discharging current until the electric quantity of the second battery is 0 when the second discharging current is determined to be smaller than or equal to a second discharging current threshold value;
And the electronic equipment shutdown sub-module is used for controlling the electronic equipment to be shut down when the electric quantity display value is equal to 0.
Optionally, the battery charge and discharge control module further includes:
and the discharging switch judging sub-module is used for controlling the protection circuit to turn off the discharging switch when the discharging voltage of the first battery is larger than the first discharging voltage threshold value or the discharging voltage of the second battery is larger than the second discharging voltage threshold value.
Optionally, the apparatus further comprises:
And the electric quantity display value acquisition module is used for acquiring the electric quantity display value of the electronic equipment according to the first electric quantity data in the first charge and discharge data and the second electric quantity data in the second charge and discharge data.
Optionally, the power display value obtaining module includes:
the full-power-quantity acquisition sub-module is used for respectively acquiring full power quantities of the first battery and the second battery to obtain a first full power quantity and a second full power quantity;
The first weight value acquisition sub-module is used for acquiring a first weight value corresponding to the first battery according to the first full power quantity and the second full power quantity;
the second weight value acquisition sub-module is used for acquiring a second weight value corresponding to the second battery according to the first full power quantity and the second full power quantity;
And the electric quantity display value acquisition sub-module is used for calculating an electric quantity weighted value according to the first electric quantity and the first weight value and the second charge and discharge data and the second weight value to obtain the electric quantity display value.
Optionally, the initial value of the second full charge amount is obtained through a learning mode of multiple charging and discharging.
Optionally, the initial value of the first full power is a required charging power between a charging cut-off voltage and a shutdown voltage of the first battery.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: the device comprises a main board, a first battery circuit board, a second battery circuit board, a power management chip, a processor and a memory, wherein the processor and the memory are arranged on the main board; the main board is provided with a first electricity meter, and the second battery circuit board is provided with a second electricity meter; the memory is used for storing a computer program executable by the processor;
wherein the processor is configured to execute a computer program in the memory to implement the method according to any of the first aspects.
Optionally, the first battery circuit board includes an identification chip; the power management chip is electrically connected with the identification chip and is used for carrying out identification matching on the first battery.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor, is capable of carrying out the method according to any one of the first aspects
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
as can be seen from the foregoing embodiments, the solution provided by the embodiments of the present disclosure may obtain the device charge and discharge data of the electronic device acquired by the first fuel gauge, and obtain the second charge and discharge data of the second battery acquired by the second fuel gauge; then, determining first charge-discharge data of the first battery based on the device charge-discharge data and the second charge-discharge data; and finally, respectively controlling the charge and discharge of the first battery and the second battery according to the first charge and discharge data and the second charge and discharge data. Like this, through setting up an fuel gauge and second battery circuit board setting up an fuel gauge on the mainboard in this embodiment to need not to set up the fuel gauge at first battery circuit board, can reduce the size of first battery circuit board, avoid reducing the size of first battery, reach the purpose that need not to sacrifice battery capacity.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram of an electronic device, according to an example embodiment.
Fig. 2 is a flowchart illustrating a charge and discharge control method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of controlling battery charging according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating a method of obtaining a power display value according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a method of controlling battery discharge according to an exemplary embodiment.
Fig. 6 is a block diagram of a first circuit board of a first battery, according to an example embodiment.
Fig. 7 is a flowchart illustrating a method of controlling battery charging according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a method of controlling battery discharge according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a charge and discharge control apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram of an electronic device, according to an example 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 embodiments described by way of example below are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus consistent with some aspects of the disclosure as detailed in the accompanying claims. The features of the following examples and embodiments may be combined with each other without any conflict.
In order to solve the technical problems, embodiments of the present disclosure provide a charge and discharge control method and apparatus, an electronic device, and a readable storage medium. The charge and discharge control method may be applied to electronic devices, which may include, but are not limited to, smart phones, tablet computers, personal assistants, etc. provided with 2 batteries. Referring to fig. 1, the electronic device includes a main board, a first battery circuit board, a second battery circuit board, and a power management chip; the first battery and the second battery are arranged in parallel; the main board is provided with a first fuel gauge, the second battery circuit board is provided with a second fuel gauge, so that the first fuel gauge can collect equipment charge and discharge data of the electronic equipment, and the second fuel gauge can collect second charge and discharge data of the second battery. The inventive concept of the present disclosure is that the first device charge and discharge data and the second charge and discharge data calculate the first charge and discharge data of the first battery, thereby achieving an effect that an electricity meter is provided at the first battery.
Fig. 2 is a flowchart illustrating a charge and discharge control method according to an exemplary embodiment. Referring to fig. 2, a charge and discharge control method includes steps 21 to 23.
In step 21, device charge and discharge data of the electronic device acquired by the first fuel gauge is acquired, and second charge and discharge data of the second battery acquired by the second fuel gauge is acquired.
In this embodiment, the processor of the electronic device may communicate with the first fuel gauge and the second fuel gauge, respectively, to obtain the charge and discharge data uploaded by the first fuel gauge and the second fuel gauge, respectively. Of course, the first electricity meter and the second electricity meter can store the collected charging and discharging data to the designated position, and the processor can read the charging and discharging data from the designated position according to time sequence. In an example, a first fuel gauge may store device charge and discharge data of an electronic device to a first designated location, and a second fuel gauge may store second charge and discharge data of a second battery to a second designated location. In this way, the processor can read the charge and discharge data from the first designated position and the second designated position, respectively.
It should be noted that the second charge and discharge data may include a charge voltage (V1), a charge current (I1), a present charge amount (RSOC 1), and a full charge amount (FCC 1) of the second battery during the charge and discharge. The device charge and discharge data may include a charge voltage (V), a charge current (I), a present power level (RSOC), and a full power level (FCC) of the electronic device during the charge and discharge. Wherein, full charge represents the amount of electricity accumulated from the process of rsoc=100% to the process of discharging rsoc=0% after the battery is full, wherein rsoc=0% represents the amount of electricity that the battery voltage drops to the shutdown voltage of 3.4V, i.e. the battery can release from full charge to shutdown. For convenience of description, the following embodiments refer to the full power of the first battery as the first full power, and the full power of the second battery as the second full power, to illustrate the difference.
In an example, the initial value (fcc_st2) of the second full charge of the second battery may be obtained by learning a multi-discharge charging method. For example, the charging and discharging operations are performed in accordance with the charging and discharging manner in the instructions for use of the second battery; after a plurality of repeated operations, the second electricity meter may acquire an initial value (fcc_st2) of the second full charge of the second battery.
In another example, the initial value of the first full charge level (fcc_st1) of the first battery may pass a required charge level between a charge cutoff voltage and a shutdown voltage of the first battery. For example, the first battery is charged to a charge cutoff voltage according to the charging method of the instruction of the first battery, and then the first battery is discharged to a shutdown voltage according to the discharging method, so that the electric quantity discharged by the first battery can be determined as the initial value (fcc_st1) of the first full-charge electric quantity.
It should be noted that, in the process of testing the full-power circuit, the first battery and the second battery are not assembled according to the scheme illustrated in fig. 1 but are separately tested. It is necessary to determine that the current amounts of electricity (RSOC) of the first battery and the second battery are both preset amounts of electricity, for example rsoc=95%, before assembling the first battery and the second battery. The electric quantity display value (UISOC) of the electronic equipment is 100%, namely, the electronic equipment is in a full-power state. The RSOC represents the current power of the battery, and may also be referred to as the remaining power of the battery or the power that the battery can release when the electronic device is turned off.
In step 22, first charge-discharge data of the first battery is determined based on the device charge-discharge data and the second charge-discharge data.
In this embodiment, the processor may obtain a difference between charge and discharge data of the device and the second charge and discharge data, to obtain first charge and discharge data of the first battery.
For example, the processor may obtain a device full power level (FCC 1) and a device current power level (RSOC) in the device charge-discharge data, and obtain a second full power level (FCC 2) and a second current power level (RSOC 2) in the second charge-discharge data. The processor may then obtain a power difference between the full power of the device and the second full power, the subsequent embodiment being referred to as a first full power (FCC 1); and obtaining a power difference value between the current power of the device and the second current power to obtain the current power of the first battery, wherein the subsequent embodiment is called as the first current power. For another example, the processor may obtain a charging current in the charging and discharging data of the device and a second current in the second charging and discharging data, and obtain a current difference between the two, that is, the first current of the first battery.
It should be noted that, the processor may obtain corresponding charge and discharge parameters from the charge and discharge data of the device and the second charge and discharge data according to actual requirements, so as to calculate parameter values corresponding to the first battery, for example, the first current electric quantity and the first full electric quantity. Finally, these parameter values constitute first charge-discharge data of the first battery.
In step 23, the first battery and the second battery are respectively controlled to be charged and discharged according to the first charging and discharging data and the second charging and discharging data.
In this embodiment, taking a charging process as an example, the processor may control the charging and discharging of the first battery and the second battery according to the first charging and discharging data and the second charging and discharging data, respectively, see fig. 3, including steps 31 to 34.
In step 31, when the voltage of the first battery is less than or equal to a first voltage threshold and the voltage of the second battery is less than or equal to a second voltage threshold, controlling the power management chip to output a charging current; the charging current comprises a first charging current corresponding to the first battery and a second charging current corresponding to the second battery.
In this step, the processor may acquire a first voltage threshold of the first battery and a voltage of the first battery, and then compare the voltage of the first battery with the first voltage threshold, thereby determining a magnitude relation between the voltage of the first battery and the first voltage threshold. The processor may determine that the first battery is in a full state when the voltage of the first battery is greater than the first voltage threshold, at which point the processor may end charging the first battery. The first voltage threshold refers to a voltage of the first battery under the condition of full power, for example, the first voltage threshold may be a maximum voltage of the first battery, or a product of a first preset voltage proportion (such as 95% -99%) and the maximum voltage of the first battery may be set according to a specific scenario, which is not limited herein.
In this step, the processor may acquire a second voltage threshold of the second battery and a voltage of the second battery, and then compare the voltage of the second battery with the second voltage threshold, thereby determining a magnitude relation between the voltage of the second battery and the second voltage threshold. When the voltage of the second battery is greater than the second voltage threshold, the processor may determine that the second battery is in a full state, at which point the processor may end charging the second battery. The second voltage threshold refers to a voltage of the second battery under the condition of full power, for example, the second voltage threshold may be a maximum voltage of the second battery, or a product of a second preset voltage proportion (such as 95% -99%) and the maximum voltage of the second battery, which may be set according to a specific scenario, and is not limited herein.
In this step, when the (current) voltage of the first battery is less than or equal to the first voltage threshold and the (current) voltage of the second battery is less than or equal to the second voltage threshold, the processor may control the Power management chip (Power MANAGEMENT IC, PMIC) to output the charging current. It is understood that the above-mentioned charging current is the total current of the electronic device, and may include a first charging current corresponding to the first battery and a second charging current corresponding to the second battery.
It should be noted that, when the first battery and the second battery need to be charged, the power management chip may output charging currents required by the two batteries; when one of the first battery and the second battery is charged and the other battery needs to be charged, the power management chip can output the charging current required by the battery until the battery is charged fully.
In step 32, when it is determined that the first charging current is less than or equal to a first current threshold, the processor may control the power management chip to charge the first battery with the first charging current until the charge of the first battery is equal to a first charge threshold. The first current threshold is the maximum current when the first battery is charged, or the product of the first preset current ratio (e.g. 95% -99%) and the maximum current of the first battery, which may be set according to a specific scenario, and is not limited herein.
In step 33, when it is determined that the second charging current is less than or equal to the second current threshold, the processor may control the power management chip to charge the second battery with the second charging current until the charge of the second battery is equal to the second charge threshold. The second current threshold is the maximum current when the second battery is charged, or the product of the second preset current ratio (e.g. 95% -99%) and the maximum current of the second battery, which may be set according to a specific scenario, and is not limited herein.
In step 34, when the power display value is equal to the preset value, the power management chip is controlled to output a charging current with a preset magnitude until the charging is finished. Wherein, the range of the preset value is 96% -100%, and in one example, the preset value is 100%.
In this step, the processor may obtain the power display value of the electronic device according to the first power data in the first charge and discharge data and the second power data in the second charge and discharge data. The first electric quantity data refer to current electric quantity data of the first battery, and the second electric quantity data refer to current electric quantity data of the second battery.
The processor may obtain the power display value of the electronic device according to the first power data in the first charge and discharge data and the second power data in the second charge and discharge data, see fig. 4, including steps 41 to 43.
In step 41, the processor may obtain full power of the first battery and the second battery, respectively, to obtain a first full power and a second full power. The first full power FCC1 and the second full power FCC2 may be obtained according to the scheme of step 22, which is not described herein.
In step 42, the processor may obtain a first weight value corresponding to the first battery according to the first full power and the second full power, and obtain a second weight value corresponding to the second battery according to the first full power and the second full power. For example, the first weight value is FCC 1/(FCC 1+fcc 2); the second weight value is FCC 2/(FCC 1+ FCC 2).
In step 43, the processor may calculate a power weighting value according to the first power quantity and the first weight value, and the second charge and discharge data and the second weight value, so as to obtain the power display value. For example UISOC =rsoc1×fcc 1/(FCC 1+fcc 2) +rsoc2×fcc 2/(FCC 1+fcc 2).
After the electric quantity display value is obtained, the processor can compare the magnitude relation between the electric quantity display value and the preset value, and when the electric quantity display value is equal to the preset value (such as 100%), the processor can control the power management chip to output charging current (such as 500mA, adjustable) with the preset magnitude until the charging is finished.
In this embodiment, taking a discharging process as an example, the processor may control the charging and discharging of the first battery and the second battery according to the first charging and discharging data and the second charging and discharging data, respectively, see fig. 5, including steps 51 to 54.
In step 51, when the discharge voltage of the first battery is greater than or equal to the first discharge voltage threshold and the voltage of the second battery is greater than or equal to the second discharge voltage threshold, controlling the power management chip to output a discharge current; the discharge current comprises a first discharge current corresponding to the first battery and a second discharge current corresponding to the second battery.
In this step, the processor may acquire a first discharge voltage threshold of the first battery and a discharge voltage of the first battery, and then compare the discharge voltage of the first battery with the first discharge voltage threshold, thereby determining a magnitude relation between the discharge voltage of the first battery and the first discharge voltage threshold. When the discharge voltage of the first battery is less than the first discharge voltage threshold, the processor may determine that the first battery is in a non-electric state, and at this time, the processor may control the protection circuit to turn off the discharge switch. The first discharging voltage threshold is a voltage which can be reached after the first battery is discharged, or a shutdown voltage of the electronic device. In an example, the first discharge voltage threshold is 3.4V.
In this step, the processor may acquire a second discharge voltage threshold of the second battery and a discharge voltage of the second battery, and then compare the discharge voltage of the second battery with the second discharge voltage threshold, thereby determining a magnitude relation between the discharge voltage of the second battery and the second discharge voltage threshold. When the discharge voltage of the second battery is smaller than the second discharge voltage threshold value, the processor can determine that the second battery is in a non-electric state, and the processor can control the protection circuit to turn off the discharge switch. The second discharging voltage threshold is a voltage which can be reached after the second battery is discharged, or a shutdown voltage of the electronic device. In an example, the second discharge voltage threshold is 3.4V.
In this step, when the discharge voltage of the first battery is greater than or equal to the first discharge voltage threshold and the discharge voltage of the second battery is greater than or equal to the second discharge voltage threshold, the processor may control the Power management chip (Power MANAGEMENT IC, PMIC) to output the charging current. It is understood that the above-mentioned discharging current is the total current of the electronic device, and may include a first discharging current corresponding to the first battery and a second discharging current corresponding to the second battery.
In step 52, when it is determined that the first discharge current is less than or equal to a first discharge current threshold, the processor may control the first battery to output the first discharge current until the charge of the first battery is 0.
In step 53, when it is determined that the second discharge current is less than or equal to a second discharge current threshold, the processor may control the second battery to output the second discharge current until the electric quantity of the second battery is 0.
In step 54, when the power display value is equal to 0, the electronic device is controlled to be turned off.
It can be understood that, in the discharging process of the battery, the calculation manner of the electric quantity display value is the same as the scheme illustrated in fig. 4, and will not be described herein.
The scheme provided by the embodiment of the disclosure can acquire the equipment charge and discharge data of the electronic equipment acquired by the first fuel gauge, and acquire the second charge and discharge data of the second battery acquired by the second fuel gauge; then, acquiring a charge-discharge data difference value of the charge-discharge data of the equipment and the second charge-discharge data to obtain first charge-discharge data of a first battery; and finally, respectively controlling the charge and discharge of the first battery and the second battery according to the first charge and discharge data and the second charge and discharge data. Like this, through setting up an fuel gauge and second battery circuit board setting up an fuel gauge on the mainboard in this embodiment to need not to set up the fuel gauge at first battery circuit board, can reduce the size of first battery circuit board, avoid reducing the size of first battery, reach the purpose that need not to sacrifice battery capacity.
A process of a charge and discharge control method provided in an embodiment of the present disclosure is described with reference to fig. 1, 6, 7, and 8. Fig. 6 is a block diagram of a battery circuit board of a first battery, which is shown in fig. 6, according to an exemplary embodiment, and includes a first protection module, a second protection module, and an identification chip, which may be electrically connected to a power management chip, for performing identification matching on the first battery, and only allowing charge and discharge of the battery that is matched through identification, thereby avoiding potential safety hazards caused by the battery that is not matched through identification, and improving safety of an electronic device.
For the first battery, the first current of the first battery can be obtained by subtracting the second current acquired by the second fuel gauge from the total current acquired by the first fuel gauge. The first current and the second current may be both a charging current or a discharging current. And then the detected battery voltage is combined to judge the charge and discharge state and the cut-off condition. The first electricity meter records the total charge and discharge electricity quantity Q, and the charge and discharge electricity quantity Q2 recorded by the second electricity meter is subtracted to obtain the charge and discharge electricity quantity Q1 of the first battery. And, FCC and RSOC and UISOC can be calculated in the manner described above.
For the second battery, the second fuel gauge may measure a second charging current I2 and a voltage V2 of the second battery; and detecting the voltage and the charge-discharge current of the second battery through the second fuel gauge, and judging the charge-discharge state and the cut-off condition. It is appreciated that the second fuel gauge may feed back RSOC2 for calculation UISOC.
Wherein UISOC is calculated as shown in formula (1).
UISOC=RSOC1*FCC1/(FCC1+FCC2)+RSOC2*FCC2/(FCC1+FCC2)(1)
In formula (1), RSOC2 and FCC2 may be provided by the second fuel gauge, and RSOC1 and FCC1 may be calculated from the device charge-discharge data provided by the first fuel gauge and the data provided by the second fuel gauge.
In this embodiment, referring to fig. 7, the charging process of the electronic device includes:
The charging process starts, the second electricity meter acquires a second full charge amount FCC2 of the second battery, and the first electricity meter updates the first full charge amount FCC1 according to the second full charge amount FCC 2. The processor may determine whether the current voltage of the first battery is greater than a first voltage threshold and whether the current voltage of the second battery is greater than a second voltage threshold. And stopping charging when the current voltage of the first battery is greater than the first voltage threshold and the current voltage of the second battery is greater than the second voltage threshold.
And when the current voltage of the first battery is smaller than or equal to the first voltage threshold value and the current voltage of the second battery is smaller than or equal to the second voltage threshold value, controlling the power management chip to output the charging current.
The processor judges whether the first charging current I1 of the first battery is larger than a first current threshold value, and when the first charging current I1 of the first battery is larger than the first current threshold value, the processor controls the power management chip to reduce the total charging current; when the current threshold is less than or equal to the first current threshold, the processor may control the power management chip to charge the first battery, at which time the first fuel gauge may detect the current voltage of the first battery. During the charging process, the electric quantity of the first battery keeps increasing, and the first electric quantity meter can detect the electric quantity of the first battery and judge whether the RSOC1 of the first battery is equal to 95%. The processor may control the protection circuit to turn off the switching device when RSOC1 is not equal to 95% and to continue charging the first battery when RSOC1 is equal to 95%.
The processor judges whether the second charging current I2 of the second battery is larger than a second current threshold value, and when the second charging current I2 of the second battery is larger than the second current threshold value, the processor controls the power management chip to reduce the total charging current; when the current threshold is less than or equal to the second current threshold, the processor may control the power management chip to charge the second battery, at which time the second fuel gauge may detect the present voltage of the second battery. During the charging process, the electric quantity of the second battery is kept increasing, and the second electric quantity meter can detect the electric quantity of the second battery and judge whether the RSOC2 of the second battery is equal to 95%. The processor may control the protection circuit to turn off the switching device when RSOC2 is not equal to 95% and to continue charging the second battery when RSOC2 is equal to 95%.
When the electric quantity display value is equal to 100%, the processor can control the power management chip to output 500mA of charging current until the charging is finished.
In this embodiment, referring to fig. 8, the electronic device discharging process includes:
The discharging process starts, the second electricity meter obtains a second full charge quantity FCC2 of the second battery, and the first electricity meter updates the first full charge quantity FCC1 according to the second full charge quantity FCC 2. The processor may determine whether the current voltage of the first battery is greater than or equal to a first discharge voltage threshold and whether the current voltage of the second battery is greater than or equal to a second voltage threshold. And stopping discharging when the current voltage of the first battery is smaller than the first discharging voltage threshold value and the current voltage of the second battery is smaller than the second voltage threshold value.
And when the current voltage of the first battery is greater than or equal to the first discharging voltage threshold value and the current voltage of the second battery is greater than or equal to the second voltage threshold value, controlling the power management chip to output the charging current.
The processor judges whether the first charging current I1 of the first battery is larger than a first discharging current threshold value, and when the first charging current I1 of the first battery is larger than the first discharging current threshold value, the processor controls the power management chip to reduce the total charging current; when the current threshold is less than or equal to the first current threshold, the processor may control the power management chip to charge the first battery, at which time the first fuel gauge may detect the current voltage of the first battery. During the charging process, the electric quantity of the first battery is reduced, and the first electric quantity meter can detect the electric quantity of the first battery and judge whether the RSOC1 of the first battery is equal to 0%. The processor may control the protection circuit to turn off the switching device when RSOC1 is not equal to 0% and continue discharging the first battery when RSOC1 is equal to 0%.
The processor judges whether the second discharging current I2 of the second battery is larger than a second discharging current threshold value, and when the second discharging current I2 is larger than the second discharging current threshold value, the processor controls the power management chip to reduce the total charging current; when the current value is less than or equal to the second discharge current threshold value, the processor can control the power management chip to discharge the second battery, and the second fuel gauge can detect the current voltage of the second battery. During discharging, the second battery's power is reduced, and the second power meter may detect the second battery's power and determine whether the second battery's RSOC2 is equal to 0%. The processor may control the protection circuit to turn off the switching device when RSOC2 is not equal to 0% and continue discharging the second battery when RSOC2 is equal to 0%.
When the power display value is equal to 0%, the processor can control the electronic device to be powered off.
In this way, the first fuel gauge can be arranged on the main board of the electronic equipment in the embodiment, so that the development and mass production cost of the first fuel gauge can be reduced, and the accuracy of the first fuel gauge is improved; the volume of the battery protection board adopting the two-board end electricity meter scheme at present can be reduced, and the battery capacity is increased.
On the basis of the charge and discharge control method provided by the embodiment of the disclosure, the embodiment of the disclosure also provides a charge and discharge control device which is suitable for electronic equipment, wherein the electronic equipment comprises a main board, a first battery circuit board, a second battery circuit board and a power management chip; the first battery and the second battery are arranged in parallel; the main board is provided with a first electricity meter, and the second battery circuit board is provided with a second electricity meter; referring to fig. 9, the apparatus includes:
a device charge and discharge data acquisition module 91, configured to acquire device charge and discharge data of the electronic device acquired by the first fuel gauge;
A second charge/discharge data acquisition module 92, configured to acquire second charge/discharge data of the second battery acquired by the second fuel gauge;
a first charge-discharge data acquisition module 93, configured to determine first charge-discharge data of the first battery based on the device charge-discharge data and the second charge-discharge data;
And a battery charge and discharge control module 94, configured to control charge and discharge of the first battery and the second battery according to the first charge and discharge data and the second charge and discharge data, respectively.
Optionally, the battery charge and discharge control module includes:
The charging current control module is used for controlling the power management chip to output charging current when the voltage of the first battery is smaller than or equal to a first voltage threshold value and the voltage of the second battery is smaller than or equal to a second voltage threshold value; the charging current comprises a first charging current corresponding to the first battery and a second charging current corresponding to the second battery;
a first battery charging module configured to charge the first battery with the first charging current when the first charging current is determined to be less than or equal to a first current threshold, until an amount of power of the first battery is equal to a first charge power threshold;
a second battery charging module configured to charge the second battery with the second charging current until the electric quantity of the second battery is equal to a second charging electric quantity threshold value when it is determined that the second charging current is less than or equal to a second current threshold value;
and the charging current output module is used for controlling the power management chip to output charging current with a preset size until the charging is finished when the electric quantity display value is equal to a preset value.
Optionally, the apparatus further comprises:
And the charging current reducing module is used for controlling the power management chip to reduce the charging current when the voltage of the first battery is determined to be larger than the first voltage threshold value or the voltage of the second battery is determined to be larger than the second voltage threshold value.
Optionally, the battery charge and discharge control module includes:
The discharging current control sub-module is used for controlling the power supply management chip to output the discharging current when the discharging voltage of the first battery is greater than or equal to a first discharging voltage threshold value and the voltage of the second battery is greater than or equal to a second discharging voltage threshold value; the discharging current comprises a first discharging current corresponding to the first battery and a second discharging current corresponding to the second battery;
The first battery discharging sub-module is used for controlling the first battery to output the first discharging current until the electric quantity of the first battery is 0 when the first discharging current is determined to be smaller than or equal to a first discharging current threshold value;
the second battery discharging sub-module is used for controlling the second battery to output the second discharging current until the electric quantity of the second battery is 0 when the second discharging current is determined to be smaller than or equal to a second discharging current threshold value;
And the electronic equipment shutdown sub-module is used for controlling the electronic equipment to be shut down when the electric quantity display value is equal to 0.
Optionally, the battery charge and discharge control module further includes:
and the discharging switch judging sub-module is used for controlling the protection circuit to turn off the discharging switch when the discharging voltage of the first battery is larger than the first discharging voltage threshold value or the discharging voltage of the second battery is larger than the second discharging voltage threshold value.
Optionally, the apparatus further comprises:
And the electric quantity display value acquisition module is used for acquiring the electric quantity display value of the electronic equipment according to the first electric quantity data in the first charge and discharge data and the second electric quantity data in the second charge and discharge data.
Optionally, the power display value obtaining module includes:
the full-power-quantity acquisition sub-module is used for respectively acquiring full power quantities of the first battery and the second battery to obtain a first full power quantity and a second full power quantity;
The first weight value acquisition sub-module is used for acquiring a first weight value corresponding to the first battery according to the first full power quantity and the second full power quantity;
the second weight value acquisition sub-module is used for acquiring a second weight value corresponding to the second battery according to the first full power quantity and the second full power quantity;
And the electric quantity display value acquisition sub-module is used for calculating an electric quantity weighted value according to the first electric quantity and the first weight value and the second charge and discharge data and the second weight value to obtain the electric quantity display value.
Optionally, the initial value of the second full charge amount is obtained through a learning mode of multiple charging and discharging.
Optionally, the initial value of the first full power is a required charging power between a charging cut-off voltage and a shutdown voltage of the first battery.
It should be noted that, the apparatuses and devices shown in the embodiments match the content of the method embodiments, and reference may be made to the content of the method embodiments described above, which is not described herein.
Fig. 10 is a block diagram of an electronic device, according to an example embodiment. For example, electronic device 1000 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, an electronic device 1000 may include one or more of the following components: a processing component 1002, a memory 1004, a power component 1006, a multimedia component 1008, an audio component 1010, an input/output (I/O) interface 1012, a sensor component 1014, a communication component 1016, and an image acquisition component 1018.
The processing component 1002 generally controls overall operation of the electronic device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 can include one or more processors 1020 to execute computer programs. Further, the processing component 1002 can include one or more modules that facilitate interaction between the processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the electronic device 1000. Examples of such data include computer programs, contact data, phonebook data, messages, pictures, videos, and the like for any application or method operating on the electronic device 1000. The memory 1004 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 supply component 1006 provides power to the various components of the electronic device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 1000. The power supply assembly 1006 may include a power chip and the controller may communicate with the power chip to control the power chip to turn on or off the switching device to power the motherboard circuit with or without the battery.
The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and a target object. 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 information from a target object. 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.
The audio component 1010 is configured to output and/or input audio file information. For example, the audio component 1010 includes a Microphone (MIC) configured to receive external audio file information when the electronic device 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio file information may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, the audio component 1010 further includes a speaker for outputting audio file information.
The I/O interface 1012 provides an interface between the processing assembly 1002 and peripheral interface modules, which may be a keyboard, click wheel, buttons, and the like.
The sensor assembly 1014 includes one or more sensors for providing status assessment of various aspects of the electronic device 1000. For example, the sensor assembly 1014 may detect an on/off state of the electronic device 1000, a relative positioning of the components, such as a display and keypad of the electronic device 1000, the sensor assembly 1014 may also detect a change in position of the electronic device 1000 or one of the components, the presence or absence of a target object in contact with the electronic device 1000, an orientation or acceleration/deceleration of the electronic device 1000, and a change in temperature of the electronic device 1000. In this example, the sensor assembly 1014 can include a magnetic force sensor, a gyroscope, and a magnetic field sensor, wherein the magnetic field sensor includes at least one of: hall sensors, thin film magneto-resistive sensors, and magnetic liquid acceleration sensors.
The communication component 1016 is configured to facilitate communication between the electronic device 1000 and other devices, either wired or wireless. The electronic device 1000 may access a wireless network based on a communication standard, such as WiFi,2G, 3G, 4G, 5G, or a combination thereof. In one exemplary embodiment, the communication component 1016 receives broadcast information or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1016 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 1000 can be implemented by one or more Application Specific Integrated Circuits (ASICs), digital information processors (DSPs), digital information processing devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements.
In an exemplary embodiment, a computer readable storage medium, such as memory 704 comprising instructions, is also provided, the executable computer program being executable by a processor. The readable storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (13)
1. The charge and discharge control method is characterized by being suitable for electronic equipment, wherein the electronic equipment comprises a main board, a first battery circuit board, a second battery circuit board and a power management chip; the first battery and the second battery are arranged in parallel; the main board is provided with a first electricity meter, and the second battery circuit board is provided with a second electricity meter; the method comprises the following steps:
acquiring equipment charge and discharge data of the electronic equipment acquired by the first fuel gauge, and acquiring second charge and discharge data of the second battery acquired by the second fuel gauge;
Determining first charge-discharge data of the first battery based on the device charge-discharge data and the second charge-discharge data;
And respectively controlling the charge and discharge of the first battery and the second battery according to the first charge and discharge data and the second charge and discharge data.
2. The method of claim 1, wherein controlling the charging and discharging of the first battery and the second battery, respectively, based on the first charging and discharging data and the second charging and discharging data, comprises:
when the voltage of the first battery is smaller than or equal to a first voltage threshold value and the voltage of the second battery is smaller than or equal to a second voltage threshold value, controlling the power management chip to output charging current; the charging current comprises a first charging current corresponding to the first battery and a second charging current corresponding to the second battery;
when the first charging current is determined to be less than or equal to a first current threshold, charging the first battery with the first charging current until the electric quantity of the first battery is equal to a first charging electric quantity threshold;
when the second charging current is determined to be less than or equal to a second current threshold, charging the second battery with the second charging current until the charge of the second battery is equal to a second charge threshold;
when the electric quantity display value is equal to a preset value, the power management chip is controlled to output charging current with a preset magnitude until the charging is finished.
3. The method according to claim 2, wherein the method further comprises:
And controlling the power management chip to reduce the charging current when the voltage of the first battery is determined to be greater than the first voltage threshold or the voltage of the second battery is determined to be greater than the second voltage threshold.
4. The method of claim 1, wherein controlling the charging and discharging of the first battery and the second battery, respectively, based on the first charging and discharging data and the second charging and discharging data, comprises:
When the discharge voltage of the first battery is greater than or equal to a first discharge voltage threshold value and the voltage of the second battery is greater than or equal to a second discharge voltage threshold value, controlling the power management chip to output discharge current; the discharging current comprises a first discharging current corresponding to the first battery and a second discharging current corresponding to the second battery;
When the first discharging current is determined to be smaller than or equal to a first discharging current threshold value, controlling the first battery to output the first discharging current until the electric quantity of the first battery is 0;
when the second discharge current is determined to be less than or equal to a second discharge current threshold value, controlling the second battery to output the second discharge current until the electric quantity of the second battery is 0;
and when the electric quantity display value is equal to 0, controlling the electronic equipment to be powered off.
5. The method according to claim 4, wherein the method further comprises:
And when the discharge voltage of the first battery is larger than the first discharge voltage threshold or the discharge voltage of the second battery is larger than the second discharge voltage threshold, the protection circuit is controlled to turn off the discharge switch.
6. The method according to claim 1, wherein the method further comprises:
and acquiring an electric quantity display value of the electronic equipment according to the first electric quantity data in the first charge and discharge data and the second electric quantity data in the second charge and discharge data.
7. The method of claim 6, wherein obtaining a power display value of the electronic device from first power data in the first charge-discharge data and second power data in the second charge-discharge data, comprises:
Acquiring full electric quantity of the first battery and the second battery respectively to obtain a first full electric quantity and a second full electric quantity;
acquiring a first weight value corresponding to the first battery according to the first full power quantity and the second full power quantity, and acquiring a second weight value corresponding to the second battery according to the first full power quantity and the second full power quantity;
and calculating an electric quantity weighted value according to the first electric quantity, the first weighted value, the second charge and discharge data and the second weighted value to obtain the electric quantity display value.
8. The method of claim 7, wherein the initial value of the second full charge is obtained by a learning manner of multiple charging and discharging.
9. The method of claim 7, wherein the initial value of the first full charge amount is a charge amount required between a charge cutoff voltage and a shutdown voltage of the first battery.
10. The charge and discharge control device is characterized by being suitable for electronic equipment, wherein the electronic equipment comprises a main board, a first battery circuit board, a second battery circuit board and a power management chip; the first battery and the second battery are arranged in parallel; the main board is provided with a first electricity meter, and the second battery circuit board is provided with a second electricity meter; the device comprises:
the device charge and discharge data acquisition module is used for acquiring the device charge and discharge data of the electronic device acquired by the first fuel gauge;
the second charge and discharge data acquisition module is used for acquiring second charge and discharge data of the second battery acquired by the second fuel gauge;
the first charge and discharge data acquisition module is used for determining first charge and discharge data of the first battery based on the charge and discharge data of the equipment and the second charge and discharge data;
And the battery charge and discharge control module is used for respectively controlling the charge and discharge of the first battery and the second battery according to the first charge and discharge data and the second charge and discharge data.
11. An electronic device, comprising: the device comprises a main board, a first battery circuit board, a second battery circuit board, a power management chip, a processor and a memory, wherein the processor and the memory are arranged on the main board; the main board is provided with a first electricity meter, and the second battery circuit board is provided with a second electricity meter; the memory is used for storing a computer program executable by the processor;
Wherein the processor is configured to execute the computer program in the memory to implement the method of any of claims 1-9.
12. The electronic device of claim 11, wherein the first battery circuit board comprises an identification chip; the power management chip is electrically connected with the identification chip and is used for carrying out identification matching on the first battery.
13. A computer readable storage medium, characterized in that a computer program executable in the storage medium is capable of implementing the method according to any one of claims 1-9 when executed by a processor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310382138.1A CN118801498A (en) | 2023-04-11 | 2023-04-11 | Charging and discharging control method and device, electronic device, and readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310382138.1A CN118801498A (en) | 2023-04-11 | 2023-04-11 | Charging and discharging control method and device, electronic device, and readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118801498A true CN118801498A (en) | 2024-10-18 |
Family
ID=93020351
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310382138.1A Pending CN118801498A (en) | 2023-04-11 | 2023-04-11 | Charging and discharging control method and device, electronic device, and readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118801498A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119742478A (en) * | 2025-03-03 | 2025-04-01 | 南方科技大学 | Lithium battery system charging and discharging method, system and device |
-
2023
- 2023-04-11 CN CN202310382138.1A patent/CN118801498A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119742478A (en) * | 2025-03-03 | 2025-04-01 | 南方科技大学 | Lithium battery system charging and discharging method, system and device |
| CN119742478B (en) * | 2025-03-03 | 2025-08-08 | 南方科技大学 | Lithium battery system charging and discharging method, system and equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107843802B (en) | Internal short circuit detection method and device | |
| EP3955014B1 (en) | Method and apparatus for obtaining residual electric quantity, and electronic device | |
| CN113036710B (en) | Method and device for obtaining battery status, battery, electronic device, and storage medium | |
| CN114844182A (en) | Charging circuit, charging method and electronic equipment | |
| CN106169798A (en) | High-voltage charging system, high-voltage charging battery and terminal unit | |
| CN115480179B (en) | A method, device and storage medium for predicting battery health | |
| CN113285499B (en) | Charging control method, electronic device, control device and storage medium | |
| CN118801498A (en) | Charging and discharging control method and device, electronic device, and readable storage medium | |
| KR101866772B1 (en) | Method for gauging remainder of battery on constant-current/constant-voltage charging and apparatus thereof | |
| US20060132097A1 (en) | Smart battery simulator | |
| CN106856339A (en) | Charging method, device and electronic equipment | |
| CN113193607A (en) | Battery charging method and device, electronic equipment and storage medium | |
| CN108874107B (en) | Control method and device for state of charge | |
| CN113451669A (en) | Charging method and device, electronic device and storage medium | |
| CN117348710A (en) | Equipment control method, device, medium, equipment and chip | |
| CN117318198A (en) | Terminal charging and discharging methods, devices, readable storage media and chips | |
| CN119231671A (en) | A charging method and device, terminal equipment, and storage medium | |
| CN114156957B (en) | Battery charging method, device and storage medium | |
| CN220754383U (en) | Electronic equipment | |
| CN113346564A (en) | Power management chip control method and device and terminal equipment | |
| CN113933717B (en) | Method and device for obtaining electric quantity of battery, battery and electronic equipment | |
| CN113517727B (en) | Shutdown method and device | |
| CN114069748B (en) | Charging method, charging device, electronic equipment and storage medium | |
| CN121325003A (en) | Methods, devices, equipment, storage media and chips for determining battery power | |
| CN119650912A (en) | Battery charging method, device, equipment, medium and product |
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 |