In-Vehicle Networking: Introduce Class
In-Vehicle Networking: Introduce Class
Lecture 1 Introduction to in-vehicle networking BAE 5030 - 003 Fall 2008 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma State University
January 7, 2008
BAE 5030
Introduce the ISO Open System Interconnection model Conduct a laboratory exercise to demonstrate
Media access control Addressing CSMA/CD Token ring
January 7, 2008
BAE 5030
Course Objectives
The objective of this course is to provide students with a working knowledge of in-vehicle network systems and exposure to aspects of design, development, application, and performance issues associated with those systems.
Syllabus on D2L
All handout material, reading materials, assignments will be posted on the web at https://oc.okstate.edu/
Student Deliverables
In-class presentation 25% Class notebook 25% Quizzes 25% Final exam 25%
BAE 5030 3
January 7, 2008
Class subject outline Introduction to OSI and network descriptive structures and network functionality. Network technologies
LIN SAE J1850 SAE J1587/1708 CAN SAE J1939/ISO 11783/NMEA2000 Flexray MOST Ethernet Future network technologies
W. Wong. Multimedia Automotive Networks. Electronics Design, ED Online ID #14995, March 29,2007.
January 7, 2008
BAE 5030
In-Vehicle Networks
What are they?
A system of physical and logical interconnection enabling communication between components inside a vehicle and between components outside the vehicle and the inside components.
nt me ple Im
s Bu
VT
GPS
Tractor Bus
January 7, 2008
BAE 5030
In-Vehicle Networks
What constitutes a network
Distributed computing
Communications among distributed components
Interconnection via:
wiring fiber optics radio other?
Vehicles
For our purposes mobile equipment
Ag and construction equipment Mining equipment, trucks and buses, automobiles, ships, aircraft etc.
January 7, 2008
BAE 5030
Sensors ECUs
Nozzles
NOZZLE ECU
Data Logging
GPS
Sensors ECUs
Data Bus
Data Logging
Data Bus
GPS
Ring
January 7, 2008
BAE 5030
10
To form a complete communications system you need multiple functions on both ends
Network Management
Network Management
Provides structure and definition for communication of data from one application to another over a network Organized as functional layers
Provide transparent communication services to the layer above Likely implemented as functions or subroutines that are called from the layer above or provide an interrupt to the layer above A full (or partial) set of layers is known as a stack
Application Layer
Contains all those functions which imply communication between open systems that are not already performed by the lower layers. These include functions performed by programs as well as functions performed by human beings.
Presentation Layer
Provides for common representation of the data transferred between application-entities. This relieves application-entities of any concern with the problem of "common" representation of information, i.e., it provides them with syntax independence.
Session Layer
Provides the means necessary for co-operating presentationentities to organize and to synchronize their dialogue and to manage their data exchange. To do this, the Session Layer provides services to establish a session-connection between two presentation-entities, to support orderly data exchange interactions, and to release the connection in an orderly manner.
January 7, 2008
BAE 5030
13
Network Layer
Provides to the transport-entities independence of routing and relay considerations.
Physical Layer
Provides mechanical, electrical, functional and procedural means to activate, maintain, and de-activate physical-connections for bit transmission between data-link-entities.
January 7, 2008
BAE 5030
14
January 7, 2008
BAE 5030
15
Media sharing techniques Some method must be provided in a network protocol to regulate the use of shared media
Methods include
Time domain multiplexing (assigned time slots) Frequency domain multiplexing (assigned frequency slots) Master/Slave (speak when spoken to) Carrier sense multiple access with collision detection Carrier sense multiple access with bitwise priority access Others
CSMA/CD
Multiple devices using the same media (Multiple access) listen before sending (carrier sense) and listen while sending (collision detection). If a collision is sensed, a random back-off algorithm is used to delay the next communication attempt
January 7, 2008 BAE 5030 16
January 7, 2008
BAE 5030
17