Ijett V4i10p127 PDF
Ijett V4i10p127 PDF
Ijett V4i10p127 PDF
I. INTRODUCTION
CAN stands for Controller Area Network. It is a protocol
which defines a set of rules of data transfer from on point to
another point. CAN protocol was developed for making sure
data from one node gets transferred to another node between
two connection safely and securely without any data
corruption and without missing any of the data. CAN protocol
was mainly intended for short length data transfer like in
automobiles. CAN Protocol is used in automation of factory
machinery for example two machines which interacts between
each other and transfers data to take some mutual decision and
then act accordingly. It is also used in medical automation,
marine ships, military applications and at all other places
where a simple yet robust data transfer network is needed.
CAN is not a complete network. It consists of only the
ISSN: 2231-5381
http://www.ijettjournal.org
Page 4422
International Journal of Engineering Trends and Technology (IJETT) Volume 4 Issue 10- Oct 2013
communications protocol, ISO-11898: 2003 explains how
information is passed between devices on a network CAN
follows OSI model that is defined in terms of different layers.
CAN uses only Physical and data link layer of OSI model as
shown below. Physical layer of the CAN and OSI model
explains the actual communication between devices connected.
Two nodes are connected to each other via a physical wired
connection. The ISO 11898 architecture defines the lowest
two layers of the seven layer OSI/ISO model as the data-link
layer and physical layer in Fig 2.1 and fig 2.2 below. Fig 2.1
shows which all layers of OSI is used in CAN and which all
are not used. Fig 2.2 shows in details the usage of DLL and
Physical layer in CAN.
Extended CAN
ISSN: 2231-5381
http://www.ijettjournal.org
Page 4423
International Journal of Engineering Trends and Technology (IJETT) Volume 4 Issue 10- Oct 2013
C. Physical CAN connection
AND CONTROLLER
ISSN: 2231-5381
http://www.ijettjournal.org
Page 4424
International Journal of Engineering Trends and Technology (IJETT) Volume 4 Issue 10- Oct 2013
have a device to convert the digital signals generated by a
CAN controller to signals suitable for transmission over the
bus cabling (differential output). It also provides a buffer
between the CAN controller and the high-voltage spikes that
can be generated on the CAN bus by outside sources (EMI,
ESD, electrical transients, etc.).
C. PIC16F877a
For this model, PIC microcontroller is used because of
following advantages of PIC
1. Many interrupt sources, so need more interrupt
pins
2. Need very high speed
3. Must be fully compatible with CAN
4. It should be having low-power consumption
IV. MODEL TO IMPLEMENT CAN WITH PIC
In the model to show the CAN with PIC we have used two
CAN nodes connected by 2 Mbps bus. We have used
temperature sensor at one node A connected to CAN through
Microcontroller A. The other node B is connected to
Microcontroller B through CAN controller. In MCB an IR
sensor & machine control is attached to exchange the
automatic of automobiles.
ISSN: 2231-5381
http://www.ijettjournal.org
Page 4425
International Journal of Engineering Trends and Technology (IJETT) Volume 4 Issue 10- Oct 2013
V. FLOW OF OPERATION AT TRANSCEIVER AND RECEIVER
D. Receiver Section
SECTIONS
A. Transmitter Section
OrCAD
MPLAB IDE
Proteus 7.2
Flash programmer WIN PIC 800
ISSN: 2231-5381
A. Advantages:
1. Intelligent and self-smart systems
2. Effective alert module
3. Data transfer using CAN Protocol
4. Driver-related signals for processing
B. User Benefits:
1. CAN can be implemented in a very low cost
2. CAN is reliable
3. CAN means real-time
4. CAN is flexible
5. CAN is fast
6. CAN allows Multi-Master Operation
7. CAN means Broadcast Capability
8. CAN is standardized
C. Applications
1. CAN in motor vehicles (cars, trucks, buses)
It Enables communication between ECUs like engine
management system, anti-skid braking, gear control, active
suspension (power train). It can be used to control units like
dashboard, lighting, air conditioning, windows, central
locking, airbag, seat belts etc. (body control)
http://www.ijettjournal.org
Page 4426
International Journal of Engineering Trends and Technology (IJETT) Volume 4 Issue 10- Oct 2013
2. CAN in utility vehicles
e.g. construction vehicles, forklifts, tractors etc. CAN can
be used for power train and hydraulic control.
3. CAN in trains
High need of data exchange between the different
electronic subsystem control units (i.e. acceleration, braking,
door control, error messages etc. as well as diagnostics).
4. CAN in industrial automation
CAN provide excellent way of connecting all kinds of
automation equipment (control units, sensors and actuators). It
can be used for initialization, program and parameter up/download, exchange of rated values / actual values, diagnosis
etc. Machine control (printing machines, paper- and textile
machines etc.): Connection of the different intelligent
subsystems. It can be used in transport systems.
5. CAN in medical equipment
Example is Computer tomographs, X-ray machines, dentist
& wheel chairs
6. CAN in building automation
Example is Heating, air conditioning, lighting, surveillance
etc. Elevator and escalator control
7. CAN in household appliances
Example Dishwashers, washing machines, even coffee
machines.
8. CAN in office automation
Example is photocopier - interface to document handler,
paper feeding systems, sorter, communicates status, allows
on-site / field connection or "hot swapping, DocuText
Systems, i.e. automatic print, sort and bind on demand
VII.
[2]
[3]
[4]
[5]
[6]
[7]
CONCLUSIONS
ISSN: 2231-5381
http://www.ijettjournal.org
Page 4427