WO2023116518A1 - Method for displayed soc value of battery to perform following, and related apparatus - Google Patents

Method for displayed soc value of battery to perform following, and related apparatus Download PDF

Info

Publication number
WO2023116518A1
WO2023116518A1 PCT/CN2022/138882 CN2022138882W WO2023116518A1 WO 2023116518 A1 WO2023116518 A1 WO 2023116518A1 CN 2022138882 W CN2022138882 W CN 2022138882W WO 2023116518 A1 WO2023116518 A1 WO 2023116518A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
soc
soc value
rate
change
Prior art date
Application number
PCT/CN2022/138882
Other languages
French (fr)
Chinese (zh)
Inventor
张君伟
康文蓉
王印
Original Assignee
长城汽车股份有限公司
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 长城汽车股份有限公司 filed Critical 长城汽车股份有限公司
Publication of WO2023116518A1 publication Critical patent/WO2023116518A1/en

Links

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]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Definitions

  • the present application relates to the technical field of batteries, and in particular to a method for following a battery display SOC value and a related device.
  • SOC State Of Charge, the remaining power, also known as the state of charge or the state of charge of the battery, refers to the difference between the remaining dischargeable power and the fully charged battery after the battery has been used for a period of time or kept for a long time.
  • the ratio of electricity, usually expressed as a percentage) the accuracy of the estimated value is very important, and it is often necessary to correct the estimated value of the SOC in real time through an optimization algorithm to ensure the accuracy of the SOC.
  • the actual SOC value of the battery will jump with the correction.
  • the SOC value seen by the user cannot jump, otherwise it will cause driving anxiety.
  • SOC values are often included in the SOC estimation algorithm: one is the actual SOC value of the battery, and the other is the displayed SOC value provided to the user.
  • the SOC value should follow the actual actual SOC value at a certain rate of change until the two are consistent.
  • the present application provides a battery display SOC value following method and a related device to solve the problem of poor follow-up effect of the displayed SOC value.
  • the present application provides a method for following the battery display SOC value, including:
  • the display SOC value at the previous moment calculates the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first change Rate;
  • the determining the SOC following target value based on the actual SOC value and the displayed SOC value at the target moment includes:
  • the larger value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the charging follow target value
  • the determining the SOC following target value based on the actual SOC value and the displayed SOC value at the target moment includes:
  • the smaller value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the discharge follow target value
  • the second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
  • the display value corresponding to the current moment is calculated according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC follow-up target value, and the change rate of the actual SOC value at the current moment.
  • the rate of change of the SOC value, and as the first rate of change includes:
  • the first rate of change corresponding to the current moment is calculated.
  • the method further includes:
  • Vz t represents the change rate of the actual SOC value corresponding to time t
  • ⁇ t represents the single-cycle time
  • C t represents the battery capacity corresponding to time t
  • I t represents the battery current corresponding to time t .
  • the calculating the first rate of change corresponding to the current moment according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment includes:
  • Vx t represents the first rate of change corresponding to time t
  • K t represents the following gain corresponding to time t
  • Vz t represents the rate of change of the actual SOC value corresponding to time t .
  • the present application provides a battery display SOC value following device, including:
  • the following target value calculation module is configured to determine the battery based on the actual SOC value at the target time and the displayed SOC value if the difference between the actual SOC value corresponding to the target time and the displayed SOC value is greater than the first preset threshold. SOC follows the target value;
  • the first change rate calculation module is configured to calculate the display SOC corresponding to the current moment according to the actual SOC value at the current moment, the display SOC value at the previous moment, the SOC follow-up target value, and the change rate of the actual SOC value at the current moment The rate of change of the value, and as the first rate of change;
  • the display SOC value updating module is configured to update the display SOC value at the current moment according to the display SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the display SOC value follows after reaching the SOC The target value is consistent with the actual SOC value corresponding to this moment.
  • the following target value calculation module is specifically configured as:
  • the larger value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the charging follow target value
  • the following target value calculation module is specifically configured as:
  • the smaller value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the discharge follow target value
  • the second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
  • the first rate-of-change calculation module includes:
  • the first difference calculation unit is configured to subtract the actual SOC value at the current moment from the SOC following target value to obtain a first difference
  • the second difference calculation unit is configured to subtract the displayed SOC value at the previous moment from the SOC following target value to obtain a second difference
  • a following gain calculation unit configured to divide the first difference by the second difference to obtain the following gain at the current moment
  • the first rate-of-change calculation unit is configured to calculate the first rate-of-change corresponding to the current moment according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment.
  • the device for following the battery display SOC value provided by the present application further includes an actual SOC rate of change acquisition module, and the actual SOC rate of change acquisition module is configured to:
  • Vz t represents the change rate of the actual SOC value corresponding to time t
  • ⁇ t represents the single-cycle time
  • C t represents the battery capacity corresponding to time t
  • I t represents the battery current corresponding to time t .
  • the first rate-of-change calculation unit is specifically configured as:
  • Vx t represents the first rate of change corresponding to time t
  • K t represents the following gain corresponding to time t
  • Vz t represents the rate of change of the actual SOC value corresponding to time t .
  • the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor.
  • the processor executes the computer program, the above Steps in the method described in any possible implementation manner of the first aspect.
  • the embodiment of the present application provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the above first aspects can be realized. Steps of the method described in a possible implementation manner.
  • an embodiment of the present application provides a car, which includes the electronic device described in the third aspect above.
  • the embodiment of the present application provides a battery display SOC value following method and related devices.
  • the method detects that the difference between the actual SOC value corresponding to the target time of the battery and the displayed SOC value is greater than the first preset threshold, based on the The actual SOC value and the displayed SOC value at the target time determine the SOC following the target value; then according to the actual SOC value at the current time, the displayed SOC value at the previous time, the SOC following the target value and the actual SOC value at the current time.
  • the present application can dynamically calculate and display the SOC change rate in combination with the actual SOC value and its change rate, and follow the target value, so as to avoid the jumping problem of the displayed SOC value and improve the follow-up effect of the displayed SOC value.
  • FIG. 1 is a flow chart of the implementation of the battery display SOC value following method provided by the embodiment of the present application;
  • Fig. 2 is a schematic structural diagram of a battery display SOC value follower device provided by an embodiment of the present application
  • Fig. 3 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of the implementation flow of the battery display SOC value following method provided by the embodiment of the present application.
  • the execution subject (electronic device) of this method can be a battery management system, and the details are as follows:
  • S101 If it is detected that the difference between the actual SOC value corresponding to the target time and the displayed SOC value of the battery is greater than the first preset threshold, determine the SOC follow target value based on the actual SOC value and the displayed SOC value at the target time.
  • the target time may be the initial time of battery operation, or other preset time, such as specific time such as 1 hour or 2 hours of battery operation, which is not specifically limited.
  • the first preset threshold can be 0, that is, a specific implementation of the above S101 can be: when the actual SOC value of the battery at the initial moment of battery operation is inconsistent with the displayed SOC value, then based on the actual SOC value at the time of battery operation and the displayed SOC value SOC value calculation SOC follows the target value.
  • the subsequent steps are not performed, and the existing displayed SOC value following method is used to control the displayed SOC value to follow the actual SOC value.
  • the SOC following target value is used to indicate that the displayed SOC value can be the same as the actual SOC value corresponding to the moment when it changes to the SOC following target value.
  • the electronic device before each calculation of the displayed SOC value at the current moment, the electronic device needs to determine the change rate of the displayed SOC value at the current moment according to the actual SOC value at the current moment and the SOC tracking target value.
  • this embodiment can consider the proportional algorithm idea to calculate the change rate of the displayed SOC value at the current moment.
  • S103 Update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the displayed SOC value is consistent with the actual SOC value corresponding to the moment when it reaches the SOC tracking target value .
  • SOCx t represents the displayed SOC value at time t
  • SOCx t- 1 represents the time at t -1
  • the displayed SOC value of , Vx t represents the change rate of the displayed SOC value at time t
  • ⁇ t represents the single cycle time.
  • the SOC follow-up is determined based on the actual SOC value and the displayed SOC value at the target time.
  • Target value then according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment, calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first A rate of change; finally update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the displayed SOC value corresponds to the actual SOC at that moment when it reaches the SOC follow-up target value The value remains the same.
  • the present application can dynamically calculate and display the SOC change rate in combination with the actual SOC value and its change rate, and follow the target value, so as to avoid the jumping problem of the displayed SOC value and improve the follow-up effect of the displayed SOC value.
  • the specific implementation process of S101 includes:
  • the larger value of the actual SOC value corresponding to the target time and the displayed SOC value is used as the charging follow target value
  • the first preset offset value is added to the charging following target value to obtain the SOC following target value.
  • the formula SOC AIM max( SOC z 0 , SOC x 0 )+ SOC add 1 is used to calculate the SOC follow-up target value, wherein SOC AIM represents the SOC follow-up target value, and SOC z 0 represents the actual SOC value at the target time, SOC x 0 represents the displayed SOC value at the target time, and SOC add 1 represents the first preset offset value.
  • the first preset offset value can be customized according to the actual situation. For example, if it is necessary to display the SOC value to quickly keep up with the actual SOC value, then set a smaller first preset offset value. If it is necessary to display the SOC If the value follows the actual SOC value more gradually, a larger first preset offset value is set.
  • the specific implementation process of S101 includes:
  • the smaller value of the actual SOC value corresponding to the target time and the displayed SOC value is used as the discharge follow target value
  • the second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
  • the formula SOC AIM min( SOC z 0 , SOC x 0 ) -SOC add 2 is used to calculate the SOC following target value, wherein SOC add 2 represents the second preset offset value.
  • the second preset offset value can be customized according to the actual situation. For example, if it is necessary to display the SOC value to quickly catch up with the actual SOC value, set a smaller second preset offset value, and if it is necessary to display the SOC If the value follows the actual SOC value more gently, then a larger second preset offset value is set.
  • the first preset offset value and the second preset offset value may be the same or different.
  • the specific implementation process of S102 includes:
  • this embodiment may also divide the second difference by the first difference to obtain the following gain at the current moment, and then divide the change rate of the actual SOC value at the current moment by With the following gain, the first rate of change corresponding to the current moment is obtained.
  • the process may also include:
  • the method provided in this embodiment further includes:
  • Vz t represents the change rate of the actual SOC value corresponding to time t
  • ⁇ t represents the single-cycle time
  • C t represents the battery capacity corresponding to time t
  • I t represents the battery current corresponding to time t .
  • the specific implementation process of S204 includes:
  • Vx t represents the first rate of change corresponding to time t
  • K t represents the following gain corresponding to time t
  • Vz t represents the rate of change of the actual SOC value corresponding to time t .
  • the rate of change of the SOC value when the battery is in the charging state, the rate of change of the SOC value is positive, and when the battery is in the state of discharging, the rate of change of the SOC value is negative, so the above two formulas are used to calculate the first rate of change corresponding to the current moment .
  • the battery display SOC value follow-up procedure is exited, and the display SOC value is updated using the original follow-up method.
  • this embodiment can use the proportional algorithm to dynamically adjust the change speed of the displayed SOC value during the charging and discharging process of the battery, avoiding the following disadvantages such as jumping of the following speed and poor follow-up effect caused by periodic constant-rate follow-up, thereby On the premise of ensuring the user experience, the consistency between the actual SOC value and the displayed SOC value is guaranteed.
  • Fig. 2 shows a schematic structural diagram of a battery display SOC value follower 100 provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown, and the details are as follows:
  • the following device 100 for displaying the SOC value of the battery includes:
  • the target value calculation module 110 configured to determine the SOC based on the actual SOC value and the displayed SOC value at the target time if it is detected that the difference between the actual SOC value corresponding to the target time and the displayed SOC value of the battery is greater than the first preset threshold follow the target value;
  • the first rate-of-change calculation module 120 is configured to calculate the displayed SOC value corresponding to the current moment according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment The rate of change, and as the first rate of change;
  • the display SOC value update module 130 is configured to update the display SOC value at the current moment according to the display SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the display SOC value is consistent with the SOC tracking target value when it reaches the SOC target value.
  • the actual SOC value corresponding to each moment remains consistent.
  • the following target value calculation module 110 is specifically configured as:
  • the larger value of the actual SOC value corresponding to the target time and the displayed SOC value is used as the charging follow target value
  • the first preset offset value is added to the charging following target value to obtain the SOC following target value.
  • the following target value calculation module 110 is specifically configured as:
  • the smaller value of the actual SOC value corresponding to the target time and the displayed SOC value is used as the discharge follow target value
  • the second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
  • the first rate-of-change calculation module 120 includes:
  • the first difference calculation unit is configured to subtract the actual SOC value at the current moment from the SOC following the target value to obtain the first difference
  • the second difference calculation unit is configured to subtract the displayed SOC value at the previous moment from the SOC following the target value to obtain the second difference;
  • a following gain calculation unit configured to divide the first difference by the second difference to obtain the following gain at the current moment
  • the first rate-of-change calculation unit is configured to calculate the first rate-of-change corresponding to the current moment according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment.
  • the battery display SOC value follower 100 provided in the present application further includes an actual SOC rate of change acquisition module, and the actual SOC rate of change acquisition module is configured as:
  • Vz t represents the change rate of the actual SOC value corresponding to time t
  • ⁇ t represents the single-cycle time
  • C t represents the battery capacity corresponding to time t
  • I t represents the battery current corresponding to time t .
  • the first rate-of-change calculation unit is specifically configured as:
  • Vx t represents the first rate of change corresponding to time t
  • K t represents the following gain corresponding to time t
  • Vz t represents the rate of change of the actual SOC value corresponding to time t .
  • the first rate-of-change calculation module 120 can also be configured as:
  • the SOC follow-up is determined based on the actual SOC value and the displayed SOC value at the target time.
  • Target value then according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment, calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first A rate of change; finally update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the displayed SOC value corresponds to the actual SOC at that moment when it reaches the SOC follow-up target value The value remains the same.
  • the present application can dynamically calculate and display the SOC change rate in combination with the actual SOC value and change rate and follow target value, thereby not only avoiding the jump problem of the displayed SOC value, but also improving the follow-up effect of the displayed SOC value.
  • the embodiment of the present application also provides a computer program product, which has a program code, and when the program code is run in a corresponding processor, controller, computing device or electronic device, any one of the above methods for following the battery display SOC value is implemented.
  • the steps in the example are, for example, step 101 to step 103 shown in FIG. 1 .
  • Special purpose processors may include Application Specific Integrated Circuits (ASICs), Reduced Instruction Set Computers (RISCs), and/or Field Programmable Gate Arrays (FPGAs).
  • ASICs Application Specific Integrated Circuits
  • RISCs Reduced Instruction Set Computers
  • FPGAs Field Programmable Gate Arrays
  • the proposed methods and devices are preferably implemented as a combination of hardware and software.
  • the software is preferably installed as an application program on the program storage device. It is typically a computer platform based machine having hardware, such as one or more central processing units (CPUs), random access memory (RAM), and one or more input/output (I/O) interfaces.
  • An operating system is also typically installed on the computer platform. Various procedures and functions described herein may be part of the application program, or a part thereof may be executed by the operating system.
  • this embodiment provides an automobile, including an electronic device for implementing the above-mentioned method for following a battery display SOC value.
  • Fig. 3 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 3 of this embodiment includes: a processor 30 , a memory 31 , and a computer program 32 stored in the memory 31 and operable on the processor 30 .
  • the processor 30 executes the computer program 32
  • the steps in the above embodiments of the method for following the battery display SOC value are implemented, such as steps 101 to 103 shown in FIG. 1 .
  • the processor 30 executes the computer program 32
  • the functions of the modules/units in the above-mentioned device embodiments are implemented, for example, the functions of the modules/units 110 to 130 shown in FIG. 2 .
  • the computer program 32 can be divided into one or more modules/units, and one or more modules/units are stored in the memory 31 and executed by the processor 30 to complete/implement the solutions provided in this application .
  • One or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 32 in the electronic device 3 .
  • computer program 32 may be divided into modules 110 to 130 shown in FIG. 2 .
  • the electronic device 3 may include, but not limited to, a processor 30 and a memory 31 .
  • FIG. 3 is only an example of the electronic device 3, and does not constitute a limitation to the electronic device 3. It may include more or less components than shown in the figure, or combine some components, or different components. , for example, the electronic device may also include input and output devices, network access devices, buses, and so on.
  • Processor 30 may be a central processing unit (Central Processing Unit, CPU), and other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the storage 31 may be an internal storage unit of the electronic device 3 , such as a hard disk or memory of the electronic device 3 .
  • the memory 31 can also be an external storage device of the electronic device 3, such as a plug-in hard disk equipped on the electronic device 3, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card) and so on.
  • the memory 31 may also include both an internal storage unit of the electronic device 3 and an external storage device.
  • the memory 31 is used to store computer programs and other programs and data required by the electronic device.
  • the memory 31 can also be used to temporarily store data that has been output or will be output.
  • the disclosed device/electronic equipment and method can be implemented in other ways.
  • the device/electronic device embodiments described above are only illustrative, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components May be combined or may be integrated into another system, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • an integrated module/unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the present application realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through computer programs.
  • the computer programs can be stored in a non-volatile computer-readable storage medium.
  • the computer program is executed by the processor, it can realize the steps of the above embodiments of the following method for displaying the SOC value of each battery.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (Read-Only Memory, ROM), random memory Access memory (Random Access Memory, RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in computer-readable storage media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable storage media Excluding electrical carrier signals and telecommunication signals.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

A method for a displayed SOC value of a battery to perform following, and a related apparatus. The method comprises: when it is monitored that a difference value between an actual SOC value and a displayed SOC value of a battery at a target moment is greater than a first preset threshold value, determining an SOC following target value on the basis of the actual SOC value and the displayed SOC value at the target moment; according to the actual SOC value at the current moment and the change rate thereof, a displayed SOC value at the previous moment, and the SOC following target value, calculating the change rate of a displayed SOC value which corresponds to the current moment, and taking the change rate as a first change rate; and updating the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment, and the first change rate at the current moment. By means of the solution, in the present application, the change rate of a displayed SOC can be dynamically calculated in combination with an actual SOC value and the change rate thereof, and a following target value, such that the problem of a displayed SOC value jumping can be avoided, and a following effect of the displayed SOC value can also be improved.

Description

电池显示SOC值的跟随方法及相关装置Battery display SOC value following method and related device
本专利申请要求于2021年12月22日提交的中国专利申请No.CN202111584260.4的优先权。在先申请的公开内容通过整体引用并入本申请。This patent application claims priority to Chinese Patent Application No. CN202111584260.4 filed on December 22, 2021. The disclosure of the prior application is incorporated by reference in its entirety into this application.
技术领域technical field
本申请涉及电池技术领域,尤其涉及一种电池显示SOC值的跟随方法及相关装置。The present application relates to the technical field of batteries, and in particular to a method for following a battery display SOC value and a related device.
背景技术Background technique
在电池管理系统中,SOC(State Of Charge,剩余电量,又可以称为充电状态或电池荷电状态,指的是电池使用一段时间或长时间保持后,剩余的可放电电量与电池充满电的电量之比,通常用百分比表示)估算值的准确性是很重要的,常常需要通过优化算法实时修正SOC估算值,保证SOC的精度。在修正过程中,电池实际的SOC值会随着修正发生跳变。但是用户看到的SOC值是不能跳变的,否则会造成行驶焦虑。为了解决该问题,在SOC估算算法中,常常包括两种SOC值:一种是电池的实际SOC值、一种为提供给用户观看的显示SOC值,当两者不一致时,用户观看到的显示SOC值应当以一定的变化速度跟随真实的实际SOC值,直到两者一致。In the battery management system, SOC (State Of Charge, the remaining power, also known as the state of charge or the state of charge of the battery, refers to the difference between the remaining dischargeable power and the fully charged battery after the battery has been used for a period of time or kept for a long time. The ratio of electricity, usually expressed as a percentage), the accuracy of the estimated value is very important, and it is often necessary to correct the estimated value of the SOC in real time through an optimization algorithm to ensure the accuracy of the SOC. During the correction process, the actual SOC value of the battery will jump with the correction. However, the SOC value seen by the user cannot jump, otherwise it will cause driving anxiety. In order to solve this problem, two SOC values are often included in the SOC estimation algorithm: one is the actual SOC value of the battery, and the other is the displayed SOC value provided to the user. The SOC value should follow the actual actual SOC value at a certain rate of change until the two are consistent.
在现有技术中,在计算跟随速率时,常常是依据实际SOC值和显示SOC值的差值阶段性的定速率跟随。这样有两方面弊端:一是依据差值阶段性跟随实际SOC值会导致在阶段性切换时跟随速度跳变;二是定速率跟随会导致跟随速率的设定未有效地结合电池的当前实际充放电情况,跟随效果不佳。In the prior art, when calculating the following rate, it is often followed at a constant rate in stages based on the difference between the actual SOC value and the displayed SOC value. There are two disadvantages in this way: one is that following the actual SOC value in stages based on the difference will cause the following speed to jump during the periodical switching; In discharge condition, the following effect is not good.
技术问题technical problem
本申请提供了一种电池显示SOC值的跟随方法及相关装置,以解决显示SOC值跟随效果不佳的问题。The present application provides a battery display SOC value following method and a related device to solve the problem of poor follow-up effect of the displayed SOC value.
技术解决方案technical solution
第一方面,本申请提供了一种电池显示SOC值的跟随方法,包括:In the first aspect, the present application provides a method for following the battery display SOC value, including:
若监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值,则基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值;If it is monitored that the difference between the actual SOC value corresponding to the target moment and the displayed SOC value of the battery is greater than the first preset threshold, then determine the SOC follow-up target value based on the actual SOC value and the displayed SOC value at the target moment;
根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率;According to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment, calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first change Rate;
根据所述电池在前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使所述显示SOC值在到达所述SOC跟随目标值时与该时刻对应的实际SOC值保持一致。Update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the displayed SOC value corresponds to the actual SOC value at this moment when it reaches the SOC tracking target value. The SOC value remains the same.
在一种可能的实现方式中,所述基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值,包括:In a possible implementation manner, the determining the SOC following target value based on the actual SOC value and the displayed SOC value at the target moment includes:
若所述电池处于充电状态,则将所述目标时刻对应的实际SOC值和显示SOC值中的较大值作为充电跟随目标值;If the battery is in a charging state, the larger value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the charging follow target value;
将所述充电跟随目标值加上第一预设偏移值,得到所述SOC跟随目标值。Adding the charging following target value to a first preset offset value to obtain the SOC following target value.
在一种可能的实现方式中,所述基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值,包括:In a possible implementation manner, the determining the SOC following target value based on the actual SOC value and the displayed SOC value at the target moment includes:
若所述电池处于放电状态,则将所述目标时刻对应的实际SOC值和显示SOC值中的较小值作为放电跟随目标值;If the battery is in a discharge state, the smaller value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the discharge follow target value;
将所述放电跟随目标值减去第二预设偏移值,得到所述SOC跟随目标值。The second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
在一种可能的实现方式中,所述根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率,包括:In a possible implementation manner, the display value corresponding to the current moment is calculated according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC follow-up target value, and the change rate of the actual SOC value at the current moment. The rate of change of the SOC value, and as the first rate of change, includes:
将所述SOC跟随目标值减去当前时刻的实际SOC值得到第一差值;subtracting the actual SOC value at the current moment from the SOC following target value to obtain a first difference;
将所述SOC跟随目标值减去前一时刻的显示SOC值得到第二差值;Subtracting the SOC following target value from the displayed SOC value at the previous moment to obtain a second difference;
将所述第一差值除以所述第二差值,得到当前时刻的跟随增益;dividing the first difference by the second difference to obtain the following gain at the current moment;
根据当前时刻的跟随增益和当前时刻的实际SOC值的变化率,计算当前时刻对应的第一变化率。According to the following gain at the current moment and the rate of change of the actual SOC value at the current moment, the first rate of change corresponding to the current moment is calculated.
在一种可能的实现方式中,在所述根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率之前,所述方法还包括:In a possible implementation manner, according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC follow-up target value, and the rate of change of the actual SOC value at the current moment, the corresponding SOC at the current moment is calculated. Before displaying the rate of change of the SOC value, the method further includes:
基于公式
Figure dest_path_image001
,得到所述电池在当前时刻的实际SOC值的变化率;
formula based
Figure dest_path_image001
, to obtain the rate of change of the actual SOC value of the battery at the current moment;
其中, Vz t 表示 t时刻对应的实际SOC值的变化率,∆ t表示单周期时间, C t 表示 t时刻对应的电池容量, I t 表示 t时刻对应的电池电流。 Among them, Vz t represents the change rate of the actual SOC value corresponding to time t , ∆ t represents the single-cycle time, C t represents the battery capacity corresponding to time t , and I t represents the battery current corresponding to time t .
在一种可能的实现方式中,所述根据当前时刻的跟随增益和当前时刻的实际SOC值的变化率,计算当前时刻对应的第一变化率,包括:In a possible implementation manner, the calculating the first rate of change corresponding to the current moment according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment includes:
若所述电池处于充电状态,则根据公式 Vx t = K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a charged state, calculate the first rate of change corresponding to the current moment according to the formula Vx t = K t * Vz t ;
若所述电池处于放电状态,则根据公式 Vx t =- K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a discharge state, calculate the first rate of change corresponding to the current moment according to the formula Vx t =-K t * Vz t ;
其中, Vx t 表示 t时刻对应的第一变化率, K t 表示 t时刻对应的跟随增益, Vz t 表示 t时刻对应的实际SOC值的变化率。 Wherein, Vx t represents the first rate of change corresponding to time t , K t represents the following gain corresponding to time t , and Vz t represents the rate of change of the actual SOC value corresponding to time t .
第二方面,本申请提供了一种电池显示SOC值的跟随装置,包括:In the second aspect, the present application provides a battery display SOC value following device, including:
跟随目标值计算模块,被配置为若监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值,则基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值;The following target value calculation module is configured to determine the battery based on the actual SOC value at the target time and the displayed SOC value if the difference between the actual SOC value corresponding to the target time and the displayed SOC value is greater than the first preset threshold. SOC follows the target value;
第一变化率计算模块,被配置为根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率;The first change rate calculation module is configured to calculate the display SOC corresponding to the current moment according to the actual SOC value at the current moment, the display SOC value at the previous moment, the SOC follow-up target value, and the change rate of the actual SOC value at the current moment The rate of change of the value, and as the first rate of change;
显示SOC值更新模块,被配置为根据所述电池在前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使所述显示SOC值在到达所述SOC跟随目标值时与该时刻对应的实际SOC值保持一致。The display SOC value updating module is configured to update the display SOC value at the current moment according to the display SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the display SOC value follows after reaching the SOC The target value is consistent with the actual SOC value corresponding to this moment.
在一种可能的实现方式中,跟随目标值计算模块具体被配置为:In a possible implementation manner, the following target value calculation module is specifically configured as:
若所述电池处于充电状态,则将所述目标时刻对应的实际SOC值和显示SOC值中的较大值作为充电跟随目标值;If the battery is in a charging state, the larger value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the charging follow target value;
将所述充电跟随目标值加上第一预设偏移值,得到所述SOC跟随目标值。Adding the charging following target value to a first preset offset value to obtain the SOC following target value.
在一种可能的实现方式中,跟随目标值计算模块具体被配置为:In a possible implementation manner, the following target value calculation module is specifically configured as:
若所述电池处于放电状态,则将所述目标时刻对应的实际SOC值和显示SOC值中的较小值作为放电跟随目标值;If the battery is in a discharge state, the smaller value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the discharge follow target value;
将所述放电跟随目标值减去第二预设偏移值,得到所述SOC跟随目标值。The second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
在一种可能的实现方式中,第一变化率计算模块包括:In a possible implementation, the first rate-of-change calculation module includes:
第一差值计算单元,被配置为将所述SOC跟随目标值减去当前时刻的实际SOC值得到第一差值;The first difference calculation unit is configured to subtract the actual SOC value at the current moment from the SOC following target value to obtain a first difference;
第二差值计算单元,被配置为将所述SOC跟随目标值减去前一时刻的显示SOC值得到第二差值;The second difference calculation unit is configured to subtract the displayed SOC value at the previous moment from the SOC following target value to obtain a second difference;
跟随增益计算单元,被配置为将所述第一差值除以所述第二差值,得到当前时刻的跟随增益;a following gain calculation unit configured to divide the first difference by the second difference to obtain the following gain at the current moment;
第一变化率计算单元,被配置为根据当前时刻的跟随增益和当前时刻的实际SOC值的变化率,计算当前时刻对应的第一变化率。The first rate-of-change calculation unit is configured to calculate the first rate-of-change corresponding to the current moment according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment.
在一种可能的实现方式中,本申请提供的电池显示SOC值的跟随装置还包括实际SOC变化率获取模块,所述实际SOC变化率获取模块被配置为:In a possible implementation manner, the device for following the battery display SOC value provided by the present application further includes an actual SOC rate of change acquisition module, and the actual SOC rate of change acquisition module is configured to:
基于公式
Figure dest_path_image002
,得到所述电池在当前时刻的实际SOC值的变化率;
formula based
Figure dest_path_image002
, to obtain the rate of change of the actual SOC value of the battery at the current moment;
其中, Vz t 表示 t时刻对应的实际SOC值的变化率,∆ t表示单周期时间, C t 表示 t时刻对应的电池容量, I t 表示 t时刻对应的电池电流。 Among them, Vz t represents the change rate of the actual SOC value corresponding to time t , ∆ t represents the single-cycle time, C t represents the battery capacity corresponding to time t , and I t represents the battery current corresponding to time t .
在一种可能的实现方式中,第一变化率计算单元具体被配置为:In a possible implementation manner, the first rate-of-change calculation unit is specifically configured as:
若所述电池处于充电状态,则根据公式 Vx t = K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a charged state, calculate the first rate of change corresponding to the current moment according to the formula Vx t = K t * Vz t ;
若所述电池处于放电状态,则根据公式 Vx t =- K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a discharge state, calculate the first rate of change corresponding to the current moment according to the formula Vx t =-K t * Vz t ;
其中, Vx t 表示 t时刻对应的第一变化率, K t 表示 t时刻对应的跟随增益, Vz t 表示 t时刻对应的实际SOC值的变化率。 Wherein, Vx t represents the first rate of change corresponding to time t , K t represents the following gain corresponding to time t , and Vz t represents the rate of change of the actual SOC value corresponding to time t .
第三方面,本申请提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上第一方面任一种可能的实现方式所述方法的步骤。In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the above Steps in the method described in any possible implementation manner of the first aspect.
第四方面,本申请实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上第一方面任一种可能的实现方式所述方法的步骤。In the fourth aspect, the embodiment of the present application provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the above first aspects can be realized. Steps of the method described in a possible implementation manner.
第五方面,本申请实施例提供了一种汽车,其包括如上第三方面所述的电子设备。In a fifth aspect, an embodiment of the present application provides a car, which includes the electronic device described in the third aspect above.
有益效果Beneficial effect
本申请实施例提供一种电池显示SOC值的跟随方法及相关装置,该方法在监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值时,基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值;然后根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率;最后根据所述电池在前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使所述显示SOC值在到达所述SOC跟随目标值时与该时刻对应的实际SOC值保持一致。通过上述方案,本申请能够结合实际SOC值及其变化率,以及跟随目标值动态计算显示SOC变化率,从而既能避免显示SOC值的跳变问题,又能够提高显示SOC值的跟随效果。The embodiment of the present application provides a battery display SOC value following method and related devices. When the method detects that the difference between the actual SOC value corresponding to the target time of the battery and the displayed SOC value is greater than the first preset threshold, based on the The actual SOC value and the displayed SOC value at the target time determine the SOC following the target value; then according to the actual SOC value at the current time, the displayed SOC value at the previous time, the SOC following the target value and the actual SOC value at the current time. Calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first rate of change; finally update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that When the displayed SOC value reaches the SOC following target value, it is consistent with the actual SOC value corresponding to this moment. Through the above solution, the present application can dynamically calculate and display the SOC change rate in combination with the actual SOC value and its change rate, and follow the target value, so as to avoid the jumping problem of the displayed SOC value and improve the follow-up effect of the displayed SOC value.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are only for the present application For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.
图1是本申请实施例提供的电池显示SOC值的跟随方法的实现流程图;FIG. 1 is a flow chart of the implementation of the battery display SOC value following method provided by the embodiment of the present application;
图2是本申请实施例提供的电池显示SOC值的跟随装置的结构示意图;Fig. 2 is a schematic structural diagram of a battery display SOC value follower device provided by an embodiment of the present application;
图3是本申请实施例提供的电子设备的示意图。Fig. 3 is a schematic diagram of an electronic device provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图通过具体实施例来进行说明。In order to make the purpose, technical solution and advantages of the present application clearer, specific embodiments will be described below in conjunction with the accompanying drawings.
图1为本申请实施例提供的电池显示SOC值的跟随方法的实现流程示意图,该方法的执行主体(电子设备)可以为电池管理系统,详述如下:Figure 1 is a schematic diagram of the implementation flow of the battery display SOC value following method provided by the embodiment of the present application. The execution subject (electronic device) of this method can be a battery management system, and the details are as follows:
S101:若监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值,则基于目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值。S101: If it is detected that the difference between the actual SOC value corresponding to the target time and the displayed SOC value of the battery is greater than the first preset threshold, determine the SOC follow target value based on the actual SOC value and the displayed SOC value at the target time.
在本实施例中,目标时刻可以为电池运行初始时刻,也可以为其他预先设定的时刻,例如电池运行1小时、2小时等特定时刻,对此不做具体限制。第一预设阈值可以为0,即上述S101的一种具体实现方式可以为:当电池在电池运行初始时刻的实际SOC值和显示SOC值不一致时,则基于电池运行时刻的实际SOC值和显示SOC值计算SOC跟随目标值。In this embodiment, the target time may be the initial time of battery operation, or other preset time, such as specific time such as 1 hour or 2 hours of battery operation, which is not specifically limited. The first preset threshold can be 0, that is, a specific implementation of the above S101 can be: when the actual SOC value of the battery at the initial moment of battery operation is inconsistent with the displayed SOC value, then based on the actual SOC value at the time of battery operation and the displayed SOC value SOC value calculation SOC follows the target value.
若在目标时刻对应的实际SOC值与显示SOC值一致,则不执行后续步骤,继续采用现有的显示SOC值跟随方法控制显示SOC值跟随实际SOC值变化。If the actual SOC value corresponding to the target moment is consistent with the displayed SOC value, the subsequent steps are not performed, and the existing displayed SOC value following method is used to control the displayed SOC value to follow the actual SOC value.
具体地,SOC跟随目标值用于指示显示SOC值能够在变化到SOC跟随目标值时与该时刻对应的实际SOC值相同。Specifically, the SOC following target value is used to indicate that the displayed SOC value can be the same as the actual SOC value corresponding to the moment when it changes to the SOC following target value.
S102:根据当前时刻的实际SOC值、前一时刻的显示SOC值、SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率。S102: According to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment, calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first change Rate.
在本实施例中,在每次计算当前时刻的显示SOC值之前,电子设备均需要根据当前时刻的实际SOC值以及SOC跟随目标值确定当前时刻的显示SOC值的变化率。为了使显示SOC值在到达SOC跟随目标值时与该时刻对应的实际SOC值相同,本实施例可以考虑等比算法思想来计算当前时刻的显示SOC值的变化率。In this embodiment, before each calculation of the displayed SOC value at the current moment, the electronic device needs to determine the change rate of the displayed SOC value at the current moment according to the actual SOC value at the current moment and the SOC tracking target value. In order to make the displayed SOC value the same as the actual SOC value corresponding to the moment when the SOC follows the target value, this embodiment can consider the proportional algorithm idea to calculate the change rate of the displayed SOC value at the current moment.
具体地,首先分别计算当前时刻的实际SOC值与SOC跟随目标值的差值,以及前一时刻的显示SOC值与SOC跟随目标值的差值,然后计算前两个差值的比值,根据该比值和当前时刻的实际SOC值的变化率,计算当前时刻的显示SOC值的变化率。Specifically, first calculate the difference between the actual SOC value at the current moment and the SOC following target value, and the difference between the displayed SOC value at the previous moment and the SOC following target value, and then calculate the ratio of the first two differences, according to the The ratio and the rate of change of the actual SOC value at the current moment are used to calculate the rate of change of the displayed SOC value at the current moment.
S103:根据电池在前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使显示SOC值在到达SOC跟随目标值时与该时刻对应的实际SOC值保持一致。S103: Update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the displayed SOC value is consistent with the actual SOC value corresponding to the moment when it reaches the SOC tracking target value .
在本实施例中,采用公式 SOCx t = SOCx t -1+ Vx t ·∆ t计算当前时刻的显示SOC值,其中, SOCx t 表示 t时刻的显示SOC值, SOCx t- 1表示 t-1时刻的显示SOC值, Vx t 表示 t时刻的显示SOC值的变化率,∆ t表示单周期时间。 In this embodiment, the displayed SOC value at the current moment is calculated using the formula SOCx t = SOCx t -1 + Vx t t , wherein, SOCx t represents the displayed SOC value at time t , and SOCx t- 1 represents the time at t -1 The displayed SOC value of , Vx t represents the change rate of the displayed SOC value at time t , and ∆ t represents the single cycle time.
从上述实施例可知,本实施例在监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值时,基于目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值;然后根据当前时刻的实际SOC值、前一时刻的显示SOC值、SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率;最后根据电池在前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使显示SOC值在到达SOC跟随目标值时与该时刻对应的实际SOC值保持一致。通过上述方案,本申请能够结合实际SOC值及其变化率,以及跟随目标值动态计算显示SOC变化率,从而既能避免显示SOC值的跳变问题,又能够提高显示SOC值的跟随效果。It can be seen from the above-mentioned embodiments that in this embodiment, when the difference between the actual SOC value corresponding to the target time and the displayed SOC value of the battery is detected to be greater than the first preset threshold, the SOC follow-up is determined based on the actual SOC value and the displayed SOC value at the target time. Target value; then according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment, calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first A rate of change; finally update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the displayed SOC value corresponds to the actual SOC at that moment when it reaches the SOC follow-up target value The value remains the same. Through the above solution, the present application can dynamically calculate and display the SOC change rate in combination with the actual SOC value and its change rate, and follow the target value, so as to avoid the jumping problem of the displayed SOC value and improve the follow-up effect of the displayed SOC value.
在一种可能的实现方式中,S101的具体实现流程包括:In a possible implementation manner, the specific implementation process of S101 includes:
若电池处于充电状态,则将目标时刻对应的实际SOC值和显示SOC值中的较大值作为充电跟随目标值;If the battery is in the charging state, the larger value of the actual SOC value corresponding to the target time and the displayed SOC value is used as the charging follow target value;
将充电跟随目标值加上第一预设偏移值,得到SOC跟随目标值。The first preset offset value is added to the charging following target value to obtain the SOC following target value.
在本实施例中,若电池处于充电状态,则采用公式 SOC AIM =max( SOC z 0SOC x 0)+ SOC add 1计算SOC跟随目标值,其中, SOC AIM 表示SOC跟随目标值, SOC z 0表示目标时刻的实际SOC值, SOC x 0表示目标时刻的显示SOC值, SOC add 1表示第一预设偏移值。 In this embodiment, if the battery is in a charged state, the formula SOC AIM =max( SOC z 0 , SOC x 0 )+ SOC add 1 is used to calculate the SOC follow-up target value, wherein SOC AIM represents the SOC follow-up target value, and SOC z 0 represents the actual SOC value at the target time, SOC x 0 represents the displayed SOC value at the target time, and SOC add 1 represents the first preset offset value.
具体地,第一预设偏移值可以根据实际情况自定义设置,例如,若需要显示SOC值快速地跟上实际SOC值,则设置较小的第一预设偏移值,若需要显示SOC值更为平缓地跟上实际SOC值,则设置较大的第一预设偏移值。Specifically, the first preset offset value can be customized according to the actual situation. For example, if it is necessary to display the SOC value to quickly keep up with the actual SOC value, then set a smaller first preset offset value. If it is necessary to display the SOC If the value follows the actual SOC value more gradually, a larger first preset offset value is set.
在一种可能的实现方式中,S101的具体实现流程包括:In a possible implementation manner, the specific implementation process of S101 includes:
若电池处于放电状态,则将目标时刻对应的实际SOC值和显示SOC值中的较小值作为放电跟随目标值;If the battery is in a discharge state, the smaller value of the actual SOC value corresponding to the target time and the displayed SOC value is used as the discharge follow target value;
将放电跟随目标值减去第二预设偏移值,得到SOC跟随目标值。The second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
在本实施例中,若电池处于放电状态,则采用公式 SOC AIM =min( SOC z 0SOC x 0)- SOC add 2计算SOC跟随目标值,其中, SOC add 2表示第二预设偏移值。 In this embodiment, if the battery is in a discharge state, the formula SOC AIM =min( SOC z 0 , SOC x 0 ) -SOC add 2 is used to calculate the SOC following target value, wherein SOC add 2 represents the second preset offset value.
具体地,第二预设偏移值可以根据实际情况自定义设置,例如,若需要显示SOC值快速地跟上实际SOC值,则设置较小的第二预设偏移值,若需要显示SOC值更为平缓地跟上实际SOC值,则设置较大的第二预设偏移值。第一预设偏移值与第二预设偏移值可以相同也可以不同。Specifically, the second preset offset value can be customized according to the actual situation. For example, if it is necessary to display the SOC value to quickly catch up with the actual SOC value, set a smaller second preset offset value, and if it is necessary to display the SOC If the value follows the actual SOC value more gently, then a larger second preset offset value is set. The first preset offset value and the second preset offset value may be the same or different.
在一种可能的实现方式中,S102的具体实现流程包括:In a possible implementation manner, the specific implementation process of S102 includes:
S201:将SOC跟随目标值减去当前时刻的实际SOC值得到第一差值;S201: subtracting the actual SOC value at the current moment from the SOC following target value to obtain a first difference;
S202:将SOC跟随目标值减去前一时刻的显示SOC值得到第二差值;S202: Subtracting the SOC tracking target value from the displayed SOC value at the previous moment to obtain a second difference;
S203:将第一差值除以第二差值,得到当前时刻的跟随增益;S203: Divide the first difference by the second difference to obtain the following gain at the current moment;
S204:根据当前时刻的跟随增益和当前时刻的实际SOC值的变化率,计算当前时刻对应的第一变化率。S204: According to the following gain at the current moment and the rate of change of the actual SOC value at the current moment, calculate a first rate of change corresponding to the current moment.
在本实施例中,作为上述S203至S204的变形,本实施例也可以将第二差值除以第一差值,得到当前时刻的跟随增益,然后将当前时刻的实际SOC值的变化率除以跟随增益,得到当前时刻对应的第一变化率。In this embodiment, as a modification of the above S203 to S204, this embodiment may also divide the second difference by the first difference to obtain the following gain at the current moment, and then divide the change rate of the actual SOC value at the current moment by With the following gain, the first rate of change corresponding to the current moment is obtained.
作为上述S102的另一种实现流程,其过程还可以包括:As another implementation process of the above S102, the process may also include:
1、基于神经网络算法创建神经网络模型;1. Create neural network models based on neural network algorithms;
2、在采用本实施例方法S101-S103控制显示SOC值一段时间后,获取电池在历史时期每一采样时刻的实际SOC值、显示SOC值、SOC跟随目标值、每一采样时刻对应的实际SOC值的变化率和显示SOC值的变化率,然后以SOC跟随目标值、该SOC跟随目标值下对应的 t-1时刻的实际SOC值和 t时刻的实际SOC值的变化率作为一个训练样本,以 t时刻的显示SOC值的变化率作为样本标签创建训练样本集,并采用训练样本集训练上述神经网络模型,直至神经网络模型的计算精度满足要求。 2. After using the method S101-S103 of this embodiment to control and display the SOC value for a period of time, obtain the actual SOC value of the battery at each sampling time in the historical period, the displayed SOC value, the SOC following the target value, and the actual SOC corresponding to each sampling time The rate of change of the value and the rate of change of the displayed SOC value, and then take the SOC following the target value, the actual SOC value corresponding to the SOC following the target value at time t -1, and the rate of change of the actual SOC value at time t as a training sample, Create a training sample set with the rate of change of the displayed SOC value at time t as the sample label, and use the training sample set to train the above neural network model until the calculation accuracy of the neural network model meets the requirements.
3、将当前时刻的实际SOC值、前一时刻的显示SOC值、SOC跟随目标值和当前时刻的实际SOC值的变化率输入经过训练的神经网络模型,得到当前时刻的显示SOC值的变化率。3. Input the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value and the rate of change of the actual SOC value at the current moment into the trained neural network model to obtain the rate of change of the displayed SOC value at the current moment .
在一种可能的实现方式中,在S102之前,本实施例提供的方法还包括:In a possible implementation manner, before S102, the method provided in this embodiment further includes:
基于公式
Figure dest_path_image003
,得到电池在当前时刻的实际SOC值的变化率;
formula based
Figure dest_path_image003
, to obtain the rate of change of the actual SOC value of the battery at the current moment;
其中, Vz t 表示 t时刻对应的实际SOC值的变化率,∆ t表示单周期时间, C t 表示 t时刻对应的电池容量, I t 表示 t时刻对应的电池电流。 Among them, Vz t represents the change rate of the actual SOC value corresponding to time t , ∆ t represents the single-cycle time, C t represents the battery capacity corresponding to time t , and I t represents the battery current corresponding to time t .
在一种可能的实现方式中,S204的具体实现流程包括:In a possible implementation manner, the specific implementation process of S204 includes:
若电池处于充电状态,则根据公式 Vx t = K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a charging state, calculate the first rate of change corresponding to the current moment according to the formula Vx t = K t * Vz t ;
若电池处于放电状态,则根据公式 Vx t =- K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a discharge state, calculate the first rate of change corresponding to the current moment according to the formula Vx t =- K t * Vz t ;
其中, Vx t 表示 t时刻对应的第一变化率, K t 表示 t时刻对应的跟随增益, Vz t 表示 t时刻对应的实际SOC值的变化率。 Wherein, Vx t represents the first rate of change corresponding to time t , K t represents the following gain corresponding to time t , and Vz t represents the rate of change of the actual SOC value corresponding to time t .
在本实施例中,电池处于充电状态时,SOC值的变化率为正值,电池处于放电状态时,SOC的变化率为负值,因此采用上述两种公式计算当前时刻对应的第一变化率。In this embodiment, when the battery is in the charging state, the rate of change of the SOC value is positive, and when the battery is in the state of discharging, the rate of change of the SOC value is negative, so the above two formulas are used to calculate the first rate of change corresponding to the current moment .
在本申请的一个实施例中,当检测到某一时刻的实际SOC值与显示SOC值相同时,则退出电池显示SOC值的跟随程序,采用原本的跟随方法更新显示SOC值。In one embodiment of the present application, when it is detected that the actual SOC value at a certain moment is the same as the displayed SOC value, the battery display SOC value follow-up procedure is exited, and the display SOC value is updated using the original follow-up method.
通过上述方案,本实施例能够在电池充放电运行过程中采用等比算法动态调整显示SOC值的变化速度,避免阶段性的定速率跟随导致的跟随速度跳变、跟随效果不佳等弊端,从而在保证用户体验感的前提下,保证实际SOC值与显示SOC值的一致性。Through the above solution, this embodiment can use the proportional algorithm to dynamically adjust the change speed of the displayed SOC value during the charging and discharging process of the battery, avoiding the following disadvantages such as jumping of the following speed and poor follow-up effect caused by periodic constant-rate follow-up, thereby On the premise of ensuring the user experience, the consistency between the actual SOC value and the displayed SOC value is guaranteed.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
以下为本申请的装置实施例,对于其中未详尽描述的细节,可以参考上述对应的方法实施例。The following are device embodiments of the present application, and for details that are not exhaustively described therein, reference may be made to the above-mentioned corresponding method embodiments.
图2示出了本申请实施例提供的电池显示SOC值的跟随装置100的结构示意图,为了便于说明,仅示出了与本申请实施例相关的部分,详述如下:Fig. 2 shows a schematic structural diagram of a battery display SOC value follower 100 provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown, and the details are as follows:
如图2所示,电池显示SOC值的跟随装置100包括:As shown in FIG. 2 , the following device 100 for displaying the SOC value of the battery includes:
跟随目标值计算模块110,被配置为若监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值,则基于目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值;Follow the target value calculation module 110, configured to determine the SOC based on the actual SOC value and the displayed SOC value at the target time if it is detected that the difference between the actual SOC value corresponding to the target time and the displayed SOC value of the battery is greater than the first preset threshold follow the target value;
第一变化率计算模块120,被配置为根据当前时刻的实际SOC值、前一时刻的显示SOC值、SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率;The first rate-of-change calculation module 120 is configured to calculate the displayed SOC value corresponding to the current moment according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment The rate of change, and as the first rate of change;
显示SOC值更新模块130,被配置为根据电池在前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使显示SOC值在到达SOC跟随目标值时与该时刻对应的实际SOC值保持一致。The display SOC value update module 130 is configured to update the display SOC value at the current moment according to the display SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the display SOC value is consistent with the SOC tracking target value when it reaches the SOC target value. The actual SOC value corresponding to each moment remains consistent.
在一种可能的实现方式中,跟随目标值计算模块110具体被配置为:In a possible implementation manner, the following target value calculation module 110 is specifically configured as:
若电池处于充电状态,则将目标时刻对应的实际SOC值和显示SOC值中的较大值作为充电跟随目标值;If the battery is in the charging state, the larger value of the actual SOC value corresponding to the target time and the displayed SOC value is used as the charging follow target value;
将充电跟随目标值加上第一预设偏移值,得到SOC跟随目标值。The first preset offset value is added to the charging following target value to obtain the SOC following target value.
在一种可能的实现方式中,跟随目标值计算模块110具体被配置为:In a possible implementation manner, the following target value calculation module 110 is specifically configured as:
若电池处于放电状态,则将目标时刻对应的实际SOC值和显示SOC值中的较小值作为放电跟随目标值;If the battery is in a discharge state, the smaller value of the actual SOC value corresponding to the target time and the displayed SOC value is used as the discharge follow target value;
将放电跟随目标值减去第二预设偏移值,得到SOC跟随目标值。The second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
在一种可能的实现方式中,第一变化率计算模块120包括:In a possible implementation, the first rate-of-change calculation module 120 includes:
第一差值计算单元,被配置为将SOC跟随目标值减去当前时刻的实际SOC值得到第一差值;The first difference calculation unit is configured to subtract the actual SOC value at the current moment from the SOC following the target value to obtain the first difference;
第二差值计算单元,被配置为将SOC跟随目标值减去前一时刻的显示SOC值得到第二差值;The second difference calculation unit is configured to subtract the displayed SOC value at the previous moment from the SOC following the target value to obtain the second difference;
跟随增益计算单元,被配置为将第一差值除以第二差值,得到当前时刻的跟随增益;a following gain calculation unit configured to divide the first difference by the second difference to obtain the following gain at the current moment;
第一变化率计算单元,被配置为根据当前时刻的跟随增益和当前时刻的实际SOC值的变化率,计算当前时刻对应的第一变化率。The first rate-of-change calculation unit is configured to calculate the first rate-of-change corresponding to the current moment according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment.
在一种可能的实现方式中,本申请提供的电池显示SOC值的跟随装置100还包括实际SOC变化率获取模块,实际SOC变化率获取模块被配置为:In a possible implementation manner, the battery display SOC value follower 100 provided in the present application further includes an actual SOC rate of change acquisition module, and the actual SOC rate of change acquisition module is configured as:
基于公式
Figure dest_path_image004
,得到电池在当前时刻的实际SOC值的变化率;
formula based
Figure dest_path_image004
, to obtain the rate of change of the actual SOC value of the battery at the current moment;
其中, Vz t 表示 t时刻对应的实际SOC值的变化率,∆ t表示单周期时间, C t 表示 t时刻对应的电池容量, I t 表示 t时刻对应的电池电流。 Among them, Vz t represents the change rate of the actual SOC value corresponding to time t , ∆ t represents the single-cycle time, C t represents the battery capacity corresponding to time t , and I t represents the battery current corresponding to time t .
在一种可能的实现方式中,第一变化率计算单元具体被配置为:In a possible implementation manner, the first rate-of-change calculation unit is specifically configured as:
若电池处于充电状态,则根据公式 Vx t = K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a charging state, calculate the first rate of change corresponding to the current moment according to the formula Vx t = K t * Vz t ;
若电池处于放电状态,则根据公式 Vx t =- K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a discharge state, calculate the first rate of change corresponding to the current moment according to the formula Vx t =- K t * Vz t ;
其中, Vx t 表示 t时刻对应的第一变化率, K t 表示 t时刻对应的跟随增益, Vz t 表示 t时刻对应的实际SOC值的变化率。 Wherein, Vx t represents the first rate of change corresponding to time t , K t represents the following gain corresponding to time t , and Vz t represents the rate of change of the actual SOC value corresponding to time t .
此外,在其他实施例中,第一变化率计算模块120还可以被配置为:In addition, in other embodiments, the first rate-of-change calculation module 120 can also be configured as:
1、基于神经网络算法创建神经网络模型;1. Create neural network models based on neural network algorithms;
2、在采用本实施例方法S101-S103控制显示SOC值一段时间后,获取电池在历史时期每一采样时刻的实际SOC值、显示SOC值、SOC跟随目标值、每一采样时刻对应的实际SOC值的变化率和显示SOC值的变化率,然后以SOC跟随目标值、该SOC跟随目标值下对应的 t-1时刻的实际SOC值和 t时刻的实际SOC值的变化率作为一个训练样本,以 t时刻的显示SOC值的变化率作为样本标签创建训练样本集,并采用训练样本集训练上述神经网络模型,直至神经网络模型的计算精度满足要求。 2. After using the method S101-S103 of this embodiment to control and display the SOC value for a period of time, obtain the actual SOC value of the battery at each sampling time in the historical period, the displayed SOC value, the SOC following the target value, and the actual SOC corresponding to each sampling time The rate of change of the value and the rate of change of the displayed SOC value, and then take the SOC following the target value, the actual SOC value corresponding to the SOC following the target value at time t -1, and the rate of change of the actual SOC value at time t as a training sample, Create a training sample set with the rate of change of the displayed SOC value at time t as the sample label, and use the training sample set to train the above neural network model until the calculation accuracy of the neural network model meets the requirements.
3、将当前时刻的实际SOC值、前一时刻的显示SOC值、SOC跟随目标值和当前时刻的实际SOC值的变化率输入经过训练的神经网络模型,得到当前时刻的显示SOC值的变化率。3. Input the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value and the rate of change of the actual SOC value at the current moment into the trained neural network model to obtain the rate of change of the displayed SOC value at the current moment .
需要说明的是,本申请装置实施例中未详细说明的技术手段及技术效果,可以参考本申请方法实施例中对应的技术手段及技术效果,应当认为在此说明之后,本申请装置实施例已经明确记载了未详细说明的内容。It should be noted that for the technical means and technical effects not described in detail in the device embodiments of the present application, you can refer to the corresponding technical means and technical effects in the method embodiments of the present application. It should be considered that after this description, the device embodiments of the present application have already The content that is not specified in detail is clearly described.
从上述实施例可知,本实施例在监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值时,基于目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值;然后根据当前时刻的实际SOC值、前一时刻的显示SOC值、SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率;最后根据电池在前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使显示SOC值在到达SOC跟随目标值时与该时刻对应的实际SOC值保持一致。通过上述方案,本申请能够结合实际SOC值及变化率及跟随目标值动态计算显示SOC变化率,从而既能避免显示SOC值的跳变问题,又能够提高显示SOC值的跟随效果。It can be seen from the above-mentioned embodiments that in this embodiment, when the difference between the actual SOC value corresponding to the target time and the displayed SOC value of the battery is detected to be greater than the first preset threshold, the SOC follow-up is determined based on the actual SOC value and the displayed SOC value at the target time. Target value; then according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment, calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first A rate of change; finally update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the displayed SOC value corresponds to the actual SOC at that moment when it reaches the SOC follow-up target value The value remains the same. Through the above solution, the present application can dynamically calculate and display the SOC change rate in combination with the actual SOC value and change rate and follow target value, thereby not only avoiding the jump problem of the displayed SOC value, but also improving the follow-up effect of the displayed SOC value.
本申请实施例还提供了一种计算机程序产品,其具有程序代码,该程序代码在相应的处理器、控制器、计算装置或电子设备中运行时执行上述任一个电池显示SOC值的跟随方法实施例中的步骤,例如图1所示的步骤101至步骤103。本领域技术人员应当理解,可以以硬件、软件、固件、专用处理器或其组合的各种形式来实现本申请实施例所提出的方法和所属的设备。专用处理器可以包括专用集成电路(ASIC)、精简指令集计算机(RISC)和/或现场可编程门阵列(FPGA)。所提出的方法和设备优选地被实现为硬件和软件的组合。该软件优选地作为应用程序安装在程序存储设备上。其典型地是基于具有硬件的计算机平台的机器,例如一个或多个中央处理器(CPU)、随机存取存储器(RAM)和一个或多个输入/输出(I/O)接口。操作系统典型地也安装在计算机平台上。这里描述的各种过程和功能可以是应用程序的一部分,或者其一部分可以通过操作系统执行。The embodiment of the present application also provides a computer program product, which has a program code, and when the program code is run in a corresponding processor, controller, computing device or electronic device, any one of the above methods for following the battery display SOC value is implemented. The steps in the example are, for example, step 101 to step 103 shown in FIG. 1 . Those skilled in the art should understand that the methods proposed in the embodiments of the present application and associated devices may be implemented in various forms of hardware, software, firmware, dedicated processors or combinations thereof. Special purpose processors may include Application Specific Integrated Circuits (ASICs), Reduced Instruction Set Computers (RISCs), and/or Field Programmable Gate Arrays (FPGAs). The proposed methods and devices are preferably implemented as a combination of hardware and software. The software is preferably installed as an application program on the program storage device. It is typically a computer platform based machine having hardware, such as one or more central processing units (CPUs), random access memory (RAM), and one or more input/output (I/O) interfaces. An operating system is also typically installed on the computer platform. Various procedures and functions described herein may be part of the application program, or a part thereof may be executed by the operating system.
在一个实施例中,本实施例提供了一种汽车,包括执行上述电池显示SOC值的跟随方法的电子设备。In one embodiment, this embodiment provides an automobile, including an electronic device for implementing the above-mentioned method for following a battery display SOC value.
图3是本申请实施例提供的电子设备的示意图。如图3所示,该实施例的电子设备3包括:处理器30、存储器31以及存储在存储器31中并可在处理器30上运行的计算机程序32。处理器30执行计算机程序32时实现上述各个电池显示SOC值的跟随方法实施例中的步骤,例如图1所示的步骤101至步骤103。或者,处理器30执行计算机程序32时实现上述各装置实施例中各模块/单元的功能,例如图2所示模块/单元110至130的功能。Fig. 3 is a schematic diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 3 , the electronic device 3 of this embodiment includes: a processor 30 , a memory 31 , and a computer program 32 stored in the memory 31 and operable on the processor 30 . When the processor 30 executes the computer program 32 , the steps in the above embodiments of the method for following the battery display SOC value are implemented, such as steps 101 to 103 shown in FIG. 1 . Alternatively, when the processor 30 executes the computer program 32, the functions of the modules/units in the above-mentioned device embodiments are implemented, for example, the functions of the modules/units 110 to 130 shown in FIG. 2 .
示例性的,计算机程序32可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器31中,并由处理器30执行,以完成/实施本申请所提供的方案。一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序32在电子设备3中的执行过程。例如,计算机程序32可以被分割成图2所示的模块110至130。Exemplarily, the computer program 32 can be divided into one or more modules/units, and one or more modules/units are stored in the memory 31 and executed by the processor 30 to complete/implement the solutions provided in this application . One or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 32 in the electronic device 3 . For example, computer program 32 may be divided into modules 110 to 130 shown in FIG. 2 .
电子设备3可包括,但不仅限于,处理器30、存储器31。本领域技术人员可以理解,图3仅仅是电子设备3的示例,并不构成对电子设备3的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如电子设备还可以包括输入输出设备、网络接入设备、总线等。The electronic device 3 may include, but not limited to, a processor 30 and a memory 31 . Those skilled in the art can understand that FIG. 3 is only an example of the electronic device 3, and does not constitute a limitation to the electronic device 3. It may include more or less components than shown in the figure, or combine some components, or different components. , for example, the electronic device may also include input and output devices, network access devices, buses, and so on.
处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。Processor 30 may be a central processing unit (Central Processing Unit, CPU), and other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
存储器31可以是电子设备3的内部存储单元,例如电子设备3的硬盘或内存。存储器31也可以是电子设备3的外部存储设备,例如电子设备3上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器31还可以既包括电子设备3的内部存储单元也包括外部存储设备。存储器31用于存储计算机程序以及电子设备所需的其他程序和数据。存储器31还可以用于暂时地存储已经输出或者将要输出的数据。The storage 31 may be an internal storage unit of the electronic device 3 , such as a hard disk or memory of the electronic device 3 . The memory 31 can also be an external storage device of the electronic device 3, such as a plug-in hard disk equipped on the electronic device 3, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card) and so on. Further, the memory 31 may also include both an internal storage unit of the electronic device 3 and an external storage device. The memory 31 is used to store computer programs and other programs and data required by the electronic device. The memory 31 can also be used to temporarily store data that has been output or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above system, reference may be made to the corresponding processes in the aforementioned method embodiments, and details will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/电子设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/电子设备实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/electronic equipment and method can be implemented in other ways. For example, the device/electronic device embodiments described above are only illustrative, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components May be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一非易失性计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个电池显示SOC值的跟随方法实施例的步骤。其中,计算机程序包括计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读存储介质可以包括:能够携带计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质等。需要说明的是,计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括是电载波信号和电信信号。If an integrated module/unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through computer programs. The computer programs can be stored in a non-volatile computer-readable storage medium. When the computer program is executed by the processor, it can realize the steps of the above embodiments of the following method for displaying the SOC value of each battery. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (Read-Only Memory, ROM), random memory Access memory (Random Access Memory, RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in computer-readable storage media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable storage media Excluding electrical carrier signals and telecommunication signals.
此外,本申请附图中示出的实施例或本说明书中提到的各种实施例的特征不必理解为彼此独立的实施例。而是,可以将一个实施例的其中一个示例中描述的每个特征与来自其他实施例的个或多个其他期望的特征组合,从而产生未用文字或参考附图描述的其他实施例。Furthermore, the embodiments shown in the drawings of the present application or the features of the various embodiments mentioned in this specification are not necessarily to be understood as independent embodiments from each other. Rather, each feature described in one example of an embodiment can be combined with one or more other desired features from other embodiments to produce other embodiments that are not described in words or with reference to the figures.
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still apply to the foregoing embodiments Modifications to the technical solutions recorded, or equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of the application, and should be included in this application. within the scope of protection.

Claims (17)

  1. 一种电池显示SOC值的跟随方法,其特征在于,包括: A method for following a battery displaying an SOC value, characterized in that it comprises:
    若监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值,则基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值;If it is monitored that the difference between the actual SOC value corresponding to the target moment and the displayed SOC value of the battery is greater than the first preset threshold, then determine the SOC follow-up target value based on the actual SOC value and the displayed SOC value at the target moment;
    根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率;According to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the rate of change of the actual SOC value at the current moment, calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first change Rate;
    根据所述电池在所述前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使所述显示SOC值在到达所述SOC跟随目标值时与该时刻对应的实际SOC值保持一致。Update the displayed SOC value at the current moment according to the displayed SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the displayed SOC value corresponds to the moment when it reaches the SOC follow-up target value The actual SOC value remains the same.
  2. 根据权利要求1所述的电池显示SOC值的跟随方法,其特征在于,所述基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值,包括: The method for following the displayed SOC value of the battery according to claim 1, wherein said determining the SOC following target value based on the actual SOC value and the displayed SOC value at the target moment comprises:
    若所述电池处于充电状态,则将所述目标时刻对应的实际SOC值和显示SOC值中的较大值作为充电跟随目标值;If the battery is in a charging state, the larger value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the charging follow target value;
    将所述充电跟随目标值加上第一预设偏移值,得到所述SOC跟随目标值。Adding the charging following target value to a first preset offset value to obtain the SOC following target value.
  3. 根据权利要求1或2所述的电池显示SOC值的跟随方法,其特征在于,所述基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值,包括: The method for following the displayed SOC value of the battery according to claim 1 or 2, wherein the determining the SOC following target value based on the actual SOC value and the displayed SOC value at the target moment comprises:
    若所述电池处于放电状态,则将所述目标时刻对应的实际SOC值和显示SOC值中的较小值作为放电跟随目标值;If the battery is in a discharge state, the smaller value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the discharge follow target value;
    将所述放电跟随目标值减去第二预设偏移值,得到所述SOC跟随目标值。The second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
  4. 根据权利要求1所述的电池显示SOC值的跟随方法,其特征在于,所述根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率,包括: The method for following the displayed SOC value of the battery according to claim 1, wherein the method is based on the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the actual SOC value at the current moment Calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first rate of change, including:
    将所述SOC跟随目标值减去所述当前时刻的实际SOC值得到第一差值;subtracting the actual SOC value at the current moment from the SOC following target value to obtain a first difference;
    将所述SOC跟随目标值减去所述前一时刻的显示SOC值得到第二差值;Subtracting the SOC following target value from the displayed SOC value at the previous moment to obtain a second difference;
    将所述第一差值除以所述第二差值,得到当前时刻的跟随增益;dividing the first difference by the second difference to obtain the following gain at the current moment;
    根据所述当前时刻的跟随增益和所述当前时刻的实际SOC值的变化率,计算当前时刻对应的第一变化率。A first rate of change corresponding to the current moment is calculated according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment.
  5. 根据权利要求4所述的电池显示SOC值的跟随方法,其特征在于,在所述根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率之前,所述方法还包括: The method for following the displayed SOC value of the battery according to claim 4, characterized in that, according to the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value and the actual SOC at the current moment The rate of change of the value, before calculating the rate of change of the displayed SOC value corresponding to the current moment, the method also includes:
    基于公式
    Figure dest_path_image001
    ,得到所述电池在所述当前时刻的实际SOC值的变化率;
    formula based
    Figure dest_path_image001
    , to obtain the rate of change of the actual SOC value of the battery at the current moment;
    其中, Vz t 表示 t时刻对应的实际SOC值的变化率,∆ t表示单周期时间, C t 表示 t时刻对应的电池容量, I t 表示 t时刻对应的电池电流。 Among them, Vz t represents the change rate of the actual SOC value corresponding to time t , ∆ t represents the single-cycle time, C t represents the battery capacity corresponding to time t , and I t represents the battery current corresponding to time t .
  6. 根据权利要求5所述的电池显示SOC值的跟随方法,其特征在于,所述根据所述当前时刻的跟随增益和所述当前时刻的实际SOC值的变化率,计算当前时刻对应的第一变化率,包括: The method for following the battery display SOC value according to claim 5, characterized in that the first change corresponding to the current moment is calculated according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment rates, including:
    若所述电池处于充电状态,则根据公式 Vx t = K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a charged state, calculate the first rate of change corresponding to the current moment according to the formula Vx t = K t * Vz t ;
    若所述电池处于放电状态,则根据公式 Vx t =- K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a discharge state, calculate the first rate of change corresponding to the current moment according to the formula Vx t =-K t * Vz t ;
    其中, Vx t 表示 t时刻对应的第一变化率, K t 表示 t时刻对应的跟随增益, Vz t 表示 t时刻对应的实际SOC值的变化率。 Wherein, Vx t represents the first rate of change corresponding to time t , K t represents the following gain corresponding to time t , and Vz t represents the rate of change of the actual SOC value corresponding to time t .
  7. 根据权利要求1所述的电池显示SOC值的跟随方法,其特征在于,所述根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率,包括: The method for following the displayed SOC value of the battery according to claim 1, wherein the method is based on the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value, and the actual SOC value at the current moment Calculate the rate of change of the displayed SOC value corresponding to the current moment, and use it as the first rate of change, including:
    基于神经网络算法创建神经网络模型;Create neural network models based on neural network algorithms;
    获取所述电池在历史时期每一采样时刻的实际SOC值、显示SOC值、SOC跟随目标值、每一采样时刻对应的实际SOC值的变化率和显示SOC值的变化率,以所述SOC跟随目标值、所述SOC跟随目标值下对应的 t-1时刻的实际SOC值和 t时刻的实际SOC值的变化率作为一个训练样本,以 t时刻的显示SOC值的变化率作为样本标签创建训练样本集,并采用所述训练样本集训练所述神经网络模型,直至所述神经网络模型的计算精度满足要求; Obtain the actual SOC value, displayed SOC value, SOC follow-up target value, the change rate of the actual SOC value corresponding to each sampling time point and the change rate of the displayed SOC value of the battery at each sampling time in the historical period, and use the SOC follow-up The target value, the actual SOC value corresponding to the SOC following the target value at time t -1, and the rate of change of the actual SOC value at time t are used as a training sample, and the rate of change of the displayed SOC value at time t is used as a sample label to create training A sample set, and using the training sample set to train the neural network model until the calculation accuracy of the neural network model meets the requirements;
    将所述当前时刻的实际SOC值、所述前一时刻的显示SOC值、所述SOC跟随目标值和所述当前时刻的实际SOC值的变化率输入经过训练的所述神经网络模型,得到所述当前时刻的显示SOC值的变化率。Input the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value and the rate of change of the actual SOC value at the current moment into the trained neural network model to obtain the Describe the change rate of the displayed SOC value at the current moment.
  8. 一种电池显示SOC值的跟随装置,其特征在于,包括: A battery display SOC value follower, characterized in that it comprises:
    跟随目标值计算模块,被配置为若监测到电池在目标时刻对应的实际SOC值与显示SOC值的差值大于第一预设阈值,则基于所述目标时刻的实际SOC值和显示SOC值确定SOC跟随目标值;The following target value calculation module is configured to determine the battery based on the actual SOC value at the target time and the displayed SOC value if the difference between the actual SOC value corresponding to the target time and the displayed SOC value is greater than the first preset threshold. SOC follows the target value;
    第一变化率计算模块,被配置为根据当前时刻的实际SOC值、前一时刻的显示SOC值、所述SOC跟随目标值和当前时刻的实际SOC值的变化率,计算当前时刻对应的显示SOC值的变化率,并作为第一变化率;The first change rate calculation module is configured to calculate the display SOC corresponding to the current moment according to the actual SOC value at the current moment, the display SOC value at the previous moment, the SOC follow-up target value, and the change rate of the actual SOC value at the current moment The rate of change of the value, and as the first rate of change;
    显示SOC值更新模块,被配置为根据所述电池在所述前一时刻的显示SOC值和当前时刻的第一变化率更新当前时刻的显示SOC值,以使所述显示SOC值在到达所述SOC跟随目标值时与该时刻对应的实际SOC值保持一致。The display SOC value updating module is configured to update the display SOC value at the current moment according to the display SOC value of the battery at the previous moment and the first rate of change at the current moment, so that the display SOC value reaches the When the SOC follows the target value, it is consistent with the actual SOC value corresponding to this moment.
  9. 根据权利要求8所述的电池显示SOC值的跟随装置,其特征在于,所述跟随目标值计算模块具体被配置为: The battery display SOC value following device according to claim 8, characterized in that, the following target value calculation module is specifically configured as:
    若所述电池处于充电状态,则将所述目标时刻对应的实际SOC值和显示SOC值中的较大值作为充电跟随目标值;If the battery is in a charging state, the larger value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the charging follow target value;
    将所述充电跟随目标值加上第一预设偏移值,得到所述SOC跟随目标值。Adding the charging following target value to a first preset offset value to obtain the SOC following target value.
  10. 根据权利要求8或9所述的电池显示SOC值的跟随装置,其特征在于,所述跟随目标值计算模块具体被配置为: The following device for displaying the SOC value of the battery according to claim 8 or 9, wherein the following target value calculation module is specifically configured as:
    若所述电池处于放电状态,则将所述目标时刻对应的实际SOC值和显示SOC值中的较小值作为放电跟随目标值;If the battery is in a discharge state, the smaller value of the actual SOC value corresponding to the target moment and the displayed SOC value is used as the discharge follow target value;
    将所述放电跟随目标值减去第二预设偏移值,得到所述SOC跟随目标值。The second preset offset value is subtracted from the discharge follow target value to obtain the SOC follow target value.
  11. 根据权利要求8所述的电池显示SOC值的跟随装置,其特征在于,所述第一变化率计算模块包括: The device for following the battery display SOC value according to claim 8, wherein the first rate of change calculation module includes:
    第一差值计算单元,被配置为将所述SOC跟随目标值减去所述当前时刻的实际SOC值得到第一差值;The first difference calculation unit is configured to subtract the actual SOC value at the current moment from the SOC following target value to obtain a first difference;
    第二差值计算单元,被配置为将所述SOC跟随目标值减去所述前一时刻的显示SOC值得到第二差值;The second difference calculation unit is configured to subtract the displayed SOC value at the previous moment from the SOC following target value to obtain a second difference;
    跟随增益计算单元,被配置为将所述第一差值除以所述第二差值,得到当前时刻的跟随增益;a following gain calculation unit configured to divide the first difference by the second difference to obtain the following gain at the current moment;
    第一变化率计算单元,被配置为根据所述当前时刻的跟随增益和所述当前时刻的实际SOC值的变化率,计算当前时刻对应的第一变化率。The first rate-of-change calculation unit is configured to calculate a first rate-of-change corresponding to the current moment according to the following gain at the current moment and the rate of change of the actual SOC value at the current moment.
  12. 根据权利要求11所述的电池显示SOC值的跟随装置,其特征在于,还包括实际SOC变化率获取模块,所述实际SOC变化率获取模块被配置为: The battery display SOC value following device according to claim 11, characterized in that it also includes an actual SOC rate of change acquisition module, the actual SOC rate of change acquisition module is configured to:
    基于公式
    Figure dest_path_image002
    ,得到所述电池在所述当前时刻的实际SOC值的变化率;
    formula based
    Figure dest_path_image002
    , to obtain the rate of change of the actual SOC value of the battery at the current moment;
    其中, Vz t 表示 t时刻对应的实际SOC值的变化率,∆ t表示单周期时间, C t 表示 t时刻对应的电池容量, I t 表示 t时刻对应的电池电流。 Among them, Vz t represents the change rate of the actual SOC value corresponding to time t , ∆ t represents the single-cycle time, C t represents the battery capacity corresponding to time t , and I t represents the battery current corresponding to time t .
  13. 根据权利要求12所述的电池显示SOC值的跟随装置,其特征在于,所述第一变化率计算单元具体被配置为: The battery display SOC value following device according to claim 12, characterized in that, the first rate-of-change calculation unit is specifically configured as:
    若所述电池处于充电状态,则根据公式 Vx t = K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a charged state, calculate the first rate of change corresponding to the current moment according to the formula Vx t = K t * Vz t ;
    若所述电池处于放电状态,则根据公式 Vx t =- K t * Vz t 计算当前时刻对应的第一变化率; If the battery is in a discharge state, calculate the first rate of change corresponding to the current moment according to the formula Vx t =-K t * Vz t ;
    其中, Vx t 表示 t时刻对应的第一变化率, K t 表示 t时刻对应的跟随增益, Vz t 表示 t时刻对应的实际SOC值的变化率。 Wherein, Vx t represents the first rate of change corresponding to time t , K t represents the following gain corresponding to time t , and Vz t represents the rate of change of the actual SOC value corresponding to time t .
  14. 根据权利要求8所述的电池显示SOC值的跟随装置,其特征在于,所述第一变化率计算模块具体被配置为: The battery display SOC value following device according to claim 8, characterized in that, the first change rate calculation module is specifically configured as:
    基于神经网络算法创建神经网络模型;Create neural network models based on neural network algorithms;
    获取所述电池在历史时期每一采样时刻的实际SOC值、显示SOC值、SOC跟随目标值、每一采样时刻对应的实际SOC值的变化率和显示SOC值的变化率,以所述SOC跟随目标值、所述SOC跟随目标值下对应的 t-1时刻的实际SOC值和 t时刻的实际SOC值的变化率作为一个训练样本,以 t时刻的显示SOC值的变化率作为样本标签创建训练样本集,并采用所述训练样本集训练所述神经网络模型,直至所述神经网络模型的计算精度满足要求; Obtain the actual SOC value, displayed SOC value, SOC follow-up target value, the change rate of the actual SOC value corresponding to each sampling time point and the change rate of the displayed SOC value of the battery at each sampling time in the historical period, and use the SOC follow-up The target value, the actual SOC value corresponding to the SOC following the target value at time t -1, and the rate of change of the actual SOC value at time t are used as a training sample, and the rate of change of the displayed SOC value at time t is used as a sample label to create training A sample set, and using the training sample set to train the neural network model until the calculation accuracy of the neural network model meets the requirements;
    将所述当前时刻的实际SOC值、所述前一时刻的显示SOC值、所述SOC跟随目标值和所述当前时刻的实际SOC值的变化率输入经过训练的所述神经网络模型,得到所述当前时刻的显示SOC值的变化率。Input the actual SOC value at the current moment, the displayed SOC value at the previous moment, the SOC following target value and the rate of change of the actual SOC value at the current moment into the trained neural network model to obtain the Describe the change rate of the displayed SOC value at the current moment.
  15. 一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如上的权利要求1至7中任一项所述电池显示SOC值的跟随方法的步骤。 An electronic device, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, characterized in that the above claim 1 is realized when the processor executes the computer program Steps in the following method for the battery displaying the SOC value according to any one of 7 to 7.
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如上的权利要求1至7中任一项所述电池显示SOC值的跟随方法的步骤。 A computer-readable storage medium, the computer-readable storage medium stores a computer program, characterized in that, when the computer program is executed by a processor, the battery display SOC as described in any one of claims 1 to 7 above is realized The value's follow method steps.
  17. 一种汽车,其特征在于,包括如权利要求15所述的电子设备。 An automobile, characterized by comprising the electronic device as claimed in claim 15.
PCT/CN2022/138882 2021-12-22 2022-12-14 Method for displayed soc value of battery to perform following, and related apparatus WO2023116518A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111584260.4 2021-12-22
CN202111584260.4A CN115113058A (en) 2021-12-22 2021-12-22 Following method for displaying SOC value of battery and related device

Publications (1)

Publication Number Publication Date
WO2023116518A1 true WO2023116518A1 (en) 2023-06-29

Family

ID=83325027

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/138882 WO2023116518A1 (en) 2021-12-22 2022-12-14 Method for displayed soc value of battery to perform following, and related apparatus

Country Status (2)

Country Link
CN (1) CN115113058A (en)
WO (1) WO2023116518A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115113058A (en) * 2021-12-22 2022-09-27 长城汽车股份有限公司 Following method for displaying SOC value of battery and related device
CN116754963B (en) * 2023-08-22 2023-10-20 深圳市德兰明海新能源股份有限公司 Calculation method of lithium battery SOC display value

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180313900A1 (en) * 2017-04-28 2018-11-01 Toyota Jidosha Kabushiki Kaisha Battery system and control method thereof
CN109001639A (en) * 2018-06-25 2018-12-14 江西江铃集团新能源汽车有限公司 The SOC estimating algorithm of battery
CN109507595A (en) * 2018-12-28 2019-03-22 贵安新区新特电动汽车工业有限公司 Battery SOC dynamic calibration method, device and electronic equipment
CN112213652A (en) * 2020-01-20 2021-01-12 蜂巢能源科技有限公司 Method and system for estimating remaining capacity
CN112477695A (en) * 2020-11-18 2021-03-12 上海英恒电子有限公司 Battery management method and battery management system
CN115113058A (en) * 2021-12-22 2022-09-27 长城汽车股份有限公司 Following method for displaying SOC value of battery and related device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180313900A1 (en) * 2017-04-28 2018-11-01 Toyota Jidosha Kabushiki Kaisha Battery system and control method thereof
CN109001639A (en) * 2018-06-25 2018-12-14 江西江铃集团新能源汽车有限公司 The SOC estimating algorithm of battery
CN109507595A (en) * 2018-12-28 2019-03-22 贵安新区新特电动汽车工业有限公司 Battery SOC dynamic calibration method, device and electronic equipment
CN112213652A (en) * 2020-01-20 2021-01-12 蜂巢能源科技有限公司 Method and system for estimating remaining capacity
CN112477695A (en) * 2020-11-18 2021-03-12 上海英恒电子有限公司 Battery management method and battery management system
CN115113058A (en) * 2021-12-22 2022-09-27 长城汽车股份有限公司 Following method for displaying SOC value of battery and related device

Also Published As

Publication number Publication date
CN115113058A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
WO2023116518A1 (en) Method for displayed soc value of battery to perform following, and related apparatus
US10620273B2 (en) Method and apparatus for estimating a state of health of a battery pack and computer-readable medium
WO2019127924A1 (en) Sample weight allocation method, model training method, electronic device, and storage medium
CN112016190B (en) Power battery temperature correction method and device and computer readable storage medium
WO2020041929A1 (en) Vehicle mileage calculation method, system and terminal device
WO2023125129A1 (en) Method for estimating soc of battery, and related apparatus
CN113022374B (en) Passive equalization control method and system for battery management system of electric vehicle
CN109713762B (en) Charging control method and device and terminal equipment
WO2021238198A1 (en) Charging method, charging chip, and terminal device
WO2022134949A1 (en) Power calibration method and apparatus, and electronic device
CN115932605A (en) Method and device for correcting residual electric quantity of energy storage battery and battery management system
JP2022041931A (en) Method and apparatus for battery state estimation
CN113740755A (en) Display processing method and device for battery pack charge state and readable medium
WO2022135440A1 (en) Llc resonant circuit control method and control apparatus, and terminal device
CN105573458B (en) Information processing method and electronic equipment
CN113525142B (en) Method and device for reserving charging timing and terminal equipment
CN114801868A (en) Method, device, equipment and medium for dynamically correcting available power of battery
CN108344952A (en) Battery power amount calculation method and its device
WO2023116533A1 (en) Method for correcting soc of battery, and related apparatus
CN116315185A (en) Electronic device and battery management method
WO2023044875A1 (en) Method and device for determining display state of charge and battery management chip
CN109799872A (en) Improve the method, apparatus and electronic equipment of low-res real-time clock waking-up precision
CN115061045A (en) SOC charge and discharge terminal calibration method and device applied to BMS
CN115113076A (en) Estimation method of relative SOC of battery and related device
CN113359050A (en) Method and device for calibrating aging of rechargeable battery and computer readable medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22909832

Country of ref document: EP

Kind code of ref document: A1