I will not deny that I am a big fan of wireless. That means that I love remotes everywhere; including cars to change the radio station. And I cannot remember the last time that I used, much less bought, a landline telephone. Our utilization of wireless technology has enabled us to practically interconnect the entire world with satellites and even connect with space vehicles throughout our galaxy. Although the use of wireless technology appears to be boundless, there are still times when wired signal transfer, such as Ethernet, is the best option.
Controller Area Network (CAN) bus data representation
When the transmission source and reception point are in close proximity, for example on PCBAs, a physically connected path is still the best means of signal propagation. This is also true when multiple circuit boards are interconnected. And for harsh environments where industrial PCBS are implemented, connectors and protocols must be used that ensure reliable data and signal transfer in the face of constant movement, shocks, vibrations, and extreme temperatures. One protocol that is implemented to meet these requirements is the CAN bus. Let’s explore this connection protocol and see how it can be most effectively utilized.
What is CAN Bus?
CAN stands for controller area network. CAN is a network communication protocol as are Ethernet and Universal Serial Bus (USB); however, it does not perform point-to-point data transmission. Instead, CANs utilize broadcast messaging, which is also used in Ethernet networks for host discovery. The CAN bus was originally developed in 1983 by Bosch . The first protocol was released by SAE in 1986, but today there are two standards that guide its implementation.
CAN Bus Standards
- ISO 11898 Specifies the setup for the CAN bus data link layer.
- ISO 16845 Sets forth a test plan to ensure conformance to the CAN Bus specification of ISO 11898.
Although CAN bus was initially developed for automotive communications and still is the most used protocol in vehicles, it has been adapted to be applicable for many other applications. These include CANopen and DeviceNet for industrial automation. The expanded use of CAN bus is due to its many attributes that includes the list below.
CAN Bus Attributes
👌 Only two-wires, CAN_H (High) and CAN_L (Low) needed.
👌 Simple cable requirements (e.g. twisted pair is sufficient).
👌 Data rate of 1 Megabit/s.
👌 Only two message formats (11-bit and 29-bit).
👌 Supports 8 byte (64-bit messaging).
👌 Does not experience message collisions.
For more detailed information on CANopen, DeviceNet and how these protocols can be used for industrial applications, see the following:
- CAN in Automation (CiA): CANopen.
- DeviceNet, ODVA.
- Introduction to the Controller Area Network, Texas Instruments.
Now, let’s take a look at how to design boards that will make effective use of the CAN bus.
Making Effective Use of CAN Bus
CAN bus is at once a simple and robust network communication protocol well suited for embedded systems and industrial environments. A high data transfer rate and message collision avoidance make it especially applicable for communicating with equipment and machinery PCBAs, actuators, sensors, motor controllers and other factory equipment and machinery devices. For the best results for your boards, you should follow the design tip guidelines below.
CAN Bus Design Guidelines
- Route Differential Pair in Parallel and Same Length
Like any differential pair signals, you’ll need to ensure that the CAN bus signals are routed in parallel with similar trace length. This helps to prevent propagation delay which may affect the transmission. Also, having both CAN bus signals routed in parallel helps to prevent interference from corrupting the received data. Electrical interference will be coupled on both pairs with an equal amplitude which would not affect differential signals.
- Minimize Length Between CAN Transceiver And Connector
In a typical CAN bus design, a microcontroller will drive a CAN transceiver, which is routed to the CAN connector. It is prudent to keep the differential signal traces between the CAN transceiver and connector as short as possible. While there is unlikely to be any issues with trace impedance at a low frequency, it’s a good practice when it comes to differential signals.
- Add Circuit Protection Component
CAN bus is meant to function in a harsh environment. But the hardware can be as reliable as the extra protection or without. To mitigate the possibility of transient surges, it will be a great idea to protective components such as TVS diodes on the PCB. It helps to channel any surge to ground and prolong the lifespan of the CAN transceiver.
|Tempo‘s Custom PCB Manufacturing Service
When designing PCBAs for industrial production environments, it is highly likely they will interconnect with CAN bus networks as its utilization will continue to grow well into the future. Therefore, you should implement effective design techniques to help facilitate the best data transfer possible. At Tempo Automation, we will work with you to ensure that your boards are of high-quality and incorporate your design intent.
And to help you get started on the best path, we furnish information for your DFM checks and enable you to easily view and download DRC files. If you’re an Altium Designer or Cadence Allegro user, you can simply add these files to your PCB design software. For Mentor Pads or other design packages, we furnish DRC information in other CAD formats and Excel.
If you are ready to have your design manufactured, try our quote tool to upload your CAD and BOM files. If you want more information on CAD files or how to incorporate your design into a CAD format, contact us.
 Bosch or Robert Bosch GmBH is an engineering and technology with headquarters in Gerlingen, Germany.