Documente Academic
Documente Profesional
Documente Cultură
Agenda
Basic Training: J1939 Vocabulary Basic Training: Monitoring Basic Training: Control Basic Training: Tools / Information Advanced: J1939 message breakdown Advanced: J1939 diagnostic messages Advanced: J1939 multiplexing
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
Device: Any physical component which listens to or sends information out on the J1939 datalink. Electronic Control Unit: same as a device
Cummins Industrial Electronics Training
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.
Frame: A series of data bits making up a complete message. The frame contains several bit fields
Cummins Industrial Electronics Training
2002
5
J1939 Frame
Start of Frame Bit
ACK Field
Header # of bytes
CRC
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 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
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
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.
Cummins Industrial Electronics Training
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
Cummins Industrial Electronics Training
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
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.
Cummins does not support dynamic addressing; therefore, make sure each device on the datalink has a unique address.
Cummins Industrial Electronics Training
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.
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 # of bytes
CRC
2002
34
Identifier 11 bits
Priority
F
J1939 S Frame Format
S I RD RE
R T R
PDU Format Source R D6 bits (MSB) S I P PDU Specific 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
R T R
Source Address
2002
36
29 bit header
2002
37
Section in specification which tells you how to interpret the actual data field
2002
38
0 C
Source Address
2002
39
Conversion Formula: Accelerator Pedal Position % = Raw Counts * Resolution + offset Example: From CANalyzer:
0.1000 1 0CF00300x Rx Data Byte 2 which represents the accelerator pedal position d 8 7D E0 2E 7D FF FF FF FF
Calculate Raw Counts First: Raw Counts = E0 hex = 1110 0000 binary = 224 decimal
Note: You can use the Scientific calculator under Accessories in Win9X or Win NT to convert from hex to decimal.
2002
40
2002
41
Calculate Raw Counts First: Raw Counts = 7D hex = 0111 1101 binary = 125 decimal
Note: You can use the Scientific calculator under Accessories in Win9X or Win NT to convert from hex to decimal
2002
42
Typically customers will use the DM1 message to detect when a fault code has gone active.
Cummins Industrial Electronics Training
2002
43
Each lamp takes two bits to indicate lamp state 00 - lamp is OFF 01 - lamp is ON
Cummins Industrial Electronics Training
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
48
Together the SPN and FMI map to the Cummins Fault Code.
Cummins Industrial Electronics Training
2002
49
Together the SPN and FMI map to the Cummins Fault Code.
Cummins Industrial Electronics Training
2002
50
0000 0101 1111 1111 0000 0000 0100 1111 0010 0011 1000 0010
Lamp Status
Reserved
SPN
FMI
S P N C O N V.
Occurrence Count
Lamp Status = 0000 0101 = Amber Lamp On Protect Lamp On SPN = 0000 0000 0100 1111 001 = 633 FMI = 00011 = 3 Occurrence Count = 000 0010 = 2 SPN Conversion Method = 1
2002
51
0000 0101 1111 1111 0111 1001 0000 0010 0000 0011 0000 0010
Lamp Status
Reserved
SPN
FMI
S P N C O N V.
Occurrence Count
Lamp Status = 0000 0101 = Amber Lamp On Protect Lamp On SPN = 000 0000 0010 0111 1001 = 633 FMI = 00011 = 3 Occurrence Count = 000 0010 = 2 SPN Conversion Method = 0
2002
52
FMI
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).
2002
53
2002
54
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
2002
59
2002
60
Section in specification which tells you how to interpret the actual data field
On CANalyzer:
0.1000 1
0CF00303x
Tx
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
J1939 TSC1
Speed Control Example
Address of device sending TSC1 speed control request
0.1360 1 C000003x Tx d 8 01 A0 41 FF FF FF FF FF
Byte 1:
- indicates speed control mode by setting bits 2,1 to a value of 01 Byte 2, 3: 41 A0 - specifies and engine speed of 2100 rpm Calculating the desired engine speed: 2100 rpm * 1 count / .125rpm = 16800 counts = 41 A0 hex Note: The TSC1 message is broadcast every 10 ms when TSC1 is commanding the engine speed.
Cummins Industrial Electronics Training
2002
65
01
Variable ISC
Turn on Variable ISC setpoint 3
18FDCA20x Tx d 8 F6 FF FF FF FF FF FF FF
2002
66
Hydraulic Temperature
Hydraulic Temperature gets into the ECM via OEM temperature 2
18FE6820x Tx d 8 F0 FF FF FF FF FF FF FF
AC pressure switch
Tx d 8 FF FF F0 FF FF FF FF FF
2002
67
2002
68
2002
69
No Alternate Droop
18FDCB20x Tx d 8 FF FF F0 FF FF FF FF FF
2002
70
2002
71
2002
72