Host Data Layer 7 Application Interacts with software requiring network communications; identifies partners, resources and synchronization Layer 6 Presentation.

Slides:



Advertisements
Similar presentations
Contents Overview Data Information Frame Format Protocol
Advertisements

Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Why to learn OSI reference Model? The answer is too simple that It tells us that how communication takes place between computers on internet but how??
Setha Pan-ngum. History of CAN [1] It was created in mid-1980s for automotive applications by Robert Bosch. Design goal was to make automobiles more reliable,
OSI Model OSI MODEL.
OSI Model OSI LAYER / MODEL.
CompTIA Network+ Chapter 2
International Standards Organization Open Systems Interconnect (OSI) Reference Model Advanced Computer Networks.
OSI Model.
Open System Interconnection (OSI) Model
Networks: OSI Reference Model 1 International Standards Organization Open Systems Interconnect (OSI) Reference Model.
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
LECTURE 2 CT1303 LAN. STANDARD MODELS: OSI Model : Open system Interconnection. is a conceptual model that characterizes and standardizes the internal.
Lecturer: Tamanna Haque Nipa
SERIAL BUS COMMUNICATION PROTOCOLS
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non-proprietary standards for networking and for operating system.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
1 Chapter 1 OSI Architecture The OSI 7-layer Model OSI – Open Systems Interconnection.
Service Primitives Six service primitives that provide a simple connection-oriented service 4/23/2017
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
The OSI Model An ISO (International standard Organization) that covers all aspects of network communications is the Open System Interconnection (OSI) model.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
The OSI Model.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
OSI Model. Topics What is the OSI Model? What is a Protocol? Why 7 Layers? The 7 Layers – Application – Presentation – Session – Transport – Network –
Protocols Rules governing the communication process, the language of the deal between the devices, must reflect Layers protocols define format, order of.
MODULE I NETWORKING CONCEPTS.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose This training course provides an overview of Message Frames.
Section 3 - Slide 1/19 P&T - GPS - Formation PhW - CANopen_lev1_en - 01/2004 History CANopen and the ISO model Physical layer Link layer Application layer.
William Stallings Data and Computer Communications
Rehab AlFallaj.  OSI Model : Open system Interconnection.  is a conceptual model that characterizes and standardizes the internal functions of a communication.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
OSI Reference Model. Open Systems Interconnection (OSI) Model International standard organization (ISO) established a committee in 1977 to develop an.
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
LE427 Data communication and networks Jarree Chaicharn, Ph.D. รศ ดร จรี ไชยชาญ
1 Packet Switching, Layer Models and Protocol Suites.
Chapter 2 Network Models
Network Models.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
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.
An Introduction to CAN CAN Basics 2 Renesas Interactive
1 Computer Communication & Networks Lecture 3 Layering and Protocol Stacks (contd.) Waleed Ejaz.
Data Communication Network Models
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Controller Area Network
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
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.
Chap. 2 Network Models.
Layered Architectures
Lecturer, Department of Computer Application
CT1303 LAN Rehab AlFallaj.
DEPARTMENT OF COMPUTER SCIENCE
Lec 5 Layers Computer Networks Al-Mustansiryah University
NET301 Lecture 2 10/9/2015 NET 301.
Chapter 3: Open Systems Interconnection (OSI) Model
OSI Model The Seven Layers
OSI Model OSI MODEL.
Controller Area Networks (CAN)
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Transport Layer 9/22/2019.
Open System Interconnect (OSI).
Presentation transcript:

Host Data Layer 7 Application Interacts with software requiring network communications; identifies partners, resources and synchronization Layer 6 Presentation Formats and encrypts data; unifies syntax and semantics Layer 5 Session Establishes, manages, and terminates connections between computers Segment/ Datagram Layer 4 Transport Provides transparent transfer of data between hosts; end-to- end error recovery and flow control Media Packet Layer 3 Network Provides switching, routing, addressing, error handling, congestion control, and packet fragmentation and sequencing Frame Layer 2 Data Link Encodes/decodes data packets into bits Logical Link Control: handles error in physical layer, flow control and frame synchronization Media Access Control: defines transmission protocol and management Bit Layer 1 Physical Carries bit stream; defines physical characteristics such as voltage/light levels and frequencies Open Systems Interconnect (OSI) Model

Controller Area Network Standard Defines Physical Layer (L1) Defines Data Link Layer (L2) Defines how to Transport (L4) small (8 bytes) datagrams No flow control (L3 and L4) No sequencing and fragmentation (L3) No Session (L5) or Presentation (L6) specs Different Higher Layer Protocols (HLPs) handle the rest

Common CAN HLPs CanKingdom CANopen CCP/XCP DeviceNet SAE J1939 OSEK SDS These define the “Object” Layer (layers not defined by the CAN standard)

CAN Physical Layer – Voltages Open collector (wired-OR); NRZ Dominant bits are logical 0 Recessive bits are logical 1 Provides arbitration free transmission Automatic Collision Detection Transmitter A Dominant (0)Recessive (1) Transmitter B Dominant (0) Recessive (1)Dominant (0)Recessive (1) If A transmits recessive (1) and sees dominant (0) from B, A knows collision occurred and stops transmitting (will retry 6 clock cycles after end of dominant message)

CAN Physical Layer – Timing Each node has its own clock Synchronization done by dividing bit time into four segments Phases 1 & 2 adjusted based on network and node conditions Sample between Phase 1 & 2 Bit Time SyncPropagationPhase Segment 1Phase Segment 2 Clock

CAN Data Link Layer Specifies four message types Data: contains data for transmission Data Request (Remote): requests transmission of a specific identifier Error: transmitted by any node detecting an error Overload: injects a delay between data and/or remote frames

CAN Data Frames FieldBit LengthDescription Start-of-Frame1Signals start of frame transmission Identifier11Unique id for data (embedded priority) Remote Trans. Request (RTR)1Optional, but must be dominant (0) ID Extension bit (IDE)1Optional, but must be dominant (0) Reserved bit (r0)1Reserved, but must be dominant (0) Data Length Code (DLC)4Number of data bytes (0-8) Data Field0-8 bytesActual data CRC15Cyclic redundancy check CRC Delimiter1Must be recessive (1) ACK Slot1Transmit recessive, receiver sends dominant ACK Delimiter1Must be recessive (1) End-of-Frame (EOF)7Must be recessive (1) For Data Request RTR = 1 (recessive) and DLC = 0 (data field empty)

Error Frames Active error generated by transmitter Passive error generated by receiver Error Types – Bit: Send recessive, read dominant – Stuff: more than 5 consecutive bits of same polarity – CRC: computed and received CRCs not equal – Form: invalid bits in field – ACK: no acknowledgement from receiver

Overload Frames Two overload conditions – Internal conditions of receiver – it can’t keep up – Dominant bit detected during expected intermission (interframe space)

Byte Data Link Controller (BDLC) Physical Layer has three forms – 2-wire: 10.4 Kbps, UART, NRZ (Chrysler) – 2-wire: 41.6 Kbps pulse width modulated (Ford) – 1-wire: 10.4 Kbps variable pulse width (GM) High level V; Low level < 3.5 V Buses use weak pull-down, driver pulls it high High signals are dominant High and low values are bit symbols with specific times Logic 0Logic 1 Active 128  s high64  s high Passive 64  s low128  s low

BDLC – Data Link Layer FieldLengthDescription Start-of-Frame (SOF) 200  s high Signals start of frame transmission Header1 or 3 bytes Message priority; IFR required/disallowed; addressing mode; and message type DatavariableActual data CRC1 byteCyclic Redundancy Check for data End-of-Data (EOD) 200  s low Signals end of data; allows receivers to respond In-Frame Response (IFR)variableReceivers may append response here CRC1 byteCyclic Redundancy Check for response End-of-Frame (EOF) 80  s low Signals end of frame SOFHeaderDataCRCEODIFRCRCEOF 3 byte headers contain destination and source addresses