Advanced Embedded Systems Design Lecture 13 RISC-CISC BAE 5030 - 003 Fall 2004 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma.

Slides:



Advertisements
Similar presentations
Exercises and Solutions Lecture 1
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Network Protocols and Communications Introduction to Networks.
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??
SAE J1939 / ISO Tractor ECU Lecture 7 Tractor ECU
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
LOCAL AREA NETWORKS. LOGICAL LINK CONTROL LLC is concerned with the transmission of a link- level PDU (Protocol Data Unit)between two stations Addressing.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 3 Underlying Technology.
What is the CAN Bus ? A two wire electronic communication data bus between ‘processors’ – i.e. computer computer controllers Developed by Robert Bosch.
CSCI 4550/8556 Computer Networks Comer, Chapter 10: LAN Wiring, Physical Topology, and Interface Hardware.
Semester 4 - Chapter 4 – PPP WAN connections are controlled by protocols In a LAN environment, in order to move data between any two nodes or routers two.
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Subnetting.
11 CHAPTER ONE Introducing Networks. Objectives Identify and describe the functions of each of the seven layers of the OSI reference model Identify the.
Network Reference Model. 2004/05Network reference models2 Learning Objectives Understand and explain the OSI reference model Understand and explain the.
Review on Networking Technologies Linda Wu (CMPT )
 What is a Controller Area Network?  History of CAN  CAN communication protocol  Physical layer  ISO  CiA  CANopen  DeviceNet  Applying.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
EECS 373 Controller Area Networks Samuel Haberl Russell Kuczwara Senyuan Zhong.
Connecting LANs, Backbone Networks, and Virtual LANs
SERIAL BUS COMMUNICATION PROTOCOLS
Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE.
January 9, 2008BAE In-Vehicle Networking Lecture 1 Introduction to CAN (Controller Area Network) BAE 5030 – 363 Spring 2009 Instructors: Marvin.
IP Network Basics. For Internal Use Only ▲ Internal Use Only ▲ Course Objectives Grasp the basic knowledge of network Understand network evolution history.
Process-to-Process Delivery:
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
January 9, 2008BAE In-Vehicle Networking Lecture 2 CAN Physical Layers ISO 11898, ISO Part 2, J ,12,13 Physical Layers BAE
In-Vehicle Networking for Heavy Duty Systems Review of CAN / SAE J1939/ ISO Network Management ISO Part 5 J Network Management ISO
Chapter 2 Network Models
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
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:
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Network Protocols and Communications Introduction to Networks.
Presentation_ID 1 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Chapter 3: Network Protocols and Communications.
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
Advanced Embedded Systems Design Lecture 8 Serial I/O BAE Fall 2004 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Local Area Networks: Ethernet. IEEE Background Institution of Electrical and Electronic Engineering (IEEE) A professional non-profit organization Project.
1 Lecture 7 LAN Wiring, Physical Topology, and Interface Hardware Computer Networks CS 4316.
In-Vehicle Networking
William Stallings Data and Computer Communications
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
SAE J1939 / ISO Network Management
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
By:David Cohen & Gadi Gilad Instructor: Boaz Mizrahi Project Midterm Presentation CAN Bus Logger Spring 2011.
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.
ISO 11783/SAE J1939 Network Layer Lecture 6 Network Layer ISO Part 4, J BAE Spring 2009 Instructor: Marvin Stone Biosystems and.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. Overview of Ethernet Networking A Rev /31/2011.
1 May-2014 Automotive Protocols & Standards. 2 CAN (Controller Area Network)  Overview Controller Area Network is a fast serial bus designed to provide.
An Introduction to CAN CAN Basics 2 Renesas Interactive
1 Copyright © Monash University ECS5365 Lecture 2 ISDN Protocols and Standards Philip Branch Centre for Telecommunications and Information Engineering.
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)
Week #8 OBJECTIVES Chapter #5. CHAPTER 5 Making Networks Work Two Networking Models –OSI OPEN SYSTEMS INTERCONNECTION PROPOSED BY ISO –INTERNATIONAL STANDARDS.
Introduction to Communication Lecture (10) 1. 2 Wired LANs: Ethernet IEEE Project 802 defines the LLC and MAC sublayers for all LANs including Ethernet.
CHAPTER -II NETWORKING COMPONENTS CPIS 371 Computer Network 1 (Updated on 3/11/2013)
COMPUTER NETWORKS CS610 Lecture-11 Hammad Khalid Khan.
ETHERNET Yash Vaidya. Introduction Ethernet is a family of computer networking technologies for local area networks (LANs). Ethernet was commercially.
CAN Controller Area Network 29BIT ID
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Lecture 3 : Network Architectures 1.
Chapter 3: Network Protocols and Communications
Lecture (2).
Networking Devices.
Controller Area Network (CAN) Training
Lecture 2: Overview of TCP/IP protocol
LEARNING COMPUTER NETWORKS OSI Model (layers). Why a layered model?  Easier to teach communication process.  Speeds development, changes in one layer.
Unit – III Network Essentials
Presentation transcript:

Advanced Embedded Systems Design Lecture 13 RISC-CISC BAE Fall 2004 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma State University

Goals for Class Today Questions over reading / homework Review CISC vs RISC - Ragu J1939/ISO (Stone)

Essence of ISO an Electronics communications protocol standard –Allows manufacturers to build electronic components that communicate with each other Examples: –Instrument cluster and engine Electronic Control Unit (ECU) –Tractor ECU and Implement ECU –Grain Flow ECU and Virtual Terminal ECU –Uses multiplexed wiring ECUs communicate across a shared four wire cable Bit serial communications –Based on CAN protocol Robert Bosch GmbH protocol for automotive use

Network Structural Model

CAN based Ag related standards ISO uses pieces of J1939 and DIN At the CAN level J1939 and use the same 29 bit CAN 2.0b Mention NMEA 2000

Standards Bodies - Relationships ISO 11783SAE J1939

ISO Characteristics Attempts to Standardize communications to the extent that ECUs built by different manufacturers can communicate. Allows Ag Implement applications (precision farming apps.) Powertrain/Braking/Lighting/Instrument Panel apps. Standardized and proprietary information exchange Control loops across net (10 ms repetition) Data rate 5.6k 30% load, bursts to 16k bytes/sec. 30 nodes per subnet, 254 nodes per system

Hardware review How far, how fast, how many nodes Types of nodes (if there are any). Etc. How long of a cable can we use? –Is this length a total length or from piece to piece? –Is there such a thing as a line driver, or booster? What is required in the way of line terminations?

J1939 / ISO Physical Layers Maximum number of ECU's –30 (per segment) ISO Media –Twisted Quad un-shielded 75  nominal impedance Two data lines (CAN_H, CAN_L) Two termination supply lines J Media –Shielded twisted pair 120  nominal impedance Two data lines (CAN_H, CAN_L) One shield Signal –Compatable with ISO drivers (eg. Phillips 80C250) Termination –J1939 – 120  passive –ISO – Active balanced current design

Cableing Cable Cross-section

ISO Physical Layer Bus Fault Tolerance: –Continued communications (emissions failure?) CAN_H shorted to V bat or Ground or interrupted CAN-L shorted to V bat or Ground or interrupted –Communications Failure CAN_H Shorted to CAN_L Terminator power interrupted ECU Conformance Testing –Test specifications included

Bus Length and Geometry Maximum Segment Length (L):40 m Maximum Drop Length (S):1.0 m Minimum Node Separation (d):0.1 m

ISO Connectors

Automatic Terminating Bias Connector Disconnection does not disrupt communications Provides Power and data

ISO 11783/J1939 Architecture ECU 1ECU 2

J1939 / ISO Data Link Layer - General –Based on CAN 2.0b 29 bit identifiers Defines the identifier meaning Physical Addressing ( 256 addresses) Independent priority field Data content identifier independent of sender Two message structures –Type 1 - Destination Specific - both source and destination –Type 2 - Extended - Only source address –Defines requests and acknowledgement –Defines proprietary message structure –Includes a Transport Protocol with two modes »Managed Connection »BAM

Message Capabilities Two identifier types (PDUs) –ECU to ECU –ECU to All PPPRG PDU 1 PDU 2 PPPR G Reserved First 8 Bits Between 240 and 255 Source AddressDestination Addr Page Bit TYPE Priority Parameter Group Source Address -- PDU Format --Group Extension - Parameter Group

PDU2 PDU1 Priority 8670 Parameter Groups can be defined 480 PDU1, 8190 PDU2 Identifier Structure

PGN - Parameter Group Number

Message Capabilities Global

Message Capabilities PDU1 One to One SOURCE DESTINATION -- Parameter Group -- Source Address Destination Addr. PPP

Message Capabilities

Reply’s to Requests

Message Capabilities

200 ms between data packets! Message Capabilities

Design Recommendations REQUEST SCHEDULING – The scheduling of a request should be canceled if information requested is received prior to request being sent. Parameter Groups should not be requested if they are recommended to be broadcast.

Design Recommendations DEVICE RESPONSE TIME AND TIME-OUT DEFAULTS –All devices, when required to provide a response, must do so within 0.20 s. All devices expecting a response must wait at least 1.25 s before giving up or retrying.

Design Recommendations REQUIRED RESPONSES –A response is required for a global request from all devices that have the requested PG, even the requester. Acknowledgments are not allowed for global requests. There is no restriction on minimum response time!

Design Recommendations CTS NUMBER OF PACKET RECOMMENDATION –During normal vehicle operation it is recommended that the maximum number of packets that can be sent per CTS be set to 16.

Assignment Continue: –Demonstrate sending and receiving a CAN message –Prepare Portfolio Organize with regard to milestones in course –Review each milestone –Assess your accomplishment of each milestone Include resources –Lecture materials –Outside reading – assigned and other Commented listings