Read J1939-11783_datalink text version

In-Vehicle Networking

Lecture 8 ISO 11783 Part 3 / J1939-21 Data Link Layer BAE 5030 - 353 Fall 2008 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma State University

ISO 11783/J1939 communications system

Application Layer Network Management Presentation Layer Session Layer Transport Layer Network Layer

CAN

Application Layer Network Management Presentation Layer Session Layer Transport Layer Network Layer

CAN

Data Link Layer Physical Layer

Data Link Layer Physical Layer

ISO 7498 ­ Open Systems Interconnection (OSI)

1

J1939 Document numbering

Document Status (out of date!)

For numbering only

DOCUMENT STATUS SAE J1939 / ISO 11783

SAE J1939 Doc. #

J1939

(August 2001)

ISO 11783 Status

Title

Recommended Practice for a Serial Control & Communications Vehicle Network RP for Control and Communications Network for Truck & Bus Application Off Road Machinery Control and Communications Network Recommended Practice for Physical Layer ­ 250k bits/s, Shielded Twisted Pair Physical Layer, 250k bit/s, Twisted Quad

Sponsor

L. Armstrong

Pub.

04/00

Draft Document

J1939-01 J1939-02 J1939-11

L. Armstrong M. Stone C. Nelli

10/00 N259 10/99 ISO 11783 Part 1 WD

J1939-12

D. Brandon

12/97 (ISO)

ISO 11783 Part 2

FDIS

J1939-13 J1939-15

Off-Board Diagnostic Connector Reduced Physical Layer, 250 k bit/s, Unshielded twisted pair

C. Nelli K. Brown

7/99 1/00

ISO 11783 Part 2

FDIS

2

DOCUMENT STATUS SAE J1939 / ISO 11783

SAE J1939 Doc. #

J1939-21 J1939-31 J1939-71 J1939-71

(August 2001)

ISO 11783 Document

ISO 11783 Part 3 ISO 11783 Part 4 ISO 11783 Part 8

Title

Data Link Layer Network Layer Application Layer DATABASE REPORT (Mtgs held thru May01) Application Layer Virtual Terminal Application Layer ­ Diagnostics Recommended Practice Network Management Protocol Compliance Tutorial Basic Implement Messages

Sponsor

M. Stepper C. Luebke G. Gillham G. Gillham

Pub.

7/98 12/97 10/98

Draft

4/01

Status

IS FDIS WD WD

1/00 (last)

ISO 11783 Part 8

J1939-72 J1939-73 J1939-81 J1939-82 J1939-83 -

M. Stone M. Stepper M. Stone W. Miller D. Brandon B. Benneweis B. Benneweis B. Benneweis B. Benneweis 10/98 7/97

5/00 1/00 5/01

ISO 11783 Part 6

FDIS

ISO 11783 Part 5

FDIS

10/00 ISO 11783 Part 7 DIS

-

Tractor ECU

ISO 11783 Part 9

DIS

-

Task Controller

N257

ISO 11783 Part 10 ISO 11783 Part 11

WD

-

Data Dictionary

CD

DOCUMENT STATUS SAE J1939 / ISO 11783

SAE J1939 Doc. #

-

(August 2001)

ISO 11783 Document

ISO 11783 Part 12

Title

Diagnostic Services

Sponsor

B. Benneweis B. Benneweis

Pub.

Draft

Status

CD

-

File Server

ISO 11783 Part 14

FDIS

3

ISO 11783 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

TYPE PDU 1

P P P R G Parameter Group

Destination Addr

Source Address

Parameter Group PDU 2 P P P R G -- PDU Format -Group Extension - Source Address

Priority First 8 Bits Reserved Page Bit Between 240 and 255

4

Identifier Structure

PDU2

P P P R D PDU Format

Priority

PDU Specific

Source Address

Parameter Group Identifies Data

Source Address Identifies Sender

P P P R D PDU Format

Destination Addr. Source Address

PDU1 8670 Parameter Groups can be defined 480 PDU1, 8190 PDU2

PGN - Parameter Group Number

5

Message Capabilities

One to Many

SOURCE

DESTINATION

PDU2

P P P -- Parameter Group -OR

- Source Address --

PDU1

P P P -- Parameter Group -- --------- 255 --------- Source Address --

Global

Message Capabilities

One to One

SOURCE DESTINATION

PDU1

P P P

-- Parameter Group --

Destination Addr.

Source Address

6

Message Capabilities

Acknowledgement

SOURCE DESTINATION

SEND ACKNOWLEDGE

Or Normal Broadcast

Command

P P P

ECU A

ECU B

PGN ACK / NACK Acknowledge

P P P ----------- 59392 -------------

Destination ECU B

Source ECU A

Control Byte Reserved

Acknowledged or Requested PGN

Data

2-5 1 6-8 0 = Positive Acknowledgement 1 = Negative Acknowledgement 2 = Access Denied 3 = Cannot Respond Now No Acknowledge on Global Requests

Not in 11783

Message Capabilities

Requests

SOURCE SOURCE

DESTINATIONS

Specific PDU1

1 2

Request

0 1 1 ----------- 59904 ----------Destination Address Source Address 3

OR Global PDU1

Data PGN lsb PGN

Request

PGN msb

Global

0 1 1 ----------- 59904 ----------- ------- 255 ---------- Source Address 1 2 3

Data PGN lsb PGN PGN msb

7

Reply's to Requests

PDU Format

1 1 1 1 2 2 2 2

Data Length

< 8 bytes < 8 bytes > 8 bytes > 8 bytes < 8 bytes < 8 bytes > 8 bytes > 8 bytes

Request Type

DA Specific DA Global DA Specific DA Global DA Specific DA Global DA Specific DA Global

Response

DA Specific DA Global DA Specific DA Global PDU2 Global PDU2 Global DA Specific DA Global

TP Used

NA NA RTS/CTS BAM NA NA RTS/CTS BAM

Message Capabilities

Proprietary

SOURCE SOURCE

DESTINATIONS

PDU1

P P P 0 0 ---------- 239 ---------- Destination Address OR Source Address

PDU2

P P P 0 0 ----------255------------ --- user defined ---Source Address

8

Multi-Packet Messages

SOURCE

DESTINATION

Connection Mode

Connection Mode - START and DATA PACKETS

TP Conn. Mgt. TP.CM_RTS Request to Send Data TP Control No. of Bytes No. of Segments Reserved 1 byte 1 byte 2 bytes 1 byte

16 TP Conn. Mgt. SENDER RECEIVER

RECEIVER

SENDER

0 1 1 0 0 --------- 236 ----------Destination Address Source Address Message PGN 3 bytes

TP.CM_CTS Clear to Send

0 1 1 0 0 --------- 236 ----------Destination Address Source Address Segments to Next Segment Send 1 byte 1 byte TP Data Xfer. Reserved Message PGN 2 byte 3 bytes RECEIVER

Data TP Control 1 byte 17 TP.DT Packet Data Data

SENDER

0 1 1 0 0 --------- 235 -------- Destination Address Source Address Packetized Data 7 bytes

Sequence No. 1 byte

Message Capabilities

Multi-Packet Messages

SOURCE

DESTINATION

Connection Mode

Connection Mode - ACKNOWLEDGE or ABORT

TP.EndOf MesgACK ACKNOWLEDGE TP Conn. Mgt. RECEIVER SENDER

0 1 1 0 0 --------- 236 ----------Destination Address Source Address Data TP Control No. of Bytes No. of Segments Reserved 1 byte 1 byte 2 bytes 1 byte 19 TP.ConnAbort Abort Connection TP Conn. Mgt. RECEIVER Message PGN 3 bytes SENDER

0 1 1 0 0 --------- 236 ----------Destination Address Source Address Data TP Control 1 byte 255 Reserved 4 bytes Message PGN 3 bytes

9

Message Capabilities

Multi-Packet Messages

SOURCE

Broadcast Mode

DESTINATION

TP.CM_BAM Broadcast Request to Send Data

TP Conn. Mgt.

RECEIVER

SENDER

0 1 1 0 0 --------- 236 ----------Destination Address Source Address -

TP Control No. of Bytes No. of Segments Reserved 1 byte 1 byte 2 bytes 1 byte 32 TP Data Xfer. SENDER TP.DT Packet Data Data Sequence No. 1 byte Packetized Data 7 bytes

Message PGN 3 bytes RECEIVER

0 1 1 0 0 --------- 235 ----------Destination Address Source Address -

200 ms between data packets!

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.

10

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!

11

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.

12

Information

J1939-11783_datalink

12 pages

Report File (DMCA)

Our content is added by our users. We aim to remove reported files within 1 working day. Please use this link to notify us:

Report this file as copyright or inappropriate

422791


You might also be interested in

BETA
NMEA 2000