Safety state recognition and mileage determination method and device, medium and vehicle
By acquiring historical accumulated charge and charge change during lithium battery charging, and using a preset mapping relationship to determine the target charging correction coefficient, the problem of inaccurate lithium battery aging judgment in the prior art is solved, and more accurate battery aging status identification and safety assessment are achieved.
Patent Information
- Application Number
- CN202511406688.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2025-11-18
AI Technical Summary
In existing technologies, the accuracy of determining whether a lithium battery is aging by the number of battery cycles is relatively low.
By acquiring historical accumulated charge, current remaining charge, and charge change during lithium battery charging, a target charging correction coefficient is determined using a preset mapping relationship. The charge change is weighted, the target charge is calculated, and compared with the expected charge to determine the battery aging status.
It improves the accuracy of judging the aging state of lithium batteries, ensuring battery safety and lifespan.
Smart Images

Figure CN120963374A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery technology, and in particular to a method, apparatus, medium, and vehicle for safety status identification and mileage determination. Background Technology
[0002] Lithium batteries are widely used in new energy vehicles. Currently, the number of battery cycles is commonly used to determine whether a lithium battery is aging. However, in actual use, lithium batteries may not complete the charging cycle, so the accuracy of using the number of battery cycles to determine whether a lithium battery is aging is relatively low. Summary of the Invention
[0003] The embodiments of this application provide a method, apparatus, medium, and vehicle for safety status identification and mileage determination, which solves the technical problem of low accuracy when using the number of battery cycles to determine whether a lithium battery is aging.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0005] According to a first aspect of this application, a safety status identification method is provided, applied to a battery, the method comprising: During the charging process of the battery, the historical accumulated charge of the battery at the previous moment, the current remaining charge at the current moment, and the change in charge at the current moment compared to the previous moment are obtained. The historical accumulated charge is the sum of the charging charge of the battery from the start of activation to the previous moment. The current power range in which the current remaining power is located is determined. Based on the preset mapping relationship between power and coefficient, a target charging correction coefficient corresponding to the current power range is determined. The preset mapping relationship includes: multiple power ranges of the battery and the charging correction coefficient corresponding to each power range. The multiple power ranges are multiple ranges continuously distributed between the power corresponding to the discharge cutoff point and the full power of the battery. The current charge change is weighted based on the target charging correction coefficient, and the sum of the weighted current charge change and the historical accumulated charge is taken as the target charge of the battery at the current moment. If the target charge is greater than the expected charge, the battery is determined to have a safety risk. The expected charge is the sum of the expected charge of the battery from activation to aging.
[0006] In some embodiments of this application, based on the foregoing scheme, the preset mapping relationship is obtained for each of the power ranges through the following steps: Repeatedly perform charge-discharge cycle steps on the battery under test until the battery under test enters the aging state. The charge-discharge cycle steps include: charging the battery under test to the upper limit of the capacity range, and then discharging the battery under test to the lower limit of the capacity range. The cumulative charge of the battery under test from the start of use to the aging state is obtained, and the ratio of the cumulative charge to the expected charge is used as the charging correction coefficient corresponding to the charge range.
[0007] In some embodiments of this application, based on the foregoing scheme, charging the battery under test to the upper limit of the power range includes: During the first execution of the charge-discharge cycle step, the battery is charged from the discharge cutoff point to the upper limit of the charge range. During the Nth execution of the charge-discharge cycle step, the battery is charged from the lower limit of the charge range to the upper limit of the charge range, where N is an integer greater than or equal to 2.
[0008] In some embodiments of this application, based on the foregoing scheme, obtaining the cumulative charge of the battery under test from the start of use to entering the aging state includes: During the repeated charge-discharge cycle of the battery under test, the current of the battery is detected. If the direction of the current is positive, the current is integrated over time to obtain the accumulated charge. When the direction of the current is positive, it indicates that the battery under test is in a charging state.
[0009] In some embodiments of this application, obtaining the current remaining battery power based on the foregoing scheme includes: The maximum charge of the battery and the remaining charge at the previous moment are obtained. The maximum charge is the sum of the charge of the battery during the process of charging from the charge corresponding to the discharge cutoff point to the full charge. Obtain the ratio of the current charge change to the maximum charge, and use the sum of the ratio and the previous remaining charge as the current remaining charge.
[0010] In some embodiments of this application, based on the foregoing scheme, after taking the sum of the historical accumulated charge and the second charge change as the target charge of the battery at the current moment, the method further includes: If the target charge is less than or equal to the preset charge, the battery is determined to be in a safe state.
[0011] According to a second aspect of this application, a mileage determination method is provided, applied to a vehicle, said vehicle including a battery used in the method described in any embodiment of the first aspect of this application, said method comprising: The target charge amount is determined according to any embodiment of the first aspect of this application; The amount of charge consumed by the battery per unit distance of the vehicle and the charge difference between the expected charge and the target charge are obtained. The ratio of the charge difference to the unit charge is determined as the effective remaining driving range of the vehicle.
[0012] According to a third aspect of this application, a safety status identification device is provided for use in a battery, the device comprising: The first acquisition unit acquires, during the charging process of the battery, the historical accumulated charge of the battery at the previous moment, the current remaining charge at the current moment, and the change in charge at the current moment compared to the previous moment. The historical accumulated charge is the sum of the charging charge of the battery from the start of its operation to the previous moment. The first determining unit determines the current power range in which the current remaining power is located, and determines the target charging correction coefficient corresponding to the current power range based on the preset mapping relationship between power and coefficient. The preset mapping relationship includes: multiple power ranges of the battery and the charging correction coefficient corresponding to each power range, wherein the multiple power ranges are multiple ranges continuously distributed between the power corresponding to the discharge cutoff point and the full power of the battery. The first unit weights the current charge change based on the target charging correction coefficient, and uses the sum of the weighted current charge change and the historical accumulated charge as the target charge of the battery at the current moment. The second determining unit determines that the battery has a safety risk if the target charge is greater than the expected charge. The expected charge is the sum of the expected charging charge of the battery from activation to aging.
[0013] In some embodiments of this application, based on the foregoing solution, the device further includes a second acquisition unit, which is configured to acquire the preset mapping relationship for each of the power ranges. The first execution unit repeatedly performs charge-discharge cycle steps on the battery under test until the battery under test enters the aging state. The charge-discharge cycle steps include: charging the battery under test to the upper limit of the power range, and then discharging the battery under test to the lower limit of the power range. The second unit acquires the cumulative charge of the battery under test from the start of use to the aging state, and uses the ratio of the cumulative charge to the expected charge as the charging correction coefficient corresponding to the charge range.
[0014] In some embodiments of this application, based on the foregoing scheme, the first execution unit includes a first charging unit, which is used to charge the battery under test to the upper limit of the power range. The first charging unit is configured as follows: The second charging unit, when performing the charge-discharge cycle step for the first time, charges the battery from the level corresponding to the discharge cutoff point to the upper limit of the level range. The third charging unit, during the Nth execution of the charge-discharge cycle step, charges the battery from the lower limit of the power range to the upper limit of the power range, where N is an integer greater than or equal to 2.
[0015] In some embodiments of this application, based on the foregoing scheme, the second unit includes a third acquisition unit. The third acquisition unit is used to acquire the cumulative charge of the battery under test from initial activation to aging. The third acquisition unit is configured as follows: The first obtaining unit detects the current of the battery during the repeated charge-discharge cycle of the battery under test. If the direction of the current is positive, the current is integrated over time to obtain the accumulated charge. When the direction of the current is positive, it indicates that the battery under test is in a charging state.
[0016] In some embodiments of this application, based on the foregoing scheme, the first acquisition unit includes a fourth acquisition unit, the fourth acquisition unit being used to acquire the current remaining battery power, and the fourth acquisition unit being configured as follows: The fifth acquisition unit acquires the maximum charge of the battery and the remaining charge at the previous moment. The maximum charge is the sum of the charge of the battery during the process of charging from the charge corresponding to the discharge cutoff point to the full charge. The third unit obtains the ratio of the current charge change to the maximum charge, and uses the sum of the ratio and the previous remaining charge as the current remaining charge.
[0017] In some embodiments of this application, based on the foregoing scheme, the device further includes a third determining unit, which is configured to: after the sum of the historical accumulated charge and the second charge change is taken as the target charge of the battery at the current moment, the third determining unit is configured to: The fourth determining unit determines that the battery is in a safe state if the target charge is less than or equal to a preset charge.
[0018] According to a fourth aspect of this application, a computer-readable storage medium is provided that stores a computer program thereon, the computer program including executable instructions that, when executed by a processor, implement the method described in any embodiment of the first aspect of this application.
[0019] According to a fifth aspect of this application, an electronic device is provided, comprising: one or more processors; and a memory for storing executable instructions of the processors, which, when executed by the one or more processors, cause the one or more processors to implement the method described in any embodiment of the first aspect of this application.
[0020] According to a sixth aspect of this application, a vehicle is provided, including a safety status identification device according to any embodiment of a third aspect of this application.
[0021] The beneficial effects of this application are as follows: During battery charging, the historical accumulated charge, current remaining charge, and current charge change are acquired. A target charging coefficient is determined based on the current remaining charge. The current charge change is weighted based on the target charging correction coefficient. The sum of the weighted current charge change and the historical accumulated charge is used as the target charge of the battery at the current moment. The current charge is corrected, improving the accuracy of the target charge. If the target charge is greater than the expected charge, the battery is determined to have a safety risk. By comparing the target charge and the expected charge, the battery aging status can be accurately judged.
[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings: Figure 1 A flowchart of a security status identification method according to an embodiment of this application is shown; Figure 2 A block diagram of a security status identification device according to an embodiment of this application is shown; Figure 3 A schematic diagram of a computer-readable storage medium in an embodiment of this application is shown; Figure 4A schematic diagram of the system structure of an electronic device in an embodiment of this application is shown. Detailed Implementation
[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, other embodiments obtained by those of ordinary skill in the art without creative effort are all within the scope of protection of this application.
[0025] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0026] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0027] The flowcharts shown in the accompanying drawings are merely illustrative and do not represent all required content, operations, or steps, nor do they necessarily need to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0028] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more.
[0029] Figure 1 A flowchart of a security status identification method according to an embodiment of this application is shown. See also: Figure 1 This application provides a safety status identification method for batteries, the method comprising at least S1 to S4, detailed below: In step S1, during the charging process of the battery, the historical accumulated charge of the battery at the previous moment, the current remaining charge at the current moment, and the change in charge at the current moment compared to the previous moment are obtained. The historical accumulated charge is the sum of the charging charge of the battery from the start of activation to the previous moment.
[0030] In step S2, the current battery level range of the remaining battery capacity is determined. Based on a preset mapping relationship between battery capacity and coefficients, a target charging correction coefficient corresponding to the current battery level range is determined. The preset mapping relationship includes multiple battery level ranges and a charging correction coefficient corresponding to each battery level range. The multiple battery level ranges are continuously distributed ranges from the battery level at the discharge cutoff point to full charge. When the battery is at the discharge cutoff point, the remaining battery capacity, i.e., the State of Charge (SOC), is 0.
[0031] In some implementations, the widths of the multiple power ranges may be the same or not exactly the same.
[0032] For example, the multiple battery levels can be 0 to 10%, 10% to 20%, 20% to 30%, 30% to 40%, 40% to 50%, 50% to 60%, 60% to 70%, 70% to 80%, 80% to 90%, and 90% to 100%, or 0 to 15%, 15% to 20%, 20% to 35%, 35% to 40%, 40% to 55%, 55% to 60%, 60% to 75%, 75% to 80%, 80% to 95%, and 95% to 100%.
[0033] In step S3, the current charge change is weighted based on the target charging correction coefficient, and the sum of the weighted current charge change and the historical accumulated charge is taken as the target charge of the battery at the current moment.
[0034] In step S4, if the target charge amount is greater than the expected charge amount, then the battery is determined to have a safety risk. The expected charge amount is the sum of the expected charging charge of the battery from activation to aging. A safety risk in the battery can also be understood as the battery being excessively aged, and replacement or disposal is recommended. The historical accumulated charge amount can be understood as the target charge amount of the battery at the previous moment.
[0035] In this way, based on the battery's cycle characteristics and usage characteristics, the current charge change is corrected under different remaining charge states, and the effective charge amount of battery aging, i.e. the target charge amount, is calculated. This allows for a more accurate calculation of the battery's aging state, thereby improving the safety of battery use.
[0036] In some implementations, obtaining the historical accumulated charge includes: cyclically executing steps S1 to S3 from the time the battery was activated until the previous moment to obtain the historical accumulated charge.
[0037] In some embodiments, the method further includes: if the current time is the time when the battery is enabled or the next time the battery is enabled, the historical accumulated charge is 0. If the current time is the next time the battery is enabled, then the previous time is the time when the battery is enabled.
[0038] In some implementations, for each of the power ranges, the preset mapping relationship is obtained through the following steps: repeatedly performing charge-discharge cycles on the battery under test until the battery under test enters an aging state, wherein the charge-discharge cycle includes: charging the battery under test to the upper limit of the power range, and then discharging the battery under test to the lower limit of the power range; obtaining the cumulative charge amount of the battery under test from the start of use to entering the aging state, and using the ratio of the cumulative charge amount to the expected charge amount as the charging correction coefficient corresponding to the power range.
[0039] In some implementations, the formula for calculating the charging correction factor is as follows: , This is the charging correction factor. This represents the expected charge amount.
[0040] In some implementations, charging the battery under test to the upper limit of the power range includes: during the first execution of the charge-discharge cycle step, charging the battery from the power level corresponding to the discharge cutoff point to the upper limit of the power range; and during the Nth execution of the charge-discharge cycle step, charging the battery from the lower limit of the power range to the upper limit of the power range, where N is an integer greater than or equal to 2.
[0041] In some embodiments, obtaining the cumulative charge of the battery under test from the start of use to the aging state includes: detecting the current of the battery during the repeated charge-discharge cycle steps of the battery under test; if the direction of the current of the battery is positive, integrating the current over time to obtain the cumulative charge, wherein when the direction of the current is positive, it indicates that the battery under test is in a charging state.
[0042] In some embodiments, after detecting the current of the battery, the method further includes: if the direction of the current of the battery is negative, then no time integration is performed on the current, wherein a negative current direction indicates that the battery under test is in a discharging state.
[0043] In some implementations, the formula for calculating the accumulated charging charge is as follows: , For the first The cumulative charging charge in each charge range The time when the battery is activated. This refers to the moment when the battery enters its aging state. The current in the battery is positive, i.e. When the current of the battery is integrated over time, the direction of the battery current is negative, that is... At that time, the current of the battery is not integrated over time.
[0044] In some implementations, obtaining the current remaining power includes: obtaining the maximum charge of the battery and the previous remaining power at the previous moment, wherein the maximum charge is the sum of the charge of the battery during the process of charging from the charge corresponding to the discharge cutoff point to full charge; obtaining the ratio of the current charge change to the maximum charge, and using the sum of the ratio and the previous remaining power as the current remaining power.
[0045] In some implementations, the target charge is calculated using the following formula: , for Time's up Current at any moment for The target charge at any given time. for Historical cumulative charge at any given time for The previous moment, for In the first The target charging correction factor for each power range. for The current remaining battery level at any given moment.
[0046] In some implementations... hour, .
[0047] In some implementations, the formula for calculating the current remaining battery power is as follows: , for The current remaining battery level at any given moment. for The remaining battery level at the previous moment. for The previous moment, This represents the maximum charge.
[0048] In some embodiments, after taking the sum of the historical accumulated charge and the second charge change as the target charge of the battery at the current moment, the method further includes: if the target charge is less than or equal to a preset charge, then determining that the battery is in a safe state. The battery being in a safe state indicates that the battery can operate normally.
[0049] In some implementations... This refers to the processing time step of the ECU, such as 20 to 50 ms. The ECU is the vehicle's onboard computer.
[0050] It should be noted that the charging charge is the amount of charge increase of the battery when it is in a charging state.
[0051] In this application, during battery charging, the historical accumulated charge, current remaining charge, and current charge change are acquired. A target charging coefficient is determined based on the current remaining charge. The current charge change is weighted based on the target charging correction coefficient. The sum of the weighted current charge change and the historical accumulated charge is used as the target charge of the battery at the current moment, thus correcting the current charge and improving the accuracy of the target charge. If the target charge is greater than the expected charge, it is determined that the battery has a safety risk. By comparing the target charge and the expected charge, an accurate judgment of the battery aging state can be achieved.
[0052] According to a second aspect of this application, a mileage determination method is provided, applied to a vehicle, the vehicle including a battery used in the method described in any embodiment of the first aspect of this application, the method comprising: determining a target charge amount according to the method described in any embodiment of the first aspect of this application; obtaining the unit charge amount consumed by the battery within a unit mileage of the vehicle and the charge difference between the expected charge amount and the target charge amount; and determining the ratio of the charge difference to the unit charge amount as the effective remaining driving mileage of the vehicle. The unit charge amount may be the energy consumption per 100 kilometers calculated by a vehicle control unit (VCU).
[0053] In some implementations, the formula for calculating the effective remaining mileage is as follows: , for The effective remaining mileage at any given time For the expected charge amount, for The target charge amount at any given time.
[0054] Figure 2 A block diagram of a security status identification device according to an embodiment of this application is shown. See also: Figure 2According to a third aspect of this application, a safety status identification device 100 is provided, applied to a battery, the device comprising: The first acquisition unit 101 acquires the historical accumulated charge of the battery at the previous moment, the current remaining charge at the current moment, and the change in charge at the current moment compared to the previous moment during the charging process of the battery. The historical accumulated charge is the sum of the charging charge of the battery from the start of activation to the previous moment. The first determining unit 102 determines the current power range in which the current remaining power is located, and determines the target charging correction coefficient corresponding to the current power range based on the preset mapping relationship between power and coefficient. The preset mapping relationship includes: multiple power ranges of the battery and the charging correction coefficient corresponding to each power range, wherein the multiple power ranges are multiple ranges continuously distributed between the power corresponding to the discharge cutoff point and the full power of the battery. The first unit 103 weights the current charge change based on the target charging correction coefficient, and uses the sum of the weighted current charge change and the historical accumulated charge as the target charge of the battery at the current moment. The second determining unit 104 determines that the battery has a safety risk if the target charge amount is greater than the expected charge amount. The expected charge amount is the sum of the expected charging charge amount of the battery from activation to aging.
[0055] In some embodiments, the device further includes a second acquisition unit, which is used to acquire the preset mapping relationship for each of the power ranges. The second acquisition unit is configured as follows: a first execution unit, which repeatedly performs charge-discharge cycle steps on the battery under test until the battery under test enters the aging state, wherein the charge-discharge cycle steps include: charging the battery under test to the upper limit of the power range, and then discharging the battery under test to the lower limit of the power range; and a second processing unit, which acquires the cumulative charge of the battery under test from the start of use to the aging state, and uses the ratio of the cumulative charge to the expected charge as the charging correction coefficient corresponding to the power range.
[0056] In some embodiments, the first execution unit includes a first charging unit, which is used to charge the battery under test to the upper limit of the power range. The first charging unit is configured as follows: a second charging unit, which, during the first execution of the charge-discharge cycle step, charges the battery from the power corresponding to the discharge cutoff point to the upper limit of the power range; and a third charging unit, which, during the Nth execution of the charge-discharge cycle step, charges the battery from the lower limit of the power range to the upper limit of the power range, where N is an integer greater than or equal to 2.
[0057] In some embodiments, the second unit includes a third acquisition unit. The third acquisition unit is used to acquire the cumulative charge of the battery under test from the start of its operation to the aging state. The third acquisition unit is configured as follows: a first obtaining unit detects the current of the battery during the repeated execution of charge-discharge cycle steps of the battery under test. If the direction of the current of the battery is positive, the current is integrated over time to obtain the cumulative charge. When the direction of the current is positive, it indicates that the battery under test is in a charging state.
[0058] In some embodiments, the first acquisition unit includes a fourth acquisition unit, which is used to acquire the current remaining power. The fourth acquisition unit is configured as follows: a fifth acquisition unit, which acquires the maximum charge of the battery and the previous remaining power at the previous moment, wherein the maximum charge is the sum of the charge of the battery during the process of charging from the charge corresponding to the discharge cutoff point to the full charge; and a third acquisition unit, which acquires the ratio of the current charge change to the maximum charge, and uses the sum of the ratio and the previous remaining power as the current remaining power.
[0059] In some embodiments, the device further includes a third determining unit, which is configured to: after the sum of the historical accumulated charge and the second charge change is taken as the target charge of the battery at the current moment, the third determining unit is configured to: a fourth determining unit, which determines that the battery is in a safe state if the target charge is less than or equal to a preset charge.
[0060] Based on the same inventive concept, as a fourth aspect, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program including executable instructions that, when executed by a processor, implement the method described in any embodiment of the first aspect of this application.
[0061] In some possible implementations, various aspects of this application may also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this application.
[0062] refer to Figure 3 As shown, a program product 200 for implementing the above-described method according to an embodiment of this application is described. It may employ a portable compact disc read-only memory (CD-ROM) and include program code, and can run on a terminal device, such as a personal computer. However, the program product of this application is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0063] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0064] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0065] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0066] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0067] In another respect, this application also provides an electronic device capable of implementing the above-described method.
[0068] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."
[0069] The following reference Figure 4 To describe an electronic device 300 according to this embodiment of the present application. Figure 4 The electronic device 300 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0070] like Figure 4 As shown, the electronic device 300 is presented in the form of a general-purpose computing device. The components of the electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one storage unit 320, and a bus 330 connecting different system components (including storage unit 320 and processing unit 310).
[0071] The storage unit stores program code that can be executed by the processing unit 310, causing the processing unit 310 to perform the steps described in the "Embodiment Methods" section above according to various exemplary embodiments of this application.
[0072] Storage unit 320 may include readable media in the form of volatile storage units, such as random access memory (RAM) 321 and / or cache memory 322, and may further include read-only memory (ROM) 323.
[0073] Storage unit 320 may also include a program / utility 324 having a set (at least one) of program modules 325, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0074] Bus 330 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.
[0075] Electronic device 300 can also communicate with one or more external devices 400 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with the electronic device 300, and / or with any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 350. Furthermore, electronic device 300 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 360. Figure 4 As shown, network adapter 360 communicates with other modules of electronic device 300 via bus 330. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0076] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0077] In another aspect, this application also provides a security status identification device including any embodiment according to the third aspect of this application. The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for identifying a security status, characterized in that, Applied to a battery, the method includes: During the charging process of the battery, the historical accumulated charge of the battery at the previous moment, the current remaining charge at the current moment, and the change in charge at the current moment compared to the previous moment are obtained. The historical accumulated charge is the sum of the charging charge of the battery from the start of activation to the previous moment. The current power range in which the current remaining power is located is determined. Based on the preset mapping relationship between power and coefficient, a target charging correction coefficient corresponding to the current power range is determined. The preset mapping relationship includes: multiple power ranges of the battery and the charging correction coefficient corresponding to each power range. The multiple power ranges are multiple ranges continuously distributed between the power corresponding to the discharge cutoff point and the full power of the battery. The current charge change is weighted based on the target charging correction coefficient, and the sum of the weighted current charge change and the historical accumulated charge is taken as the target charge of the battery at the current moment. If the target charge is greater than the expected charge, the battery is determined to have a safety risk. The expected charge is the sum of the expected charge of the battery from activation to aging.
2. The security status identification method according to claim 1, characterized in that, For each of the aforementioned power ranges, the preset mapping relationship is obtained through the following steps: Repeatedly perform charge-discharge cycle steps on the battery under test until the battery under test enters the aging state. The charge-discharge cycle steps include: charging the battery under test to the upper limit of the capacity range, and then discharging the battery under test to the lower limit of the capacity range. The cumulative charge of the battery under test from the start of use to the aging state is obtained, and the ratio of the cumulative charge to the expected charge is used as the charging correction coefficient corresponding to the charge range.
3. The security status identification method according to claim 2, characterized in that, The step of charging the battery under test to the upper limit of the power range includes: During the first execution of the charge-discharge cycle step, the battery is charged from the discharge cutoff point to the upper limit of the charge range. During the Nth execution of the charge-discharge cycle step, the battery is charged from the lower limit of the charge range to the upper limit of the charge range, where N is an integer greater than or equal to 2.
4. The security status identification method according to claim 2, characterized in that, The step of obtaining the cumulative charge of the battery under test from the start of use to the aging state includes: During the repeated charge-discharge cycle of the battery under test, the current of the battery is detected. If the direction of the current is positive, the current is integrated over time to obtain the accumulated charge. When the direction of the current is positive, it indicates that the battery under test is in a charging state.
5. The security status identification method according to claim 1, characterized in that, Obtaining the current remaining battery power includes: The maximum charge of the battery and the remaining charge at the previous moment are obtained. The maximum charge is the sum of the charge of the battery during the process of charging from the charge corresponding to the discharge cutoff point to the full charge. Obtain the ratio of the current charge change to the maximum charge, and use the sum of the ratio and the previous remaining charge as the current remaining charge.
6. The security status identification method according to claim 1, characterized in that, After taking the sum of the historical accumulated charge and the second charge change as the target charge of the battery at the current moment, the method further includes: If the target charge is less than or equal to the preset charge, the battery is determined to be in a safe state.
7. A method for determining mileage, characterized in that, Applied to a vehicle, said vehicle comprising the battery used in the method of any one of claims 1-6, said method comprising: The method according to any one of claims 1-6 determines the target charge amount; The amount of charge consumed by the battery per unit distance of the vehicle and the charge difference between the expected charge and the target charge are obtained. The ratio of the charge difference to the unit charge is determined as the effective remaining driving range of the vehicle.
8. A security status identification device, characterized in that, Applied to a battery, the device includes: The first acquisition unit acquires, during the charging process of the battery, the historical accumulated charge of the battery at the previous moment, the current remaining charge at the current moment, and the change in charge at the current moment compared to the previous moment. The historical accumulated charge is the sum of the charging charge of the battery from the start of its operation to the previous moment. The first determining unit determines the current power range in which the current remaining power is located, and determines the target charging correction coefficient corresponding to the current power range based on the preset mapping relationship between power and coefficient. The preset mapping relationship includes: multiple power ranges of the battery and the charging correction coefficient corresponding to each power range, wherein the multiple power ranges are multiple ranges continuously distributed between the power corresponding to the discharge cutoff point and the full power of the battery. The first unit weights the current charge change based on the target charging correction coefficient, and uses the sum of the weighted current charge change and the historical accumulated charge as the target charge of the battery at the current moment. The second determining unit determines that the battery has a safety risk if the target charge is greater than the expected charge. The expected charge is the sum of the expected charging charge of the battery from activation to aging.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program includes executable instructions that, when executed by a processor, implement the method of any one of claims 1-6.
10. A vehicle, characterized in that, Includes the security status identification device as described in claim 8.