Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
The SAE J1939-31 standard defines the network layer (Layer 3 of the OSI model) for the SAE J1939 communications network, enabling electronic control units (ECUs) on different network segments to intercommunicate reliably. The 2023 revision introduces essential nomenclature updates, clarifies message and data frame distinctions, and mandates gateway requirements when connecting different data link layer versions. This article covers the key changes, network interconnection ECU types, and practical design guidance for engineering teams integrating J1939-based systems in heavy-duty vehicles.
🛠️ 2023 Revision Highlights: The term ‘data field’ has been replaced by ‘PG data’ to align with J1939-22 terminology. The standard now explicitly requires a gateway network interconnection ECU (NIECU) between a J1939-21 network segment and a J1939-22 network segment. These changes improve clarity and future-proof interoperation.
J1939-31 aligns with OSI Layer 3 services: message addressing, routing, and forwarding across network segments. The standard defines network addressing schemes (including the off-tractor segment for trailers and implements), supports proprietary messages and networks, and handles integration with CAN 11-bit identifier networks as well as SAE J1587 and J1922 interfaces. Network segmentation—splitting a vehicle’s ECUs into multiple physical or logical subnetworks—is driven by the need for traffic isolation, bandwidth scaling, and physical layout constraints.
🔍 Design Insight: A standardized network layer is crucial for achieving interoperability among components from diverse suppliers. The J1939-31 architecture defines clear rules for message filtering, address translation, and database management, which reduces integration risk and ensures that mixed-vendor ECUs can work together in a horizontally integrated vehicle.
The standard defines four types of NIECUs, each designed for specific performance and complexity requirements. The table below summarizes their forwarding methods and typical applications.
| Type | Forwarding Method | Delay Requirement | Typical Use Case |
|---|---|---|---|
| Repeater | Bitwise forwarding | Physical layer only | Extending a CAN bus segment |
| Bridge | Store and forward | Stringent transit delay | Connecting similar data link layers with filtering |
| Router | Store and forward | Moderate delay tolerance | Segmenting networks for traffic isolation |
| Gateway | Protocol translation | Variable, application-dependent | Linking different data link layers (e.g., J1939-21 to J1939-22) |
Each NIECU must meet conformance requirements, including specific forwarding, filtering, and database management capabilities. Block mode and pass mode filtering are defined to control message flow to and from segments. Address translation is handled at routers and gateways, while protocol translation is a unique function of gateways.
🛠️ Engineering Consideration: Selecting the correct NIECU type directly affects network performance and reliability. For example, using a bridge instead of a repeater may introduce undesirable store-and-forward delay in time-critical control loops. Always validate the transit delay requirements against your application’s real-time constraints.
Adopting the 2023 revision requires attention to several areas where misinterpretation can lead to integration issues. Below are frequent mistakes and guidance to avoid them.
⚠️ Common Mistakes:
1. What is the difference between a router and a gateway in J1939-31?
A router forwards messages between network segments that use the same data link layer (e.g., both J1939-21). A gateway performs protocol translation between different data link layers (e.g., J1939-21 and J1939-22) and adjusts the message structure accordingly.
2. Why was the term ‘data field’ replaced by ‘PG data’ in the 2023 revision?
The change eliminates ambiguity. ‘PG data’ specifically refers to the data content of a Parameter Group, aligning with the terminology used in other J1939 documents and with the J1939-22 standard about Data Frames.
3. What are the minimum performance requirements for a bridge?
The standard requires bridges to meet specific store-and-forward transit delays (defined in Section 5.2.2). They also must support configurable filtering to prevent unnecessary traffic, and they may need to implement database management for address and message filter tables.
4. How are off-tractor network segments addressed?
Off-tractor segments (trailers or implements) use a dedicated addressing scheme within the J1939 framework, ensuring that ECUs on the towing vehicle and on the implement can communicate without address conflicts. The standard defines reserved address ranges and forwarding rules for these segments.
Understanding and applying the 2023 J1939-31 standard ensures robust network layer implementation in heavy-duty vehicle communication systems. By familiarizing yourself with the updated terminology, NIECU selection criteria, and common pitfalls, you can build more reliable, interoperable, and future-proof vehicle networks.