Remote calibration system, method, equipment and medium

By providing a remote calibration system before the vehicle leaves the factory, using cloud servers and calibration equipment with networking functions, the existing wireless calibration solutions are solved to meet the restricted scenarios, and remote calibration of the vehicle ECU is realized, and applicable scenarios are broadened.

CN120017676AActive Publication Date: 2025-05-16CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510290767.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-12
Publication Date
2025-05-16
Estimated Expiration
2045-03-12

AI Technical Summary

Technical Problem

The existing wireless calibration solutions are limited in adapting to scenarios and are only suitable for vehicles with networking functions. Remote calibration cannot be performed before the vehicle leaves the factory.

Method used

A remote calibration system is provided, including an electronic control unit ECU, a cloud server and a calibration device with networking functions. The cloud server sends calibration data to the calibration device. The calibration device encapsulates the data into a specific format and sends it to the ECU to realize remote calibration of the ECU.

Benefits of technology

Communication between the ECU and the cloud server can be achieved without relying on the SIM card in the vehicle, which broadens the applicable scenarios of wireless remote calibration and allows remote calibration before the vehicle leaves the factory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017676A_ABST
    Figure CN120017676A_ABST
Patent Text Reader

Abstract

The invention discloses a remote calibration system, method and device and a medium, and is applied to the technical field of vehicles. The system comprises an electronic control unit (ECU), a cloud server and calibration equipment with a networking function, the cloud server is used for sending the first calibration data to the calibration equipment; the calibration equipment is used for packaging the first calibration data into a first format after receiving the first calibration data and then sending the first calibration data to the ECU, and the first format is a data format for communication between the calibration equipment and the ECU; and the ECU is used for carrying out calibration according to the first calibration data. The calibration device in the calibration system serves as a bridge for communication between the cloud server and the ECU, communication between the ECU and the cloud server can be achieved without depending on an SIM in the vehicle, even if the vehicle does not have a networking function, remote calibration of the ECU of the vehicle can be achieved, and therefore the adaptive scene of remote calibration of the ECU of the vehicle is widened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a remote calibration system, method, device and medium. Background Art

[0002] With the development of vehicle technology, the number of Electronic Control Units (ECUs) is increasing. In order to ensure that all vehicle components reach optimal performance before leaving the factory, OEMs need to invest a lot of manpower to measure and calibrate the vehicle's ECU during the R&D and testing stages.

[0003] The current calibration solutions mainly include wired calibration and wireless calibration. In wired calibration, calibration engineers need to communicate with each vehicle on-site one-on-one to gradually complete the measurement and calibration of the ECU. This method limits the calibration efficiency. Although wireless calibration can improve calibration efficiency, it needs to rely on the vehicle's networking function.

[0004] Calibration usually occurs before the vehicle leaves the factory. Before the vehicle leaves the factory, the SIM card of the vehicle is not activated and the vehicle does not have the Internet connection function. Therefore, the current wireless calibration solution is limited in its application scenarios and is only applicable to vehicles with Internet connection functions. Summary of the invention

[0005] The present application provides a remote calibration system, method, device and medium, which can broaden the application scenarios of wireless calibration solutions.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions: In a first aspect, the present application provides a remote calibration system, the system comprising: an electronic control unit ECU, a cloud server and a calibration device with networking function; The cloud server is used to send the first calibration data to the calibration device; The calibration device is used for, after receiving the first calibration data, encapsulating the first calibration data into a first format and sending the first calibration data to the ECU, where the first format is a data format for the calibration device to communicate with the ECU; The ECU is used to perform calibration according to the first calibration data.

[0007] In one of the embodiments, the calibration device is further used to obtain first address information of the parameter to be calibrated of the ECU and a first initial value corresponding to the first address information, and send the first address information and the first initial value to the cloud server; The cloud server is further used to determine a first target address from the first address information according to a difference between the first initial value and the first calibration value, and to determine first calibration data according to the first target address and a first target value corresponding to the first target address.

[0008] In one of the embodiments, the cloud server is specifically used to encrypt the first target address and the first target value using a first public key corresponding to the ECU to obtain first calibration data; The ECU specifically uses the first private key to decrypt the first calibration data to obtain the first target address and the first target value, and performs calibration according to the first target address and the first target value, wherein the first private key and the first public key form a key pair.

[0009] In one of the embodiments, the calibration device is further used to send a first identifier of the calibration device to a cloud server; The cloud server is specifically configured to send the first calibration data to the calibration device when the first identifier matches in a preset database.

[0010] In one embodiment, the calibration device is further used to send an authentication information acquisition request to a cloud server, wherein the authentication information acquisition request includes the second identifier of the ECU; The cloud server is further configured to encrypt the authentication information using the second public key corresponding to the second identifier to obtain first encrypted data, and send the first encrypted data to the calibration device; The calibration device is further used to send the first encrypted data to the ECU; The ECU is specifically used to decrypt the first encrypted data using the second private key to obtain the authentication information, perform security authentication using the authentication information, and perform calibration according to the first calibration data when the authentication passes.

[0011] In one of the embodiments, the ECU is further configured to send calibration failure information to the calibration device in case of calibration failure; The calibration device is further used to forward the calibration failure information to the cloud server; The cloud server is further configured to generate first backup information according to the first address information and the first initial value after receiving the calibration failure information, and send the first backup information to the calibration device; The calibration device is further used to encapsulate the first backup information into the first format and then send it to the ECU; The ECU is further used to restore data according to the first backup information.

[0012] In one of the embodiments, the ECU is further used to send an error code to the calibration device, wherein the error code is used to indicate a reason for calibration failure; The calibration device transmits the error code to the cloud server.

[0013] In a second aspect, the present application provides a remote calibration method, which is applied to a calibration device with networking function, including: Receiving first calibration data sent by the cloud server; After receiving the first calibration data, the first calibration data is encapsulated into a first format and sent to the ECU, so that the ECU performs calibration according to the first calibration data, wherein the first format is a data format for communication between the calibration device and the ECU.

[0014] In a third aspect, the present application provides a computing device, including a memory and a processor; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method as described in any one of the first aspects.

[0015] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method as described in any one of the first aspects.

[0016] It can be seen from the above technical solution that the present application has at least the following beneficial effects: The present application provides a remote calibration system, which includes an electronic control unit ECU, a cloud server and a calibration device with networking function; the cloud server is used to send first calibration data to the calibration device; the calibration device is used to encapsulate the first calibration data into a first format after receiving the first calibration data and send it to the ECU, and the first format is a data format for communication between the calibration device and the ECU; the ECU is used to calibrate according to the first calibration data. The calibration device with networking function in the above calibration system acts as a bridge for communication between the cloud server and the ECU. It can realize the communication between the ECU and the cloud server without relying on the SIM in the vehicle. Even if the vehicle does not have the networking function, the ECU of the vehicle can be remotely calibrated, thereby broadening the applicable scenarios for wireless remote calibration of the vehicle's ECU.

[0017] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a structural schematic diagram of a remote calibration system; Figure 2 A communication link schematic diagram of a remote calibration system; Figure 3 A schematic diagram of generating a key; Figure 4 A signaling diagram for remotely calibrating a vehicle's ECU; Figure 5 A flowchart of a remote calibration method is shown; Figure 6 A schematic diagram of a computing device. DETAILED DESCRIPTION

[0019] The terms "first", "second", "third", etc. in the specification of this application and the accompanying drawings are used to distinguish different objects rather than to limit a specific order.

[0020] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0021] In order to make the description of the following embodiments clear and concise, a brief introduction to the related technology is first given: ECU is a miniature computer management center. It takes signal (data) collection, calculation, analysis and judgment, and decision-making as input, and then issues control instructions and directs the actuator to work as output. Sometimes, it also provides stable power supply or reference voltage to the sensor. All its functions are completed through the sum of various hardware and software, and its core is a microcomputer system with a single-chip microcomputer as the main body.

[0022] Controller Area Network (CAN) is a vehicle bus standard that allows microcontrollers and devices to communicate without a host computer. It is widely used in the automotive industry to connect various electronic control units (ECUs) in cars. The CAN communication protocol supports distributed control systems and has the advantages of high real-time performance, strong anti-interference ability, long transmission distance, and low cost.

[0023] CAN Calibration Protocol (CCP) is an integral part of the Association for Standardization of Automation and Measuring Systems (ASAP) standard and belongs to the ASAP1a specification. It is an ECU calibration protocol specification based on the CAN bus. It is mainly used for the calibration of automotive electronic control units, and performs data communication through the CAN communication interface to achieve ECU matching calibration.

[0024] The Message Queuing Telemetry Transport (MQTT) protocol is a lightweight, publish / subscribe messaging protocol that is particularly suitable for device communications in low-bandwidth, high-latency, or unstable network environments. The protocol has the characteristics of timely and efficient message push, and supports QoS (quality of service) levels to ensure reliable message transmission.

[0025] Microcontroller or single-chip microcomputer (MCU) is a chip-level computer that appropriately reduces the frequency and specifications of the CPU, and integrates peripheral interfaces such as memory, timer, USB, A / D conversion, UART, PLC, DMA, and even LCD driver circuits on a single chip to achieve the terminal control function. It has the advantages of high performance, low power consumption, programmability, and high flexibility.

[0026] The vehicle SIM card, SIM card, or Subscriber Identity Module, is a small integrated circuit card built into the car, also known as a smart card. This card usually stores the user's identity information, as well as important data such as encrypted keys. It enables the vehicle to connect to the mobile communication network, thereby realizing modern car functions such as real-time navigation, remote diagnosis, emergency services, etc.

[0027] Bluetooth Low Energy (BLE), also known as low-power Bluetooth, aims to significantly reduce power consumption and cost while maintaining the same communication range.

[0028] Controller Area Network (CAN) is a serial communication protocol used in automobiles and other industrial environments. It allows microcontrollers and devices to communicate with each other without a host computer, and has the advantages of strong real-time performance, long transmission distance, strong anti-electromagnetic interference ability, and low cost.

[0029] A message authentication code (MAC) is a code generated by a specific algorithm to verify the integrity and authenticity of information. It is usually used in conjunction with encryption technology to ensure the confidentiality, integrity and authenticity of information.

[0030] Transmission Control Protocol (TCP) is a connection-oriented, reliable, byte-stream-based transport layer communication protocol. It can provide a reliable transport layer on the unreliable IP network layer and provide a reliable, connection-oriented communication channel for communication between two computers.

[0031] Before introducing the remote calibration system provided in the embodiment of the present application, the relevant background is first introduced.

[0032] With the development of vehicle technology, the number of ECUs is increasing. In order to ensure that all components of the vehicle reach the best performance before leaving the factory, the OEM needs to invest a lot of manpower to measure and calibrate the vehicle's ECU during the R&D and testing stages.

[0033] The current calibration solutions mainly include wired calibration and wireless calibration. In wired calibration, the calibration engineer needs to communicate with each vehicle on site one-on-one to gradually complete the measurement and calibration of the ECU, which limits the calibration efficiency. Although the wireless calibration solution can improve the calibration efficiency, it needs to rely on the vehicle's networking function.

[0034] Calibration usually occurs before the vehicle leaves the factory. Before the vehicle leaves the factory, the SIM card of the vehicle is not activated and the vehicle does not have the networking function. Therefore, the current wireless calibration solution is limited in its application scenarios and is only applicable to vehicles with networking functions.

[0035] Based on this, an embodiment of the present application provides a remote calibration system, which includes an electronic control unit ECU, a cloud server and a calibration device with networking function; the cloud server is used to send first calibration data to the calibration device; the calibration device is used to encapsulate the first calibration data into a first format after receiving the first calibration data and send it to the ECU, and the first format is a data format for communication between the calibration device and the ECU; the ECU is used to calibrate according to the first calibration data. The calibration device in the above calibration system acts as a bridge for communication between the cloud server and the ECU. The communication between the ECU and the cloud server can be realized without relying on the SIM in the vehicle. Even if the vehicle does not have the networking function, the ECU of the vehicle can be remotely calibrated, thereby broadening the adaptation scenarios of remote calibration of the vehicle's ECU.

[0036] Next, the remote calibration system provided in the embodiment of the present application is introduced in detail.

[0037] See also Figure 1 , Figure 1 A structural schematic diagram of a remote calibration system is provided. Figure 1 The figure shows that the remote calibration system includes an ECU, a cloud server and a calibration device with networking function. The cloud server can communicate with the calibration device through the network, and the calibration device can communicate with the ECU based on Ethernet or CAN channel.

[0038] In some optional implementations, the calibration device may be a device with an in-vehicle SIM card. The cloud server communicates with the calibration device through a network, which may be provided by the in-vehicle SIM card, and connects to the cloud server through the MQTT protocol to control custom components and upload and send data information, wherein the cloud server may be existing or independently developed. The calibration device communicates with the cloud server through the MQTT protocol.

[0039] In some optional implementations, the calibration device may also be a combination of a calibration box and a terminal device, and the terminal device is a device that can provide WiFi, for example, a mobile phone, a watch, etc. The cloud server communicates with the calibration device through a network, which may be connected to WiFi through a wireless network (Wireless Fidelity, WiFi) module added to the MCU device on the calibration box. For example, the terminal device may be connected to the cloud server through the WiFi module, and the terminal device may be connected to the cloud server, thereby realizing the communication connection between the cloud server and the calibration device.

[0040] For example, see Figure 2 , Figure 2 A communication link schematic diagram of a remote calibration system is provided. Figure 2 The communication link of the remote calibration system is shown to include the cloud, calibration box, terminal device and ECU.

[0041] Taking the calibration equipment as a combination of a calibration box and a terminal device as an example, the calibration box mainly includes an uplink communication module, a central control module, a downlink communication module and a BLE module. Among them, the uplink communication module is mainly responsible for the reception and transmission of Bluetooth control instructions and business data, and after completing the parsing and encapsulation of Bluetooth control instructions and business data, it will hand over the valid information to the central control module for classification and processing. The central control module is mainly responsible for the processing of the business classification corresponding to the valid information, and for sending configuration parameters to the downlink communication module. The downlink communication module is mainly responsible for the operation control of the CAN port, and for sending and receiving communication data processed by business logic requirements through the CCP protocol. The BLE module is mainly responsible for the connection between the terminal device hotspot and the calibration box, as well as the management of the WiFi account password, to ensure that the calibration box is online before the cloud server officially performs ECU calibration, and sends the online or offline information of the calibration box to the terminal device in the form of a heartbeat packet, and then the terminal device displays the status of the calibration box in real time.

[0042] Exemplarily, during the remote calibration of the ECU of a vehicle, the data types transmitted in the communication link may include control instructions, data streams, and CCP data.

[0043] The control command can be initiated by the cloud server, and the control command is transmitted in sequence to the terminal device, the BLE module of the calibration box, the uplink communication module of the calibration box (parsing the control command), the central control module of the calibration box (classifying and issuing the service), and the downlink communication module of the calibration box (starting the CAN port and processing the CPP service).

[0044] After the control command successfully configures the CCP service on the CAN port of the calibration box, the calibration data in the CCP protocol format is sent through the data stream. The calibration data is initiated by the cloud server and transmitted to the terminal device, the BLE module of the calibration box, the uplink communication module of the calibration box, and the downlink communication module of the calibration box in sequence (adding or removing the CAN message header of the CCP protocol).

[0045] CCP data is the data transmitted between the calibration box and the ECU based on the CAN channel.

[0046] For example, the process of remotely calibrating the vehicle's ECU can be divided into four stages: Phase 1: The connection between the calibration box and the cloud server.

[0047] The cloud server and the terminal device communicate and connect via the MQTT protocol, and the terminal can initiate a Bluetooth connection with the calibration box according to the Bluetooth name of the calibration box, and enter the password to connect the terminal with the punctuation device and the cloud server, and then connect the calibration box with the cloud server. Optionally, the password for the Bluetooth connection between the calibration box and the terminal can use the password configured for connecting to the cloud server.

[0048] Phase 2: Calibration box and terminal equipment security certification phase.

[0049] In order to enhance the security of communication, the calibration box and the terminal device can be authenticated. Optionally, the AES128-CBC encryption algorithm can be used to encrypt the transmitted data, where the key can be implemented in the following ways: See also Figure 3 , Figure 3 A schematic diagram of key generation is provided. First, a 48-bit MAC can be obtained and the MAC can be split into four 12-bit elements, namely A1, A2, A3, and A4.

[0050] Furthermore, A1, A2, A3, and A4 are filled with 0 to the end respectively, expanded to 32 bits, and A1', A2', A3', and A4' are obtained. Then, an XOR operation is performed, that is, A1' is XORed with the second element to obtain C (4 bytes), and C is filled with the high 4 bytes. Similarly, A2' is XORed with the second element to obtain D (4 bytes), and D is filled with the second high 4 bytes. A3' is XORed with the third element to obtain E (4 bytes), and E is filled with the second low 4 bytes. A4' is XORed with the third element to obtain F (4 bytes), and F is filled with the low 4 bytes. Finally, a 16-byte key KEY is generated, and the AES128-CBC encryption algorithm is used to encrypt the transmission data based on the key KEY, so as to enhance the security of communication between the calibration box and the terminal device. Among them, the second element and the third element can be pre-set fixed values ​​or randomly generated values.

[0051] Phase 3: The communication phase between the calibration box and the cloud server.

[0052] The calibration box can also encrypt the device's unique serial number using the AES128-CBC encryption algorithm, and send the encrypted device's unique serial number and connection status to the cloud server. After receiving the device's unique serial number, the cloud server queries the database to see whether the device's unique serial number exists. If so, the cloud server sends a security mark to the terminal device to enable the terminal device to display that the calibration box target is online; if not, the cloud server sends an alarm mark to the terminal device to notify the terminal device that the device's unique serial number is unknown.

[0053] Phase 4: Remote calibration of the vehicle’s ECU.

[0054] Before calibration, the cloud server can pre-clean the port business of the calibration box, and then send the calibration data in the CCP protocol format to the terminal device through the MQTT protocol; after the terminal device receives the calibration data, it encrypts the calibration data and transmits the encrypted calibration data to the calibration box through the TCP protocol. The calibration box parses and processes the calibration data, encapsulates the parsed data into CAN format data, and sends the CAN format data to the ECU. Optionally, in the process of sending CAN format data, it can be sent in accordance with the requirements of the CCP protocol. For example, when it is necessary to initiate a connection, send CONNECT (0x01), that is, send it in accordance with the connection field specified by the CCP protocol; when it is necessary to execute SET_MTA (0x02, set the memory transfer address), DNLOAD (0x03, download data) and other steps, you can package it according to the protocol and send the data in units of 8 bytes.

[0055] After receiving the data in CAN format, the ECU will calibrate the ECU, for example, adjust the control parameters of the ECU to optimize the vehicle performance. After completing the calibration, the ECU will feedback the calibrated data to the calibration box. The data fed back by the ECU may include status code, measurement value, fault information and calibration results. Among them, the status code is usually used to indicate the current working status or processing result of the ECU. For example, the status code FF may indicate the successful completion of an operation. The ECU will feedback some key measurement values, such as engine speed, fuel injection amount, exhaust temperature, etc. These measurement values ​​can help calibration engineers understand the current working status of the vehicle. If the ECU detects any fault or abnormality, it will send fault information to the calibration box or cloud server. These fault information usually include fault code, time and conditions of fault occurrence, etc. After the calibration is completed, the ECU will feedback the calibration results to the calibration box or cloud server. These results may include performance comparison before and after calibration, adjusted parameter values, etc.

[0056] After the calibration box obtains the data fed back by the ECU, it can determine whether the status code is FF. If not, it needs to be reported to the cloud server in time. The report content can be what instruction and at what address link the calibration error occurred; after all calibrations are completed, the calibration box reports to the cloud server and the calibration is completed.

[0057] The following describes in detail the process of remotely calibrating the vehicle's ECU in conjunction with the remote calibration system, that is, the process of the fourth stage mentioned in the above embodiment.

[0058] Exemplarily, the remote calibration system provided in the embodiment of the present application includes an ECU, a cloud server, and a calibration device with networking function. The calibration device with networking function can be a device with a SIM card, or a combination of a calibration box and a terminal device. In the case where the calibration device has a SIM card, the network can be connected through the SIM card. In the case where the calibration device includes a calibration box and a terminal device, the terminal device has a networking function, and the terminal device can provide a WIFI network to the calibration box, and then the calibration box can connect to the Internet based on the WIFI network.

[0059] Among them, the cloud server is used to send the first calibration data to the calibration device; wherein, the first calibration data can be calibration data in a preset format, the preset format can be a CCP format, or it can be other formats; the first calibration data can include key information such as ECU internal parameters and adjustment values, which is used to optimize the control strategy and performance of the ECU. For example, the first calibration data can be ignition timing, fuel injection amount, cylinder pressure, etc.

[0060] Since the calibration device has an Internet connection function, the cloud server and the calibration device can be connected for communication via the MQTT protocol, and then the cloud server can send the first calibration data to the calibration device via the MQTT protocol.

[0061] The calibration device is used to encapsulate the first calibration data into a first format and send it to the ECU after receiving the first calibration data, and the first format is a data format for the calibration device to communicate with the ECU. For example, the data format for the calibration device to communicate with the ECU includes but is not limited to the ASAP2 (A2L) format, the CCP format, the Universal Measurement and Calibration Protocol (XCP) format, etc.

[0062] If the preset format is a data format for communication between the calibration device and the RCU, there is no need to re-encapsulate the first calibration data.

[0063] Exemplarily, after receiving the first calibration data, the calibration device encapsulates the first calibration data into a first format and sends the encapsulated first calibration data to the ECU, thereby achieving transmission of the first calibration data between the calibration device and the ECU, so as to facilitate remote calibration of the ECU.

[0064] The ECU is used to perform calibration according to the first calibration data. For example, after receiving the first calibration data, the ECU adjusts the control parameters of the ECU to the first calibration data, for example, the ignition timing, fuel injection amount and cylinder pressure of the ECU can be adjusted to the values ​​indicated in the first calibration data. Furthermore, after adjusting the control parameters of the ECU, the performance of the ECU is verified and tested to ensure that the calibration effect of the ECU meets the expected requirements.

[0065] In the embodiment of the present application, the calibration device in the above-mentioned calibration system acts as a bridge for communication between the cloud server and the ECU. The communication between the ECU and the cloud server can be achieved without relying on the vehicle to activate the SIM card. Even if the vehicle does not have an Internet connection function, the ECU of the vehicle can be remotely calibrated, thereby broadening the adaptation scenarios for remote calibration of the vehicle's ECU.

[0066] In some optional implementations, there may be multiple parameters to be calibrated for the ECU, but it may be necessary to calibrate only one or more of the parameters to be calibrated, without calibrating all of the parameters to be calibrated. Thus, the initial value of the parameter to be calibrated can be obtained, and the initial value of the parameter to be calibrated can be compared with the calibration value, and the inconsistent parameters can be sent down to calibrate the ECU.

[0067] Exemplarily, the calibration device can also be used to obtain the first address information of the parameter to be calibrated of the ECU and the first initial value corresponding to the first address information, and send the first address information and the first initial value to the cloud server. For example, the calibration device can communicate with the ECU through the CCP protocol to obtain the first address information of the parameter to be calibrated of the ECU and the first initial value corresponding to the first address information, and send the first address information of the parameter to be calibrated and the first initial value corresponding to the first address information to the cloud server through the MQTT protocol.

[0068] The first address information may be an address for storing the first initial value, and the first initial value is the initial value of the parameter to be calibrated, that is, the value before calibration. For example, the parameter to be calibrated may include the ignition timing, fuel injection amount, and cylinder pressure of the ECU, and the first initial value is the ignition timing, fuel injection amount, and cylinder pressure of the ECU before calibration, and the first address information is the address for storing the ignition timing, fuel injection amount, and cylinder pressure of the ECU before calibration.

[0069] After the cloud server receives the first address information and the first initial value, it can compare the first initial value with the first calibration value, where the first calibration value is a value used to calibrate the ECU; then, based on the difference between the first initial value and the first calibration value, the first target address can be determined from the first address information, and the first calibration data can be determined based on the first target address and the first target value corresponding to the first target address.

[0070] Exemplarily, it is possible to determine whether the first initial value is the same as the first calibration value based on the difference between the first initial value and the first calibration value. If they are the same, the first calibration value may not be used to calibrate the ECU; if they are not the same, it means that the first calibration value needs to be used to calibrate the ECU. Thus, when the first initial value is different from the first calibration value, the address information corresponding to the first calibration value can be queried from the first address information, and the address information is used as the first target address, and the first calibration value is used as the first target value. The first target address and the first target value are packaged to obtain the first calibration data.

[0071] For example, if the parameters to be calibrated include the ignition timing of the ECU, the fuel injection amount, and the cylinder pressure, assuming that the first initial value corresponding to the ignition timing of the ECU is the same as the first calibration value, the ignition timing of the ECU may not be calibrated. Assuming that the first initial value corresponding to the fuel injection amount is different from the first calibration value, and the first initial value corresponding to the cylinder pressure is also different from the first calibration value, the first calibration value corresponding to the fuel injection amount and the address storing the first calibration value corresponding to the fuel injection amount, as well as the first initial value corresponding to the cylinder pressure and the address storing the first calibration value of the first initial value corresponding to the cylinder pressure may be packaged to obtain the first calibration data.

[0072] In the embodiment of the present application, by comparing the difference between the first initial value and the first calibration value, the inconsistent first calibration value and the corresponding first target address are packaged to obtain the first calibration data, so that the ECU can be calibrated using only the inconsistent first calibration value, avoiding repeated calibration of the ECU using the same data, thereby avoiding the waste of calibration resources. Since not all contents are calibrated, the time required for calibration is shortened, thereby improving the efficiency of ECU calibration.

[0073] In some optional implementations, in order to improve the security of data transmission between the cloud server and the ECU, the cloud server may encrypt the first calibration data before sending the first calibration data.

[0074] Based on this, an encryption algorithm and an encryption key may be predetermined, wherein the encryption algorithm may adopt an asymmetric encryption algorithm, and the encryption key may include a pair of keys, for example, a first public key and a first private key, wherein the first public key is used to encrypt data, and the first private key is used to decrypt data. The first private key and the first public key form a key pair.

[0075] Exemplarily, the cloud server can be used to encrypt the first target address and the first target value using the first public key corresponding to the ECU to obtain the first calibration data. For example, the first target address and the first target value can be encrypted using an RSA encryption algorithm or an elliptic curve cryptography (ECC) algorithm to obtain the first calibration data.

[0076] Correspondingly, the ECU can specifically use the first private key to decrypt the first calibration data to obtain the first target address and the first target value, and perform calibration according to the first target address and the first target value. Exemplarily, the first private key can be stored only in the ECU, and only supports the ECU to use the first private key to decrypt the first calibration data to obtain the first target address and the first target value. Furthermore, assuming that the first target address and the first target value are the first target address and the first target value corresponding to the fuel injection amount, and the first target address and the first target value corresponding to the cylinder pressure, the ECU can use the first target address and the first target value to modify the fuel injection amount and the cylinder pressure value, and verify whether the performance of the ECU meets the expected requirements, so as to realize the calibration of the ECU.

[0077] In an embodiment of the present application, before transmitting the first calibration data, the cloud server encrypts the first target address and the first target value using the first public key to obtain the first calibration data, and then transmits the encrypted first calibration data, which can improve the security of the transmission of the first calibration data and thus can accurately calibrate the ECU.

[0078] In some optional implementations, in order to improve the reliability of communication between the cloud server and the calibration device, the calibration device may be security verified before the cloud server transmits data to the calibration device.

[0079] Exemplarily, the calibration device is used to send a first identifier of the calibration device to the cloud server. The first identifier may be a unique device serial number of the calibration device, which is used to identify different calibration devices.

[0080] After receiving the first identifier, the cloud server searches the preset database for the first identifier. If the first identifier exists in the preset database, it is considered that the first identifier hits the preset database. If the first identifier hits the preset database, it means that the calibration device is safe. After the security verification, the cloud server can send the first calibration data to the calibration device.

[0081] In the embodiment of the present application, before the cloud server transmits the first calibration data to the calibration device, security verification is performed on the calibration device, which can improve the security of transmitting the first calibration data.

[0082] In some optional implementations, in order to improve the security of ECU calibration and prevent the ECU parameters from being maliciously tampered with, security authentication may be performed between the cloud server and the ECU before the ECU is calibrated. Based on this, the calibration device may also be used to send an authentication information acquisition request to the cloud server so that the cloud server issues the authentication information; wherein the authentication information acquisition request includes the second identifier of the ECU; the authentication information is used for identity authentication between the cloud server and the ECU, and the second identifier of the ECU may be the device unique serial number of the ECU, which is used to identify a unique ECU.

[0083] After receiving the authentication information acquisition request, the cloud server can be used to encrypt the authentication information using the second public key corresponding to the second identifier to obtain the first encrypted data, and send the first encrypted data to the calibration device. The authentication information can be a timestamp, a random number, a session key, or other information used to verify the identity of the ECU.

[0084] Exemplarily, an encryption algorithm and an encryption key may be predetermined, the encryption algorithm may adopt an asymmetric encryption algorithm, and the encryption key may include a pair of keys, for example, a second public key and a second private key, the second public key is used to encrypt data, and the second private key is used to decrypt data. The second private key and the second public key form a key pair.

[0085] Exemplarily, the cloud server can be used to encrypt the authentication information using the second public key corresponding to the second identifier to obtain the first encrypted data. For example, the authentication information can be encrypted using the RSA encryption algorithm or the ECC algorithm to obtain the first encrypted data. The first encrypted data is then sent to the calibration device. The calibration device can also be used to send the first encrypted data to the ECU so that the ECU can decrypt the first encrypted data to perform identity authentication with the cloud server.

[0086] After receiving the authentication information, the ECU can use the second private key to decrypt the first encrypted data to obtain the authentication information, and use the authentication information for security authentication. Exemplarily, the second private key can be stored only in the ECU, and only supports the ECU to use the second private key to decrypt the first encrypted data to obtain the authentication information, and use the authentication information for security authentication. For example, if the authentication information is a timestamp or a random number, the ECU can check the validity of the authentication information (for example, whether the timestamp is within a reasonable range, etc.), and if the authentication information is valid, it is determined that the authentication is passed. In the case of authentication passing, the ECU can be calibrated according to the first calibration data.

[0087] In the embodiment of the present application, by using authentication information to verify the identity of the ECU, the security of ECU calibration can be improved.

[0088] In some optional implementations, in order to avoid ECU operation interruption or failure after ECU calibration fails, data before ECU calibration may be backed up, and the version before calibration may be run after ECU calibration fails.

[0089] Based on this, the ECU can also send calibration failure information to the calibration device when the calibration fails; the calibration failure information can indicate the instruction of the calibration failure, the time of failure, etc.

[0090] After receiving the calibration failure information, the calibration device may also forward the calibration failure information to the cloud server; for example, the calibration failure information may be forwarded to the cloud server using the MQTT protocol.

[0091] After receiving the calibration failure information, the cloud server can generate the first backup information according to the first address information and the first initial value and send it to the calibration device; wherein the first address information and the first initial value are the address information and parameter value of the ECU parameters stored before the ECU calibration, respectively. For example, the first address information and the first initial value can be encapsulated, for example, in CCP format, to obtain the first backup information. Then, the first backup information is sent to the calibration device.

[0092] After receiving the first backup information, the calibration device may also encapsulate the first backup information into a first format and send it to the ECU; the first format is a data format for communication between the calibration device and the ECU, for example, it may be a CCP format.

[0093] After receiving the first backup information packaged in the first format, the ECU can perform data recovery according to the first backup information. For example, according to the ECU parameters included in the first backup information, the ECU parameters can be adjusted to values ​​consistent with the first backup information to achieve data recovery.

[0094] In the embodiment of the present application, by backing up the data before ECU calibration and sending the data before ECU calibration to the ECU after the ECU calibration fails, the problem of ECU operation interruption or failure after the ECU calibration fails is avoided.

[0095] In some optional implementations, after the ECU calibration fails, in order to quickly understand the cause of the calibration failure, the ECU may also report an error code to the cloud server to indicate the cause of the calibration failure, so as to quickly find a strategy to deal with the calibration failure.

[0096] Based on this, after determining that the calibration has failed, the ECU can also send an error code to the calibration device, and the error code is used to indicate the reason for the calibration failure. After receiving the error code, the calibration device can transmit the error code to the cloud server so that the cloud server can quickly understand the reason for the calibration failure and make a strategy to deal with the calibration failure. For example, the strategy for calibration failure can be to adjust the calibration parameters, retry the calibration, change the ECU configuration, etc.

[0097] In an embodiment of the present application, after the ECU calibration fails, an error code is reported to the cloud server. The error code can indicate the reason for the calibration failure. In this way, the reason for the calibration failure can be quickly understood, thereby improving the efficiency of dealing with the calibration failure.

[0098] Based on the above embodiments, see Figure 4 , Figure 4 A signaling diagram for remote calibration of the vehicle's ECU is provided. The calibration process can be divided into three processes: calibration service configuration, calibration startup configuration, and calibration. Among them, the calibration service configuration process mainly performs calibration data configuration; the calibration startup configuration process is mainly used to start or stop the port operation service; the calibration process is mainly used for ECU calibration and reports the calibration success or failure information.

[0099] The present application embodiment takes the calibration device as a combination of a calibration box and a terminal device as an example for explanation. The specific implementation process is as follows: Calibration service configuration process: S401, the cloud server sends a request for clearing the calibration service of the port CCP of the calibration box to the terminal device.

[0100] S402, the terminal device sends a request for clearing the calibration service of the port CCP of the calibration box to the calibration box.

[0101] S403, after the calibration box clears the port, it feeds back the response information of clearing the port to the terminal device.

[0102] S404, the terminal device sends the response information of clearing the port to the cloud server.

[0103] S405, the cloud server sends the calibration parameters to the terminal device.

[0104] The calibration parameters include calibration address, data length, data content and other information.

[0105] S406, the terminal device sends the calibration parameters to the calibration box.

[0106] Data can be transmitted via Bluetooth or other wireless means.

[0107] S407, after the calibration box configures the ECU data according to the first calibration data, it feeds back a response message indicating that the configuration is completed to the terminal device.

[0108] S408, the terminal device feeds back a response message indicating that the configuration is completed to the cloud server.

[0109] Calibration startup configuration process: S409, the cloud server sends a request for starting the calibration service of the port CPP to the terminal device.

[0110] S410, the terminal device sends a request for starting the calibration service of the port CPP to the calibration box.

[0111] S411, after starting the calibration service of the port CPP, the calibration box feeds back response information of starting the calibration service of the port CPP to the terminal device.

[0112] S412, the terminal device feeds back the response information of starting the calibration service of the port CPP to the cloud server.

[0113] Calibration process: S413, ECU performs parameter calibration.

[0114] S414, when the ECU parameter calibration fails, the calibration box feeds back an error code to the terminal device.

[0115] S415, the terminal device feeds back an error code to the cloud server.

[0116] S416, when the ECU parameter calibration is successful, the calibration box feeds back a calibration success code to the terminal device.

[0117] S417, the terminal device feeds back a calibration success code to the cloud server.

[0118] This remote ECU calibration is completed.

[0119] Combination of the above Figure 1 The remote calibration system provided in the embodiment of the present application has been introduced in detail. The remote calibration method and device provided in the embodiment of the present application will be introduced below in conjunction with the accompanying drawings.

[0120] like Figure 5 As shown, the figure is a flow chart of a remote calibration method provided in an embodiment of the present application, and the method is described by taking the application of the method to a calibration device as an example. The method includes the following steps: S501, receiving first calibration data sent by a cloud server.

[0121] S502, after receiving the first calibration data, encapsulate the first calibration data into a first format and send it to the ECU, so that the ECU performs calibration according to the first calibration data, wherein the first format is a data format for communication between the calibration device and the ECU.

[0122] The specific process from S501 to S502 can be found in the description of the above system embodiment, and the implementation principle and technical effect are similar, which will not be repeated here.

[0123] The calibration device in the above calibration method acts as a bridge for communication between the cloud server and the ECU. It can realize the communication between the ECU and the cloud server without relying on the SIM in the vehicle. Even if the vehicle does not have the Internet function, the ECU of the vehicle can be remotely calibrated, thereby broadening the adaptation scenarios of remote calibration of the vehicle's ECU.

[0124] The present application also provides a computing device. Figure 6 As shown, this figure is a schematic diagram of a computing device provided in an embodiment of the present application, and the computing device 300 includes a bus 301, a processor 302, a communication interface 303 and a memory 304. The processor 302, the memory 304 and the communication interface 303 communicate with each other through the bus 301.

[0125] The bus 301 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0126] The processor 302 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0127] The communication interface 303 is used for communicating with the outside.

[0128] The memory 304 may include a volatile memory, such as a random access memory (RAM). The memory 304 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0129] The memory 304 stores executable codes, and the processor 302 executes the executable codes to perform the aforementioned multi-dimensional competency matching method.

[0130] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned multi-dimensional competency matching method.

[0131] The embodiment of the present application further provides a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part.

[0132] The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer or data center to another website, computer or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means.

[0133] When the computer program product is executed by a computer, the computer executes any of the aforementioned multi-dimensional competency matching methods. The computer program product may be a software installation package, and when any of the aforementioned multi-dimensional competency matching methods is needed, the computer program product may be downloaded and executed on a computer.

[0134] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0135] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A remote calibration system, characterized in that: The system includes: an electronic control unit ECU, a cloud server and a calibration device with networking function; The cloud server is used to send the first calibration data to the calibration device; The calibration device is used for, after receiving the first calibration data, encapsulating the first calibration data into a first format and sending the first calibration data to the ECU, where the first format is a data format for the calibration device to communicate with the ECU; The ECU is used to perform calibration according to the first calibration data.

2. The system according to claim 1, characterized in that The calibration device is further used to obtain first address information of the parameter to be calibrated of the ECU and a first initial value corresponding to the first address information, and send the first address information and the first initial value to the cloud server; The cloud server is further used to determine a first target address from the first address information according to a difference between the first initial value and the first calibration value, and to determine first calibration data according to the first target address and a first target value corresponding to the first target address.

3. The system according to claim 2, characterized in that The cloud server is specifically configured to encrypt the first target address and the first target value using a first public key corresponding to the ECU to obtain first calibration data; The ECU specifically uses the first private key to decrypt the first calibration data to obtain the first target address and the first target value, and performs calibration according to the first target address and the first target value, wherein the first private key and the first public key form a key pair.

4. The system according to claim 1, characterized in that The calibration device is further used to send a first identifier of the calibration device to a cloud server; The cloud server is specifically configured to send the first calibration data to the calibration device when the first identifier matches in a preset database.

5. The system according to claim 1, characterized in that The calibration device is further used to send an authentication information acquisition request to the cloud server, wherein the authentication information acquisition request includes the second identifier of the ECU; The cloud server is further configured to encrypt the authentication information using the second public key corresponding to the second identifier to obtain first encrypted data, and send the first encrypted data to the calibration device; The calibration device is further used to send the first encrypted data to the ECU; The ECU is specifically used to decrypt the first encrypted data using the second private key to obtain the authentication information, perform security authentication using the authentication information, and perform calibration according to the first calibration data when the authentication passes.

6. The system according to claim 2, characterized in that The ECU is further configured to send calibration failure information to the calibration device in case of calibration failure; The calibration device is further used to forward the calibration failure information to the cloud server; The cloud server is further configured to generate first backup information according to the first address information and the first initial value after receiving the calibration failure information, and send the first backup information to the calibration device; The calibration device is further used to encapsulate the first backup information into the first format and then send it to the ECU; The ECU is further used to restore data according to the first backup information.

7. The system according to claim 6, characterized in that The ECU is further used to send an error code to the calibration device, wherein the error code is used to indicate the cause of the calibration failure; The calibration device transmits the error code to the cloud server.

8. A remote calibration method, characterized in that: Applied to a calibration device with networking function, the method comprises: Receiving first calibration data sent by the cloud server; After receiving the first calibration data, the first calibration data is encapsulated into a first format and sent to the ECU, so that the ECU performs calibration according to the first calibration data, wherein the first format is a data format for communication between the calibration device and the ECU.

9. A computing device, characterized in that including memory and processor; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method as claimed in any one of claim 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to claim 8.

Citation Information

Patent Citations

  • Control method based on CCP or XCP protocol

    CN111781909A

  • Vehicle calibration method, device and equipment

    CN116501014A

  • Remote communication method and device, electronic equipment and storage medium

    CN118368605A

  • In-vehicle electronic control unit upgrade method, device, apparatus, and vehicle system

    JP2021083110A

  • System and Method to Calibrate an Engine Control Unit (ECU) of a Vehicle

    US20190316539A1