ajayinternshipreport.new
ajayinternshipreport.new
ON
“AUTOMATIC BOTTLE FILLING CONROL SYSTEM USING PLC”
Submitted By
AJAY KUMAR JHA
ENROLLMENT NUMBER:- AJU/221423
Page 1 of 31
Page 2 of 31
DECLARATION BY THE STUDENT
2. The details of training and experience contain in this report describe my involvement
as a trainee in the field of Electrical and Electronics Engineering.
3. All the information contains in this report is certain and correct to the knowledge.
Signature: ……………………………………………
Date: ……………………………………………………
Page 3 of 31
This is to certify that the Industrial Training Report titled "Automatic Bottle filling process control
system using plc " in partial fulfillment of the requirement for the award of the Degree of Diploma
in Electrical and Electronics Engineering, submitted to ARKA JAIN University, Jharkhand, is
an authentic record of bonafide industrial training work carried out by Mr saumyadip sarkar and
submitted under my supervision/guidance.
Date:
Place: jameshedpur
Page 4 of 31
ACKNOWLEDGEMENT
I would like to express my utmost gratitude to the AJU for providing an opportunity to pursue the
engineering training as partial fulfillment of the requirement for the degree of Diploma in Electrical
and Electronics Engineering. The internship opportunity I had with ADENT was a great chance
for learning and professional development. Therefore, I consider myself as a very lucky individual
as I was provided with an opportunity to be a part of it. I am also grateful for having a chance to
meet so many wonderful people and professionals who led me through this internship period.
Bearing in mind previous I am using this opportunity to express my deepest gratitude and special
thanks to the Mr. Saumyadip sarkar, mr.buswajeet sir, ADENT(kolkata) who in spite of being
extraordinarily busy with his duties, took time out to hear, guide and keep me on the correct path
and allowing me to carry out my project at their esteemed organization and extending during the
training.
I express my deepest thanks to Mr saumyadip sarkar, Assistant Engineer, ADENT, kolkata for
taking part in useful decision & giving necessary advice and guidance and arranged all facilities to
make life easier. I choose this moment to acknowledge his contribution gratefully.
I express my deepest thanks to all staffs and employees of ADENTfor taking part in useful decision
& giving necessary advice and guidance and arranged all facilities to make life easier. I choose this
moment to acknowledge their contribution gratefully. I perceive as this opportunity as a big
milestone in my career development. I will strive to use gained skills and knowledge in the best
possible way, and I will continue to work on their improvement, in order to attain desired career
objectives. Hope to continue cooperation with all of you in the future.
Page 5 of 31
ABSTRACT
Page 6 of 31
INDEX
1. INTRODUCTION
2. AUTOMATION
3. PLC
a) Technical specification of PLC
b) PLC concepts
c) Programming concepts
d) PLC architecture
b) Basic elements
c) Input/Output hardware
d) Advantage
e) Disadvantage
4. SOFTWARE IMPLEMENTATION
a. Objective
b. Flowchart
c. Algorithm
d. Ladder Logic Diagram (LAD)
e. Schematic Diagram
f. Block Diagram
g. Methodology
5. CONCLUSION
6. REFERENCES
Page 7 of 31
INTRODUCTION
Overview
The project is based on industrial automation and PLC is the heart of automation. The hardware
and the software are the two important areas in our project.
1) HARDWARE DESCRIPTION:
In this project, Siemens PLC SIMATICS S7 1200 is used for controlling the inputs and outputs.
Input supply to the PLC is given through a SMPS. The rating of the SMPS is 24V DC 5Amps.
The PLC used here is a compact PLC which has fixed number of inputs and outputs. In this kind
of PLC model, the CPU contains 14 digital inputs and 10 digital outputs. One diffused
photoelectric sensor has been used for the positioning of the bottles. A geared DC motor has
been used for running the conveyor system. The ratings of the DC motor is 12V and 50 RPM
speed with a high starting torque of 70 Kg-cm (at no load). Toggle switches are used to serve the
purpose of some inputs to the PLC.
2) SOFTWARE DESCRIPTION:
There are five important languages which are used for the programming of the PLC. The list of
the methods is as follows:
• Functional block diagram (FBD)
• Structure text
• Instruction list
• Flow chart
• Ladder diagram
Out of these five languages, ladder diagram is the most widely used language and is simple as
compared to other languages. Ladder diagram has been used for the programming of this PLC.
Page 8 of 31
AUTOMATION
• Automation is a set of technology that results in operation of machine and systems without
any significant human intervention and achieves performance superior to manual operation.
• Automation is the creation of technology and its application in order to control and monitor
the production and delivery of various goods and services. It performs tasks that were
previously performed by humans. Automation is being used in number of areas such as
manufacturing, transport, utilities, defense, facilities, operations and lately, information
technology.
• Automation or industrial automation is the use of control systems such as computers,
controllers to control industrial machinery and processes, to optimize productivity in the
production of goods and delivery of services. Automation is a step beyond mechanization.
Whereas mechanization provides human operators with machinery to assist them with the
muscular requirements of work, automation greatly decreases the need for human sensory
and mental requirements.
Automation impacts
• It increases productivity and reduce cost. It gives emphasis on flexibility and convertibility of
manufacturing process. Hence gives manufacturers the ability to easily switch from
manufacturing Product A to manufacturing product B without completely rebuilt the existing
system/product lines. Automation is now often applied primarily to increase quality in the
manufacturing process, where automation can increase quality substantially.
Power Budget
The CPU has an internal power supply that provides power for the CPU, the
signal modules, signal board and communication modules and for other
24VDC user power requirements.
5VDC logic budget supplied by the CPU and the 5VDC power requirements
of the signal modules, signal boards and communication modules.
The CPU provides a 24 VDC sensor supply that can supply 24 VDC for input
points, for relay coil power on the signal modules, or for other requirements. If
your 24 VDC power requirements exceed the budget of the sensor supply, then
you must add an external 24 VDC power supply to your system.
Some of the 24 VDC power input ports in the S7-1200 system are
interconnected, with a common logic circuit connecting multiple M terminals.
Page 10 of 31
For example, the following circuits are interconnected when designated as
"not isolated" in the data sheets: the 24 VDC power supply of the CPU, the
power input for the relay coil of an SM, or the power supply for a nonisolated
analog input. All non-isolated M terminals must connect to the same external
reference potential.
CPU features:-
Page 11 of 31
High – speed counters 6 total
• Single phase: 3 at 100kHz and 3 at
30kHz clock rate
• Quadrature phase: 3 at 80kHz and 3 at
20kHz clock rate
Pulse outputs 4
Pulse catch inputs 14
Time delay/cyclic interrupts 4 total with 1ms resolution
Edge interrupts 12 rising and 12 falling (14 and 14 with
optional signal board)
Memory card SIMATIC Memory card (optional)
Real time clock accuracy +/- 60 seconds/month
Real time clock retention time 20 days typ./12 days min. at 40oC
(maintenance free super capacitor)
Power Supply:-
Technical Data
Voltage range 85 to 264 VAC
Line frequency 47 to 63 Hz
Input current (max. load) • CPU only – 100 mA at 120VAC;
50mA at 240 VAC
• CPU with all expansion accessories
– 300mA at 120 VAC; 150mA at
240 VAC
PLC Concepts
The CPU supports the following types of code blocks that allow us to create
an efficient structure for our user program:
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.
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.
Page 13 of 31
• 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.
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.
If a new PLC data type is created, then the new PLC type name will appear in
the data type selector drop drop-lists in the DB editor and code block interface
editor.
Programming Concepts
When we create a user program for the automation tasks, we insert the
instructions for the program into code blocks:
Page 14 of 31
• An organization block (OB) responds to a specific event in the CPU
and can interrupt the execution of the user program. The default for the
cyclic execution of the user program (OB 1) provides the base structure
for your user program and is the only code block required for a user
program. If we include other OBs in our program, these OBs interrupt
the execution of OB 1. The other OBs perform specific functions, such
as for startup tasks, for handling interrupts and errors, or for executing
specific program code at specific time intervals.
• A function block (FB) is a subroutine that is executed when called from
another code block (OB, FB, or FC). The calling block passes
parameters to the FB and also identifies a specific data block (DB) that
stores the data for the specific call or instance of that FB. Changing the
instance DB allows a generic FB to control the operation of a set of
devices. For example, one FB can control several pumps or valves,
with different instance DBs containing the specific operational
parameters for each pump or valve.
• A function (FC) is a subroutine that is executed when called from
another code block (OB, FB, or FC). The FC does not have an
associated instance DB. The calling block passes parameters to the FC.
The output values from the FC must be written to a memory address or
to a global DB.
Programming Language
The elements of a circuit diagram, such as normally closed and normally open
contacts, and coils are linked to form networks.
Page 15 of 31
To create the logic for complex operations, you can insert branches to create
the logic for parallel circuits. Parallel branches are opened downwards or are
connected directly to the power rail. You terminate the branches upwards.
STEP 7 does not limit the number of instructions (rows and columns) in a
LAD network.
Function Block Diagram
Like LAD, FBD is also a graphical programming language. The representation
of the logic is based on the graphical logic symbols used in Boolean algebra.
STEP 7 does not limit the number of instructions (rows and columns) in an
FBD network.
SCL
We can designate any type of block (OB, FB, or FC) to use the SCL
programming language at the time we create the block. STEP 7 provides an
SCL program editor that includes the following elements:
● Interface section for defining the parameters of the code block
● Code section for the program code
● Instruction tree that contains the SCL instructions supported by the CPU
We enter the SCL code for our instruction directly in the code section. For
more complex instructions, we simply drag the SCL instructions from the
instruction tree and drop them into our program. We can also use any text
editor to create an SCL program and then import that file into STEP 7.
Page 17 of 31
PLC Architecture
Memory
Basic Elements
• Input/ Output Section: The input section or input module consists of devices like sensors,
switches, and many other real-world input sources. The input from the sources is connected
to the PLC through the input connector rails. The output section or output module can be a
motor or a solenoid or a lamp or a heater, whose functioning is controlled by varying the
input signals.
• CPU or Central Processing Unit: It is the brain of the PLC. It can be a hexagonal or an
octal microprocessor. It carries out all the processing related to the input signals in order to
control the output signals based on the control program.
• Programming Device: It is the platform where the program or the control logic is written. It
can be a laptop or a computer itself.
Page 18 of 31
• Power Supply: It generally works on a power supply of about 24 V, used to power input
and output devices.
• Memory: The memory is divided into two parts- The data memory and the program
memory. The program information or the control logic is stored in the user memory or the
program memory from where the CPU fetches the program instructions. The input and
output signals and the timer and counter signals are stored in the input and output external
image memory respectively.
PLC hardware
On the automation point of view switches are classified on following manner.
• Manual Actuation
Ex. Toggle switch & Push button.
• Mechanical Actuation Ex. Limit Switches
• Electrical Actuation
Ex. Relay, Timer, Sensor, Contactor
Input/output Hardware
Page 19 of 31
A contactor has three components:-
a. The contacts are the current carrying part of the contactor. This includes power
contacts, auxiliary contacts, and contact springs.
b. The electromagnet (or "coil") provides the driving force to close the contacts.
c. The enclosure is a frame housing the contacts and the electromagnet. Enclosures are
made of insulating materials such as Bakelite, Nylon 6, and thermosetting plastics to
protect and insulate the contacts and to provide some measure of protection against
personnel touching the contacts.
Relay : - Relay is an electrical switch, which is turn ON /OFF under another switch.
I) Controlling type: - Controlling Relay takes lower amount of current & voltage and
control higher amount of current & voltage.
Controlling Relay is two types –
a. EMR (Electromagnetic Relay).
b. SSR (Solid State Relay).
II) Protection type: - Protection Relay detects the isolated faults in the generation,
transmission & distribution system. Protection Relay is two types – a. OLR (Overload
Relay).
b. Microprocessor.
3.2 Toggle Switch: - A Toggle Switch is an electromechanical switch which uses a lever or
baton as an actuator. Toggle switches are available in many sizes and configurations and
offer a wide range of uses. They are popular for their ease of operation and generally offer
1-3 positions to open or close a circuit.
Page 20 of 31
Different types of toggle switch-
Benefits:-
i.Can be used in any industrial environment.
ii.Can switch load with high inductance.
Limitation:-
i.Restricted to equipment operating at lower speed.
ii.Must make direct contact with target. iii. Moving mechanical parts will wear out.
Page 21 of 31
Sensor:-Sensor is a part of controlling circuit not a switch . Sensor is two
types
–
a. Analog ( Thermocouple, Thermistor,
RTD).
b. Digital ( Inductive, Capacitive, Optical).
3.3 Timer:- A Timer is a device that provides time delay between two events
or process.
Timer is two types -
I.Mechanical Timer: - It is a mechanical switching device. It’s max time range 0.1sec –
30sec. It has no coil part only having contact part. Contact part changes its state by
mechanical force.
II.Electrical Timer:-It is an electrical switching device. It’s timer max range 0.1sec –
30min. It has one relay coil, two contact parts, and two NO & two NC part. Contact
part changes its state by the help of electricity.
Sensor:-
A sensor is a device that detects and responds to some type of input from the physical
environment. The specific input could be light, heat, motion, moisture, pressure, or any one
of a great number of other environmental phenomena.
Category of Sensor: -
Page 22 of 31
1.Analog category
2.Digital category
1.Analog category-
A. Temperature
B. Humidity
C. Heart-Beat
D. Rain, Fog etc.
2.Digital category-
A. Inductive
B. Capacitive
C.IR(Infra-Red)
D. Optical
Advantages of PLC
1. Reduced space: PLCs are completely solid-state devices and hence are extremely
compact in comparison to hard-wired controller where electro-mechanical devices are
used.
2. Higher Life and Reliability: These devices are extremely rugged. The chances of
defect/damage are very less as there is very lesser moving mechanisms here.
1. Economical: As the defect probability is very less, one can consider it as one-time
investment. In this way, PLCs are undoubtedly most economical systems. Cost of PLC
recovers within a short period.
1. Energy saving: Average power consumption is just 1/10th of power consumed by an
equivalent relay-based control.
5.Ease of maintenance:
• Modular replacement
• Easy trouble shooting
• Error diagnostics with programming unit.
1. Tremendous flexibility: There is no requirement of rewiring if any change is required to be
implemented. It can carry out complex functions like arithmetic operations, counting,
Page 23 of 31
comparing, generation of time delay etc. It has a very high processing speed and greater
flexibility in both analog and digital process. “On Line”/ ‘Off Line’ programming is also
possible in it.
1. Shorter Project Time: The hard-wired control system can be constructed only when the
task is fully defined. However, in case of PLC, the construction of the controller and
wiring are independent of control program definition.
1. Easier Storage Archiving and Documentation: This is due to its compatibility with PC-
AT, Printer and Floppy disk.
Disadvantage of PLC
SOFTWARE IMPLEMENTATION
Objective
we are controlling watering of any agricultural field automatically such that when we using
the water of reservoir tank we can control the time and pressure of water and when tank
Page 24 of 31
get low level in water watering of field get stop automatically and tank pump gets on when
pump gets to full position watering of field get start automatically again.
Flowchart
Algorithm
Page 25 of 31
STEP 1 : Start button is pressed & green light turns on and remains on
and remains on until stop button is pressed.
STEP 3 : After motor 1 runs and if their limit switch has not signaled
timer T0 gets activated.
STEP 6 : Once the filled bottle condition is activated the cycle starts
again.
Page 26 of 31
Ladder Logic Diagram (LAD)
Page 27 of 31
Schematic Diagram
Block Diagram
Page 28 of 31
Feed Motor
Start/Stop
Outfeed Motor
Green Indication
Photo Eye
Detector
Blue Indication
Methodology
1. At first the NC (stop push button) and NO (start push button) connection has been
placed as input to enable and disable the output (memory build).
2. Secondly we are holding that memory build with the NO (memory build) and NC
(limit switch) connection as we are using push button here.
3. Next NO (memory build) has been placed to indicate a Green signal as an output.
Again we are holding the Green Indication by NO (green indication) connection.
4. Next we are connecting the main output Motor1 with NO (memory build)
connection.
5. Now the same connection we are doing with the Motor2 and holding the output
(Motor2).
6. In the next step we are controlling the valve (open condition) with the limit switch
(NO connection) and we set the timer (S_PULSE) for 0.5 sec.
7. After that we are connecting the valve (close condition) with the input photo eye
detector with the second timer (S_PULSE) for again 0.5 sec.
8. After closing the valve we have to start the motor again so we are taking another
memory build as output with the NC connection of close valve. Also we are
holding the memory build 1 with the second memory build.
Page 29 of 31
9. Now as it is said that the blue indication remain on during the time open condition
of the valve we are taking the blue indication as output with NO(valve open) and
NC(memory build 2) with holding the blue indication.
CONCLUSION
The main objective of this project was to develop a bottle filling system based on certain
specifications. The project presents an automatic filling system controlled by PLC as per
the filling requirement which has simple operation. The system has the advantages as
simple structure and reliable operation. The system is controlled by PLC. This was
successfully implemented. We consider this project as a journey where we acquired
knowledge and also gained some insights into the subject which we have shared in this
report.
By the installation of jet nozzle and strong solenoid valve can reduce the time to fill bottles
and can efficiently increase productivity. A guide way could be used in case of vibration.
A capping section could also be introduced. The nozzle positioning must be given more
care and concentration. The system could be redesigned for increased bottle size and
productivity.
Page 30 of 31
Page 31 of 31