Analysis method and construction method of CAN communication message of vehicle controller

A CAN communication and vehicle-mounted controller technology, applied in the field of automotive electronics, can solve the problems of low development efficiency and long labor hours, and achieve the effect of avoiding duplication of work and improving development efficiency.

Inactive Publication Date: 2016-06-22
LIANCHUANG AUTOMOBILE ELECTRONICS
View PDF3 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The flow chart of the traditional method is as follows: figure 1 As shown, if the traditional method is used, a lot of repetitive work is required in the system modeling, and the development efficiency is relatively low
In addition, when the DBC file or system policy changes, it needs to be modified and verified one by one, which will take a lot of man-hours

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Analysis method and construction method of CAN communication message of vehicle controller
  • Analysis method and construction method of CAN communication message of vehicle controller
  • Analysis method and construction method of CAN communication message of vehicle controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Such as figure 2 to combine image 3 As shown, the vehicle-mounted controller CAN communication message analysis method provided by the present invention comprises the following steps:

[0045] Step 1, adopt the Matlab tool to analyze the DBC file, and the generated configuration code is a .c and or .h file, and the configuration code includes at least:

[0046] A) CAN message ID;

[0047] B) the direction of the CAN message, the direction refers to whether the CAN message is used for receiving or sending;

[0048] C) a signal subordinate to the CAN message, a global variable named after the signal;

[0049] D) the arrangement format of each signal in the CAN message;

[0050] E) the starting position of each signal in the CAN message;

[0051] F) the length of each signal;

[0052] G) parameters for calculating physical values ​​for each signal;

[0053] H) The minimum and maximum values ​​of the physical values ​​corresponding to each signal;

[0054] 1) the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a CAN communication message analysis method for a vehicle-mounted controller, including analyzing a DBC file to generate a configuration code; judging whether the CAN message contains the Can message Id in the configuration code, and if the Can message Id is included Then search for the signal list according to the Can message Id, and if the Can message Id is not included, the parsing ends; judge the signal arrangement format of the CAN message, and intercept the original data in the CAN message according to the signal configuration information, and calculate the physical value Information; assign the physical value to the global variable in the configuration code; judge whether the last signal of the CAN message is reached, if it is the last signal of the CAN message, then end the parsing, if it is not the last signal, repeat this method until the CAN The last signal parsing of the message is complete. The invention also discloses a CAN communication message construction method of the vehicle controller. The CAN communication message analysis and construction method of the vehicle-mounted controller of the invention can flexibly deal with various DBC files and improve the development efficiency of the ECU.

Description

technical field [0001] The invention relates to the field of automotive electronics, in particular to a method for analyzing CAN communication messages of a vehicle controller; the invention also relates to a method for constructing CAN communication messages of a vehicle controller. Background technique [0002] In the development of the whole vehicle, a large number of signals will realize the communication between ECU and ECU, ECU and sensor through the CAN network, and in order to realize the communication, it must be implemented in the ECU software according to certain rules designed by engineers (this rule It will be saved in the DBC file. The DBC file defines a standard, which is a file used to describe the message structure in the CAN network and the signal format and information related to the message. It is a general standard in the automotive industry) and the signal The physical value is converted into a CAN message for transmission, and the received CAN message ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/40H04L29/08
Inventor 彭思崴徐新枫
Owner LIANCHUANG AUTOMOBILE ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products