Browse Publications Technical Papers 2000-01-2585
2000-09-11

Design and Analysis of CAN Networks for Vehicles 2000-01-2585

CAN based protocols for on- and off-highway applications are very popular. Designers of these systems need to know prior to implementation if the communications design will meet all the timing requirements, especially when critical machine control is involved. An analysis of the system that is accurate and easy to understand is needed. Further, tools are needed to allow “what if” analysis of varying messaging and priority schemes. The methods described in this paper are useful for standard protocols like SAE J1939 and ISO 11783 as well as for proprietary protocols.
A communication modeling method using Rate Monotonic Analysis is possible. The theory and analysis method developed by others is applied to the J1939 situation. Some equations are modified to make it more realistic such as the calculation of stuff bits. The model is easily implemented with a spreadsheet. The very process of developing the model reveals certain key design features that are required of the CAN communication software drivers to prevent unbounded priority inversion. This information is used to determine the correct usage of the CAN objects, queuing methods and message parsing to achieve the best possible communications performance. Using the model allows the bus loading to be determined. This measure alone does not give enough information to guarantee a stable and robust system. To go further, the model allows the individual message latencies and system spare capacity to be determined. The measure of spare capacity is used to optimize message priorities to allow for maximum system expansion while guaranteeing the system performance.
An example system is analyzed and optimized using a spreadsheet to implement the mathematical model. Conclusions can be drawn from the analysis regarding the usefulness and appropriateness of various message protocol features.

SAE MOBILUS

Subscribers can view annotate, and download all of SAE's content. Learn More »

Access SAE MOBILUS »

Members save up to 16% off list price.
Login to see discount.
Special Offer: Download multiple Technical Papers each year? TechSelect is a cost-effective subscription option to select and download 12-100 full-text Technical Papers per year. Find more information here.
We also recommend:
TECHNICAL PAPER

Optimizing J1939 Messages Response Time by Using Evolutionary Algorithms

2009-36-0294

View Details

TECHNICAL PAPER

Automatic Code Generation and Platform Based Design Methodology: An Engine Management System Design Case Study

2005-01-1360

View Details

TECHNICAL PAPER

How to Keep Consistency between System Architecture and Their Fault Trees: A Lightweight Approach

2018-01-1073

View Details

X