Reviewed Paper Volume 2 Issue 7 March 2015 International Journal of Informative & Futuristic Research ISSN (Online): 2347-1697 A Framework Of Milk Dairy Automation Using CAN Protocol Paper ID IJIFR/ V2/ E7/102 Page No. 2401-2406 Subject Area Key Words Electronics & Telecommunication Milk Dairy Automation, Controlled Area Network, LCD Display, IR Proximity Sensor, TSOP 1738 Module, Microcontroller PIC16F877A, Relay, IC 7805 Sarode Tushar B. 1 Nagare Dinkar 2 Yendhe Pavan S. 3 Trupti A. Joshi 4 B.E. Student, B.E. Student, B.E. Student, Professor Abstract From last decade automation in industry increases rapidly. For safety purpose as well as reduce man power and speed up the work automation is adapted by industries. There are two types of automations in that, some automation are fully automatic and some require human driver(semi- Automatic) some control on automation.to provide automation integrating large number of sensor or electronics component in industry plant. These various sensor produced data collected by the vehicle data acquisition system and many more sensor technologies by interactive communication through an intelligent information network called as Controlled area network (CAN). The benefits of this system over the system they currently employ is that noise reduction takes place as CAN is used and it is much cost effective than the PLC s and the man power is reduced. It is a one of beneficial technique which is useful now days. www.ijifr.com Copyright IJIFR 2015 2401
1. Introduction The Controller Area Network (CAN) is a serial bus communications protocol developed by Bosch in the early 1980s. It defines a standard for efficient and reliable communication between sensor, actuator, controller, and other nodes in real-time applications. The early CAN development was mainly supported by the vehicle industry: CAN is found in a variety of passenger cars, trucks, boats, spacecraft, and other types of vehicles. The protocol is also widely used today in industrial automation and other areas of networked embedded control, with applications in diverse products such as production machinery, medical equipment, building automation, weaving machines, and wheel chairs. 2. Proposed System Framework Description Figure 2.1: Block Diagram of Milk Dairy Automation using CAN Protocol CAN trans-receiver (MCP2551) Typically, each node in a CAN system must 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 bus by outside sources. Controller and the high-voltage spikes that can be generated on the 2402
Receiving:- It adapts signal levels from the bus to levels that the CAN controller expects and has protective circuitry that protects the CAN controller. Transmitting:- It converts the transmit-bit signal received from the CAN controller into a signal that is sent onto the bus. Power Supply:- The AC mains supply is applied to 12v step down transformer. The transformer output is 12v AC which is rectified using Diode Bridge W10M. The output of W10M is DC 12v which is further filtered by a 1000uf capacitor, and then regulated using IC 7805. The output of 7805 is +5v dc which is required for microcontroller operation. Also an LED in series with 220 Ohms resistor is used for power on indication. Keypad: Keypad is basically used to provide the input to the microcontroller. Each key is assigned with the special character or symbol or digit. When user press the key the respective assigned ASCII value of that key is provided to the microcontroller via software. Keypad is the user interface LCD Display: A liquid crystal display (LCD) is a thin, flat display device made up of any number of color or monochrome pixels arrayed in front of a light source or reflector. Each pixel consists of a column of liquid crystal molecules suspended between two transparent electrodes, and two polarizing filters, the axes of polarity of which are perpendicular to each other. Without the liquid crystals between them, light passing through one would be blocked by the other. The liquid crystal twists the polarization of light entering one filter to allow it to pass through the other. Various LCD displays are available in which some of are the following: Figure 2.2: LCD Display (16*2) LCD display 16*2 LCD display 40*4 LCD display 16*2 Level sensor (IR trans-receiver): This is a simple yet effective IR proximity sensor built around the TSOP 1738 module. The TSOP module is commonly found at the receiving end of an IR remote control system; e.g., in TVs, CD players etc. These modules require the incoming data to be modulated at a particular frequency and would ignore any other IR signals. It is also immune to ambient IR light, so one can easily use these sensors outdoors or under heavily lit conditions. Such modules are available for different carrier frequencies from 32 khz to 42 khz. They cost Figure 2.3: Level Sensor 2403
some thing around 20Rs. In this particular proximity sensor, we will be generating a constant stream of square wave signal using IC555 centered at 38 khz and would use it to drive an IR led. So whenever this signal bounces off the obstacles, the receiver would detect it and change its output. Since the TSOP 1738 module works in the active-low configuration, its output would normally remain high and would go low when it detects the signal. Relay The four relays are connected to Port1 of Microcontroller via relay driver. The Armature, NO and NC of each relay is connected to corresponding three pin relimate connector. The user can connect different devices operating at different voltages to these relimate connectors. Circuit Diagram Figure 2.4: Relay Figure 2.5: Circuit Diagram of Milk Dairy Automation by using CAN Protocol 2404
3. Functioning of Controller Area Network (CAN) Protocol The Controller Area Network (CAN) is a serial bus communications protocol developed by Bosch in the early 1980s. It defines a standard for efficient and reliable communication between sensor, actuator, controller, and other nodes in real-time applications. The early CAN development was mainly supported by the vehicle industry: The protocol is also widely used today in industrial automation and other areas of networked embedded control, with applications in diverse products such as production machinery, medical equipment, building automation, weaving machines, and wheel chairs. Figure 3.1: CAN Controller CAN is a multi-master serial bus that broadcast messages to all nodes in the network system. The CAN system offers a transmission speed of up to 1 Mbit/s with reliable and error detection method for effective transmission. This communication protocol allows every node in CAN to monitor the bus network in advance before attempting to transmit a message. When no activity occurs in the network, each node has the same opportunity to transmit a message. Additionally, this communication protocol allows collision to be solved using bit-wise arbitration, based on a preprogrammed priority of each message in the identifier field of a message CAN defines the logic bit '0' as the dominant bit whereas the logic bit '1' as the recessive bit. Format of CAN) Protocol: Figure 3.2: Standard Frame Format of CAN Protocol 2405
SOF Start of Frame Identifier Tells the content of message and priority RTR Remote Transmission Request IDE Identifier extension. DLC Data Length Code Data holds up to 8 bytes of data CRC Cyclic Redundant Check sum ACK Acknowledge EOF End of Frame IFS Intermission Frame Space. Minimum number of bits separating consecutive messages. 4. Conclusion Network is gaining high ground in many applications from automobile industry to automation and factory industries. CAN is a multi-master serial bus that allows an efficient transmission of data between different nodes. With its flexibility and robustness against electrical interference and also Digital control on the CAN Nodes is an important criterion industrial automation. We can extend our project by using CAN Protocol, we can do Automation in any field of Industry like in car automation. References [1] Pazul, K. Controller Area Network (CAN) Basics, Microchip Technology Inc. [2] Review of Researches in Controller Area Networks Evolution and Applications Wei Lun Ng *, Chee Kyun Ng, Borhanuddin Mohd. Ali, Nor Kamariah Noordin, and Fakhrul Zaman Rokhani [3] Zhang, Q.S., et al., Application of Embedded Technology for Induced Polarization Instrument. Advanced Materials Research, 2012. 383: p. 224-229. [4] Prodanov, W., M. Valle, and R. Buzas, A controller area network bus transceiver behavioral model for network design and simulation.ieee Transactions on Industrial Electronics, 2009. 56(9): p. 3762-3771 [5] Li, S., et al., Continuous and Real-Time Data Acquisition Embedded System for EAST. IEEE Transactions on Nuclear Science,, 2010.57(2): p. 696-698 [6] Mr Abhijit K Chougule, Prof. R.J. Vaidya, Milk Dairy Automation Using CAN Protocol: A Paradigm for Industry Automation International Journal of Advanced Research in Computer Science and Software Engineering 3(9), September - 2013, pp. 1187-1191 2406