Documente Academic
Documente Profesional
Documente Cultură
5
J1939 Training – Output signal
7
J1939 Topology - Backbone
Newer ECMs such as CM2250 and CM2150 do not provide a shield connection for
the J1939 datalink. The ECM may be connect to a shielded datalink backbone as
described in SAE Recommend Practice J1939-15.
8
Datalink Hardware
Reflections & Terminations
– Terminations are required to minimize reflections on
the datalink (when the transmitting pulse gets
reflected back onto the cable causing signal
degradation).
10
Message format J1939
Information on the datalink is grouped into messages containing related
information. Each message contains a Header and the associated Data.
Message
Header Data
Header
Priority ID# (PGN) Address
• The priority field indicates the priority of the message, where ‘0’
is the highest priority and ‘7’ the lowest.
• The J1939 ID consists of the parameter group number (PGN). A
parameter group (PGN) is composed of various parameters
defined in the J1939 standards, such as vehicle speed, oil
temperature, Oil Pressure, etc. Thus, a PGN identifies the
content of the data field that follows the Header.
• The source address has to be unique for every device in the
network and indicates from which device the message is being
transmitted.
One World – One Mission
J1939 Training - Terminology
PGN - Parameter Group Number
– Messages are broadcast in “groups” of information, i.e.
• PGN 61444 = Electronic Engine Controller #1 (EEC1)
• PGN 61443 = Electronic Engine Controller #2 (EEC2)
• PGN 64971 = Off Highway Engine Control Selection States (OHCSS)
13
J1939 Training – Terminology
PGN - Parameter Group Number
– Messages are broadcast in “groups” of information
• (So a PGN may have several SPNs associated with it)
17
J1939 Training – SAE Standards
If you have access to the Cummins’ Library, then you have
access to the J1939 Standard documentation.
The standards can be ordered online at www.sae.org USD
for non-SAE members and Available at discounted rate for
SAE members.
The following layers are given specific documents in the
J1939 Standard:
– Layer 1 – J1939/11: physical medium, backbone design,
length, nodes, etc.
– Layer 3 – J1939/31: Network Layer Spec
– Layer 4 – J1939/21: how to breakdown a PGN message/
BAM/Transport Protocol.
– Layer 7 – J1939/71 Information Sharing
J1939/73: fault information
pgn0 - TSC1
pgn65226 -DM1
pgn60160 & pgn60471 – TP.BAM
19
PGN0 – TSC1 –
Torque Speed Command
TSC1 allows three commands to be sent to the engine:
- Torque Command (0% -> 100%)
- Speed Command (min idle -> high idle)
- Torque/Speed Limit (which ever is lower)
The TSC1 command has been implemented in a variety of
ways in the Industrial products:
• Used as workhorse to perform speed control over complete
rpm range • Use by transmissions to limit torque/speed for
powertrain protection • Used by datalink throttle controllers to
produce the speed reference • Engine Brake control
(destination retarder)
20 One World – One Mission
TSC1- Torque command
(Is like a min/max governor)
Governor details: ISOCHRONOUS
speed governor.
TORQUE 60% THROTTLE
30% THROTTLE
translates accelerator position into 10% THROTTLE
0 0 4 0 3 8 9 6 …… Hex
0000 0000 0100 0000 0011 1000 1001 0110 ….. Binary
27
PGN 60416 – Management
Parameter Group Name: Transport Protocol Connection Management (TP.CM)
Used for the transfer of Parameter Groups that have 9 bytes
or more of data
Transmission repetition rate: Per the Parameter Group Number to be transferred
Data length: 8 bytes
Data Page: 0
PDU Format: 236
PDU Specific: Destination Address
Default priority: 7
Parameter Group Number: 60416 (EC0016)
Broadcast Announce Message (TP.CM_BAM): Global Destination
Byte: 1 Control byte = 32, Broadcast Announce Message
2,3 Total message size, number of bytes (9 to 1785)
4 Total number of packets (2 to 255)
5 Reserved (FF16)
6-8 Parameter Group Number (pgn) of the packeted message. The
message is byte swapped (in reverse)
CA FE 00 byte swapped is 00 FE CA or
pgn65226 – Active Diagnostic Trouble Codes
20 16 00 04 FF CA FE 00
0010 0000 0001 0110 000 0000 0000 0100 1111 1111 1100 1010 1111 1110 0000 0000
Note the last packet of a multipacket Parameter Group may require less than 8 data bytes.
The extra bytes should be filled with FF16
Place holders
01 15 FF 00 4F 23 82 FF
0000 0001 0001 0101 1111 1111 0000 0000 0100 1111 0010 0011 1000 0010 1111 1111
Data
Source Source
Address of Address of
Requestor Engine
18EA0017x Tx d8 E5 FE 00 FF FF FF FF FF
34
J1939 Tools - PCAN USB
– PCAN USB
» USB connection, need one USB port
» Hardware shelf
» USA: (630) 245-1445 or (206) 780-9047
» Outside North America: +49 (0) 61 51 / 81 73 20
» Approximate costs: $200
» http://www.peak-system.com/index_gb.html
SPN VALUE
43
Numbering Systems
x10 x10
x 128 x 64 x 32 x 16 x8 x4 x2 x1
1 0 0 0 1 0 0 1
1 X 128 = 128 128 + 8 + 1 = 137
1X8=8 Thus, the binary number 1000 1001
1X1=1 is equal to 137 decimal
47
J1939 Data Message Interpretation
Looking at data messages on the CANalyzer.
0.1360 1 18FEDF00x Rx d8 7D E0 2E 7D FF FF FF FF
time CAN Rx # of
Serial
Input #
or
TX
Data
Bytes
8 bytes of data represented
29 bit header in hexadecimal
Header
Priority ID# (PGN) Address
1 8 F E D F 0 0
1 1000
PGN
Parameter Source Address
Group
Number
0.1000 1 OCF00300x Rx d8 7D C3 C0 2D FF FF FF FF
10 FF 00 4F 27 81 00 4F 67 81 00 0D A1 81
10 = 0001 0000 = Red Lamp On
FF = Reserved
00 4F 27 81 = 0000 0000 0100 1111 0010 0111 1000 0001
= SPN 633, FMI 7, Conv Bit 1, Occ 1
= Fault Code 514
00 4F 67 81 = SPN 635, FMI 7, Conv Bit 1, Occ 1 (Fault Code 112)
00 0D A1 81 = SPN 109, FMI 1, Conv Bit 1, Occ 1 (Fault Code 233)
– CANalyzer
» In North America contact: Vector CANtech Inc.
(248) 449-9290 Matt Palmer
» Outside America contact:
49-711-80670-505 Lother Felbinger
» Approximate Cost:
Software: $2,700
Hardware: $1,185
– http://www.vector-cantech.com/
57
Canalyzer Message
58