Академический Документы
Профессиональный Документы
Культура Документы
Agenda
2002
1
J1939 Training
Vocabulary:
Datalink: Term used to describe how devices
communicate with each other also referred to as a
network.
Bit: One binary value. A 1 or 0
Byte: 8 bits put together. Ex: 00000001
Bit Field: Number of bits which are grouped
together
CAN Data Frame: Series of ordered bit fields
Cummins Industrial Electronics Training
2002
2
J1939 Training
Vocabulary (cont.)
Cyclic Redundancy Check (CRC): Error
control mechanism used to detect when a
message was corrupted during transimission.
Data Field: 0-64 bit field in the CAN data
frame which contains the actual data such as oil
pressure or coolant temperature as defined in
J1939/71 standard.
Cummins Industrial Electronics Training
2002
3
J1939 Training
Vocabulary (cont.)
Destination Address: Address of who is suppose
to receive the message. (not included in all J1939
messages)
Global Address is 255 or FF hex
2002
4
J1939 Training
Vocabulary (cont.)
End of Frame: 7 bit field which marks the end of a
CAN frame
Extended Frame: A CAN frame which contains a 29
bit identifier as defined in the CAN2.0B standard.
Note: J1939 allows both 11bit and 29 bit Identifers to
coexist on the same network.
2002
5
J1939 Frame
Start of
Frame Bit
ACK
Field
Header
Priority #
PDU Format
Source Address
# of bytes
4 bits
representing
numbers
0-15
typically 8
End of
Frame Bit
CRC
Used
for
Error
Checking
2002
6
J1939 Training
Vocabulary (cont.)
Message: One or more CAN data frames which
transfer a complete piece of information to other
devices on the datalink.
Multipacket Message: Messages which require
multiple CAN data frames. These are handled by
the transport protocol.
Protocol: A protocol is the language of how to
communicate between devices.
Cummins Industrial Electronics Training
2002
7
J1939 Training
Vocabulary (cont.)
Parameter Group Number (PGN): a 24 bit
identifier used to identify a message which
contains a particular group of parameters.
Parameter Group: A collection of parameters
that are conveyed in a J1939 message.
PDU1 Format: Format used when specifying a
destination address
Cummins Industrial Electronics Training
2002
8
J1939 Training
Vocabulary (cont.)
PDU2 Format: Format used when broadcasting
information.
Priority: The highest priority is zero. Lowest
priority is seven.
Source Address: Address of who is sending the
message on the datalink.
Start of Frame: Bit used to indicate the start of a
CAN frame.
Cummins Industrial Electronics Training
2002
9
J1939 Training
Vocabulary (Cont.)
Suspect Parameter Number (SPN): The
particular element which is having a problem.
This is used in the fault codes to tell us which
part is having a problem. (Sensor, ECM, etc..)
Failure Mode Identifer (FMI): Used to say how
a particular SPN has failed.
2002
10
J1939 Training
2002
11
Layer
Number
7
6
5
4
3
2
1
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
Presentation
Session
Transport
Network
Data Link
Physical
Physical Transmission Media
2002
12
Network Layer
Adds or looks at who sent the message and where the message going
Transport Layer
Breaks and reassembles large messages into smaller messages for sending
over the network
Session Layer
Handles access rights may not want everyone to see all data
2002
13
Application Layer
Whatever is left over from other layers.
2002
14
2002
15
J1939 Training
What can I monitor?
What must I monitor to remove the
indicator lights?
Where do I find out how to interpret the
messages?
Example of reading oil pressure
Cummins Industrial Electronics Training
2002
16
J1939 Training
Request
Only
Data
2002
17
J1939 Training
What can I monitor?
Sensor parameters such as coolant temperature,
oil pressure, etc
Engine Fault Codes
2002
18
J1939 Training
What must I monitor to remove the
indicator lights?
All fault code SPNs (suspect parameter number
and FMIs (failure mode indicator) must be
displayed.
2002
19
J1939 Training
Where do I find out how to interpret the messages?
Parameter data messages are found in the J1939/71
standard. Find the PGN first then look up the
individual parameter definitions.
Fault Code (Diagnostic) messages are found in the
J1939/73 standard. You will also need to use the
wiring diagram, or AEB for the specific engine to
understand what Cummins fault code goes with a
SPN / FMI pair.
2002
20
J1939 Control
What can the customer control?
Engine speed can be controlled via the J1939
datalink.
Fan Clutch
2002
21
J1939 Training
High Speed datalinks
Reflections & Terminations
Topology
Troubleshooting
2002
22
J1939 Training
Reflections & Terminations
Terminations are required to minimize reflections
on the datalink (demo)
J1939/11 requires two 120ohm terminations for the
datalink.
EA options for QSX/QSM only use one 120ohm
termination due to the short length between the
ECM and the service datalink connection.
ICAD Database has more detailed information
2002
23
J1939 Training
Circuit block diagram
Most of our modules use the Intel 82527 Serial
Communcations Controller ( CM500, CENSE,
CM550, CM570, etc...)
Inside
Outside
Example circuits shown in J1939/11
ECM
ECM
specification
Micro
( 68332 )
Serial
Communications
Controller
CAN
Transceiver
ESD
Protection
Circuit
2002
24
J1939 Topology
Length of Backbone: .1 - 40m
Length of Stub: 0 - 1m
Maximum number of nodes: 30
Terminations : 120
Minimum Spacing: 0.1 m
Stub
120
120
Backbone
2002
25
J1939 Addressing
Dynamic Addressing
Each ECM on the network takes on an address
at startup. The specific address may be
different from startup to startup.
2002
26
J1939 Troubleshooting
Troubleshooting
First check the termination resistors.
Measure resistance between CAN_H and CAN_L.
Resistance should be approximately 60 ohms. If
you have a small backbone like in the EA options,
this may be closer to 120 ohms.
2002
27
J1939 Troubleshooting
Troubleshooting (cont.)
Monitor broadcast parameters using CANalyzer
For multiplexed parameters, verify that the
OEM / DOEM is sending the correct source
address in the message.
Unplug other devices from the datalink so only
the PC and ECM are on the network.
2002
28
J1939 Tools
Tools
Protocol analyzer
Must have a protocol analyzer to develop a datalink
interface.
Must have the J1939 standard unless customer
already has good familiarity with CAN 2.0B
protocol.
2002
29
J1939 Tools
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
2002
30
J1939 Tools
Jpro
Cummins owned distributors: Software available
through engineering tools (see intranet site:
etools.ctg.cummins.com) Hardware available through
Industrial Communication Technologies.
North America: call (978) 499 - 9271
Outside North America: 49 89 46 1090
Appoximate costs: $910
Non Cummins owned distributors: Software is NOT
available through engineering tools. Recommend
CANalyzer
Jpro support from manufacturer ends 12/01.
Cummins Industrial Electronics Training
2002
31
J1939 Tools
Quick Check II available 4th Qtr 2001
J1939 specification
Can be ordered online at www.sae.org for $495.00
USD for non-SAE members and $395.00 USD for
SAE members.
2002
32
2002
33
J1939 Frame
Start of
Frame Bit
ACK
Field
Header
Priority #
PDU Format
Source Address
# of bytes
4 bits
representing
numbers
0-15
typically 8
End of
Frame Bit
CRC
Used
for
Error
Checking
2002
34
CAN Extended S
Frame Format O
Identifier
11 bits
S I
RD
RE
Identifier Extension
18 bits
Priority
PDU Format
Specific
Source
RD6 bits (MSB) S I P PDU
Destination Address,
Address
R D F Group Ext, or
O
P
Proprietary
R E
F
32 1
8 76 5 4 3
2 18 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1
J1939
S
Frame Format
R
T
R
R
T
R
J1939 Frame
bit position 1 2 3 4 5 6
CAN 29 bit
ID position
2002
35
Reserved
Data Page
3 bits
Priority
Number
Source Address
2002
36
18FEDF02x
time CAN
Serial
Input #
29 bit header
Rx
Rx
or
TX
d 8 7D E0 2E 7D FF FF FF FF
# of
Data
Bytes
2002
37
Section in specification
which tells you how to
interpret the actual data field
5.2.6.76
5.2.2.5
5.2.2.4
5.2.1.8
5.2.1.7
5.2.1.59
2002
38
0CF00300x
0 C
Rx
d 8 7D E0 2E 7D FF FF FF FF
Reserved
Data Page
3 bits
Priority
Number
Source Address
2002
39
Conversion Formula:
Accelerator Pedal Position % = Raw Counts * Resolution + offset
Data Byte 2 which represents
the accelerator pedal position
Example:
From CANalyzer:
0.1000 1
0CF00300x
Rx
d 8 7D E0 2E 7D FF FF FF FF
2002
40
5.2.5.5
5.2.5.14
5.2.5.15
5.2.5.16
5.2.5.6
5.2.5.242
2002
41
Example:
From CANalyzer:
0.1000 1
0CFEEE00x
Rx
d 8 7D E0 2E 7D FF FF FF FF
2002
42
2002
43
2002
44
bits 8-7
bits 6-5
bits 4-3
bits 2-1
2002
45
J1939
Wait to Start Lamp is NOT found in the
DM1 message!
PGN 65252 ( 00FEE4h ) Shutdown message
byte 4 bits 2,1
Broadcast once per second
other three lamps are part of the DM1 message
2002
46
2002
47
2002
48
2002
49
2002
50
0CFECA00x
Rx
d 8 05 FF 00 4F 23 82 FF FF
0000 0101 1111 1111 0000 0000 0100 1111 0010 0011 1000 0010
Lamp
Status
Reserved
SPN
FMI
S
P
N
Occurrence
Count
C
O
N
V.
2002
51
0CFECA00x
Rx
d 8 05 FF 79 02 03 82 FF FF
0000 0101 1111 1111 0111 1001 0000 0010 0000 0011 0000 0010
Lamp
Status
Reserved
SPN
FMI
S
P
N
Occurrence
Count
C
O
N
V.
2002
52
FMI
Example:
Fault Code
131
SPN
91
FMI
3
Note: Cummins has some SPN / FMI combinations which point to two different
fault codes. Usually the fault codes are related such as low oil pressure
(FC143) and very low oil pressure (FC415).
Cummins Industrial Electronics Training
2002
53
Description
Data Valid but above Normal Operating Range
Data Valid but below Normal Operating Range
Data Erratic, Intermittent or Incorrect
Voltage above Normal or Shorted to High Source
Voltage below Normal or Shorted to Low Source
Current below Normal or Open Circuit
Current above Normal or Grounded Circuit
Mechanical System Not Responding or out of adjustment
Abnormal frequency or pulse width or period
Abnormal Update Rate
Abnormal Rate of Change
Root Cause Not Know
Bad Intelligent Device or Component
Out of Calibration
Special Instructions
Data Valid But Above Normal Operating Range (Least Severe Level)
Data Valid But Above Normal Operating Range (Moderate Sever Level)
Data Valid But Below Normal Operating Range (Least Severe Level)
Data Valid But Below Normal Operating Range (Moderate Severe Level)
2002
54
2002
55
2002
56
J1939 Multiplexing
Multiplexing is used to send information
from an external device to the engine control
module via the J1939 datalink.
The engine control module must know the
address of the device which is sending the
information.
Typically only the throttle has been
multiplexed on industrial applications.
Cummins Industrial Electronics Training
2002
57
Diagnostic Switch
Idle Increment / Decrement
Alternate Low Idle Switch
Multiunit Sync On/Off Switch
Alternate Torque Select
Alternate Droop Select
Auxiliary Governor Switch
2002
58
2002
59
2002
60
On CANalyzer:
0.1000 1
0CF00303x
Tx
Section in specification
which tells you how to
interpret the actual data field
5.2.6.76
5.2.2.5
5.2.2.4
5.2.1.8
5.2.1.7
5.2.1.59
d 8 7D E0 2E 7D FF FF FF FF
2002
61
On CANalyzer:
0.1000 1
0CF00303x
Tx
d 8 7D E0 2E 7D FF FF FF FF
2002
62
J1939 Multiplexing
Some reasons why the J1939 throttle will
not work:
Datalink is not functioning.
Calibration set to incorrect throttle source address .
Customers device sending throttle request under the
wrong address
Customers device not sending throttle request at all
Throttle request is not fast enough and ECM is
timing out.
Cummins Industrial Electronics Training
2002
63
J1939 Multiplexing
Some speed control has been done via the TSC1
message. (QSK products mostly.)
Not recommended unless no other option available
2002
64
J1939 TSC1
Speed Control Example
Address of device sending TSC1 speed control request
0.1360 1
Byte 1:
C000003x
Tx
d 8 01 A0 41 FF FF FF FF FF
01
2002
65
Tx
d 8 F1 FF FF FF FF FF FF FF
Tx
d 8 F0 FF FF FF FF FF FF FF
Variable ISC
Turn on Variable ISC setpoint 3
18FDCA20x
Tx
d 8 F6 FF FF FF FF FF FF FF
Tx
d 8 F0 FF FF FF FF FF FF FF
Tx
Tx
d 8 FF FF FF 0F FF FF FF FF
d 8 FF FF FF 01 FF FF FF FF
2002
66
Tx
d 8 FF FF FF 01 FF FF FF FF
Tx
d 8 FF FF FF 00 FF FF FF FF
Hydraulic Temperature
Hydraulic Temperature gets into the ECM via OEM temperature 2
18FE6820x
Tx
d 8 F0 FF FF FF FF FF FF FF
Tx
d 8 FF FF F1 FF FF FF FF FF
18FEE420x
Tx
d 8 FF FF F0 FF FF FF FF FF
2002
67
Tx
d 8 FF FF FF FF FF FF FF DF
Tx
d 8 FF FF FF FF FF FF FF CF
Tx
d 8 FF FF FF FF FF FF FF F7
Tx
d 8 FF FF FF FF FF FF FF F3
Tx
d 8 DF FF FF FF FF FF FF FF
Tx
d 8 CF FF FF FF FF FF FF FF
2002
68
Tx
d 8 F7 FF FF FF FF FF FF FF
Tx
d 8 F3 FF FF FF FF FF FF FF
Tx
d 8 FF 01 FF FF FF FF FF FF
Tx
d 8 FF 02 FF FF FF FF FF FF
Tx
d 8 FF 00 FF FF FF FF FF FF
2002
69
Tx
d 8 FF FF F1 FF FF FF FF FF
Tx
d 8 FF FF F2 FF FF FF FF FF
No Alternate Droop
18FDCB20x
Tx
d 8 FF FF F0 FF FF FF FF FF
Tx
d 8 FD FF FF FF FF FF FF FF
Tx
d 8 FC FF FF FF FF FF FF FF
2002
70
2002
71
2002
72