Professional Documents
Culture Documents
List of Experiments: SR No. Page No
List of Experiments: SR No. Page No
08 One Way Two Direction Traffic Light and Two Way Traffic light Control using
37
PLC step-7
09 Three Way & Four Way Traffic Light Control using PLC step-7
44
10
Temperature control Fan using PLC 50
0
Lab # 01
Operation of welding plant using Transformer
Objective:
To perform on of the welding techniques and understand important of arc welding.
Define the problem that occurs on the arc welding.
Recognize the type of metal, electrode, and tools that are used in arc welding.
Recognize types of arc welding and steps to create the arc welding.
To know safety measure when use the welding machine along the welding process.
Equipment’s required:
AC Supply
Welding Transformer
Welding Piece
Electric Holder
Chipping Hammer
Wire Brush
Hand Screen
Hand Gloves
Electrode
Cables, cable connectors
Earthing clamps
Helmet
Safety goggles
Aprons
sleeves
Theory:
Welding:
Welding is a fabrication or sculptural process that joins materials, usually metals or thermoplastics, by
using high heat to melt the parts together and allowing them to cool causing fusion. Welding is distinct from
lower temperature metal-joining techniques such as brazing and soldering, which do not melt the base metal.
Welding Transformer:
Welding Transformers are used in AC machines to change alternating current from the power line into
a low-voltage, high amperage current in the secondary winding. A combination of primary and/or secondary
taps on the welding transformer are commonly used to provide a macro adjustment of the welding current, as
well as adjustment of secondary voltage. Transformer ratings for AC machines are expressed in KVA
(kilovolt-amperes) for a specified duty cycle.
This duty cycle rating is a thermal rating, and indicates the amount of energy that the transformer can
deliver for a stated percentage of a specific time period, usually one minute, without exceeding its temperature
rating. The RMS Short Circuit Secondary Current specification indicates the maximum current that can be
obtained from the transformer. Since heating is a function of the welding current, this parameter gives an
indication of the thickness of the materials that can be welded. A welding transformer is basically a step
down transformer. The reason n for this is a high current is required for the arc to be generated for the welding.
1
Diagram of Welding Transformer:
Arc Welding:
Arc welding is a welding process that is used to join metal to metal by using electricity to create enough
heat to melt metal, and the melted metals when cool result in a binding of the metals. It is a type of welding
that uses a welding power supply to create an electric arc between a metal stick ("electrode") and the base
material to melt the metals at the point-of-contact. Arc welders can use either direct (DC) or alternating (AC)
current, and consumable or non-consumable electrodes. The welding area is usually protected by some type
of shielding gas, vapor, or slag. Arc welding processes may be manual, semi-automatic, or fully automated.
In the arc welding, the arc is used to create intense heat and this heat is used to join the metals together. The
arc is brought in between two metal pieces and due to the heat generated, the metals melt and when it cools a
strong welded joint is formed.
2
Arc Welding Circuit Diagram:
Application
It is the versatile welding process. It is most widely used welding process in the world because of its
simplicity and good welding efficiency. Almost in every manufacturing industry the arc welding is used for
producing strong joints. Today it remains an important process in fabrication of steel structures and vehicles.
It is most widely used in automotive industries, construction industries, in construction of buildings,
shipbuilding industries, and aerospace industries, for the maintenance or repair works.
Procedure:
First of all, we applied AC supply.
After that we used step down transformer to produce low voltage and high current.
Set the welding current, voltage according to the type of metal to be joined.
Clean the mild steel flats to be joined with wire brush.
Arrange the flat pieces properly providing the gap for full penetration for joint (gap ½ thickness of
flat).
Then we placed the pieces to be weld between the electrodes that produces arc by high electricity.
3
Practice striking of arc, speed and arc length control.
After that we used the welding stick that uses electric current to form an electric arc between the sticks
and metals to be joined.
Strike the arc and make the tacks at the both ends to hold the piece of metal together during the welding
process.
Lay beads along the joint maintain the proper speed and arc length (speed 100-150 minimum).
We can used stick welding for repair work, manufacturing and construction.
Clean the welded zone and submit.
Conclusion:
From this experiment we observed how to do arc welding. We also learnt about welding transformer
and working of welding transformer.
4
Lab # 02
Modeling and simulation of DC motor
Objective:
To perform the simulation of the DC motor.
Apparatus:
Computer
Matlab
Simulink
Block diagram:
Theory:
a) DC motor
A DC motor is any of a class of rotary electrical machines that converts direct current electrical energy
into mechanical energy. The most common types rely on the forces produced by magnetic fields. Nearly all
types of DC motors have some internal mechanism, either electromechanical or electronic, to periodically
change the direction of current flow in part of the motor.
DC motors were the first type widely used, since they could be powered from existing direct-current
lighting power distribution systems. A DC motor's speed can be controlled over a wide range, using either a
variable supply voltage or by changing the strength of current in its field windings. Small DC motors are used
in tools, toys, and appliances. The universal motor can operate on direct current but is a
lightweight brushed motor used for portable power tools and appliances. Larger DC motors are used in
propulsion of electric vehicles, elevator and hoists, or in drives for steel rolling mills. The advent of power
electronics has made replacement of DC motors with AC motors possible in many applications.
b) PMDC motor
Basic configuration of a permanent magnet DC motor is very similar to that of a normal DC motor.
The working principle of any DC motor is same, i.e. when a current carrying conductor is placed in a magnetic
field, it experiences a force. A permanent magnet DC motor also works on the same principle.
5
Figure 4:- PMDC motor
6
Figure 6:- Simulink Model
Graphs:
Speed at 250V:
7
Current at 250V:
By changing torque:
Sr. Number Voltage (V) Speed (r/sec) Current (A) Torque (Nm)
1 250 1172 6.58 7
2 250 1160 10.05 14
3 250 1148 13.52 21
4 250 1144 15.01 24
5 250 1139 16.49 27
6 250 1134 17.98 30
8
Graphs:
Speed at 30 Nm:
Current at 30 Nm:
Conclusion:
In this experiment we learnt about the model of DC motor on MATLAB and make its model and
observe the changing in the graphs of voltage, current, torque etc by changing the values of the voltage and
the value of torque. We observe that by increasing the torque speed goes on decreasing. And by increasing the
voltage speed increases.
9
Lab # 03
Speed Control of DC motor using PWM
Objective:
To perform the simulation for Speed Control of DC motor using PWM.
Apparatus:
Computer
Mat-lab
Simulink
Block diagram:
Block diagram is
10
Figure 9:- PWM
b) Duty Cycle
The term duty cycle describes the proportion of 'on' time to the regular interval or 'period' of time; a
low duty cycle corresponds to low power, because the power is off for most of the time. Duty cycle is
expressed in percent, 100% being fully on. When a digital signal is on half of the time and off the other half
of the time, the digital signal has a duty cycle of 50% and resembles a "square" wave. When a digital signal
spends more time in the on state than the off state, it has a duty cycle of >50%. When a digital signal spends
more time in the off state than the on state, it has a duty cycle of <50%.
The main advantage of PWM is that power loss in the switching devices is very low. When a switch
is off there is practically no current, and when it is on and power is being transferred to the load, there is almost
no voltage drop across the switch. Power loss, being the product of voltage and current, is thus in both cases
close to zero. PWM also works well with digital controls, which, because of their on/off nature, can easily set
the needed duty cycle.
Simulink Block Diagram:
Graphs:
At duty cycle 60% and torque 20Nm
13
Figure 6:- Vdc
Apparatus:
MATLAB & Simulink
Block Diagram:
Theory:
Speed and Current Control:
The motor speed depends on the amplitude of the applied voltage. The amplitude of the applied voltage is
adjusted using the PWM technique. The required speed is controlled by a speed controller, which is
implemented as a conventional proportional-integral (PI) controller. The difference between the actual and
required speeds is input to the PI controller which then, based on this difference, controllers the required DC-
bus current.
The required DC-bus current is controlled by a current controller, which is also implemented as a conventional
proportional integral (PI) controller. The difference between the actual and required DC-bus current is input
to the PI controller which then, based on this difference, controls the duty cycle of the PWM pulses, which
correspond to the voltage amplitude required to maintain the desired speed. The current controller, which is
the inner-loop controller, is updated more frequently, for example every PWM period, compared to the speed
controller, which is the outer-loop controller.
Mathematical modeling:
Dc Motor and Load:
The de machine contains an inner loop due to the induced emf. It is not physically seen; it is magnetically
coupled. The inner current loop will cross this back-emf loop.
𝑇𝑙 = 𝐵𝑙 𝑤𝑚
𝑤𝑚 (𝑠) 𝑘𝑏
=
𝐼𝑎 (𝑠) 𝑏𝑡 (1 + 𝑠𝑇𝑚 )
15
𝐼𝑎 (𝑠) 𝑘1 (1 + 𝑠𝑇𝑚 )
=
𝑉𝑎 (𝑠) (1 + 𝑠𝑇1 )(1 + 𝑠𝑇2 )
𝐽
𝑇𝑚 =
𝐵𝑡
𝐵𝑡 = 𝐵𝑙 + 𝐵1
Given data:
Voltage V 220V
Current I 8.3 A
Speed 1470rpm
Ra 4
J 0.0607
La 0.072 H
Bt 0.0869
K b 1.26
Vmax 10V
I max 20 A
Converter parameters are
Kr 31.05
G
1 Tr S 1 0.00138S
Current Transducer Gain
HC=0.3545
Motor Transfer Function
K1 (1 Tm S )
T .F
(1 T1S )(1 T2 S )
1 1 1 B R 1 Bt Ra 2 K b 2 Ra Bt
, [ t a ] ( ) ( )
T1 T2 2 J La 4 J La JLa
T1 0.107
T2 0.02096
0.0449 0.0314S
T .F
0.002S 2 0.128S 1
Load Transfer Function
14.5
T .F
Ia 1 0.7 S
Design of Current Controller
TC T2 0.02096
LTC
KC
K1 K r H CTm
KC 2.35
16
Current Loop Approximation
Ia Ki
I a 1 Ti S
K fi 1
Ki
HC 1 K fi
KC K r K1Tm H C
K fi
TC
Ia 2.75
I a 1 0.0027S
Speed Controller Design
K S (1 TS S )
GS ( S )
TS S
1
KS
2 K 2T4
T4 Ti T
TS 4T4
28.73 0.5S
GS ( S )
0.0188S
Simulink Model:
17
Current:
Conclusion:
From this experiment we learnt about speed and current controller of PMDC Motor by using PI
Controller. And also the graphical results of speed and current.
18
Lab # 5
Intelligent DC SERVO Controller
Objective:
Familiar with the basic principle and how to use intelligent servo controller; master the basic motor
control principle, and the adjustment methods of current loop, velocity loop and position loop.
Apparatus:
Computer
Easy Motion Studio software
DC servo control trainer IT-4421
What is a servo drive?
Servo systems consist of four main components: a motor, a drive, a controller, and a feedback device,
which is typically an encoder. The controller and drive work together to determine what the motor needs to
do (the controller) and send the necessary electrical energy to the motor to make it happen (the drive).
Figure
The controller is responsible for calculating the path or trajectory required and sending low-voltage
command signals to the drive. The drive then sends the necessary voltage and current to the motor to achieve
the required motion. The drive can control torque, velocity, or position, although in servo systems, the most
common parameter to be controlled is torque.
A servo drive can also be referred to as an amplifier, because it takes the control signal from the
controller and amplifies it to deliver a specific amount of voltage and current to the motor. Of servo drives,
with a common one being the torque-mode amplifier. It converts the command signal from the controller into
a specific amount of current to the motor. Since current is directly proportional to torque, the drive is
controlling the amount of torque that the motor produces. (In a linear motor, where current is proportional to
force, the drive is directly controlling the force output of the motor.)
Remember that servo motor torque is directly related to current, as shown by the equation:
T = KT * I
Where:
T = Torque
KT = Motor constant
I = Current
One of the most important tools for sizing a servo motor is its torque-speed curve. But often, the torque-
speed curve is specific to a certain motor-drive combination. This is because the continuous and peak torque
capabilities of the motor are affected by the thermal properties of both the motor and of the drive. Inefficiencies
in the motor cause it to produce heat, which can degrade bearing lubrication and insulation around the
windings. Excessive heat—typically caused by running a motor above its peak torque—can demagnetize the
motor’s magnets. Although the drive has no moving parts, heat can damage its power transistors.
19
ISM4803 intelligent controller:
ISM4803 is a high-performance intelligent servo module that combines motion controller, drive and PLC
functionality in a single compact unit. The ISM4803 module is a flexible, cost-effective solution particularly
adapted to the distributed and coordinated control of brushless, DC or step motors of powers up to 150 W,
with voltages up to 48 V. Programmable with the high-level Techno soft Motion Language (TML), ISM4803
embeds, on a single board, advanced motion control and basic PLC specific functionality.
Typical applications include distributed motor control with the possibility of electronic gearing or CAM
functions, optionally in a CAN network.
Figure
DC Servo Control Trainer:
Servo motors plays a very important role in industry process. These servo motor can be DC or AC
depending on the requirement. The DC servo trainer IT-4421 is a closed loop DC servo system designed in
modular construction. The key concept behind this trainer system is to provide practical working knowledge
of a closed loop DC servo systems to the users by integrating basic theories and step-by-step experiments into
one subject. To maximize the educational effectiveness, each section ends with a brief experiment to conclude
what the user has learned in the experiment.
Figure
Figure
21
Now select edit so following drive setup will open like shown
Figure
Now click on detect and following window will open and press yes
Figure
22
Figure
Figure
Click on start so following window or graph will open after the completion of the test
23
Figure
We also see the changes in the graphs of current and speed by changing the current and speed values
Figure
Now select the position controller test as following tab will open
24
Figure
The graph of position is shown below also we can change the position of the motor by changing the
position.
Figure
Conclusion:
In this experiment we learnt about how to control the speed, current and position of the DC servo motor
by using the easy motion software with the help of the intelligent servo controller, installed in the trainer of
ISM4803 controller. And the required graphs are shown. We also observe the changes after changing the
values.
25
Lab # 06
Velocity Control of AC Servo Motor
Objective:
Be familiar with the measure method of AC servo motor parameters and the velocity control of AC
servo motor.
Apparatus:
Computer
PANATERM software
AC servo control trainer IT-4420
Theory:
INTRODUCTION:
AC Servo Motors have been traditionally used for position/speed control applications especially in
light weight, precision instrumentation area in airborne systems. These motors, though more expensive than
industry standard split-phase induction motors and ac driven stepper motors, have a much better torque speed
characteristics
AC servo motors incorporate encoders are used with controllers for providing feedback and closed-
loop control. These motors can be positioned to high accuracy, meaning that they can be controlled exactly as
required for the application. Often servo motors have better bearings or higher tolerance designs, and some
smaller designs also use higher voltages in order to achieve greater torque. This AC servomotor can be placed
to high accuracy and also controlled precisely as compulsory for the applications. Frequently these motors
have high performance bearings it helps the motor to control the accurate torque of AC Servo motor.
Block diagram:
Figur#6.1(Block Diagram)
Construction of AC servo motor:
The AC servomotor is basically a two phase induction motor with some special design features. The stator
consists of two pole-pairs (A-B and C-D) mounted on the inner periphery of the stator, such that their axes are
at an angle of 90° in space. Each pole-pair carries a winding. One winding is called reference winding and the
other is called a control winding. The exciting current in the winding should have a phase displacement of
90°. The supply used to drive the motor is single phase and so a phase advancing capacitor is connected to
one of the phase to produce a phase difference of 90°. The stator constructional features of AC Servo motor are
shown in figure.
Figure#6.3(Servo Drive)
27
Function:
Velocity control by analog speed command:
The analog speed command input voltage is converted to equivalent digital speed command. You can set
the filter to eliminate noise or adjust the offset.
Relevant Parameters:
Figure#6.4(Relevant Parameter)
Connections:
Figure#6.5(Connection)
Procedure:
Connect the connector X4 on the Panasonic controller.
Confirm the default values of velocity parameters.
Connect the SRV-ON input GND.
Connect ZEROSPD input to GND.
Connect + 10V DC output pin to SPR/TRQR/SPL input pin.
Gradually increase from 0V to confirm the motor runs.
Confirm the motor rotational speed in monitor mode.
If the motor does rotate at a micro speed with command voltage of 0.
When you want to change the rotational speed and direction, setup the following parameters again.
Pr3.00: Speed setup, internal/external switching
Pr3.01: Speed command rotational direction selection
Pr3.03: Reversal of speed command input
Parameter:
28
Figure#6.6(Parameter)
Figure#6.7(Input signal)
Conclusion:
In this experiment, we learnt about the basic features of the AC servo trainer IT-4420 and how to
control the velocity and speed of the AC servo motor and observe the change in the speed by changing velocity.
29
Lab # 07
Logic Gates using PLC step7
Objective:
Implementation of Logic Gates using PLC step7
Apparatus:
Computer
Industrial control Lab
PLC step7 software
PLC trainer
Theory:
Ladder logic Functions:
There are many control situations requiring actions to be initiated when a certain combination of
conditions is realized. Thus, for an automatic drilling machine, there might be the condition that the drill motor
is to be activated when the limit switches are activated that indicate the presence of the work piece and the
drill position as being at the surface of the work piece. Such a situation involves the AND logic function,
condition A and condition B having both to be realized for an output to occur. This section is a consideration
of such logic functions.
I. AND logic function
Figure 1a shows a situation where an output is not energized unless two, normally open, switches are
both closed. Switch A and switch B have both to be closed, which thus gives an AND logic situation. We can
think of this as representing a control system with two inputs A and B (Figure 1b). Only when A and B are
both on is there an output.
Thus if we use 1 to indicate an on signal and 0 to represent an off signal, then for there to be a 1 output
we must have A and B both 1.
0 1 0
1 0 0
1 1 1
An example of an AND gate is an interlock control system for a machine tool so that it can only be operated
when the safety guard is in position and the power switched on.
The ladder diagram starts with | |, a normally open set of contacts labeled input A, to represent switch A and
in series with it | |, another normally open set of contacts labeled input B, to represent switch B. The line then
30
terminates with O to represent the output. For there to be an output, both input A and input B have to occur,
i.e., input A and input B contacts have to be closed.
In general // On a ladder diagram contacts in a horizontal rung, i.e., contacts in series, represent the
logical AND operations.
The ladder diagram starts with | |, normally open contacts labeled input A, to represent switch A and
in parallel with it | |, normally open contacts labeled input B, to represent switch B. either input A or input
B have to be closed for the output to be energized (Figure 4c). The line then terminates with O to represent
the output.
In general // Alternative paths provided by vertical paths from the main rung of a ladder diagram,
i.e., paths in parallel represent logical OR operations.
An example of an OR gate control system is a conveyor belt transporting bottled products to
packaging where a deflector plate is activated to deflect bottles into a reject bin if either the weight is not
within certain tolerances or there is no cap on the bottle.
31
Figure 4: OR gate
NOT logic function
Figure 5a shows an electrical circuit controlled by a switch that is normally closed. When there is an
input to the switch, it opens and there is then no current in the circuit. This illustrates a NOT gate in that
there is an output when there is no input and no output when there is an input (Figure 5c). The gate is
sometimes referred to as an inverter.
Figure 6: (a) NOT circuit (b) NOT logic with a ladder rung (c) high output when no input to A
III. NAND Logic Function
Suppose we follow an AND gate with a NOT gate (Figure 6a). The consequence of having the NOT
gate is to invert all the outputs from the AND gate. An alternative, which gives exactly the same results, is
to put a NOT gate on each input and then follow that with OR (Figure 6b).
The same truth table occurs, namely
Inputs Output
A B
0 0 1
0 1 1
1 0 1
1 1 0
32
Figure 7: NAND gate
Both the inputs A and B have to be 0 for there to be a 1 output. There is an output when input A and
input B are not 1. The combination of these gates is termed a NAND gate (Figure 7).
33
Figure 9: NOR gate
Inputs Output
A B
0 0 0
0 1 1
1 0 1
1 1 0
When input A and input B are not activated then there is 0 output. When just input A is activated,
then the upper branch results in the output being 1. When just input B is activated, then the lower branch
results in the output being 1. When both input A and input B are activated, there is no output. In this example
of a logic gate, input A and input B have two sets of contacts in the circuits, one set being normally open
and the other normally closed. With PLC programming, each input may have as many sets of contacts as
necessary.
34
Figure 12: NOT Gate
Task 2:
The ladder logic of AND gate is shown below: -
35
Figure 17: XOR Gate
Task 7:
The ladder logic of XNOR gate is shown below: -
36
Lab # 08
One Way Two Direction Traffic Light and Two Way Traffic light Control using PLC
step-7
a) One Way two direction Traffic light Control using PLC
Objective:
Implementation of One Way two direction Traffic light Control using PLC step7
Apparatus:
Computer
Industrial control Lab
PLC step7 software
PLC trainer
Theory:
PLC timers are instructions that provide the same functions as on-delay and off-delay mechanical and
electronic timing relays. A PLC timer provides a preset delay to the control actions. In general, there are three
types of PLC timer delays, ON-delay timer, OFF-delay timer and retentive timer on. The terms represented in
the timer block in the PLC are a Preset value which means the delay period of the timer, an Accumulated
value which is the current delay of the timer. A timer begins the counting on time-based intervals and continues
until the accumulated value equals the preset value. When the accumulated value equals the preset time the
output will be energized. Then the timer sets the output.
I. TON timer or ON delay timer
An ON delay timer is used where we need a time delay before the time delay before an instruction
becomes true.
The timer starts operating when the rung condition becomes true. The timer delay starts counting when
the rung condition starts to accumulate.
When the Preset value becomes equal to the accumulated value, the output is made true.
The timed output becomes true sometime after the timer rung becomes true; hence, the timer is said to
have an on-delay.
The length of the delay can be adjusted by setting the preset value.
II. TOFF timer or OFF delay timer:
A TOFF timer will keep the output energized for a preset time after the rung signal has gone false.
37
Figure 3: Timer off Delay
The TOFF timer will have all the contents as in the TON timer, with the similar function.
Procedure:
First of all we turn on the PC present in the industrial lab
Then we double click on the icon of the step-7 software to open it
A new window will open
We add the new device and after adding a new device a new window will open
In this window we define the PLC tags or Table of the inputs and outputs simultaneously like the
trainer inputs and outputs.
Then we make the program of the one way traffic lights to control the lights
We set the different time for the different lights to glow
Then we turn on the trainer
Then we load the program to check or control the lights
After this we run the program and see the control of the lights
After this we save the program of one way traffic lights
The ladder logic of the program is given below.
39
Figure 1: Timer on Delay
The timer starts operating when the rung condition becomes true. The timer delay starts counting when
the rung condition starts to accumulate.
When the Preset value becomes equal to the accumulated value, the output is made true.
The timed output becomes true sometime after the timer rung becomes true; hence, the timer is said to
have an on-delay.
The length of the delay can be adjusted by setting the preset value.
TOFF timer or OFF delay timer:
A TOFF timer will keep the output energized for a preset time after the rung signal has gone false.
Procedure:
First of all we turn on the PC present in the industrial lab
Then we double click on the icon of the step-7 software to open it
A new window will open
We add the new device and after adding a new device a new window will open
In this window we define the PLC tags or Table of the inputs and outputs simultaneously like the
trainer inputs and outputs.
Then we make the program of the two way traffic lights to control the lights
We set the different time for the different lights to glow
41
Then we turn on the trainer
Then we load the program to check or control the lights
After this we run the program and see the control of the lights
After this we save the program of two way traffic lights
The ladder logic of the program is given below.
42
Conclusion:
In this experiment we learn about the control of the two way traffic lights control using PLC. After
running the program we see that how the traffic lights glow with the difference of the time which is given or
define.
43
Lab # 9
Three Way & Four Way Traffic Light Control using PLC step-7
Objective:
Implementation of Three Way (T-Chowk) Traffic light Control using PLC step7
Apparatus:
Computer
Industrial control Lab
PLC step7 software
PLC trainer
Traffic lights Trainer
Theory:
PLC timers are instructions that provide the same functions as on-delay and off-delay mechanical and
electronic timing relays. A PLC timer provides a preset delay to the control actions. In general, there are three
types of PLC timer delays, ON-delay timer, OFF-delay timer and retentive timer on. The terms represented in
the timer block in the PLC are a Preset value which means the delay period of the timer, an Accumulated
value which is the current delay of the timer. A timer begins the counting on time-based intervals and continues
until the accumulated value equals the preset value. When the accumulated value equals the preset time the
output will be energized. Then the timer sets the output.
Traffic Lights Rules:
Traffic Signals
Traffic control signals are devices placed along, beside, or above a roadway to guide, warn, and
regulate the flow of traffic, which includes motor vehicles, motorcycles, bicycles, pedestrians, and other road
users.
44
RED ARROW—A red arrow means STOP until the green signal or green arrow appears. A turn may
not be made against a red arrow.
FLASHING RED—A flashing red signal light means exactly the same as a stop sign: STOP! After
stopping, proceed when safe and observe the right-of-way rules.
YELLOW—A yellow signal light warns you that the red signal is about to appear. When you see the
yellow light, you should stop, if you can do so safely. If you can't stop, look out for vehicles that may enter
the intersection when the light changes.
YELLOW ARROW—A lighted red arrow is about to appear. Stop if you are not already in the
intersection.
GREEN—A green light means GO, but you must first let any vehicles, bicycles, or pedestrians
remaining in the intersection get through before you move ahead.
You can turn left ONLY if you have enough space to complete the turn before any oncoming vehicle,
bicycle, or pedestrian becomes a hazard. Vehicles turning left must always yield to those going straight from
the opposite direction.
Do not enter an intersection, even when the light is green, unless there is enough space to cross
completely before the light turns red. If heavy traffic causes you to block traffic, you can be cited.
45
GREEN ARROW—A green arrow means GO, but first you must yield to any vehicle, bicycle, or
pedestrian still in the intersection.
Procedure:
First of all, we turn on the PC present in the industrial lab
Then we double click on the icon of the step-7 software to open it
A new window will open
We add the new device and after adding a new device a new window will open
In this window we define the PLC tags or Table for the inputs and outputs of the three-way direction
traffic lights simultaneously like the trainer inputs and outputs.
Then we make the program of the three-way (T-Chowk) and Four-way traffic lights to control the
lights
We set the different time for the different lights to glow
Then we turn on the trainer
We connect the trainer of the traffic lights with PLC
Then we load the program to check or control the lights
After this we run the program and see the control of the lights
After this we save the program of three-way and Four-way traffic lights
The ladder logic of the program is given below.
PLC Ladder Logic:
Ladder Logic for three way (T-Chowk)
46
47
Figure 10.1: Program for the three-way traffic lights
PLC Ladder Logic:
Ladder Logic for Four way four direction
48
Figure 11.2: PLC Program of Four Direction
Conclusion:
In this experiment we learn about the control of the three way traffic lights control using PLC. After
running the program we see that how the traffic lights glow with the difference of the time which is given or
define.
49
Lab # 10
Temperature control Fan using PLC
Objective:
Implementation of Temperature control Fan using PLC
Apparatus:
Computer
PLC step7 software
PLC trainer
Theory:
Temperature sensor:
A temperature sensor is a device that detects and measures hotness and coolness and converts it into
an electrical signal.
A temperature sensor is a device, typically, a thermocouple or RTD, that provides
for temperature measurement through an electrical signal. A thermocouple (T/C) is made from two dissimilar
metals that generate electrical voltage in direct proportion to changes in temperature.
Temperature control is a process in which change of temperature of a space (and objects collectively
there within), or of a substance, is measured or otherwise detected, and the passage of heat energy into or out
of the space or substance is adjusted to achieve a desired temperature.
51
Figure No 11.2: Temperature control
Conclusion:
In this experiment we learn about the Implementation of Temperature control using PLC. After running
the program we observed the fan volt, current and the heater volt, current. The system has a good stability and
a good reliability.
52
Lab # 11
Stepper Motor Control
Objective:
Stepper Motor Control using PLC.
Apparatus:
Computer
Industrial control Lab
PLC step7 software
PLC trainer
Theory:
PLC timers are instructions that provide the same functions as on-delay and off-delay mechanical and
electronic timing relays. A PLC timer provides a preset delay to the control actions. In general, there are three
types of PLC timer delays, ON-delay timer, OFF-delay timer and retentive timer on. The terms represented in
the timer block in the PLC are a Preset value which means the delay period of the timer, an Accumulated
value which is the current delay of the timer. A timer begins the counting on time-based intervals and continues
until the accumulated value equals the preset value. When the accumulated value equals the preset time the
output will be energized. Then the timer sets the output.
Stepper Motor:
Stepper motors are DC motors that move in discrete steps. They have multiple coils that are
organized in groups called "phases". By energizing each phase in sequence, the motor will ro tate, one
step at a time. With a computer controlled stepping you can achieve very precise positioning and/or speed
control. For this reason, stepper motors are the motor of choice for many precision motion control
applications.
Stepper motors come in many different sizes and styles and electrical characteristics.
Working Principle:
Working of Permanent Magnet Stepper Motor. The operation of this motor works on the principle that
unlike poles attract each other and like poles repel each other. When the stator windings are excited with a DC
supply, it produces magnetic flux and establishes the North and South poles.
PLC Trainer:
It is a module or an integrated circuit used to control different types of motors that are fixed on it. Ladder logic
programming is used for performing different tasks on it which is shown in diagram.
53
Procedure:
First of all we turn on the PC present in the industrial lab
Then we double click on the icon of the step-7 software to open it
A new window will open
We add the new device and after adding a new device a new window will open
PLC Ladder Logic:
Ladder Logic for Stepper motor Control:
54
a
55
Conclusion:
In this experiment we learn about the control of the stepper motor control using PLC. After
running the program we see that how the motor rotates with the difference of the time which is given or define.
In this experiment we learn about the operation of the stepper motor control.
56
Lab # 12
Automatic Bottle Filling System using PLC
Objective:
Implementation of Automatic Bottle Filling System using PLC
Apparatus:
Computer
Industrial control Lab
PLC step7 software
PLC trainer
Theory:
Introduction:
An Automation is the utilization of different control techniques for operating equipment’s such as
operations in factories, aircraft and other applications with reduced human power. The filling process is a
mission performed by a machine that fills liquid products such as water or cold drinks. Traditional bottling
methods include placing bottles on a conveyor belt and filling only one bottle at a time. In this paper, it has
been designed and implement water filling machine system for different sized bottles by using PLC. Where
the water filling machine system includes design and implement prototype of a flat belt conveyor and
automatic process for water filling machine using the solenoid valve and sensors which gives the appropriate
information to control unit then design the controller using PLC. The PLC plays important role to implement
automatic filling process by using PLC programing software and ladder diagram language. It was found that
the water filling machine using PLC is less operational cost and less power consumption than the traditional
control systems, in addition more flexible and time saving.
Level Sensor:
A float switch is a type of level sensor, a device used to detect the level of liquid within a tank. The switch
may be used to control a pump, as an indicator, an alarm, or to control other devices.
Water Pump:
It is used to fill the water Tank from the main reservoir. It is DC pump which operates with 12 V DC Supply.
Figure 2: DC Pump
57
Inductive Proximity Sensors:
Inductive proximity sensors are used for non-contact detection of metallic objects. Their operating principle
is based on a coil and oscillator that creates an electromagnetic field in the close surroundings of the sensing
surface.
DC motor:
DC motor is type of rotary electrical machines that convert electrical current into mechanical motion. In this
apparatus a DC motor is used to rotate the conveyor belt to move the bottle first under the valve and after it
filled move it away from valve. This DC motor operate 12 DC supply with gear box which is used to increase
the torque and reduce the speed as required as shown in Figure
58
Relay:
Relays are switches that open and close circuits electromechanically or electronically. Relays control one
electrical circuit by opening and closing contacts in another circuit. As relay diagrams show, when a
relay contact is normally open (NO), there is an open contact when the relay is not energized. The low voltage
that the relay will accept to control the switch is 5 V. The laser and the sensor worked are on 5V but the input
to PLC is on 24 V DC so the relay is used to connect the laser and sensor to the input of the PLC. In the output
side, the relay is connected from the output of the PLC to each of the DC motor and the solenoid valve for
the purpose of protection.
Conveyor System:
Nowadays with many industrial applications, a conveyor system is used to move object from one location to
another in effective way to reduce losing time and effort and it is very useful in packaging process. A conveyor
system has several forms but, in this paper, a Flat belt type is used to move the bottles as shown in Figure.
Conveyors are especially useful in applications which including the transportation of heavy or large materials.
A Flat belt conveyer has the belt is made from elastic material. Six pulleys a distributed along the belt, the
first one rotates with the rotation of motor shaft and it usually called drive pulley and the other five pulley
called idler pulley. The Flat belt is fitted with aluminum plate between the pulleys to support the belt.
59
System Working:
When the Level of the Water in the Tank is Low it is detected by Low Level Sensor which switch On the
pump and start filling the water in the tank. When the level of the water reach at higher-Level high-Level
switch detects it and Switch off the Pump and stop filling. The water filling machine starts when the push
button switch is pressed and this caused working the DC motor hence the conveyor belt is moving. The bottles
move on the conveyor belt until the first bottle reaches under the solenoid valve where the proximity detects
the bottle, hence the proximity sensor is sensing the bottle and gives a control signal to the PLC through the
relay(24v). This leads to stopping the DC motor and hence the conveyer belt stops and the solenoid valve
operates and the bottle starts filling the water (using timer in PLC to time this process).when the bottle is fully
filled with water, the solenoid valve is closed and the motor is working to move the conveyor belt again to
carry the bottle away from the solenoid valve. If another bottle is detected under the valve, the process
will be repeated and when the stop button is pressed, the whole process will be stopped.
Uses:
Material Handling
Elevators and escalators
packaging
water treatment plants
Parts Detection
Cold Drinks Filling Industry
Ladder Logic:
60
Conclusion:
An automatic water filling machine system for different sized bottles by using PLC has been developed and
implemented. The PLC is used in this system to get more productivity with less time high reliability for and
flexible in work. The system is designed to working with different sized bottles by simply change the program.
61