Vehicle terminal remote calibration method and device
By using a vehicle-mounted terminal for remote calibration, and communicating with the engine controller via a big data platform, remote calibration is achieved, solving the problems of inconvenient on-site operation and data security, and improving calibration efficiency and data reliability.
Patent Information
- Application Number
- CN202310782465.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-06-29
AI Technical Summary
Existing engine controller calibration methods require on-site operation, which is inconvenient and makes it impossible to observe internal parameter data in real time. Furthermore, remote calibration technology does not consider data security and validity.
The vehicle-mounted terminal remote calibration method is adopted. The vehicle-mounted terminal and engine controller are communicated through a big data platform to achieve remote calibration. The transparent transmission protocol and data verification are used to ensure data security and validity.
Improve calibration efficiency, reduce labor costs, enable real-time online query of calibration parameters, and ensure data security and reliability.
Smart Images

Figure CN116859883B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle networking technology, and in particular to a method and apparatus for remote calibration of vehicle-mounted terminals. Background Technology
[0002] After an engine is put on the market, the parameters of the engine controller need to be calibrated. The existing calibration method involves connecting the calibration tool to the engine controller for calibration, which requires on-site calibration. This causes inconvenience to the calibration work and makes it impossible to observe the internal parameters of the engine in real time.
[0003] The information disclosed in this background section is intended only to enhance the understanding of the overall background of the invention and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0004] The purpose of this invention is to provide a remote calibration method and device for vehicle-mounted terminals, which can improve calibration efficiency, reduce calibration workload, reduce personnel travel costs for calibration work, and allow real-time online query of calibration parameter data.
[0005] To achieve the above objectives, in a first aspect, the present invention provides a remote calibration method for an in-vehicle terminal, applied to an in-vehicle terminal remote calibration system. The system includes an in-vehicle terminal, a cloud server, and a big data platform. The cloud server is communicatively connected to the big data platform, and the in-vehicle terminal is communicatively connected to both the big data platform and an engine controller (ECU). The remote calibration method includes: uploading a calibration file through the big data platform; setting a calibration variable template through the big data platform; and the big data platform selecting the engine number to be calibrated and establishing a calibration connection. The big data platform sends a calibration variable reading command to the vehicle terminal; after receiving the reading response command from the vehicle terminal, the big data platform then sends a measurement variable template; after establishing a connection between the vehicle terminal and the engine controller, a key unlocking operation is performed before reading the calibration variable and monitoring the measurement variable; when the big data platform monitors the calibration variable information, it sets the value of the calibration variable that needs to be modified; the big data platform sends the value of the calibration variable to be modified, the calibration variable address, and the length to the vehicle terminal; after parsing, the vehicle terminal writes the information into the engine controller.
[0006] In one embodiment of the present invention, the internal transmission of the vehicle terminal adopts a transparent transmission protocol, and data verification is performed in each transmission process.
[0007] In one embodiment of the present invention, the vehicle-mounted terminal has an internal memory for storing collected calibration variable information.
[0008] In one embodiment of the present invention, when the vehicle terminal is disconnected from the engine controller, the vehicle terminal sends a handshake request to the engine controller at preset intervals.
[0009] In one embodiment of the present invention, the calibration file includes information about calibration variables, which includes variable name, variable address, and variable length.
[0010] In one embodiment of the present invention, the calibration variables include constants, array-like variables, curve variables, and Map variables.
[0011] Secondly, the present invention provides a vehicle-mounted terminal remote calibration device. Based on the above-mentioned vehicle-mounted terminal remote calibration method, the vehicle-mounted terminal remote calibration device includes: an upload module, a first setting module, a calibration module, a first sending module, a second sending module, an unlocking module, a second setting module, a third sending module, and a writing module. The upload module is used to upload calibration files through the big data platform; the first setting module is used to set calibration variable templates through the big data platform; the calibration module is used by the big data platform to select the engine number to be calibrated and establish a calibration connection; the first sending module is used by the big data platform to send calibration variable read instructions to the vehicle terminal; the second sending module is used by the big data platform to send measurement variable templates after receiving the read response instructions from the vehicle terminal; the unlocking module is used by the vehicle terminal to perform a key unlocking operation before reading calibration variables and monitoring measurement variables after establishing a connection with the engine controller; the second setting module is used by the big data platform to set the values of calibration variables to be modified after monitoring calibration variable information; the third sending module is used by the big data platform to send the values, addresses, and lengths of the calibration variables to be modified to the vehicle terminal; and the writing module is used by the vehicle terminal to parse the information and write it into the engine controller.
[0012] In one embodiment of the present invention, the internal transmission of the vehicle terminal adopts a transparent transmission protocol, and data verification is performed in each transmission process.
[0013] In one embodiment of the present invention, the vehicle-mounted terminal has an internal memory for storing collected calibration variable information.
[0014] In one embodiment of the present invention, when the vehicle terminal is disconnected from the engine controller, the vehicle terminal sends a handshake request to the engine controller at preset intervals.
[0015] Compared with existing technologies, the vehicle-mounted terminal remote calibration method of the present invention can improve calibration efficiency, reduce calibration workload, reduce personnel travel costs for calibration work, and allow for real-time online querying of calibration parameter data. Attached Figure Description
[0016] Figure 1 This is a flowchart illustrating a remote calibration method for a vehicle-mounted terminal according to Embodiment 1 of the present invention;
[0017] Figure 2 This is a schematic diagram of the structural connection of a vehicle-mounted terminal remote calibration system according to Embodiment 1 of the present invention;
[0018] Figure 3 This is a schematic diagram of the logic flow of a remote calibration method for a vehicle terminal according to Embodiment 1 of the present invention;
[0019] Figure 4 This is a schematic diagram of the logic judgment process of a remote calibration method for a vehicle terminal in Embodiment 1 of the present invention;
[0020] Figure 5 This is a schematic diagram of the structure of a vehicle-mounted terminal remote calibration device according to Embodiment 2 of the present invention.
[0021] Explanation of key figure labels:
[0022] 1-Big Data Platform, 2-Cloud Server, 3-Vehicle Terminal, 4-Engine Controller, 501-Upload Module, 502-First Setting Module, 503-Calibration Module, 504-First Distribution Module, 505-Second Distribution Module, 506-Unlock Module, 507-Second Setting Module, 508-Third Distribution Module, 509-Write Module. Detailed Implementation
[0023] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings, but it should be understood that the scope of protection of the present invention is not limited to the specific embodiments.
[0024] Unless otherwise expressly stated, throughout the specification and claims, the term "comprising" or its variations such as "including" or "comprises" shall be understood to include the stated elements or components without excluding other elements or other components.
[0025] To facilitate understanding, the main implementation concepts of the various embodiments of the present invention will be briefly described first.
[0026] After an engine is launched into the market, the parameters of the engine controller 4 need to be calibrated. Remote calibration methods can efficiently save calibration time, reduce manpower and material resources, and improve calibration efficiency. Traditional calibration methods involve connecting calibration tools to the engine controller 4, requiring on-site calibration, which is inconvenient and makes it impossible to monitor internal engine parameters in real time. Currently, remote calibration is a new development direction for engine controller 4 calibration methods, saving calibration costs while enabling online monitoring of various calibration variables and real-time control of the internal parameter status of the engine controller 4.
[0027] This invention proposes a remote calibration method and apparatus for vehicle-mounted terminals. While existing remote calibration technologies achieve remote calibration functionality, they do not address or consider data security and validity. To further ensure remote calibration data security and reliable data transmission, and to achieve a simple and efficient calibration method, this invention proposes a remote calibration method and apparatus for vehicle-mounted terminals. Furthermore, this apparatus considers the handling of third-party calibration tools without affecting the use of other calibration tools.
[0028] Example 1
[0029] Figure 1 This is a flowchart illustrating a remote calibration method for a vehicle-mounted terminal according to Embodiment 1 of the present invention;
[0030] Figure 2 This is a schematic diagram of the structural connection of a vehicle-mounted terminal remote calibration system according to Embodiment 1 of the present invention;
[0031] Figure 3 This is a schematic diagram of the logic flow of a remote calibration method for a vehicle terminal according to Embodiment 1 of the present invention;
[0032] Figure 4 This is a schematic diagram of the logical judgment process of a remote calibration method for a vehicle terminal in Embodiment 1 of the present invention.
[0033] like Figures 1 to 4 As shown, Embodiment 1 provides a remote calibration method for an in-vehicle terminal, applied to an in-vehicle terminal remote calibration system. The system includes an in-vehicle terminal 3, a cloud server 2, and a big data platform 1. The cloud server 2 is communicatively connected to the big data platform 1, and the in-vehicle terminal 3 is communicatively connected to both the big data platform 1 and an engine controller 4. The remote calibration method for the in-vehicle terminal includes:
[0034] Step S100: Upload the calibration file through the big data platform 1;
[0035] Step S200: Set the calibration variable template through the big data platform 1;
[0036] In step S300, the big data platform 1 selects the engine number that needs to be calibrated and establishes a calibration connection;
[0037] In step S400, the big data platform 1 sends a calibration variable reading instruction to the vehicle terminal 3;
[0038] Step S500: After the big data platform 1 receives the read response command from the vehicle terminal 3, it then sends out the measurement variable template.
[0039] Step S600: After the vehicle terminal 3 establishes a connection with the engine controller 4, a key unlocking operation is performed before reading calibration variables and monitoring measurement variables.
[0040] Step S700: After the big data platform 1 monitors the calibration variable information, it sets the value of the calibration variable that needs to be modified.
[0041] In step S800, the big data platform 1 sends the value, address, and length of the calibration variable that needs to be modified to the vehicle terminal 3.
[0042] In step S900, after parsing, the vehicle terminal 3 writes the information into the engine controller 4.
[0043] In this embodiment, the internal transmission of the vehicle terminal 3 adopts a transparent transmission protocol, and data verification is performed in each transmission process.
[0044] In this embodiment, the vehicle-mounted terminal 3 has an internal memory for storing the collected calibration variable information.
[0045] In this embodiment, when the vehicle terminal 3 is disconnected from the engine controller 4, the vehicle terminal 3 sends a handshake request to the engine controller 4 at preset intervals.
[0046] In this embodiment, the calibration file includes information about the calibration variables, which includes the variable name, variable address, and variable length.
[0047] In this embodiment, the calibration variables include constants, array-like variables, curve variables, and Map variables.
[0048] Example 2
[0049] Figure 5 This is a schematic diagram of the structure of a vehicle-mounted terminal remote calibration device according to Embodiment 2 of the present invention, as shown below. Figure 5As shown, Embodiment 2 provides a vehicle-mounted terminal remote calibration device. Based on the above-described vehicle-mounted terminal remote calibration method, the vehicle-mounted terminal remote calibration device includes: an upload module 501, a first setting module 502, a calibration module 503, a first sending module 504, a second sending module 505, an unlocking module 506, a second setting module 507, a third sending module 508, and a writing module 509. The upload module 501 is used to upload calibration files through the big data platform 1; the first setting module 502 is used to set calibration variable templates through the big data platform 1; the calibration module 503 is used by the big data platform 1 to select the engine number to be calibrated and establish a calibration connection; the first sending module 504 is used by the big data platform 1 to send a calibration variable reading instruction to the vehicle terminal 3; the second sending module 505 is used by the big data platform 1 to send a measurement variable template after receiving the reading response instruction from the vehicle terminal 3; the unlocking module 506 is used by the vehicle terminal 3 to perform a key unlocking operation before reading calibration variables and monitoring measurement variables after establishing a connection with the engine controller 4; the second setting module 507 is used by the big data platform 1 to set the value of the calibration variable to be modified after monitoring the calibration variable information; the third sending module 508 is used by the big data platform 1 to send the value, address, and length of the calibration variable to be modified to the vehicle terminal 3; and the writing module 509 is used by the vehicle terminal 3 to parse the information and write it into the engine controller 4.
[0050] In this embodiment, the internal transmission of the vehicle terminal 3 adopts a transparent transmission protocol, and data verification is performed in each transmission process.
[0051] In this embodiment, the vehicle-mounted terminal 3 has an internal memory for storing the collected calibration variable information.
[0052] In this embodiment, when the vehicle terminal 3 is disconnected from the engine controller 4, the vehicle terminal 3 sends a handshake request to the engine controller 4 at preset intervals.
[0053] In this embodiment, the calibration file includes information about the calibration variables, which includes the variable name, variable address, and variable length.
[0054] In this embodiment, the calibration variables include constants, array-like variables, curve variables, and Map variables.
[0055] In practical applications, the vehicle-mounted terminal remote calibration method and device of the present invention are applied to a vehicle-mounted terminal remote calibration system. The system includes a vehicle-mounted terminal 3, a cloud server 2, a big data platform 1, and an engine controller 4 (Electronic Control Unit; ECU) connected to the vehicle-mounted terminal 3. The vehicle-mounted terminal 3 is mainly used to convert from network protocols to CAN protocols to achieve calibration functions. The data acquired and written by the big data platform 1 is stored in the cloud server 2, mainly implementing functions such as command issuance, data display and analysis, and access control. Communication between the vehicle-mounted terminal 3 and the big data platform 1 is conducted via a 4G or 5G network, and communication between the vehicle-mounted terminal 3 and the engine controller 4 is conducted via a Controller Area Network (CAN) bus. Different transmission protocols are used during data transmission. The vehicle-mounted terminal 3 and the big data platform 1 use a self-defined platform link protocol. The vehicle-mounted terminal 3 contains two main controllers: a microcontroller unit (MCU) and a microprocessor unit (MPU). Data communication between them uses a self-defined transparent transmission protocol. The vehicle-mounted terminal 3 also includes a wireless communication module, a GPS positioning module, a storage module, and a CAN bus module. The vehicle-mounted terminal 3 and the engine controller 4 use the CCP (CAN Calibration Protocol) standard. The specific implementation steps are as follows:
[0056] First, a calibration file is uploaded to the big data platform 1. This file contains information about the calibration variables, such as variable name, variable address, and variable length. The vehicle-mounted terminal 3 logs into the platform via a communication link and establishes a connection. The calibration functions include monitoring the measured variables, reading the calibration variables, and writing the calibration variables. The calibration variables include four types: constants, array-like variables, curve variables, and Map variables.
[0057] Calibration variable templates are set up through the big data platform 1, each with a unique number, and can be changed at any time. When terminal data is uploaded, the template number identifies which template the uploaded data belongs to. Simultaneously, before issuing calibration variable templates, the total byte length of calibration variables or monitoring variables is calculated. If the length exceeds a certain value, the template cannot be issued and must be modified. If the template contains calibration variables, they are read first, followed by monitoring of measurement variables. If the template does not contain any required calibration variables, monitoring of measurement variables proceeds directly.
[0058] Select the engine number to be calibrated. Remote calibration requires that the vehicle terminal 3 and engine controller 4 are bound together on the platform, and that the terminal can log in to the platform and display an online status. The platform sends instructions to the designated vehicle terminal 3 to establish a communication connection with the engine controller 4, and then feeds back the connection status to the platform, thus completing the calibration connection. The terminal and engine controller 4 maintain a continuous connection until the platform issues instructions to start monitoring variables, stop monitoring variables, or perform other operations.
[0059] The big data platform 1 issues a calibration variable reading command and sends the address and length of the parameters to be read to the vehicle terminal 3. The vehicle terminal 3 parses the received reading command and implements interactive commands with the engine controller 4 to read the calibration variables.
[0060] After the platform receives the read response command from the vehicle terminal 3, it sends out the measurement variable template. Then, the vehicle terminal 3 and the engine controller 4 monitor the measurement variables and report the monitored parameter values according to the reporting cycle requirements set in the template.
[0061] After the vehicle terminal 3 establishes a connection with the engine controller 4, a key unlocking operation is performed before reading calibration variables and monitoring measurement variables. Only if the key unlocking is successful can the reading of calibration variables and monitoring of measurement variables be performed; if the key unlocking fails, these operations cannot be executed.
[0062] Once the big data platform 1 monitors the calibration variable information, it can set the value of the calibration variable that needs to be modified. The big data platform 1 sends the calibration variable value, calibration variable address, and length to the vehicle terminal 3. After parsing, the vehicle terminal 3 writes the information into the engine controller 4, thereby realizing the calibration function.
[0063] Furthermore, to ensure the validity of data transmission within the vehicle terminal 3 and between the terminal and the big data platform 1, the internal transmission of data within the vehicle terminal 3 employs a transparent transmission protocol, with data verification performed during each transmission. Simultaneously, data verification is also performed using relevant algorithms during data transmission between the vehicle terminal 3 and the big data platform 1.
[0064] The vehicle-mounted terminal 3 includes internal memory for storing the collected calibration variable information. When the network communication between the vehicle-mounted terminal 3 and the big data platform 1 is lost, the vehicle-mounted terminal 3 will continue to maintain a connection with the platform. When the network is restored, the stored data will be uploaded to the platform.
[0065] When the vehicle terminal 3 disconnects from the engine controller 4, the terminal will make a handshake request with the engine controller 4 at intervals. If the connection is not successfully established, the terminal will continue to make connection requests at intervals until the terminal enters sleep mode, is powered off, or cancels the calibration variable monitoring operation.
[0066] To stop calibration, the platform issues a stop calibration command. After receiving the command, the vehicle terminal 3 interacts with the engine controller 4 to stop the calibration operation.
[0067] To prevent the terminal from interfering with the use of calibration tools in engine controller 4, a calibration tool intervention detection function has been added. When the vehicle terminal 3 detects a CAN ID that is identical to the one requested by both the vehicle terminal 3 and engine controller 4, it determines that a calibration tool has intervened. It then stops sending requests to engine controller 4 and reports the intervention to the platform. If the terminal does not detect this CAN ID after 3 minutes, it reports to the platform that no third-party tool has intervened and continues to execute the pre-intervention procedure.
[0068] In summary, the vehicle-mounted terminal remote calibration method and device of the present invention can improve calibration efficiency, reduce calibration workload, reduce personnel travel costs for calibration work, and allow for real-time online querying of calibration parameter data.
[0069] The foregoing description of specific exemplary embodiments of the invention is for illustrative and explanatory purposes. These descriptions are not intended to limit the invention to the precise forms disclosed, and it will be apparent that many changes and variations can be made in accordance with the foregoing teachings. The exemplary embodiments were chosen and described in order to explain the specific principles of the invention and its practical application, thereby enabling those skilled in the art to implement and utilize various different exemplary embodiments of the invention, as well as various different choices and variations. The scope of the invention is intended to be defined by the claims and their equivalents.
Claims
1. A remote calibration method for an in-vehicle terminal, applied to an in-vehicle terminal remote calibration system, the system comprising an in-vehicle terminal, a cloud server, and a big data platform, wherein the cloud server is communicatively connected to the big data platform, and the in-vehicle terminal is communicatively connected to both the cloud server and an engine controller, characterized in that... The remote calibration method for the vehicle-mounted terminal includes: Upload the calibration file through the big data platform; Set the calibration variable template through the big data platform; The big data platform selects the engine number that needs to be calibrated and establishes a calibration connection; The big data platform sends a calibration variable reading instruction to the vehicle terminal; After the big data platform receives the read response command from the vehicle terminal, it then sends out the measurement variable template. After the vehicle terminal establishes a connection with the engine controller, it first performs a key unlocking operation before reading calibration variables and monitoring measurement variables. Once the big data platform monitors the calibration variable information, it sets the value of the calibration variable that needs to be modified. The big data platform sends the values, addresses, and lengths of the calibration variables that need to be modified to the vehicle terminal. After parsing, the vehicle-mounted terminal writes the information into the engine controller; After the vehicle terminal establishes a connection with the engine controller, it performs a key unlocking operation before reading calibration variables and monitoring measurement variables. This includes: if the key unlocking is successful, the subsequent reading of calibration variables and monitoring of measurement variables are performed; if the key unlocking fails, the subsequent operation is terminated. When a third-party calibration tool is detected attempting to access the engine controller, the vehicle terminal stops sending calibration-related requests to the engine controller and reports the third-party tool's intervention status to the big data platform; when no third-party tool intervention is detected again within a preset time, the calibration operation resumes.
2. The remote calibration method for vehicle-mounted terminals as described in claim 1, characterized in that, The internal transmission of the vehicle terminal adopts a transparent transmission protocol, and data verification is performed in each transmission process.
3. The remote calibration method for vehicle-mounted terminals as described in claim 1, characterized in that, The vehicle-mounted terminal has an internal memory for storing the collected calibration variable information.
4. The remote calibration method for vehicle-mounted terminals as described in claim 1, characterized in that, When the vehicle terminal disconnects from the engine controller, the vehicle terminal sends a handshake request to the engine controller at preset intervals.
5. The remote calibration method for vehicle-mounted terminals as described in claim 1, characterized in that, The calibration file includes information about the calibration variables, which includes the variable name, variable address, and variable length.
6. The remote calibration method for vehicle-mounted terminals as described in claim 5, characterized in that, The calibration variables include constants, array-like variables, curve variables, and Map variables.
7. A vehicle-mounted terminal remote calibration device, based on the vehicle-mounted terminal remote calibration method as described in any one of claims 1 to 6, characterized in that, The vehicle-mounted terminal remote calibration device includes: The upload module is used to upload calibration files through the big data platform; The first setting module is used to set the calibration variable template through the big data platform; The calibration module is used by the big data platform to select the engine number that needs to be calibrated and to establish a calibration connection. The first sending module is used for the big data platform to send calibration variable reading instructions to the vehicle terminal; The second sending module is used to send the measurement variable template after the big data platform receives the read response instruction from the vehicle terminal; The unlocking module is used to perform a key unlocking operation after the vehicle terminal establishes a connection with the engine controller, before reading calibration variables and monitoring measurement variables. The second setting module is used to set the value of the calibration variable that needs to be modified after the big data platform monitors the calibration variable information; The third distribution module is used by the big data platform to distribute the values, addresses, and lengths of the calibration variables that need to be modified to the vehicle terminal; and The writing module is used to parse the information by the vehicle terminal and write it into the engine controller.
8. The vehicle-mounted terminal remote calibration device as described in claim 7, characterized in that, The internal transmission of the vehicle terminal adopts a transparent transmission protocol, and data verification is performed in each transmission process.
9. The vehicle-mounted terminal remote calibration device as described in claim 7, characterized in that, The vehicle-mounted terminal has an internal memory for storing the collected calibration variable information.
10. The vehicle-mounted terminal remote calibration device as described in claim 7, characterized in that, When the vehicle terminal disconnects from the engine controller, the vehicle terminal sends a handshake request to the engine controller at preset intervals.
Citation Information
Patent Citations
Method and system for vehicle monitoring, diagnosing and calibrating based on remote wireless control
CN106850798A
Remote automobile power calibration method, device and equipment and storage medium
CN113076126A
General engine calibration system based on ASAP standard
CN113760956A
Vehicle ECU calibration system and method, signal transceiver and storage medium
CN115032962A