Skip to content

Instantly share code, notes, and snippets.

@indra1234
Last active October 18, 2017 00:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indra1234/f8cd5def22fc6b00272f to your computer and use it in GitHub Desktop.
Save indra1234/f8cd5def22fc6b00272f to your computer and use it in GitHub Desktop.
CAN(control Area Network) BUS based machine control used in Automation Industry(CAN BASED MULTI MOTOR MOTION OR RPM CONTROL AND DATA ACQUISIOTION USING BY A PC).

CAN(control Area Network) BUS based machine control used in Automation Industry(CAN BASED MULTI MOTOR MOTION OR RPM CONTROL AND DATA ACQUISIOTION USING BY A PC).

Basic Block Diagram of CAN Bus model:

CAN BUS CAN BUS

Abstract:

  • Controller Area Network (CAN) has long been used for automation application as a method to enable robust serial communication. The goal was to make the system more reliable, safe, and efficient while decreasing wiring harness weight and complexity. Controller Area Network is a multi-master, message broadcast system that can operate at maximum signaling rate of 1 Mbps (Megabits per second). CAN bus is a two wire bus used for serial communication. The various advantages of CAN bus are discussed over other serial buses like MOD bus. Based on these factors, a CAN bus system in building automation, Process Automation System, Security system, Distributed control System, Quality control machine etc. This project shall focus on application of CAN bus in multi motor motion control.

The multi motor motion control system is developed using the principles and described in below:

CAN BUS

  • Here sensor1, sensor2, sensor3, keypad, touch screen (TFT), keypad and rS232 are connected to the main controller or node1. Sensors are used as per depends on industry means which condition are used for control the motor. Keypad is used for manual control means each key has a different operation. Touch screen used for modified or updated system for viewers. Rs232 or USB used for serial communication with PC. PC used for automation, data control, and automatic control. Node2 is subsystem of main controller. Temperature sensor LM35 is connected to the node2 .Generally it is used for measure the temperature of surrounding and one fan is used for control the temperature. Node3 is another subsystem in this project. Here two motor are connected with node3. Pic18f458 has a two PWM, so if industry needed more motor then just increased the no of node or subsystem.
  • Here the baud rate is selected 1Mbps in between node1 and node3. Secondly, here another baud rate is selected in between node1 and node2 which is 500Kbps.
  • Another point is very important for control the motion of motor, here RPM sensor means simply IR Led and photo-diode used .Here two RPM sensors are used for control the motion or speed of the motor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment