[go: up one dir, main page]

CN112292604A - Battery voltage compensation method and device and terminal equipment - Google Patents

Battery voltage compensation method and device and terminal equipment Download PDF

Info

Publication number
CN112292604A
CN112292604A CN201880093192.1A CN201880093192A CN112292604A CN 112292604 A CN112292604 A CN 112292604A CN 201880093192 A CN201880093192 A CN 201880093192A CN 112292604 A CN112292604 A CN 112292604A
Authority
CN
China
Prior art keywords
voltage
moment
compensation
acquisition
smoothing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201880093192.1A
Other languages
Chinese (zh)
Other versions
CN112292604B (en
Inventor
邢广明
陈东国
李扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112292604A publication Critical patent/CN112292604A/en
Application granted granted Critical
Publication of CN112292604B publication Critical patent/CN112292604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Secondary Cells (AREA)

Abstract

The application provides a battery voltage compensation method, a battery voltage compensation device and terminal equipment, which do not need to collect charging and discharging currents of a battery, but calculate smooth voltage, and therefore accurately calculate the electric quantity of the battery. Under the scene of high or low demand, the battery power can be accurately calculated based on the obtained smooth voltage, so that the displayed power is more accurate. The method is applied to a terminal device comprising a battery, and comprises the following steps: the terminal equipment acquires the acquired voltage V of the battery at the T momentT acquisition(ii) a The terminal equipment smoothes the voltage V according to the T-1 timeT-1 smoothingAnd collecting the voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment; the terminal equipment uses the actual compensation voltage at the T moment to acquire the voltage V at the T momentT acquisitionCompensating to obtain a compensated voltage value; the terminal equipment uses the compensated voltage value and the voltage smoothing values at the first N moments of the T moment to carry out smoothing treatment to obtain a smooth voltage V at the T momentT smoothing

Description

Battery voltage compensation method and device and terminal equipment Technical Field
The present application relates to the field of battery technologies, and in particular, to a method and an apparatus for compensating a battery voltage, and a terminal device.
Background
For end products, an analog-to-digital converter (ADC) is usually used to directly collect the voltage across the battery. During the charging or discharging of the battery, the display of the battery charge is not accurate enough and may present a false low or false high situation. Fig. 1 shows an exemplary diagram of a change in the number of cells in a battery charging and discharging scenario. As shown in the upper diagram of fig. 1, the power of the terminal is displayed in 3 cells during standby, 1 cell during external discharge, and 3 cells when the terminal returns to the standby state again. As shown in the lower graph of fig. 1, the power of the terminal is displayed for 1 cell during standby, 3 cells during charging the battery, and 1 cell when returning to the standby state again.
In this regard, the solution of the prior art is to compensate the collected voltage by modeling the internal resistance of the battery or adding a current detection circuit. The internal resistance of the battery is influenced by key factors such as the type of the battery, the ambient temperature, the current voltage, the number of charge and discharge cycles of the battery, and if an accurate residual electric quantity value is to be obtained, modeling conditions are difficult and are extremely complex, and a calling logic is complex when any condition changes. In addition, the increase of the current detection circuit for compensation results in increased product cost.
Disclosure of Invention
The application provides a method and a device for compensating battery voltage and terminal equipment, which do not need to collect charging and discharging current of a battery, but calculate smooth voltage, thereby accurately calculating battery electric quantity.
In a first aspect, a method for compensating a battery voltage is provided, where the method is applied to a terminal device including a battery, and the method includes: the terminal equipment acquires the acquired voltage V of the battery at the Tth momentT acquisition(ii) a The terminal equipment smoothes the voltage V according to the T-1 timeT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment; the terminal equipment uses the actual compensation voltage at the T moment to acquire the voltage V at the T momentT acquisitionCompensating to obtain a compensated voltage value; the terminal equipment uses the compensated voltage value and the voltage smoothing values at the first N moments of the T moment to carry out smoothing treatment to obtain a smooth voltage V at the T momentT smoothingAnd the relatively accurate smooth voltage can be obtained, and under the virtual high or low demand scene, the battery electric quantity can be accurately calculated based on the obtained smooth voltage, so that the displayed electric quantity is more accurate.
The tth time may be understood as a current time, and the T-1 time may be understood as a time before the current time.
In a possible implementation manner, the terminal device stores the smooth voltage V at the T-1 th timeT-1 smoothing(ii) a Wherein the terminal device smoothes the voltage V according to the T-1 th timeT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment, comprising: the terminal equipment smoothes the voltage V according to the T-1 timeT-1 smoothingAnd, the acquisition voltage V at the time T-1T-1 CollectionCalculating the compensation voltage V at the T-1 th timeT-1(ii) a The terminal equipment smoothes the voltage V according to the T-1 timeT-1 smoothingAnd, the collecting voltage VT acquisitionCalculating the compensation voltage V at the Tth timeT(ii) a The terminal equipment calculates the compensation voltage V at the Tth momentTCompensating voltage V with time T-1T-1A difference of (d); the terminal device is based on the differenceAnd determining the actual compensation voltage at the Tth moment according to the magnitude relation of the absolute value and the first threshold. Therefore, the terminal device can select the actual compensation voltage based on the first threshold to obtain the compensation voltage more meeting the actual requirement, so as to compensate the battery.
In a possible implementation manner, the determining, by the terminal device, the actual compensation voltage at the tth time based on a magnitude relation between the absolute value of the difference and a first threshold includes: if the absolute value of the difference is larger than the first threshold, the actual compensation voltage at the T-th moment is VT(ii) a Or, if the absolute value of the difference is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is VT-1. Wherein the first threshold may be understood as a refresh threshold of the actual compensation voltage.
Optionally, the VT-1=V T-1 smoothing-V T-1 CollectionSaid V isT=V T-1 smoothing-V T acquisition(ii) a Wherein, the VTAnd said VT-1The difference value is delta V, if the delta V is larger than the first threshold, the actual compensation voltage at the T-th moment is VTIf the absolute value delta V is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is the VT-1
Optionally, the smoothing, performed by the terminal device, by using the compensated voltage value and voltage smoothing values at N moments before the current moment, includes: the terminal equipment obtains a linear regression equation V which is beta t + epsilon by using the compensated voltage value and voltage smoothing values of the previous N moments of the current moment based on a least square method, wherein V represents voltage, t represents time, beta represents slope, and epsilon represents intercept; wherein the smoothed voltage V at the Tth timeT smoothingAnd calculating by using the linear regression equation. Therefore, the terminal equipment can calculate the smooth voltage value at a certain moment more accurately through a linear regression mode.
In one possible implementation, the method further includes: the terminal equipment acquires the acquisition voltage V at the Tth moment T acquisitionThe voltage compensation threshold of (1); the terminal equipment uses the actual compensation voltage at the Tth moment to acquire the voltage V at the Tth momentT acquisitionPerforming compensation, including: if the acquisition voltage V at the Tth momentT acquisitionIf the voltage compensation threshold is met, the terminal equipment uses the actual compensation voltage at the Tth moment to acquire the voltage V at the Tth momentT acquisitionCompensation is performed. Therefore, by introducing the voltage compensation threshold, the terminal equipment can execute the voltage compensation operation under a proper occasion, the battery can be protected, and the service life of the battery is prolonged.
Optionally, the collecting voltage V at the tth timeT acquisitionSatisfying the voltage compensation threshold includes any one of: the voltage compensation threshold is a virtual high voltage compensation threshold, and the acquired voltage V at the Tth momentT acquisitionLess than the virtual high voltage compensation threshold; or, the voltage compensation threshold is a virtual low voltage compensation threshold, and the collected voltage V at the tth momentT acquisitionGreater than the virtual low voltage compensation threshold. Therefore, no matter in a virtual high scene or a virtual low scene, a voltage compensation threshold can be introduced, the battery can be protected, and the service life of the battery is prolonged.
In a second aspect, there is provided a battery voltage compensation apparatus comprising means for performing the method of the first aspect or any possible implementation manner of the first aspect.
In a third aspect, a terminal device is provided, which comprises the battery voltage compensation apparatus in the second aspect.
In a fourth aspect, there is provided a computer-readable storage medium having a program embodied therein, the program causing a computer to execute the method for compensating a battery voltage of any one of the first aspect and its various implementations.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of compensating for battery voltage of any of the first aspect and its various implementations described above.
Drawings
Fig. 1 is a diagram illustrating an example of a change in the number of battery cells in a battery charging/discharging scenario of a terminal.
Fig. 2 is a schematic diagram of a structure of the terminal.
Fig. 3 is a schematic diagram of a voltage detection circuit of the battery.
Fig. 4 is a schematic flow chart of a method of compensating for a battery voltage according to an embodiment of the present application.
FIG. 5 is a flow chart of an example according to an embodiment of the present application.
Fig. 6 is a flowchart of calculating an actual compensation voltage according to an embodiment of the present application.
Fig. 7 is a flowchart of calculating a smoothing voltage according to an embodiment of the present application.
FIG. 8 is a diagram illustrating an example of a linear regression equation in an embodiment of the present application.
FIG. 9 is a schematic diagram of another example of a linear regression equation in an embodiment of the present application.
FIG. 10 is a schematic diagram of yet another example of a linear regression equation in an embodiment of the present application.
Fig. 11 is a diagram illustrating a simulation result according to an embodiment of the present application.
Fig. 12 is an exemplary diagram of a UI interface displaying the battery power of the terminal device after applying the method of the embodiment of the present application.
Fig. 13 is a schematic block diagram of a device for compensating a battery voltage according to an embodiment of the present application.
Fig. 14 is a schematic structural block diagram of a device for compensating a battery voltage according to an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The technical solution of the embodiment of the present application can be applied to all devices or apparatuses including a battery, for example, various electronic products (such as terminal apparatuses) including a battery, an electric vehicle battery system, and the like, and the embodiment of the present application is not limited thereto. That is to say, the battery voltage compensation method according to the embodiment of the present application can be applied without separate adaptation in a usage scenario related to battery voltage compensation. For convenience of description, the embodiments of the present application are described by taking a terminal device as an example, but the scope of protection of the embodiments of the present application is not limited. The terminal device of the embodiment of the present application may be replaced with other devices or devices including a battery.
The technical solution of the embodiment of the present application may be applied to a Terminal device, which may be, but not limited to, a Mobile Station (MS), a Mobile Terminal (Mobile Terminal), a Mobile phone (Mobile phone), a Mobile phone (handset), a portable device (portable equipment), and the like, and may communicate with one or more core networks through a Radio Access Network (RAN, for example). A Terminal in the embodiments of the present application may refer to a Terminal (Terminal), user equipment, access Terminal, subscriber unit, subscriber station, mobile station, remote Terminal, mobile device, user Terminal, wireless communication device, user agent, or user equipment. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN), and the like, which are not limited in this embodiment.
In the embodiment of the application, the terminal device comprises a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a Central Processing Unit (CPU), a Memory Management Unit (MMU), and a memory (also referred to as a main memory). The operating system may be any one or more computer operating systems that implement business processing through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer comprises applications such as a browser, an address list, word processing software, instant messaging software and the like. Furthermore, the embodiment of the present application does not particularly limit the specific structure of the execution main body of the method provided by the embodiment of the present application, as long as the communication can be performed according to the method provided by the embodiment of the present application by running the program recorded with the code of the method provided by the embodiment of the present application, for example, the execution main body of the method provided by the embodiment of the present application may be a terminal device, or a functional module capable of calling a program and executing the program in the terminal device.
In addition, various aspects or features of the present application may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. For example, computer-readable media can include but are not limited to magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips, etc.), optical disks (e.g., Compact Disk (CD), Digital Versatile Disk (DVD), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROM), card, stick, or key drive, etc.). In addition, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" can include, without being limited to, wireless channels and various other media capable of storing, containing, and/or carrying instruction(s) and/or data.
The following describes the components of the mobile phone 100 in detail with reference to fig. 2:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to the processor 130; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 140 may be used to store software programs and modules, and the processor 130 executes various functional applications and data processing of the mobile phone 100 by operating the software programs and modules stored in the memory 140. The memory 140 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone 100, and the like. Further, the memory 140 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 150 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 100. Specifically, the input unit 150 may include a touch panel 151 and other input devices 152. The touch panel 151, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 151 (e.g., an operation performed by the user on or near the touch panel 151 using any suitable object or accessory such as a finger or a stylus), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 151 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 130, and can receive and execute commands sent by the processor 130. In addition, the touch panel 151 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 150 may include other input devices 152 in addition to the touch panel 151. In particular, other input devices 152 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 160 may be used to display information input by or provided to the user and various menus of the cellular phone 100. The display unit 160 may include a display panel 161, and optionally, the display panel 161 may be configured in the form of an LCD, an OLED, or the like. Further, the touch panel 151 may cover the display panel 161, and when the touch panel 151 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 130 to determine the type of the touch event, and then the processor 130 provides a corresponding visual output on the display panel 161 according to the type of the touch event. Although the touch panel 151 and the display panel 151 are shown in fig. 2 as two separate components to implement the input and output functions of the mobile phone 100, in some embodiments, the touch panel 151 and the display panel 161 may be integrated to implement the input and output functions of the mobile phone 100.
The handset 100 may also include at least one sensor 170, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 161 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 161 and/or the backlight when the mobile phone 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone 100, further description is omitted here.
Audio circuitry 180, speaker 181, and microphone 182 may provide an audio interface between a user and the handset 100. The audio circuit 180 may transmit the electrical signal converted from the received audio data to the speaker 181, and the electrical signal is converted into a sound signal by the speaker 181 and output; on the other hand, the microphone 182 converts the collected sound signals into electrical signals, which are received by the audio circuit 180 and converted into audio data, which are then output to the RF circuit 110 for transmission to, for example, another cell phone, or to the memory 140 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone 100 can help the user send and receive e-mails, browse web pages, access streaming media, etc. through the WiFi module 190, which provides wireless broadband internet access for the user. Although fig. 2 shows the WiFi module 190, it is understood that it does not belong to the essential constitution of the handset 100, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 130 is a control center of the mobile phone 100, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone 100 and processes data by operating or executing software programs and/or modules stored in the memory 140 and calling data stored in the memory 140, thereby implementing various services based on the mobile phone. Alternatively, processor 130 may include one or more processing units; preferably, the processor 130 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 130.
The handset 100 also includes a power supply 120 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 130 via a power management system, such that the power management system may manage charging, discharging, and power consumption functions.
Although not shown, the handset 100 may also include a camera, a bluetooth module, and the like.
Fig. 3 is a schematic diagram of a voltage detection circuit of the battery. As shown in fig. 3, the voltage detection circuit includes an internal resistance R of the battery cellbatInternal resistance R of battery protection boardbpb. Wherein, the internal resistance R of the battery cellbatOne end of the positive electrode is connected with the negative electrode of the direct current voltage, and the other end of the positive electrode is connected with the internal resistance R of the battery protection boardbpbAre connected in series. Wherein, the charging current of the battery is IchgIndicating, discharge current by IdchgAnd (4) showing. For the voltage detection circuit in FIG. 3, the continuous flow through R in the single cell scenariobat、R bpbIs small, so that the voltage V is collectedADCCan be approximately equal to the battery voltage Vbat。Wherein, VbatWhich may be understood as the cell voltage of the battery or the actual voltage of the battery.
In the scenario of the battery discharging to the outside, VADCAnd VbatThe relationship of (A) is shown in the following formula (1):
V ADC↑=V bat-I dchg↓*(R bat+R bpb) (1)
current I output to external dischargedchgThe larger VADCThe more severe the pseudo-voltage (e.g., the voltage drop of the terminal product at the time of external discharge 1A is about 200-400 mV), the larger the cell jump of the battery.
In a scenario of charging a battery (for example, charging a board through a Universal Serial Bus (USB), an Alternating Current (AC), a wireless charger, etc.), VADCAnd VbatThe relationship of (A) is shown in the following formula (2):
V ADC↑=V bat+I chg↑*(R bat+R bpb) (2)
current I internally chargedchgThe larger VADCThe more severe the false height (e.g. terminal)The voltage rise is about 200-400mV when the product charges 2A internally), so the grid jump of the battery is larger.
Fig. 4 shows a schematic flow diagram of a method 400 of compensating for battery voltage according to an embodiment of the application. The method 400 is applied to a terminal device including a battery, and the method 400 includes:
s410, the terminal equipment acquires the acquired voltage V of the battery at the Tth momentT acquisition
And the Tth time is used for representing the current time. It should be understood that the value of T is not limited in the embodiments of the present application. The terminal device may obtain the collected voltage at a certain time, such as time 5, time 6, …, etc. (detailed below in connection with specific examples).
V T acquisitionThe voltage values of the current time at the two ends of the anode and the cathode of the battery are obtained. In particular implementations, the ADC voltage values across the battery may be detected by a voltage detection circuit.
Alternatively, the terminal device may collect the voltage value across the battery at regular time, for example, collect the voltage value on the ADC circuit every X seconds.
S420, the terminal equipment smoothes the voltage V according to the T-1 timeT-1 smoothingAnd said acquisition voltage VT acquisitionAnd determining the actual compensation voltage at the Tth moment.
The T-1 th time is used to indicate a time before the current time, that is, a time before the T-th time. It should be understood that, the last time of the T-1 th time for indicating the T-th time is not limited to the minimum time unit being 1s, for example, the unit granularity of a specific time may be 1s, may be 0.1s, or even 0.0000001s, the more bits after the decimal point are obtained, the larger the calculation amount is, the more accurate the calculation result is, and this is not limited by the embodiment of the present application.
Optionally, the smoothed voltage V at the previous momentT-1 smoothingIt may be stored in the terminal device in advance to be used when calculating the smoothed voltage at the present time.
Alternatively, the actual compensation voltage at time Tth mayBy using VT-1 smoothingV from the current timeT acquisitionThe calculation is carried out, or the actual compensation voltage at time Tth may be VT-1 smoothingV at the time immediately preceding the current timeT-1 CollectionThe calculation is not limited to this.
S430, the terminal equipment uses the actual compensation voltage at the Tth moment to collect the voltage V at the Tth momentT acquisitionAnd compensating to obtain a compensated voltage value.
After the terminal equipment obtains the actual compensation voltage at the T moment, the actual compensation voltage at the T moment is added with the collected voltage V at the T momentT acquisitionAnd obtaining the compensated voltage value at the Tth moment.
Wherein, the actual compensation voltage can be a negative value or a positive value. Whether the value of the actual compensation voltage is positive or negative depends on whether the battery voltage is high or low, for example, if the battery voltage is high, the actual compensation voltage is a negative value, and if the battery voltage is low, the actual compensation voltage is a positive value.
S440, the terminal device performs smoothing processing by using the compensated voltage value and the voltage smoothing values at the first N moments of the T-th moment to obtain a smoothed voltage V at the T-th momentT smoothing
Illustratively, the terminal device calculates the smoothed voltage V at time TT smoothingThe method can be as follows: using the compensated voltage value at the time point T and the voltage smoothed values at the previous N time points, smoothing is performed, for example, by calculating a smoothed voltage V at the time point 55 smoothingThen the value V can be smoothed for the voltage at the first 4 instantsT-1 smoothing,V T-2 smoothing,V T-3 smoothing,V T-4 smoothingSmoothing the compensated voltage value at the 5 th time to obtain a smoothed voltage V at the 5 th time5 smoothing
Here, the smoothed voltage V obtained by the method of the embodiment of the present applicationT smoothingCan be reported to the system so that the systemThe corresponding determination is performed, for example, the triggering of the function, the display of the electric quantity, and the like, which is not particularly limited.
It will be appreciated that the smoothed voltage V at the previous momentT-1 smoothingThe method is also obtained by calculation, and the method for calculating the smooth voltage in the embodiment of the present application is iterative operation. The smooth voltage at any one time can be calculated by those skilled in the art based on the above method.
According to the compensation method for the battery voltage, the charging and discharging current of the battery does not need to be collected, namely, a hardware current detection circuit does not need to be added, a coulometer is not needed, and the cost is low; in addition, the modeling of the internal resistance of the battery is not needed, so the precision is not limited by the ambient temperature, the battery loss and the charge and discharge current, and the precision is higher. In addition, when the compensation voltage is calculated, the voltage drop written into each module for different products is not needed, and therefore the workload of modeling is reduced.
This is illustrated here in connection with the example in fig. 5. Fig. 5 is a flowchart illustrating an example of a method for compensating a battery voltage according to an embodiment of the present application. As shown in fig. 5, includes:
501, judging whether the time A for collecting the battery voltage is reached. A may be preconfigured based on actual needs, for example, by setting a timer, which is not limited herein.
Alternatively, a may represent absolute time or relative time, which is not limited to this. It should also be understood that the time unit of a is not particularly limited, for example, a can be characterized by time units such as time (h), minute (min), or second(s).
If the voltage reaches A, jumping to step 502, and starting to acquire the voltage at the two ends of the battery; if not, continuing to wait.
502, collecting voltage V at ADC terminalT acquisition
Here, the voltage values at the positive and negative terminals of the battery may be collected by the ADC circuit. It should be understood that, due to the existence of the battery protection board and the internal resistor, the voltage collected here is not the actual voltage of the battery, and the voltage determining the actual charge of the battery is the voltage value at the two ends of the battery cell.
The actual compensation voltage is calculated 503.
Here, it can be represented by VT-1 smoothingV from the current timeT acquisitionThe actual compensation voltage at time Tth is calculated, or alternatively, may be calculated by VT-1 smoothingV at the time immediately preceding the current timeT-1 CollectionThe actual compensation voltage at the time T is calculated, which is not limited.
And 504, calculating the compensated voltage value.
Specifically, the compensated voltage value can be obtained by adding the actual compensation voltage to the acquired voltage value.
And 505, smoothing the voltage smoothing values with the previous N voltage smoothing values.
And 506, reporting the voltage smoothing value to the system.
It should be understood that the terms, concepts or specific calculation methods referred to in FIG. 5 can be referred to the above description and will not be described herein for brevity.
The manner of acquiring the actual compensation voltage at the time T will be described below.
Optionally, S420 includes:
according to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the acquisition voltage V at the time T-1T-1 CollectionCalculating the compensation voltage V at the T-1 th timeT-1
According to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the collecting voltage VT acquisitionCalculating the compensation voltage V at the Tth timeT
Calculating the compensation voltage V at the Tth momentTCompensating voltage V with time T-1T-1A difference of (d);
if the absolute value of the difference is larger than the first threshold, the actual compensation voltage at the T-th moment is VT(ii) a Or,
if the absolute value of the difference is less than or equal to the first threshold, the actual complement of the Tth momentThe compensated voltage is VT-1
The first threshold mentioned above may be understood as a refresh threshold of the actual compensation voltage. Based on the first threshold, it can be determined whether the current compensation voltage needs to be refreshed.
The manner in which the actual compensation voltage is calculated is described below in conjunction with the flow chart in fig. 6.
The compensation voltage at the current time (for example, the tth time) is calculated 601. Can be calculated by the following formula (3):
V t-1 smoothing-V T acquisition=V T (3)
The compensation voltage at a time immediately preceding the current time (e.g., time T-1) is obtained 602. Can be calculated by the following formula (4):
V t-1 smoothing-V T-1 Collection=V T-1 (4)
603, calculating the difference between the compensation voltage at the T-th time and the compensation voltage at the T-1 time. As shown in the following formula (5):
V T-V T-1=△V (5)
604, it is determined whether the compensation voltage needs to be refreshed.
Specifically, if the absolute value of Δ V is greater than a first threshold of X millivolts (mV), the compensation voltage at the present time is VT
If the absolute value of Δ V is less than or equal to a first threshold of X millivolts (mV), then the compensation voltage at the current time is VT-1
Therefore, based on the example in fig. 6, the actual compensation voltage at the T-th time can be obtained.
It should be noted that, the first threshold in the embodiment of the present application may be flexibly selected based on actual requirements. Based on the first threshold, the compensation method for the battery voltage is high in precision and controllable.
Optionally, the embodiment of the present application may further introduce a compensation threshold of the actual compensation voltage at the time T to select the complementary voltage. If the actual compensation voltage at the T-th moment meets the compensation threshold, the actual compensation voltage is used for compensating the collected voltage; and if not, compensating the acquisition voltage by using a compensation threshold.
For example, if the actual compensation voltage at time T is the virtual high compensation voltage, then the compensation threshold is the maximum virtual high compensation threshold. If the actual compensation voltage at the T-th moment exceeds the maximum virtual height compensation threshold, performing voltage compensation by using the maximum virtual height compensation threshold; and if not, performing voltage compensation by using the actual compensation voltage. The purpose of setting the maximum false height compensation threshold here is to: for a specific product, the internal resistance and the maximum charging current of a general battery are determined, so the maximum virtual height can also be roughly determined, and in order to prevent the special virtual height under the abnormal condition, for example, electrostatic discharge (ESD) static of an ADC acquisition port, instantaneous high voltage when a non-standard charger is inserted, and the like, the virtual height value is higher than the maximum virtual height under the normal condition, and at this time, such abnormality needs to be avoided, so according to the design of the whole machine, a maximum virtual height compensation threshold is set, and when the virtual height compensation value is larger than the value, the compensation value takes the value.
For example, if the actual compensation voltage at time T is the virtual low compensation voltage, then the compensation threshold is the maximum virtual low compensation threshold. If the actual compensation voltage at the T-th moment exceeds the maximum virtual low compensation threshold, performing voltage compensation by using the maximum virtual low compensation threshold; and if not, performing voltage compensation by using the actual compensation voltage. The purpose of setting the maximum virtual low compensation threshold here is to: for specific products, the internal resistance and the maximum discharge current of a general battery are determined, so that the maximum virtual low can also be roughly determined, in order to prevent special virtual low under abnormal conditions, such as direct current extraction of a load, the abnormality needs to be avoided, therefore, according to the design of the whole machine, a maximum virtual low compensation threshold is set, and when the virtual low compensation value is greater than the value, the compensation value is taken.
Therefore, the battery can be protected by introducing the maximum virtual high compensation threshold or the maximum virtual low compensation threshold, and the situation that the use of the battery is damaged or the service life of the battery is influenced due to overhigh or overlow voltage is avoided.
The smoothed voltage V at the T-th time is described in detail belowT smoothingThe method of (3).
Optionally, S440, includes:
based on a least square method, using the compensated voltage value and voltage smoothing values of the first N moments of the current moment to obtain a linear regression equation V which is beta t + epsilon, wherein V represents voltage, t represents time, beta represents slope, and epsilon represents intercept;
wherein the smoothed voltage V at the Tth timeT smoothingAnd calculating by using the linear regression equation.
Specifically, the terminal device constructs a linear regression equation V ═ β t + ∈ using the voltage smoothed values of the compensated voltage value and the voltage values at the N times before the current time, and at times corresponding to the respective voltage values, where V denotes a voltage, t denotes a time, β denotes a slope, and ∈ denotes an intercept. Based on the least squares method (see description of the prior art for a specific introduction), β and ε can be calculated. And after the linear regression equation is obtained, substituting the linear regression equation into the current time T to obtain the smooth voltage.
Fig. 7 is an exemplary flowchart of a calculation method of the smoothed voltage.
701, acquiring a compensated voltage value at the time T.
Here, the compensated voltage value at the T-th time may be obtained by the method described above, which is not described in detail.
702, obtaining voltage smooth values V at the first N moments of the T-th momentT-1、V T-2、V T-3、…V T-N
703, obtaining a slope beta and an intercept epsilon by using a least square method according to the relation between T and V.
And 704, acquiring a linear regression equation V of the voltage as beta T + epsilon.
705, the current time T is substituted into the above equation V ═ β T + ∈, and the smoothed voltage V at the T-th time is obtainedT smoothing
Therefore, based on the example in fig. 7, the smoothed voltage V at the T-th time can be obtained T smoothingAnd smoothing the voltage VT flat Sliding deviceAnd reporting to the system.
Optionally, the method 400 further comprises:
acquiring the acquisition voltage V at the Tth momentT acquisitionThe voltage compensation threshold of (1);
wherein, S430 includes:
if the acquisition voltage V at the Tth momentT acquisitionIf the voltage compensation threshold is met, the actual compensation voltage at the Tth moment is used for collecting the voltage V at the Tth momentT acquisitionCompensation is performed.
For example, after the terminal device collects the voltage at the current moment, it may be determined whether the collected voltage meets a voltage compensation threshold. If the collected voltage meets the voltage compensation threshold, compensating the collected voltage by using the actual compensation voltage; if not, no compensation is performed. Specifically, when a battery of the terminal device is charged or discharged, if the acquired voltage value jumps and exceeds a set voltage threshold, the acquired voltage may be compensated. Optionally, the change of the collected voltage may also be detected, and if the change of the voltage exceeds the set voltage change threshold, the collected voltage may also be compensated, which is not limited herein.
Optionally, the collecting voltage V at the tth timeT acquisitionSatisfying the voltage compensation threshold includes any one of:
the voltage compensation threshold is a virtual high voltage compensation threshold, and the acquired voltage V at the Tth momentT acquisitionLess than the virtual high voltage compensation threshold; or,
the voltage compensation threshold is a virtual low voltage compensation threshold, and the collected voltage V at the Tth momentT acquisitionGreater than the virtual low voltage compensation threshold.
Illustratively, if the voltage V is collectedT acquisitionIf the voltage is less than the virtual high voltage compensation threshold, executing voltage compensation; if collecting electricityPressure VT acquisitionAnd if the voltage is larger than or equal to the virtual high voltage compensation threshold, the voltage compensation is not executed. The purpose of setting the virtual high voltage compensation threshold here is: if the single acquisition value is larger than the full-voltage of the battery due to the existence of the virtual height in the charging process, and the scene is similar to the situation that the overvoltage battery is inserted into the single disk, the virtual height compensation is not performed in the situation for safety, namely the compensation value is 0. The system considers that after the ADC acquisition voltage exceeds the virtual high voltage compensation threshold, the single board is close to full power, and at the moment, constant voltage charging is used due to the characteristics of the battery, the current is smaller and smaller, and compensation can not be carried out. Therefore, the battery is protected, and the service life of the battery is prolonged.
Illustratively, if the voltage V is collectedT acquisitionIf the voltage is greater than the virtual low voltage compensation threshold, executing voltage compensation; if voltage V is collectedT acquisitionAnd if the voltage is less than or equal to the virtual low voltage compensation threshold, no voltage compensation is performed. The purpose of setting the virtual low voltage compensation threshold here is: if the single acquisition value is lower than the cut-off discharge voltage of the battery due to the existence of the pseudo-low in the discharge process, and the situation is similar to the situation that the undervoltage battery is inserted into a single disc, the pseudo-low compensation is not performed under the situation for the purpose of battery life and safety consideration, namely the compensation value is 0. Here, the system may consider that the battery has no power after the ADC acquisition voltage exceeds the virtual low voltage compensation threshold. Therefore, the battery is protected by introducing the virtual low voltage compensation threshold, and the service life of the battery is prolonged.
In the method for compensating the battery voltage according to the embodiment of the present application, a corresponding linear regression equation can be calculated at each time. The following description will be made in conjunction with specific examples.
Taking the tth time as an example of a start time (for example, the 1 st time), for the 1 st time: usually, the moment is the moment when the system is just started, at this moment, the internal system is in a loading state, preprocessing is performed once, if the moment is zero or a negative value, the voltage is equal to the 1 st moment, the compensation value is 0, and the voltage V is collected at this moment1 Collection3800mV, the last time is 0 time, so the last time smooth value smooth voltage V0 smoothing3800mV and the offset value of 0mV, therefore, the offset value at time 1 is 3800-. The difference between the compensation values at the two moments is 0mV, and the refreshing of the compensation value is not carried out, so that the voltage value compensated at the current 1 st moment is 3800mV +0mV, which is 3800 mV. The compensated voltage value 3800mV is added with the voltage smoothing values (-3,3800), (-2,3800), (-1,3800), (-0,3800) reported at the previous 4 moments, the slope is calculated to be 0, the intercept is 3800, and X is substituted to 1, so that the smoothing voltage value at the 1 st moment is 3800 mV.
Taking the example that the Tth time is the fifth time, for the fifth time, the voltage V is collected5 Collection3800mV, the last time smooth voltage V4 smoothing3800mV and the offset value of 0mV, therefore, the offset value at time 5 is 3800-. Since the difference between the compensation values at the two moments is 0mV, and the compensation value is not refreshed, the expected smooth value at the 5 th moment is 3800mV, and the voltage smooth values (1,3800) (2,3800) (3,3800) (4,3800) reported at the first 4 moments are added, because the voltage is continuously unchanged, the slope obtained by the equation is 0, the intercept is 3800, the equation expression is y 3800 (as shown in the schematic diagram of the linear regression equation at the fifth moment in fig. 8), and X is 5, so that V at this moment is obtained5 smoothingIs 3800 mV.
Taking the example that the tth time is the 6 th time, for the 6 th time: for charging reasons, voltage V is collected6 CollectionThe change is 3920, where the expected compensation value is V5 smoothingMinus V6 CollectionI.e., 3800-. Since the difference between the two is 120, the compensation value is refreshed to-120, so that the value (6,3800 (i.e. 3920-120)) substituted into the linear regression equation at the current time is (6,3800), the equation slope is 0, the intercept is 3800, the equation expression is y-3800 (as shown in the linear regression equation diagram at the sixth time in fig. 8), and the value substituted into X-6, and the smoothed value V is obtained6 smoothing Is 3800.
Taking the example that the T-th time is the 7 th time, for the 7 th time: for charging reasons, voltage V is collected7 CollectionThe change is 3922, where the desired offset is V6 smoothingMinus V7 Collection3800-The moment offset value is-120. Since the absolute value of the difference between the two is 2, no modification is performed, so that the value of the linear regression equation substituted into the linear regression equation at the current time is (7,3802 (i.e. 3922-120)), the equation slope is 0.4, the intercept is 3798.4, and the equation expression is y-0.4X +3798.4 (as shown in the linear regression equation diagram at the seventh time shown in fig. 9), and is substituted into X-7, so that the smoothed value V is obtained7 smoothingIs 3801.2.
Taking the example that the T-th time is the 8 th time, for the 8 th time: for charging reasons, voltage V is collected8 CollectionThe change is 3924, where the expected compensation value is V7 smoothingMinus V8 Collection3801.2-3924 is-122.8, the compensation value at the previous moment is-120, the absolute value of the difference between the two is 2.8, so no change is made, so the value of the linear regression equation substituted by the current moment is (8,3804 (i.e. 3924-120)), the slope of the equation is 0.92, the intercept is 3795.5, the equation expression is y is 0.92X +3795.5 (as shown in the linear regression equation diagram at the eighth moment in fig. 9), and X is 8, the smoothed value V is obtained8 smoothingIs 3802.86.
Taking the example that the T-th time is the 32-th time, for the 32-th time: for discharge reasons, voltage V is picked32 acquisitionThe change is 3900 and the desired compensation value at the current time is the smoothed value (3846) minus V32 acquisitionNamely 3846-3900 is minus 54mV, and the compensation value at the last moment is minus 120 mV. Through calculation, the absolute value of the difference between the two is greater than the refresh threshold 35mV, so the compensation value refresh is 3846 and 3900 is-54 mV, so the value of the linear regression equation substituted into the current time is (32,3846), that is, the 32 th time, the expected smooth value is 3846mV, the voltage smooth values (28,3839) (29,3841) (30,3843) (31,3846) reported at the previous 4 times are added, the equation slope is 1.9 and the intercept is 3786 are obtained through substitution, the equation expression is y-1.9X +3786 (as shown in the schematic diagram of the linear regression equation at the 32 th time shown in fig. 10), and the smooth value V is obtained through substitution X-3232 smoothingY=3846.8。
Since the charging and discharging of the battery is coherent, the influence of the first N data needs to be considered, so the linear regression is used for prediction and is more accurate than the direct reporting. For example, at the 32 th moment, after the device is powered off at the moment and the voltages at the two ends of the battery cell are tested, the real voltage of the battery is 3846.5, and the reported voltage obtained by using the voltage compensation method of the battery in the embodiment of the present application is 3846.8. Compared with 3846.5, the precision of the reported voltage obtained by the voltage compensation method of the battery in the embodiment of the application is 0.3 mV. If the voltage 3846 is reported directly, the accuracy of the reported voltage relative to the true voltage (3846.5) is 0.5 mV. It can be seen that the reporting accuracy of the reported voltage obtained by the voltage compensation method of the battery according to the embodiment of the present application is improved by 0.2mV compared with the reporting accuracy of the voltage (i.e., the expected smooth value) directly reported.
The following describes an embodiment of the present application with reference to a simulation example in fig. 11. Here, the simulation data of the acquisition points in fig. 11 may correspond to the respective linear regression equations in fig. 8 to 10 described above. It should be understood that each acquisition point in FIG. 11 may be understood as a time of day.
In fig. 11, the refresh threshold of the compensation value is illustrated as 35 mV. At the 7 th instant (instant can be understood as the acquisition point in fig. 11): for charging reasons, voltage V is collected7 CollectionThe change is 3922, where the desired offset is V6 smoothingMinus V7 CollectionI.e., 3800-. Since the absolute value of the difference between the two is 2, no modification is performed, so that the value of the linear regression equation substituted into the linear regression equation at the current time is (7,3802 (i.e. 3922-120)), the equation slope is 0.4, the intercept is 3798.4, and the equation expression is y-0.4X +3798.4 (as shown in the linear regression equation diagram at the seventh time shown in fig. 9), and is substituted into X-7, so that the smoothed value V is obtained7 smoothingIs 3801.2. At time 32: for discharge reasons, voltage V is picked32 acquisitionThe change is 3900 and the desired compensation value at the current time is the smoothed value (3846) minus V32 acquisitionNamely 3846-3900 is minus 54mV, and the compensation value at the last moment is minus 120 mV. After calculation, the absolute value of the difference between the two is greater than the refresh threshold 35mV, so the compensation value refresh is 3846 and 3900 is-54 mV, so the value of the current time point substituted into the linear regression equation is (32,3846), i.e. the 32 th time point, the expected smooth value is 3846mV,adding the voltage smooth values (28,3839) (29,3841) (30,3843) (31,3846) reported at the previous 4 moments, substituting to obtain an equation slope of 1.9 and an intercept of 3786, wherein the equation expression is y-1.9X +3786 (as shown in a linear regression equation diagram at the 32 th moment in fig. 10), and substituting X-32 to obtain a smooth value V32 smoothingY=3846.8。
It should be understood that the examples in fig. 8 to 11 are only for facilitating the understanding of the embodiments of the present application by those skilled in the art, and are not intended to limit the embodiments of the present application to the specific scenarios illustrated. It will be apparent to those skilled in the art that various equivalent modifications or variations are possible in light of the examples shown in fig. 8-11, and such modifications or variations are intended to be included within the scope of the embodiments of the present application.
In a specific implementation, whether to compensate the battery voltage can be used as an optional voltage compensation function (e.g., a virtual power compensation function) of the terminal device. Alternatively, the user may select to turn the function on or off. Specifically, if the user selects to start voltage compensation, the compensation can be performed by using the battery voltage compensation method of the present application, and then the displayed electric quantity on the interface of the terminal device is the compensated battery voltage; if the user selects to close the voltage compensation, the displayed electric quantity on the interface of the terminal equipment is the battery voltage which is not compensated by adopting the compensation method of the embodiment of the application. Taking the User's Interface (UI) of the mobile phone in fig. 12 as an example, in a scenario of battery voltage discharge, the mobile phone may have a virtual low condition. As shown in fig. 12: assuming that the user does not start the virtual power compensation function, the battery power of the mobile phone is as shown in the left graph in fig. 12 (the power is displayed as 1 grid); if the user starts the virtual electricity compensation function, that is, after the virtual electricity is compensated by using the battery voltage compensation method of the embodiment of the present application, the battery capacity of the mobile phone at this time is as shown in the right diagram in fig. 12 (the battery capacity is displayed as 2 grids). Therefore, after the virtual electricity is compensated by the battery voltage compensation method, the battery electric quantity can be displayed more accurately. It should be understood that the interface in fig. 12 is only used for schematic illustration, and the embodiment of the present application is not limited to fig. 12, and is not limited to this.
The method for compensating the battery voltage according to the embodiment of the present application is described in detail above with reference to fig. 1 to 12. A compensation apparatus of a battery voltage according to an embodiment of the present application will be described below with reference to fig. 13 and 14. It should be understood that the technical features described in the method embodiments are equally applicable to the following apparatus embodiments.
Fig. 13 shows a schematic block diagram of a device 1300 for compensating a battery voltage according to an embodiment of the present application. The apparatus 1300 is applied to a terminal device including a battery. As shown in fig. 13, the apparatus 1300 includes:
an obtaining module 1310 for obtaining the collecting voltage V of the battery at the Tth timeT acquisition
A determination module 1320 for smoothing the voltage V according to the time T-1T-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment;
a compensation module 1330 for comparing the collected voltage V at the T-th time with the actual compensation voltage at the T-th timeT acquisitionCompensating to obtain a compensated voltage value;
a processing module 1340, configured to perform smoothing processing using the compensated voltage value and the voltage smoothing values at N moments before the T moment to obtain a smoothed voltage V at the T momentT smoothing
In a possible implementation manner, the terminal device stores the smooth voltage V at the T-1 th timeT-1 smoothing
Wherein the determining module 1320 is configured to smooth the voltage V according to the T-1 timeT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the tth moment specifically includes:
according to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the acquisition voltage V at the time T-1T-1 CollectionCalculating the compensation voltage V at the T-1 th timeT-1
According to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the collecting voltage VT acquisitionCalculating the compensation voltage V at the Tth timeT
Calculating the compensation voltage V at the Tth momentTCompensating voltage V with time T-1T-1A difference of (d);
and determining the actual compensation voltage at the Tth moment based on the magnitude relation between the absolute value of the difference and the first threshold.
In a possible implementation manner, the determining module 1320 is configured to determine the actual compensation voltage at the tth time based on a magnitude relationship between the absolute value of the difference and a first threshold, and specifically includes:
if the absolute value of the difference is larger than the first threshold, the actual compensation voltage at the T-th moment is VT(ii) a Or,
if the absolute value of the difference is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is VT-1
In one possible implementation, the VT-1=V T-1 smoothing-V T-1 CollectionSaid V isT=V T-1 smoothing-V T acquisition(ii) a Wherein, the VTAnd said VT-1The difference is a delta V and the difference is a delta V,
if the absolute value delta V is larger than the first threshold, the actual compensation voltage at the T-th moment is the VTIf the absolute value delta V is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is the VT-1
In a possible implementation manner, the processing module 1340 is configured to perform smoothing processing by using the compensated voltage value and voltage smoothed values at N moments before the current moment, where the smoothing processing specifically includes:
based on a least square method, using the compensated voltage value and voltage smoothing values of the first N moments of the current moment to obtain a linear regression equation V which is beta t + epsilon, wherein V represents voltage, t represents time, beta represents slope, and epsilon represents intercept;
wherein the smoothed voltage V at the Tth timeT smoothingAnd calculating by using the linear regression equation.
In one possible implementation, the obtaining module 1310 is further configured to:
acquiring the acquisition voltage V at the Tth momentT acquisitionThe voltage compensation threshold of (1);
the compensation module 1330 is configured to use the actual compensation voltage at the tth time to compare the collected voltage V at the tth timeT acquisitionPerforming compensation, specifically comprising:
if the acquisition voltage V at the Tth momentT acquisitionIf the voltage compensation threshold is met, the actual compensation voltage at the Tth moment is used for collecting the voltage V at the Tth momentT acquisitionCompensation is performed.
In a possible implementation, the voltage V collected at the time TT acquisitionSatisfying the voltage compensation threshold includes any one of:
the voltage compensation threshold is a virtual high voltage compensation threshold, and the acquired voltage V at the Tth momentT acquisitionLess than the virtual high voltage compensation threshold; or,
the voltage compensation threshold is a virtual low voltage compensation threshold, and the collected voltage V at the Tth momentT acquisitionGreater than the virtual low voltage compensation threshold.
It should be understood that the apparatus 1300 according to the embodiment of the present application may be configured to perform the method of the foregoing method embodiment, for example, the method in fig. 4, and the above and other management operations and/or functions of each module in the apparatus 1300 are respectively for implementing corresponding steps of the method of the foregoing method embodiment, so that beneficial effects in the foregoing method embodiment may also be implemented, and for brevity, no repeated description is provided here.
It should be further understood that the modules in the apparatus 1300 may be implemented in software and/or hardware, and are not particularly limited thereto. In other words, the apparatus 1300 is presented in the form of a functional module. As used herein, a "module" may refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality. Alternatively, in a simple embodiment, one skilled in the art may appreciate that the apparatus 1300 may take the form shown in FIG. 14. The obtaining module 1310, the determining module 1320, the compensating module 1330, and the processing module 1340 may be implemented by the processor 1430 shown in fig. 14. In particular, the processor is implemented by executing a computer program stored in a memory. Alternatively, when the apparatus 1300 is a chip, the transceiving functions and/or implementation processes involved in the apparatus 1300 may also be implemented by pins, interface circuits, or the like. Optionally, the memory is a storage unit in the chip, such as a register, a cache, and the like, and the storage unit may also be a storage unit located outside the chip in the computer device, such as the memory 1440 shown in fig. 14. Fig. 14 is a schematic block diagram illustrating a battery voltage compensation apparatus 1400 according to an embodiment of the present application, and as shown in fig. 14, the apparatus 1400 includes:
a battery main body 1410; a sensor 1420 for sensing parameters of the battery body 1410, the parameters including: voltage data of the battery body 410. It should be understood that sensor 1420 may be optional.
A processor 1430, the processor 1430 being communicatively coupled to the sensor 1420 so as to be able to acquire voltage data from the sensor 1430;
a memory 1440;
the memory 1440 is used for storing instructions, and the processor 1430 is used for executing the instructions stored in the memory 1440.
Optionally, the processor 1430 may obtain the collected voltage V of the battery at the time T through the sensor 1420T acquisition
In an alternative implementation, the processor 1430 is configured to perform the following steps: according to the smooth voltage V at the T-1 th momentT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment; using the actual time of said Tth instantCompensating voltage to the acquired voltage V at the T-th momentT acquisitionCompensating to obtain a compensated voltage value; using the compensated voltage value and the voltage smoothing values at the first N moments of the T moment to carry out smoothing treatment to obtain a smooth voltage V at the T momentT smoothing
In an alternative implementation, the device 1400 stores the smoothed voltage V at the time T-1T-1 smoothing
Wherein the processor 1430 smoothes the voltage V according to the T-1 th timeT-1 smoothingAnd said acquisition voltage VT mining CollectionDetermining the actual compensation voltage at the tth moment specifically includes:
according to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the acquisition voltage V at the time T-1T-1 CollectionCalculating the compensation voltage V at the T-1 th timeT-1
According to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the collecting voltage VT acquisitionCalculating the compensation voltage V at the Tth timeT
The terminal equipment calculates the compensation voltage V at the Tth momentTCompensating voltage V with time T-1T-1A difference of (d);
and determining the actual compensation voltage at the Tth moment based on the magnitude relation between the absolute value of the difference and the first threshold.
In an optional implementation manner, the determining, by the processor 1430, the actual compensation voltage at the T-th time based on a magnitude relationship between the absolute value of the difference and a first threshold specifically includes:
if the absolute value of the difference is larger than the first threshold, the actual compensation voltage at the T-th moment is VT(ii) a Or,
if the absolute value of the difference is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is VT-1
In an alternative implementationIn the above mode, the VT-1=V T-1 smoothing-V T-1 CollectionSaid V isT=V T-1 smoothing-V T acquisition(ii) a Wherein, the VTAnd said VT-1The difference is a delta V and the difference is a delta V,
if the absolute value delta V is larger than the first threshold, the actual compensation voltage at the T-th moment is the VTIf the absolute value delta V is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is the VT-1
In an optional implementation manner, the processor 1430 performs smoothing processing using the compensated voltage value and voltage smoothed values at N times before the current time, specifically including:
based on a least square method, using the compensated voltage value and voltage smoothing values of the first N moments of the current moment to obtain a linear regression equation V which is beta t + epsilon, wherein V represents voltage, t represents time, beta represents slope, and epsilon represents intercept;
wherein the smoothed voltage V at the Tth timeT smoothingAnd calculating by using the linear regression equation.
In an optional implementation manner, the processor 1430 is further configured to obtain the collecting voltage V at the tth timeT CollectingThe voltage compensation threshold of (1);
wherein the processor 1430 uses the actual compensation voltage at the Tth time to compare the collected voltage V at the Tth timeT acquisitionPerforming compensation, specifically comprising:
if the acquisition voltage V at the Tth momentT acquisitionIf the voltage compensation threshold is met, the actual compensation voltage at the Tth moment is used for collecting the voltage V at the Tth momentT acquisitionCompensation is performed.
In an optional implementation manner, the collecting voltage V at the tth time isT acquisitionSatisfying the voltage compensation threshold includes any one of:
the voltage compensation threshold is a virtual high voltage complementThe collected voltage V of the Tth time is compensated for the thresholdT acquisitionLess than the virtual high voltage compensation threshold; or,
the voltage compensation threshold is a virtual low voltage compensation threshold, and the collected voltage V at the Tth momentT acquisitionGreater than the virtual low voltage compensation threshold.
It should be understood that the apparatus 1400 according to the embodiment of the present application may be configured to perform the method of the foregoing method embodiment, for example, the method in fig. 4, and the above and other management operations and/or functions of the respective modules in the apparatus 1400 are respectively for implementing the corresponding steps of the method of the foregoing method embodiment, so that the beneficial effects in the foregoing method embodiment may also be implemented, and for brevity, the detailed description is not repeated here.
Optionally, in a possible implementation manner, the apparatus 1300 or the apparatus 1400 may be a terminal device.
In the embodiment of the present application, it should be noted that the above method embodiments of the embodiment of the present application may be applied to a processor, or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that in the embodiment of the present application, "B corresponding to a" means that B is associated with a, from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product may include one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic disk), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

  1. A method for compensating a battery voltage, the method being applied to a terminal device including a battery, the method comprising:
    the terminal equipment acquires the acquired voltage V of the battery at the Tth momentT acquisition
    The terminal equipment smoothes the voltage V according to the T-1 timeT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment;
    the terminal equipment uses the actual compensation voltage at the T moment to acquire the voltage V at the T momentT acquisitionMake compensationObtaining a compensated voltage value;
    the terminal equipment uses the compensated voltage value and the voltage smoothing values at the first N moments of the T moment to carry out smoothing treatment to obtain a smooth voltage V at the T momentT smoothing
  2. The method according to claim 1, wherein the terminal device stores the smoothed voltage V at the time T-1T-1 smoothing
    Wherein the terminal device smoothes the voltage V according to the T-1 th timeT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment, comprising:
    the terminal equipment smoothes the voltage V according to the T-1 timeT-1 smoothingAnd, the acquisition voltage V at the time T-1T-1 CollectingCalculating the compensation voltage V at the T-1 th timeT-1
    The terminal equipment smoothes the voltage V according to the T-1 timeT-1 smoothingAnd, the collecting voltage VT acquisitionCalculating the compensation voltage V at the Tth timeT
    The terminal equipment calculates the compensation voltage V at the Tth momentTCompensating voltage V with time T-1T-1A difference of (d);
    and the terminal equipment determines the actual compensation voltage at the Tth moment based on the magnitude relation between the absolute value of the difference and the first threshold.
  3. The method of claim 2, wherein the terminal device determines the actual compensation voltage at the tth time based on a magnitude relationship between an absolute value of the difference and a first threshold, and comprises:
    if the absolute value of the difference is larger than the first threshold, the actual compensation voltage at the T-th moment is VT(ii) a Or,
    if soThe absolute value of the difference is less than or equal to the first threshold, and the actual compensation voltage at the T-th moment is VT-1
  4. The method of claim 3, wherein V isT-1=V T-1 smoothing-V T-1 CollectionSaid V isT=V T-1 Smoothing-V T acquisition(ii) a Wherein, the VTAnd said VT-1The difference is a delta V and the difference is a delta V,
    if the absolute value delta V is larger than the first threshold, the actual compensation voltage at the T-th moment is the VTIf the absolute value delta V is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is the VT-1
  5. The method according to any one of claims 1 to 4, wherein the terminal device performs smoothing processing using the compensated voltage value and voltage smoothed values of N time points before the current time point, and comprises:
    the terminal equipment obtains a linear regression equation V which is beta t + epsilon by using the compensated voltage value and voltage smoothing values of the previous N moments of the current moment based on a least square method, wherein V represents voltage, t represents time, beta represents slope, and epsilon represents intercept;
    wherein the smoothed voltage V at the Tth timeT smoothingAnd calculating by using the linear regression equation.
  6. The method according to any one of claims 1 to 5, further comprising:
    the terminal equipment acquires the acquisition voltage V at the Tth momentT acquisitionThe voltage compensation threshold of (1);
    the terminal equipment uses the actual compensation voltage at the Tth moment to acquire the voltage V at the Tth momentT acquisitionPerforming compensation, including:
    if the acquisition voltage V at the Tth momentT acquisitionIf the voltage compensation threshold is met, the terminal equipment uses the actual compensation voltage at the Tth moment to acquire the voltage V at the Tth momentT acquisitionCompensation is performed.
  7. Method according to claim 6, characterized in that the acquisition voltage V at the Tth momentT acquisitionSatisfying the voltage compensation threshold includes any one of:
    the voltage compensation threshold is a virtual high voltage compensation threshold, and the acquired voltage V at the Tth momentT acquisitionLess than the virtual high voltage compensation threshold; or,
    the voltage compensation threshold is a virtual low voltage compensation threshold, and the collected voltage V at the Tth momentT acquisitionGreater than the virtual low voltage compensation threshold.
  8. A device for compensating a battery voltage, the device being applied to a terminal device including a battery, the device comprising:
    an acquisition module for acquiring the acquired voltage V of the battery at the Tth momentT acquisition
    A determination module for smoothing the voltage V according to the T-1 th timeT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment;
    a compensation module for using the actual compensation voltage at the Tth moment to acquire the voltage V at the Tth momentT acquisitionCompensating to obtain a compensated voltage value;
    a processing module for smoothing the compensated voltage value and the voltage smoothing values at the first N moments of the T-th moment to obtain a smoothed voltage V at the T-th momentT smoothing
  9. The apparatus of claim 8, wherein the apparatus is a portable deviceIn that the terminal device stores the smooth voltage V at the T-1 th timeT-1 smoothing
    Wherein the determination module is used for smoothing the voltage V according to the T-1 th momentT-1 smoothingAnd said acquisition voltage VT CollectingDetermining the actual compensation voltage at the tth moment specifically includes:
    according to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the acquisition voltage V at the time T-1T-1 CollectionCalculating the compensation voltage V at the T-1 th timeT-1
    According to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the collecting voltage VT acquisitionCalculating the compensation voltage V at the Tth timeT
    Calculating the compensation voltage V at the Tth momentTCompensating voltage V with time T-1T-1A difference of (d);
    and determining the actual compensation voltage at the Tth moment based on the magnitude relation between the absolute value of the difference and the first threshold.
  10. The apparatus according to claim 9, wherein the determining module is configured to determine the actual compensation voltage at the tth time based on a magnitude relationship between an absolute value of the difference and a first threshold, and specifically includes:
    if the absolute value of the difference is larger than the first threshold, the actual compensation voltage at the T-th moment is VT(ii) a Or,
    if the absolute value of the difference is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is VT-1
  11. The apparatus of claim 10, wherein V isT-1=V T-1 smoothing-V T-1 CollectionSaid V isT=V T-1 smoothing-V T acquisition(ii) a Wherein, the VTAnd said VT-1The difference is a delta V and the difference is a delta V,
    if the absolute value delta V is larger than the first threshold, the actual compensation voltage at the T-th moment is the VTIf the absolute value delta V is less than or equal to the first threshold, the actual compensation voltage at the T-th moment is the VT-1
  12. The apparatus according to any one of claims 8 to 11, wherein the processing module is configured to perform smoothing processing using the compensated voltage value and voltage smoothed values at N times before a current time, and specifically includes:
    based on a least square method, using the compensated voltage value and voltage smoothing values of the first N moments of the current moment to obtain a linear regression equation V which is beta t + epsilon, wherein V represents voltage, t represents time, beta represents slope, and epsilon represents intercept;
    wherein the smoothed voltage V at the Tth timeT smoothingAnd calculating by using the linear regression equation.
  13. The apparatus of any one of claims 8 to 12, wherein the obtaining module is further configured to:
    acquiring the acquisition voltage V at the Tth momentT acquisitionThe voltage compensation threshold of (1);
    the compensation module is used for using the actual compensation voltage at the Tth moment to acquire the voltage V at the Tth momentT acquisitionPerforming compensation, specifically comprising:
    if the acquisition voltage V at the Tth momentT acquisitionIf the voltage compensation threshold is met, the actual compensation voltage at the Tth moment is used for collecting the voltage V at the Tth momentT acquisitionCompensation is performed.
  14. The apparatus of claim 13, wherein the acquisition voltage V at time TT acquisitionSatisfy the voltage compensation gateThe limit includes any of the following cases:
    the voltage compensation threshold is a virtual high voltage compensation threshold, and the acquired voltage V at the Tth momentT acquisitionLess than the virtual high voltage compensation threshold; or,
    the voltage compensation threshold is a virtual low voltage compensation threshold, and the collected voltage V at the Tth momentT acquisitionGreater than the virtual low voltage compensation threshold.
  15. A terminal device, comprising: a battery, a processor, and a memory, the memory for storing instructions, the processor for invoking the instructions stored in the memory to perform the steps of:
    acquiring the acquisition voltage V of the battery at the Tth momentT acquisition
    According to the smooth voltage V at the T-1 th momentT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the Tth moment;
    using the actual compensation voltage at the Tth moment to acquire the voltage V at the Tth momentT acquisitionCompensating to obtain a compensated voltage value;
    using the compensated voltage value and the voltage smoothing values at the first N moments of the T moment to carry out smoothing treatment to obtain a smooth voltage V at the T momentT smoothing
  16. The terminal device according to claim 15, wherein the smoothed voltage V at the T-1 th time is stored in the terminal deviceT-1 smoothing
    Wherein the processor smoothes the voltage V according to the T-1 th timeT-1 smoothingAnd said acquisition voltage VT acquisitionDetermining the actual compensation voltage at the tth moment specifically includes:
    according to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, at the time of T-1Collector voltage VT-1 CollectionCalculating the compensation voltage V at the T-1 th timeT-1
    According to the smooth voltage V at the T-1 th momentT-1 smoothingAnd, the collecting voltage VT acquisitionCalculating the compensation voltage V at the Tth timeT
    Calculating the compensation voltage V at the Tth momentTCompensating voltage V with time T-1T-1A difference of (d);
    and the terminal equipment determines the actual compensation voltage at the Tth moment based on the magnitude relation between the absolute value of the difference and the first threshold.
  17. The terminal device according to claim 15 or 16, wherein the processor performs smoothing processing using the compensated voltage value and voltage smoothing values at N times before the current time, specifically including:
    based on a least square method, using the compensated voltage value and voltage smoothing values of the first N moments of the current moment to obtain a linear regression equation V which is beta t + epsilon, wherein V represents voltage, t represents time, beta represents slope, and epsilon represents intercept;
    wherein the smoothed voltage V at the Tth timeT smoothingAnd calculating by using the linear regression equation.
  18. The terminal device of any of claims 15-17, wherein the processor is further configured to:
    acquiring the acquisition voltage V at the Tth momentT acquisitionThe voltage compensation threshold of (1);
    wherein the processor uses the actual compensation voltage at the Tth moment to compare the acquired voltage V at the Tth momentT CollectingPerforming compensation, specifically comprising:
    if the acquisition voltage V at the Tth momentT acquisitionIf the voltage compensation threshold is met, the actual compensation voltage at the Tth moment is used for collecting electricity at the Tth momentPressure VT acquisitionCompensation is performed.
  19. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-7.
  20. A computer program product which, when run on a computer, causes the computer to perform the method of any of claims 1-7 above.
CN201880093192.1A 2018-10-31 2018-10-31 Battery voltage compensation method and device and terminal equipment Active CN112292604B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/113127 WO2020087373A1 (en) 2018-10-31 2018-10-31 Compensation method and apparatus for battery voltage, and terminal device

Publications (2)

Publication Number Publication Date
CN112292604A true CN112292604A (en) 2021-01-29
CN112292604B CN112292604B (en) 2021-12-21

Family

ID=70462497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880093192.1A Active CN112292604B (en) 2018-10-31 2018-10-31 Battery voltage compensation method and device and terminal equipment

Country Status (2)

Country Link
CN (1) CN112292604B (en)
WO (1) WO2020087373A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448015A (en) * 2021-08-06 2022-05-06 荣耀终端有限公司 Temperature compensation method, device, terminal device and readable storage medium
CN114791713A (en) * 2022-03-18 2022-07-26 青岛海尔空调器有限总公司 Monitoring method, device and equipment for vehicle battery and storage medium
CN117406090A (en) * 2023-09-15 2024-01-16 深圳市普裕时代新能源科技有限公司 Lithium ion battery power consumption detection method and device
CN114791713B (en) * 2022-03-18 2025-04-18 青岛海尔空调器有限总公司 Vehicle battery monitoring method, device, equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112782596A (en) * 2020-12-07 2021-05-11 深圳市新国都支付技术有限公司 Battery electric quantity calculation method, electronic device and storage medium
CN112748347B (en) * 2020-12-30 2023-08-25 北京二郎神科技有限公司 Battery electric quantity acquisition method and device, storage medium and electronic equipment
CN113114141B (en) * 2021-04-26 2024-06-07 北京机械设备研究所 Method, device and equipment for compensating power supply voltage of electric steering engine
CN117130419B (en) * 2023-08-30 2024-03-12 南京普联微电子科技有限公司 LSTM-based MOS tube differential pressure intelligent regulation method and system

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002181906A (en) * 2000-12-12 2002-06-26 Toshitaka Takei Battery remaining capacity calculation method and device to calculate
CN1387691A (en) * 1999-09-09 2002-12-25 丰田自动车株式会社 Apparatus for battery capacity measurement and for remaining capacity calculation
CN1622387A (en) * 2003-11-24 2005-06-01 密尔沃基电动工具公司 Method and system for cell protection
CN1641372A (en) * 2004-01-02 2005-07-20 明基电通股份有限公司 Compensation device and method for battery power of mobile electronic device
CN1889736A (en) * 2006-08-08 2007-01-03 北京天碁科技有限公司 Method for measuring mobile communication terminal battery electricity quantity
CN101013822A (en) * 2005-12-21 2007-08-08 三星Sdi株式会社 Method for compensating state of charge of battery and battery management system using the same
CN101806867A (en) * 2010-03-12 2010-08-18 中兴通讯股份有限公司 Method and device for measuring electric quantity of mobile phone battery
US20110109317A1 (en) * 2009-11-12 2011-05-12 Samsung Electronics Co. Ltd. Method and apparatus for displaying state of current consumption of battery in portable terminal
CN102598468A (en) * 2010-09-10 2012-07-18 松下电器产业株式会社 Power control device, power control method, and power supply system
CN103020445A (en) * 2012-12-10 2013-04-03 西南交通大学 SOC (State of Charge) and SOH (State of Health) prediction method of electric vehicle-mounted lithium iron phosphate battery
CN103176132A (en) * 2011-12-22 2013-06-26 联芯科技有限公司 Estimation method and terminal device of electricity quantity of battery
CN103176139A (en) * 2013-03-08 2013-06-26 桂林电子科技大学 State-of-charge estimation method and system for compensating non-smooth hysteresis in power batteries
CN103633705A (en) * 2013-12-10 2014-03-12 Tcl通讯(宁波)有限公司 Terminal and method of precisely acquiring battery voltage by discharging during charging
CN105190338A (en) * 2013-02-27 2015-12-23 株式会社丰田自动织机 Method and device for estimating battery state of charge
CN106716162A (en) * 2015-02-13 2017-05-24 松下知识产权经营株式会社 Cell status estimation device and power supply device
US20170195067A1 (en) * 2015-12-30 2017-07-06 Le Holdings (Beijing) Co., Ltd. Method and electronic device for measuring battery capacity of mobile communication terminal equipment
CN107817859A (en) * 2017-10-30 2018-03-20 深圳市道通智能航空技术有限公司 A kind of cell voltage filtering method and device
CN107831445A (en) * 2017-10-30 2018-03-23 深圳市道通智能航空技术有限公司 A kind of method and apparatus for obtaining battery dump energy
JP6323149B2 (en) * 2014-05-07 2018-05-16 岩崎電気株式会社 Power supply device for lighting with power failure compensation function and lighting device
CN108701873A (en) * 2016-02-08 2018-10-23 西门子股份公司 Lifetime controller for energy storage

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106501730A (en) * 2016-12-06 2017-03-15 歌尔科技有限公司 A kind of battery electric quantity processing method and equipment

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1387691A (en) * 1999-09-09 2002-12-25 丰田自动车株式会社 Apparatus for battery capacity measurement and for remaining capacity calculation
JP2002181906A (en) * 2000-12-12 2002-06-26 Toshitaka Takei Battery remaining capacity calculation method and device to calculate
CN1622387A (en) * 2003-11-24 2005-06-01 密尔沃基电动工具公司 Method and system for cell protection
CN1641372A (en) * 2004-01-02 2005-07-20 明基电通股份有限公司 Compensation device and method for battery power of mobile electronic device
CN101013822A (en) * 2005-12-21 2007-08-08 三星Sdi株式会社 Method for compensating state of charge of battery and battery management system using the same
CN1889736A (en) * 2006-08-08 2007-01-03 北京天碁科技有限公司 Method for measuring mobile communication terminal battery electricity quantity
US20110109317A1 (en) * 2009-11-12 2011-05-12 Samsung Electronics Co. Ltd. Method and apparatus for displaying state of current consumption of battery in portable terminal
CN101806867A (en) * 2010-03-12 2010-08-18 中兴通讯股份有限公司 Method and device for measuring electric quantity of mobile phone battery
CN102598468A (en) * 2010-09-10 2012-07-18 松下电器产业株式会社 Power control device, power control method, and power supply system
CN103176132A (en) * 2011-12-22 2013-06-26 联芯科技有限公司 Estimation method and terminal device of electricity quantity of battery
CN103020445A (en) * 2012-12-10 2013-04-03 西南交通大学 SOC (State of Charge) and SOH (State of Health) prediction method of electric vehicle-mounted lithium iron phosphate battery
CN105190338A (en) * 2013-02-27 2015-12-23 株式会社丰田自动织机 Method and device for estimating battery state of charge
CN103176139A (en) * 2013-03-08 2013-06-26 桂林电子科技大学 State-of-charge estimation method and system for compensating non-smooth hysteresis in power batteries
CN103633705A (en) * 2013-12-10 2014-03-12 Tcl通讯(宁波)有限公司 Terminal and method of precisely acquiring battery voltage by discharging during charging
JP6323149B2 (en) * 2014-05-07 2018-05-16 岩崎電気株式会社 Power supply device for lighting with power failure compensation function and lighting device
CN106716162A (en) * 2015-02-13 2017-05-24 松下知识产权经营株式会社 Cell status estimation device and power supply device
US20170195067A1 (en) * 2015-12-30 2017-07-06 Le Holdings (Beijing) Co., Ltd. Method and electronic device for measuring battery capacity of mobile communication terminal equipment
CN108701873A (en) * 2016-02-08 2018-10-23 西门子股份公司 Lifetime controller for energy storage
CN107817859A (en) * 2017-10-30 2018-03-20 深圳市道通智能航空技术有限公司 A kind of cell voltage filtering method and device
CN107831445A (en) * 2017-10-30 2018-03-23 深圳市道通智能航空技术有限公司 A kind of method and apparatus for obtaining battery dump energy

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘毅: "优化电池模型的自适应Sigma卡尔曼荷电状态估算", 《电工技术学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448015A (en) * 2021-08-06 2022-05-06 荣耀终端有限公司 Temperature compensation method, device, terminal device and readable storage medium
CN114448015B (en) * 2021-08-06 2023-01-24 荣耀终端有限公司 Temperature compensation method and device, terminal equipment and readable storage medium
CN114791713A (en) * 2022-03-18 2022-07-26 青岛海尔空调器有限总公司 Monitoring method, device and equipment for vehicle battery and storage medium
CN114791713B (en) * 2022-03-18 2025-04-18 青岛海尔空调器有限总公司 Vehicle battery monitoring method, device, equipment and storage medium
CN117406090A (en) * 2023-09-15 2024-01-16 深圳市普裕时代新能源科技有限公司 Lithium ion battery power consumption detection method and device
CN117406090B (en) * 2023-09-15 2024-07-02 深圳市普裕时代新能源科技有限公司 Lithium ion battery power consumption detection method and device

Also Published As

Publication number Publication date
WO2020087373A1 (en) 2020-05-07
CN112292604B (en) 2021-12-21

Similar Documents

Publication Publication Date Title
CN112292604B (en) Battery voltage compensation method and device and terminal equipment
CN106055364B (en) Application starting method and terminal equipment
CN108475935B (en) Battery charging management method and terminal
EP3340009B1 (en) Electronic device and heat control method based on temperature of battery in electronic device
CN111817391B (en) Electronic device and battery charge/discharge control method thereof
CN111313500B (en) Charge management method and apparatus, electronic device, computer-readable storage medium
EP3349323B1 (en) Terminal and method for charging the same
US10103562B2 (en) Electronic device and method for controlling charging operation of battery
US11927640B2 (en) Method for acquiring information about state of battery on basis of voltage change amount of battery during charging, and electronic device for supporting same
CN106549464A (en) A charging control method, device and computer equipment
CN106655381B (en) Wireless charging method and device
CN106055209B (en) A kind of application startup method and terminal device
EP3579375B1 (en) Charging method, charging device and terminal
US20160097820A1 (en) Battery Performance Under high Temperature Exposure
CN107611507B (en) Update method, device and the mobile terminal of battery parameter
US11228193B2 (en) Serial SOC testing for improved fast-charge algorithm
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
CN111092671A (en) Signal strength reporting method and device, storage medium and terminal equipment
CN106786961A (en) Charging process method, device and terminal
US20190257887A1 (en) Method and device for ascertaining required charging time
CN109149690B (en) Charging control device and method and electronic equipment
CN113422400A (en) NTC battery temperature compensation method and related product
CN112311029B (en) Charging method, electronic device and storage medium
CN107329547B (en) Temperature control method and device and mobile terminal
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment

Legal Events

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