WO2024120501A1 - Battery remaining charging time computing method and apparatus, electronic device, and storage medium - Google Patents

Battery remaining charging time computing method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2024120501A1
WO2024120501A1 PCT/CN2023/137284 CN2023137284W WO2024120501A1 WO 2024120501 A1 WO2024120501 A1 WO 2024120501A1 CN 2023137284 W CN2023137284 W CN 2023137284W WO 2024120501 A1 WO2024120501 A1 WO 2024120501A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
battery
charge
battery state
charging time
Prior art date
Application number
PCT/CN2023/137284
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 WO2024120501A1 publication Critical patent/WO2024120501A1/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/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC
    • G01R31/388Determining ampere-hour charge capacity or SoC involving voltage measurements
    • 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/371Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] with remote indication, e.g. on external chargers
    • 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/389Measuring internal impedance, internal conductance or related variables
    • 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/396Acquisition or processing of data for testing or for monitoring individual cells or groups of cells within a battery
    • 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 embodiments of the present application relate to the field of battery charging technology, and in particular to a method, device, electronic device and storage medium for calculating the remaining charging time of a battery.
  • the remaining charging time is mostly calculated using the remaining charging capacity and the charging current output by the charging pile.
  • the calculated remaining charging time is multiplied by a fixed proportional coefficient as the remaining charging time that is finally displayed.
  • SOC battery state of charge
  • the present application provides a method, device, electronic device and storage medium for calculating the remaining charging time of a battery, so as to accurately calculate and adjust the remaining charging time of the battery during the charging process, thereby improving the accuracy and reliability of the remaining charging time.
  • a method for calculating remaining battery charging time comprising:
  • the battery state of charge calculated value is less than the target battery state of charge value, determining the charging current calculated value and the temperature rise rate according to the battery temperature calculated value, the battery state of charge calculated value and a preset corresponding relationship; wherein the initial value of the battery temperature calculated value and the initial value of the battery state of charge calculated value are used to first determine the charging current calculated value and the temperature rise rate;
  • the battery state of charge calculated value is cumulatively determined according to the charging current calculated value and the temperature rise rate, and the theoretical remaining charging time is cumulatively determined according to the temperature rise rate; the battery state of charge calculated value is compared with the target battery state of charge value, and according to the comparison result, the battery temperature calculated value is updated according to the temperature rise rate in a step size, and the charging current calculated value and the temperature rise rate are re-determined;
  • the remaining battery charging time is determined according to the theoretical remaining charging time.
  • a device for calculating remaining battery charging time comprising:
  • An initial value acquisition module used to acquire a current battery temperature value and a current battery state of charge value; wherein the current battery temperature value is assigned to an initial value of a battery temperature calculation value, and the current battery state of charge value is assigned to an initial value of a battery state of charge calculation value;
  • a parameter updating module configured to determine a charging current calculation value and a temperature rise rate according to the battery temperature calculation value, the battery state of charge calculation value and a preset corresponding relationship if the battery state of charge calculation value is less than a target battery state of charge value; wherein the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time;
  • a calculation module configured to, when the temperature rise rate does not meet the set condition, cumulatively determine the battery state of charge calculation value according to the charging current calculation value and the temperature rise rate, and cumulatively determine the theoretical remaining charging time according to the temperature rise rate; compare the battery state of charge calculation value with the target battery state of charge value, and update the battery temperature calculation value according to the temperature rise rate in a step size according to the comparison result, and re-determine the charging current calculation value and the temperature rise rate;
  • the result determination module is used to determine the remaining battery charging time according to the theoretical remaining charging time when the calculated battery state of charge value is greater than or equal to the target battery state of charge value.
  • an electronic device including:
  • processors one or more processors
  • a storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method for calculating the remaining battery charging time as described in the first aspect.
  • a storage medium containing computer executable instructions is also provided.
  • the computer executable instructions are executed by a computer processor, they are used to execute the battery remaining charging time calculation method as described in the first aspect.
  • the battery remaining charging time calculation method obtaineds the current battery temperature value and the current battery state of charge value as the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value in the iterative calculation process, respectively. If it is determined that the battery state of charge calculation value is less than the target battery state of charge value, the charging current calculation value and the temperature rise rate are determined according to the battery temperature calculation value, the battery state of charge calculation value and the preset corresponding relationship. The initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time.
  • the battery state of charge calculation value is determined according to the cumulative addition of the charging current calculation value and the temperature rise rate
  • the theoretical remaining charging time is determined according to the cumulative addition of the temperature rise rate
  • the size relationship between the battery state of charge calculation value and the target battery state of charge value is determined. If the battery state of charge calculation value is still less than the target battery state of charge value, the battery temperature calculation value is updated according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined until the battery state of charge calculation value is greater than or equal to the target battery state of charge value.
  • FIG1 is a schematic flow chart of a method for calculating the remaining charging time of a battery according to an embodiment of the present application
  • FIG2 is a flow chart of another method for calculating the remaining battery charging time according to an embodiment of the present application.
  • FIG3 is a flow chart of another method for calculating the remaining battery charging time according to an embodiment of the present application.
  • FIG4 is a schematic diagram of a specific flow chart of step S310 in another method for calculating the remaining battery charging time according to an embodiment of the present application;
  • FIG. 5 is a schematic diagram of a flow chart of another method for calculating the remaining battery charging time according to an embodiment of the present application
  • FIG. 6 is a flow chart of another method for calculating the remaining battery charging time according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the structure of a device for calculating the remaining charging time of a battery according to an embodiment of the present application.
  • FIG8 is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application.
  • FIG1 is a flow chart of a method for calculating the remaining charging time of a battery provided in the present application embodiment.
  • the present embodiment can be applied to the case of calculating the remaining charging time of an electric vehicle.
  • the method can be executed by a battery remaining charging time calculation device, and specifically includes the following steps:
  • the current battery state of charge value is the battery state of charge value displayed by the vehicle instrument
  • the current battery temperature value is the temperature of the current battery module, which can be obtained by the temperature sensor set in the battery module.
  • the battery temperature calculation value is the battery temperature parameter used in the calculation of the remaining charging time
  • the battery state of charge calculation value is the battery state of charge parameter used in the calculation of the remaining charging time.
  • the optimal charging temperature range of the battery module is 15-45°C, that is, when the temperature of the battery module is within the optimal charging temperature range, the charging current is large; when the temperature of the battery module is outside the optimal temperature range, the charging current is small. Therefore, in order to ensure that the battery is charged with a larger charging current, when determining the current battery temperature value of the battery module, the temperature point that limits the charging current size is used as the current battery temperature value.
  • the maximum temperature among the multiple temperature points is determined as the current battery temperature value; if the lowest temperature of the battery module is less than 20°C, the minimum temperature among the multiple temperature points is determined as the current battery temperature value.
  • the current battery temperature value is obtained as the initial value of the battery temperature calculation value in the calculation process
  • the current battery state of charge value is obtained as the initial value of the battery state of charge calculation value in the calculation process, so as to perform subsequent calculations and determine the remaining battery charging time of the remaining charging process.
  • the calculated battery state of charge value is less than the target battery state of charge value, determine the calculated charging current value and the temperature rise rate according to the calculated battery temperature value, the calculated battery state of charge value and a preset corresponding relationship; wherein the initial value of the calculated battery temperature value and the initial value of the calculated battery state of charge value are used to determine the calculated charging current value and the temperature rise rate for the first time.
  • the target battery state of charge value is a battery state of charge value actually required by a user, can be set by the user, and can be changed by the user during the entire charging process of the vehicle.
  • the initial value of the battery temperature calculation value assigned by the current battery temperature value and the initial value of the battery state of charge calculation value assigned by the current battery state of charge value are used to perform the first calculation to obtain the battery state of charge calculation value. If the calculated battery state of charge value is less than the target battery state of charge value, it is necessary to iterate the remaining charging time multiple times until the battery state of charge calculation value is greater than or equal to the target battery state of charge value, and then the iterative calculation is stopped.
  • the calculated charging current value is the charging current value used in the calculation process of the remaining charging time.
  • the charging current value is determined for the first time by querying the corresponding preset correspondence.
  • the charging current value determined for the first time is compared with the maximum charging current value output by the charging pile, and a relatively small charging current is selected as the calculated charging current value.
  • the maximum charging current value output by the charging pile can be obtained through a CML message or an AC gun message.
  • the CML message includes information on the maximum output voltage, the minimum output voltage, the maximum output current, and the minimum output current, which are the standard values of voltage or current specified by the national standard.
  • the voltage or current information included in the AC gun message is the voltage or current output value set by the model or manufacturer of different charging piles.
  • the current temperature rise rate of the battery can be determined according to the corresponding preset corresponding relationship, wherein the temperature rise rate represents the rate of change of the battery temperature.
  • the battery state of charge calculation value is determined by accumulating the charging current calculation value and the temperature rise rate, and the theoretical remaining charging time is determined by accumulating the temperature rise rate; the battery state of charge calculation value is compared with the target battery state of charge value, and based on the comparison result, the battery temperature calculation value is updated according to the step size according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined.
  • the setting condition of the temperature rise rate is the condition that the battery temperature does not change, and the theoretical remaining charging time is the remaining charging time obtained after one calculation.
  • the battery state of charge calculation value is obtained by accumulating the charging current calculation value and the temperature rise rate, and the theoretical remaining charging time calculated this time is determined according to the current temperature rise rate, and the battery state of charge calculation value is compared with the target battery state of charge value to determine the size relationship between the battery state of charge calculation value and the target battery state of charge value.
  • step value is accumulated based on the current calculated battery temperature value according to the temperature rise rate to obtain the calculated battery temperature value for the next iteration process, and execution is started again from step S120 to redetermine the calculated charging current value and the temperature rise rate, thereby determining the calculated battery state of charge value and the theoretical remaining charging time.
  • S140 When the calculated battery state of charge value is greater than or equal to the target battery state of charge value, determine the remaining battery charging time according to the theoretical remaining charging time.
  • the theoretical remaining charging time obtained by the last calculation is determined as the remaining battery charging time and displayed on the vehicle instrument to inform the user.
  • the method for calculating the remaining charging time of a battery obtaineds the current battery temperature value and the current battery state of charge value as the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value in the iterative calculation process, respectively. If it is determined that the battery state of charge calculation value is less than the target battery state of charge value, the charging current calculation value and the temperature rise rate are determined according to the battery temperature calculation value, the battery state of charge calculation value and the preset corresponding relationship. The initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time.
  • the battery state of charge calculation value is determined according to the cumulative addition of the charging current calculation value and the temperature rise rate, the theoretical remaining charging time is determined according to the cumulative addition of the temperature rise rate, and the size relationship between the battery state of charge calculation value and the target battery state of charge value is determined. If the battery state of charge calculation value is still less than the target battery state of charge value, the battery temperature calculation value is updated according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined until the battery state of charge calculation value is greater than or equal to the target battery state of charge value.
  • the battery remaining charging time calculation method provided in this embodiment, the battery remaining charging time can be accurately calculated, the accuracy and reliability of the displayed remaining charging time can be improved, and it is convenient for users to arrange and plan their time reasonably.
  • FIG2 is a flow chart of another method for calculating the remaining battery charging time provided in an embodiment of the present application. Based on the above embodiment, as shown in FIG2, the method for calculating the remaining battery charging time includes:
  • the calculated battery state of charge value is less than the target battery state of charge value, determine the calculated charging current value and the temperature rise rate according to the calculated battery temperature value, the calculated battery state of charge value and a preset corresponding relationship; wherein the initial value of the calculated battery temperature value and the initial value of the calculated battery state of charge value are used to determine the calculated charging current value and the temperature rise rate for the first time.
  • the following calculation formula can be used to directly calculate the theoretical remaining charging time, which can be expressed as:
  • Theoretical remaining charging time battery capacity ⁇ (target battery state of charge value - battery state of charge calculated value) / charging current calculated value
  • the battery capacity indicates the total capacity of the battery when it is fully charged.
  • the battery capacity parameters can be obtained from the battery nameplate.
  • the battery state of charge calculation value is determined by accumulating the charging current calculation value and the temperature rise rate, and the theoretical remaining charging time is determined by accumulating the temperature rise rate; the battery state of charge calculation value is compared with the target battery state of charge value, and based on the comparison result, the battery temperature calculation value is updated according to the step size according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined.
  • FIG3 is a flow chart of another method for calculating the remaining battery charging time provided in an embodiment of the present application. Based on the above embodiments, as shown in FIG3, the method for calculating the remaining battery charging time includes:
  • S310 Determine whether to update the remaining battery charging time according to at least one of the current battery temperature value, the current battery state of charge value, and the target battery state of charge value.
  • the remaining battery charging time displayed in the last update still has a high accuracy. If at least one of the current battery temperature value, the current battery state of charge value, and the target battery state of charge value changes, the accuracy of the remaining battery charging time displayed at this time is low, and the remaining battery charging time needs to be recalculated and updated.
  • S320 Obtain a current battery temperature value and a current battery state of charge value.
  • the calculated battery state of charge value is less than the target battery state of charge value, determine the calculated charging current value and the temperature rise rate according to the calculated battery temperature value, the calculated battery state of charge value and a preset corresponding relationship; wherein the initial value of the calculated battery temperature value and the initial value of the calculated battery state of charge value are used to determine the calculated charging current value and the temperature rise rate for the first time.
  • the battery state of charge calculation value is determined by accumulating the charging current calculation value and the temperature rise rate, and the theoretical remaining charging time is determined by accumulating the temperature rise rate; the battery state of charge calculation value is compared with the target battery state of charge value, and based on the comparison result, the battery temperature calculation value is updated in steps according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined.
  • FIG4 is a specific flow chart of step S310 in another method for calculating the remaining battery charging time provided in an embodiment of the present application. Based on the above embodiments, as shown in FIG4, step S310 includes:
  • S3101 detecting and determining whether the current battery temperature value, the current battery state of charge value, and the target battery state of charge value have changed in a preset time period.
  • the current battery temperature value, the current battery state of charge value, and the target battery state of charge value are detected at a preset time period, and the detection result is judged to determine whether the current battery temperature value, the current battery state of charge value, and the target battery state of charge value have changed.
  • the preset time period can be 1 second, which is not limited here.
  • the current battery state of charge value gradually increases, and the current battery temperature value also changes.
  • the current battery temperature value or the current battery state of charge value changes at a preset time period, it is determined that the accuracy of the remaining charging time displayed by the instrument at this time is low, a judgment result is generated, and the remaining battery charging time is re-updated.
  • the target battery state of charge value can be set by the user according to the actual situation. Therefore, during the vehicle battery charging process, the target battery state of charge value will also change. When a change in the target battery state of charge value is detected, a judgment result is generated. Similarly, according to the judgment result, the remaining battery charging time needs to be recalculated and the updated remaining battery charging time is displayed on the instrument.
  • updating the calculated battery temperature value in steps according to the temperature rise rate includes:
  • the step size is 1°C
  • the step size is -1°C.
  • Table 1 is a temperature rise rate table provided in this embodiment, as shown in Table 1.
  • the calculated value of the battery temperature in this iteration is 22°C
  • the calculated value of the charging current is 1.2C.
  • the temperature rise rate in this iteration is 95s/°C. Since the temperature rise rate is greater than 0, the calculated value of the battery temperature in the next iteration is 23°C.
  • FIG5 is a flowchart of another method for calculating the remaining battery charging time provided by an embodiment of the present application.
  • the preset corresponding relationship includes: a first preset relationship table and a second preset relationship table; as shown in FIG5, the charging current calculation value and the temperature rise rate are determined according to the battery temperature calculation value, the battery state of charge calculation value and the preset corresponding relationship, including:
  • the first preset relationship table is a two-dimensional table representing the relationship between the battery temperature calculation value, the battery state of charge calculation value and the charging current calculation value. Once the battery temperature calculation value and the battery state of charge calculation value are determined, a charging current calculation value can be determined correspondingly through the first preset relationship table.
  • S1202 Determine a temperature rise rate according to a calculated value of battery temperature, a calculated value of charging current, and a second preset relationship table.
  • the second preset relationship table is a two-dimensional table representing the relationship between the battery temperature calculation value, the charging current calculation value and the temperature rise rate.
  • a corresponding temperature rise rate can be determined according to the charging current calculation value determined in step S1201 and the second preset relationship table.
  • FIG6 is a flowchart of another method for calculating the remaining battery charging time provided in an embodiment of the present application. Based on the above embodiments, as shown in FIG6 , determining the remaining battery charging time according to the theoretical remaining charging time includes:
  • the time curve descent coefficient is a coefficient for processing the last updated battery remaining charging time to smoothly display the theoretical remaining charging time calculated this time. After calculating the theoretical remaining charging time, it is necessary to determine whether it is the first time to calculate the remaining charging time. If so, it means that the theoretical remaining charging time calculated this time is the remaining charging time at the beginning of the charging process, and the theoretical remaining charging time of this time is used as the displayed battery remaining charging time. The difference between the last displayed battery remaining charging time and the theoretical remaining charging time calculated by this iteration is subtracted, and the time curve descent coefficient is determined according to the difference.
  • S1402 Determine the remaining charging time of the battery according to the theoretical remaining charging time and the time curve drop coefficient.
  • the theoretical remaining charging time obtained by this iterative calculation is used as a benchmark, and the most recently displayed remaining battery charging time is processed according to the time curve descent coefficient to determine the remaining battery charging time.
  • the most recently displayed remaining battery charging time changes smoothly to the remaining battery charging time, avoiding jumps in the remaining battery charging time during the display update process, thereby improving the user's viewing experience.
  • FIG7 is a structural diagram of a battery remaining charging time calculation device provided by the present application. As shown in FIG7, the battery remaining charging time calculation device 001 includes:
  • the initial value acquisition module 100 is used to acquire the current battery temperature value and the current battery state of charge value; wherein the current battery temperature value is assigned to the initial value of the battery temperature calculation value, and the current battery state of charge value is assigned to the initial value of the battery state of charge calculation value;
  • the parameter updating module 200 is used to determine the charging current calculation value and the temperature rise rate according to the battery temperature calculation value, the battery state of charge calculation value and the preset corresponding relationship if the battery state of charge calculation value is less than the target battery state of charge value; wherein the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time;
  • the calculation module 300 is used to determine the battery state-of-charge calculation value according to the charging current calculation value and the temperature rise rate when the temperature rise rate does not meet the set conditions, and to determine the theoretical remaining charging time according to the temperature rise rate; compare the battery state-of-charge calculation value with the target battery state-of-charge value, and update the battery temperature calculation value according to the temperature rise rate according to the comparison result, and re-determine the charging current calculation value and the temperature rise rate;
  • the result determination module 400 is used to determine the remaining battery charging time according to the theoretical remaining charging time when the calculated battery state of charge value is greater than or equal to the target battery state of charge value.
  • the battery remaining charging time calculation device provided in the embodiment of the present application can execute the battery remaining charging time calculation method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG8 is a schematic diagram of the structure of an electronic device provided by the present application.
  • the electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • the electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and/or required herein.
  • the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11 in communication, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13.
  • RAM 13 various programs and data required for the operation of the electronic device 10 can also be stored.
  • the processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14.
  • An input/output (I/O) interface 15 is also connected to the bus 14.
  • a number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc.
  • the communication unit 19 allows the electronic device 10 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
  • the processor 11 may be a variety of general and/or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc.
  • the processor 11 executes the various methods and processes described above, such as a method for calculating the remaining battery charging time.
  • the battery remaining charging time calculation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18.
  • part or all of the computer program may be loaded and/or installed on the electronic device 10 via the ROM 12 and/or the communication unit 19.
  • the processor 11 may be configured to execute the battery remaining charging time calculation method in any other appropriate manner (e.g., by means of firmware).
  • Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOCs systems on chips
  • CPLDs load programmable logic devices
  • These various embodiments may include: being implemented in one or more computer programs, which may be executed and/or interpret the battery remaining charge time calculation method on a programmable system including at least one programmable processor, which may be a dedicated or general programmable processor, which may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • a programmable processor which may be a dedicated or general programmable processor, which may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment.
  • a computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be a machine-readable signal medium.
  • a more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read-only memory
  • CD-ROM compact disk read-only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube), an LCD (liquid crystal display) monitor, or an OLED (organic light emitting diode display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device.
  • a display device e.g., a CRT (cathode ray tube), an LCD (liquid crystal display) monitor, or an OLED (organic light emitting diode display) monitor
  • a keyboard and a pointing device e.g., a mouse or trackball
  • Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input,
  • the systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components.
  • the components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
  • a computing system may include a client and a server.
  • the client and the server are generally remote from each other and usually interact through a communication network.
  • the client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other.
  • the server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

Landscapes

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

Abstract

A battery remaining charging time computing method and apparatus, an electronic device, and a storage medium. The computing method comprises: acquiring a current battery temperature value and a current battery state-of-charge value; determining a computed charging current value and a temperature rise rate on the basis of a computed battery temperature value, a computed battery state-of-charge value and a preset correspondence; updating the computed battery temperature value according to a step size on the basis of the temperature rise rate, and re-determining a computed charging current value and a temperature rise rate; and determining a battery remaining charging time.

Description

电池剩余充电时间计算方法、装置、电子设备及存储介质Method, device, electronic device and storage medium for calculating remaining battery charging time
本申请要求在2022年12月7日提交中国专利局、申请号为202211565327.4的中国专利申请的优先权,以上申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on December 7, 2022, with application number 202211565327.4. The entire contents of the above application are incorporated by reference into this application.
技术领域Technical Field
本申请实施例涉及电池充电技术领域,尤其涉及一种电池剩余充电时间计算方法、装置、电子设备及存储介质。The embodiments of the present application relate to the field of battery charging technology, and in particular to a method, device, electronic device and storage medium for calculating the remaining charging time of a battery.
背景技术Background technique
随着电动汽车技术的快速发展,电动汽车充电成为随处可见的现象。充电过程中剩余充电时间的显示对用户尤为重要,精准计算并显示剩余充电时间可为用户提供准确的信息,让用户合理安排和规划时间。With the rapid development of electric vehicle technology, electric vehicle charging has become a common phenomenon. The display of the remaining charging time during the charging process is particularly important to users. Accurately calculating and displaying the remaining charging time can provide users with accurate information, allowing users to arrange and plan their time reasonably.
相关技术中,剩余充电时间大多采用剩余充电容量和充电桩输出的充电电流来计算。此外,考虑到充电损耗的影响,会对计算的剩余充电时间乘以一个固定的比例系数作为最终显示的剩余充电时间。然而,在充电过程中,电池荷电状态(state of charge,SOC)会不断变化。随着SOC的增加,充电电流会减小,因此,采用现有技术中的剩余充电时间计算方法会造成显示的剩余充电时间和实际需要的剩余充电时间存在偏差。In the related art, the remaining charging time is mostly calculated using the remaining charging capacity and the charging current output by the charging pile. In addition, considering the impact of charging loss, the calculated remaining charging time is multiplied by a fixed proportional coefficient as the remaining charging time that is finally displayed. However, during the charging process, the battery state of charge (SOC) will continue to change. As the SOC increases, the charging current will decrease. Therefore, the remaining charging time calculation method in the prior art will cause a deviation between the displayed remaining charging time and the actual remaining charging time required.
发明概述SUMMARY OF THE INVENTION
本申请提供一种电池剩余充电时间计算方法、装置、电子设备及存储介质,以实现在充电过程中,准确计算并调整电池剩余充电时间,提高剩余充电时间的准确性及可靠性。The present application provides a method, device, electronic device and storage medium for calculating the remaining charging time of a battery, so as to accurately calculate and adjust the remaining charging time of the battery during the charging process, thereby improving the accuracy and reliability of the remaining charging time.
为达此目的,本申请采用以下技术方案:To achieve this goal, this application adopts the following technical solutions:
根据本申请的一方面,提供了一种电池剩余充电时间计算方法,包括:According to one aspect of the present application, a method for calculating remaining battery charging time is provided, comprising:
获取当前电池温度值和当前电池荷电状态值;其中,所述当前电池温度值赋值于电池温度计算值的初始值,所述当前电池荷电状态值赋值于电池荷电状态计算值的初始值;Acquire a current battery temperature value and a current battery state of charge value; wherein the current battery temperature value is assigned to an initial value of a battery temperature calculation value, and the current battery state of charge value is assigned to an initial value of a battery state of charge calculation value;
若所述电池荷电状态计算值小于目标电池荷电状态值,则根据所述电池温度计算值、所述电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率;其中,所述电池温度计算值的初始值和所述电池荷电状态计算值的初始值用于首次确定所述充电电流计算值和所述温升速率;If the battery state of charge calculated value is less than the target battery state of charge value, determining the charging current calculated value and the temperature rise rate according to the battery temperature calculated value, the battery state of charge calculated value and a preset corresponding relationship; wherein the initial value of the battery temperature calculated value and the initial value of the battery state of charge calculated value are used to first determine the charging current calculated value and the temperature rise rate;
在所述温升速率不满足设定条件时,根据所述充电电流计算值和所述温升速率,累加确定所述电池荷电状态计算值,并根据所述温升速率累加确定理论剩余充电时间;将所述电池荷电状态计算值与所述目标电池荷电状态值进行比较,并根据所述比较结果,依据所述温升速率按步长更新所述电池温度计算值,重新确定所述充电电流计算值和所述温升速率;When the temperature rise rate does not meet the set condition, the battery state of charge calculated value is cumulatively determined according to the charging current calculated value and the temperature rise rate, and the theoretical remaining charging time is cumulatively determined according to the temperature rise rate; the battery state of charge calculated value is compared with the target battery state of charge value, and according to the comparison result, the battery temperature calculated value is updated according to the temperature rise rate in a step size, and the charging current calculated value and the temperature rise rate are re-determined;
当所述电池荷电状态计算值大于或等于所述目标电池荷电状态值时,根据所述理论剩余充电时间确定电池剩余充电时间。When the calculated battery state of charge value is greater than or equal to the target battery state of charge value, the remaining battery charging time is determined according to the theoretical remaining charging time.
根据本申请的另一方面,提供了一种电池剩余充电时间计算装置,包括:According to another aspect of the present application, a device for calculating remaining battery charging time is provided, comprising:
初始值获取模块,用于获取当前电池温度值和当前电池荷电状态值;其中,所述当前电池温度值赋值于电池温度计算值的初始值,所述当前电池荷电状态值赋值于电池荷电状态计算值的初始值;An initial value acquisition module, used to acquire a current battery temperature value and a current battery state of charge value; wherein the current battery temperature value is assigned to an initial value of a battery temperature calculation value, and the current battery state of charge value is assigned to an initial value of a battery state of charge calculation value;
参数更新模块,用于若所述电池荷电状态计算值小于目标电池荷电状态值,则根据所述电池温度计算值、所述电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率;其中,所述电池温度计算值的初始值和所述电池荷电状态计算值的初始值用于首次确定所述充电电流计算值和所述温升速率;a parameter updating module, configured to determine a charging current calculation value and a temperature rise rate according to the battery temperature calculation value, the battery state of charge calculation value and a preset corresponding relationship if the battery state of charge calculation value is less than a target battery state of charge value; wherein the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time;
计算模块,用于在所述温升速率不满足设定条件时,根据所述充电电流计算值和所述温升速率,累加确定所述电池荷电状态计算值,并根据所述温升速率累加确定理论剩余充电时间;将所述电池荷电状态计算值与所述目标电池荷电状态值进行比较,并根据所述比较结果,依据所述温升速率按步长更新所述电池温度计算值,重新确定所述充电电流计算值和所述温升速率;a calculation module, configured to, when the temperature rise rate does not meet the set condition, cumulatively determine the battery state of charge calculation value according to the charging current calculation value and the temperature rise rate, and cumulatively determine the theoretical remaining charging time according to the temperature rise rate; compare the battery state of charge calculation value with the target battery state of charge value, and update the battery temperature calculation value according to the temperature rise rate in a step size according to the comparison result, and re-determine the charging current calculation value and the temperature rise rate;
结果确定模块,用于当所述电池荷电状态计算值大于或等于所述目标电池荷电状态值时,根据所述理论剩余充电时间确定电池剩余充电时间。The result determination module is used to determine the remaining battery charging time according to the theoretical remaining charging time when the calculated battery state of charge value is greater than or equal to the target battery state of charge value.
根据本申请的另一方面,还提供了一种电子设备,包括:According to another aspect of the present application, an electronic device is also provided, including:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的电池剩余充电时间计算方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for calculating the remaining battery charging time as described in the first aspect.
根据本申请的另一方面,还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面所述的电池剩余充电时间计算方法。According to another aspect of the present application, a storage medium containing computer executable instructions is also provided. When the computer executable instructions are executed by a computer processor, they are used to execute the battery remaining charging time calculation method as described in the first aspect.
应当理解,本部分所描述的内容并非旨在标识本申请的实施例的关键或重要特征,也不用于限制本申请的范围。本申请的其它特征将通过以下的说明书而变得容易理解。It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
有益效果Beneficial Effects
本申请的有益效果:Beneficial effects of this application:
本申请实施例提供的电池剩余充电时间计算方法,通过获取当前电池温度值和当前电池荷电状态值,分别作为迭代计算过程中的电池温度计算值的初始值和电池荷电状态计算值的初始值。若判断电池荷电状态计算值小于目标电池荷电状态值,则根据电池温度计算值、电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率。电池温度计算值的初始值和电池荷电状态计算值的初始值用于首次确定充电电流计算值和温升速率。在温升速率不满足设定条件时,根据充电电流计算值和温升速率累加确定电池荷电状态计算值,根据温升速率累加确定理论剩余充电时间,并判断电池荷电状态计算值与目标电池荷电状态值的大小关系。若电池荷电状态计算值仍小于目标电池荷电状态值,则根据温升速率更新电池温度计算值,重新确定充电电流计算值和温升速率,直至电池荷电状态计算值大于或等于目标电池荷电状态值。采用本申请实施例提供的电池剩余充电时间计算方法,可准确计算电池剩余充电时间,提高显示的剩余充电时间的准确性及可靠性,便于用户合理安排与规划时间。The battery remaining charging time calculation method provided in the embodiment of the present application obtains the current battery temperature value and the current battery state of charge value as the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value in the iterative calculation process, respectively. If it is determined that the battery state of charge calculation value is less than the target battery state of charge value, the charging current calculation value and the temperature rise rate are determined according to the battery temperature calculation value, the battery state of charge calculation value and the preset corresponding relationship. The initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time. When the temperature rise rate does not meet the set conditions, the battery state of charge calculation value is determined according to the cumulative addition of the charging current calculation value and the temperature rise rate, the theoretical remaining charging time is determined according to the cumulative addition of the temperature rise rate, and the size relationship between the battery state of charge calculation value and the target battery state of charge value is determined. If the battery state of charge calculation value is still less than the target battery state of charge value, the battery temperature calculation value is updated according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined until the battery state of charge calculation value is greater than or equal to the target battery state of charge value. By adopting the battery remaining charging time calculation method provided in the embodiment of the present application, the battery remaining charging time can be accurately calculated, the accuracy and reliability of the displayed remaining charging time can be improved, and it is convenient for users to arrange and plan their time reasonably.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
图1是根据本申请实施例提供的一种电池剩余充电时间计算方法的流程示意图;FIG1 is a schematic flow chart of a method for calculating the remaining charging time of a battery according to an embodiment of the present application;
图2是根据本申请实施例提供的又一种电池剩余充电时间计算方法的流程示意图;FIG2 is a flow chart of another method for calculating the remaining battery charging time according to an embodiment of the present application;
图3是根据本申请实施例提供的又一种电池剩余充电时间计算方法的流程示意图;FIG3 is a flow chart of another method for calculating the remaining battery charging time according to an embodiment of the present application;
图4是根据本申请实施例提供的又一种电池剩余充电时间计算方法中步骤S310的具体流程示意图;FIG4 is a schematic diagram of a specific flow chart of step S310 in another method for calculating the remaining battery charging time according to an embodiment of the present application;
图5是根据本申请实施例提供的又一种电池剩余充电时间计算方法的流程示意图;5 is a schematic diagram of a flow chart of another method for calculating the remaining battery charging time according to an embodiment of the present application;
图6是根据本申请实施例提供的又一种电池剩余充电时间计算方法的流程示意图;6 is a flow chart of another method for calculating the remaining battery charging time according to an embodiment of the present application;
图7是根据本申请实施例提供的一种电池剩余充电时间计算装置的结构示意图;7 is a schematic diagram of the structure of a device for calculating the remaining charging time of a battery according to an embodiment of the present application;
图8是根据本申请实施例提供的一种电子设备的结构示意图。FIG8 is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
本申请实施例提供一种电池剩余充电时间计算方法。图1为本申请实施例提供的一种电池剩余充电时间计算方法的流程示意图,本实施例可适用于计算电动汽车的剩余充电时间的情况,该方法可以由电池剩余充电时间计算装置来执行,具体包括如下步骤:The present application embodiment provides a method for calculating the remaining charging time of a battery. FIG1 is a flow chart of a method for calculating the remaining charging time of a battery provided in the present application embodiment. The present embodiment can be applied to the case of calculating the remaining charging time of an electric vehicle. The method can be executed by a battery remaining charging time calculation device, and specifically includes the following steps:
S110、获取当前电池温度值和当前电池荷电状态值;其中,当前电池温度值赋值于电池温度计算值的初始值,当前电池荷电状态值赋值于电池荷电状态计算值的初始值。S110, obtaining a current battery temperature value and a current battery state of charge value; wherein the current battery temperature value is assigned to an initial value of a battery temperature calculation value, and the current battery state of charge value is assigned to an initial value of a battery state of charge calculation value.
具体地,当前电池荷电状态值是车辆仪表显示的电池荷电状态值,当前电池温度值是当前电池模组的温度,可通过设置于电池模组的温度传感器获取得到。电池温度计算值是在计算剩余充电时间过程中采用的电池温度参数,电池荷电状态计算值是在计算剩余充电时间过程中采用的电池荷电状态参数。Specifically, the current battery state of charge value is the battery state of charge value displayed by the vehicle instrument, and the current battery temperature value is the temperature of the current battery module, which can be obtained by the temperature sensor set in the battery module. The battery temperature calculation value is the battery temperature parameter used in the calculation of the remaining charging time, and the battery state of charge calculation value is the battery state of charge parameter used in the calculation of the remaining charging time.
在获取当前电池温度值时,需采集电池模组的多个温度点,并将多个温度进行比较。由于电池模组的最佳充电温度范围为15~45℃,即当电池模组的温度在最佳充电温度范围内时,充电电流较大;当电池模组的温度在最佳温度范围之外时,则充电电流较小。因此,为保证以较大的充电电流为电池充电,在确定电池模组的当前电池温度值时,需以限制充电电流大小的温度点作为当前电池温度值。示例性地,若电池模组的最低温度大于或等于20℃,则将多个温度点中的最大温度确定为当前电池温度值;若电池模组的最低温度小于20℃,则将多个温度点中的最小温度确定为当前电池温度值。When obtaining the current battery temperature value, it is necessary to collect multiple temperature points of the battery module and compare the multiple temperatures. Since the optimal charging temperature range of the battery module is 15-45°C, that is, when the temperature of the battery module is within the optimal charging temperature range, the charging current is large; when the temperature of the battery module is outside the optimal temperature range, the charging current is small. Therefore, in order to ensure that the battery is charged with a larger charging current, when determining the current battery temperature value of the battery module, the temperature point that limits the charging current size is used as the current battery temperature value. For example, if the lowest temperature of the battery module is greater than or equal to 20°C, the maximum temperature among the multiple temperature points is determined as the current battery temperature value; if the lowest temperature of the battery module is less than 20°C, the minimum temperature among the multiple temperature points is determined as the current battery temperature value.
在进行电池剩余充电时间的计算时,获取当前电池温度值作为计算过程中的电池温度计算值的初始值,获取当前电池荷电状态值作为计算过程中的电池荷电状态计算值的初始值,以进行后续计算,确定剩余充电过程的电池剩余充电时间。When calculating the remaining battery charging time, the current battery temperature value is obtained as the initial value of the battery temperature calculation value in the calculation process, and the current battery state of charge value is obtained as the initial value of the battery state of charge calculation value in the calculation process, so as to perform subsequent calculations and determine the remaining battery charging time of the remaining charging process.
S120、若电池荷电状态计算值小于目标电池荷电状态值,则根据电池温度计算值、电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率;其中,电池温度计算值的初始值和电池荷电状态计算值的初始值用于首次确定充电电流计算值和温升速率。S120. If the calculated battery state of charge value is less than the target battery state of charge value, determine the calculated charging current value and the temperature rise rate according to the calculated battery temperature value, the calculated battery state of charge value and a preset corresponding relationship; wherein the initial value of the calculated battery temperature value and the initial value of the calculated battery state of charge value are used to determine the calculated charging current value and the temperature rise rate for the first time.
具体地,目标电池荷电状态值是用户实际所需的电池荷电状态值,可以由用户自行设定,并且在车辆的整个充电过程中可由用户进行更改。Specifically, the target battery state of charge value is a battery state of charge value actually required by a user, can be set by the user, and can be changed by the user during the entire charging process of the vehicle.
在剩余充电时间的计算过程中,若判断得到电池荷电状态计算值小于目标电池荷电状态值,表明此时计算得到的剩余充电时间不足使电池荷电状态值达到目标电池荷电状态值。因此,采用当前电池温度值赋值的电池温度计算值的初始值和当前电池荷电状态值赋值的电池荷电状态计算值的初始值,进行首次计算,得到电池荷电状态计算值。若计算得到的电池荷电状态值小于目标电池荷电状态值,则需多次迭代计算剩余充电时间,直至电池荷电状态计算值大于或等于目标电池荷电状态值,则停止迭代计算。During the calculation of the remaining charging time, if it is determined that the calculated battery state of charge value is less than the target battery state of charge value, it indicates that the remaining charging time calculated at this time is insufficient for the battery state of charge value to reach the target battery state of charge value. Therefore, the initial value of the battery temperature calculation value assigned by the current battery temperature value and the initial value of the battery state of charge calculation value assigned by the current battery state of charge value are used to perform the first calculation to obtain the battery state of charge calculation value. If the calculated battery state of charge value is less than the target battery state of charge value, it is necessary to iterate the remaining charging time multiple times until the battery state of charge calculation value is greater than or equal to the target battery state of charge value, and then the iterative calculation is stopped.
充电电流计算值是剩余充电时间计算过程中采用的充电电流值。根据电池温度计算值的初始值,通过查询相应的预设对应关系,首次确定充电电流值。将首次确定的充电电流值与充电桩输出的最大充电电流值进行比较,选取相对较小的充电电流作为充电电流计算值。其中,充电桩输出的最大充电电流值可以通过CML报文或者交流枪报文获取。CML报文包括最高输出电压、最低输出电压、最大输出电流以及最小输出电流的信息,为国标规定的电压或电流标准值。交流枪报文包括的电压或电流信息是根据不同充电桩的型号或生产厂家自行设定的电压或电流输出值。The calculated charging current value is the charging current value used in the calculation process of the remaining charging time. According to the initial value of the calculated battery temperature value, the charging current value is determined for the first time by querying the corresponding preset correspondence. The charging current value determined for the first time is compared with the maximum charging current value output by the charging pile, and a relatively small charging current is selected as the calculated charging current value. Among them, the maximum charging current value output by the charging pile can be obtained through a CML message or an AC gun message. The CML message includes information on the maximum output voltage, the minimum output voltage, the maximum output current, and the minimum output current, which are the standard values of voltage or current specified by the national standard. The voltage or current information included in the AC gun message is the voltage or current output value set by the model or manufacturer of different charging piles.
在充电电流计算值确定后,根据相应的预设对应关系可确定电池当前的温升速率。其中,温升速率表示电池温度的变化速率。After the calculated value of the charging current is determined, the current temperature rise rate of the battery can be determined according to the corresponding preset corresponding relationship, wherein the temperature rise rate represents the rate of change of the battery temperature.
S130、在温升速率不满足设定条件时,根据充电电流计算值和温升速率,累加确定电池荷电状态计算值,并根据温升速率累加确定理论剩余充电时间;将电池荷电状态计算值与目标电池荷电状态值进行比较,并根据比较结果,依据温升速率按步长更新电池温度计算值,重新确定充电电流计算值和温升速率。S130. When the temperature rise rate does not meet the set conditions, the battery state of charge calculation value is determined by accumulating the charging current calculation value and the temperature rise rate, and the theoretical remaining charging time is determined by accumulating the temperature rise rate; the battery state of charge calculation value is compared with the target battery state of charge value, and based on the comparison result, the battery temperature calculation value is updated according to the step size according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined.
具体地,温升速率的设定条件为电池温度不发生变化的条件,理论剩余充电时间是经过一次计算后得到的剩余充电时间。Specifically, the setting condition of the temperature rise rate is the condition that the battery temperature does not change, and the theoretical remaining charging time is the remaining charging time obtained after one calculation.
在温升速率不满足设定条件时,充电过程中的电池温度会发生变化,则充电电流也会发生变化。因此,根据充电电流计算值和温升速率累加得到电池荷电状态计算值,根据当前的温升速率确定此次计算得到的理论剩余充电时间,并将电池荷电状态计算值与目标电池荷电状态值进行比较,判断电池荷电状态计算值与目标电池荷电状态值的大小关系。When the temperature rise rate does not meet the set conditions, the battery temperature will change during the charging process, and the charging current will also change. Therefore, the battery state of charge calculation value is obtained by accumulating the charging current calculation value and the temperature rise rate, and the theoretical remaining charging time calculated this time is determined according to the current temperature rise rate, and the battery state of charge calculation value is compared with the target battery state of charge value to determine the size relationship between the battery state of charge calculation value and the target battery state of charge value.
若电池荷电状态计算值仍小于目标电池荷电状态值,则根据温升速率在当前电池温度计算值的基础上累加步长值,得到下一次迭代过程的电池温度计算值,并再次由步骤S120开始执行,重新确定充电电流计算值和温升速率,从而确定电池荷电状态计算值和理论剩余充电时间。If the calculated battery state of charge value is still less than the target battery state of charge value, the step value is accumulated based on the current calculated battery temperature value according to the temperature rise rate to obtain the calculated battery temperature value for the next iteration process, and execution is started again from step S120 to redetermine the calculated charging current value and the temperature rise rate, thereby determining the calculated battery state of charge value and the theoretical remaining charging time.
S140、当电池荷电状态计算值大于或等于目标电池荷电状态值时,根据理论剩余充电时间确定电池剩余充电时间。S140: When the calculated battery state of charge value is greater than or equal to the target battery state of charge value, determine the remaining battery charging time according to the theoretical remaining charging time.
具体地,当多次迭代计算至电池荷电状态计算值大于或等于目标电池荷电状态值时,则将最后一次计算得到的理论剩余充电时间确定为电池剩余充电时间,并显示至车辆仪表,以使用户知悉。Specifically, when the battery state of charge calculation value is greater than or equal to the target battery state of charge value after multiple iterations, the theoretical remaining charging time obtained by the last calculation is determined as the remaining battery charging time and displayed on the vehicle instrument to inform the user.
本实施例提供的电池剩余充电时间计算方法,通过获取当前电池温度值和当前电池荷电状态值,分别作为迭代计算过程中的电池温度计算值的初始值和电池荷电状态计算值的初始值。若判断电池荷电状态计算值小于目标电池荷电状态值,则根据电池温度计算值、电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率。电池温度计算值的初始值和电池荷电状态计算值的初始值用于首次确定充电电流计算值和温升速率。在温升速率不满足设定条件时,根据充电电流计算值和温升速率累加确定电池荷电状态计算值,根据温升速率累加确定理论剩余充电时间,并判断电池荷电状态计算值与目标电池荷电状态值的大小关系。若电池荷电状态计算值仍小于目标电池荷电状态值,则根据温升速率更新电池温度计算值,重新确定充电电流计算值和温升速率,直至电池荷电状态计算值大于或等于目标电池荷电状态值。采用本实施例提供的电池剩余充电时间计算方法,可准确计算电池剩余充电时间,提高显示的剩余充电时间的准确性及可靠性,便于用户合理安排与规划时间。The method for calculating the remaining charging time of a battery provided in this embodiment obtains the current battery temperature value and the current battery state of charge value as the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value in the iterative calculation process, respectively. If it is determined that the battery state of charge calculation value is less than the target battery state of charge value, the charging current calculation value and the temperature rise rate are determined according to the battery temperature calculation value, the battery state of charge calculation value and the preset corresponding relationship. The initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time. When the temperature rise rate does not meet the set conditions, the battery state of charge calculation value is determined according to the cumulative addition of the charging current calculation value and the temperature rise rate, the theoretical remaining charging time is determined according to the cumulative addition of the temperature rise rate, and the size relationship between the battery state of charge calculation value and the target battery state of charge value is determined. If the battery state of charge calculation value is still less than the target battery state of charge value, the battery temperature calculation value is updated according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined until the battery state of charge calculation value is greater than or equal to the target battery state of charge value. By using the battery remaining charging time calculation method provided in this embodiment, the battery remaining charging time can be accurately calculated, the accuracy and reliability of the displayed remaining charging time can be improved, and it is convenient for users to arrange and plan their time reasonably.
可选地,图2是本申请实施例提供的又一种电池剩余充电时间计算方法的流程示意图。在上述实施例的基础上,如图2所示,该电池剩余充电时间计算方法,包括:Optionally, FIG2 is a flow chart of another method for calculating the remaining battery charging time provided in an embodiment of the present application. Based on the above embodiment, as shown in FIG2, the method for calculating the remaining battery charging time includes:
S210、获取当前电池温度值和当前电池荷电状态值。S210: Obtain a current battery temperature value and a current battery state of charge value.
S220、若电池荷电状态计算值小于目标电池荷电状态值,则根据电池温度计算值、电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率;其中,电池温度计算值的初始值和电池荷电状态计算值的初始值用于首次确定充电电流计算值和温升速率。S220. If the calculated battery state of charge value is less than the target battery state of charge value, determine the calculated charging current value and the temperature rise rate according to the calculated battery temperature value, the calculated battery state of charge value and a preset corresponding relationship; wherein the initial value of the calculated battery temperature value and the initial value of the calculated battery state of charge value are used to determine the calculated charging current value and the temperature rise rate for the first time.
S230、当温升速率满足设定条件,根据目标电池荷电状态值、电池荷电状态计算值和充电电流计算值,确定理论剩余充电时间,并将电池荷电状态计算值赋值为目标电池荷电状态值。S230: When the temperature rise rate meets the set conditions, the theoretical remaining charging time is determined according to the target battery state of charge value, the battery state of charge calculation value and the charging current calculation value, and the battery state of charge calculation value is assigned as the target battery state of charge value.
具体地,若温升速率满足设定条件,表明电池温度不发生变化,则充电电流也不发生变化。因此,根据目标电池荷电状态值、电池荷电状态计算值和充电电流计算值,采用以下计算公式可直接计算得到理论剩余充电时间,公式可表示为:Specifically, if the temperature rise rate meets the set conditions, indicating that the battery temperature does not change, the charging current does not change. Therefore, according to the target battery state of charge value, the battery state of charge calculated value and the charging current calculated value, the following calculation formula can be used to directly calculate the theoretical remaining charging time, which can be expressed as:
理论剩余充电时间=电池容量×(目标电池荷电状态值-电池荷电状态计算值)/充电电流计算值Theoretical remaining charging time = battery capacity × (target battery state of charge value - battery state of charge calculated value) / charging current calculated value
其中,电池容量表示电池处于满电状态时的总容量,电池容量参数可由电池铭牌获取。The battery capacity indicates the total capacity of the battery when it is fully charged. The battery capacity parameters can be obtained from the battery nameplate.
S240、在温升速率不满足设定条件时,根据充电电流计算值和温升速率,累加确定电池荷电状态计算值,并根据温升速率累加确定理论剩余充电时间;将电池荷电状态计算值与目标电池荷电状态值进行比较,并根据比较结果,依据温升速率按步长更新电池温度计算值,重新确定充电电流计算值和温升速率。S240. When the temperature rise rate does not meet the set conditions, the battery state of charge calculation value is determined by accumulating the charging current calculation value and the temperature rise rate, and the theoretical remaining charging time is determined by accumulating the temperature rise rate; the battery state of charge calculation value is compared with the target battery state of charge value, and based on the comparison result, the battery temperature calculation value is updated according to the step size according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined.
S250、当电池荷电状态计算值大于或等于目标电池荷电状态值时,根据理论剩余充电时间确定电池剩余充电时间。S250: When the calculated battery state of charge value is greater than or equal to the target battery state of charge value, determine the remaining battery charging time according to the theoretical remaining charging time.
可选地,图3是本申请实施例提供的又一种电池剩余充电时间计算方法的流程示意图。在上述各实施例的基础上,如图3所示,该电池剩余充电时间计算方法,包括:Optionally, FIG3 is a flow chart of another method for calculating the remaining battery charging time provided in an embodiment of the present application. Based on the above embodiments, as shown in FIG3, the method for calculating the remaining battery charging time includes:
S310、根据当前电池温度值、当前电池荷电状态值和目标电池荷电状态值中的至少一项,判断是否更新电池剩余充电时间。S310: Determine whether to update the remaining battery charging time according to at least one of the current battery temperature value, the current battery state of charge value, and the target battery state of charge value.
具体地,在上一次更新电池剩余充电时间后,若当前电池温度值、当前电池荷电状态值和目标电池荷电状态值保持不变,则上次更新显示的电池剩余充电时间仍具有较高的准确性。若当前电池温度值、当前电池荷电状态值和目标电池荷电状态值中的至少一项发生变化,则此时显示的电池剩余充电时间的准确性较低,需重新计算,并更新电池剩余充电时间。Specifically, after the last update of the remaining battery charging time, if the current battery temperature value, the current battery state of charge value, and the target battery state of charge value remain unchanged, the remaining battery charging time displayed in the last update still has a high accuracy. If at least one of the current battery temperature value, the current battery state of charge value, and the target battery state of charge value changes, the accuracy of the remaining battery charging time displayed at this time is low, and the remaining battery charging time needs to be recalculated and updated.
S320、获取当前电池温度值和当前电池荷电状态值。S320: Obtain a current battery temperature value and a current battery state of charge value.
S330、若电池荷电状态计算值小于目标电池荷电状态值,则根据电池温度计算值、电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率;其中,电池温度计算值的初始值和电池荷电状态计算值的初始值用于首次确定充电电流计算值和温升速率。S330. If the calculated battery state of charge value is less than the target battery state of charge value, determine the calculated charging current value and the temperature rise rate according to the calculated battery temperature value, the calculated battery state of charge value and a preset corresponding relationship; wherein the initial value of the calculated battery temperature value and the initial value of the calculated battery state of charge value are used to determine the calculated charging current value and the temperature rise rate for the first time.
S340、当温升速率满足设定条件,根据目标电池荷电状态值、电池荷电状态计算值和充电电流计算值,确定理论剩余充电时间,并将电池荷电状态计算值赋值为目标电池荷电状态值。S340: When the temperature rise rate meets the set conditions, the theoretical remaining charging time is determined according to the target battery state of charge value, the battery state of charge calculation value and the charging current calculation value, and the battery state of charge calculation value is assigned as the target battery state of charge value.
S350、在温升速率不满足设定条件时,根据充电电流计算值和温升速率,累加确定电池荷电状态计算值,并根据温升速率累加确定理论剩余充电时间;将电池荷电状态计算值与目标电池荷电状态值进行比较,并根据比较结果,依据温升速率按步长更新电池温度计算值,重新确定充电电流计算值和温升速率。S350. When the temperature rise rate does not meet the set conditions, the battery state of charge calculation value is determined by accumulating the charging current calculation value and the temperature rise rate, and the theoretical remaining charging time is determined by accumulating the temperature rise rate; the battery state of charge calculation value is compared with the target battery state of charge value, and based on the comparison result, the battery temperature calculation value is updated in steps according to the temperature rise rate, and the charging current calculation value and the temperature rise rate are re-determined.
S360、当电池荷电状态计算值大于或等于目标电池荷电状态值时,根据理论剩余充电时间确定电池剩余充电时间。S360: When the calculated battery state of charge value is greater than or equal to the target battery state of charge value, determine the remaining battery charging time according to the theoretical remaining charging time.
可选地,图4是本申请实施例提供的又一种电池剩余充电时间计算方法中步骤S310的具体流程示意图。在上述各实施例的基础上,如图4所示,步骤S310包括:Optionally, FIG4 is a specific flow chart of step S310 in another method for calculating the remaining battery charging time provided in an embodiment of the present application. Based on the above embodiments, as shown in FIG4, step S310 includes:
S3101、以预设时间周期检测并判断当前电池温度值、当前电池荷电状态值以及目标电池荷电状态值是否发生变化。S3101, detecting and determining whether the current battery temperature value, the current battery state of charge value, and the target battery state of charge value have changed in a preset time period.
具体地,在更新车辆仪表显示的电池剩余充电时间后,以预设时间周期对当前电池温度值、当前电池荷电状态值和目标电池荷电状态值进行检测,并对检测结果进行判断,以确定当前电池温度值、当前电池荷电状态值和目标电池荷电状态值是否发生变化。示例性地,预设时间周期可以是1秒,在此不作限制。Specifically, after the remaining battery charging time displayed on the vehicle instrument is updated, the current battery temperature value, the current battery state of charge value, and the target battery state of charge value are detected at a preset time period, and the detection result is judged to determine whether the current battery temperature value, the current battery state of charge value, and the target battery state of charge value have changed. Exemplarily, the preset time period can be 1 second, which is not limited here.
S3102、若当前电池温度值、当前电池荷电状态值和目标电池荷电状态值中的至少一项发生变化,则生成判断结果,并根据判断结果更新电池剩余充电时间。S3102: If at least one of the current battery temperature value, the current battery state of charge value, and the target battery state of charge value changes, a judgment result is generated, and the remaining battery charging time is updated according to the judgment result.
具体地,在车辆电池充电过程中,当前电池荷电状态值逐渐增加,当前电池温度值也会发生变化。当以预设时间周期检测到当前电池温度值或当前电池荷电状态值发生变化时,则判断此时仪表显示的剩余充电时间的准确性较低,生成判断结果,并重新更新电池剩余充电时间。Specifically, during the vehicle battery charging process, the current battery state of charge value gradually increases, and the current battery temperature value also changes. When the current battery temperature value or the current battery state of charge value changes at a preset time period, it is determined that the accuracy of the remaining charging time displayed by the instrument at this time is low, a judgment result is generated, and the remaining battery charging time is re-updated.
此外,目标电池荷电状态值可由用户根据实际情况自行设定,因此,在车辆电池充电过程中,目标电池荷电状态值也会发生变化。当检测到目标电池荷电状态值发生变化时,生成判断结果。同样地,根据判断结果,需要重新计算电池剩余充电时间,并将更新后的电池剩余充电时间显示至仪表。In addition, the target battery state of charge value can be set by the user according to the actual situation. Therefore, during the vehicle battery charging process, the target battery state of charge value will also change. When a change in the target battery state of charge value is detected, a judgment result is generated. Similarly, according to the judgment result, the remaining battery charging time needs to be recalculated and the updated remaining battery charging time is displayed on the instrument.
可选地,在上述各实施例的基础上,依据温升速率按步长更新电池温度计算值,包括:Optionally, based on the above embodiments, updating the calculated battery temperature value in steps according to the temperature rise rate includes:
当温升速率大于0时,步长为1℃;When the temperature rise rate is greater than 0, the step size is 1°C;
当温升速率小于0时,步长为-1℃。When the temperature rise rate is less than 0, the step size is -1°C.
具体地,在本次迭代计算理论剩余充电时间完成后,判断得出电池荷电状态计算值仍小于目标电池荷电状态值,则需继续进行下一次迭代计算。此时,需根据本次迭代计算过程采用的温升速率,按照一定的步长对下一次迭代计算过程中的电池温度计算值参数进行更新。示例性地,若本次迭代过程采用的温升速率大于0,则下次迭代过程采用的电池温度计算值累加1℃,即增加1℃;若本次迭代过程采用的温升速率小于0,则下次迭代过程采用的电池温度计算值累加-1℃,即降低1℃。表1是本实施例提供的温升速率表,如表1所示。Specifically, after the theoretical remaining charging time is calculated in this iteration, if it is determined that the calculated value of the battery state of charge is still less than the target battery state of charge value, it is necessary to continue the next iteration. At this time, it is necessary to update the battery temperature calculation value parameters in the next iteration according to a certain step size based on the temperature rise rate used in this iteration. Exemplarily, if the temperature rise rate used in this iteration is greater than 0, the battery temperature calculation value used in the next iteration is accumulated by 1°C, that is, it increases by 1°C; if the temperature rise rate used in this iteration is less than 0, the battery temperature calculation value used in the next iteration is accumulated by -1°C, that is, it decreases by 1°C. Table 1 is a temperature rise rate table provided in this embodiment, as shown in Table 1.
表1 温升速率表Table 1 Temperature rise rate table
示例性地,以本次迭代计算的电池温度计算值为22℃,且充电电流计算值为1.2C为例,根据上述表1可知,本次迭代过程的温升速率为95s/℃。由于温升速率大于0,则下次迭代过程的电池温度计算值为23℃。For example, the calculated value of the battery temperature in this iteration is 22°C, and the calculated value of the charging current is 1.2C. According to Table 1 above, the temperature rise rate in this iteration is 95s/°C. Since the temperature rise rate is greater than 0, the calculated value of the battery temperature in the next iteration is 23°C.
需要说明的是,由表1可知,当温升速率取值1800时,表示温升速率满足设定条件,温度不会发生变化;当温升速率不等于1800时,表示温升速率不满足设定条件。其中,1800仅为温升速率满足设定条件的一个标志,不具有实际意义,也可设定其他数字作为温升速率的设定条件,例如:3600。It should be noted that, as can be seen from Table 1, when the temperature rise rate is 1800, it means that the temperature rise rate meets the set conditions and the temperature will not change; when the temperature rise rate is not equal to 1800, it means that the temperature rise rate does not meet the set conditions. Among them, 1800 is only a sign that the temperature rise rate meets the set conditions and has no practical significance. Other numbers can also be set as the setting conditions of the temperature rise rate, for example: 3600.
可选地,图5是本申请实施例提供的又一种电池剩余充电时间计算方法的流程示意图。在上述各实施例的基础上,预设对应关系包括:第一预设关系表和第二预设关系表;如图5所示,根据电池温度计算值、电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率,包括:Optionally, FIG5 is a flowchart of another method for calculating the remaining battery charging time provided by an embodiment of the present application. Based on the above embodiments, the preset corresponding relationship includes: a first preset relationship table and a second preset relationship table; as shown in FIG5, the charging current calculation value and the temperature rise rate are determined according to the battery temperature calculation value, the battery state of charge calculation value and the preset corresponding relationship, including:
S1201、根据电池温度计算值、电池荷电状态计算值和第一预设关系表,确定充电电流计算值。S1201. Determine a charging current calculation value according to a battery temperature calculation value, a battery state of charge calculation value, and a first preset relationship table.
具体地,第一预设关系表是表示电池温度计算值、电池荷电状态计算值与充电电流计算值之间关系的二维表格。当电池温度计算值和电池荷电状态计算值确定后,即可通过第一预设关系表对应确定一个充电电流计算值。Specifically, the first preset relationship table is a two-dimensional table representing the relationship between the battery temperature calculation value, the battery state of charge calculation value and the charging current calculation value. Once the battery temperature calculation value and the battery state of charge calculation value are determined, a charging current calculation value can be determined correspondingly through the first preset relationship table.
S1202、根据电池温度计算值、充电电流计算值和第二预设关系表,确定温升速率。S1202: Determine a temperature rise rate according to a calculated value of battery temperature, a calculated value of charging current, and a second preset relationship table.
具体地,第二预设关系表是表示电池温度计算值、充电电流计算值和温升速率之间关系的二维表格。当电池温度计算值确定后,根据步骤S1201中确定的充电电流计算值以及第二预设关系表,即可对应确定一个温升速率。Specifically, the second preset relationship table is a two-dimensional table representing the relationship between the battery temperature calculation value, the charging current calculation value and the temperature rise rate. When the battery temperature calculation value is determined, a corresponding temperature rise rate can be determined according to the charging current calculation value determined in step S1201 and the second preset relationship table.
可选地,图6是本申请实施例提供的又一种电池剩余充电时间计算方法的流程示意图。在上述各实施例的基础上,如图6所示,根据理论剩余充电时间确定电池剩余充电时间,包括:Optionally, FIG6 is a flowchart of another method for calculating the remaining battery charging time provided in an embodiment of the present application. Based on the above embodiments, as shown in FIG6 , determining the remaining battery charging time according to the theoretical remaining charging time includes:
S1401、根据最后一次更新的电池剩余充电时间和本次累加确定的理论剩余充电时间,确定时间曲线下降系数。S1401. Determine a time curve drop coefficient according to the last updated remaining battery charging time and the theoretical remaining charging time determined by this accumulation.
具体地,时间曲线下降系数是对最后一次更新的电池剩余充电时间进行处理的系数,以平滑显示本次计算得到的理论剩余充电时间。在计算得到理论剩余充电时间后,需判断是否为首次进行剩余充电时间计算。若是,表示本次计算得到的理论剩余充电时间为充电过程初期的剩余充电时间,则将本次的理论剩余充电时间作为显示的电池剩余充电时间。将最后一次显示的电池剩余充电时间与通过本次迭代计算得到的理论剩余充电时间作差,根据差值确定时间曲线下降系数。Specifically, the time curve descent coefficient is a coefficient for processing the last updated battery remaining charging time to smoothly display the theoretical remaining charging time calculated this time. After calculating the theoretical remaining charging time, it is necessary to determine whether it is the first time to calculate the remaining charging time. If so, it means that the theoretical remaining charging time calculated this time is the remaining charging time at the beginning of the charging process, and the theoretical remaining charging time of this time is used as the displayed battery remaining charging time. The difference between the last displayed battery remaining charging time and the theoretical remaining charging time calculated by this iteration is subtracted, and the time curve descent coefficient is determined according to the difference.
S1402、根据理论剩余充电时间和时间曲线下降系数确定电池剩余充电时间。S1402: Determine the remaining charging time of the battery according to the theoretical remaining charging time and the time curve drop coefficient.
具体地,在充电过程中检测到当前电池温度值、当前电池荷电状态值和目标电池荷电状态值中的至少一项发生变化时,以本次迭代计算得到的理论剩余充电时间为基准,根据时间曲线下降系数对最近一次显示的电池剩余充电时间进行处理,从而确定电池剩余充电时间,使最近一次显示的电池剩余充电时间平滑地变化至电池剩余充电时间,避免电池剩余充电时间在更新显示过程中出现跳变,以提升用户的观感体验。Specifically, when a change is detected in at least one of the current battery temperature value, the current battery state of charge value and the target battery state of charge value during the charging process, the theoretical remaining charging time obtained by this iterative calculation is used as a benchmark, and the most recently displayed remaining battery charging time is processed according to the time curve descent coefficient to determine the remaining battery charging time. The most recently displayed remaining battery charging time changes smoothly to the remaining battery charging time, avoiding jumps in the remaining battery charging time during the display update process, thereby improving the user's viewing experience.
本申请实施例还提供一种电池剩余充电时间计算装置。图7是本申请实施例提供的一种电池剩余充电时间计算装置的结构示意图。如图7所示,该电池剩余充电时间计算装置001,包括:The present application also provides a battery remaining charging time calculation device. FIG7 is a structural diagram of a battery remaining charging time calculation device provided by the present application. As shown in FIG7, the battery remaining charging time calculation device 001 includes:
初始值获取模块100,用于获取当前电池温度值和当前电池荷电状态值;其中,当前电池温度值赋值于电池温度计算值的初始值,当前电池荷电状态值赋值于电池荷电状态计算值的初始值;The initial value acquisition module 100 is used to acquire the current battery temperature value and the current battery state of charge value; wherein the current battery temperature value is assigned to the initial value of the battery temperature calculation value, and the current battery state of charge value is assigned to the initial value of the battery state of charge calculation value;
参数更新模块200,用于若电池荷电状态计算值小于目标电池荷电状态值,则根据电池温度计算值、电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率;其中,电池温度计算值的初始值和电池荷电状态计算值的初始值用于首次确定充电电流计算值和温升速率;The parameter updating module 200 is used to determine the charging current calculation value and the temperature rise rate according to the battery temperature calculation value, the battery state of charge calculation value and the preset corresponding relationship if the battery state of charge calculation value is less than the target battery state of charge value; wherein the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time;
计算模块300,用于在温升速率不满足设定条件时,根据充电电流计算值和温升速率,累加确定电池荷电状态计算值,并根据温升速率累加确定理论剩余充电时间;将电池荷电状态计算值与目标电池荷电状态值进行比较,并根据比较结果,依据温升速率按步长更新电池温度计算值,重新确定充电电流计算值和温升速率;The calculation module 300 is used to determine the battery state-of-charge calculation value according to the charging current calculation value and the temperature rise rate when the temperature rise rate does not meet the set conditions, and to determine the theoretical remaining charging time according to the temperature rise rate; compare the battery state-of-charge calculation value with the target battery state-of-charge value, and update the battery temperature calculation value according to the temperature rise rate according to the comparison result, and re-determine the charging current calculation value and the temperature rise rate;
结果确定模块400,用于当电池荷电状态计算值大于或等于目标电池荷电状态值时,根据理论剩余充电时间确定电池剩余充电时间。The result determination module 400 is used to determine the remaining battery charging time according to the theoretical remaining charging time when the calculated battery state of charge value is greater than or equal to the target battery state of charge value.
本申请实施例所提供的电池剩余充电时间计算装置可执行本申请任意实施例所提供的电池剩余充电时间计算方法,具备执行方法相应的功能模块和有益效果。The battery remaining charging time calculation device provided in the embodiment of the present application can execute the battery remaining charging time calculation method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
本申请实施例还提供了一种电子设备。图8为本申请实施例提供的一种电子设备的结构示意图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。The present application also provides an electronic device. FIG8 is a schematic diagram of the structure of an electronic device provided by the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and/or required herein.
如图8所示,电子设备10包括至少一个处理器11,以及与至少一个处理器11通信连接的存储器,如只读存储器(ROM)12、随机访问存储器(RAM)13等,其中,存储器存储有可被至少一个处理器执行的计算机程序,处理器11可以根据存储在只读存储器(ROM)12中的计算机程序或者从存储单元18加载到随机访问存储器(RAM)13中的计算机程序,来执行各种适当的动作和处理。在RAM 13中,还可存储电子设备10操作所需的各种程序和数据。处理器11、ROM 12以及RAM 13通过总线14彼此相连。输入/输出(I/O)接口15也连接至总线14。As shown in FIG8 , the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11 in communication, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
电子设备10中的多个部件连接至I/O接口15,包括:输入单元16,例如键盘、鼠标等;输出单元17,例如各种类型的显示器、扬声器等;存储单元18,例如磁盘、光盘等;以及通信单元19,例如网卡、调制解调器、无线通信收发机等。通信单元19允许电子设备10通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
处理器11可以是各种具有处理和计算能力的通用和/或专用处理组件。处理器11的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的处理器、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。处理器11执行上文所描述的各个方法和处理,例如电池剩余充电时间计算方法。The processor 11 may be a variety of general and/or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for calculating the remaining battery charging time.
在一些实施例中,电池剩余充电时间计算方法可被实现为计算机程序,其被有形地包含于计算机可读存储介质,例如存储单元18。在一些实施例中,计算机程序的部分或者全部可以经由ROM 12和/或通信单元19而被载入和/或安装到电子设备10上。当计算机程序加载到RAM 13并由处理器11执行时,可以执行上文描述的电池剩余充电时间计算方法的一个或多个步骤。备选地,在其他实施例中,处理器11可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行电池剩余充电时间计算方法。In some embodiments, the battery remaining charging time calculation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed on the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the battery remaining charging time calculation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the battery remaining charging time calculation method in any other appropriate manner (e.g., by means of firmware).
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释电池剩余充电时间计算方法,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, which may be executed and/or interpret the battery remaining charge time calculation method on a programmable system including at least one programmable processor, which may be a dedicated or general programmable processor, which may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
在本申请的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的计算机程序。计算机可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present application, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在电子设备上实施此处描述的系统和技术,该电子设备具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)、LCD(液晶显示器)监视器或者OLED(有机发光二极管显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给电子设备。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube), an LCD (liquid crystal display) monitor, or an OLED (organic light emitting diode display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、区块链网络和互联网。The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
计算系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务中,存在的管理难度大,业务扩展性弱的缺陷。A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请的技术方案所期望的结果,本文在此不进行限制。It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.
上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of this application should be included in the protection scope of this application.

Claims (15)

  1. 一种电池剩余充电时间计算方法,包括:A method for calculating the remaining charging time of a battery, comprising:
    获取当前电池温度值和当前电池荷电状态值;其中,所述当前电池温度值赋值于电池温度计算值的初始值,所述当前电池荷电状态值赋值于电池荷电状态计算值的初始值;Acquire a current battery temperature value and a current battery state of charge value; wherein the current battery temperature value is assigned to an initial value of a battery temperature calculation value, and the current battery state of charge value is assigned to an initial value of a battery state of charge calculation value;
    若所述电池荷电状态计算值小于目标电池荷电状态值,则根据所述电池温度计算值、所述电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率;其中,所述电池温度计算值的初始值和所述电池荷电状态计算值的初始值用于首次确定所述充电电流计算值和所述温升速率;If the battery state of charge calculated value is less than the target battery state of charge value, determining the charging current calculated value and the temperature rise rate according to the battery temperature calculated value, the battery state of charge calculated value and a preset corresponding relationship; wherein the initial value of the battery temperature calculated value and the initial value of the battery state of charge calculated value are used to first determine the charging current calculated value and the temperature rise rate;
    在所述温升速率不满足设定条件时,根据所述充电电流计算值和所述温升速率,累加确定所述电池荷电状态计算值,并根据所述温升速率累加确定理论剩余充电时间;将所述电池荷电状态计算值与所述目标电池荷电状态值进行比较,并根据所述比较结果,依据所述温升速率按步长更新所述电池温度计算值,重新确定所述充电电流计算值和所述温升速率;When the temperature rise rate does not meet the set condition, the battery state of charge calculated value is cumulatively determined according to the charging current calculated value and the temperature rise rate, and the theoretical remaining charging time is cumulatively determined according to the temperature rise rate; the battery state of charge calculated value is compared with the target battery state of charge value, and according to the comparison result, the battery temperature calculated value is updated according to the temperature rise rate in a step size, and the charging current calculated value and the temperature rise rate are re-determined;
    当所述电池荷电状态计算值大于或等于所述目标电池荷电状态值时,根据所述理论剩余充电时间确定电池剩余充电时间。When the calculated battery state of charge value is greater than or equal to the target battery state of charge value, the remaining battery charging time is determined according to the theoretical remaining charging time.
  2. 根据权利要求1所述的电池剩余充电时间计算方法,在所述若所述电池荷电状态计算值小于目标电池荷电状态值,则根据所述电池温度计算值、所述电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率之后,还包括:The method for calculating the remaining battery charging time according to claim 1, after determining the charging current calculation value and the temperature rise rate according to the battery temperature calculation value, the battery state of charge calculation value and a preset corresponding relationship if the battery state of charge calculation value is less than the target battery state of charge value, further comprising:
    当所述温升速率满足设定条件,根据所述目标电池荷电状态值、所述电池荷电状态计算值和所述充电电流计算值,确定所述理论剩余充电时间,并将所述电池荷电状态计算值赋值为目标电池荷电状态值。When the temperature rise rate meets the set conditions, the theoretical remaining charging time is determined according to the target battery state of charge value, the battery state of charge calculation value and the charging current calculation value, and the battery state of charge calculation value is assigned to the target battery state of charge value.
  3. 根据权利要求2所述的电池剩余充电时间计算方法,在所述获取当前电池温度值和当前电池荷电状态值之前,还包括:The method for calculating the remaining battery charging time according to claim 2, before obtaining the current battery temperature value and the current battery state of charge value, further comprising:
    根据所述当前电池温度值、所述当前电池荷电状态值和所述目标电池荷电状态值中的至少一项,判断是否更新所述电池剩余充电时间。Whether to update the remaining battery charging time is determined according to at least one of the current battery temperature value, the current battery state of charge value, and the target battery state of charge value.
  4. 根据权利要求3所述的电池剩余充电时间计算方法,其中,所述根据所述当前电池温度值、所述当前电池荷电状态值和所述目标电池荷电状态值中的至少一项,判断是否更新所述电池剩余充电时间,包括:The method for calculating the remaining battery charging time according to claim 3, wherein the determining whether to update the remaining battery charging time according to at least one of the current battery temperature value, the current battery state of charge value, and the target battery state of charge value comprises:
    以预设时间周期检测并判断所述当前电池温度值、所述当前电池荷电状态值以及所述目标电池荷电状态值是否发生变化;Detecting and determining whether the current battery temperature value, the current battery state of charge value, and the target battery state of charge value change in a preset time period;
    若所述当前电池温度值、所述当前电池荷电状态值和所述目标电池荷电状态值中的至少一项发生变化,则生成判断结果,并根据所述判断结果更新所述电池剩余充电时间。If at least one of the current battery temperature value, the current battery state of charge value, and the target battery state of charge value changes, a judgment result is generated, and the remaining battery charging time is updated according to the judgment result.
  5. 根据权利要求1至4任一项所述的电池剩余充电时间计算方法,其中,所述依据所述温升速率按步长更新所述电池温度计算值,包括:The method for calculating the remaining charging time of a battery according to any one of claims 1 to 4, wherein the updating of the calculated battery temperature value in steps according to the temperature rise rate comprises:
    当所述温升速率大于0时,所述步长为1℃;When the temperature rise rate is greater than 0, the step length is 1°C;
    当所述温升速率小于0时,所述步长为-1℃。When the temperature rise rate is less than 0, the step length is -1°C.
  6. 根据权利要求1至4任一项所述的电池剩余充电时间计算方法,其中,所述预设对应关系包括:第一预设关系表和第二预设关系表;The method for calculating the remaining battery charging time according to any one of claims 1 to 4, wherein the preset corresponding relationship comprises: a first preset relationship table and a second preset relationship table;
    所述根据所述电池温度计算值、所述电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率,包括:The determining the charging current calculation value and the temperature rise rate according to the battery temperature calculation value, the battery state of charge calculation value and a preset corresponding relationship includes:
    根据所述电池温度计算值、所述电池荷电状态计算值和所述第一预设关系表,确定所述充电电流计算值;Determining the charging current calculation value according to the battery temperature calculation value, the battery state of charge calculation value and the first preset relationship table;
    根据所述电池温度计算值、所述充电电流计算值和所述第二预设关系表,确定所述温升速率。The temperature rise rate is determined according to the calculated value of the battery temperature, the calculated value of the charging current and the second preset relationship table.
  7. 根据权利要求1至4任一项所述的电池剩余充电时间计算方法,其中,所述根据所述理论剩余充电时间确定所述电池剩余充电时间,包括:The method for calculating the remaining battery charging time according to any one of claims 1 to 4, wherein determining the remaining battery charging time according to the theoretical remaining charging time comprises:
    根据最后一次更新的电池剩余充电时间和本次累加确定的所述理论剩余充电时间,确定时间曲线下降系数;Determine a time curve drop coefficient according to the last updated remaining battery charging time and the theoretical remaining charging time determined by this accumulation;
    根据所述理论剩余充电时间和所述时间曲线下降系数确定所述电池剩余充电时间。The remaining charging time of the battery is determined according to the theoretical remaining charging time and the time curve drop coefficient.
  8. 一种电池剩余充电时间计算装置,包括:A device for calculating the remaining charging time of a battery, comprising:
    初始值获取模块,用于获取当前电池温度值和当前电池荷电状态值;其中,所述当前电池温度值赋值于电池温度计算值的初始值,所述当前电池荷电状态值赋值于电池荷电状态计算值的初始值;An initial value acquisition module, used to acquire a current battery temperature value and a current battery state of charge value; wherein the current battery temperature value is assigned to an initial value of a battery temperature calculation value, and the current battery state of charge value is assigned to an initial value of a battery state of charge calculation value;
    参数更新模块,用于若所述电池荷电状态计算值小于目标电池荷电状态值,则根据所述电池温度计算值、所述电池荷电状态计算值和预设对应关系,确定充电电流计算值和温升速率;其中,所述电池温度计算值的初始值和所述电池荷电状态计算值的初始值用于首次确定所述充电电流计算值和所述温升速率;a parameter updating module, configured to determine a charging current calculation value and a temperature rise rate according to the battery temperature calculation value, the battery state of charge calculation value and a preset corresponding relationship if the battery state of charge calculation value is less than a target battery state of charge value; wherein the initial value of the battery temperature calculation value and the initial value of the battery state of charge calculation value are used to determine the charging current calculation value and the temperature rise rate for the first time;
    计算模块,用于在所述温升速率不满足设定条件时,根据所述充电电流计算值和所述温升速率,累加确定所述电池荷电状态计算值,并根据所述温升速率累加确定理论剩余充电时间;将所述电池荷电状态计算值与所述目标电池荷电状态值进行比较,并根据所述比较结果,依据所述温升速率按步长更新所述电池温度计算值,重新确定所述充电电流计算值和所述温升速率;a calculation module, configured to, when the temperature rise rate does not meet the set condition, cumulatively determine the battery state of charge calculation value according to the charging current calculation value and the temperature rise rate, and cumulatively determine the theoretical remaining charging time according to the temperature rise rate; compare the battery state of charge calculation value with the target battery state of charge value, and update the battery temperature calculation value according to the temperature rise rate in a step size according to the comparison result, and re-determine the charging current calculation value and the temperature rise rate;
    结果确定模块,用于当所述电池荷电状态计算值大于或等于所述目标电池荷电状态值时,根据所述理论剩余充电时间确定电池剩余充电时间。The result determination module is used to determine the remaining battery charging time according to the theoretical remaining charging time when the calculated battery state of charge value is greater than or equal to the target battery state of charge value.
  9. 根据权利要求8所述的电池剩余充电时间计算装置,还包括:The battery remaining charging time calculation device according to claim 8, further comprising:
    第一确定模块,用于当所述温升速率满足设定条件,根据所述目标电池荷电状态值、所述电池荷电状态计算值和所述充电电流计算值,确定所述理论剩余充电时间,并将所述电池荷电状态计算值赋值为目标电池荷电状态值。The first determination module is used to determine the theoretical remaining charging time according to the target battery state of charge value, the battery state of charge calculation value and the charging current calculation value when the temperature rise rate meets the set conditions, and assign the battery state of charge calculation value to the target battery state of charge value.
  10. 根据权利要求9所述的电池剩余充电时间计算装置,还包括:The battery remaining charging time calculation device according to claim 9, further comprising:
    判断模块,用于根据所述当前电池温度值、所述当前电池荷电状态值和所述目标电池荷电状态值中的至少一项,判断是否更新所述电池剩余充电时间。The judgment module is used to judge whether to update the remaining charging time of the battery according to at least one of the current battery temperature value, the current battery state of charge value and the target battery state of charge value.
  11. 根据权利要求10所述的电池剩余充电时间计算装置,所述判断模块包括:According to the battery remaining charging time calculation device of claim 10, the judgment module comprises:
    判断单元,用于以预设时间周期检测并判断所述当前电池温度值、所述当前电池荷电状态值以及所述目标电池荷电状态值是否发生变化;a determination unit, configured to detect and determine whether the current battery temperature value, the current battery state of charge value, and the target battery state of charge value have changed in a preset time period;
    更新单元,用于若所述当前电池温度值、所述当前电池荷电状态值和所述目标电池荷电状态值中的至少一项发生变化,则生成判断结果,并根据所述判断结果更新所述电池剩余充电时间。An updating unit is used to generate a judgment result if at least one of the current battery temperature value, the current battery state of charge value and the target battery state of charge value changes, and to update the remaining battery charging time according to the judgment result.
  12. 根据权利要求8-11任一项所述的电池剩余充电时间计算装置,所述计算模块包括:According to the battery remaining charging time calculation device according to any one of claims 8 to 11, the calculation module comprises:
    第一确定单元,用于当所述温升速率大于0时,所述步长为1℃;A first determining unit, configured to set the step length to 1°C when the temperature rise rate is greater than 0;
    第二确定单元,用于当所述温升速率小于0时,所述步长为-1℃。The second determining unit is used to determine that when the temperature rise rate is less than 0, the step length is -1°C.
  13. 根据权利要求8-11任一项所述的电池剩余充电时间计算装置,所述预设对应关系包括:第一预设关系表和第二预设关系表;所述参数更新模块包括:According to the battery remaining charging time calculation device according to any one of claims 8 to 11, the preset corresponding relationship includes: a first preset relationship table and a second preset relationship table; the parameter updating module includes:
    第三确定单元,用于根据所述电池温度计算值、所述电池荷电状态计算值和所述第一预设关系表,确定所述充电电流计算值;a third determining unit, configured to determine the charging current calculated value according to the battery temperature calculated value, the battery state of charge calculated value and the first preset relationship table;
    第四确定单元,用于根据所述电池温度计算值、所述充电电流计算值和所述第二预设关系表,确定所述温升速率。A fourth determining unit is used to determine the temperature rise rate according to the calculated value of the battery temperature, the calculated value of the charging current and the second preset relationship table.
  14. 一种电子设备,所述电子设备包括:An electronic device, comprising:
    一个或多个处理器;one or more processors;
    存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任一项所述的电池剩余充电时间计算方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the battery remaining charging time calculation method as described in any one of claims 1 to 7.
  15. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-7中任一项所述的电池剩余充电时间计算方法。A storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute the battery remaining charging time calculation method according to any one of claims 1 to 7 when executed by a computer processor.
PCT/CN2023/137284 2022-12-07 2023-12-07 Battery remaining charging time computing method and apparatus, electronic device, and storage medium WO2024120501A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211565327.4 2022-12-07
CN202211565327.4A CN116359764A (en) 2022-12-07 2022-12-07 Method and device for calculating remaining charging time of battery, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2024120501A1 true WO2024120501A1 (en) 2024-06-13

Family

ID=86911605

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/137284 WO2024120501A1 (en) 2022-12-07 2023-12-07 Battery remaining charging time computing method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN116359764A (en)
WO (1) WO2024120501A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116359764A (en) * 2022-12-07 2023-06-30 湖北亿纬动力有限公司 Method and device for calculating remaining charging time of battery, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010005127A1 (en) * 1999-12-03 2001-06-28 Nobuhiro Takano Battery charger and method of detecting a fully charged condition of a secondary battery
DE102013221587A1 (en) * 2013-10-24 2015-04-30 Siemens Aktiengesellschaft Method and device for determining an expected remaining service life of a component
CN110098439A (en) * 2019-04-09 2019-08-06 浙江零跑科技有限公司 A kind of method of power battery charging time Estimate
CN111196179A (en) * 2018-11-16 2020-05-26 宝沃汽车(中国)有限公司 Estimation method and estimation device for residual charging time of battery and vehicle
CN111257752A (en) * 2018-11-30 2020-06-09 宁德时代新能源科技股份有限公司 Remaining charge time estimation method, apparatus, system, and storage medium
CN112834931A (en) * 2020-12-31 2021-05-25 蜂巢能源科技有限公司 Method and device for estimating remaining time of battery charging and memory
CN113125967A (en) * 2021-04-07 2021-07-16 力高(山东)新能源技术有限公司 Lithium battery SOE calculation method based on temperature rise prediction
CN115113068A (en) * 2021-12-17 2022-09-27 长城汽车股份有限公司 Method for estimating remaining charging time and related device
CN116359764A (en) * 2022-12-07 2023-06-30 湖北亿纬动力有限公司 Method and device for calculating remaining charging time of battery, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010005127A1 (en) * 1999-12-03 2001-06-28 Nobuhiro Takano Battery charger and method of detecting a fully charged condition of a secondary battery
DE102013221587A1 (en) * 2013-10-24 2015-04-30 Siemens Aktiengesellschaft Method and device for determining an expected remaining service life of a component
CN111196179A (en) * 2018-11-16 2020-05-26 宝沃汽车(中国)有限公司 Estimation method and estimation device for residual charging time of battery and vehicle
CN111257752A (en) * 2018-11-30 2020-06-09 宁德时代新能源科技股份有限公司 Remaining charge time estimation method, apparatus, system, and storage medium
CN110098439A (en) * 2019-04-09 2019-08-06 浙江零跑科技有限公司 A kind of method of power battery charging time Estimate
CN112834931A (en) * 2020-12-31 2021-05-25 蜂巢能源科技有限公司 Method and device for estimating remaining time of battery charging and memory
CN113125967A (en) * 2021-04-07 2021-07-16 力高(山东)新能源技术有限公司 Lithium battery SOE calculation method based on temperature rise prediction
CN115113068A (en) * 2021-12-17 2022-09-27 长城汽车股份有限公司 Method for estimating remaining charging time and related device
CN116359764A (en) * 2022-12-07 2023-06-30 湖北亿纬动力有限公司 Method and device for calculating remaining charging time of battery, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116359764A (en) 2023-06-30

Similar Documents

Publication Publication Date Title
WO2024120501A1 (en) Battery remaining charging time computing method and apparatus, electronic device, and storage medium
CN106772091B (en) Method and device for updating battery capacity value and terminal
CN110019825B (en) Method and device for analyzing data semantics
WO2015143992A1 (en) Method and apparatus for calculating remaining charging time, and mobile device
CN114065864B (en) Federal learning method, federal learning device, electronic apparatus, and storage medium
WO2024131558A1 (en) Method and apparatus for determining potential for lithium precipitation in lithium ion battery, and electronic device
WO2024093963A1 (en) Battery life determination method and apparatus, electronic device, and storage medium
CN115372841A (en) Method and device for evaluating thermal runaway risk of lithium ion battery monomer
CN113641544B (en) Method, apparatus, device, medium and product for detecting application state
CN117236236A (en) Chip design data management method and device, electronic equipment and storage medium
CN114666319B (en) Data downloading method, device, electronic equipment and readable storage medium
US20140032590A1 (en) Windowed mid-tier data cache
CN114200315B (en) Method and device for predicting remaining charging time, electronic equipment and storage medium
CN113900731B (en) Request processing method, device, equipment and storage medium
CN115543416A (en) Configuration updating method and device, electronic equipment and storage medium
CN115328736A (en) Probe deployment method, device, equipment and storage medium
WO2017028728A1 (en) Determining method and device for click through rate (ctr)
CN107423375B (en) Application program searching method and device
CN113032402B (en) Method, device, equipment and storage medium for storing data and acquiring data
CN113254993B (en) Data protection method, apparatus, device, storage medium, and program product
CN113961132B (en) Interactive processing method and device, electronic equipment and storage medium
CN114461889B (en) Data searching method, device, electronic equipment and program product
CN113032808B (en) Data processing method and device, readable medium and electronic equipment
WO2024131888A1 (en) Force sensor installation information determination method and apparatus, and device and medium
CN117747991A (en) Method, apparatus, device and computer readable storage medium for charging series battery pack