The SAE J1939 protocol, a widely used standard in the automotive and heavy-duty vehicle industry, plays a crucial role in ensuring seamless communication and data exchange between various vehicle components. It has become the backbone for telematics solutions for fleet management and vehicle tracking as well as vehicle diagnostics and fault code analysis in commercial vehicles. In this comprehensive guide, we will delve into the fundamentals of the SAE J1939 protocol, its application, mapping to the OSI Layer Model, and various sub-standards.

Introduction to SAE J1939 Protocol

The SAE J1939 protocol, developed by the Society of Automotive Engineers (SAE), is a high-level protocol based on Controller Area Network (CAN) designed to standardize communication and diagnostics among heavy-duty and commercial vehicles. Based on the CAN high-speed standard with 29-bit extended ID format and running at 250K baud rate, it can be easily realized with commonly available CAN 2.0B peripherals in even lower-end MCUs. It facilitates real-time data exchange, enabling different components such as the engine, transmission, brakes, and other vehicle systems to communicate effectively. With the evolution of vehicle technology, the SAE J1939 protocol has become increasingly important in ensuring interoperability and compatibility across various vehicle systems and components.

SAE J1939 Protocol Applications: Telematics Solutions for Fleet Management and Vehicle Tracking

The application of the SAE J1939 protocol spans a wide range of vehicle systems, contributing to the efficient operation and maintenance of heavy-duty vehicles. One of its key strengths is enabling telematics solutions for fleet management and vehicle tracking. By standardizing the communication of engine data, transmission status, GPS position, and fuel consumption, the SAE J1939 protocol allows fleet operators to monitor their entire vehicle fleet remotely in real time. These telematics solutions for fleet management and vehicle tracking rely on parameter group numbers (PGNs) to gather information from individual ECUs across the network and feed it to onboard telematics control units (TCUs) and cloud-based fleet management platforms. Embien's cross-domain embedded engineering services cover SAE J1939 protocol-based telematics solutions for fleet management and vehicle tracking deployments across commercial and off-highway vehicles.

The SAE J1939 protocol also facilitates the seamless integration of different vehicle systems — engine, transmission, and brakes — enabling them to work in tandem and respond to varying operating conditions. The versatility of the SAE J1939 protocol extends beyond traditional vehicle applications, finding relevance in off-highway equipment such as construction machinery, agricultural equipment, and marine propulsion systems, further showcasing its broad applicability as a basis for telematics solutions for fleet management and vehicle tracking.

Overview of SAE J1939 Standards

The SAE J1939 protocol is a collection of various sub-standards, each covering specific aspects. Some of the major sub-standards are:

  • J1939/81 – Network Management
  • J1939/73 – Application Layer – Diagnostics
  • J1939/71 – Vehicle Application Layer
  • J1939/31 – Network Layer
  • J1939/21 – Data Link Layer
  • J1939/13 – Off-Board Diagnostic Connector
  • J1939/11 – Physical Layer – 250k bits/s, Shielded Twisted Pair

Together these SAE J1939 standards form the foundation of the protocol, providing a comprehensive framework for communication and diagnostics within heavy-duty vehicles. These standards define the message format, parameters, and rules for communication, ensuring consistency and interoperability. By adhering to the SAE J1939 standards, manufacturers and developers can create products that seamlessly integrate into the existing vehicle ecosystem.

SAE J1939 Mapping to OSI Layer Model

The mapping of the SAE J1939 protocol to the OSI Layer Model provides a structured framework for understanding its communication architecture. The OSI Layer Model, comprising seven layers, serves as a reference model for the SAE J1939 protocol, offering a systematic breakdown of the communication process.

SAE J1939 OSI Layer Mapping

At the physical layer (J1939/11), the SAE J1939 protocol defines the electrical characteristics of the network, including pin assignments, connector types, and cable specifications. This layer forms the foundation for the physical transmission of data within the network, ensuring reliable connectivity between vehicle components.

Moving up the OSI Layer Model, the SAE J1939 protocol operates at the data link layer (J1939/21), where it defines message framing, error detection, and flow control mechanisms. The network layer (J1939/31) governs addressing and routing, and the application layer (J1939/71) defines the data structures and transmission rules for vehicle parameters.

Let us have a detailed look at each of these layers.

Physical Layer - J1939/1x

The physical layers define key aspects of communication such as maximum bus length, maximum stub length, maximum number of nodes, minimum and maximum voltage levels, bit time limits, and allowed slew rate for signal transitions. These are specified via three standards — J1939-11, J1939-14, and J1939-15.

The most popularly used J1939-11 specifies communication over shielded twisted pair wire with a maximum bus length of 40 meters and a baud rate of 250 kbps. While it allows up to 30 nodes, the bit time is 4 µs with a tolerance of 0.5 µs. It bases its signaling on the CAN high-speed standard according to ISO11898 with a 3-pin connector.

The J1939-15 is a lower-cost version similar to J1939-11 with a 2-pin connector and a reduced maximum of 10 nodes.

The J1939-14 is a higher-speed physical layer standard at 500 kbit/s and uses newer transceiver technologies to minimize EMI on the bus.

CAN FD Integration in Automotive Systems and the J1939 Protocol

CAN FD integration in automotive systems is an emerging extension to the SAE J1939 physical layer. While the traditional SAE J1939 protocol operates at 250 kbps or 500 kbps, CAN FD integration in automotive systems allows data-phase bit rates up to 8 Mbps within the same 29-bit ID frame structure. The newer SAE J1939-22 standard addresses CAN FD integration in automotive systems, enabling faster transmission of large diagnostic and parameter group payloads. For PCB-level hardware supporting CAN FD integration in automotive systems, Embien's electronic manufacturing services provide design and production support for J1939-compliant heavy-duty vehicle platforms.

Data Link Layer - J1939/21

The data link layer of the SAE J1939 protocol is based on the CAN high-speed standard ISO11898 (CAN 2.0B). All components of the specification are used, including bit stuffing, CRC, and encoding mechanisms. The 11-bit ID mode is not supported — all nodes are expected to transmit only in 29-bit extended ID format.

The J1939/21 specifies the 29-bit format and how it is encoded and utilized. It forms the basis for higher network-layer services including message requests, acknowledgments, and transfer of larger data. Since the 11-bit ID format is not part of the specification, vendor-specific packets can be transferred in it without colliding with J1939-defined 29-bit traffic.

Multiplexed Message Handling in SAE J1939 Protocol

A multiplexed message in the SAE J1939 protocol context refers to the use of a single parameter group number (PGN) to carry different sets of parameters depending on a mode selector byte within the data field. This multiplexed message approach allows the SAE J1939 protocol to efficiently pack data from multiple parameter categories into a constrained 8-byte CAN frame, reducing bus load while preserving interoperability. Multiplexed message patterns are common in J1939/71 vehicle application layer transmissions for reporting sensor arrays efficiently.

Network Layer - J1939/31

The network layer specification describes bridging between different segments of a J1939 network. J1939/31 describes the services and functions needed to transfer CAN messages from one network segment to another. It leverages a message filter function to minimize the transmission of redundant CAN messages. Participating network nodes can be one of the following types:

  • Repeater – Only forwarding functionality
  • Bridge – Forwarding and filtering feature
  • Router – Address translation along with forwarding and filtering
  • Gateway – Forward, filter, address translation, and message repackaging

Based on location and function, the node can play any one of the above roles. Thus, the network layer defined by J1939/31 serves as the backbone of the SAE J1939 protocol, governing addressing, routing, and management of data traffic within the network.

Vehicle Application Layer - J1939/71

The J1939/71 standard encompasses the specification of parameters and messages specific to vehicle applications, including engine control, transmission, brakes, and other vehicle systems. It defines the structure and content of messages that enable different vehicle components to communicate and coordinate their operations effectively.

Each parameter group is assigned a unique Parameter Group Number (PGN). Each parameter is described with the following details:

  • Parameter Name and description
  • Data length in bytes
  • Resolution, scaling, offset, and unit of measurement
  • Allowed range of the physical value after scaling
  • Type of parameter — status, measured value, etc.
  • Suspect Parameter Number (SPN)
  • PGN reference to the message frame in which it is to be sent

Vehicle Diagnostics and Fault Code Analysis: J1939/73 Diagnostics Application Layer

The J1939/73 standard is the core of vehicle diagnostics and fault code analysis within the SAE J1939 protocol ecosystem. It defines the connector to be used for service tools and specifies the functions and messages required to perform vehicle diagnostics and fault code analysis. Through Diagnostic Messages (DMs) and Diagnostic Trouble Codes (DTCs), J1939/73 enables comprehensive vehicle diagnostics and fault code analysis, allowing:

  • Reading/writing to ECU memory
  • Reading and clearing Diagnostic Trouble Codes (DTCs) as part of vehicle diagnostics and fault code analysis
  • Reporting diagnostic information during vehicle operation
  • Start/stop functions
  • Binary data transfer
  • Security access
  • Read/write calibration data

By adhering to the J1939/73 standard, manufacturers ensure that diagnostic tools and systems can perform vehicle diagnostics and fault code analysis in a standardized format, fostering interoperability and compatibility across different vehicle models and manufacturers. The SAE J1939 protocol's vehicle diagnostics and fault code analysis capabilities are critical for reducing downtime and enabling proactive maintenance in commercial fleets.

Conclusion

In conclusion, the SAE J1939 protocol stands as a pivotal standard in the automotive and heavy-duty vehicle industry, facilitating seamless communication, telematics solutions for fleet management and vehicle tracking, and vehicle diagnostics and fault code analysis across diverse vehicle platforms. Its widespread adoption, adherence to J1939 sub-standards, and clear mapping to the OSI Layer Model demonstrate its robustness and versatility. In the upcoming article, we will delve deeper into the message structure and data transmission mechanics of the SAE J1939 protocol.

« MOST BUS SYSTEM ACCELERATING WITH AUTOMOTIVE MOST PROTOCOL
DEMYSTIFYING J1939 COMMUNICATION GUIDE TO DATA TRANSMISSION IN SAE J1939 STANDARD »

Related Content

Embien Technologies — SAE J1939 Protocol & Commercial Vehicle Embedded Experts
insight image

Embien Technologies delivers SAE J1939 protocol integration, telematics solutions for fleet management and vehicle tracking, and vehicle diagnostics and fault code analysis for OEMs and Tier 1s.

Read More


Cybersecurity for SAE J1939 Protocol Networks in Commercial Vehicles
insight image

Embien's cybersecurity services protect SAE J1939 protocol networks against unauthorized access, securing vehicle diagnostics and fault code analysis in heavy-duty systems.

Read More


CAN Data Logger Development — AIS-140 Certified 4G with J1939 Protocol Support
insight image

An AIS-140 certified 4G CAN data logger with SAE J1939 protocol support, enabling real-time telematics solutions for fleet management and vehicle tracking in commercial vehicles.

Read More


Subscribe to our Insights