home
  1. Althen Sensors
  2. Nyheter och evenemang
  3. CANopen or SAE J1939? Choosing the right CAN protocol for joysticks

CANopen or SAE J1939? Choosing the right CAN protocol for joysticks

Nyhetsartikel

As construction machinery and other mobile equipment increasingly move towards electrohydraulic control, CAN communication is becoming an important part of joystick integration. But choosing a CAN joystick is not simply a matter of selecting a CAN output. OEMs also need to determine which protocol fits their machine architecture: CANopen or SAE J1939.

Both protocols are widely used in mobile machinery, but they serve different purposes and are not directly compatible. J1939 is strongly established in powertrain and vehicle networks, while CANopen is commonly used for working functions such as hydraulic valves, joysticks, I/O modules and sensors.

In this article, we look at the differences between CANopen and J1939, where each protocol is typically used and what OEM engineers should consider when specifying a joystick.

CAN is the road, the protocol is the language

CAN (ISO 11898) defines the physical layer and the data link layer: two wires, differential signalling, message priority through the identifier and robust error detection. It does not define what the eight data bytes of a message mean. A higher-layer protocol adds that meaning: which message carries the joystick position, how a device gets its address, how faults are reported and how a device is configured. 

SAE J1939 and CANopen both run on classical CAN, but they are not compatible. J1939 uses 29-bit identifiers, CANopen normally uses 11-bit identifiers, and the two organise their data in completely different ways. A J1939 joystick will not work on a CANopen network without a gateway, and vice versa. 

SAE J1939: the powertrain and vehicle bus 

J1939 was developed by SAE for trucks and buses and is now the standard for diesel engines and drivetrains in on-road and off-road vehicles. Engine manufacturers deliver their engine ECUs with J1939, so in practice every machine with a combustion engine has a J1939 network.

  • Predefined messages Data is grouped in Parameter Groups, each identified by a Parameter Group Number (PGN). The individual signals are Suspect Parameter Numbers (SPNs), such as engine speed or coolant temperature. Because PGNs and SPNs are standardised, devices from different suppliers work together with little configuration. 
  • Fixed bit rate 250 kbit/s is the classic J1939 bit rate; 500 kbit/s is defined in J1939-14. 
  • Addressing Every node has a source address. Through address claiming, nodes can negotiate their address on the network. 
  • Diagnostics Standardised diagnostic messages such as DM1 report active fault codes to displays and service tools. 
  • Family ISOBUS (ISO 11783) in agriculture and NMEA 2000 in marine share the same higher-layer principles. 

J1939 is not limited to the powertrain. The standard also defines joystick messages, the Basic Joystick Message and the Extended Joystick Message, which carry axis positions and button states. Machines built around a J1939-based controller therefore often run their joysticks on J1939 as well. 

CANopen: the implement and working bus 

CANopen comes from industrial automation and is maintained by CAN in Automation (CiA). It is standardised as EN 50325-4. In mobile machinery it is widely used on the working side: hydraulic valves, joysticks, I/O modules and sensors. 

  • Object dictionary Every device has a table of all its parameters and process data. The Electronic Data Sheet (EDS) describes this table in a file that configuration tools can read. 
  • PDO and SDO Process Data Objects carry real-time data such as a joystick position. Service Data Objects give access to parameters, so settings such as filters, zero points and transmission intervals can be changed over the bus. 
  • Network management NMT and heartbeat messages let the controller start, stop and monitor each node. 
  • Flexible bit rate From 10 kbit/s to 1 Mbit/s, depending on cable length. 
  • Device profiles Profiles standardise how a type of device presents its data. CiA 401 covers I/O devices, with a dedicated part 2 for joysticks, and CiA 408 covers proportional hydraulic valves. 
  • Functional safety CANopen Safety (EN 50325-5) adds safety-related data objects that are sent twice, the second time bit-wise inverted, and is approved for use in systems up to SIL 3. 

The strength of CANopen is configurability. It suits machines where the OEM designs the working function itself, such as cranes, aerial work platforms, drilling rigs, material handling equipment and many European construction machines.