Professional Documents
Culture Documents
INTRODUCTION
1
focuses on passing the inputs to the boiler at a required temperature, so as to constantly
maintain a particular temperature in the boiler. The Air pre heater and Economizer helped in
this method. And the paper mainly focused on level, pressure and flow control at the various
stages of the boiler plant. Thus the temperature in the boiler is constantly monitored and
brought to a constant temperature as required by the power plant. The automation is further
improved by constant monitoring using SCADA screen which is connected to the PLC by
means of communication cable. By means of tag values set to various parameters in SCADA
the entire process is controlled. At the automated power plant, the boiler is controlled by
Variable Frequency Drive (VFD) to put in action the required processes to be carried out at
the boiler. Thus the entire cycle is carried out as a paper and at various stages each phase is
detailed out. This paper has proved to be very efficient practically as the need for automation
grows day by day. This paper growing pace of automation. Automating the routing tasks in
the industries increases the productivity and reduces the probability of error in the system.
Traditional industrial tasks involve Electrical machinery has become the integral part of the
industry as a result of the fast manual operation of machineries and the tasks are dependent
on manual intervention; which can cause error in the process; in addition to being tirne
consuming and expensive. Automation of operations reduces operating costs; production
time and error and improves the product quality.
1.3 Methodology
This paper consist of three containers first container contains chemical A and second
container consist of chemical B with respect to solenoid valve connected only.Middle
container is a mixing and filling container .Mixing container connected with solenoid valve
and level sensor to sense the chemical level in it .When the press the start pushbutton fill
container 1 and container 2 manually container 3starts filling when low level is detected
valve 1 and valve 2will be open .Then container 3 will fill high level sensor detect the liquid
level .Then both valve V1 and V2 will be close .After the water level sensor sense the high
level container 3 mixing motor turns in for few second..The mixing motor turns off conveyor
belts starts moving and bottles move on the conveyor belt. Bottle is sensed by proximity
sensor solenoid valve will be open and bottle will be fill for the set time duration. The bottle
is filled V3 will be closed and motor start again after some delay .The process is continues
until the stop button is press.
In this method, we are fixing the web camera at an optimum location. Where the camera
captures the images of logo on the bottle, then logo of the bottle is compared with the
2
reference logo by cross correlation method to classify image. If it is matched, then conveyor
starts and by interfacing the MATLAB with arduino, where arduino gets the signal and it
sends the signal to the PLC program. After that, PLC allocates time for positioning the bottle
to the corresponding valve position. If bottle is positioned at particular valve, then the valve
opens for given specified time based on user defined volume selection, to fill the liquid in the
bottle.
3
CHAPTER – 2
COMPONENTS USED
Fig-1(Solenoid Valve)
The DC motors are mainly used for the motion of the robot. The DC motors are mainly
used for the motion of the robot. A simple DC motor has a stationary set of magnets in the
4
stator and an armature with one or more windings of insulated wire wrapped around a soft
iron core that concentrates the magnetic field. The windings usually have multiple turns
around the core, and in large motors there can be several parallel current paths. The ends
of the wire winding are connected to a commutator. The commutator allows each armature
coil to be energized in turn and connects the rotating coils with the external power supply
through brushes.
A DC motor like we all know is a device that deals in the conversion of electrical energy
to mechanical energy and this is essentially brought about by two major parts required for
the construction of dc motor, namely.
2.2.1 Stator-
The static part that houses the field windings and receives the supply. The rotating part
that brings about the mechanical rotations.
5
Fig – 3(Dc Motor mechanism)
A DC motor has a stationary set of magnets in the stator and an armature with one or more
winding of insulating wire to wrap around a soft iron core that concentrates the magnetic
field. The windings usually have multiple turns around the core, and in large motors there
can be several parallel current paths. The ends of the wire winding are connected to a
commutator.
2.3 Relay
Fig-4(Relay)
7
Basically a relay consists of an electromagnet coil, an armature, a spring and a series of
electrical contacts. The electromagnet coil gets power through a switch or a relay driver and
causes the armature to get connected such that the load gets the power supply. The armature
movement is caused using a spring. Thus, the relay consists of two separate electrical
circuits that are connected to each other only through a magnetic connection, and the relay
is controlled by controlling the switching of the electromagnet.
Fig-5(Relay Mechanism)
The contacts are usually common (COM) – normally open (NO) and normally closed
(NC).The normally closed contact is connected to the common contact if power is not
applied to the coil. The normally open contact is opened if power is not applied to the coil.
When the coil is energized, the common contact is connected to the normally open
contact, and the normally closed contact is left floating. The double-pole versions are
same as the single-pole version except when the two switches open and close together.
8
2.4.2 Advantages of Relays over other semiconductor
Detect and isolate faults on transmission and distribution lines by opening and closing the
circuit breakers.
Time delay functions. Relays can be modified to delay opening or delay closing set of
contacts. A very-short delay uses a copper disk between the armature and moving blade
assembly. Typical applications of relays include computer interfaces, telecommunication
systems, traffic control, automotive electrical systems, home appliances, lighting control
9
systems, electric motor controllers, tools and machines, air-conditioning and heating
systems, and so on.
Fig-6(Metal Sensor)
10
2.5.1 Feature
· Coil technology
· Coil size
· Tone id
· Multiple modes
2.5.2 Application
2.6 Pump
Fig-7(Pump)
A conveyor belt is the carrying medium of a belt conveyor system (often shortened to belt
conveyor). A belt conveyor system is one of many types of conveyor systems. A belt
conveyor system consists of two or more pulleys (sometimes referred to as drums), with an
endless loop of carrying medium the conveyor belt that rotates about them. One or both of
the pulleys are powered, moving the belt and the material on the belt forward. The
powered pulley is called the drive pulley while the unpowered pulley is called the idler
pulley. There are two main industrial classes of belt conveyors; Those in general material
handling such as those moving boxes along inside a factory and bulk material handling such
as those used to transport large volumes of resources and agricultural materials, such
as grain, salt, coal, ore, sand, overburden and more.
Fig-8(Conveyor Belt
2.8 Push Button
12
A push-button (also spelled pushbutton) or simply button is a simple switch mechanism
for controlling some aspect of a machine or a process. Buttons are typically made out of
hard material, usually plastic or metal. The surface is usually flat or shaped to
accommodate the human finger or hand, so as to be easily depressed or pushed. Buttons
are most often biased switches, although many un-biased buttons (due to their physical
nature) still require a spring to return to their un-pushed state. Terms for the "pushing" of a
button include pressing, depressing, mashing, slapping, hitting, and punching.
Fig-9(Push Buttons)
13
Fig-10(PLC Kit)
CHAPTER – 3
14
3.1 About PLC
A programmable logic controller (PLC) or programmable controller is an industrial digital
computer which has been ruggedized and adapted for the control of manufacturing
processes, such as assembly lines, or robotic devices, or any activity that requires high
reliability control and ease of programming and process fault diagnosis.
PLCs were first developed in the automobile manufacturing industry to provide flexible,
ruggedized and easily programmable controllers to replace hard-wired relays, timers and
sequencers. Since then, they have been widely adopted as high-reliability automation
controllers suitable for harsh environments. A PLC is an example of a "hard" real-
time system since output results must be produced in response to input conditions within a
limited time, otherwise unintended operation will result.
15
Organization blocks (OBs) define the structure of the program. Some OBs have
predefined behavior and start events, but we can also create OBs with custom start events.
Functions (FCs) and function blocks (FBs) contain the program code that corresponds to
specific tasks or combinations of parameters. Each FC or FB provides a set of input and
output parameters for sharing data with the calling block. An FB also uses an associated data
block (called an instance DB) to maintain state of values between execution that can be used
by other blocks in the program. Valid FC and FB numbers range from 1 to 65535.
Data blocks (DBs) store data that can be used by the program blocks. Valid DB numbers
range from 1 to 65535.
Execution of the user program begins with one or more optional start-up organization blocks
(OBs) which are executed once upon entering RUN mode, followed by one or more program
cycle OBs which are executed cyclically.
Operating Modes of the CPU
The CPU has three modes of operation: STOP mode, STARTUP mode, and RUN mode.
Status LEDs on the front of the CPU indicate the current mode of operation.
In STOP mode, the CPU is not executing the program. We can download a project.
In STARTUP mode, the startup OBs (if present) are executed once. Interrupt events are
not processed during the startup mode.
In RUN mode, the program cycle OBs are executed repeatedly. Interrupt events can occur
and be processed at any point within the RUN mode. PLC data type
The PLC data type editor lets us define data structures that we can use multiple times in our
program. We create a PLC data type by opening the “PLC data types” branch of the project
tree and double – clicking the "Add new data type" item. On the newly created PLC data type
item, we use two single-clicks to rename the default name and double-click to open the PLC
data type editor We create a custom PLC data type structure using the same editing methods
that are used in the data block editor. We then add new rows for any data types that are
necessary to create the data structure that we want.
16
one power source close a switch for another power source, while keeping isolated. A simple
ladder logic diagram is shown below.
Fig-11(Ladder logic)
17
Fig-12(PLC)
18
direct the PLC on how to control field devices like motor starters, pilot lights, and solenoids.
A signal going out of the PLC to control a field device is called an Output.
19
step is to download the program into the processor’s memory. Transferring the PLC program
for a personal computer’s memory of PLC memory is called downloading the program.
20
purchasing a modular PLC you select and purchase the specific pieces you need to build the
PLC specifically for the needs of your control situation.
Fig-13(Modular PLC)
Programming Device
User Program
I/P table O/P table
Data storage
Fig-14(Architecture of PLC
The Central Processing Unit
21
The central processing unit is built into the single-piece, fixed PLC. When working with
modular PLC’s, the CPU is typically a plug-in module just like with an I/O modular unit. The
CPU work like the human brain work to direct the rest of the body. In actuality, the CPU is a
solid-state, microprocessor integrated circuit chip. The microprocessor integrated chip is
placed on a printed circuit board with other supporting and interface chips to build the PLC’s
CPU, or processor module.
The CPU comprises of Two Components.
Controller
Memory System
Fig-15(PLC Panel)
Controller:
22
The microprocessor, or brain, that supervises all operations in the system. The CPU reads, or
gathers information from external sources like input devices and stores this information in
memory for later use by the CPU. When done solving the user program, the CPU will write,
or send, data out to external devices like output modules and field hardware devices.
Memory System:
The memory system has to provide the following:
1. Storage for the user program.
2. Storage of the input status file data:
The input status file consists of memory location that store the ON or OFF status of
each field input device.
3. Storage of the output status file data:
The output status file consist of memory locations that store the ON or OFF status of
field hardware devices as the result of solving the user program. Data in the output
status file is waiting to be transferred to the output module’s switching device. The
output module’s switching device for each output point will turn power on or off to
each field output device.
4. Data storage:
The data storage area of memory is used to store numerical data that may be used in
math calculations, recipe ingredient weight, bar code data being input to the PLC, and
similar functions.
Programming
Device
Data
Storage
23
Fig-16(Memory System)
24
are used to convert analog signal from analog devices that sense such variable as
Temp, light intensity, speed, pressure etc. and convert to 16 bit binary coded decimal.
The conversion from analog to digital is accomplished with an analog to digital
converter.
Switches and Pushbuttons
Sensing Devices
Limit Switches
Photoelectric Sensors
Proximity Sensors
Condition Sensors
Pressure Switches
Level Switches
Temperature
Switches/ Vacuum Switches
Float Switches
Encoders
26
can be considered software counters, timers, etc. These internal relays are simulated through
bit locations in registers. (more on that later)
Input Relays-(contacts) These are connected to the outside world. They physically
exist and receive signals from switches, sensors, etc. Typically they are not relays but
rather they are transistors.
Internal Utility Relays-(contacts) These do not receive signals from the outside world
nor do they physically exist. They are simulated relays and are what enables a PLC to
eliminate external relays. There are also some special relays that are dedicated to
performing only one task. Some are always on while some are always off. Some are on
only once during power-on and are typically used for initializing data that was stored.
Counters-These again do not physically exist. They are simulated counters and they
can be programmed to count pulses. Typically these counters can count up, down or
both up and down. Since they are simulated they are limited in their counting speed.
Some manufacturers also include high-speed counters that are hardware based. We can
think of these as physically existing. Most times these counters can count up, down or
up and down.
Timers-These also do not physically exist. They come in many varieties and
increments. The most common type is an on-delay type. Others include off-delay and
both retentive and non-retentive types. Increments vary from 1ms through 1s.
Output Relays-(coils) these are connected to the outside world. They physically exist
and send on/off signals to solenoids, lights, etc. They can be transistors, relays, or
triacs depending upon the model chosen.
Data storage-Typically there are registers assigned to simply store data. They are
usually used as temporary storage for math or data manipulation. They can also
typically be used to store data when power is removed from the PLC. Upon power-up
they will still have the same contents as before power was removed. Very convenient
and necessary.
27
3.8 Programming Language
A Programmer use to develop series of instruction or commands that directs the PLC to
execute action. Types of Language:-
Ladder Diagram (LD):- A PLC programming system that contains relay logic (NO,
NC) in the form of ladder.
Functional Block diagram (FBD):- A programming system that uses large function
block for portion of program.
Structured text (ST):- structure text (ST) is a PLC programming system that uses a
series of steps and description to define a program. Structure text uses a lots of IF,
Else, and TRUE or FALSE.
Instruction List (LT):- A PLC programming system that consists of series of
sequential statement which define a program.
Sequential Functional Chart (SFC):- A programming system that uses vertical and
parallel connected blocks and gates used in programming.
A Programming Language rules for combining the instruction so that they produce the
desired action. The most common language used for programming Language is “LADDER
LOGIC”.
28
SOURCING Pushbutton SINKING Pushbutton
(PNP) (NPN)
+VD
C
+
+ DC
Power
DC Supply
Power
Supply
-
- DC COM
SOURCING SINKING
(PNP) (NPN)
+VDC
Field
Device IN1 +
DC DC
+ DC Power
Input
DC Supply
Power Module
Input
Supply
Module -
Field
- DC COM Device IN1
29
Every rang has two components:-
It contains at least one device that is controlled.
It contains the condition that controls the device.
L2
PB2 Start
PB1 Motor
Stop
Rung M1
M1
Ladder diagram
Ladder Logic closely resembles electrical ladder diagrams
A Ladder logic program exists only in the PLC’s software.
In ladder Logic it is not the actual flow of current thru circuits.
In electrical diagram the devices are described as open or closed(ON or OFF),
where as in Ladder Logic, instructions are either TRUE or FALSE.
In Ladder Logic Program must contain at least one control instruction (output) and
usually contains one or more conditions (inputs).
Auxiliary Contact
Fig-20(Ladder Diagram)
30
INTRODUCTION OF LOGIC GATES USED IN PLC PROGRAMMING
A Digital Gate is a device that analyzes the digital states of its inputs and puts out an
approximate output state
Once logic terms are understood. PLC programming using them can be easily
accomplished.
Boolean algebra is a shorthand way of writing digital gate diagrams.
Some computer-trained persons understand PLC programming best using digital logic
The outputs are either ON (1) or OFF (0), depending on the logic status of their inputs,
ON (1) or OFF (0).
A gate on condition is typical when +5 volts DC comes from the output terminal. Off
is typically 0 volts output
31
3.12.1 AND Gate:- For the AND gate output to be ON (1), all inputs must be ON (1).
A
B OUTPUT
C
A B O
0 0 0
0 1 0
1 0 0
1 1 1
3.12.2 OR Gate-
For an OR gate output to be on (1), any one or more of the input must be on (1). For the
output to be off (0), all input must be off (0).
32
B O
C
A B O
0 0 0
0 1 1
1 0 1
1 1 1
It reverse the input logic status, on or off, from the input to the CPU
B
O
Truth Table:-
A=Ā
A O
33
0 1
1 0
Its outputs are on (1) when one, and only one, of its two input is on (1). If both inputs are on,
the output is off
Truth table:-
A + B
A B O
0 0 0
0 1 1
1 0 1
1 1 0
A
O
34
Truth Table:-
A _ B
A B O
0 0 1
0 1 0
1 0 0
1 1 1
A
B
O
Truth Table:-
A.B
A B O
0 0 1
0 1 1
1 0 1
1 1 0
35
A
B O
Truth Table:-
A+B
A B O
0 0 0
0 1 0
1 0 0
1 1 1
36
CHAPTER – 4
37
Fig-21(System Architecture)
38
Step 6: Mixing stirrer motor 2 will be ON and valve 3 will be open for predefined time.
Step 7: After the bottle is filled, valve 3 will be closed.
Step 8: pick bottle.
39
CHAPTER – 5
40
Automation is used for all control systems and the technologies in PLC is use to reduce
the human work and helps in increasing the production. A bottle filling system
with PLC allows the user defined selection volume in percentage which uses the ladder
language. Ladder logic is used to control the process.
5.1.1 Advantages
1. Flexible in Nature: One model of PLC can be used for different operations as per
requirement.
2. Easy to install and troubleshooting: In hard wired relay based systems, installation
time is more as compared to the PLC based control panels.
3. Availability of Large contacts: PLC programming tools contain internal large
number of contacts that can be used for any change induced in different
applications.
4. Cost effective: Advanced technology and large production of PLC makes it cheaper
than the other controller or relay based systems.
5. Simulation feature: PLC programming software comes with the simulation features
by default.
6. Simple programming methods: PLC is provided with simple programming methods
to program the PLC like Ladder or Boolean type of programming.
7. Ease of maintenance: As compared with the control systems like relay based or
micro-controller based systems, maintenance cost of PLC is low.
8. The programmer can program and print easily the programs of PLC for future use.
5.2 Disadvantages
1. Fixed circuit operation.
2. PLCs manufacturers offer only closed loop architecture
3. PLCs are propitiatory, which means software and parts one manufacturer can’t be
easily used in combination with part of another manufacturer.
4. Number of optional modules must be added to maximize flexibility and performance.
5.3 Applications
• Mobile Monitoring.
• Facility Protection
41
• Loss Prevention
• Employ Safety
• Traffic Monitoring
• Event Video Surveillance
• Operation Monitoring
• Prevent Theft
• Neutralizing threat to human life.
• Can be deployed in Underground mine prone areas.
• Can be used in espionage missions.
CHAPTER – 6
Future Work & Conclusion
42
With the help of the hardware of our project we can extend the process for the packing with
the help of "Pick and Drop Robot". In this project we can also use the multiple colors to mix
the colour and fill it in the bottle.
6.2. Result
The device can fill up to 2 types of liquid by intermixing using solenoid valve switch in just
few seconds. System doesn’t require no any external pumps and only two metallic sensors
are used. It is a time based control by which the pulse is generated in flow sensor and filling
process is done. It be used commercially in various coffee shops, juice shops, cold drink
shops and reduce human effort. So the practical research result is much satisfactory. It shows
the necessity of PLC in industrial automation and also to realize the necessity of studying it.
6.3. Conclusion
The main aim of this project is to develop a PLC based automatic liquid mixing and filling
bottles. We acquire more knowledge for better and advancement of the project in future .Also
know how PLC systems are essential for advancements in electronic gadgets like automatic
liquid mixing systems etc.
References:
43
1. PLC based Automated Liquid Mixing and Bottle Filling System, Mini Sreejethl and
Shilpa Chouhan2, 1st IEEE International Conference on Power Electronics. Intelligent
Control and Energy Systems (ICPEICES-2016)
2. Vision based Bottle classification and Automatic Bottle Filling
System,K.Thyagarajan,Meenakshi.R,Suganya.P, International Conference on Advances
in Human Machine Interaction (HMI - 2016), March 03-05, 2016
3. Designing and Implementation of Chemical Mixing and Filling Bottles Using PLC,
Prasad Birmole, Madhushri Kamble, Sayali Naik, Anjali Sadamate,
Prof.Heenali.V.Korgaonkar, 2nd International Conference on Inventive Communication
and Computational Technologies (ICICCT 2018)
4. 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)
5. Courtesy of MATLAB-URL: http://mathworks.in.
6. Yazdi L, Prabuwono AS, Golkar E. “Feature Extraction Algorithm for Fill Level and Cap
Inspection in Bottling Machine”. International Conference on Pattern Analysis and
Intelligent Robotics, 28-29 June 2011, Putrajaya, Malaysia
7. Kunal Uttekar; Rahul Gosavi; Sarthak Lad; Jagruti Kamat; "Implementation of Sensor
Network for Automation of BottleCappingAssembly Station Using IEEE 802.15.4";
2ndInternational Conference on Instrumentation Control and Automation; 15-17
November 2011; Bandung; Indonesia.
44