Configuration method and device, electronic equipment, medium and program product

By establishing a model of the open-circuit voltage and remaining capacity of the battery, identifiers are directly assigned to the smart battery, solving the time and cost issues when replacing the smart battery and achieving an efficient configuration process.

CN122068147APending Publication Date: 2026-05-19CONTINENTAL AUTOMOTIVE SYST CHANGCHUN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CONTINENTAL AUTOMOTIVE SYST CHANGCHUN CO LTD
Filing Date
2026-02-09
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, replacing smart batteries requires redeveloping the software, which leads to long time cycles and high costs.

Method used

By acquiring data on the open-circuit voltage and remaining capacity of the battery, a model is built, and an identifier is assigned to the battery based on the model, thus avoiding the need to redevelop software and directly configuring a new smart battery.

Benefits of technology

It saves time and money, improves the user experience, and simplifies the configuration process of smart batteries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122068147A_ABST
    Figure CN122068147A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of batteries, and discloses a configuration method and device, electronic equipment, a medium and a program product. The method comprises the following steps: acquiring first data, wherein the first data comprises a first open-circuit voltage of a storage battery and a first residual electric quantity corresponding to the first open-circuit voltage; determining a first model according to the first data; wherein the first model comprises a corresponding relation between the open-circuit voltage and the residual electric quantity of the storage battery; and distributing a storage battery identifier to the storage battery based on the first model, and completing configuration of the storage battery based on the storage battery identifier and the first model. According to the method, the efficiency of configuring a new intelligent storage battery in the intelligent battery sensor can be improved, and the cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery technology, and in particular to a configuration method, apparatus, electronic device, medium, and program product. Background Technology

[0002] Intelligent battery sensors (IBS) in vehicles are primarily used to detect the status of intelligent batteries in vehicles or other equipment, including key parameters such as voltage, current, and temperature, to ensure efficient operation and extend the battery's lifespan. Adding a new intelligent battery requires redeveloping the software, inputting all data from the new battery's open circuit voltage (OCV) table into the software, and retesting the system. This approach is not only time-consuming but also costly. Summary of the Invention

[0003] The purpose of this application is to provide a configuration method, apparatus, electronic device, medium, and program product that avoids the need to redevelop software due to new smart batteries, thereby saving time and economic costs.

[0004] The first aspect of this application provides a configuration method, the method comprising: acquiring first data, the first data including a first open-circuit voltage of a battery and a first remaining charge corresponding to the first open-circuit voltage; determining a first model based on the first data; wherein the first model includes a correspondence between the open-circuit voltage and the remaining charge of the battery; assigning a battery identifier to the battery based on the first model; and completing the configuration of the battery based on the battery identifier and the first model.

[0005] The above configuration method does not require redeveloping software and is tested based on all data from the open-circuit voltage table of the new smart battery. This avoids the impact of redeveloping software due to the new smart battery, eliminates the development work involved in redeveloping software, saves time and economic costs, and improves the user experience.

[0006] In one possible implementation of the first aspect above, the correspondence between open-circuit voltage and remaining charge includes a function of open-circuit voltage with respect to remaining charge. Determining a first model based on first data includes: determining a function to be fitted, the function to be fitted including at least one unknown parameter; performing fitting processing based on the first data and the function to be fitted to determine the parameter values ​​of each unknown parameter; obtaining a fitted function based on the parameter values ​​of each unknown parameter, and using the fitted function as a function of open-circuit voltage with respect to remaining charge.

[0007] In one possible implementation of the first aspect mentioned above, the function to be fitted is a polynomial function, in which each sub-term corresponds to a different remaining charge region, and each sub-term represents the correspondence between the open circuit voltage and the remaining charge in the corresponding remaining charge region.

[0008] In one possible implementation of the first aspect above, the polynomial function includes: a first sub-term corresponding to a first remaining energy region, the first sub-term representing that the open-circuit voltage and the remaining energy are logarithmically related in the first remaining energy region; a second sub-term corresponding to a second remaining energy region, the second sub-term representing that the open-circuit voltage and the remaining energy are linearly related in the second remaining energy region; and a third sub-term corresponding to a third remaining energy region, the third sub-term representing that the open-circuit voltage and the remaining energy are logarithmically related in the third remaining energy region; wherein the remaining energy in the first remaining energy region is less than the remaining energy in the second remaining energy region, and the remaining energy in the second remaining energy region is less than the remaining energy in the third remaining energy region.

[0009] In one possible implementation of the first aspect described above, the function to be fitted is a linear function.

[0010] In one possible implementation of the first aspect described above, the linear function represents a linear relationship between the open-circuit voltage and the remaining charge in the second remaining charge region.

[0011] In one possible implementation of the first aspect above, determining the first model based on the first data further includes: determining the objective function of the fitted function; and determining, based on the first data and the objective function, that the error of the open-circuit voltage output by the fitted function is less than an error threshold.

[0012] In one possible implementation of the first aspect above, determining the first model based on the first data further includes: taking the derivative of the fitted function with respect to the remaining charge to obtain the derivative of the remaining charge; and determining that the fitted function is a function of the open-circuit voltage with respect to the remaining charge when the derivative of the remaining charge satisfies the range of values.

[0013] A second aspect of this application provides a battery power determination device, comprising: a first acquisition module, a first determination module, and a first configuration module; the first acquisition module is configured to acquire first data, the first data including a first open-circuit voltage of the battery and a remaining power corresponding to the first open-circuit voltage; the first determination module is configured to determine a first model based on the first data; wherein the first model includes a correspondence between the open-circuit voltage and the remaining power of the battery; the first configuration module is configured to assign a battery identifier to the battery based on the first model, and to complete the configuration of the battery based on the battery identifier and the first model.

[0014] A third aspect of this application provides an electronic device, including a processor and an interface circuit. The interface circuit is used to receive signals from other communication devices and transmit them to the processor, or to send signals from the processor to other communication devices. The processor implements the method described in the first aspect and any of the implementations of the first aspect through logic circuits or executing code instructions.

[0015] The fourth aspect of this application provides a computer-readable storage medium storing a computer program or instructions that, when executed by a communication device, implement the method described in the first aspect and any implementation thereof.

[0016] The fifth aspect of this application provides a program product including instructions that, when executed, cause the method described in the first aspect and any implementation thereof to be implemented. Attached Figure Description

[0017] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0018] Figure 1 A schematic flowchart of a configuration method is shown according to an embodiment of this application.

[0019] Figure 2 An embodiment of this application illustrates a schematic diagram of the open-circuit voltage versus the remaining charge.

[0020] Figure 3 A scenario diagram of a configuration process is shown according to an embodiment of this application.

[0021] Figure 4 A schematic diagram of a module of an apparatus 200 is shown according to an embodiment of this application.

[0022] Figure 5 A schematic diagram of the hardware structure of a vehicle 100 is shown according to an embodiment of this application. Detailed Implementation

[0023] The illustrative embodiments of this application include, but are not limited to, a configuration method, apparatus, electronic device, medium, and program product.

[0024] The terminology used in the embodiments of this application will be introduced below.

[0025] 1. Intelligent Battery Sensor (IBS): A device used to monitor key battery parameters, primarily used in automotive electrical systems to improve energy management efficiency and extend battery life. IBS can assess the battery's state of health (SOH), state of charge (SOC), and state of function (SOF) in real time by measuring parameters such as current, voltage, and temperature, providing early warnings of battery aging or malfunctions.

[0026] 2. Remaining charge (State of charge, SOC): This refers to the battery's state of charge, representing the percentage of the battery's total capacity that is currently available. It typically ranges from 0% to 100% and is a core parameter for measuring the battery's usable energy in electric vehicles, energy storage systems, and other fields. It directly reflects the battery's real-time energy state. For example, an SOC of 80% means that the battery can release 80% of its rated capacity with its remaining charge.

[0027] As mentioned earlier, smart battery sensors in vehicles are currently commonly used to detect the status of smart batteries in vehicles or other devices to ensure efficient operation and extend their lifespan. If a new smart battery needs to be added, the software must be redeveloped, all data from the new smart battery's open-circuit voltage table must be input into the software, and the system must be retested. However, redeveloping the software is not only time-consuming but also costly.

[0028] In view of this, embodiments of this application provide a configuration method, including: acquiring first data, the first data including a first open-circuit voltage of a battery and a first remaining charge corresponding to the first open-circuit voltage; determining a first model based on the first data; wherein the first model includes the correspondence between the open-circuit voltage and the remaining charge of the battery; assigning a battery identifier to the battery based on the first model, and completing the configuration of the battery based on the battery identifier and the first model.

[0029] The above configuration method can determine the first model based on the first data, and assign the battery identifier based on the first model to complete the configuration of the battery. This method does not require redeveloping the software, and tests are performed based on all the data in the open circuit voltage table of the new smart battery. This avoids the impact of redeveloping the software due to the new smart battery, omits the development work brought about by redeveloping the software, saves time and economic costs, and improves the user experience.

[0030] The configuration method provided in this application can be applied to any transport vehicle containing a battery. It should be understood that the transport vehicle can be any of the following: vehicles (such as cars, trucks, motorcycles, buses, etc.), ships, airplanes, helicopters, lawnmowers, recreational vehicles, amusement park vehicles, construction equipment, trams, golf carts, trains, and handcarts. This application does not limit the type of transport vehicle.

[0031] To better understand the technical solutions of the embodiments of this application, the method for determining the battery power provided in the embodiments of this application will be described in detail below, taking vehicle 100 as an example.

[0032] Figure 1 A schematic flowchart of a configuration method is shown according to an embodiment of this application. It can be understood that... Figure 1 The execution entities for each step of the illustrated process are all electronic devices. These electronic devices can be the vehicle-mounted terminal of vehicle 100, or computing devices in other transportation vehicles; no specific limitation is made in this embodiment. For simplicity, the following description... Figure 1 The execution entity for each step in the illustrated process will not be described again. For example... Figure 1 As shown, this process includes, but is not limited to, the following:

[0033] S110, acquire first data, the first data includes the first open-circuit voltage of the battery and the first remaining charge corresponding to the first open-circuit voltage.

[0034] In some implementations, the relationship between the open-circuit voltage and the battery's charge can be recorded using an open-circuit voltage table. In this application, the method for recording the relationship between the battery's open-circuit voltage and its charge is not specifically limited.

[0035] For example, Table 1 shows a portion of the open-circuit voltage data for a type of battery.

[0036] Table 1:

[0037]

[0038] In some implementations, the first data input by the user can be a portion of the data in the open-circuit voltage table, as shown in Table 2.

[0039] Table 2:

[0040]

[0041] S120, determine the first model based on the first data, wherein the first model includes the correspondence between the open-circuit voltage and the remaining power of the battery.

[0042] In some implementations, the first model includes the correspondence between the battery's open-circuit voltage and remaining capacity, and this correspondence includes the open-circuit voltage as a function of the remaining capacity. The electronic device can determine the first model based on the first data, including: determining the function to be fitted; performing a fitting process based on the first data and the function to be fitted; determining the parameter values ​​of each unknown parameter in the function to be fitted; and finally obtaining the fitted function based on the parameter values ​​of each unknown parameter, using the fitted function as the function of the open-circuit voltage as a function of the remaining capacity. The function to be fitted includes at least one unknown parameter.

[0043] In some implementations, the function to be fitted is a polynomial function, where each sub-term corresponds to a different remaining energy region, and each sub-term represents the relationship between open-circuit voltage and remaining energy in its corresponding remaining energy region. The polynomial function may include: a first sub-term corresponding to a first remaining energy region, a second sub-term corresponding to a second remaining energy region, and a third sub-term corresponding to a third remaining energy region. The first sub-term represents a logarithmic relationship between open-circuit voltage and remaining energy in the first remaining energy region. The second sub-term represents a linear relationship between open-circuit voltage and remaining energy in the second remaining energy region. The third sub-term represents a logarithmic relationship between open-circuit voltage and remaining energy in the third remaining energy region. The remaining energy in the first remaining energy region is less than the remaining energy in the second remaining energy region, and the remaining energy in the second remaining energy region is less than the remaining energy in the third remaining energy region.

[0044] For example, the first model can be represented by formula (1), which is:

[0045] Formula (1).

[0046] Where OCV1 is the open-circuit voltage as a function of the remaining charge, i.e., a polynomial function. a, b, c, and d are four unknown parameters. a represents the base voltage bias. For the first sub-item corresponding to the first remaining power area, the SOC in the first remaining power area is 0% to 30%. It is the first coefficient. This is the second sub-item corresponding to the second remaining power area, where the SOC is 30% to 90%. This is the third sub-item corresponding to the third remaining power area, where the SOC is 90% to 100%.

[0047] In some possible implementations, the first coefficient It can be set to . It can be used to avoid the argument of a logarithm being 0, that is, to avoid the occurrence of... This makes the values ​​of the first sub-item corresponding to the first remaining power region and the third sub-item corresponding to the third remaining power region stable.

[0048] In some possible implementations, the initial value of 'a' can be close to the lowest open-circuit voltage, such as 'a' being 11.4. The initial value of 'b' can be... The initial value of b can be 0.8 times the difference between the open-circuit voltage when SOC is 100% and the open-circuit voltage when SOC is 0%. The initial value of c can be in the range of [0.005, 0.05], that is, the initial value of c can be 0.01. The initial value of d can be in the range of [0.005, 0.05], that is, the initial value of d can be 0.01.

[0049] In some possible implementations, the following method can be used to perform fitting processing based on the first data and the function to be fitted, and determine the parameter values ​​of each unknown parameter in the function to be fitted.

[0050] For example, the fitting process can be:

[0051] import numpy as np

[0052] from scipy.optimize import curve_fit

[0053] # data

[0054] SOC = np.array([0, 0.2, 0.4, 0.6, 0.8, 1.0])

[0055] OCV = np.array([11.4765, 11.8502, 12.1498, 12.4262, 12.6918,12.9492])

[0056] eps = 1e-4

[0057] def ocv_model(SOC, a, b, c, d):

[0058] return (a

[0059] + b * SOC

[0060] + c * np.log(SOC + eps)

[0061] + d * np.log(1 - SOC + eps))

[0062] # Initial values ​​(very important)

[0063] p0 = [11.5, 1.2, 0.01, 0.01]

[0064] # Fitting

[0065] params, _ = curve_fit(ocv_model, SOC, OCV, p0=p0)

[0066] print(params)

[0067] The first data can be the data in Table 2. The electronic device performs fitting processing based on the first data, i.e., the data in Table 2, and the function to be fitted, i.e., formula (1), to determine the parameter values ​​of each unknown parameter in the function to be fitted. For example, a=11.6057, b=1.3768, c=0.01407, d=0.00365.

[0068] Therefore, the fitted function, i.e., the first model, can be represented by formula (2). Formula (2) is:

[0069] Formula (2).

[0070] In some embodiments, the electronic device determines a first model based on first data, further comprising: determining an objective function for the fitted function. The error in determining the open-circuit voltage output by the fitted function based on the first data and the objective function is less than an error threshold.

[0071] For example, the formula for minimizing the squared error can be used as the objective function of the fitted function. The objective function can be expressed by formula (3). Formula (3) is:

[0072] Formula (3).

[0073] in, Let be the objective function. i is a positive integer. N is a positive integer. OCVi is the open-circuit voltage corresponding to the i-th SOC in the first set of data. OCV(SOCi) is the open-circuit voltage corresponding to the i-th SOC obtained from the fitted function.

[0074] Therefore, when the error in determining the open-circuit voltage output by the fitted function based on the objective function is less than the error threshold, the electronic device can determine the fitted function in formula (2) as the optimal fitted curve, i.e., the fitted function is the first model. The error threshold can be 0.1.

[0075] In some embodiments, the electronic device determines a first model based on first data, further comprising: differentiating the fitted function with respect to the remaining charge to obtain the derivative of the remaining charge. If the derivative of the remaining charge satisfies the range of derivative values, the fitted function is determined to be a function of the open-circuit voltage with respect to the remaining charge.

[0076] For example, the derivative of SOC can be taken using formula (2).

[0077] Formula (4).

[0078] When the value range of SOC is [0,1], It satisfies the range of values ​​for the derivative, that is... If the value is greater than 0, it is determined that the fitted function is a function of the open-circuit voltage with respect to the remaining charge, that is, the fitted function is the first model.

[0079] Table 3 shows the corresponding open-circuit voltage obtained according to formula (2) after determining the first model as formula (2), and a comparison between the open-circuit voltage obtained according to formula (2) and the open-circuit voltage table.

[0080] Table 3:

[0081]

[0082] Figure 2 The curves of open-circuit voltage versus remaining charge obtained from the open-circuit voltage table are shown, namely curve 1, and the curves of open-circuit voltage versus remaining charge represented by formula (2), namely curve 2.

[0083] According to Table 3 and Figure 2 It can be seen that the curve of the fitted function obtained from the first data and the function to be fitted, i.e. the polynomial function, is in good agreement with the curve of the open circuit voltage as a function of the remaining charge obtained from the open circuit voltage table, and the error of the fitted function is small.

[0084] In some embodiments, the function to be fitted is a linear function. A linear function indicates that the open-circuit voltage and the remaining charge are linearly related within the second remaining charge region.

[0085] For example, in the second remaining power region, that is, when the SOC is 30% to 90%, the first model can be represented by formula (5), which is:

[0086] Formula (5).

[0087] Where OCV2 is the open-circuit voltage as a function of the remaining charge, i.e., a linear function. OCV3 is the open-circuit voltage when the SOC is 35%. Where OCV4 is the open-circuit voltage when SOC is 85%. SOC4 is 85%. SOC3 is 35%.

[0088] It is understandable that the electronic device can perform fitting processing based on the first data, i.e., the data in Table 2, and the function to be fitted, i.e., formula (5), to determine k and OCV3 in formula (5), thereby determining the linear function, i.e., determining the first model.

[0089] In some possible implementations, users can first select a polynomial function or a linear function as the function to be fitted, and then perform fitting processing based on the first data to obtain the fitted function as the first model.

[0090] For example, if the user selects a polynomial function, that is, the user selects the first model as a nonlinear model, the first data may include the data in Table 2, that is, the values ​​of SOC of 0%, 20%, 40%, 60%, 80% and 100%, and the open circuit voltage corresponding to each SOC.

[0091] If the user selects a linear function, that is, if the user selects the first model as a linear model, the first data may include the values ​​of SOC at 35% and 85% respectively, and the open-circuit voltage corresponding to each SOC.

[0092] It is understood that the first data can be set as needed, and no specific limitation is made in this embodiment.

[0093] S130: Assign a battery identifier to the battery based on the first model, and complete the configuration of the battery based on the battery identifier and the first model.

[0094] In some embodiments, the electronic device can assign a battery identifier to the battery based on a first model, such as assigning the battery identifier as FF, and can also write the battery capacity into a smart battery sensor, thereby enabling the configuration of the battery based on the battery identifier and the first model.

[0095] The above configuration method avoids the impact of redeveloping software due to the new smart battery, omits the development work involved in redeveloping software, saves time and economic costs, and also improves the user experience.

[0096] In a specific application scenario, for example, if a user needs to configure a new smart battery in a smart sensor, they can follow... Figure 3 Configure according to the configuration process shown.

[0097] refer to Figure 3 First, the user can select either a nonlinear model or a linear model as the first model. The nonlinear model can be a polynomial function model, as shown in step S120. The linear model can be a linear function model, as shown in step S120.

[0098] When the user selects a nonlinear model, the data in Table 2 can be entered, which includes the values ​​of SOC at 0%, 20%, 40%, 60%, 80%, and 100%, as well as the open-circuit voltage corresponding to each SOC.

[0099] When the user selects a linear model, the SOC values ​​can be entered as 35% and 85%, respectively, along with the open-circuit voltage corresponding to each SOC.

[0100] After fitting the user-selected nonlinear or linear model and determining the fitted function, a battery identifier, such as a battery identity document (ID), can be assigned to the battery based on the first model with the determined fitted function. Furthermore, the battery capacity can be written to the smart battery sensor. Finally, the battery configuration can be completed based on the battery identifier and the first model.

[0101] Figure 4 A schematic diagram of the structure of a configuration device 200 is shown according to an embodiment of this application.

[0102] like Figure 4 As shown, the configuration device 200 includes a first acquisition module 210, a first determination module 220, and a first configuration module 230.

[0103] The first acquisition module is used to acquire first data, which includes the first open-circuit voltage of the battery and the remaining power corresponding to the first open-circuit voltage.

[0104] The first determining module is used to determine a first model based on the first data; wherein the first model includes the correspondence between the open-circuit voltage and the remaining power of the battery.

[0105] The first configuration module is used to assign a battery identifier to the battery based on the first model, and to complete the configuration of the battery based on the battery identifier and the first model.

[0106] The specific execution methods of the first acquisition module 210, the first determination module 220, and the first configuration module 230 can be referred to the foregoing description, and will not be repeated here.

[0107] Optionally, the components described above are merely examples. In actual applications, components in each of the above modules may be added or removed as needed. Figure 4 This should not be construed as a limitation on the embodiments of this application.

[0108] It is understood that in other embodiments, depending on actual needs, the steps shown in the above embodiments can be combined, deleted, or replaced with other steps that are beneficial to achieving the purpose of this application, and this application does not impose any restrictions here.

[0109] This application also provides an electronic device, including a processor and an interface circuit. The interface circuit is used to receive signals from other communication devices and transmit them to the processor, or to send signals from the processor to other communication devices. The processor implements the configuration method in the above embodiments through logic circuits or executing code instructions.

[0110] This application also provides a computer-readable storage medium storing a computer program or instructions, which, when executed by a communication device, implements the configuration method described in the above embodiments.

[0111] This application also provides a program product that includes instructions that, when executed, enable the configuration method described in the above embodiments to be implemented.

[0112] This application also provides a vehicle that may include at least one processor that executes instructions stored in a non-transitory computer-readable medium such as memory. The processor may be any conventional processor, such as a commercially available CPU. Alternatively, the processor may be a special-purpose device such as an ASIC or other hardware-based processor. The memory may contain instructions (e.g., program logic) that can be executed by the processor to perform various functions of the vehicle 100, including the functions of the embodiments described above.

[0113] For example, Figure 5 A schematic diagram of the hardware structure of a vehicle 100 is shown according to an embodiment of this application.

[0114] like Figure 5 As shown, the vehicle 100 includes one or more (only one is shown in the figure) processors 110, memory 120, communication interface 130, and bus 140. The processors 110, memory 120, and communication interface 130 are interconnected via the bus 140.

[0115] The processor 110, including but not limited to, CPU, microprocessor, application-specific integrated circuit, etc., is used to execute relevant programs to achieve the functions required by the vehicle 100 in this application embodiment.

[0116] Memory 120 may include one or more memories for storing data or one or more applications. The memory may be read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM).

[0117] Processor 110 can also be an integrated circuit chip with signal processing capabilities. The aforementioned processor 110 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 120. Processor 110 reads the information in memory 120 and, in conjunction with its hardware, completes the functions required by vehicle 100 in the embodiments of this application.

[0118] The communication interface 130 is used to enable communication between the vehicle 100 and other vehicles or communication networks. In some embodiments, the vehicle 100 establishes a communication connection with a second vehicle and / or a traffic management system through the communication interface 130.

[0119] Bus 140 is used to connect processor 110, memory 120, communication interface 130 and other possible modules or circuits.

[0120] It should be understood that Figure 5 The structure of the vehicle 100 shown is only an example. In other embodiments, the vehicle 100 may include more or fewer modules. For example, the vehicle may also include a first module, at least one second module, and a target module, etc. This application does not limit the scope of the invention.

[0121] In some embodiments, this application also provides a computer-readable storage medium storing at least one computer program instruction, at least one program segment, code set, or instruction set, which is loaded and executed by a model training system to implement the battery power determination method provided in the above-described method embodiments.

[0122] In some embodiments, this application also provides a computer program product, which includes computer program instructions that, when executed by a model training system, enable a device to implement the battery power determination method provided in the above-described method embodiments.

[0123] Various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or combinations of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0124] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.

[0125] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0126] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more transient or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, computer-readable media may include: USB flash drives, external hard drives, read-only memory (ROMs), etc. Various media that can store program code, such as ROM (ROM only memory), RAM (random access memory), magnetic disks, or optical disks.

[0127] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.

[0128] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.

[0129] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0130] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art should understand that various changes in form and detail may be made thereto without departing from the spirit and scope of this application.

Claims

1. A configuration method applied to an electronic device, characterized in that, The method includes: Acquire first data, which includes the first open-circuit voltage of the battery and the first remaining charge corresponding to the first open-circuit voltage; A first model is determined based on the first data; wherein, the first model includes the correspondence between the open-circuit voltage and the remaining capacity of the battery; The battery is assigned a battery identifier based on the first model, and the battery is configured based on the battery identifier and the first model.

2. The configuration method according to claim 1, characterized in that, The relationship between the open-circuit voltage and the remaining charge includes the open-circuit voltage as a function of the remaining charge. Determining the first model based on the first data includes: Determine the function to be fitted, the function to be fitted including at least one unknown parameter; Based on the first data and the function to be fitted, a fitting process is performed to determine the parameter values ​​of each of the unknown parameters; Based on the parameter values ​​of each of the unknown parameters, a fitted function is obtained, and the fitted function is used as the function of the open circuit voltage with respect to the remaining charge.

3. The configuration method according to claim 2, characterized in that, The function to be fitted is a polynomial function, in which each sub-term corresponds to a different remaining charge region, and each sub-term represents the correspondence between open circuit voltage and remaining charge in the corresponding remaining charge region.

4. The configuration method according to claim 3, characterized in that, The polynomial function includes: The first sub-item corresponding to the first remaining power region, the first sub-item represents that the open circuit voltage and the remaining power are logarithmically related in the first remaining power region; The second sub-term corresponding to the second remaining energy region, the second sub-term representing that the open-circuit voltage and the remaining energy are linearly related within the second remaining energy region; and, The third sub-item corresponding to the third remaining power region, wherein the third sub-item represents that the open circuit voltage and the remaining power are logarithmically related in the third remaining power region; Wherein, the remaining power in the first remaining power area is less than the remaining power in the second remaining power area, and the remaining power in the second remaining power area is less than the remaining power in the third remaining power area.

5. The configuration method according to claim 2, characterized in that, The function to be fitted is a linear function.

6. The configuration method according to claim 5, characterized in that, The linear function represents the linear relationship between the open-circuit voltage and the remaining charge within the second remaining charge region.

7. The configuration method according to claim 2, characterized in that, The step of determining the first model based on the first data further includes: Determine the objective function of the fitted function; Based on the first data and the objective function, the error in determining the open-circuit voltage output by the fitted function is less than the error threshold.

8. The configuration method according to claim 2, characterized in that, The step of determining the first model based on the first data further includes: The derivative of the fitted function with respect to the remaining power is obtained; If the derivative of the remaining charge satisfies the specified range, the fitted function is determined to be a function of the open-circuit voltage with respect to the remaining charge.

9. A configuration device, characterized in that, include: The module comprises a first acquisition module, a first determination module, and a first configuration module; The first acquisition module is used to acquire first data, the first data including the first open-circuit voltage of the battery and the remaining power corresponding to the first open-circuit voltage; The first determining module is used to determine a first model based on the first data; wherein the first model includes the correspondence between the open-circuit voltage and the remaining power of the battery; The first configuration module is used to assign a battery identifier to the battery based on the first model, and to complete the configuration of the battery based on the battery identifier and the first model.

10. An electronic device, characterized in that, The device includes a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices and transmit them to the processor, or to send signals from the processor to other communication devices, and the processor implements the method as described in any one of claims 1 to 8 through logic circuits or executing code instructions.

11. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions, which, when executed by a communication device, implement the method as described in any one of claims 1 to 8.

12. A program product, characterized in that, The program product includes instructions that, when executed, cause the method as described in any one of claims 1 to 8 to be implemented.