SAE J1939 Training
SAE J1939 Training
SOFTWARE & CONTROLS – Must consider the impact of our control system on
all information we send & receive via datalinks, and the system requirements &
behavior when replacing wired implementations with communication links.
APPLICATION ENGINEERS – Almost all of our vehicle OEMs are using datalinks,
and we need to be able to help them integrate our product into their vehicle systems.
3
Product Evolution & Complexity
MECHANICAL – ‘Old school’ AT Things can be seen &
transmissions with kickdown touched; diagnose by
linkages and governor weights. eyeball and intuition.
4
Changing Responsibilities
TRADITIONALLY TODAY
5
Training Goals
4. Understand the options available for connecting 4th Gen TCMs to J1939.
Not everyone is going to become a datalink expert…but it’s okay if you do!
K. Karch – 2005 J1939 Training
6
SECTION 2:
Why Use a Communication
Link?
7
Complex Wiring for a Given
Function
Traditionally, integrating
transmissions into vehicles
meant lots of hardware;
wires, switches, sensors,
and relays.
8
Complex Function Integration
WHAT A
MESS!
K. Karch – 2005 J1939 Training
9
Sensor Redundancy
Have you ever seen an engine cooling system manifold that looks like a porcupine?
10
Standardization
Engine
VERTICALLY INTEGRATED
INTEGRATED OEM
manufacturers make or specify all of the Transmission
VERTICALLY
components in-house.
Chassis
Vertically integrated manufacturers have the
luxury of specifying how electronic Brakes / ABS
components interface with each other --
Standardization isn’t a problem; it’s dictated. Driver Interface
Gauges
Auto manufacturers (like GM) are typically
vertically integrated.
11
Horizontal Integration
HORIZONTALLY INTEGRATED manufacturers assemble ‘generic’
components from many different suppliers, as specified by the customer.
Typical heavy truck manufacturers only design frames, cabs and interiors.
These vehicle manufacturers are faced with the task of making the many
potential component combinations work together. Custom wiring is a big part of
this.
12
A Common Answer
It would be GREAT if there was a way to:
Reduce the amount of wiring in vehicles.
13
Allison Reasons: BENEFITS
LOWER INSTALLED COST
Component standardization and interchangeability throughout the industry
A more common vehicle interface between LCT and WT
Fewer wires in a vehicle…and just as important, less specialized wiring
14
Allison Reasons: COMPETITION
COMMUNICATION LINKS ARE A BASIC REQUIREMENT – To remain
a player, electronic integration with the entire vehicle is a ‘must’. Also, Heavy
Duty OBD is coming soon, and we must meet government regulations.
AUTOMATED MANUAL TRANSMISSIONS (AMTS) – A high level of
electronic integration has been required for their success:
Closely integrated from inception; better poised to take advantage of it.
We’re stilling catching up to their level of integration with brakes, cruise, etc.
15
SECTION 2:
Why Use a Communication
Link?
16
SECTION 3:
Datalinks Basics & Some
History
17
Terminology: Many Ways to
Say the Same Thing!
In practice, the following ‘base’ terms are used interchangeably:
LINK – Any path of communication path between two or more computers.
NETWORK – A set of computers connected together.
BUS – The main avenue of communication inside a computer (or system).
These are often prefaced with words like Data, ‘Comm’, Communication, Serial,
Vehicle, etc. I prefer:
DATALINK - Any path of communication between two or more computers for
the purpose of transmitting and receiving data.
18
Basic Communication Flow
In simplest form, a datalink is one controller sending information across a network to
another controller:
CEIVER
CEIVER
TRANS-
TRANS-
CAN CAN
MICRO MICRO
CHIP CHIP
Regardless of size or type, all networks share some similar, basic characteristics:
TRANSFER MEDIUM ACCESS & CONVERSATION
TOPOLOGY NAMING & ADDRESSING
MESSAGE STRUCTURE DATA STRUCTURE
19
SAE J1708 and J1587
First came into use around 1988.
Prolink Tool
J1708 is the hardware specification; it defines the
physical datalink -- microchips, wires, etc.
20
SAE J1939
Established by SAE in 1994.
21
SECTION 4:
Datalink Basics & Some
History
Q & A Time
22
SECTION 4:
Industry Uses for J1939
23
Sharing Information
INSTRUMENT CLUSTERS; virtually all major truck OEMs in NA and
Europe, including International, Volvo, Freightliner, PACCAR, Mack, etc.
24
Anti-Lock Brake Systems ( ABS )
25
Automatic Traction Control ( ATC )
26
Automated Manual Trans ( AMTs)
Typically use J1939 commands in a 4-step shift process:
27
Fire Pump Controllers
28
Headway Controllers
Sometimes referred to as ACC, or ADAPTIVE CRUISE CONTROL.
29
Electronic Braking Systems (EBS)
Electro-pneumatic brake system; electronically
controlled with air backup.
30
SECTION 4:
Industry Uses for Datalinks
Q & A Time
31
SECTION 5:
J1939 Physical Layer
TRANS-
TRANS-
CEIVER
CEIVER
CAN CAN
MICRO MICRO
CHIP CHIP
32
Physical Layer of a Network
J1939
TRANSFER MEDIUM – Components that physically convey the data.
Other methods include Fiber Optics & Radio Frequency (Wi-Fi, Bluetooth, etc).
33
J1939-13 Service Connector
A = Ground
E B = +12 Volt (Unswitched)
D
C = J1939 High (Yellow)
C
D = J1939 Low (Green)
F A B
E = J1939 Shield
J F = J1587 + (typ. Blue)
G H G = J1587 – (typ. White)
H & J = OEM use
34
3-Pin Connectors
WEDGE LOCK
A
C
WEDGE LOCK
35
Plug Connector Improvements
RETAINING GROOVE EXTENDED SEAL
NEW
LIP ON WEDGE
LOCK
On grey plugs, the seal tended to roll New black plugs designed to capture &
off the connector when unplugged. lock in the new extended seal.
Without the seal, water intrusion can The orange wedge locks have been
short circuit the datalink. changed to green.
Components are NOT interchangeable; the correct seals & wedge locks
must be used with the correct connector body. However, both plug
assemblies fit the same receptacle connectors.
K. Karch – 2005 J1939 Training
36
J1939-11 Cable Basics
Manufacturers
J1939-11 Twisted Shielded Pair Cable include Belden,
CAN Low BICC Brand-Rex,
[Pin ‘B’; typically green] Champlain,
Northwire and
Drain Wire [Pin ‘C’]
Raychem.
37
Cable Impedance
IMPEDANCE affects the ‘the rate of
traffic flow’ in the wires. It must match
the intended volume and rate of traffic.
Properly sized, traffic flows smoothly.
Protects signal integrity; noise hits the shield & shorts to battery ground.
PRO
Also helps reduce the amount of noise emitted by the datalink.
39
J1939 ‘Lite’ Cable
Shielding woes led vehicle OEMs to develop SAE
J1939-15 -- ‘J1939 Lite’ – without the shield or drain.
Cheaper, easier to route, manufacture and repair.
40
Allison Position on J1939 ‘Lite’
WE DO NOT RECOMMEND USE OF J1939 LITE.
Vehicle OEMs are responsible for J1939 wiring, just like other vehicle wiring.
First line of responsibility for diagnosis and repair relating to any vehicle CAN link
or interface wiring lies with the vehicle manufacturer.
While J1939 Lite presents potential advantages of simplicity and lower initial
cost, lack of shielding can make the vehicle system susceptible to EMI.
OEM’s install J1939 Lite at their own risk and are responsible for the design and
validation to assure unwanted signals are not induced in the CAN wires.
If the use of J1939 Lite causes the transmission to malfunction, Allison is not
responsible for costs associated with vehicle modifications or repairs.
K. Karch – 2005 J1939 Training
41
J1939 Backbone
OR
On backbones so equipped, the SHIELD must:
(1) Connect directly to the battery ground terminal.
(2) Break out of the backbone as close to its center as possible.
42
J1939 Termination Resistors
A TERMINATION RESISTOR is a 120 Since some vehicle OEMs
resistor found at each end of the backbone. use receptacles on their
Two are required, and they typically use backbones, a plug version
blue wedge locks. is also available.
43
Why are termination resistors
required ?
In a word, REFLECTIONS.
In a normal datalink trace, the
Electricity travels FAST; ~ 200 million MPH. bit states are well defined.
44
Termination Mistakes
45
Engine A NODE is the J1939 device
Controller attached at the end of a stub.
K. Karch – 2005 J1939 Training
46
J1939 Stub Spacing
STUB SPACING is
like a roadway; with
intersections spread
apart, it’s much easier
for vehicles to merge
onto the road.
Terminal strips
STOP! cannot be used
as backbones!
47
J1939 Network Overview: TCM & SelectorStub Interfaces
A = CAN High
TCM and selector internal termination resistorsCANNOT be used with component ‘stub’ installations.
B = CAN Low
TCM ‘pass through’ connections CANNOT be used with TCM ‘stub’ installations.
C = Shield
K. Karch - 10/11/04
>
< 8
o
D
E C
F A B
G J
H
A E
B F
C G
D H J
R
N
D
48
Connecting 4th Gen TCMs & Shift
Selectors to a J1939 Network
To meet OEM demands of cost and convenience, Allison 4th Generation TCMs can
be interfaced to a vehicle’s J1939 network IN ONE OF THREE WAYS:
Similarly, 3000 / 4000 Series J1939-based shift selectors can interfaced by:
49
4th Gen TCM Internal
Termination Resistor
4th Gen TCMs have an optional
INTERNAL TERMINATION
J1939 SHIELD 49
RESISTOR that can be connected via a
INTERNAL TR 7
jumper wire in the OEM’s harness.
J1939 HIGH 28
CAN1
J1939 LOW 8
HIGH PASS-THRU 48 If our TCM is located at one end of the
LOW PASS-THRU 68 J1939 backbone, this feature can
eliminate some hardware for the OEM.
4th Gen TCM
Our J1939-based shift selectors also have
an internal termination resistor available.
If used by the OEM, they MUST label the component to indicate that the
internal termination resistor is being use.
Otherwise, service techs might think one or both termination resistors
are missing – when in fact, they’re not.
K. Karch – 2005 OEMPA Training
50
TCM & Selector J1939Backbone Termination Interfaces
Components must be clearly labeled indicating ‘internal termination resistor’ use.
A = CAN High TCM ‘pass through’ connections CANNOT be used if the TCM internal termination resistor is utilized.
B = CAN Low Only 120 ohm impedance wire may be used for the jumper wires.
C = Shield Jumper wire length should be kept to a minimum. K. Karch - 10/11/04
R
N
D
8 8
7 7
D
E C
F A B
G J
H
51
4 Gen TCM ‘Pass Through’ Pins
th
BACKBONE
“STUB”
PASS THROUGH PINS allow an
J1939 SHIELD 49 OEM to create a backbone without a
INTERNAL TR 7 spliced stub for the TCM.
J1939 HIGH 28
CAN1
J1939 LOW 8
The backbone is run in one set of
HIGH PASS-THRU 48
LOW PASS-THRU 68
pins and out the other…The ‘stub’
for the TCM is actually the circuit
inside the TCM.
4th Gen TCM
BACKBONE
52
TCMJ1939 ‘Pass Through’ Interface
K. Karch - 10/11/04
The TCM internal termination resistor CANNOT be used with TCM ‘pass through’ installations.
A = CAN High
In J1939-11 installations, the shield drain wire must be spliced such that the shield remains continuous.
B = CAN Low
Allison-manufactured 3000 / 4000 Series shift selectors do not have ‘pass through’ capability; must use ‘stub’ or
C = Shield
‘termination resistor’ installation.
28
49
68
48
7
J1939 LOW
J1939 SHIELD
LOW PASS-THRU
HIGH PASS-THRU
D
E C J1939-13 9-Pin
F A B Diagnostic
G
H
J
Connector
R
N Shift Selector
Controller D
53
SECTION 5:
J1939 Physical Layer
54
SECTION 6:
Voltage Signals
TRANS-
TRANS-
CEIVER
CEIVER
CAN CAN
MICRO MICRO
CHIP CHIP
55
Oscilloscope View of J1939
Yellow Trace
Signal lead connected CAN High ~3.5V
to CAN High (Pin ‘A’).
Signal reference
connected to ground. ~2.5V
~2.5V
Green Trace CAN Low ~1.5V
Signal lead connected
to CAN Low (Pin ‘B’).
Signal reference 4 S
connected to ground.
Characteristics
CAN High and CAN Low are ‘balanced’; when one is ‘up’, the other is ‘down’.
Voltages changes are low; everything is pretty much 1.0 volt.
Voltage traces are fairly square, and have only two ‘states’.
These ‘state changes’ occur at 4 S intervals.
K. Karch – 2005 J1939 Training
56
Balanced Signal Concept
Why are CAN High & CAN Low ‘balanced’?
Electromagnetic Interference is generated by sharp, fast
edge changes in voltage. Edges create magnetic waves
that can interfere with other electronic components.
Balanced systems reduce these emissions. With signals
on each wire nearly equal but opposite, the radiated signals
tend to cancel each other out.
Ideally, the signals on each wire are exact opposites.
However, this is impossible -- both wires can’t occupy the
exact same physical space. The best scenario is to keep
the wires as close to each other as possible.
57
Differential Voltage
The ‘balanced system’ approach
used to prevent radiated EMI can Differential voltage
be manipulated to reduce datalink
susceptibility to incoming EMI.
58
Bus States
59
Baud Rate and Bits
BAUD RATE – Speed at which information can be transferred. Expressed as
the maximum number of state transitions per second (bits per second).
BIT – Short for ‘binary digit’. Smallest piece of information used by a computer.
J1939 runs at 250 kbps, so up to 250,000 bits of information can be shared each
second. The width of a single bit is 1 bit 250,000 bits per second or 4 μS.
Looking at an oscilloscope trace:
Each tick mark on our scope 0011000001000100
represents 4 μS, so the trace
between tick marks is a bit.
Assigning ‘0’ to each dominant bit
and ‘1’ to each recessive bit, we
end up with a STRING OF
BINARY DATA, which is what
computers use to communicate.
K. Karch – 2005 J1939 Training
60
Connecting to the Datalink:
CAN Transceiver
TRANS-
CEIVER
TRANS-
CEIVER
CAN CAN
MICRO MICRO
CHIP CHIP
During broadcast, transceivers are fed the bits to be sent, and they ‘shape’ them.
They may trim or ‘round off’ the edges of bit state transitions in order to reduce
EMI radiation.
During reception, transceivers are the first stop beyond the datalink pins on the
controller… A layer of ‘protection’ between errant voltages and the CAN chip.
K. Karch – 2005 J1939 Training
61
SECTION 6:
Voltage Signals
62
SECTION 7:
CAN Chip & Protocol
CEIVER
CEIVER
TRANS-
MICRO
CAN TRANS- CAN
MICRO
CHIP CHIP
63
CAN Overview
TRANS-
CEIVER
TRANS-
CEIVER
CAN CAN
MICRO MICRO
CHIP CHIP
CAN chips do the ‘dirty work’ of serial communication, ensuring that any node’s
message is properly sent to & received by ALL other network nodes.
Basis for many different networks used in automobiles, heavy trucks, marine,
trains, agriculture, construction, medical, manufacturing…
64
CAN Chips Do Good Things!
PROVIDE A BASIC MESSAGE FRAMEWORK
CAN DATA FRAME – Group of ordered bit fields used to convey
data. Like an empty box or envelope used for delivering information.
A typical CAN data frame is 143 bits long, we really only care about the 29-bit
identifier (think of a blank shipping label) & the 64-bit data field. J1939 defines
these areas further.
ARBITRATE MESSAGES
On a serial communication link, only one person can talk at one time. Using a
‘priority’ specified in every J1939 message, CAN makes sure:
…the most important message gets on the link first.
…messages are arbitrated ‘on the fly’, with no additional delay or destruction.
66
CAN-Based Datalink
Failure Modes
The CAN chip’s ability to detect & reject corrupt messages makes CAN-based
system failures different than those using analog or ‘hard-wired’ connections:
CAN – Wiring problems cannot change the values being sent; they can only
PREVENT them from arriving at their destination.
ERROR FRAME – A special series of bits sent out by a CAN chip when it
detects that a message has been corrupted. An Error Frame will cause all
CAN chips on the network to reject that message.
K. Karch – 2005 J1939 Training
67
CAN Chip & Protocol: Summary
TRANS-
CEIVER
TRANS-
CEIVER
CAN CAN
MICRO MICRO
CHIP CHIP
The odds of a J1939 bit state error going undetected during the transfer
process are about 3.1 trillion to 1, or 1 ‘bad’ bit in 400 years of operation!
K. Karch – 2005 J1939 Training
68
SECTION 7:
CAN Chip and Protocol
69
SECTION 8:
4th Gen TCM Datalink
Connections
70
MY06 Datalink Connections
J1939 SHIELD 49
INTERNAL TR 7
CAN1
J1939 HIGH 28
250 Kb CAN link for J1939 and
J1939 LOW 8
Allison DOC.
HIGH PASS-THRU 48
LOW PASS-THRU 68
SHIELD 67
INTERNAL TR 26
HIGH 6
CAN2
LOW 27
500 Kb CAN link for Allison DOC ONLY.
HIGH PASS-THRU 66
LOW PASS-THRU 47
J1587 + 32
J1708 J1587 on WT ONLY. Requires A42 or A43 TCM.
J1587 - 72
71
COMMUNICATION PROTOCOL
Availability vs. TCM Connection
PROTOCOL – Hardware & Speed, message structure, message content (parameters)
72
MY06 Datalink Connection Use
73
SECTION 8:
4th Gen TCM Datalink
Connections
Q & A Time
74
SESSION TWO
KEVIN KARCH
ELECTRONIC INTEGRATION
MAY 10TH – 11TH, 2005
SECTION 9:
J1939 Communication
Protocol – Messages &
Parameters
76
J1939 Communication Protocol
MICROPROCESSOR – The brains of a controller; run by software & calibrations.
TRANS-
CEIVER
TRANS-
CEIVER
CAN CAN
MICRO MICRO
CHIP CHIP
J1939 defines, refines or restricts the generic capabilities of CAN data frames.
K. Karch – 2005 J1939 Training
77
J1939 Messages ( PGNs )
MESSAGE or ‘PGN’ (Parameter Group Number) – Collection of J1939
parameters that are specified by information within the 29-bit identifier. May
consist of one or more CAN data frames in length.
Message broadcast rates vary, and some messages may support more than one:
‘Continuous Broadcast’ – Messages that go out at a fixed rate, like every
100 ms or every 5 seconds.
‘On Request’ – Only sent when someone asks for the message. These are
often larger message that convey information that doesn’t change ‘on the fly’.
‘Intermittent Broadcast’ – Only sent when necessary, which may be event
or request driven.
78
J1939 Parameters ( SPNs )
Every message contains a set of parameters defined by SAE.
All parameters are assigned an SPN (ex: SPN 597 – Brake Switch), but not all
SPNs assigned to a parameter.
‘Parameter’ and ‘SPN’ are used interchangeably.
79
J1939 Parameter Values
SAE defines TRANSMITTED VALUE RANGES which divide up available bit
values for a parameter into several specific uses:
80
J1939 Addressing
SA03: Transmission #1 Allison OEM SA33: Body Controller
SA16: Retarder – Driveline Controller Controller SA17: Cruise Controller
81