Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Basics for CAN Bus Protocol – Controller Area Network
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > Communication > Basics for CAN Bus Protocol – Controller Area Network

Basics for CAN Bus Protocol – Controller Area Network

A controller area network is ideally suited to the many high-level industrial protocols. Learn the basics of CAN bus protocol.

Last updated: January 24, 2023 11:46 am
Hussien Ghareb
Communication Control Systems
No Comments
Share
6 Min Read
SHARE

A controller area network (CAN) is ideally suited to the many high-level industrial protocols. Its cost, performance, and upgradeability provide tremendous flexibility in system design.

Contents
CAN Bus ProtocolCAN Protocol with the OSI ModelFocus Points to Establish a CAN NetworkRelation Between Speed & Cable Distance

This article briefly introduces the CAN bus operating principles, the implementation of a primary CAN bus network, and how to troubleshoot this network.

CAN Bus Protocol

The CAN bus is a multi-master, message broadcast system that specifies a maximum signaling rate of 1M bit per second (bps).

Unlike a traditional network such as USB or Ethernet, CAN does not send large blocks of data point-to-point from node A to node B under the supervision of a central bus master.

Basics for CAN Bus Protocol

In a CAN network, many short messages like temperature or RPM are broadcast to the entire network, which allows for data consistency in every node of the system.

CAN Protocol with the OSI Model

CAN is an International Standardization Organization (ISO) defined serial communications bus originally developed for the automotive industry to replace the complex wiring harness with a two-wire bus.

The CAN communications protocol, ISO 11898, describes how information is passed between devices on a network and conforms to the Open Systems Interconnection (OSI) model that is defined in terms of layers.

The actual communication between devices connected by the physical medium is defined by the physical layer of the model. The ISO 11898 architecture defines the lowest two layers of the seven-layer OSI/ISO model as the data-link layer and physical layer. As shown in Fig. (1)

CAN Protocol with the OSI Model
Figure 1

The application layer establishes the communication link to an upper-level application-specific protocol such as the vendor-independent CAN open protocol. This protocol is supported by the international users and manufacturers group, CAN in Automation (CIA).

There are many similar emerging protocols dedicated to particular applications like industrial automation or aviation.

Examples of industry-standard CAN-based protocols are KVASER’s the CAN Kingdom, Allen-Bradley’s Device Net, and Honeywell’s Smart Distributed System (SDS).

Focus Points to Establish a CAN Network

  • CAN protocol define the Data Link Layer and part of the Physical Layer in the OSI model.
  • Each CAN unit connected to the bus can be called a node. All CAN units are connected to a bus terminated at each end with 120 Ω resistors to form a network.
  • The CAN bus consists of two wires (CAN_H & CAN_L lines).
  • The CAN controller determines the bus level based on the difference in the power level on both wires.
  • Bus levels are divided into dominant and recessive levels, which must be one of them, the sender sends the message to the receiver by making a change at the bus level.
  • In the dominant state, the voltage of CAN_H is about 3.5V and the voltage of CAN_L is about 1.5V. In the recessive state, the voltage of both lines is around 2.5V.
  • The signal is differential which is why CAN derives its robust noise immunity and fault tolerance. A balanced differential signal reduces noise coupling and allows for high signaling rates over twisted-pair cable. The current in each signal line is equal but in the opposite direction and resulting in a field-canceling effect that is key to low noise emissions. The use of balanced differential receivers and twisted-pair cabling enhances the common-mode rejection and high noise immunity of a CAN bus.
Focus Points to Establish a CAN Network
Figure 2

Relation Between Speed & Cable Distance

The CAN bus is a bus that connects multiple units at the same time. There is theoretically no limit to the total number of units that can be connected. In practice, however, the number of units that can be connected is limited by the time delay on the bus and the electrical load.

Reduce the speed of communication, increase the number of units that can be connected, and increase the speed of communication, the number of units that can be connected decreases.

The communication distance is inversely related to the communication speed, and the farther the communication distance, the smaller the communication speed. The longer distance can be 1km or more, but the speed is less than 40kps.

Resources

  • Introduction to the Controller Area Network (CAN) by Texas Instruments.
  • instructables.com/A-Simple-Tutorial-for-CANBUS

If you liked this article, then please subscribe to our YouTube Channel for Electrical, Electronics, Instrumentation, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • 4-20 mA Transmitter Wiring
  • Electrical Earthing Calculations
  • Why 24 Volts DC Power Supply?
  • Interposing Relay Panel Wiring
  • SCADA Software and Comparison
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

FF Function block Modes
Managed Switch vs Unmanaged Switch
What is Alarm Management System ?
Difference Between Ethernet IP and Profinet
Industrial Networking and Wireless Interview Questions
What is PID Controller?
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Fundamental Motion Control Commands
I&C Engineer Roles & Responsibilities – Instrumentation Design
Heuristic PID Tuning Procedure
Background of Modbus – ASCII and RTU Data Frames
Field Transmitter Communication Troubleshooting
Identify Faults in PID Control Loop
What is a Fieldbus Terminator and How Does it Work?
Identify Instruments in Piping and instrumentation Diagram

Keep Learning

RAID stands for Redundant Array of Independent Disks

What is Raid Parity? – Types, Advantages, Disadvantages

PID Simulator

PID Simulator Download

Nuisance Alarms

What is Alarm Shelving? – Nuisance Alarms, Types, Suppression

Bias in Proportional Controller

Why Bias used in Proportional Controller ?

Optical Fiber Cable - SC and ST Optical Fiber Connectors

Optical Fiber Cable – SC and ST Optical Fiber Connectors

IPSec

What is IPSec? – Internet Protocol Security

Troubleshooting Pump Control Circuit

Troubleshooting Pump Control Circuit

Troubleshooting Fieldbus Devices

Troubleshooting Fieldbus Devices

Learn More

Process Override Switch

What is Process Override Switch (POS)?

cross

Tube Fitting Types

Flame Cables

Difference Between Flame Resistant and Flame Retardant Cables

Thermocouple Testing

Thermocouple Cold Junction Compensation

Basics of Sinking and Sourcing

Basics of Sinking and Sourcing – Automation System MCQ

Mass Flow Calculations of flow measurement

Mass Flow Calculations

PLC Structured Text Program for Output Generation via Equations

PLC Structured Text Program for Output Generation via Equations

Selecting Directional Valves

How to Select a Directional Valves

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?