Implementation of Automatic Color Mixing and Filling Using PLC & SCADA

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)

Web Site: www.ijettcs.org Email: [email protected]


Volume 6, Issue 3, May- June 2017 ISSN 2278-6856

Implementation of Automatic Color Mixing and


Filling Using PLC & SCADA
Tanmay Sharma1, Dhruvi Dave2 and Hinal Shah3
1
Student, Electrical Engineering Department, Indus University, Ahmedabad, Gujarat.
2
Student, Electrical Engineering Department, Indus University, Ahmedabad, Gujarat.
3
Assistant Professor, Electrical Engineering Department, Indus University, Ahmedabad, Gujarat.

Abstract: The objective of this paper is to design, the colors in different proportion and fill the bottle till a
develop and monitor “Automatic Color Mixing and desired level without wastage of the liquid. Ladder logic is
Filling Using PLC and SCADA”. A modern used to perform the sequence of operation. The system is
programmable logic controller deliver a wide range of controlled by a Allen Bradley Micrologix 1400 Series-B
functionality, including basic relay control, motion PLC which operates on 24V DC and is a compact PLC
control, process control, and complex networking, as well which has a fixed number of inputs and outputs i.e., 32
as being used in Distributed Control Systems. There are number of digital input/output ports and 6 number of
several different types of interfaces that are used when analog input/output ports. In addition to this, the use of
people need to interact with the programmable logic SCADA has also been implemented for the monitoring of
controller to configure it or work with it. the entire system.
In this application, going to mix the color in different
proportion and fill in a bottle using PLC (Programmable 2. METHODOLOGY
Logic Controller) and SCADA (Supervisory Control and
Data Acquisition). Here Allen Bradley Micrologix 1400x There are three containers, first container contains color 1
PLC is used, which acts as the heart of the system. The liquid, second container contains color 2 liquid with the
system sequence of operation is designed by ladder respective solenoid valve connected on it, and middle
diagram. Several electronics and electric devices that container is mixing and filling container. Mixing container
usually be controlled and operated by the PLC such as a connected with a solenoid valve and a level sensor to sense
submersible motor pump, conveyor belt, solenoid valve, the water level in it.
When the level sensor moves from NO contact to NC
relays etc. This system is applicable in color mixing plant,
contact the conveyor belt (i.e. DC Motor) starts rotating.
milk industries, chemicals, foods, mineral water and
Afterwards the bottle is placed on the conveyor then
many more manufacturing, processing and packaging
proximity sensor 1 senses the bottle and conveyor belt
industries. A prototype has been developed to illustrate
the application. stops below the solenoid valve 3.Then there will be delay
Keywords: Allen Bradley, Automation, Ladder Logic, of 5 seconds, after this solenoid valve open and starts
PLC, SCADA. filling the bottle for 15 seconds, after 2 second of delay
filled bottle will move forward on conveyor system till the
proximity sensor 2 senses the bottle. After this the process
1. INTRODUCTION continues till the stop switch is not pressed.
Automation is used to reduce the human work and helps
in increasing the production. PLC plays an 3. PROPOSED MODEL
important role in the world of automation industry. It acts
as major function in the automation field which tends to The whole system is divided in two important parts
reduce the complexity, increases safety and cost efficient. hardware and software
It requires continuous monitoring and inspection at 3.1 Hardware Description
frequent intervals. There are possibilities of errors in
Number equations consecutively with equation numbers in
parameter measuring, human intervention at various
Allen Bradley Micrologix 1400 Series-B used for
stages and also the lack of advance features. Thus this
controlling the inputs and outputs. The model number of
paper takes a sincere attempt to explain the benefits to the
PLC is 1766-L32BXBA. The PLC controls the input and
companies by making process automated. In order to
output according to the program. Input supply to the PLC
automate a plant and minimize human intervention, there is is given through a SMPS as this is the compact type of
a need to develop a system that monitors the plant and PLC. The rating of the SMPS is 24V DC, 5Amp. Various
helps to reduce the errors caused by humans. proximity sensors have been used for the positioning of the
bottle. A DC motor is used for the conveyor system. The
PLC is the main part of the system which makes the rating of the DC motor is 24V for high torque. Toggle
whole process simple, flexible and accurate. A color switch and push buttons are used which acts as the input to
mixing and filling system with PLC allows the user to mix the PLC. Solenoid valve is used for the filling process of

Volume 6, Issue 3, May – June 2017 Page 54


International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)
Web Site: www.ijettcs.org Email: [email protected]
Volume 6, Issue 3, May- June 2017 ISSN 2278-6856
the bottle. programs in flash clips/memory module and also has the
communication support. Figure-2 shows the basic model
3.2 Software Description of Micrologix 1400 Series-B PLC.
There are five important languages which are used for the
programming of the PLC. The lists of the methods are as
follows:
 Functional Block Diagram (FBD)
 Structure Text
 Instruction list
 Sequential Flow chart (SFC)
 Ladder diagram
Out of these five languages, ladder diagram is the most
widely used language and is simple as compared to other
languages. Ladder logic is the main programming method
used in PLC. Ladder logic is based on mimic relay logic. Figure-2 Micrologix 1400 Series-B PLC
3.3 PLC Working 4.1 Allen Bradley PLC
Basics of a PLC function are continuous scanning of a PLC has 20 digital inputs and 12 digital outputs. The entire
program. The scanning process involves three basic bottling process is automated by applying the necessary
steps.[8] conditions into the PLC using ladder logic. The
Step 1: Read input status input/output unit of the PLC acts as an interface to the real
First the PLC checks whether inputs like switches, sensors world. Inputs from real world are given to the input unit
etc., is on or off state. The information is stored in memory which is manipulated based on the system requirement,
in order to use in the following steps. and outputs are given to the real world through the output
Step 2: Program execution unit of the PLC.
Here a PLC executes a program rung by rung from top to The Table-1 below shows the Input/output Configuration
bottom and left to right. According to input status output of the PLC for color mixing plant.
status modifies and store in memory. Table-1 PLC Input/output Configuration for the Plant
Step 3: Update output
PLC update the output signals according to change in Sr. Address Description
input. No.
Here figure-1 indicates the block diagram of the system.
1 I:0/0 Start Switch
2 I:0/1 Level Sensor
3 I:0/2 Proximity Sensor 1
4 I:0/3 Proximity Sensor 2
5 I:0/4 Stop Switch
6 O:0/0 Solenoid Valve 1
7 O:0/1 Solenoid Valve 2
8 O:0/2 Conveyor Belt (Motor)
9 O:0/3 Solenoid Valve 3
4.1 Input Module
The input module connected to proximity sensors and
Figure-1 Block Diagram of System level sensors. Proximity sensors are used to detect the
bottle position. There are three level sensors used. One
level sensor is used in tank 1 to indicate low level and
4. SELECTION OF PLC similarly one sensor are used in tank 2. One level sensor is
While selecting a PLC, various factors should be used in the process tank to indicate the low level.
considered as per the application.[7] The important factors
4.2 Signal Conditioning
that affect this criteria are :
 Number of Inputs and Outputs. The input-output device cannot connect directly to the
 Scan Time PLC CPU as voltage level of input-output device and PLC
CPU is different. Hence signal conditioning circuit is
 Communication Protocol required.
 Memory Size
Output devices such as motors and pump require
 Software different voltages for their operation. Hence the output
signals from the PLC are given through a relay drive unit
Different PLC’s have different configuration of input and which drives the output devices [6].
output module. Normally, compact type PLC has fixed
inputs and outputs.[1] Modular type of PLC’s having 4.3 Output Module
flexibility to increase the I/O but they are compactible
only with the high-end models, provision to save the

Volume 6, Issue 3, May – June 2017 Page 55


International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)
Web Site: www.ijettcs.org Email: [email protected]
Volume 6, Issue 3, May- June 2017 ISSN 2278-6856
The various output devices used in the process are motors, provide a negative voltage if the metal object presence.
pumps, solenoid valve. These are connected to the output Therefore, you can use BK & BR to turn off a motor or a
module. The motor is used to rotate the conveyor belt in light when the metal part is presence. Figure-4 shows the
forward direction. Two pumps used for the filling process proximity sensor.
of Tank3 (Mixing tank). Pumps are connected to the Tank
1 and Tank 2 respectively. Solenoid valve is for filling the
liquid into the bottle.
Figure-3 shows the connection diagram of PLC (1766-
L32BXBA).

Figure-4 PNP type Proximity Sensor

These amplified D.C. sensors contain an output amplifier.


They are supplied as 3 wire with function N.O. or NC in
the types NPN and PNP. Standard version include
protected against short circuit, protected against polarity
and peaks created by the disconnection of inductive loads.
They are compatible with P.L.C. Units. Type of wiring of
proximity Sensor is shown in Figure-5.

Figure-3 Wiring Diagram of PLC (1766-L32BXBA)


4.4 Proximity Sensor
Figure-5 Three wire function of Proximity Sensor
Rated Operational Voltage 24 VDC

Supply Voltage 10 to 30 VDC 5 ALGORITHM OF THE PROCESS


Voltage drop ≤ 2.0 V STEP I : Press the “START” Push Button.
Rated insulation voltage ≥ 20 MΩ
STEP II : Both pumps start and liquid from Tank1
Load current capacity(DC/AC) 200 mA and
Tank2 fill in the Tank 3 (Mixing Tank)
Off-state current(NPN/PNP) ≤ 15 mA
Leak current ≤ 20 µA STEP III : Tank 3 will fill till high level sensor detect
the
No. of wires x gauge 12 x 0.16mm Liquid level then both the valves (valve 1
and
Table-2 Specification of Proximity Sensor Valve 2) will close.
PNP Normally Open: provides voltage to BR & BL, the
STEP IV : After the water level sensor senses the high
resistor such as 1K can be used as a load. BK will provide
level, the conveyor belt starts moving and
a positive voltage if the metal object presence [9].
bottle moves on the conveyor belt.
Therefore, you can use BK & BL to power a motor or a
light when the metal part is presence. PNP Normally
Closed: provides voltage to BR & BL, the resistor such as STEP V : Bottle is sensed by the sensor1 (Proximity
1K can be used as a load. BK will not provide a positive Sensor) then conveyor belt motor will stop.
voltage if the metal object presence. Therefore, you can
use BK & BL to turn off a motor or a light when the metal STEP VI : Solenoid valve 3 is open and bottle will fill
part is presence. NPN Normally Open: provides voltage to for the set time duration.
BR & BL, the resistor such as 1K can be used as a load.
BK will provide a negative voltage if the metal object STEP VII : The bottle is filled, solenoid valve will be
presence. Therefore, you can use BK & BR to power a closed and motor starts again after the
motor or a light when the metal part is presence. NPN delay of 2 sec.
Normally Closed: provides voltage to BR & BL, the
resistor such as 1K can be used as a load. BK will not STEP VIII : The bottle is moving towards the sensor 2
Volume 6, Issue 3, May – June 2017 Page 56
International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)
Web Site: www.ijettcs.org Email: [email protected]
Volume 6, Issue 3, May- June 2017 ISSN 2278-6856
and if sensor 2 senses the bottle, conveyor  Alarms
belt motor stops again until the bottle is  Recipe Management
removed.  Security
 Device connectivity
STEP IX : The process will be continued until the  Script for logic development
stop switch is pressed.  Database connectivity
 Networking
6 LADDER DIAGRAM
Ladder diagrams are specialized schematics commonly Some of the Leading SCADA Software
used to document industrial control logic systems. They  Wonderware : InTouch
are called “ladder” diagrams because they resemble a  Intellution : iFix (Earlier Fix DMACS)
ladder, with two vertical rails (supply power) and as many  Allen Bradley : RS View (Earlier Control View)
“rungs” (horizontal lines) as there are control circuits to  Siemens : WinCC (Earlier Coros LS /B )
represent.  GE Fanuc : Cimplicity
Figure-6 shows the ladder diagram in RSlogix 500  Indusoft : I W S
 Movicon : Progea

From the above software’s, for our application we used


Wonderware In Touch software. In this we had use
Application Script for the SCADA operation.

SCADA used in our research to control and supervise the


system remotely. As shown in below figure-7 (before
process begins) and figure-8 (during the process).

Figure-7 SCADA view of the entire process

Figure-6 Ladder Diagram

7 SCADA
SCADA stands for “Supervisory Control and Data
Acquisition. Previously without SCADA an industrial
process was entirely controlled by PLC, CNC, PID &
micro controllers program. These programs were either Figure-8 SCADA view during the process
written in assembly language or relay logic without any
monitoring. Using SCADA we can visualize the graphical 8 PROTOTYPE OF AUTOMATIC COLOR MIXING
view of the entire process and also control from the remote
place or control room. [2] AND FILLING USING PLC & SCADA
Figure-9 shows the prototype of the automatic color
Features of typical SCADA software include, mixing and filling using PLC & SCADA.
 Dynamic process graphic
 Real-time and Historical trending

Volume 6, Issue 3, May – June 2017 Page 57


International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)
Web Site: www.ijettcs.org Email: [email protected]
Volume 6, Issue 3, May- June 2017 ISSN 2278-6856

Figure-11 Controller Properties

Figure-9 Prototype of the Project

9 INTERFACING OF PLC & SCADA


Supervisory control and data acquisition (SCADA) is a
system for remote monitoring and control that operates on
the principle of unique coded signals over communication
channels using typically one communication channel per
remote station. [3] .When the control system is combined
with a data acquisition system by using the coded signal
over communication channel it can be used to retrieve
information about the status of the equipment remotely for
display or recording functions.
Figure-12 Status of Driver Configuration
The main purpose of using SCADA is to get a graphical
representation, monitoring and control. All the advanced
control systems used today are coupled with HMI or 10 FUTURE WORK
SCADA Here we have implemented RSView32 bit
With the help of the hardware of our project we can extend
SCADA. Various protocols are used for the interfacing of
the process for the packing with the help of "Pick and Drop
the PLC and the server. There are so many protocols used
Robot". In this project we can also use the multiple colors
for serial communication. Here we have used serial
to mix the color and fill it in the bottle (i.e.; More than two
protocol i.e. RS-232 for serial communication. Primary
advantage of SCADA is that we can implement limited colors).
control options remotely. Figure -10 indicate block
diagram of interfacing of PLC and SCADA.[5] 11 CONCLUSION
The purpose of this project is to develop a PLC based
automatic color mixing and filling system plant. We gained
more knowledge about various automated processes used
in industries. Also know how PLC and SCADA system
coordinate with each other and how automation in
industries beneficiary compare to conventional method.
Figure-10 Interfacing module of PLC and SCADA
through RS232[4] References
First, we select the processor type (i.e. Selection of PLC) [1] “MicroLogix 1400 Programmable Controllers”-
from Controller Properties of RSLogix 500 as shown in Bulletin 1766 Controllers and 1762 Expansion I/O,
figure-11. We connect the RS-232 Cable with the PLC Allen Bradley, User Manual
and Computer. Then we Auto configure RS-232 DF1 [2] “Wonderware Factory Suite InTouch User’s Guide”,
Revision C, July 1999-Wonderware Corporation
Devices as shown in Figure-12. In the controller properties
we have to select the drivers from the controller [3] RSlinx “Training Guide”, RSLinx 2.20, Revision-
2/27/2002
communications.
[4] Anup Dakre, Junaid G. Sayed, Ekata A. Thorat,
Aousaf Ahamad Md. Aves Chaudhary.”
IMPLEMENTATION OF BOTTLE FILLING AND
CAPPING USING PLC WITH SCADA”,
International Research Journal of Engineering and
Technology (IRJET), Volume: 02 Issue: 09 ( Dec-
Volume 6, Issue 3, May – June 2017 Page 58
International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)
Web Site: www.ijettcs.org Email: [email protected]
Volume 6, Issue 3, May- June 2017 ISSN 2278-6856
2015)
[5] Subhankar Chattoraj, Subhro Mukherjee, Rahul
Mallick, Ankit Parashar4, Sayandeep Sen, Karan
Vishwakarma “Automatic Bottle Filling System
Using PLC and SCADA”, International Journal of
Engineering Research and Development, Volume 12,
Issue 10 (October 2016)
[6] T.Kalaiselvi, R.Praveena, Aakanksha.R, Dhanya.S
“PLC Based Automatic Bottle Filling and Capping
System With User Defined Volume Selection”
International Journal of Emerging Technology and
Advanced Engineering Volume 2, Issue 8, (August
2012)
[7] D.Baladhandabany, S.Gowtham, T.Kowsikkumar,
P.Gomathi.” PLC BASED AUTOMATIC LIQUID
FILLING SYSTEM”, IJCSMC, Vol. 4, Issue. 3,
March 2015, pg.684 – 692
[8] S.T.Sanamdikarand Vartak C “Color making and
mixing process using PLC” International Journal of
Emerging Trends & Technology in Computer Science
(IJETTCS) Volume 2, Issue 5, September – October
2013
[9] Jaymin Patel, PLC(Programmable Logic Controller)
BASED AUTOMATIC BOTTLE FILLING,
International Journal of Engineering Research and
General Science Volume 3, Issue 3, May-June, 2015
ISSN 2091-2730

AUTHORS
Mrs Hinal Shah, currently working as
Assistant Professor in the Department of
Electrical Engineering in Indus University. She
has 8 years of teaching experience.

Mr. Tanmay Sharma, currently pursuing


B.Tech(Final year) in Electrical Engineering
from Indus University. His area of interest is in
Automation Technology and Embedded
System.

Ms. Dhruvi Dave, currently pursuing


B.Tech(Final year) in Electrical Engineering
from Indus University. Her area of interest is
in Automation Technology and Power System.

Volume 6, Issue 3, May – June 2017 Page 59

You might also like