can protocol implementation for data communication (2)

27
can protocol implementation for data communication Under the guidance of: Internal guide: M.Niharika External guide: G.purna chander rao BY: G.Vijay kumar J.Divya K.Karuna sri K.Satyanarayana

Upload: karuna418

Post on 04-Feb-2015

5.198 views

Category:

Education


2 download

DESCRIPTION

can protocol

TRANSCRIPT

Page 1: Can protocol implementation for data communication (2)

can protocol implementation for data

communication

Under the guidance of:Internal guide: M.Niharika External guide: G.purna chander rao

BY: G.Vijay kumar

J.Divya K.Karuna sri

K.Satyanarayana

Page 2: Can protocol implementation for data communication (2)

CONTENTS• AIM• INTRODUCTION• WHAT IS CAN?• WHY IT IS USED?• WHERE IT IS USED?• POWER SUPPLY• BLOCK DIAGRAM• MAX232• RS 232• INTERFACING• LCD• CIRCUIT DIAGRAM• ADVANTAGES• APPLICATIONS• RESULT• FUTURESCOPE• CONCLUSION

Page 3: Can protocol implementation for data communication (2)

AIM OF THE PROJECT

• This main of this project is to implementation for data communication based on CAN protocol.

• Design and develop micro controller based communication.

• The bit rate is 10mbps.• Built in a high secure way of communication.

Page 4: Can protocol implementation for data communication (2)
Page 5: Can protocol implementation for data communication (2)

CONTROLLER AREA NETWORK

• Implemented in 1983 officially released in 1986 at SAE(Society of Automotive Engineers) .

• Introduced by Robert Bosch GmbH in Germany.

• It is asynchronous serial communication protocol

• Concept based on multi master

• CSMA/CA(carrier sense multiple access/collision avoidance)

Page 6: Can protocol implementation for data communication (2)

INTRODUCTION

Communication as the primary aspect.

Security of the level of communication

Can be utilized in various different types of communication.

An access control system that allows only authorized persons to access the received data.

Page 7: Can protocol implementation for data communication (2)

Why it is used…….?

• Existing protocols didn’t support multi-masters.

• It is Text based communication.

• Low baud-rates even at higher distances.

• Poor error detection & management.

Page 8: Can protocol implementation for data communication (2)

WHERE IT IS USED………??

• During the journeys at night times it may fail to know about the outer environment such as vehicle data. The can protocol provides interaction between them.

• used in automobiles, Industries, rail ways..• some hospitals use CAN to manage complete

operating rooms.• Also used in lifts, escalators, telescopes,

sportscameras, automatic door opens etc…….

Page 9: Can protocol implementation for data communication (2)

POWER SUPPLY

Page 10: Can protocol implementation for data communication (2)

BLOCK DIAGRAM

Page 11: Can protocol implementation for data communication (2)

CAN CONTROLLER

Every node of the can bus is controlled by can controller

Stores received bits serially untill entire messages available.

It transmits the message to a can controller.

18 bit pin package

One shot mode ensures message transmission is attempted only once

Page 12: Can protocol implementation for data communication (2)

CAN TRANSEIVERIt provides protection to the can controller.

It adopts signal level from the bus to level of can controller

It converts the transmit signal received from the can controller into signal i.e. send on to the bus.

It supports 1mbps operation

Suitable for 12v &24v

Page 13: Can protocol implementation for data communication (2)

AT89S52

Page 14: Can protocol implementation for data communication (2)

DESCRIPTION OF AT89S52

• Compatible with MCS-51 products• 8kb of in system reprogrammable flash

memory• Fully static operation 0HZ to 33MHz• 3 level program memory lock• 4.0v to 5.5 v of operating range

Page 15: Can protocol implementation for data communication (2)

MAX232

•It is also called as the TTL converter.

•Operates with single 5v power supply.

• 2 drivers and 2 receivers.

•Requires low supply current 8mA(typically)

Page 16: Can protocol implementation for data communication (2)

RS232Devices which uses serial cables for their communication are split into 2 categories DTE(data transmission encrypt) DCEA “space” logic 0 will be between +3v&+25vA “mark” logic 1 will be between -3v&-25vThe region between +3v&-3V is undefined.

Page 17: Can protocol implementation for data communication (2)

INTERFACING B/W RS232 &MC

Page 18: Can protocol implementation for data communication (2)

LCDLiquid Crystal display. To send any command to the LCD make that RS=0 for data make RS=1.Then send a high to low pulse to the E pin to enable the Latch of the LCD.

Page 19: Can protocol implementation for data communication (2)

CIRCUIT DIAGRAM

Page 20: Can protocol implementation for data communication (2)

APPLICATIONS

Usage of CAN protocol in vehicles

Page 21: Can protocol implementation for data communication (2)

can protocol is multi master broad cast serial bus.

Message based protocol.

Can protocol is used in automotive& auto mobiles.

Low baud rates even at the higher distance.

Efficient error detection& protection management.

Flex CAN (an alternate implementation).

Flex RAY (a possible future direction)

Page 22: Can protocol implementation for data communication (2)

ADVANTAGES

Wiring complexity is less

Capability to solve bus access

CAN stations can be added and removed easily

Using of twisted pairs make this protocol easy.

Page 23: Can protocol implementation for data communication (2)

RESULT

• The experimental results confirm the excellent performance and robustness of the CAN protocol when used in industrial applications. The main advantages can be summarized as: reduced cabling (by the use of several instruments over the same bus), error detection capabilities, high immunity to external noise signals (present in industrial processes), robustness, capability to solve bus access collisions without any retransmission requirements, distributed control and hot-swapability…

Page 24: Can protocol implementation for data communication (2)

FUTURESCOPE• The CAN bus may be used in vehicles to connect

engine control unit and transmission, or (on a different bus) to connect the door locks, climate control, seat control, etc. Today, almost every new passenger car manufactured in Europe is equipped with at least one CAN network. Also used in other types of vehicles, from trains to ships, as well as in industrial controls, CAN is one of the most dominating bus protocols – maybe even the leading serial bus system worldwide.

Page 25: Can protocol implementation for data communication (2)

CONCLUSIONThis project can protocol implementation for data

communication has been successfully designed and tested. Can protocol implementation has many advantages and it can be used in various functions such as data communication in a very secured manner and is also very useful in private messages and also used in various government applications…………

Page 26: Can protocol implementation for data communication (2)
Page 27: Can protocol implementation for data communication (2)