Method and device for obtaining battery power, battery, and electronic equipment
By using a fuel gauge in the battery and using the charging and discharging current of the battery cells to calculate the change in electric power, the problem of increased battery volume and cost caused by the increase in the number of electric cells is solved, and accurate acquisition of electric power and cost reduction are achieved.
Patent Information
- Application Number
- CN202010674764.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-14
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2040-07-14
AI Technical Summary
As the number of cells in a battery increases, a fuel gauge is provided for each cell in the existing technology, resulting in an increase in battery volume and cost.
By setting a fuel gauge in the battery, using the charging and discharging current of the battery core to obtain the change in quantity of electricity, and calculating the battery's quantity of electricity, the number of fuel gauges is reduced, and the size and cost of the battery and electronic equipment are reduced.
It achieves accurate acquisition of battery power without increasing battery volume and cost, and reduces production costs.
Smart Images

Figure CN113933717B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of battery technology, and in particular to a method and device for obtaining battery power, a battery, and an electronic device. Background Art
[0002] At present, with the development of fast charging technology, more and more electronic devices are using dual-cell design, which can achieve fast charging by controlling the working state of the dual-cell in series or in parallel. Considering the working state of the dual-cell, it is necessary to set a fuel gauge for each cell in the related technology to detect and manage the power of each cell. For example, each fuel gauge detects the power of the cell, and then adds the power of the two cells to get the power of the battery.
[0003] However, as the number of cells in the battery increases, the solution of providing a fuel meter for each cell in the related art will not only increase the volume of the battery or the volume of the electronic device, but also increase the cost of the electronic device. Summary of the invention
[0004] The present disclosure provides a method and device for obtaining battery power, a battery, and an electronic device to solve the deficiencies of related technologies.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for obtaining battery power is provided, wherein the battery includes at least two battery cells and a power meter, and the method is applicable to the power meter, including:
[0006] When the connection states of the at least two battery cells are switched, the charge and discharge current of each battery cell in the current connection state is obtained;
[0007] Obtaining a change in the amount of electricity of each battery cell according to the charge and discharge current;
[0008] The power of the battery is obtained according to the change in power of each battery cell.
[0009] Optionally, obtaining the charge and discharge current of each battery cell in the current connection state includes:
[0010] When the connection state of the at least two battery cells is a series connection state, obtaining the current of any battery cell as the charge and discharge current of each battery cell in the current connection state; and
[0011] When the connection state of the at least two battery cells is a parallel state, the charge and discharge current of each battery cell is obtained.
[0012] Optionally, when the connection state is a series connection state, obtaining the power of the battery according to the power change of each battery cell includes:
[0013] Obtaining the product of the number of the battery cells and the amount of change in power, and using the product as the total amount of change in power of at least two battery cells;
[0014] Obtain the sum of the initial power of each battery cell to obtain the initial total amount;
[0015] The power of the battery is acquired according to the total power change and the initial total power.
[0016] Optionally, when the connection state is a parallel state, obtaining the power of the battery according to the power change of each battery cell includes:
[0017] Obtaining the sum of the changes in the power of each battery cell to obtain the total change in the power of the at least two battery cells;
[0018] Obtain the sum of the initial power of each battery cell to obtain the initial total amount;
[0019] The power of the battery is acquired according to the total power change and the initial total power.
[0020] Optionally, the method further comprises:
[0021] Obtain the actual internal resistance and detection voltage of each battery cell;
[0022] Obtain the actual voltage of each battery cell according to the actual internal resistance, charge and discharge current and detection voltage of each battery cell;
[0023] Based on a preset voltage and power correspondence curve, the power of the battery is obtained according to the actual voltage of each battery cell.
[0024] Optionally, the internal resistance of each battery cell is obtained, including:
[0025] Within a preset time period when the connection state of the at least two battery cells is switched to a parallel state, obtaining a voltage change amount caused by the switching of the connection state of each battery cell and a predicted charge and discharge current; the predicted charge and discharge current is obtained based on the detection voltage and initial internal resistance of the battery cell;
[0026] Obtain the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain the current change;
[0027] The actual internal resistance of each battery cell is obtained according to the voltage change and current change of each battery cell.
[0028] According to a second aspect of an embodiment of the present disclosure, a device for obtaining battery power is provided, wherein the battery comprises at least two battery cells and a power meter, and the device is applicable to the power meter comprising:
[0029] A current acquisition module, used for acquiring the charge and discharge current of each battery cell in the current connection state after the connection state of the at least two battery cells is switched;
[0030] A change amount acquisition module is used to obtain the amount of change of the power of each battery cell according to the charging and discharging current;
[0031] The power acquisition module is used to acquire the power of the battery according to the change in power of each battery cell.
[0032] Optionally, the current acquisition module includes:
[0033] A series current acquisition unit, used for acquiring the current of any one of the battery cells as the charge and discharge current of each battery cell in the current connection state when the connection state of the at least two battery cells is in the series connection state; and
[0034] The parallel current acquisition unit is used to acquire the charge and discharge current of each battery cell when the connection state of the at least two battery cells is a parallel state.
[0035] Optionally, when the connection state is a series connection state, the power acquisition module includes:
[0036] A power change acquisition unit, used to acquire the product of the number of the battery cells and the power change, and use the product as the total power change of at least two battery cells;
[0037] An initial total amount acquisition unit is used to acquire the sum of the initial electric quantities of each battery cell to obtain an initial total amount;
[0038] A battery power acquisition unit is used to acquire the power of the battery according to the total power change and the initial total power.
[0039] Optionally, when the connection state is a parallel state, the power acquisition module includes:
[0040] A power change acquisition unit, used to acquire the sum of power changes of each battery cell to obtain the total power change of the at least two battery cells;
[0041] An initial total amount acquisition unit is used to acquire the sum of the initial electric quantities of each battery cell to obtain an initial total amount;
[0042] A battery power acquisition unit is used to acquire the power of the battery according to the total power change and the initial total power.
[0043] Optionally, the device further comprises:
[0044] The actual internal resistance acquisition module is used to obtain the actual internal resistance and detection voltage of each battery cell;
[0045] A cell voltage acquisition module is used to obtain the actual voltage of each cell according to the actual internal resistance, charge and discharge current and detection voltage of each cell;
[0046] The battery power calibration module is used to obtain the power of the battery according to the actual voltage of each battery cell based on a preset voltage and power correspondence curve.
[0047] Optionally, the actual internal resistance acquisition module includes:
[0048] A current and voltage acquisition unit, used to acquire a voltage change caused by the switching of the connection state of each battery cell before and after the switching of the connection state of the at least two battery cells and a predicted charge and discharge current within a preset time period when the connection state of the at least two battery cells is switched to a parallel state; the predicted charge and discharge current is obtained based on the detection voltage and initial internal resistance of the battery cell;
[0049] A current change acquisition unit is used to acquire the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain the current change;
[0050] The actual internal resistance acquisition unit is used to obtain the actual internal resistance of each battery cell according to the voltage change and current change of each battery cell.
[0051] According to a third aspect of an embodiment of the present disclosure, there is provided a battery, comprising at least two battery cells and a fuel gauge; the fuel gauge comprises a controller and a memory storing a computer program executable by the controller;
[0052] The controller is configured to execute the computer program in the memory to implement the steps of any method described in the first aspect.
[0053] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0054] The battery according to the third aspect;
[0055] A processor; the processor is electrically connected to at least two cells in the battery, respectively, and is used to control the connection state of the at least two cells, wherein the connection includes a series state or a parallel state.
[0056] According to a fifth aspect of an embodiment of the present disclosure, there is provided a readable storage medium on which an executable computer program is stored, and when the computer program is executed, the steps of any one of the methods described in the first aspect are implemented.
[0057] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0058] As can be seen from the above embodiments, in the embodiments of the present disclosure, a fuel gauge and at least two battery cells are set in the battery, so that the fuel gauge can obtain the charge and discharge current of each battery cell in the current connection state after the connection state of at least two battery cells is switched, and then the change in the power of each battery cell can be obtained according to the charge and discharge current, and then the power of the battery can be obtained according to the change in the power of each battery cell. In this way, the power of the battery can be obtained by using a fuel gauge in this embodiment, which is conducive to reducing the volume of the battery or the volume of the electronic device and reducing costs.
[0059] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0061] Figure 1 The figure is a flow chart of a method for obtaining battery power according to an exemplary embodiment.
[0062] Figure 2 is a schematic diagram showing connection states in series and in parallel according to an exemplary embodiment, wherein Figure 2 The image (a) shows the series connection state, and the image (b) shows the parallel connection state.
[0063] Figure 3 is a flow chart showing a method of correcting internal resistance according to an exemplary embodiment.
[0064] Figure 4 The figure is a flow chart of correcting battery power according to an exemplary embodiment.
[0065] Figure 5 It is a schematic diagram of corresponding curves of preset voltage and power according to an exemplary embodiment.
[0066] Figure 6 is a block diagram of a device for obtaining battery power according to an exemplary embodiment
[0067] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0068] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described below by way of example do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0069] In the related art, a solution of providing a fuel meter for each battery cell will increase the volume of the battery or the electronic device as the number of battery cells in the battery increases, and will also increase the cost of the electronic device.
[0070] In order to solve the above technical problems, the embodiment of the present disclosure provides a method for obtaining the power of a battery, wherein the battery includes at least two cells and a fuel gauge, and the battery can be applied to electronic devices such as smart phones, tablet computers, personal computers, servers, etc. The method can be applied to a fuel gauge, and the inventive concept is that the power of the battery is obtained by using the charge and discharge current of each cell through a fuel gauge, which can reduce the number of fuel gauges in the battery, thereby reducing the volume of the battery and reducing the production cost.
[0071] Figure 1 is a flow chart of a method for obtaining battery power according to an exemplary embodiment. Figure 1 , a method for obtaining battery power, comprising steps 11 to 13, wherein:
[0072] In step 11, after the connection status of the at least two battery cells is switched, the charge and discharge current of each battery cell in the current connection status is obtained.
[0073] In this embodiment, at least two cells in the battery include a switching circuit, which, after receiving a control signal, can switch the connection state of the at least two cells to a series state or a parallel state, that is, all cells are connected in series or the cells are connected in parallel. The control signal can be sent by a power meter or by a processor of an electronic device equipped with a battery, which is not limited here.
[0074] It should be noted that when there are many battery cells, their connection status may also include a mixed state of series and parallel connection. In this case, the battery cells in series and the battery cells in parallel may be calculated separately, that is, the connection status may be divided into a series state and a parallel state. For ease of understanding, each embodiment will be described in terms of the series state and the parallel state in the following.
[0075] In this embodiment, the fuel gauge can obtain a control signal, and the control signal can come from the fuel gauge itself, a processor, or a battery management chip, which is not limited here. After receiving the control signal, the fuel gauge determines the connection status of the battery cell.
[0076] In another embodiment, the fuel meter does not need to obtain the control signal. In this case, the fuel meter can obtain the terminal voltage of each battery cell according to a set period or in real time. If the terminal voltages of each battery cell are equal or similar (the voltage difference is within a preset range, such as 0.5V), it means that the connection state of each battery cell is in parallel; if the terminal voltage of one battery cell between any two adjacent battery cells is approximately twice the terminal voltage of the other battery cell or the difference is large (for example, 3-4V), it means that the connection state of each battery cell is in series.
[0077] In this embodiment, after determining the connection state, the power meter can obtain the charge and discharge current in the current connection state. Figure 2 (a) In the series connection state, the current of any cell is collected as the charge and discharge current of each cell, such as collecting the current of precision resistor 1 as the charge and discharge current of cell 1 and cell 2; for example, in the connection state Figure 2 In the parallel state shown in (b), the current of each battery cell is collected as its respective charge and discharge current, for example, the current of precision resistor 1 is collected as the charge and discharge current of battery cell 1, and the current of precision resistor 2 is collected as the charge and discharge current of battery cell 2.
[0078] In step 12, the amount of charge change of each battery cell is obtained according to the charge and discharge current.
[0079] In this embodiment, the fuel gauge can obtain the amount of change in the amount of power of each battery cell according to the charge and discharge current. Taking one of the batteries as an example, the fuel gauge can integrate the charge and discharge current according to the time of obtaining the charge and discharge current this time and the time of obtaining the charge and discharge current last time, so as to obtain the amount of change in the amount of power of the battery cell.
[0080] In step 13, the power of the battery is obtained according to the change in power of each battery cell.
[0081] In this embodiment, the fuel gauge can obtain the power obtained by each battery cell in the previous detection from the memory, which is referred to as the initial power; then, the fuel gauge can obtain the initial power and power change of each battery cell to obtain the actual power obtained by each battery cell in this detection process. It should be noted that when obtaining the actual power of each battery cell, if the battery is in a charging state, the actual power is equal to the sum of the initial power and the power change; if the battery is in a discharging state, the actual power is equal to the difference between the initial power and the power change. Among them, the charging state or the discharging state is obtained according to whether the charging and discharging current flows into the battery or flows out of the battery. Afterwards, the fuel gauge can obtain the sum of the power of each battery cell to obtain the power of the battery; or, the fuel gauge can obtain the power ratio of the power of each battery cell to the maximum power, and use the average value of the power ratio as the capacitance of the battery, or use the smallest power ratio in the battery cell as the power of the battery. In this way, in this embodiment, a fuel gauge can be used to obtain the power of the battery, which is conducive to reducing the volume of the battery or the volume of the electronic device and reducing costs.
[0082] Considering that the internal resistance of each battery cell will change dynamically during the charging and / or discharging process of the battery, as well as changes in the battery usage environment (such as temperature changes), the obtained battery power will have a certain error. As time accumulates, the cumulative error will become larger and larger. Therefore, in one embodiment, the fuel meter can calibrate the battery power. Before calibrating the power, the fuel meter can first calibrate the internal resistance of the battery, see Figure 3 , including steps 31 to 33:
[0083] In step 31, within a preset time period (such as 1-50ms, adjustable) when the connection state of the battery cell is switched to the parallel state, the fuel gauge can obtain the charge and discharge current, detection voltage, initial internal resistance, voltage change caused by the connection state switching and predicted charge and discharge current of each battery cell. Among them, the detection voltage refers to the voltage that can be detected for the first time after switching from the series state to the parallel state. The initial internal resistance refers to the internal resistance obtained last time. The voltage change caused by the connection state switching refers to the difference between the last voltage U1-1 that can be detected in the series state before the switching and the first voltage U1-2 that can be detected in the parallel state after the switching. For example, the voltage change of battery cell 1 is U1-2. 1-1 -U 1-2 The predicted charge and discharge current is obtained based on the detection voltage and initial internal resistance of the battery cell. In step 32, the fuel gauge can obtain the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain the current change. For example, the predicted charge and discharge current of battery cell 1 is I 1-1 , the charge and discharge current is I 1-2 , then the current change is I 1-1 -I 1-2In step 33, the fuel gauge can obtain the actual internal resistance of each battery cell according to the voltage change and current change of each battery cell. For example, the actual internal resistance R1' of battery cell 1 = (U 1-1 -U 1-2 ) / (I 1-1 -I 1-2 ).
[0084] It should be noted that in this embodiment, the actual internal resistance can be adjusted according to a set period (for example, the value range is between 5-10 minutes, which can be adjusted) for the internal resistance of each battery cell; it can also be adjusted from standby (battery cell current is about several to tens of milliamperes) to use (battery cell current is about tens to hundreds of milliamperes), that is, when the battery cell output current changes greatly, if the terminal voltage of the battery cell changes, such as from 4.25V to 4V, the internal resistance of the battery cell needs to be corrected. The technician can set the appropriate correction time or correction scenario according to the specific scenario, and the corresponding scheme falls within the protection scope of the present disclosure.
[0085] It should be noted that, in this embodiment, the power meter can store the actual internal resistance obtained in a designated storage area. In one example, the power meter also compares the internal resistance with the internal resistance calibrated last time. When the difference between the actual internal resistance this time and the internal resistance last time is within a preset difference range (such as a resistance value change of less than 10%), the actual internal resistance this time is determined to be a valid value and can be stored in the designated storage area. If it exceeds the difference range, the actual internal resistance is determined to be an invalid value and is directly discarded.
[0086] After obtaining the actual internal resistance of each battery cell, the battery capacity can be calibrated. Figure 4 , including steps 41 to 43:
[0087] In step 41, the fuel meter can obtain the actual internal resistance and the detection voltage. It should be noted that the actual internal resistance can be the resistance obtained in the current power calibration process, or it can be the internal resistance obtained previously (that is, it can be understood as the initial internal resistance). In this embodiment, the former is taken as an example. In step 42, the fuel meter can obtain the actual voltage of each battery cell based on the actual internal resistance, charge and discharge current, and detection voltage of each battery cell. For example, the actual voltage of battery cell 1 is U1'=U1+I*R1', wherein U1 refers to the detection voltage of battery cell 1, that is, the actual detected voltage, I refers to the charge and discharge current of battery cell 1, and R1' refers to the actual internal resistance of battery cell 1. In step 43, based on Figure 5The preset voltage and power curve shown in the figure can be used to obtain the power of each cell according to the actual voltage of the cell. For example, when the voltage of a cell is 3.8V, its power ratio can be 40%. Then, the fuel gauge can determine the power of the battery according to the power of each cell. Taking the power ratio as an example, during the charging process, the ratio of the cell with the largest power ratio can be used as the power of the battery; during the discharging process, the ratio of the cell with the smallest power ratio can be used as the power of the battery.
[0088] It is understandable that in this embodiment, by correcting the internal resistance of each battery cell, the internal resistance of the battery cell can be more matched with the connection state or the use environment, and can reflect the real internal resistance of the battery cell. Furthermore, using the corrected internal resistance to correct the battery power can make the battery power more accurate, which is conducive to reducing the cumulative error.
[0089] Based on the above method for obtaining battery power, an embodiment of the present disclosure further provides a device for obtaining battery power, wherein the battery comprises at least two cells and a power meter, and the device is applicable to the power meter. Figure 6 is a block diagram of a device for obtaining battery power according to an exemplary embodiment. Figure 6 , a device for obtaining battery power, comprising:
[0090] A current acquisition module 61 is used to acquire the charge and discharge current of each battery cell in the current connection state after the connection state of the at least two battery cells is switched;
[0091] A change amount acquisition module 62 is used to acquire the amount of change of the electric quantity of each battery cell according to the charging and discharging current;
[0092] The power acquisition module 63 is used to acquire the power of the battery according to the power change of each battery cell.
[0093] In one embodiment, the current acquisition module includes:
[0094] A series current acquisition unit, used for acquiring the current of any one of the battery cells as the charge and discharge current of each battery cell in the current connection state when the connection state of the at least two battery cells is in the series connection state; and
[0095] The parallel current acquisition unit is used to acquire the charge and discharge current of each battery cell when the connection state of the at least two battery cells is a parallel state.
[0096] In one embodiment, when the connection state is a series connection state, the power acquisition module includes:
[0097] A power change acquisition unit, used to acquire the product of the number of the battery cells and the power change, and use the product as the total power change of at least two battery cells;
[0098] An initial total amount acquisition unit is used to acquire the sum of the initial electric quantities of each battery cell to obtain an initial total amount;
[0099] A battery power acquisition unit is used to acquire the power of the battery according to the total power change and the initial total power.
[0100] In one embodiment, when the connection state is a parallel state, the power acquisition module includes:
[0101] A power change acquisition unit, used to acquire the sum of power changes of each battery cell to obtain the total power change of the at least two battery cells;
[0102] An initial total amount acquisition unit is used to acquire the sum of the initial electric quantities of each battery cell to obtain an initial total amount;
[0103] A battery power acquisition unit is used to acquire the power of the battery according to the total power change and the initial total power.
[0104] In one embodiment, the device further comprises:
[0105] The actual internal resistance acquisition module is used to obtain the actual internal resistance and detection voltage of each battery cell;
[0106] A cell voltage acquisition module is used to obtain the actual voltage of each cell according to the actual internal resistance, charge and discharge current and detection voltage of each cell;
[0107] The battery power calibration module is used to obtain the power of the battery according to the actual voltage of each battery cell based on a preset voltage and power correspondence curve.
[0108] In one embodiment, the actual internal resistance acquisition module includes:
[0109] A current and voltage acquisition unit, used to acquire a voltage change caused by the switching of the connection state of each battery cell before and after the switching of the connection state of the at least two battery cells and a predicted charge and discharge current within a preset time period when the connection state of the at least two battery cells is switched to a parallel state; the predicted charge and discharge current is obtained based on the detection voltage and initial internal resistance of the battery cell;
[0110] A current change acquisition unit is used to acquire the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain the current change;
[0111] The actual internal resistance acquisition unit is used to obtain the actual internal resistance of each battery cell according to the voltage change and current change of each battery cell.
[0112] It is understandable that the device provided in the embodiment of the present disclosure corresponds to the above-mentioned method embodiment. The specific content can refer to the content of each method embodiment, which will not be repeated here.
[0113] Figure 7 7 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 700 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0114] Reference Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , a communication component 716 , and an image acquisition component 718 .
[0115] The processing component 702 generally handles the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute computer programs. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
[0116] The memory 704 is configured to store various types of data to support operations on the electronic device 700. Examples of such data include computer programs for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.
[0117] The power supply component 706 provides power to various components of the electronic device 700. The power supply component 706 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 700. The power supply component 706 may include a power chip, and the controller may communicate with the power chip to control the power chip to turn on or off a switch device, so that the battery supplies power to the mainboard circuit or not.
[0118] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the 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 signals from the target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0119] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0120] The I / O interface 712 provides an interface between the processing component 702 and a peripheral interface module, such as a keyboard, a click wheel, a button, etc.
[0121] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display screen and keypad of the electronic device 700, and the sensor assembly 714 can also detect the position change of the electronic device 700 or a component, the presence or absence of contact between the target object and the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and the temperature change of the electronic device 700.
[0122] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0123] In an exemplary embodiment, the electronic device 700 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 components.
[0124] In an exemplary embodiment, a non-temporary readable storage medium including an executable computer program is also provided, such as a memory 704 including instructions, and the executable computer program can be executed by a processor. The readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0125] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0126] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for obtaining battery power, characterized in that: The battery comprises at least two cells and a fuel gauge, and the method is applicable to the fuel gauge, comprising: When the connection states of the at least two battery cells are switched, the charge and discharge current of each battery cell in the current connection state is obtained, wherein the at least two battery cells include a switching circuit, and the switching circuit is used to switch the connection state of the at least two battery cells to a series state or a parallel state; Obtaining a change in the amount of electricity of each battery cell according to the charge and discharge current; Obtaining the power of the battery according to the change in power of each battery cell; Obtain the actual internal resistance and detection voltage of each battery cell; Obtain the actual voltage of each battery cell according to the actual internal resistance, charge and discharge current and detection voltage of each battery cell; Based on a preset voltage and power correspondence curve, the power of the battery is obtained according to the actual voltage of each battery cell; Among them, obtaining the actual internal resistance of each battery cell includes: Within a preset time period when the connection state of the at least two battery cells is switched to a parallel state, obtaining a voltage change amount caused by the switching of the connection state of each battery cell and a predicted charge and discharge current; the predicted charge and discharge current is obtained based on the detection voltage and initial internal resistance of the battery cell; Obtain the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain the current change; The actual internal resistance of each battery cell is obtained according to the voltage change and current change of each battery cell; Wherein, obtaining the charge and discharge current of each battery cell in the current connection state includes: When the connection state of the at least two battery cells is a series connection state, obtaining the current of any battery cell as the charge and discharge current of each battery cell in the current connection state; and When the connection state of the at least two battery cells is a parallel state, the charge and discharge current of each battery cell is obtained.
2. The method according to claim 1, characterized in that: When the connection state is a series connection state, obtaining the power of the battery according to the power change of each battery cell includes: Obtaining the product of the number of the battery cells and the amount of change in power, and using the product as the total amount of change in power of at least two battery cells; Obtain the sum of the initial power of each battery cell to obtain the initial total amount; The power of the battery is acquired according to the total power change and the initial total power.
3. The method according to claim 1, characterized in that When the connection state is a parallel state, obtaining the power of the battery according to the power change of each battery cell includes: Obtaining the sum of the changes in the power of each battery cell to obtain the total change in the power of the at least two battery cells; Obtain the sum of the initial power of each battery cell to obtain the initial total amount; The power of the battery is acquired according to the total power change and the initial total power.
4. A device for obtaining battery power, characterized in that: The battery comprises at least two cells and a fuel gauge, and the device is suitable for the fuel gauge and comprises: A current acquisition module, used for acquiring the charge and discharge current of each battery cell in the current connection state after the connection state of the at least two battery cells is switched, wherein the at least two battery cells include a switching circuit, and the switching circuit is used for switching the connection state of the at least two battery cells to a series state or a parallel state; A change amount acquisition module is used to obtain the amount of change of the power of each battery cell according to the charging and discharging current; A power acquisition module, used to acquire the power of the battery according to the power change of each battery cell; The actual internal resistance acquisition module is used to obtain the actual internal resistance and detection voltage of each battery cell; A cell voltage acquisition module is used to obtain the actual voltage of each cell according to the actual internal resistance, charge and discharge current and detection voltage of each cell; A battery power calibration module, used for obtaining the power of the battery according to the actual voltage of each battery cell based on a preset voltage and power correspondence curve; Wherein, the actual internal resistance acquisition module includes: A current and voltage acquisition unit, used to acquire a voltage change caused by the switching of the connection state of each battery cell before and after the switching of the connection state of the at least two battery cells and a predicted charge and discharge current within a preset time period when the connection state of the at least two battery cells is switched to a parallel state; the predicted charge and discharge current is obtained based on the detection voltage and initial internal resistance of the battery cell; A current change acquisition unit is used to acquire the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain the current change; An actual internal resistance acquisition unit, used to obtain the actual internal resistance of each battery cell according to the voltage change and current change of each battery cell; Among them, the current acquisition module includes: A series current acquisition unit, used for acquiring the current of any one of the battery cells as the charge and discharge current of each battery cell in the current connection state when the connection state of the at least two battery cells is in the series connection state; and The parallel current acquisition unit is used to acquire the charge and discharge current of each battery cell when the connection state of the at least two battery cells is a parallel state.
5. The device according to claim 4, characterized in that When the connection state is a series connection state, the power acquisition module includes: A power change acquisition unit, used to acquire the product of the number of the battery cells and the power change, and use the product as the total power change of at least two battery cells; An initial total amount acquisition unit is used to acquire the sum of the initial electric quantities of each battery cell to obtain an initial total amount; A battery power acquisition unit is used to acquire the power of the battery according to the total power change and the initial total power.
6. The device according to claim 4, characterized in that When the connection state is a parallel state, the power acquisition module includes: A power change acquisition unit, used to acquire the sum of power changes of each battery cell to obtain the total power change of the at least two battery cells; An initial total amount acquisition unit is used to acquire the sum of the initial electric quantities of each battery cell to obtain an initial total amount; A battery power acquisition unit is used to acquire the power of the battery according to the total power change and the initial total power.
7. A battery, characterized in that: The invention comprises at least two battery cells and a fuel gauge; the fuel gauge comprises a controller and a memory storing a computer program executable by the controller; The controller is configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 3.
8. An electronic device, characterized in that: include: The battery as claimed in claim 7; processor; The processor is electrically connected to at least two cells in the battery respectively, and is used to control a connection state of the at least two cells, wherein the connection includes a series state or a parallel state.
9. A readable storage medium having an executable computer program stored thereon, characterized in that: When the computer program is executed, the steps of the method according to any one of claims 1 to 3 are implemented.
