CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Controller Area Network: Overview (Updated by: Ki-sung Koo, CprE 458/558.

Slides:



Advertisements
Similar presentations
Exercises and Solutions Lecture 1
Advertisements

OSI Model OSI MODEL.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
EE 4272Spring, 2003 EE4272: Computer Networks Instructor: Tricia Chigan Dept.: Elec. & Comp. Eng. Spring, 2003.
Ethernet: CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Access method: method of controlling how network nodes access communications.
11 CHAPTER ONE Introducing Networks. Objectives Identify and describe the functions of each of the seven layers of the OSI reference model Identify the.
Review on Networking Technologies Linda Wu (CMPT )
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 1: Internetworking.
SERIAL BUS COMMUNICATION PROTOCOLS
Instructor & Todd Lammle
Chapter Five Network Architecture. Chapter Objectives  Describe the basic and hybrid LAN technologies  Describe a variety of enterprise-wide and WAN.
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
1 Networks and Telecommunications. 2 Applying Telecommunications in Business TELECOMMUNICATIONS – the transmission of data between devices in different.
CSCI-235 Micro-Computer in Science The Network. © Prentice-Hall, Inc Communications  Communication is the process of sending and receiving messages 
Week one - networks and Layered Communication Introduction to Networks Layered Communication OSI Model The Physical Layer The Data Link Layer.
In-Vehicle Networking for Heavy Duty Systems Review of CAN / SAE J1939/ ISO BAE 5030 Fall 2001 Instructor: Marvin Stone BAE 5030 Fall 2001 Instructor:
1 Module 15: Network Structures n Topology n Network Types n Communication.
Basic LAN techniques IN common with all other computer based systems networks require both HARDWARE and SOFTWARE to function. Networks are often explained.
Jiří Novák, CTU FEE in Prague, Dept. of Measurement Industrial Distributed Systems Technology overview Technology overview Important features Important.
Chapter 7 Low-Level Protocols
Connectivity Devices Hakim S. ADICHE, MSc
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
1 Review - OSI Model n OSI Reference Model u represents the communications process. u 7 layers: physical, data link, network, transport, session, presentation.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Copyright CCNA 1 Chapter 5 Ethernet Fundamentals By Your Name.
ECGR 6185 Advanced Embedded Systems Controller Area Network University Of North Carolina Charlotte Bipin Suryadevara.
The OSI Model.
Switching breaks up large collision domains into smaller ones Collision domain is a network segment with two or more devices sharing the same Introduction.
Data and Computer Communications Circuit Switching and Packet Switching.
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
William Stallings Data and Computer Communications
Chapter2 Networking Fundamentals
Network Technologies Definitions –Network: physical connection that allows two computers to communicate –Packet: a unit of transfer »A sequence of bits.
Sybex CCNA Chapter 2: Ethernet Networking and Data Encapsulation Instructor & Todd Lammle.
Cisco Network Devices Chapter 6 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Identify and explain various Cisco.
Department of Industrial Engineering Sharif University of Technology Session# 10.
OSI Reference Model. Open Systems Interconnection (OSI) Model International standard organization (ISO) established a committee in 1977 to develop an.
Network Protocols and Standards (Part 2). The OSI Model In 1984, the International Organization for Standardization (ISO) defined a standard, or set of.
Network Models.
Data Link Layer and Ethernet COM211 Communications and Networks CDA College Theodoros Christophides
Controller Area Network (CAN) is a broadcast, differential serial bus standard, originally developed in the 1980s by Intel and Robert Bosch GmbH, for.
IEEE 802.X Standards The Institute of Electrical and Electronics Engineers (IEEE) has developed a series of networking standards to ensure that networking.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
The OSI Reference Model Data Communications and Networks Mr. Greg Vogl Uganda Martyrs University Lecture 3, 21 March 2003.
Unit 3 Physical Layer.
OSI ARCHITECTURE IN OSI, ACTUAL INFORMATION IS OVERHEADED BY PROTOCOL LAYERS IF ALL SEVEN LAYERS ARE OVERHEADED, THEN AS LITTLE AS 15% OF THE TRANSMITTED.
1 May-2014 Automotive Protocols & Standards. 2 CAN (Controller Area Network)  Overview Controller Area Network is a fast serial bus designed to provide.
1 Copyright © 2014 Tata Consultancy Services Limited Controller Area Network (CAN) By Renukacharya A. Thakare.
Chapter Objectives After completing this chapter you will be able to: Describe in detail the following Local Area Network (LAN) technologies: Ethernet.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Mr. Sathish Kumar. M Department of Electronics and Communication Engineering I’ve learned that people will forget what you said, people will forget what.
Network types Point-to-Point (Direct) Connection Dedicated circuit boards connected by cable; To transfer data from A to B: – A writes on its circuit board;
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Lecture 3 : Network Architectures 1.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Network Models.
Click to edit Master subtitle style
Layered Architectures
Lecturer, Department of Computer Application
CprE 458/558: Real-Time Systems
Network Protocol Layers
CCNA 1 Chapter 5 Ethernet Fundamentals
OSI Model The Seven Layers
OSI Model OSI MODEL.
Instructor: Mr. Malik Zaib
LEARNING COMPUTER NETWORKS OSI Model (layers). Why a layered model?  Easier to teach communication process.  Speeds development, changes in one layer.
Presentation transcript:

CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Controller Area Network: Overview (Updated by: Ki-sung Koo, CprE 458/558 TA)

CprE 458/558: Real-Time Systems (G. Manimaran)2 Intra-vehicular communication A typical vehicle has a large number of electronic control systems The growth of automotive electronics is a result of: –Customers wish for better comfort and better safety. –Government requirements for improved emission control –Reduced fuel consumption Some of such control systems –Engine timing –Gearbox and carburetor throttle control –Anti-block systems (ABS) –Acceleration skid control (ASC)

Intra-vehicular communication An example of intra-vehicular communication. CprE 458/558: Real-Time Systems (G. Manimaran)3

4 Intra-vehicular communication The complexity of these functions implemented by these electronic control systems necessitates an efficient communication between them. In addition, a number of systems are being developed which will cover more than one device. For example –ASC requires the interplay of the engine timing and carburetor control in order to reduce torque when drive wheel slippage occurs. –In the electronic gearbox control, the ease of gear changing can be improved by a brief adjustment to ignition timing

CprE 458/558: Real-Time Systems (G. Manimaran)5 How do we connect these control devices? With conventional systems, data is exchanged by means of dedicated signal lines or wires. But this is becoming increasingly difficult and expensive as control functions become ever more complex. In the case of complex control systems in particular, the number of connections cannot be increased much further. Solution: Use Fieldbus networks for connecting the control devices

CprE 458/558: Real-Time Systems (G. Manimaran)6 Fieldbus Networks: basic motivation Why use Fieldbus Networks? To avoid this… Figure 1 Traditional Wiring - two pairs of cables can substitute all typical connections.

Real-Time Communication Architecture Three different communication networks in real-time application. CprE 458/558: Real-Time Systems (G. Manimaran)7

8 Intra-vehicular communication A schematic diagram of a current in-vehicle network Smart Junction Box

CprE 458/558: Real-Time Systems (G. Manimaran)9 Fieldbus Networks Fieldbuses are communication technologies and products used in vehicular, automation and process control industries. 1) Proprietary Fieldbuses (Closed Fileldbuses) –Proprietary Fieldbuses are an intellectual property of a particular company or body. 2) Open Fieldbuses –For a Fieldbus to be Open, it must satisfy the following criteria. a) The full Fieldbus Specification must be published and available at a reasonable price. b) Critical ASIC components must be available, also at a reasonable price. c) Well defined validation process, open to all of the Fieldbus users.

CprE 458/558: Real-Time Systems (G. Manimaran)10 Fieldbus Advantages 1) Reduces the complexity of the control system in terms of hardware outlay. 2) Resulting in the reduced complexity of the control system, project design engineering is made simpler, more efficient and conversely less expensive. 3) By selecting a recognized and well established system, this will make the Fieldbus equipment in you plant or plants interchangeable between suppliers. 4) The need to be concerned about connections, compatibility and other potential problems is eradicated.

CprE 458/558: Real-Time Systems (G. Manimaran)11 What constitutes a Fieldbus? The specification of a Fieldbus should ideally cover all of the seven layers of the OSI model.

CprE 458/558: Real-Time Systems (G. Manimaran)12 Fieldbus: OSI layer details Physical Layer [1] What types of signals are present, levels, representation of 1's and 0's, what type of media connects, etc. Link Layer [2] Techniques for establishing links between communicating parties. Network Layer [3] Method of selecting the node of interest, method of routing data. Transport Layer [4] Ensuring what was sent arrives at the receiver correcting any correctable problems. Session Layer [5] Not applicable to Fieldbuses. Presentation Layer [6] Not applicable to Fieldbuses. Application Layer [7] Meaning of data. The best way of covering layer 7 is to define standard profiles for standard devices.

CprE 458/558: Real-Time Systems (G. Manimaran)13 What Fieldbus Networks are currently on the market? some of the Fieldbus technologies currently on the market –AS-Interface (Europe) –CAN (German, Bosch, we will discuss in detail) –Interbus (German, Phoenix Contract) –ModBus (America, Modicon) –Profibus (German, Siemens) –EtherNet (America, AB) –Controlnet (America, AB) –Etc.

CprE 458/558: Real-Time Systems (G. Manimaran)14 Controller Area Network (CAN) Controller Area Network (CAN) is a fast serial bus that is designed to provide –an efficient, –Reliable and –very economical link between sensors and actuators. CAN uses a twisted pair cable (dual-wire) to communicate at speeds up to 1Mbit/s (max) with up to 40 devices. It originally developed to simplify the wiring in automobiles. CAN (fieldbuse) are now used in machine and factory automation products as well.

CprE 458/558: Real-Time Systems (G. Manimaran)15 CAN features 1) Any node can access the bus when the bus is quiet. 2) Non-destructive bit-wise arbitration to allow 100% use of the bandwidth without loss of data (example) 3) Variable message priority based on 11-bit / 29 bit packet identifier 3) Peer-to-peer and multi-cast reception 4) Automatic error detection, signaling and retries 5) Data packets 8 bytes long 6) Asynchronous communication (Even Triggered)

CprE 458/558: Real-Time Systems (G. Manimaran)16 CAN architecture CAN Bus CS1CS2CS3CS40 CAN Station 1CAN Station 40 (max) ………….

CprE 458/558: Real-Time Systems (G. Manimaran)17 Working of the CAN network: example

CprE 458/558: Real-Time Systems (G. Manimaran)18 Tradeoff: CAN bus versus point-to-point connections By introducing one single bus as the only means of communication as opposed to the point-to-point network, we traded off the channel access simplicity for the circuit simplicity Since two devices might want to transmit simultaneously, we need to have a MAC protocol to handle the situation. CAN manages MAC issues by using a unique identifier for each of the outgoing messages Identifier of a message represents its priority.

CprE 458/558: Real-Time Systems (G. Manimaran)19 CAN: message format Supports only 11 bit identifier

CprE 458/558: Real-Time Systems (G. Manimaran)20 Extended CAN message format Supports 29 bit identifier

CprE 458/558: Real-Time Systems (G. Manimaran)21 Physical CAN connection *ECU (Electrical Control Unit)

CprE 458/558: Real-Time Systems (G. Manimaran)22 Implicit collision handling in the CAN bus If two messages are simultaneously sent over the CAN bus, the bus takes the “logical AND” of all them Hence, the messages identifiers with the lowest binary number gets the highest priority Every device listens on the channel and backs off when it notices a mismatch between the bus’s bit and its identifier’s bit.

CprE 458/558: Real-Time Systems (G. Manimaran)23 Implicit collision handling in the CAN bus: example Node B’s message-ID Node A’s message-ID BUS Node B notices a mismatch in bit # 3 on the bus. Therefore, it stops transmitting thereafter Unlike the MAC protocols we learnt, in CAN a collision does not result in wastage of bandwidth. Hence, CAN achieves 100% bandwidth utilization

CprE 458/558: Real-Time Systems (G. Manimaran)24 Other applications of CAN 1) Concrete State Monitor & Control Ssytem

CprE 458/558: Real-Time Systems (G. Manimaran)25 Other applications of CAN 2 ) MRI Cooling System

CprE 458/558: Real-Time Systems (G. Manimaran)26 Other applications of CAN 3) Tram Energy Recycle System

CprE 458/558: Real-Time Systems (G. Manimaran)27 References uction.htm#_Toc http:// uction.htm#_Toc “In-Vehicle Network Architecture for the Next-Generation Vehicles” Syed Masud Mahmud, Sheran Alles