Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
MEP 480 B. Sc. Design Project- Year 2004/2005
Using PLC & Stepper Motor in Practical Automatic Control ProcessBy:Ahmed Gameel Abdelbaqy, Ahmad Mahrous Aboulseoud, Ahmed Mohamed ameen, Refaat Elsayed Hassan, Mohamed Abdelwahab,Mohamed Mahmoud gioshy
Supervised by Prof. Ashrif Sabry, MEP Chairman and Dr. Mohsen Sayed Soliman , ACC Manager Abstract:
This project is done to give insights into important principles and processes in control. In
control systems there are number of generic systems &methods which are encountered in
all areas of industry and technology. This project aims to explain one of these important
systems& methods in straightforward terms. The project describe what makes particular
type of system/method important, how it works &then demonstrates how to control it. The
control demonstrations are performed using models of real systems. This project is about
the ‘work horse of industrial automation programmable logic controller. PLC is the ‘work
horse’ of industrial automation, or as called the ‘Cinderella of Control’, because it is not
well treated in colleges and universities, but when control engineers use PLCs in industry
Outline To the Project
•Proposal
•Proposed Solution
•Main Component
•PLC System
•Stepper Motor
•Start Switch
•Solenoid valve
•Proximity Sensor
•Programming PLC
•Components& Tools.
•System Guide
•Lessons Learned &
Challenges
well treated in colleges and universities, but when control engineers use PLCs in industry
they wonder how they lived without them, because they are so important and so wide
spread. PLC is important because all production processes go through a fixed repetitive
sequence of operations that involve logical steps& decisions. A PLC is used to control, time
and regulate sequence. Examples of production processes that are controlled using PLCs
are – metal machining sequences, product assembly lines and batch chemical processes.
•Proposal The project is to
control a stepper motor
using a sensor to stop the
motor and to control the
ON/OFF Solenoid valve
by using PLC.The reason
that this is necessary is
that the stepper motor
needs input pulses to
convert it to output
motion. Also to shut off
water to solenoid valve
before the bottle is filled .
Project Description: Stepper motor is rotated by pulses comes out from
PLC . It rotates for 900 (50 pulses) waiting the sensor to detect the bottle,
if there is no Bottle, the Stepper motor will rotate for another 900 until
sensor detects the presence of the bottle ,where the motor will stop
immediately indicating the beginning of the washing process, the led will
light indicating occurrence of the washing process, this process will take
15 seconds then the motor will start to rotate again for 900 & stops under
water tank where the solenoid will open till the bottle is filled (15
seconds)then solenoid will shut off and motor will rotate in same manner
for the capping process and labeling process
Proposed Solution: The main thing this project is trying to achieve is to
•Stop the stepper at a designated place
•Figure out how to Activate and Deactivate the solenoid valve
The solution to these problems is
•Using an Inductive Proximity Sensor Which will detect presence
of the Bottle hence stopping the stepper motor
•Using Pulse Train Output to Stop the Stepper motor
•Using A Counter which will activate the Solenoid
•Using A timer which will deactivate the Solenoid
Pulse Train Output , Counter & Timer are all From the PLC Pulse Train Output , Counter & Timer are all From the PLC
Basics: What should be completed before attempting PLC?
We should complete Basics of Electricity before attempting PLCs. Understanding of
many of concepts covered in Basics of Electricity is required for Basics of PLCs. In
addition we may complete Basics of Control Components. Devices covered in Basics of
Control Components are used with programmable logic. We should be able to
•Explain the difference between conductors and insulators
•Use Ohm's Law to calculate current, voltage, and resistance
•Calculate equivalent resistance for series, parallel, or series-parallel circuits
•Calculate voltage drop across a resistor Calculate power given other basic values
•Identify factors that determine the strength and polarity of a current-carrying coils
magnetic field Determine peak, instantaneous, and effective values of an AC sine wave
Identify factors that effect inductive reactance & capacitive Reactance in an AC circuit
•Calculate total impedance of AC circuit& Explain difference between real power and
apparent power in an AC circuit
• Know about the purpose and general principles of control components and circuits
• Know about the difference between manual and automatic control operation
• Know about various symbols that represent control components
• Know how to Read a basic line diagram
• Describe construction & principles of magnetic contactors &magnetic motor starters
Start
Stepper motor
rotates
Is Sensor on?
Motor Stops
Timer is reset
Led 4 is on
Is Timer ≥15
Motor Rotates
Is pulse train
output ≥50
Motor Stops
Is Counter=1?
Led 1 is on
Is pulse train
output ≥50
Motor Stops
Timer is on
Is Counter=
counter +1
Led 3 is on
No
yes
No
yes
yes
yes
yes
yes
No
No
No
No
PROGRAM FLOW CHART
Is Timer ≥15
Motor Rotates
Led 1 is off
Is pulse train
output ≥50
Motor Stopped
Timer is on
Is counter
=counter+1
Motor Stops
Timer is on
Is Counter=
counter +1
Led 2 is on
Is Timer ≥15
Motor Rotates
No
yes
yes
No
No
yes
yes
yes
No
No