Vehicle parameter calibration method, device, equipment, storage medium and program product

By deploying embedded devices on vehicles and resolving and updating the parameters of the on-board controller using CAN communication, the existing vehicle parameter calibration methods are solved, and a more efficient and simplified calibration process is achieved.

CN119828667APending Publication Date: 2025-04-15CHONGQING CHANGAN TECH CO LTD

Patent Information

Application Number
CN202510103513.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing vehicle parameter calibration methods are costly, inefficient, and complex in operation, making it difficult to meet the calibration requirements of complex vehicle control systems.

Method used

By deploying embedded devices with lower cost on vehicles, using CAN communication to receive and parse messages from the onboard controller, obtain relevant parameters, and update parameter values ​​through address access to achieve parameter calibration.

Benefits of technology

It reduces the cost of calibration solutions, improves scalability, simplifies calibration processes, reduces operational difficulty, and improves calibration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119828667A_ABST
    Figure CN119828667A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle parameter calibration method, device and equipment, a storage medium and a program product. The method comprises the steps that embedded equipment capable of conducting CAN communication with a vehicle-mounted controller is deployed on a vehicle, a message of the vehicle-mounted controller is received and analyzed, parameter information of the vehicle-mounted controller is obtained, the parameter information comprises the actual value of a calibration parameter in the vehicle-mounted controller, the actual value is compared with the calibration value of the calibration parameter, and the vehicle-mounted controller is determined according to the comparison result of the actual value and the calibration value of the calibration parameter. And if the comparison result is inconsistent, updating the actual value of the vehicle-mounted controller into the calibration value. Thus, the embedded device can complete the work of message analysis, parameter acquisition, calibration and the like through the thread task, so that the cost of vehicle parameter calibration can be reduced, in addition, the calibration process can be simplified, the operation difficulty can be reduced, and the calibration efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control, and in particular to a vehicle parameter calibration method, device, equipment, storage medium and program product. Background Art

[0002] Vehicle parameter calibration is an important part of the process of automobile development, which involves adjusting the parameters of the control system in the vehicle. With the development of the automobile industry, the control systems installed in vehicles are becoming more and more complex, and the difficulty and importance of vehicle parameter calibration are also increasing.

[0003] At present, vehicle parameter calibration often requires the use of professional calibration tools. Such calibration tools are expensive, have long operation cycles, are inefficient, and have poor usability in terms of parameter calibration. Summary of the invention

[0004] One of the purposes of the present invention is to provide a vehicle parameter calibration method, device, equipment, storage medium and program product to solve the problem of high cost and low efficiency of vehicle parameter calibration.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] A vehicle parameter calibration method is applied to an embedded device deployed on a vehicle, wherein the embedded device communicates with an onboard controller of the vehicle via a controller area network (CAN), and the method comprises:

[0007] Receiving a message sent by the vehicle controller through the CAN communication;

[0008] Parsing the message based on preset configuration information to obtain parameter information corresponding to the configuration information, wherein the parameter information includes actual values ​​of calibration parameters of the vehicle controller;

[0009] The actual value obtained by analysis is compared with the preset calibration value. If the comparison result is inconsistent, the actual value stored in the vehicle controller is updated to the calibration value.

[0010] Further, the configuration information includes a variable name and an address of the parameter information, and the parsing of the message based on the preset configuration information to obtain the parameter information corresponding to the configuration information includes:

[0011] Obtaining an original value of a parameter from the message according to the variable name and the address;

[0012] The original value is mapped to the actual value of the parameter in the vehicle controller according to a predefined mapping rule.

[0013] Furthermore, before comparing the actual value obtained by analysis with the preset calibration value, it also includes:

[0014] Run the server program of the preset interactive software;

[0015] The calibration value sent by the client of the interactive software is received through the server program.

[0016] Furthermore, the actual value obtained by analysis is compared with the preset calibration value, including:

[0017] Writing the parameter information into a cache area;

[0018] Writing the calibration value received by the server program into the cache area;

[0019] It is detected whether the actual value written into the cache area is consistent with the calibration value. If not, the calibration value is written into the vehicle controller according to the storage address of the actual value in the vehicle controller.

[0020] Furthermore, the vehicle parameter calibration method further includes:

[0021] If the actual value written into the cache area is inconsistent with the calibration value, the actual value stored in the cache area is modified to the calibration value.

[0022] Furthermore, the parameter information written into the cache area also includes the signal observation value of the vehicle controller, and the vehicle parameter calibration method also includes:

[0023] The server program reads the parsed parameter information from the cache area and transmits it to the client of the interactive software.

[0024] Furthermore, the client of the interactive software is used to provide an interactive interface, and the interactive interface is used to obtain the calibration value input by the user and / or to display the parameter information returned by the server of the interactive software.

[0025] A vehicle parameter calibration device is applied to an embedded device deployed on a vehicle, the embedded device communicates with an on-board controller of the vehicle via a controller area network (CAN), and the device comprises:

[0026] A message receiving module, used for receiving the message sent by the vehicle controller through the CAN communication;

[0027] A parsing module, used to parse the message based on preset configuration information to obtain parameter information corresponding to the configuration information, wherein the parameter information includes actual values ​​of calibration parameters of the vehicle controller;

[0028] The calibration module is used to compare the actual value obtained by analysis with the preset calibration value. If the comparison result is inconsistent, the actual value stored in the vehicle controller is updated to the calibration value.

[0029] An electronic device comprises: a processor, and a memory communicatively connected to the processor;

[0030] The memory stores computer-executable instructions;

[0031] The processor executes the computer-executable instructions stored in the memory to implement the vehicle parameter calibration method as described in any one of the above items.

[0032] A computer-readable storage medium comprises: the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement the vehicle parameter calibration method as described in any one of the above when executed by a processor.

[0033] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the vehicle parameter calibration method as described in any one of the above items is implemented.

[0034] The beneficial effects of the present invention are as follows: by deploying a lower-cost embedded device on a vehicle, the relevant parameters of the vehicle controller can be obtained by parsing the CAN message, and the new parameters can be written into the vehicle controller by address access and other methods to achieve parameter calibration. In this way, the processes such as message reception and parsing and parameter update are converted into thread tasks that can be executed on the embedded device through code. The use of embedded devices can not only reduce the cost of the calibration solution and improve scalability, but also simplify the calibration process, reduce the difficulty of operation, and thus improve the calibration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of an application scenario provided for an exemplary embodiment of the present invention;

[0036] Figure 2 A schematic flow chart of a vehicle parameter calibration method provided for an exemplary embodiment of the present invention;

[0037] Figure 3 A flow chart of parameter comparison provided for an exemplary embodiment of the present invention;

[0038] Figure 4 A parameter calibration flow chart provided for an exemplary embodiment of the present invention;

[0039] Figure 5 Another parameter calibration flow chart provided for an exemplary embodiment of the present invention;

[0040] Figure 6A schematic diagram of the structure of a vehicle parameter calibration device provided by an exemplary embodiment of the present invention;

[0041] Figure 7 A schematic structural diagram of an electronic device provided by an exemplary embodiment of the present invention.

[0042] Through the above drawings, clear embodiments of the present invention have been shown, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0043] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0044] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0045] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0046] The terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, product or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, product or device. In the absence of further restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For example, if the words first, second, etc. are used to indicate names, they do not indicate any particular order.

[0047] The vehicle control system involves many parameters, and parameter calibration can adjust these parameters to improve vehicle performance. Especially with the development of new energy and intelligent driving technologies, the vehicle control system is becoming more and more complex, and vehicle parameter calibration is becoming more and more important.

[0048] At present, the calibration of vehicle parameters often requires the help of professional calibration tools. These tools are not only costly, but also require a lot of work to calibrate vehicle parameters, which is time-consuming and inefficient. The operation process is complicated, and it takes a lot of time to learn and use these tools.

[0049] The inventors found that the above calibration method is costly and inefficient because it requires the use of multiple devices, which are costly, and the calibration process based on these devices involves complicated and cumbersome operation procedures, which are difficult, resulting in a lot of effort required for learning and using. The inventors therefore thought that a new parameter calibration method could be designed based on lower-cost equipment to simplify the calibration operation, reduce the difficulty of calibration, and thus improve the efficiency of calibration.

[0050] Based on this, the present invention provides a vehicle parameter calibration method, device, equipment, storage medium and program product. By deploying a lower-cost embedded device on the vehicle, the message of the vehicle controller is received based on the vehicle's CAN communication system and the storage space of the vehicle controller is accessed. The relevant parameters of the vehicle controller can be obtained by parsing the message. If the parameters need to be updated, the new parameters can be written into the vehicle controller through address access and other methods to achieve parameter calibration. In this way, the processes such as message reception and parsing and parameter update are converted into thread tasks that can be executed on the embedded device through code. The use of embedded devices can not only reduce the cost of the calibration solution and improve scalability, but also simplify the calibration process, reduce the difficulty of operation, and thus improve the calibration efficiency.

[0051] Figure 1 A schematic diagram of an application scenario provided by the present invention. Figure 1 As shown, an embedded device can be deployed on a vehicle, and the embedded device can communicate with the vehicle's controller via the controller area network CAN. The embedded device has a data processing function and can implement functions such as message reception and parsing by executing code.

[0052] The application scenarios mentioned above are only some examples. Those skilled in the art can expand the application to specific business scenarios, and the embodiments of this application do not impose specific limitations on this. Figure 1 For application scenarios, refer to Figures 2 to 6 A vehicle parameter calibration method according to an exemplary embodiment of the present invention is described.

[0053] Figure 2FIG. 1 is a flow chart of a vehicle parameter calibration method provided by an exemplary embodiment of the present invention. Figure 2 As shown, the method may include:

[0054] Step S201, receiving a message sent by a vehicle controller through CAN communication.

[0055] The vehicle parameter calibration method of the embodiment of the present invention can be applied to an embedded device deployed on a vehicle, and the embedded device can communicate with the vehicle's onboard controller via a controller area network (CAN).

[0056] Among them, CAN (Controller Area Network) is a serial communication network that can support distributed control systems. CAN communication can include communication through controller area network-based buses such as the CAN protocol and the CANFD (CAN with Flexible Datarate) protocol.

[0057] Specifically, the vehicle-mounted controller may be connected to an embedded device pre-installed with a relevant program via a CAN bus, and the embedded device may receive a CAN message or a CANFD message from the vehicle-mounted controller.

[0058] Step S202: parse the message based on the preset configuration information to obtain parameter information corresponding to the configuration information.

[0059] The parameter information includes the actual value of the calibration parameters of the vehicle controller. The calibration parameters may include parameters related to the operation of the vehicle control system, etc.

[0060] Specifically, the configuration information may include the variable name and address of the parameter information. After the embedded device obtains the message from the vehicle controller, it can obtain the original value of the parameter from the message according to the variable name and address, and map the original value to the actual value of the parameter in the vehicle controller according to the predefined mapping rules.

[0061] Step S203, comparing the actual value obtained by analysis with the preset calibration value, if the comparison result is inconsistent, updating the actual value stored in the vehicle controller to the calibration value.

[0062] Specifically, the calibration value of the calibration parameter can be obtained, and the calibration value can be compared with the actual value of the calibration parameter parsed from the message. If the calibration value is consistent with the actual value, the calibration parameter of the vehicle controller can be left unchanged. If the calibration value is inconsistent with the actual value, the value of the calibration parameter in the vehicle controller can be modified to the obtained calibration value through address access and other methods.

[0063] In some possible implementations, obtaining the calibration value of the calibration parameter may be achieved by reading a configuration file. The configuration file may be pre-stored in the embedded device, or the configuration file may be placed in a storage tool such as a TF card and inserted into the embedded device.

[0064] In some possible implementations, the embedded device may also receive calibration values ​​delivered by a third party such as a Web service.

[0065] The vehicle parameter calibration method provided in this embodiment can communicate with the vehicle controller through CAN by deploying an embedded device on the vehicle, receive and parse the message of the vehicle controller, obtain the parameter information of the vehicle controller, and the parameter information includes the actual value of the calibration parameter in the vehicle controller, and compare the actual value with the calibration value of the calibration parameter. If the comparison is inconsistent, the actual value of the vehicle controller is updated to the calibration value. In this way, the embedded device can complete the tasks of message parsing, parameter acquisition and calibration through thread tasks, so that the cost of vehicle parameter calibration can be reduced. In addition, the calibration process can be simplified, the operation difficulty can be reduced, and the calibration efficiency can be improved.

[0066] The embodiment of the present invention also provides a specific calibration solution based on embedded devices, which may include device selection, program development, interface interaction and result feedback, etc. It supports image interface interaction and visual display, which can reduce the difficulty of operation and improve the calibration efficiency.

[0067] Exemplarily, the embedded device can select a Raspberry Pi device, and pre-make an operating system and related programs used by the Raspberry Pi device on a computer. Then, the operating system and programs are installed on the Raspberry Pi device using a storage tool such as a TF card (Trans-flash, a portable memory card), so that the Raspberry Pi device has a development environment that can support related protocols such as XCP (CAN Calibration Protocol).

[0068] For example, before development, the controller for sending and receiving CAN messages in the vehicle can be connected through a CAN cable to perform message sending and receiving tests. Tools such as TSMaster can be used to simulate the sending and receiving of XCP CAN messages. If normal CAN (CANFD) messages can be observed on TSMaster, it can be considered that the message test has passed.

[0069] For example, for an embedded device deployed on a vehicle, a communication terminal program for exchanging data with an onboard controller may be developed.

[0070] For example, first, based on Python, XCP and other related technologies, a CAN communication connection request between the embedded device and the controller can be established, and the configuration (such as configuring DAQ parameters, etc.) can be performed according to the parameter information obtained from the controller as needed.

[0071] Then, you can write code to implement functions such as CAN message reception, parameter parsing, data processing, and parameter calibration. According to the configured signal variable name and address, parse the message to obtain the corresponding signal and original value that needs to be obtained. Then perform data preprocessing, check each signal value, and process the original data read by address to obtain the true value of the signal according to the calculation rules defined by the data and the storage rules in the computer. According to the calibration value of the calibration parameter, write it into the controller through address access and other methods to complete the calibration.

[0072] For example, for embedded devices deployed on vehicles, interactive software can also be developed to obtain parameters and feedback results from the outside. The interactive software can include a server and a client. The server can run on the embedded device, and the client can run on an external device (such as a computer or other electronic device used by the calibration personnel).

[0073] In one embodiment, before comparing the actual value obtained by analysis with the preset calibration value, the method further includes:

[0074] S2021, running the server program of the preset interactive software.

[0075] S2022, receiving the calibration value sent by the client of the interactive software through the server program.

[0076] The interactive software may be developed based on an embedded device as in the above example.

[0077] Optionally, the client of the interactive software is used to provide an interactive interface, and the interactive interface is used to obtain a calibration value input by a user and / or to display parameter information returned by the server of the interactive software.

[0078] The client program development includes a GUI (Graphical User Interface) interactive interface, which can be implemented based on HTML and JavaScript. The interactive interface can be used to implement multiple functions, such as parameter display and calibration, etc. The interface can provide a modification interface for calibration parameters to facilitate user parameter calibration.

[0079] The program development on the server side can include the construction of the GUI interface backend business, which can be implemented using the Django framework, and on this basis, the business functions such as address resolution, page mapping, cache reading and writing, and data transmission are developed. Among them, address resolution and page mapping are to configure the access path to map to the specific client HTML page.

[0080] In one embodiment, Figure 3As shown, the actual value obtained by analysis is compared with the preset calibration value, including:

[0081] Step S301, writing parameter information into the cache area.

[0082] The cache area may be a built-in cache of the embedded device. The embedded device may use Redis as a cache database.

[0083] Step S302, writing the calibration value received by the server program into the cache area.

[0084] Step S303, detecting whether the actual value written into the cache area is consistent with the calibration value, if not, writing the calibration value into the vehicle controller according to the storage address of the actual value in the vehicle controller.

[0085] Exemplarily, the communication end program running on the embedded device can write the parameter information parsed from the message (including the actual value of the calibrated parameter in the controller) into the cache area, and the server end program of the interactive software running on the embedded device can write the calibration value of the calibration parameter transmitted by the client program into the cache area. The communication end program can read the actual value and the calibration value from the cache area for comparison. If the actual value is inconsistent with the calibration value, the communication end program can access the storage space of the vehicle controller, update it according to the storage address of the actual value of the calibration parameter, and replace the original actual value with the calibration value.

[0086] In some possible implementations, such as Figure 3 As shown, after detecting whether the actual value written into the cache area is consistent with the calibration value, the following steps may also be included:

[0087] Step S304: if the actual value written into the cache area is inconsistent with the calibration value, the actual value stored in the cache area is modified to the calibration value.

[0088] Exemplarily, the cache area may include a first area and a second area. The first area may be used to store actual values ​​of calibration parameters in the vehicle controller parsed from the message, and the second area may be used to store calibration values ​​of the calibration parameters transmitted from the interactive software client. If the communication end program detects that the actual value is inconsistent with the calibration value, the actual value stored in the first area may be changed to the calibration value.

[0089] In the above embodiment, when the actual value of the calibration parameter in the vehicle controller is inconsistent with the calibration value, the vehicle controller can be accessed to use the calibration value to update the original actual value, so as to achieve the purpose of parameter calibration. In addition, if the actual value is inconsistent with the calibration value, the actual value originally stored in the cache area of ​​the embedded device can also be updated, so that the actual value stored in the cache area is consistent with the actual value updated by the vehicle controller. In this way, when a new calibration value is obtained and needs to be compared, there is no need to obtain the actual value of the message parsing from the vehicle controller again, but the actual value can be directly read from the cache area for comparison with the new calibration value, thereby improving efficiency.

[0090] Figure 4 A parameter calibration flow chart is provided for an exemplary embodiment of the present invention. Figure 4 As shown, the calibration involves the vehicle controller, embedded device and external device. The embedded device can run the communication end program and the server end program of the interactive software, and the external device can run the client end of the interactive software. The vehicle controller and the embedded device can communicate based on CAN, and the data interaction between the communication end and the server end can be realized through read-write cache.

[0091] See also Figure 4 , the client can provide a GUI interactive interface based on the display screen of the external device, and the user can input the calibration value of the parameter through the interface. The client can transmit the calibration value input by the user to the server running on the embedded device through POST request and other methods. The server responds to the request and writes the calibration value to the cache area of ​​the embedded device. The communication end can be responsible for receiving and parsing the message of the vehicle controller. After parsing, parameter information can be obtained. The parameter information includes the actual value of the calibration parameter in the vehicle controller. The communication end can write the actual value into the cache area, and can compare the newly written actual value and calibration value in the cache area through a scheduled task. If the two are different, the vehicle controller can be accessed to update the actual value in the vehicle controller, and the actual value in the cache can also be updated. When the actual value in the cache is updated, the server can read the updated actual value and transmit it to the client, and the client can display the updated actual value to the user through the interactive interface.

[0092] It is understandable that there are two ways to update the actual value stored in the cache of an embedded device. One is that the communication end parses the message to obtain the new actual value and writes it into the cache to achieve the update. The other is to find through comparison that the actual value in the cache is different from the calibration value returned by the server, and use the calibration value to update the actual value stored in the cache.

[0093] In one embodiment, the parameter information written into the cache area may also include signal observation values ​​of the vehicle controller, and the vehicle parameter calibration method further includes: reading the parsed parameter information from the cache area through a server program and transmitting it to the client of the interactive software.

[0094] The signal observation value may include relevant observation data on the vehicle side, such as temperature, vehicle speed, direction angle and other data collected by the vehicle's sensors.

[0095] See also Figure 5 , Figure 5 Another parameter calibration flow chart provided for an exemplary embodiment of the present invention. Figure 5 As shown, the vehicle parameter calibration method provided by the embodiment of the present invention, through the embedded device to parse the message of the vehicle controller to obtain parameter information, in addition to the calibration parameters, can also include the vehicle's temperature, speed and direction angle and other signal observation values, the communication end can write the calibration parameters, signal observation values ​​and other parameter information obtained by parsing into the cache. The client can generate a corresponding request based on the user's operation on the interactive interface, and the request can be used to instruct the server to return the parameter information required by the user (such as temperature and other signal observation values). After receiving the client's request, the server can read the corresponding parameter information (such as temperature and other signal observation values) from the cache of the embedded device according to the request content and return it to the client, and the client can visualize the parameter information returned by the server.

[0096] Based on the calibration scheme provided by the embodiment of the present invention, the low cost and strong scalability of embedded devices can be fully utilized, and with the help of technologies such as XCP and CAN, the problems of parameter calibration and signal observation involved in automobile development can be solved. The operation and data interaction of various programs in the embedded device can be realized through multi-threaded tasks and cache mechanisms, further improving the operation efficiency and stability of the program. In addition, the scheme of the present invention has a high expansion capability, and can realize automatic update of signal parameters by improving the computing power of hardware devices and developing automated scripts.

[0097] Figure 6 The schematic diagram of the structure of a vehicle parameter calibration device provided by an exemplary embodiment of the present invention. The device can be applied to an embedded device deployed on a vehicle, and the embedded device communicates with the vehicle controller of the vehicle via a controller area network CAN, such as Figure 6 As shown, the vehicle parameter calibration device 600 may include:

[0098] The message receiving module 601 is used to receive the message sent by the vehicle controller through the CAN communication.

[0099] The parsing module 602 is used to parse the message based on preset configuration information to obtain parameter information corresponding to the configuration information, wherein the parameter information includes actual values ​​of calibration parameters of the vehicle-mounted controller.

[0100] The calibration module 603 is used to compare the actual value obtained by analysis with the preset calibration value. If the comparison result is inconsistent, the actual value stored in the vehicle controller is updated to the calibration value.

[0101] In one embodiment, the configuration information includes the variable name and address of the parameter information, and the parsing module 602 is also used to: obtain the original value of the parameter from the message according to the variable name and the address; and map the original value to the actual value of the parameter in the vehicle controller according to a predefined mapping rule.

[0102] In one embodiment, the calibration module 603 is further used to: run a preset server program of the interactive software; and receive the calibration value sent by the client of the interactive software through the server program.

[0103] In one embodiment, the calibration module 603 is also used to: write the parameter information into a cache area; write the calibration value received by the server program into the cache area; detect whether the actual value written into the cache area is consistent with the calibration value, and if not, write the calibration value into the vehicle controller according to the storage address of the actual value in the vehicle controller.

[0104] In one embodiment, the calibration module 603 is further configured to: when the actual value written into the cache area is inconsistent with the calibration value, modify the actual value stored in the cache area to the calibration value.

[0105] In one embodiment, the parameter information written into the cache area also includes the signal observation value of the vehicle controller, and the calibration module 603 is also used to: read the parsed parameter information from the cache area through the server program and transmit it to the client of the interactive software.

[0106] In one embodiment, the client of the interactive software is used to provide an interactive interface, and the interactive interface is used to obtain a calibration value input by a user and / or to display parameter information returned by the server of the interactive software.

[0107] The vehicle parameter calibration device provided in this embodiment is used to execute the technical solution in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0108] It should be understood that the above device embodiments are only illustrative, and the device of the present invention can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0109] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present invention may be integrated into one unit / module, or each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0110] Figure 7 FIG. 1 is a schematic diagram of a structure of an electronic device provided by an exemplary embodiment of the present invention. Figure 7 As shown, the electronic device 70 includes:

[0111] Processor 71, memory 72, and communication interface 73;

[0112] The memory 72 is used to store executable instructions of the processor 71; the executable instructions may be computer-executable instructions;

[0113] The processor 71 is configured to execute the technical solution in any of the aforementioned method embodiments by executing the executable instructions.

[0114] Optionally, the memory 72 can be independent or integrated with the processor 71.

[0115] Optionally, when the memory 72 is a device independent of the processor 71, the electronic device 70 may further include:

[0116] The bus 74 , the memory 72 and the communication interface 73 are connected to the processor 71 via the bus 74 and communicate with each other. The communication interface 73 is used to communicate with other devices.

[0117] Optionally, the communication interface 73 may be implemented by a transceiver. The communication interface is used to implement communication between the database access device and other devices (such as a client, a read-write library, and a read-only library). The memory may include a random access memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.

[0118] The bus 74 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0119] The above-mentioned processor can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be 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, discrete hardware components.

[0120] The electronic device is used to execute the technical solution in any of the aforementioned method embodiments, and its implementation principle and technical effect are similar and will not be repeated here.

[0121] An embodiment of the present invention further provides a readable storage medium, which may be a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the technical solution provided by any of the aforementioned method embodiments is implemented.

[0122] An embodiment of the present invention further provides a computer program product, including a computer program, which is used to implement the technical solution provided by any of the aforementioned method embodiments when executed by a processor.

[0123] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0124] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0125] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention is indicated by the following claims.

[0126] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.

Claims

1. A vehicle parameter calibration method, characterized in that: Applied to an embedded device deployed on a vehicle, the embedded device communicates with an onboard controller of the vehicle via a controller area network (CAN), and the vehicle parameter calibration method comprises: Receiving a message sent by the vehicle controller through the CAN communication; Parsing the message based on preset configuration information to obtain parameter information corresponding to the configuration information, wherein the parameter information includes actual values ​​of calibration parameters of the vehicle controller; The actual value obtained by analysis is compared with the preset calibration value. If the comparison result is inconsistent, the actual value stored in the vehicle controller is updated to the calibration value.

2. The vehicle parameter calibration method according to claim 1, characterized in that: The configuration information includes a variable name and an address of parameter information, and the message is parsed based on the preset configuration information to obtain parameter information corresponding to the configuration information, including: Obtaining an original value of a parameter from the message according to the variable name and the address; The original value is mapped to the actual value of the parameter in the vehicle controller according to a predefined mapping rule.

3. The vehicle parameter calibration method according to claim 1 or 2, characterized in that: Before comparing the actual value obtained by analysis with the preset calibration value, it also includes: Run the server program of the preset interactive software; The calibration value sent by the client of the interactive software is received through the server program.

4. The vehicle parameter calibration method according to claim 3, characterized in that: The actual value obtained by analysis is compared with the preset calibration value, including: Writing the parameter information into a cache area; Writing the calibration value received by the server program into the cache area; It is detected whether the actual value written into the cache area is consistent with the calibration value. If not, the calibration value is written into the vehicle controller according to the storage address of the actual value in the vehicle controller.

5. The vehicle parameter calibration method according to claim 4, characterized in that: The vehicle parameter calibration method further includes: If the actual value written into the cache area is inconsistent with the calibration value, the actual value stored in the cache area is modified to the calibration value.

6. The vehicle parameter calibration method according to claim 4, characterized in that: The parameter information written into the cache area also includes the signal observation value of the vehicle controller, and the vehicle parameter calibration method also includes: The server program reads the parsed parameter information from the cache area and transmits it to the client of the interactive software.

7. The vehicle parameter calibration method according to claim 6, characterized in that: The client of the interactive software is used to provide an interactive interface, and the interactive interface is used to obtain the calibration value input by the user and / or to display the parameter information returned by the server of the interactive software.

8. A vehicle parameter calibration device, characterized in that: The device is applied to an embedded device deployed on a vehicle, wherein the embedded device communicates with an onboard controller of the vehicle via a controller area network (CAN), and the device comprises: A message receiving module, used for receiving the message sent by the vehicle controller through the CAN communication; A parsing module, used to parse the message based on preset configuration information to obtain parameter information corresponding to the configuration information, wherein the parameter information includes actual values ​​of calibration parameters of the vehicle controller; The calibration module is used to compare the actual value obtained by analysis with the preset calibration value. If the comparison result is inconsistent, the actual value stored in the vehicle controller is updated to the calibration value.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

11. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.

Citation Information

Patent Citations

  • Marking device general for vehicle electronic control unit

    CN101332818A

  • Method and upper computer for calibrating parameter of vehicle-mounted controller

    CN102096411A

  • Portable engine data standardization recording method and device

    CN102507195A

  • Power parameter calibration and debugging device for electric vehicle controller

    CN110554686A

  • Vehicle state parameter remote calibration device for new energy bus

    CN111301320A

Cited By

  • Vehicle thermal management calibration system and method, vehicle and electronic equipment

    CN120260157A