Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 an analysis method of a CAN communication message of a vehicle controller. The method includes: a DBC file is analyzed, and a configuration code is generated; whether a CAN message includes a Can message Id in the configuration code is determined, if the CAN message includes the Can message Id, a signal list is searched according to the Can message Id, and if the CAN message does not include the Can message, the analysis is ended; the signal arrangement format of the CAN message is determined, original data is intercepted in the CAN message according to signal configuration information, and information of a physical value is calculated and obtained; a global variable in the configuration code is endowed with the physical value; and whether the final signal of the CAN message is reached is determined, if yes, the analysis is ended, and if not, the method is implemented again, and the analysis is accomplished until the final signal of the CAN message is reached. The invention also discloses a construction method of the CAN communication message of the vehicle controller. According to the analysis method and the construction method of the CAN communication message of the vehicle controller, various DBC files can be flexibly dealt with, and the ECU development efficiency is improved.

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products