A hydrogen energy vehicle automated network calibration method and system
By using the automated network calibration method to control the bus terminal resistance and verify CAN bus data in online and offline modes during the vehicle network test of hydrogen energy vehicles, the problems of complex test structure and poor stability were solved, and a fast and stable test was achieved. and reliable online proofreading.
Patent Information
- Application Number
- CN202110775047.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-08
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-07-08
AI Technical Summary
The vehicle network test structure is complex and has poor stability and reliability. Especially in the online and offline modes of hydrogen energy vehicles, it is difficult to achieve rapid automation and stable and reliable testing.
A hydrogen vehicle automation network calibration method is adopted. By importing configuration information in online and offline modes respectively, controlling the bus terminal resistance switch, configuring and verifying CAN bus data information, and using ID and period identification modules for information verification, it is realized Automated proofreading for the web.
It improves the stability and reliability of hydrogen vehicle network testing, shortens the testing time, realizes rapid proofreading and verification of the network, and the output results are digital and intuitive, with a high degree of automation and good compatibility.
Smart Images

Figure CN113589781B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of whole vehicle network testing, and in particular to a hydrogen energy vehicle automatic network calibration method and system. Background Art
[0002] With the promotion and popularization of hydrogen-powered vehicles, more and more hydrogen-powered vehicles will be launched on the market, and the number of electronic control units in hydrogen-powered vehicles will also increase. This puts higher requirements on the relevant vehicle network testing, such as how to further shorten the test time, how to automate the test, how to handle complex and huge information, etc. It is also necessary to consider how to make the network testing of the vehicle in online and offline modes more stable and reliable. Summary of the invention
[0003] A major problem solved by the present invention is the complex structure, poor stability and reliability of the whole vehicle network test.
[0004] According to one aspect of the present invention, a hydrogen energy vehicle automated network calibration method is disclosed, comprising:
[0005] When the hydrogen car is in online mode:
[0006] Import the configuration information of the diagnostic port of the vehicle's on-board diagnostic system;
[0007] Start proofreading;
[0008] According to the configuration information, if the corresponding channel of the diagnostic port of the on-board diagnostic system of the automobile needs to be externally connected to a terminal, the bus analysis device is controlled to close the terminal resistance switch of the corresponding channel, otherwise the terminal resistance switch of the corresponding channel is disconnected;
[0009] Configure the baud rate information of each channel of the online data transceiver module to receive the first CAN bus data information of the vehicle;
[0010] Verify the first CAN bus data information according to the message ID;
[0011] Outputting a first verification result;
[0012] When the hydrogen car is in offline mode:
[0013] Importing configuration information of the diagnostic port of the on-board diagnostic system of the automobile;
[0014] According to the configuration information, configure the baud rate information of the channel of the offline data import module to receive the second CAN bus data information of the whole vehicle;
[0015] Verifying the second CAN bus data information according to the message ID;
[0016] Output the second verification result.
[0017] Furthermore, the first verification result includes:
[0018] The transmitted information is classified according to the message ID:
[0019] If the message ID of the first CAN bus data information and the period of the message ID both conform to the configuration information, it is considered that the ID verification has passed;
[0020] If the message ID of the first CAN bus data information conforms to the configuration information, but the period of the message ID does not conform to the configuration information, then the period of the message ID is abnormal;
[0021] If the message ID that matches the configuration information is not received, then there is something missing in the proofreading system;
[0022] If the message ID appears other than the configuration information, there is redundant information.
[0023] Furthermore, the second verification result includes:
[0024] The transmitted information is classified according to the message ID:
[0025] If the message ID and the period of the message ID in the second CAN bus data information both conform to the configuration information, it is considered that the message ID verification has passed;
[0026] If the message ID of the second CAN bus data information conforms to the configuration information, but the period does not conform to the configuration information, then the period of the message ID is abnormal;
[0027] If the message ID that matches the configuration information is not received, then there is something missing in the proofreading system;
[0028] If the message ID appears other than the configuration information, there is redundant information.
[0029] The present invention also discloses a hydrogen-powered automobile automated network calibration system, which is used to implement a hydrogen-powered automobile automated network calibration method as described above when in operation, and the hydrogen-powered automobile automated network calibration system comprises a host computer module, a bus receiving device, a calibration system and an automobile on-board diagnostic system connected in sequence;
[0030] The host computer module is also connected to the configuration information import module, the baud rate configuration module, the information storage module, the ID recognition module, the cycle recognition module, the offline data import module and the online data receiving and sending module respectively;
[0031] The online data receiving and sending module is connected to the bus receiving device;
[0032] The port of the bus receiving device is connected to the diagnostic port of the on-board diagnostic system of the proofreading system, and the diagnostic port of the on-board diagnostic system of the proofreading system is connected to the diagnostic port of the on-board diagnostic system of the automobile.
[0033] Furthermore, the ID identification module and the period identification module are connected.
[0034] Furthermore, the ID recognition module is connected to the offline data import module and the online data receiving and sending module respectively.
[0035] Furthermore, the cycle identification module is connected to the offline data import module and the online data receiving and sending module respectively.
[0036] Further, the ports of the bus receiving device include a first port, a second port, a third port and a fourth port;
[0037] The diagnostic ports of the on-board diagnostic system of the calibration system include a first diagnostic port, a second diagnostic port, a third diagnostic port and a fourth diagnostic port connected to the first port, the second port, the third port and the fourth port respectively;
[0038] Wherein, a first channel is formed between a connection line between the first port and the first diagnostic port, and a connection line between the second port and the second diagnostic port;
[0039] A second channel is formed between the connection line between the third port and the third diagnostic port, and between the connection line between the fourth port and the fourth diagnostic port.
[0040] Furthermore, a first resistor is connected in parallel between two connecting lines constituting the first channel, and a first switch is connected in series to the first resistor.
[0041] Furthermore, a second resistor is connected in parallel between the two connecting lines constituting the second channel, and a second switch is connected in series to the second resistor.
[0042] The present invention transmits the configuration information theoretically required by each channel to a computer operating system, i.e., a host computer. The host computer configures the relevant baud rate information using a baud rate configuration module according to the relevant configuration requirements; receives the port data information of the whole vehicle through an online data receiving and sending module, and sends the host computer related control information to a bus receiving device. After receiving the relevant information, the bus receiving device controls two resistance switches to be disconnected or attracted; identifies the relevant message ID and its period according to the configuration information and an ID identification module and a period identification module, and determines whether it is consistent with the configuration information, thereby achieving the purpose of network calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0044] Figure 1 It is a control flow chart of the online mode of the hydrogen energy vehicle network calibration method in an embodiment of the present invention.
[0045] Figure 2 This is a control flow chart of the offline mode of the hydrogen energy vehicle network calibration method in an embodiment of the present invention
[0046] Figure 3 Schematic diagram of the structure of the hydrogen vehicle network calibration system in an embodiment of the present invention.
[0047] Figure 3 In the figure: 1 is the host computer of the computer operating system, 2 is the bus receiving device, 3 is the diagnostic port of the proofreading system OBD (OBD is the vehicle-mounted diagnostic system), 4 is the diagnostic port of the car OBD; 11 is the configuration information import module, 12 is the baud rate configuration module, 13 is the information storage module, 14 is the ID recognition module and the cycle recognition module, 15 is the online data receiving and sending module, 16 is the offline data import module; 25 is the terminal resistance switch of the bus receiving device channel one, 26 is the terminal resistance of the bus receiving device channel two, 27 is the terminal resistance switch of the bus receiving device channel two, 28 is the terminal resistance of the bus receiving device channel one, 21 and 22 are the two ports of channel one, 23 and 24 are the two ports of channel two. DETAILED DESCRIPTION
[0048] Various exemplary embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention.
[0049] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0050] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0051] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
[0052] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0053] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0054] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0055] Embodiment 1, as Figure 3 As shown, it is a schematic diagram of the structure of an automated hydrogen energy vehicle network calibration system of this embodiment. The entire system is as follows: 1 is a computer operating system host computer, 2 is a bus receiving device, 3 is a calibration system OBD (OBD is an on-board diagnostic system) diagnostic port, and 4 is a vehicle OBD diagnostic port; 11 is a configuration information import module, 12 is a baud rate configuration module, 13 is an information storage module, 14 is an ID identification module and a cycle identification module, 15 is an online data receiving and sending module, and 16 is an offline data import module; 25 is a terminal resistance switch of a bus receiving device channel 1, 26 is a terminal resistance of a bus receiving device channel 2, 27 is a terminal resistance switch of a bus receiving device channel 2, 28 is a terminal resistance of a bus receiving device channel 1, 21 and 22 are two ports of channel 1, and 23 and 24 are two ports of channel 2.
[0056] Among them, the configuration information import module 11 transmits the configuration information required by each channel theory to the computer operating system host computer 1 (hereinafter referred to as the host computer), and the host computer 1 configures the relevant baud rate information according to the relevant configuration requirements and the baud rate configuration module 12; identifies the relevant ID and its cycle according to the configuration information and the ID identification module and the cycle identification module 14, and determines whether it is consistent with the configuration information; receives the vehicle port data information through the online data receiving and sending module, and sends the relevant control information of the computer operating system host computer to the bus receiving device. After receiving the relevant information, the bus receiving device controls the two resistance switches 25 and 28 to be disconnected or attracted; wherein the resistance of the ID identification module and the cycle identification module 14 is 120 ohms;
[0057] The system connection relationship is: the host computer 1 and the bus receiving device 2 are connected by serial communication through the online data receiving and sending module 15, the proofreading system OBD diagnostic port 3 and the bus receiving device 2 are connected by CAN communication, and the proofreading system OBD diagnostic port 3 and the vehicle OBD diagnostic port 4 are connected by CAN communication;
[0058] The host computer module is also connected to the configuration information import module, the baud rate configuration module, the information storage module, the ID identification module, and the cycle identification module respectively;
[0059] The ID identification module and the cycle identification module are connected via a first connection line, the offline data import module and the online data receiving and sending module are connected via a second connection line, the first connection line is connected to the second connection line, and the cycle identification module is connected to the offline data import module and the online data receiving and sending module respectively;
[0060] The online data receiving and sending module is connected to a bus receiving device, a port of the bus receiving device is connected to an OBD diagnostic port of a proofreading system, and the OBD diagnostic port of the proofreading system is connected one by one to a diagnostic port of an automobile OBD system. The port of the bus receiving device includes a first port 21, a second port 22, a third port 23, and a fourth port 24; the OBD diagnostic port of the proofreading system includes a first diagnostic port, a second diagnostic port, a third diagnostic port, and a fourth diagnostic port respectively connected to the first port, the second port, the third port, and the fourth port; a connecting line between the first port and the first diagnostic port, and a connecting line between the second port and the second diagnostic port form The first channel; the connection line between the third port and the third diagnostic port, and the connection line between the fourth port and the fourth diagnostic port form a second channel; the first channel and the second channel are respectively connected in parallel with the terminal resistance switch 28 of the bus receiving device channel two and the terminal resistance 26 of the bus receiving device channel one, and the two resistors are also connected in series with the bus receiving device channel one terminal resistance switch 27 and the bus receiving device channel two terminal resistance switch 25; the system has the characteristics of simple structure, high stability, strong reliability, good compatibility and high degree of automation, and uses a direct interface to output the test results, and the proofreading results are digitally and intuitively displayed.
[0061] like Figure 1 and Figure 2 As shown, an automated hydrogen vehicle network calibration method is disclosed, including two modes: online calibration and offline calibration:
[0062] Online proofreading mode: import the automobile OBD diagnostic port information into the configuration information import module 11; the computer operating system host computer obtains relevant configuration information from the configuration information import module 11, and determines whether an external CAN terminal is required according to the configuration information;
[0063] If yes, the channel switch pull-in instruction is sent through the online data receiving and sending module, and the bus receiving device controls the corresponding channel terminal switch to pull in; otherwise, the bus receiving device controls the corresponding channel terminal switch to be disconnected;
[0064] Then, according to the configuration information, the baud rate information of each channel of the online data receiving and sending module is configured through the baud rate configuration module;
[0065] Then start the receiving function of the online data receiving and sending module; the online data receiving and sending module receives the information transmitted by the bus receiving device through the vehicle OBD diagnostic port, and transmits the relevant information to the computer operating system host computer. The computer operating system host computer classifies the transmitted information according to the message ID through the ID identification module and the cycle identification module according to the relevant configuration information:
[0066] If the relevant information message ID and period are consistent with the configuration information, the message ID verification is considered to have passed;
[0067] If the message ID is consistent but the period is inconsistent, it is considered that the message ID period check has failed;
[0068] If a message ID other than the configured one appears, it is considered as redundant information;
[0069] If the message ID required by the configuration is not received, it is considered that the system is defective;
[0070] The corresponding proofreading results are outputted, thereby realizing the rapid proofreading and verification of the hydrogen vehicle network. At the same time, the received information can be stored through the information saving module for the next analysis or use.
[0071] Offline proofreading mode: import the automobile OBD diagnostic port information into the configuration information import module 11, and import the offline data into the offline data import module at the same time; the computer operating system host computer obtains the relevant configuration information from the configuration information import module 11, and configures the baud rate information of each channel of the offline data through the baud rate configuration module according to the configuration information; then the offline data is played back, and the relevant information is passed to the computer operating system host computer, and the computer operating system host computer classifies the transmitted information according to the message ID through the ID identification module and the cycle identification module according to the relevant configuration information:
[0072] If the relevant information message ID and period are consistent with the configuration information, the message ID verification is considered to have passed;
[0073] If the message ID is consistent but the period is inconsistent, the ID period check is considered to have failed;
[0074] If a message ID other than the configured one appears, it is considered as redundant information;
[0075] If the message ID required by the configuration is not received, it is considered that the system is defective;
[0076] The corresponding proofreading results are output, and the received information is stored through the information storage module for the next analysis or use, thereby realizing the rapid proofreading and verification of the hydrogen energy vehicle network.
[0077] The aforementioned control method process has strong control logic, stable control function, and stable and reliable output results. This method realizes closed-loop control, can achieve real-time feedback, and ensures safe and reliable network calibration.
[0078] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0079] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
Claims
1. A hydrogen energy vehicle automated network calibration method, characterized in that: include: When the hydrogen car is in online mode: Import the configuration information of the diagnostic port of the vehicle's on-board diagnostic system; Start proofreading; According to the configuration information, if the corresponding channel of the diagnostic port of the on-board diagnostic system of the automobile needs to be externally connected to a terminal, the bus analysis device is controlled to close the terminal resistance switch of the corresponding channel, otherwise the terminal resistance switch of the corresponding channel is disconnected; Configure the baud rate information of each channel of the online data transceiver module to receive the first CAN bus data information of the vehicle; Verify the first CAN bus data information according to the message ID; Outputting a first verification result; When the hydrogen car is in offline mode: Importing configuration information of the diagnostic port of the on-board diagnostic system of the automobile; According to the configuration information, configure the baud rate information of the channel of the offline data import module to receive the second CAN bus data information of the whole vehicle; Verifying the second CAN bus data information according to the message ID; Outputting a second verification result; The first verification result includes: The transmitted information is classified according to the message ID: If the message ID of the first CAN bus data information and the period of the message ID both conform to the configuration information, it is considered that the ID verification has passed; If the message ID of the first CAN bus data information conforms to the configuration information, but the period of the message ID does not conform to the configuration information, then the period of the message ID is abnormal; If the message ID that matches the configuration information is not received, then there is something missing in the proofreading system; If the message ID other than the configuration information appears, there is redundant information; The second verification result includes: The transmitted information is classified according to the message ID: If the message ID and the period of the message ID in the second CAN bus data information both conform to the configuration information, it is considered that the message ID verification has passed; If the message ID of the second CAN bus data information conforms to the configuration information, but the period does not conform to the configuration information, then the period of the message ID is abnormal; If the message ID that matches the configuration information is not received, then there is something missing in the proofreading system; If the message ID appears other than the configuration information, there is redundant information.
2. A hydrogen energy vehicle automated network calibration system, characterized in that: The hydrogen-powered vehicle automated network calibration system is used to implement a hydrogen-powered vehicle automated network calibration method as claimed in claim 1 when it is running. The hydrogen-powered vehicle automated network calibration system comprises: The host computer module, bus receiving device, calibration system and vehicle on-board diagnostic system are connected in sequence; The host computer module is also connected to the configuration information import module, the baud rate configuration module, the information storage module, the ID recognition module, the cycle recognition module, the offline data import module and the online data receiving and sending module respectively; The online data receiving and sending module is connected to the bus receiving device; The port of the bus receiving device is connected to the diagnostic port of the on-board diagnostic system of the proofreading system, and the diagnostic port of the on-board diagnostic system of the proofreading system is connected to the diagnostic port of the on-board diagnostic system of the automobile.
3. A hydrogen vehicle automated network calibration system as claimed in claim 2, characterized in that: The ID identification module is connected to the period identification module.
4. A hydrogen vehicle automated network calibration system as claimed in claim 2, characterized in that: The ID recognition module is connected to the offline data import module and the online data receiving and sending module respectively.
5. The hydrogen vehicle automated network calibration system according to claim 2, characterized in that: The cycle identification module is connected to the offline data import module and the online data receiving and sending module respectively.
6. A hydrogen vehicle automated network calibration system as claimed in claim 2, characterized in that: The ports of the bus receiving device include a first port, a second port, a third port and a fourth port; The diagnostic ports of the on-board diagnostic system of the calibration system include a first diagnostic port, a second diagnostic port, a third diagnostic port and a fourth diagnostic port connected to the first port, the second port, the third port and the fourth port respectively; Wherein, a first channel is formed between a connection line between the first port and the first diagnostic port, and a connection line between the second port and the second diagnostic port; A second channel is formed between the connection line between the third port and the third diagnostic port, and between the connection line between the fourth port and the fourth diagnostic port.
7. A hydrogen vehicle automated network calibration system as claimed in claim 6, characterized in that: A first resistor is connected in parallel between two connecting lines constituting the first channel, and a first switch is connected in series to the first resistor.
8. The hydrogen vehicle automated network calibration system according to claim 6, characterized in that: A second resistor is connected in parallel between the two connecting lines forming the second channel, and a second switch is connected in series to the second resistor.
Citation Information
Patent Citations
Method and device for diagnosing vehicle-mounted electronic control devices
CN103455022A
Security gateway, data processing method and device, vehicle network topology and vehicle
CN106953796A
