Parameter determination methods, devices, controllers, and vehicles
By receiving battery information in the domain controller and using identification information to determine historical state parameters, the problem of low calculation accuracy after the domain controller and power battery are solved, and accurate calculation of real-time state parameters is achieved, improving the availability and accuracy of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2024-09-29
- Publication Date
- 2026-06-30
AI Technical Summary
In the prior art, because the domain controller and the power battery are independent components, the calculation accuracy of the domain controller is low. In particular, after replacing the domain controller and/or the power battery, the historical state parameters do not match the actual state parameters, which affects the calculation accuracy.
By receiving battery information from the acquisition controller and using the battery identifier and initialization identifier in the parameter management information, the domain controller determines historical state parameters from the candidate parameters and determines the real-time state parameters of the power battery based on these parameters, ensuring the accuracy of the calculation.
This improves the accuracy of the domain controller's calculations in the event of a power battery replacement, ensuring that the calculated real-time status parameters match the actual state of the power battery, and enhancing the system's availability and accuracy.
Smart Images

Figure CN119247836B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technology, and in particular to a method, apparatus, controller, and vehicle for determining parameters. Background Technology
[0002] In existing technologies, a battery management system in an automobile may include a domain controller (Power Distribution Control Unit, PDCU) and a data acquisition controller. The data acquisition controller collects operating parameters of the battery, such as voltage, current, and battery temperature, and transmits all collected parameters to the domain controller. The domain controller integrates all the algorithms and control strategies required by the battery management system. Based on the operating parameters input from the data acquisition controller and the historical state parameters of the battery from the previous data acquisition cycle, it can calculate real-time state parameters of the battery, such as the remaining charge (SOC), remaining lifespan (SOH), and battery capacity (Ampere Hour, AH).
[0003] In existing technologies, because domain controllers can be deployed outside the vehicle's power battery, the domain controller and the power battery are two independent components. When the domain controller and / or the vehicle's power battery are replaced, a mismatch may occur between the historical state parameters stored in the domain controller and the actual state parameters in the power battery. Furthermore, since the domain controller needs to combine the historical state parameters from the previous data acquisition cycle to calculate the real-time state parameters of the power battery, this can easily lead to low accuracy in the domain controller's calculations. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method, apparatus, controller, and vehicle for determining parameters to determine historical state parameters used for calculation, thereby improving the calculation accuracy of the domain controller.
[0005] The first aspect of this application provides a method for determining parameters, applied to a domain controller, including:
[0006] In response to a power-on command, the device receives battery information sent by the acquisition controller; the battery information includes parameter management information and a first candidate parameter.
[0007] Based on the parameter management information, historical state parameters are determined from the first candidate parameters and the second candidate parameters stored by the domain controller; the parameter management information includes the first battery identifier and the initialization identifier of the power battery corresponding to the power battery.
[0008] Based on the historical state parameters, the real-time state parameters of the power battery are determined.
[0009] In one possible implementation of the first aspect, determining the historical state parameter from the first candidate parameter and the second candidate parameter stored by the domain controller based on the parameter management information includes:
[0010] If the corresponding second battery identifier in the domain controller is empty, then based on the initialization identifier in the parameter management information, the historical state parameter is determined from the first candidate parameter and the second candidate parameter;
[0011] After determining the historical status parameters from the first candidate parameters and the second candidate parameters stored by the domain controller based on the parameter management information, the process includes:
[0012] The second battery identifier is set according to the first battery identifier in the battery information.
[0013] In one possible implementation of the first aspect, determining the historical state parameter from the first candidate parameter and the second candidate parameter based on the initialization identifier in the parameter management information includes:
[0014] If the initialization flag is a first value, then the second candidate parameter is determined as the historical state parameter; when the initialization flag is a first value, it indicates that the power battery is not in use.
[0015] If the initialization flag is a second value, then the first candidate parameter is determined as the historical state parameter; when the initialization flag is a second value, it indicates that the power battery has been used.
[0016] In one possible implementation of the first aspect, determining the historical state parameter from the first candidate parameter and the second candidate parameter stored by the domain controller based on the parameter management information includes:
[0017] If the second battery identifier corresponding to the domain controller is not empty, and the second battery identifier is inconsistent with the first battery identifier, then it is determined whether the initialization identifier is a first value; when the initialization identifier is a first value, it is used to indicate that the power battery is not used.
[0018] If the initialization identifier is a first value, then the first candidate parameter is determined as the historical state parameter;
[0019] After determining the historical status parameters from the first candidate parameters and the second candidate parameters stored by the domain controller based on the parameter management information, the process includes:
[0020] The second battery identifier is updated based on the first battery identifier in the battery information.
[0021] In one possible implementation of the first aspect, determining the historical state parameter from the first candidate parameter and the second candidate parameter stored by the domain controller based on the parameter management information includes:
[0022] If the second battery identifier corresponding to the domain controller is the same as the first battery identifier, then the first candidate parameter is determined as the historical state parameter.
[0023] In one possible implementation of the first aspect, after determining the real-time state parameters of the power battery based on the historical state parameters, the following steps are included:
[0024] In response to the power-down command, the second candidate parameter is updated based on the current real-time status parameters;
[0025] The real-time status parameters are sent to the acquisition controller so that the acquisition controller updates the first candidate parameters based on the real-time status parameters.
[0026] A second aspect of this application provides a method for determining parameters, applied to a data acquisition controller, comprising:
[0027] In response to a power-on command, battery information is sent to the domain controller; the battery information includes first candidate parameters and parameter management information; the parameter management information includes a first battery identifier corresponding to the power battery and an initialization identifier of the power battery; the parameter management information is used by the domain controller to determine historical state parameters from the first candidate parameters and the second candidate parameters stored by the domain controller, and to determine real-time state parameters based on the historical state parameters;
[0028] In response to a power-down command, the system receives real-time status parameters sent by the domain controller and updates the first candidate parameters based on the real-time status parameters.
[0029] A third aspect of this application provides a parameter determination apparatus applied to a domain controller, comprising:
[0030] The acquisition module is used to receive battery information sent by the acquisition controller in response to a power-on command; the battery information includes parameter management information and a first candidate parameter;
[0031] The parameter determination module is used to determine historical state parameters from the first candidate parameters and the second candidate parameters stored by the domain controller based on the parameter management information; the parameter management information includes the first battery identifier corresponding to the power battery and the initialization identifier of the power battery;
[0032] The calculation module is used to determine the real-time state parameters of the power battery based on the historical state parameters.
[0033] A fourth aspect of this application provides a parameter determination apparatus applied to a data acquisition controller, comprising:
[0034] The sending module is used to send battery information to the domain controller in response to a power-on command; the battery information includes first candidate parameters and parameter management information; the parameter management information includes a first battery identifier corresponding to the power battery and an initialization identifier of the power battery; the parameter management information is used by the domain controller to determine historical state parameters from the first candidate parameters and the second candidate parameters stored by the domain controller, and to determine real-time state parameters based on the historical state parameters;
[0035] The receiving module is configured to receive real-time status parameters sent by the domain controller in response to a power-down command, and update the first candidate parameters based on the real-time status parameters.
[0036] A fifth aspect of this application provides a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a parameter determination method as described in the first aspect above, or a parameter determination method as described in the second aspect above.
[0037] A sixth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the parameter determination method as described in the first aspect above, or the parameter determination method as described in the second aspect above.
[0038] A seventh aspect of this application provides a computer program product that, when run on a computer, causes the computer to execute the parameter determination method described in the first aspect or the parameter determination method described in the second aspect.
[0039] An eighth aspect of this application provides a vehicle, including: a domain controller and a data acquisition controller; the domain controller is communicatively connected to the data acquisition controller.
[0040] The domain controller is configured to receive battery information sent by the acquisition controller in response to a power-on command; the battery information includes parameter management information and a first candidate parameter; based on the parameter management information, historical state parameters are determined from the first candidate parameter and the second candidate parameter stored by the domain controller; the parameter management information includes a first battery identifier corresponding to the power battery and an initialization identifier of the power battery; based on the historical state parameters, the real-time state parameters of the power battery are determined.
[0041] The acquisition controller is configured to send battery information to the domain controller in response to a power-on command; and to receive real-time status parameters sent by the domain controller in response to a power-off command, and update the first candidate parameters based on the real-time status parameters.
[0042] Compared with the prior art, the embodiments of this application have the following advantages:
[0043] In this embodiment, the domain controller can respond to a power-on command and receive battery information sent by the acquisition controller. Then, the domain controller can determine historical state parameters from a first candidate parameter in the battery information and a second candidate parameter stored in the domain controller, based on the parameter management information in the battery information. The parameter management information in the battery information includes a first battery identifier and an initialization identifier corresponding to the power battery. Finally, the domain controller can determine the real-time state parameters of the power battery based on the historical state parameters. Through the method provided in this embodiment, since the domain controller can determine historical state parameters from the first candidate parameter stored in the acquisition controller and the second candidate parameter stored in the domain controller based on the parameter management information, the method provided in this embodiment can ensure that the historical state parameters used by the domain controller for calculation conform to the actual state of the power battery, thereby ensuring the accuracy of the domain controller's calculations. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a schematic diagram of a vehicle provided in an embodiment of this application;
[0046] Figure 2 This is a schematic diagram of a parameter determination method provided in an embodiment of this application;
[0047] Figure 3 This is a schematic diagram illustrating a specific method for updating a first candidate parameter provided in an embodiment of this application;
[0048] Figure 4 This is a schematic diagram of another method for determining parameters provided in an embodiment of this application;
[0049] Figure 5 This is a schematic diagram of a parameter determination device provided in an embodiment of this application;
[0050] Figure 6This is a schematic diagram of another parameter determination device provided in an embodiment of this application;
[0051] Figure 7 This is a schematic diagram of a controller provided in an embodiment of this application. Detailed Implementation
[0052] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0053] The technical solution of this application will be described below through specific embodiments.
[0054] See Figure 1 The diagram illustrates a vehicle according to an embodiment of this application. Figure 1 As shown, vehicle 1 may include a domain controller 11 and a data acquisition controller 12. The data acquisition controller 12 may be deployed on the vehicle's power battery. The domain controller 11 can communicate with the data acquisition controller 12. The data acquisition controller 12 can send battery information to the domain controller 11 in response to a user-initiated power-on command. Based on the received battery information, the domain controller 11 can determine historical state parameters from a first candidate parameter stored in the data acquisition controller 12 and a second candidate parameter stored in the domain controller 12, and then determine the real-time state parameters of the power battery based on the determined historical state parameters. For the specific method by which the data acquisition controller 12 and the domain controller 11 determine the historical state parameters, please refer to the method embodiments of this application.
[0055] Reference Figure 2 This diagram illustrates a method for determining parameters according to an embodiment of this application. The domain controller and data acquisition controller in the vehicle can be any type of controller, such as an Electronic Control Unit (ECU), Microcontroller Unit (MCU), or Central Processing Unit (CPU). The method for determining the parameters specifically includes the following steps:
[0056] S201. The data acquisition controller responds to the power-on command by sending battery information to the domain controller.
[0057] In this embodiment, when a user needs to start the vehicle, the user can initiate a power-on command to the vehicle via the start button on the vehicle's center console or the vehicle control application on a mobile terminal. After receiving the power-on command initiated by the user, the vehicle's data acquisition controller can send battery information to the domain controller. The battery information sent by the data acquisition controller may include, but is not limited to, the first candidate parameters and parameter management information stored in the data acquisition controller.
[0058] In one possible implementation, before sending battery information to the domain controller, the data acquisition controller can respond to a power-on command by calling a pre-defined initialization program to perform initialization operations. Simultaneously, the data acquisition controller can send initialization information to the domain controller. This initialization information may include at least one default parameter pre-defined by the developers. For example, the default parameters in the initialization information may include, but are not limited to, default values for remaining battery power, remaining battery life, battery capacity, the initialization identifier corresponding to the power battery, and the power battery status value. Specifically, when the power battery status value is the third value, it indicates that the power battery has been initialized and entered the operating state. When the power battery status value is the fourth value, it indicates that the power battery has not been initialized. For example, the default parameters in the initialization information may include: minimum remaining battery power = 50%, displayed battery power = 50%, maximum remaining battery power = 50%, remaining battery life = 50%, battery capacity = 0ah, initialization identifier = 0xF, status value = init, etc.
[0059] After receiving the power-on command, the domain controller can continuously receive initialization information from the data acquisition controller according to a pre-set waiting time. Based on the received initialization information, the domain controller determines whether the data acquisition controller has completed initialization and entered the running state. For example, the pre-set waiting time can be 500 milliseconds. Specifically, if the domain controller does not receive initialization information from the data acquisition controller within the waiting time, or if the battery status value in all initialization information received within the waiting time is the fourth value, the domain controller can determine that the data acquisition controller has not completed the initialization operation, i.e., the data acquisition controller has not entered the running state. In this case, the domain controller can refuse to receive battery information from the data acquisition controller and send an initialization failure command to the vehicle controller to prevent the vehicle from connecting to or using the high-voltage electrical system in the battery. If the domain controller receives initialization information with a battery status value of the third value within the waiting time, the domain controller can determine that the data acquisition controller has completed the initialization operation and entered the running state. In this case, the domain controller can receive battery information from the data acquisition controller.
[0060] S202, The domain controller receives battery information sent by the acquisition controller.
[0061] In this embodiment, after the domain controller determines that the acquisition controller has completed initialization, it can receive battery information sent by the acquisition controller. The battery information sent by the acquisition controller may include at least a first candidate parameter and parameter management information stored within the acquisition controller. Specifically, the first candidate parameter may be the status parameters of the power battery stored in the acquisition controller. When the power battery is in an unused state, the first candidate parameter stored in the acquisition controller may be a default value preset by the developers. When the power battery is in a used state, the first candidate parameter stored in the acquisition controller may be the real-time status parameters of the power battery when it was powered off in the previous driving cycle. The first candidate parameter may include, but is not limited to, a first displayed battery level candidate value, a first maximum battery level candidate value, a first minimum battery level candidate value, a first remaining lifespan candidate value, and a first battery capacity candidate value.
[0062] The battery identifier can be a set of information or codes that uniquely identifies the power battery. For example, the battery identifier can consist of the power battery's specifications, type, production date, manufacturer, serial number, etc., and can be used for power battery identification and tracking. Parameter management information may include, but is not limited to, the first battery identifier corresponding to the power battery and the power battery's initialization identifier. Different power batteries have different first battery identifiers, which are unique and can be used to identify the power battery. The power battery's initialization identifier can be used to indicate whether the power battery has been used; that is, the domain controller can determine whether the power battery is in an unused state or a used state based on the initialization identifier.
[0063] S203. The domain controller determines historical status parameters from the first candidate parameters and the second candidate parameters stored in the domain controller based on parameter management information.
[0064] In this embodiment, after receiving battery information from the acquisition controller, the domain controller can determine historical status parameters from the first candidate parameters stored in the acquisition controller and the second candidate parameters stored in the domain controller, based on the parameter management information in the battery information. The second candidate parameters can be the status parameters of the power battery stored in the domain controller. When the domain controller is in an unused state, the second candidate parameters stored in the domain controller can be default values preset by the developers. When the domain controller is in a used state, the second candidate parameters stored in the domain controller can be the real-time status parameters of the power battery when it was powered down in the previous driving cycle.
[0065] S204 The domain controller determines the real-time status parameters of the power battery based on historical status parameters.
[0066] In this embodiment, after determining the historical state parameters, the domain controller can input the historical state parameters and the operating parameters sent by the acquisition controller into a pre-set state algorithm to determine the real-time state parameters of the power battery. The operating parameters sent by the acquisition controller may include, but are not limited to, voltage, current, and battery temperature values. It should be noted that the state algorithm in this embodiment can be any method known to those skilled in the art for calculating the real-time state parameters of the power battery, such as methods for calculating the maximum remaining charge, minimum remaining charge, displayed charge, remaining lifespan, and battery capacity. This embodiment is not intended to specifically limit the state algorithm.
[0067] The method provided in this embodiment allows the domain controller to determine historical state parameters from the first candidate parameters stored in the acquisition controller and the second candidate parameters stored in the domain controller based on the parameter management information of the power battery when the vehicle is powered on. Therefore, the method provided in this embodiment can ensure that the historical state parameters used by the domain controller to calculate the real-time state parameters conform to the actual state of the power battery, thereby improving the accuracy of the real-time state parameters calculated by the domain controller.
[0068] In one possible implementation, see Figure 3 The diagram illustrates a specific method for updating a first candidate parameter according to an embodiment of this application. Figure 3 As shown, before calculating the real-time status parameters of the power battery based on historical status parameters, the domain controller can first send its operating mode identifier to the acquisition controller. The domain controller's operating mode can include normal operation mode and test operation mode. When the domain controller's operating mode identifier is the fifth value, it indicates that the domain controller's current operating mode is test operation mode. When the domain controller's operating mode identifier is the sixth value, it indicates that the domain controller's current operating mode is normal operation mode. When the acquisition controller determines that the currently received operating mode identifier is the fifth value, meaning the current domain controller is in test mode and not in normal use, the acquisition controller can directly perform a power-down operation to switch from operating mode to sleep mode. When the acquisition controller determines that the currently received operating mode identifier is the sixth value, meaning the current domain controller is in normal use mode, the acquisition controller begins to collect the power battery's operating parameters and sends the collected operating parameters to the domain controller. Furthermore, when the acquisition controller determines that the currently received operating mode identifier is the sixth value, it can also respond to a user-initiated power-down command, receive the real-time status parameters sent by the domain controller, and update the first candidate parameters based on the real-time status parameters.
[0069] In one possible implementation, the user can initiate a power-off command when they finish driving and are ready to leave the vehicle. For example... Figure 3 As shown, after receiving a power-down command initiated by the user, the domain controller can update the second candidate parameters stored in the domain controller according to the currently calculated real-time status parameters. Simultaneously, the domain controller can also send the current real-time status parameters of the power battery to the data acquisition controller. The data acquisition controller can, in response to the power-down command, receive the real-time status parameters sent by the domain controller and update the first candidate parameters based on the received real-time status parameters.
[0070] In one possible implementation, when updating the first candidate parameter in response to a power-down command, the data acquisition controller can also determine whether the initialization flag stored in the controller is a first value. A first value for the initialization flag indicates that the power battery is not in use. If the data acquisition controller determines that the currently stored initialization flag is a first value, it can update the initialization flag to a second value. A second value for the initialization flag indicates that the power battery is in use.
[0071] In one possible implementation, such as Figure 3 As shown, after receiving any real-time status parameter from the domain controller, the acquisition controller can determine whether the number of parameter types of the currently received real-time status parameters equals the threshold number preset by the developers, whether the format of each received real-time status parameter conforms to the format conditions preset by the developers, and whether the initialization flag is the second value. When the acquisition controller determines that the number of parameter types of the currently received real-time status parameters equals the threshold number, the format of each real-time status parameter conforms to the format conditions, and the initialization flag is the second value, and all three conditions are met simultaneously, the acquisition controller can determine that the power-down storage conditions are met, and the acquisition controller can perform a power-down storage operation. Specifically, the acquisition controller can store all currently received real-time status parameters as first candidate parameters and switch from the running state to the sleep state.
[0072] When the acquisition controller determines that one or more of the above three conditions are not met, that is, when the acquisition controller determines that the number of parameter types of real-time status parameters is not equal to the number threshold, the format of any real-time status parameter does not meet the format condition, or the initialization flag is the first value, the acquisition controller can determine that the current power-down storage condition is not met, the acquisition controller can not perform the power-down storage operation, and return to the operation of receiving the real-time status parameters sent by the domain controller.
[0073] Figure 4A flowchart illustrating the specific implementation of a parameter determination method S203 provided in the second embodiment of this application is shown. See also... Figure 4 Compared to Figure 2 In the embodiment described above, the method for determining a parameter provided in this embodiment includes S2031 to S2032, which are detailed below:
[0074] S2031. If the corresponding second battery identifier in the domain controller is empty, the domain controller determines the historical state parameters from the first candidate parameters and the second candidate parameters based on the initialization identifier in the parameter management information.
[0075] In this embodiment, after receiving battery information, the domain controller first determines whether the second battery identifier stored in the domain controller is empty. The second battery identifier can be used to represent the power battery for which the domain controller performed state parameter calculations in the previous driving cycle. When the second battery identifier stored in the domain controller is empty, it means that the domain controller did not perform state parameter calculations in the previous driving cycle, and the current domain controller is a newly replaced domain controller. At this time, the second candidate parameters stored in the domain controller are default values preset by the developers, which may not conform to the actual state of the power battery. Therefore, the domain controller needs to further determine whether the power battery has been replaced based on the initialization identifier in the parameter management information, in order to determine the historical state parameters of the power battery from the first and second candidate parameters.
[0076] After determining the historical status parameters, the domain controller can set a second battery identifier based on the first battery identifier in the battery information. The domain controller can also set an operating mode identifier based on the current operating mode and send the operating mode identifier to the data acquisition controller. Specifically, when the domain controller is currently in test operating mode, it can set the operating mode identifier to the fifth value; when the domain controller is currently in normal operating mode, it can set the operating mode identifier to the sixth value.
[0077] In one possible implementation, when the domain controller determines that the second battery identifier is empty and the initialization identifier in the parameter management information is the first value, the domain controller can determine that both the power battery and the domain controller have been replaced. Therefore, the first candidate parameter stored in the acquisition controller and the second candidate parameter stored in the domain controller are both default values preset by the R&D personnel. Furthermore, since the status parameters of the unused power battery are also default values preset by the R&D personnel, to avoid errors in the first candidate parameter during data transmission, the domain controller can determine its stored second candidate parameter as a historical status parameter. After determining the historical status parameter, the domain controller can also update the second battery identifier to the first battery identifier in the parameter management information.
[0078] In one possible implementation, when the domain controller determines that the second battery identifier is empty and the initialization identifier in the parameter management information is the second value, the domain controller can determine that the domain controller on the vehicle has been replaced while the power battery has not been replaced. Therefore, the second candidate parameter stored in the domain controller is a default value preset by the R&D personnel, which may not conform to the actual state parameters of the power battery. In this case, the domain controller can determine the second candidate parameter in the battery information as a historical state parameter.
[0079] The method provided in this embodiment ensures that when the domain controller is replaced, it can determine whether the vehicle's power battery has been replaced based on the initialization flag in the battery information, and select historical state parameters according to the battery replacement status. Therefore, the method guarantees that even if the domain controller is replaced, the historical state parameters used to calculate real-time state parameters still match the actual state parameters of the power battery, thus ensuring the availability of the solution.
[0080] S2032. If the second battery identifier corresponding to the domain controller is not empty, then based on the first battery identifier in the parameter management information of the domain controller, the historical state parameters are determined from the first candidate parameters and the second candidate parameters.
[0081] In this embodiment, if the domain controller determines that the currently stored second battery identifier is not empty, meaning the domain controller participated in the state parameter calculation in the previous driving cycle and the domain controller has not been replaced, then the domain controller can determine whether the power battery on the vehicle is the same power battery used in the previous driving cycle based on the second battery identifier and the first battery identifier in the parameter management information. In other words, the domain controller can determine whether the power battery has been replaced based on the second battery identifier and the first battery identifier, thereby determining historical state parameters that match the actual state of the power battery from the first and second candidate parameters.
[0082] In one possible implementation, if the domain controller determines that the second battery identifier matches the second battery identifier in the parameter management information, then the domain controller can determine that the power battery currently used by the vehicle is the same as the power battery used in the previous driving cycle, meaning that neither the domain controller nor the power battery has been replaced. In this case, the domain controller can determine its stored first candidate parameter as the historical state parameter.
[0083] The method provided in this embodiment ensures the accuracy of historical state parameters by having the domain controller and power battery set as historical state parameters when neither the domain controller nor the power battery has been replaced. This is because the second candidate parameter may be corrupted during data transmission. Therefore, the domain controller can avoid reducing the accuracy of calculations due to data transmission problems by setting the first candidate parameter stored in its own memory as the historical state parameter.
[0084] In one possible implementation, if the domain controller determines that the second battery identifier is not empty, and the second battery identifier is inconsistent with the second battery identifier in the parameter management information, then the domain controller can determine that the power battery currently used by the vehicle is different from the power battery used in the previous driving cycle. This situation may be caused by the power battery being replaced, or by a transmission error occurring during data transmission of the second battery identifier in the parameter management information. Therefore, the domain controller can further determine whether the initialization identifier in the parameter management information is a first value, in order to further determine the usage status of the power battery based on the initialization identifier corresponding to the power battery.
[0085] If the domain controller determines that the non-empty second battery identifier does not match the second battery identifier in the parameter management information, and the initialization identifier in the parameter management information is the first value, meaning the power battery in the current vehicle is not used, then the domain controller can determine that the power battery has been replaced. Since the power battery has been replaced but the domain controller has not, the second candidate parameter stored in the domain controller is the status parameter of another power battery used in the previous driving cycle, while the first candidate parameter stored in the power battery is a default value preset by the developers. Furthermore, since the power battery is not used at this time, the actual status parameter of the power battery is also the default value preset by the developers. In summary, the domain controller can determine the first candidate parameter in the battery information as a historical status parameter.
[0086] If the domain controller determines that the non-empty second battery identifier does not match the second battery identifier in the parameter management information, and the initialization identifier in the parameter management information is not the first value, then the domain controller can determine that the power battery replacement was incorrect or that a transmission error occurred during data transmission of the second battery identifier in the parameter management information. In this case, the domain controller can send an initialization failure command to the vehicle controller to prevent the vehicle from accessing or using the high-voltage electrical system in the power battery.
[0087] The method provided in this embodiment allows the controller to select parameters that match the historical state of the power battery, regardless of whether the domain controller and / or data acquisition controller are replaced. Therefore, the method provided in this embodiment can be applied to various scenarios and has high availability.
[0088] It should be noted that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0089] Reference Figure 5This illustration shows a schematic diagram of a parameter determination device provided in an embodiment of this application. This device can be applied to a domain controller. Specifically, the parameter determination device may include a data acquisition module 501, a parameter determination module 502, and a calculation module 503, wherein:
[0090] The acquisition module 501 is used to receive battery information sent by the acquisition controller in response to a power-on command; the battery information includes parameter management information and a first candidate parameter;
[0091] The parameter determination module 502 is used to determine historical state parameters from the first candidate parameters and the second candidate parameters stored by the domain controller according to the parameter management information; the parameter management information includes the first battery identifier corresponding to the power battery and the initialization identifier of the power battery;
[0092] The calculation module 503 is used to determine the real-time state parameters of the power battery based on the historical state parameters.
[0093] The parameter determination module can also be used to determine historical state parameters from the first candidate parameters and the second candidate parameters based on the initialization identifier in the parameter management information if the corresponding second battery identifier in the domain controller is empty; and to set the second battery identifier according to the first battery identifier in the battery information.
[0094] The parameter determination module can also be used to determine the second candidate parameter as the historical state parameter if the initialization identifier is a first value; when the initialization identifier is a first value, it indicates that the power battery is not used; if the initialization identifier is a second value, it determines the first candidate parameter as the historical state parameter; when the initialization identifier is a second value, it indicates that the power battery has been used.
[0095] The parameter determination module can also be used to determine whether the initialization identifier is a first value if the second battery identifier corresponding to the domain controller is not empty and the second battery identifier is inconsistent with the first battery identifier; when the initialization identifier is a first value, it is used to indicate that the power battery is not used; if the initialization identifier is a first value, the first candidate parameter is determined as the historical state parameter; and the second battery identifier is updated according to the first battery identifier in the battery information.
[0096] The parameter determination module can also be used to determine the first candidate parameter as the historical state parameter if the second battery identifier corresponding to the domain controller is consistent with the first battery identifier.
[0097] The arithmetic module can also be used to update the second candidate parameter based on the current real-time status parameter in response to a power-down command; and to send the real-time status parameter to the acquisition controller so that the acquisition controller updates the first candidate parameter based on the real-time status parameter.
[0098] Reference Figure 6 The diagram illustrates a parameter determination device according to an embodiment of this application, which can be applied to a data acquisition controller. Specifically, the parameter determination device may include a transmitting module 601 and a receiving module 602, wherein:
[0099] The sending module 601 is used to send battery information to the domain controller in response to a power-on command; the battery information includes first candidate parameters and parameter management information; the parameter management information includes a first battery identifier corresponding to the power battery and an initialization identifier of the power battery; the parameter management information is used by the domain controller to determine historical state parameters from the first candidate parameters and the second candidate parameters stored by the domain controller, and to determine real-time state parameters based on the historical state parameters;
[0100] The receiving module 602 is configured to receive real-time status parameters sent by the domain controller in response to a power-down command, and update the first candidate parameters based on the real-time status parameters.
[0101] As the apparatus embodiments are basically similar to the method embodiments, they are described in a relatively simple manner. For relevant details, please refer to the description in the method embodiment section.
[0102] Reference Figure 7 The diagram illustrates a controller provided in an embodiment of this application. Figure 7 As shown, the controller 700 in this embodiment includes: a processor 710, a memory 720, and a computer program 721 stored in the memory 720 and executable on the processor 710. When the processor 710 executes the computer program 721, it implements the steps of the parameter determination method in various embodiments, for example... Figure 1 The steps S201, or S202 to S204, are shown. Alternatively, when the processor 710 executes the computer program 721, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 5 The functions of modules 501 to 503 shown, or, Figure 6 The functions of modules 601 to 602 are shown.
[0103] For example, the computer program 721 can be divided into one or more modules / units, which are stored in the memory 720 and executed by the processor 710 to complete this application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which can be used to describe the execution process of the computer program 721 in the controller 700. For example, the computer program 721 can be divided into a data acquisition module, a parameter determination module, and a calculation module, with the specific functions of each module as follows:
[0104] The acquisition module is used to receive battery information sent by the acquisition controller in response to a power-on command; the battery information includes parameter management information and a first candidate parameter;
[0105] The parameter determination module is used to determine historical state parameters from the first candidate parameters and the second candidate parameters stored by the domain controller based on the parameter management information; the parameter management information includes the first battery identifier corresponding to the power battery and the initialization identifier of the power battery;
[0106] The calculation module is used to determine the real-time state parameters of the power battery based on the historical state parameters.
[0107] The controller 700 may be a domain controller or a data acquisition controller as described in the foregoing embodiments. The controller 700 may include, but is not limited to, a processor 710 and a memory 720. Those skilled in the art will understand that... Figure 7 This is merely one example of controller 700 and does not constitute a limitation on controller 700. It may include more or fewer components than shown, or combine certain components, or different components. For example, controller 700 may also include input / output devices, network access devices, buses, etc.
[0108] The processor 710 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0109] The memory 720 can be an internal storage unit of the controller 700, such as a hard disk or RAM of the controller 700. The memory 720 can also be an external storage device of the controller 700, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the controller 700. Furthermore, the memory 720 can include both internal storage units and external storage devices of the controller 700. The memory 720 is used to store the computer program 721 and other programs and data required by the controller 700. The memory 720 can also be used to temporarily store data that has been output or will be output.
[0110] This application also discloses a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the parameter determination method as described in the foregoing embodiments.
[0111] This application also discloses a computer-readable storage medium storing a computer program that, when executed by a processor, implements the parameter determination method as described in the foregoing embodiments.
[0112] This application also discloses a computer program product that, when run on a computer, causes the computer to execute the parameter determination method described in the foregoing embodiments.
[0113] The embodiments described above are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method of determining a parameter, characterized by, Applied to domain controllers, including: In response to a power-on command, the device receives battery information sent by the acquisition controller; the battery information includes parameter management information and first candidate parameters; the parameter management information includes a first battery identifier corresponding to the power battery and an initialization identifier for the power battery; Based on the parameter management information, historical state parameters are determined from the first candidate parameters and the second candidate parameters stored in the domain controller, including: if the corresponding second battery identifier in the domain controller is empty, then an initialization identifier is obtained from the parameter management information; if the initialization identifier is a first value, then the second candidate parameter is determined as the historical state parameter; when the initialization identifier is a first value, it indicates that the power battery is not used; if the initialization identifier is a second value, then the first candidate parameter is determined as the historical state parameter; when the initialization identifier is a second value, it indicates that the power battery has been used; wherein, the second battery identifier is used to represent the power battery for which the domain controller performed state parameter calculations in the previous driving cycle; if the second battery identifier corresponding to the domain controller is not empty, and the second battery identifier is inconsistent with the first battery identifier, then it is determined whether the initialization identifier is a first value; if the initialization identifier is a first value, then the first candidate parameter is determined as the historical state parameter; if the second battery identifier corresponding to the domain controller is consistent with the first battery identifier, then the first candidate parameter is determined as the historical state parameter. Update the second battery identifier according to the first battery identifier in the battery information; Based on the historical state parameters, the real-time state parameters of the power battery are determined.
2. The method according to claim 1, characterized in that, After determining the historical status parameters from the first candidate parameters and the second candidate parameters stored by the domain controller based on the parameter management information, the process includes: The second battery identifier is set according to the first battery identifier in the battery information.
3. The method according to claim 1 or 2, characterized in that, After determining the real-time state parameters of the power battery based on the historical state parameters, the process includes: In response to the power-down command, the second candidate parameter is updated based on the current real-time status parameters; The real-time status parameters are sent to the acquisition controller so that the acquisition controller updates the first candidate parameters based on the real-time status parameters.
4. A method of determining a parameter, characterized by Applied to the data acquisition controller, including: In response to a power-on command, battery information is sent to the domain controller. This battery information includes first candidate parameters and parameter management information. The parameter management information includes a first battery identifier corresponding to the power battery and an initialization identifier for the power battery. The domain controller uses the parameter management information to determine historical state parameters from the first candidate parameters and second candidate parameters stored in the domain controller, and to determine real-time state parameters based on these historical state parameters. This includes: if the corresponding second battery identifier in the domain controller is empty, obtaining the initialization identifier from the parameter management information; if the initialization identifier is a first value, determining the second candidate parameter as the historical state parameter; when the initialization identifier is a first value, it is used to indicate that the power battery... The battery is not in use; if the initialization identifier is a second value, then the first candidate parameter is determined as the historical state parameter; when the initialization identifier is a second value, it indicates that the power battery has been used; wherein, the second battery identifier is used to indicate the power battery for which the domain controller performed state parameter calculations in the previous driving cycle; if the second battery identifier corresponding to the domain controller is not empty, and the second battery identifier is inconsistent with the first battery identifier, then it is determined whether the initialization identifier is a first value; if the initialization identifier is a first value, then the first candidate parameter is determined as the historical state parameter; if the second battery identifier corresponding to the domain controller is consistent with the first battery identifier, then the first candidate parameter is determined as the historical state parameter; In response to a power-down command, the system receives real-time status parameters sent by the domain controller and updates the first candidate parameters based on the real-time status parameters.
5. An apparatus for determining a parameter, characterized by Applied to domain controllers, including: The acquisition module is used to receive battery information sent by the acquisition controller in response to a power-on command; the battery information includes parameter management information and first candidate parameters; the parameter management information includes a first battery identifier corresponding to the power battery and an initialization identifier of the power battery; A parameter determination module is used to determine historical state parameters from the first candidate parameters and the second candidate parameters stored in the domain controller based on the parameter management information. This includes: if the corresponding second battery identifier in the domain controller is empty, obtaining the initialization identifier from the parameter management information; if the initialization identifier is a first value, determining the second candidate parameter as the historical state parameter; when the initialization identifier is a first value, it indicates that the power battery is not used; if the initialization identifier is a second value, determining the first candidate parameter as the historical state parameter; when the initialization identifier is a second value, it indicates that the power battery has been used; wherein, the second battery identifier represents the power battery for which the domain controller performed state parameter calculations in the previous driving cycle; if the second battery identifier corresponding to the domain controller is not empty, and the second battery identifier is inconsistent with the first battery identifier, determining whether the initialization identifier is a first value; if the initialization identifier is a first value, determining the first candidate parameter as the historical state parameter; if the second battery identifier corresponding to the domain controller is consistent with the first battery identifier, determining the first candidate parameter as the historical state parameter. The calculation module is used to determine the real-time state parameters of the power battery based on the historical state parameters. The parameter determining device is also used to update the second battery identifier based on the first battery identifier in the battery information.
6. A controller comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the parameter determination method as described in any one of claims 1-3, or the parameter determination method as described in claim 4.
7. A vehicle characterized by comprising: include: Domain controllers and acquisition controllers; The domain controller is communicatively connected to the acquisition controller; The domain controller is used to receive battery information sent by the acquisition controller in response to a power-on command; the battery information includes parameter management information and first candidate parameters; the parameter management information includes a first battery identifier corresponding to the power battery and an initialization identifier of the power battery; Based on the parameter management information, historical state parameters are determined from the first candidate parameters and the second candidate parameters stored in the domain controller, including: if the corresponding second battery identifier in the domain controller is empty, then an initialization identifier is obtained from the parameter management information; if the initialization identifier is a first value, then the second candidate parameter is determined as the historical state parameter; when the initialization identifier is a first value, it indicates that the power battery is not used; if the initialization identifier is a second value, then the first candidate parameter is determined as the historical state parameter; when the initialization identifier is a second value, it indicates that the power battery has been used; wherein, the second battery identifier is used to represent the power battery for which the domain controller performed state parameter calculations in the previous driving cycle; if the second battery identifier corresponding to the domain controller is not empty, and the second battery identifier is inconsistent with the first battery identifier, then it is determined whether the initialization identifier is a first value; if the initialization identifier is a first value, then the first candidate parameter is determined as the historical state parameter; if the second battery identifier corresponding to the domain controller is consistent with the first battery identifier, then the first candidate parameter is determined as the historical state parameter; based on the historical state parameters, the real-time state parameters of the power battery are determined; The acquisition controller is configured to send battery information to the domain controller in response to a power-on command; and to receive real-time status parameters sent by the domain controller in response to a power-off command, and update the first candidate parameters based on the real-time status parameters.