CANbus control: how does it work?
Morten Moller of Sensor-Technik UK explains the background to CANbus control, from where it's used to how it operates.
CANbus control units and HMIs (human machine interfaces) are used in a wide variety of functions in mobile and stationary applications.
Via the various configurable inputs and outputs it is possible to connect all types of sensors and actuators directly to the control unit; the user-programmed controller monitors the system inputs and allows either closed loop or open loop control of the outputs.
This way, components such as proportional valves can be controlled directly.
Together with extended diagnostics functions and the CAN interface, the system offers unmatched in-service facilities.
In case of failure (such as broken cables or short circuits) it allows users to restore the vehicle to safe conditions and provides service staff with the right tools for quick and easy diagnostics.
With the additional possibility of remote (wireless) maintained diagnostics, the CANbus is capable of making a significant contribution to increased vehicle availability and productivity.
More and more vehicle manufacturers and automotive component suppliers are realising the benefits of the CANbus system.
This technology has now reached a stage where internationally agreed standards exist, so that different manufacturers' electronics can communicate together.
A typical modern truck might have separate electronic modules controlling engine, automatic gearbox, ABS brakes and onboard hydraulic control.
The engine module has a sensor reading rotational speed.
All the other modules, such as the gearbox, need to know the engine speed to operate correctly.
The engine module will broadcast the engine speed message on the CANbus, and a module connected to the bus can receive the message and use that information.
This means that the engine speed sensor need only be connected to one of the modules.
The versatility of CANbus modules is evident from the wide range of applications in which they are used.
They include specialised civil engineering, mobile cranes, agricultural/harvesting machinery, forklift trucks, refuse collection vehicles, steamrollers, aircraft towing vehicles, road sweepers, excavators, fire engines, military equipment, boats, shipyard cranes and diggers.
But what's the background to this technology?.
The Controller Area Network (CAN) was originally developed by Bosch for use in the automotive industry, but has established itself as the standard bus system for mobile applications, and is defined under ISO11898.
CANbus systems exhibit high transfer rates up to 1Mbit/s and high data transmission reliability.
A number of different capabilities (CRC, frame checking, acknowledgement, bit monitoring and bit stuffing) enable the CAN protocol to recognise errors in the transmitted data (caused for example by electromagnetic disturbances) and to correct them.
This correction takes place with very little loss of time, making CANbus extremely reliable in demanding applications.
A pair of wires forms the transmission medium.
The length of the network can be up to 40m for the maximum 1Mbit/s transmission speed, but networks can be up to 1000m in length without the need for repeaters and are practical for transmission rates of 80Kbit/s or less.
The number of nodes on the network is unlimited in theory, but in practice depends on the type of chip used.
With commonly used chips, 32, 64 or up to 110 nodes per network are possible (or 128 with restrictions), whilst further nodes can be accommodated by using repeaters or bridges.
CAN is a "multimaster system" with line topology and real-time capability.
Unique "identifiers" contain information not directly related to the address of a participant, but to the contents of a message (such as temperature, rotational speed or linear speed).
All participants check out the identifier being transmitted and decide if the type of message is relevant to themselves.
In this way, all messages can be received from many or all of the participants simultaneously.
The unique identifier also determines the priority of the message relating to bus access.
Should a number of participants try to access the bus simultaneously, the higher priority message is guaranteed to gain bus access.
Standard format (11bit identifier) and extended format (29bit identifier) are two different message formats that can exist on the same physical CANbus.
The CAN 2.0 B specification supports both formats, whereas CAN 2.0 A only allows frames with 11bit identifiers.
Through content-oriented identifiers in the message, the system achieves a high degree of configuration flexibility and allows a simple extension of the network to include further devices.
Not what you're looking for? Search the site.
Articles by product category
- Consultancy and Services (903)
- Machine Building (4,517)
-
Engineering Design Software (6,179)
- Engineering Design Software (12)
- 2D CAD software (200)
- 3D CAD software (1,157)
- FEA and structural analysis software (369)
- Fluid, thermal, noise, vibration software (334)
- Simulation, modelling, validation software (914)
- Rendering, visualisation, styling software (196)
- Materials design and moulding design software (151)
- Process, instrumentation, automation software (258)
- Electrical design software (164)
- Publishing and documentation software (229)
- Maths, charting, statistics, QA software (317)
- Data, document management software (310)
- CAM, CNC, production management software (568)
- File conversion software, data capture (351)
- PLM and collaboration software (649)
-
Drives, Motors and Controls (3,361)
- Drives, Motors and Controls (1)
- Precision Motors and Gears (411)
- Industrial Drives/Controls (1,276)
- Linear Drives and Motors (114)
- Industrial Motors (497)
- Stepper and Servo Drives, Motors, Controls (1,060)
- Small Mechanical Components, Joining, Tools (1,975)
-
Control and Instrumentation (5,028)
- Plantwide control (1,324)
- Plant- and Machine-Wide Communications (1,174)
- Smaller-Sized PLCs (387)
- CNC and Motion Controllers (184)
- Mid-range and Large PLCs (201)
- Power Supplies, Uninterruptible Power (562)
- HMIs/Operator Interfaces (294)
- Logic Controllers, Timers and Relays (96)
- Cabling, Conduit, Signal Conditioning (806)
-
Monitoring, Measurement and Quality (5,459)
- Monitoring, Measurement and Quality (1)
- Data acquisition Software and Communications (494)
- Data Acquisition Hardware and PC I/O Boards (472)
- Electrical and Electronic Testing, PAT Equipment (630)
- Form/co-ordinate, optical, vision instruments (703)
- Gauges, Indicators and Instruments (440)
- Data loggers (422)
- Materials testing equipment (421)
- Telecomms/network test equipment, software etc (154)
- Testing and Calibration Services and Information (500)
- Testing, analysing and monitoring equipment (1,222)
-
Electrical and Electronic Equipment Design (4,160)
- Batteries, chargers and circuit protection (555)
- Connectors, Terminals, Busbars, Slip Rings (679)
- Enclosures and Equipment Cooling Fans (709)
- Knobs, Handles and Enclosure Hardware (420)
- PCs and Embedded Systems (798)
- Electrical and Electronic Subassemblies (369)
- Electrical and Electronic Components (630)
-
Materials and Processing (2,963)
- Materials and Processing (5)
- Materials and components (2,215)
- Rapid Prototyping (458)
- Materials processing and testing (285)
-
Engineering Industry News, Resources (6,093)
- Engineering Industry News, Resources (4)
- Engineering Business News, Views (388)
- Engineering Exhibitions, Events (562)
- Engineering Conferences (425)
- Engineering Seminars (400)
- Engineering Industry Developments, Awards (633)
- Engineering Guides, Newsletters (349)
- Engineering Recruitment, Employment (219)
- Engineering Training Courses (433)
- Engineering Education, Resources, Standards (838)
- Engineering Industry Reports, Surveys (597)
- Electronic Resources for Engineers (278)
- Health and Safety Legislation (402)
- Health and Safety Strategy, Risk Assessment (113)
- Health and Safety Consultancy, Software (175)
- Health and Safety Events, Training, News (277)
-
Powertrain Design (3,598)
- Powertrain Design (2)
- Bearings (939)
- Chains and belts (326)
- Gears, brakes, couplings and engines (1,441)
- Hydraulic Components (471)
- Lubricants (418)
-
Capital Equipment (3,387)
- Capital Equipment (1)
- Manufacturing Machinery and Plant Equipment (468)
- Production line blowers and fans (62)
- Compressors and Air Treatment (510)
- Electronics Manufacturing, Tools, Instruments (192)
- Electrical hardware (131)
- Machinery and Production Equipment (1,093)
- Robotics, Handling and Storage (930)
-
Sensors (7,080)
- Sensors (8)
- Accelerometers and Vibration Sensors (427)
- Loadcells, Force Sensors, Torque Sensors (699)
- Pressure sensors (621)
- Flowmeters and Flow Sensors (618)
- Level Sensors and Leak Detectors (527)
- Linear Position Sensors (399)
- Rotary Position, Tilt and Angular Sensors (546)
- Proximity Sensors (700)
- Gas, Chemical, Radiation, Magnetic Sensors (284)
- Humidity and Environmental Sensors (152)
- Temperature sensors (612)
- Vision and Colour Sensors (1,384)
- Barcode Sensors (103)
- Valves, Pumps, Process Hardware (3,623)