Communication real-time guaranteeing method of vehicle-mounted CAN (Controller Area Network)

A real-time, CAN bus technology, applied in the bus network, data exchange through path configuration, electrical components, etc., can solve problems such as inability to mix and use, achieve low cost, avoid frequent contention, and ensure the effect of real-time communication.

Inactive Publication Date: 2012-06-06
成电汽车电子产业园(昆山)有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the different requirements of TT-CAN technology and CAN technology when using the bus, they cannot be mixed in a network system

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
  • Communication real-time guaranteeing method of vehicle-mounted CAN (Controller Area Network)
  • Communication real-time guaranteeing method of vehicle-mounted CAN (Controller Area Network)
  • Communication real-time guaranteeing method of vehicle-mounted CAN (Controller Area Network)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] For many CAN bus networks, at first adopt the method in the step (1) of the present invention respectively, calculate the reference cycle length N of each CAN network bus j , and then calculate the length N of each reference cycle on the respective bus j The maximum number of messages S that can be sent j :

[0035] S j =N j / dT j -1

[0036] Among them, dT j The time consumption required for sending the message of the jth CAN bus in the multi-CAN bus can be taken as an empirical value determined through experiments;

[0037] Calculate the length N of each reference cycle on each CAN bus j , the actual number of messages to be sent S1 j :

[0038]

[0039] in, is the i-th periodic message Mi on the j-th CAN bus j sending cycle, n j is the number of periodic messages on the jth CAN bus, for rounding operation;

[0040] According to the actual situation of the multi-CAN bus network, the number of messages S2 required to send event-type information is re...

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 communication real-time guaranteeing method of a vehicle-mounted CAN (Controller Area Network). The method comprises the following steps of: judging whether a maximum number S of messages which can be sent in a datum period is larger than the summation of a number S1 of period type messages required to be sent and a number S2 of reserved event type messages or not; if not, optimizing the quantity of the period type messages sent by electronic control units until a condition that the S1 is larger than the summation of the S1 and the S2 is met, and if so, distributing the period type messages to time slots of the datum period according to identifiers (ID) and reserving the event type messages to generate a message scheduling list; finally, selecting an electronic control unit as a time sequence datum node of the CAN, and broadcasting a starting message of the datum period via the datum period; and after all the electronic control units receive the starting message of the datum period, sending the period type messages according to the message scheduling list. The invention guarantees the use of the traditional CAN bus from time sequence and ensures that the messages sent by all the electronic control units can be sent out in real time, thus the communication real-time of the vehicle-mounted CAN is guaranteed. Meanwhile, because the vehicle-mounted CAN is implemented on the basis of the traditional CAN, the vehicle-mounted CAN is compatible with the traditional CAN and has low cost.

Description

technical field [0001] The invention belongs to the technical field of automobile electronic control, and more specifically relates to a communication real-time guarantee method of a vehicle CAN network. Background technique [0002] In the early 1980s, the German Bosch company developed a serial communication protocol - Controller Area Network (CAN) in order to solve the problem of real-time data exchange between many control units and test instruments in modern automobiles. . Through the CAN bus, sensors, controllers and actuators are connected by serial data lines to form a communication network. CAN protocol supports distributed real-time control communication network, and is widely used in automotive engine control components, sensors, body control components and other systems. [0003] As a widely used vehicle-mounted network, the CAN network requires good real-time communication during service. Even under high network load, all safety-related messages must be guaran...

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 Patents(China)
IPC IPC(8): H04L12/40H04L29/08
Inventor 丁旭阳李允陈丽蓉
Owner 成电汽车电子产业园(昆山)有限公司
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