Академический Документы
Профессиональный Документы
Культура Документы
1| P a g e
IntroductIon to AutomAtIon
2| P a g e
and in some of the services and industries important in daily life, and impact on the
individual as well as society in general. The article also reviews the development and
technology of robotics as a significant topic within automation.
Tools of Automation:
Programmable Logic Controller (PLC).
Supervisory Control and Data Acquisition (SCADA).
Human Machine Interface (HMI) or Touch Screen (TS).
Variable Frequency Drive (VFD).
Advantages:
Disadvantages:
Unemployment rate increases due to machines replacing humans and
putting those humans out of their jobs.
Technical Limitation.
Security Threats.
High initial cost.
3| P a g e
Plc (ProgrAmmAble logIc
controller)
Initially industries used relays to control the manufacturing processes. The
relay control panels had to be regularly replaced, consumed lot of power and it
was difficult to figure out the problems associated with it. To sort these issues,
Programmable logic controller (PLC) was introduced.
4| P a g e
HIstory
Programmable Logic Controllers were discovered by the automotive industry
to substitute the re-wiring of the machine’s control panel. Prior to the invention of
PLC, automobiles were manufactured using plenty of relays, cam timers, and closed
loop controllers. The electricians had to re-wire every part of the machine daily
which was time consuming and highly expensive on the financial front.
Later in the year 1968, a request for an electronic device for the hard-wired
relay systems was made by GM hydromantic. Bedford Associates won the
proposal and started a new company to develop, fabricate, sell, and service this
new launched product. The first PLC launched was designated 084 as it was the
eighty fourth projects of Bedford Associates. Dick Morley worked on this
project and is being considered as the Father of PLC. In the year 1977, the
brand invented by Modicon was sold to Gould Electronics. The Gould
Electronics later sold it to German Company AEG which was later taken over by
French Schneider Electric.
The first 084 model of PLC was revealed in North Andover, Massachusetts
at the Modicon headquarters.
The automotive industry is one of the largest users of PLC.
5| P a g e
Plc system
6| P a g e
Plc HArdwAre
CPU – Keeps checking the PLC controller to avoid errors. They perform
functions including logic operations, arithmetic operations, computer interface
and many more.
Memory – Fixed data is used by the CPU. System (ROM) stores the data
permanently for the operating system. RAM stores the information of the status
of input and output devices, and the values of timers, counters and other
internal devices.
I/O section – Input keeps a track on field devices which includes sensors,
switches.
7| P a g e
O/P Section - Output has a control over the other devices which includes
motors, pumps, lights and solenoids. The I/O ports are based on Reduced
Instruction Set Computer (RISC).
Power supply – Certain PLCs have an isolated power supply. But, most of the
PLCs work at 220VAC or 24VDC.
Programming device – This device is used to feed the program into the
memory of the processor. The program is first fed to the programming device
and later it is transmitted to the PLC’s memory.
System Buses – Buses are the paths through which the digital signal flows
internally of the PLC. The four system buses are:
o Data bus is used by the CPU to transfer data among different elements.
o Control bus transfers signals related to the action that are controlled
internally.
o Address bus sends the location’s addresses to access the data.
o System bus helps the I/O port and I/O unit to communicate with each other.
8| P a g e
workIng & APPlIcAtIon of Plc
Working of PLC (Programmable Logic Controller):
The Programmable logic controller functions in four steps.
Input scan: The state of the input is scanned which is connected externally.
The inputs include switches, pushbuttons, and proximity sensors, limit
switches, pressure switches. Ideally, they are transformers and not relays.
Program scan: The loaded program is executed to carry out the function
appropriately.
Output scan: The input sources have a control over the output ports to
energize or de-energize them. The outputs include solenoids, valves, motors,
actuator, and pumps. Depending on the model of PLC, these relays can be
transistors, triacs or relays.
Housekeeping: Includes communicating with programming devices and
performing internal diagnostics.
10 | P a g e
ProgrAmmIng In Plc:
Languages used in PLC for the purpose of programming are:
1. Ladder language
2. Functional Block Diagram (FBD)
3. Instructional List (IL)
4. Drive Functional Block (DFB)
5. Structural test language
NO and NC Contact:
One of the most confusing aspects of PLC programming for first-time users is
the relationship between the device that controls a status bit and the programming
function that uses a status bit. Two of the most common programming functions
11 | P a g e
are the normally open (NO) contact and the normally closed (NC) contact.
Symbolically, power flows through these contacts when they are closed. The
normally open contact (NO) is true (closed) when the input or output status bit
controlling the contact is 1. The normally closed contact (NC) is true (closed)
when the input or output status bit controlling the contact is 0.
INTERLOCKING in PLC:
Interlocking means to interlock something by placing NC of coil or input in
front. The concept of interlocking reduces the complexity in PLC programming.
Interlocking in ladder programming means whenever we want to off some output
by input or any type coil, then we have to place NC of that input or a coil in front
of output which we want to off.
12 | P a g e
Memory Coil:
Coils represent relays that are energized when power flows to them. When a
coil is energized, it causes a corresponding output to turn on by changing the state
of the status bit controlling that output to 1. That same output status bit may be
used to control normally open and normally closed contacts elsewhere in the
program.
Latching:
Latching is the process in which once output or a coil is energized it remains
energized forever. Latching is done by the contact of output or coil which we want
to switch ON permanently.
13 | P a g e
Timer:
Timer is basically used add some delay in the programming circuit by
adding a particular time to each circuit.
Types of timers:
• ON delay timer
• OFF delay timer
14 | P a g e
APPlIcAtIon of Plc
Conveyor System:
Gate Control:
PLC can sense a vehicle at the entrance or exit, and open and close the gate
automatically.
The current vehicle count is easily determined by programming a simple
counter.
Gate control system can also be used for domestic purpose.
15 | P a g e
Plc Problems
Problem One:
Problem Description
Two simultaneous processes are to be performed in two separate tanks
which are connected through a valve. Process 1 takes place in the 1st tank and
Process 2 takes in the 2nd tank. Control level of these tanks in PLC using Ladder
Diagram programming language.
Problem Diagram
Problem Solution
1. Mount two level switches in the first tank and two
switches in the second tanks. Both switches of tanks
detect High and Low level of the tanks.
2. Install inlet valve to control inlet process flow and outlet
valve to control outlet process flow.
3. Install one more connecting valve to control draining of
process material from Process 1 Tank to Process 2 Tank.
16 | P a g e
4.Provide interlocking to prevent from malfunctioning or
overflowing.
PLC Program
Here is PLC program to Control Level of Two Tanks, along with program
explanation and run time test cases.
List of inputs or Outputs
I:1/0= Level High Switch-Tank 1, LHS1 (Input)
I:1/1 = Level Low Switch-Tank 1, LLS1 (Input)
I:1/3 = Level Low Switch-Tank 2, LLS2 (Input)
O:2/0 = Inlet Valve (Output)
O:2/1 = Tank Connecting Valve (Output)
O:2/2 = Outlet Valve (Output)
I:1/14 = Start (Input)
I:1/15 = Stop (Input)
B3:0/0 = Master Coil Bit (Bit)
17 | P a g e
Program Description
1. RUNG000 is a master start/stop rung to Start and Stop the
entire process.
2. RUNG001 is for controlling Connecting Valve output O:2/1. It
is opened when LHS1 I:1/0, Pro1 Done I:1/5 and LLS2 I:1/3 are
detected. And it is closed when LLS1 I:1/1 is detected, or in
other words, when Process 1 Tank is empty.
3. Important thing to note here is that if Tanks’ size/shape were not
same and any one XIC contact from O:2/1, I:1/0 or I:1/5 was
not connected, there would have been a chance of
malfunctioning/overflowing.
4. RUNG002 is for controlling Inlet valve O:2/0. It is allows the
inlet flow by opening Inlet Valve whenever Low Level switch of
Process1 Tank LLS1 with address I:1/0 is detected.
5. RUNG003 is for controlling Outlet Valve with address
O:2/2. It allows the process material to flow out when Pro1
Done I: 1/6 is detected.
6. Consider any set point of Process1 and Process2 as I:1/5 and
Runtime Test
Inputs Outputs Physical Elements
I:1/0 = 1, I:1/1 = 0 O:2/2 = 1 Open Outlet Valve
I:1/0 = 0, I:1/1 = 1 O:2/0 = 1 Open Inlet Valve
I:1/0 = 1, I:1/5 = 1, I:1/3 = 1 O:2/1 = 1 Open Connecting Valve
I:1/0 = 0, I:1/1 = 0 O:2/0 = 1 Open Inlet Valve
I:1/0 = 1 O:2/0 = 0 Close Inlet Valve
I:1/1 = 1 O:2/1 = 0 Close Connecting Valve
I:1/3 = 1 O:2/2 = 0Close Outlet Valve
18 | P a g e
Problem Two:
Problem Description
Two tanks are connected in parallel with a stream line. Heat and Cool the
same material and control level of both tanks. Implement this in PLC using Ladder
Diagram programming language.
Problem Diagram
Problem Solution
1. Heater is used to heat the material and cooling water supply
is used to cool down material temperature.
2. Inlet valve feeds Material to both tanks.
3. One tank stores material for heating purpose and the other
stores material for cooling purpose.
4. Level switches are used to detect Low level and High level in
both the tanks.
5. Outlet valves are installed in the bottom of both the tanks to
drain products for further process.
19 | P a g e
6. Mount temperature sensors to measure temperature of both the
tanks.
7. Controlling of these tanks is independent of inlet flow assuming
inlet flow to be constant.
20 | P a g e
Ladder Diagram to solve this problem:
Program Description:
RUNG001 is to control V2 Valve. This is operated whenever Low
level of Tank1 is detected or if Low level or high level both are not
detected.
RUNG002 is to control V4 valve. This is operated whenever
Temperature data of tank 1 is greater than or equal to 70o C.
Latching of V4 is not provided because it is independent of Inlet
valves. Even if the tank is half empty but temperature is more than
70oC, outlet valve of the tanks open.
Similarly RUNG003 and RUNG004 work and V3 and V5 are
operated.
21 | P a g e
Runtime Test Case:
Input Output Physical Elements
I:1/2 = 1 O:2/0 = 1 Open V2 Valve
I:1/3 = 1 O:2/0 = 0 Close V2 Valve
N7:0 ≥ 70 O:2/1 = 1 Open V4 Valve
N7:0 < 70 O:2/1 = 0 Close V4 Valve
I:1/4 = 1 O:2/2 = 1 Open V3 Valve
I:1/5 = 1 O:2/2 = 0 Close V3 Valve
N7:1 ≤ 20 O:2/3 = 1 Open V5 Valve
N7:1 > 20 O:2/3 = 0 Close V5 Valve
22 | P a g e
Problem Three:
Problem Description
Two tanks are connected with each other through a pipeline in series. Level
of both tanks is to be controlled. Implement this operation in PLC using Ladder
Diagram programming language.
Problem Diagram:
Diagram showing tanks in series operation.
23 | P a g e
Problem Solution:
1. Assume that the storage tank has more capacity than the
feeder tank. To measure level of both tanks, level
switches are installed.
2. Outlet valve is operated by another process and it is
operated according to the requirement. So outlet flow
varies. Inlet valve is to be operated by PLC to control the
level.
3. Use interlocking to control the inlet valve.
4. Connect Level Switches to the input module of PLC.
Connect inlet valve with the output module of PLC.
Here is PLC program to Control Level of Series Tanks, along with program
explanation and run time test cases.
List of Inputs and Outputs:
I:1/14 & I:1/15 = Start & Stop (Input)
I:1/0 = LHST1 high level switch of storage tank (Input)
I:1/1 = LLST1 low level switch of storage tank (Input)
I:1/2 = LHST2 high level switch of feeder tank (Input)
I:1/3 = LLST2 low level switch of feeder tank (Input)
O:2/0 = Inlet valve (Output)
24 | P a g e
Program Description:
1. RUNG000 is used for latching the bit B3:0/0 through which
Master Start and Stop can be performed. Memory Bit is used here
to save an output terminal.
2. RUNG001 performs controlling of Inlet Valve which is
connected to O: 2/0 of output module.
3. O:2/0 energizes when I:1/1 or I:1/3 goes high which is set by
Low level switch of storage tank or by low level switch of
feeder tank respectively.
4. Similarly it is closed when high level of storage and feeder
tank detected.
25 | P a g e
Problem Four:
Problem Description
A motor is connected to PLC. Run this motor in the Forward and Reverse
direction using Ladder Diagram programming language.
Problem Solution:
1. For any three-phase AC motor, reversing can be accomplished by
reversing any two leads. For single-phase motor, reversing start lead
with respect to the main leads. And for DC motor, reversing the field
leads with respect to the armature leads.
2. There are certain ways to reverse the motor. One is to use DPDT
(Double Poles, Double Throw) switch and another one is by using
Reversing Contactors.
3. DPDT switch is best suitable for reversing a small DC motors while
Reversing Contactor is used to reverse Three-Phase AC motors.
4. Single-phase motors are not widely used for reversing operation. In fact,
these are not even available widely with reversing capability.
5. As here we have a three-phase AC motor, reversing any two leads will
drive the motor in reverse direction.
6. Contactor is an electrical switch used for switching an electrical
power circuit.
7. Two magnetic contactors are used, one for forward connections and the
other for reverse connections.
8. Only Push Button switches are used to control the direction of this
three-phase AC motor.
9. We have the input commands to these Push Button switches which are
then internally processed by PLC and then there is the output terminal
which activates the corresponding relay to energize the relevant
magnetic contactors.
10. Configure forward and reverse wiring of the motor with contactors such
that forward contactor is connected directly in the normal direct phasing
of the motor terminal and reverse contactor is connected with two of the
motor terminals in the opposite phase.
11. When it is switched to reverse direction, forward rotation does not stop
instantaneously hence we have to determine what time it takes to
26 | P a g e
completely stop one particular direction. Then provide time delay of a
second or two and activate the other contactor.
PLC Program;
Here is PLC program to Drive Motor in Forward and Reverse Direction,
along with program explanation and run time test cases.
List of Inputs and Outputs
I:1/0 = Forward Start (Input)
I:1/1 = Reverse Start (Input)
I:1/2 = Stop (Input)
O:2/14 = Latched coil 1 for forward direction (Output)
O:2/0 & O:2/1 = Forward Contactor (Output)
T4:1 = Delay before forward direction (Timer)
O:2/15 = Latched coil 2 for reverse direction (Output)
O:2/2 & O:2/3 = Reverse Contactor (Output)
T4:0 = Delay before reverse direction (Timer)
27 | P a g e
Program Description:
Important thing to note here that basically programmers do not
provide time delay for such applications where motor has to be run in
forward and reverse directions.
But when motor supply is cut down, it has an actual breaking during
which its speed reduces and then comes to rest.
So assuming that the motor takes approximately 10secs to come down
to its rest state.
Suppose the motor is currently running in the forward direction.
While it is running in the forward direction, O:2/15 coil2 remains de-
energized and reverse action is not activated. TOF is used here so
input to T4:0 is true hence timer is not activated.
When I:1/1 is pressed, O:2/14 coil1 energizes making coil2 O:2/15 de-
energized.
When O:2/15 is de-energized, input to timer T4:1 goes true from false
and input to T4:0 goes false from true.
Since TOF is used, when input goes true to false, T4:0 is activated.
XIO of T4:0/DN is given to Reverse Coils (O:2/2 and O:2/3) are not
energized until timer count is completed. Completion of time delay
sets Done bit to low energizing Reversing Coils (O:2/2 and O:2/3).
Similar operation happens when motor is running in the reverse
direction and forward direction input is given.
28 | P a g e
Problem Five:
Problem Description
When a Car enters the hall, a certain sequence is to be followed
automatically. Steps are, 1) Soaping, 2) Washing, 3) Rinsing and 4) Drying.
Implement this process sequence in PLC using Ladder Diagram programming
language.
Problem Solution:
1. To detect the car automatically, load cells can be used, or any
other sensor such as Infrared Sensor can also beused.
2. Soaping, Washing, Rinsing and Drying are performed for a
particular time, hence to generate time delay for these outputs
become mandatory.
3. To operate this process, for soaping, washing, and drying, four
different timers are used.
IR sensor detects everything whatever restricts the signal but in load
cell, particular Low Level and High Level can be set to detect heavily
weighted cars only. Load Cell can be here more effective here than IR
sensors.
o PLC Program
Here is PLC program to Implement an Automatic Car-Wash Process, along
with program explanation and run time test cases.
List of Inputs and Outputs
I:1/0 = Master Start (Input)
I:1/1 = Car Detection (Input)
I:1/2 = Limit Switch, Conveyor (Input)
I:1/3 = Master Stop (Input)
O:2/0 = Master Coil (Output)
O:2/1 = Soap Sprinkler (Output)
O:2/2 = Washer (Output)
O:2/3 = Conveyor (Output)
O:2/4 = Dryer (Output)
T4:0 = Soaping Time (Timer)
T4:1 = Washing Time (Timer)
T4:2 = Drying Time (Timer)
29 | P a g e
Ladder Diagram for Automatic Car Wash Process:
30 | P a g e
Program Description:
RUNG000: This rung is used to create a Master Coil, in other
words, Master Start and Stop which controls the entire
system. To activate this system, this Master Start has to be
pressed.
RUNG001 is used to activate Soaping process which is
operated by a switch input I: 1/1, when car is detected, Soap
sprinklers are activated. And RUNG002 is used to generate a
time delay which terminates the Soaping process by using
XIO of T4:0/DN bit after a definite time.
As soon as Soaping is done, RUNG003 has Washing outputs
which washes the car by water sprinklers and RUNG004 is
used to generate a time delay which terminates the washing
process by using XIO of T4:1/DN bit after a definite time.
RUNG005 is activated as soon as the washing process is
done. It has motor coil’s output to run the conveyer on
which car moves to the last step of car washing, drying of
car. At the end of the conveyor, a limit switch is mounted
which stops the conveyor and till then Drying is done
through RUNG006 and RUNG007 similar to previous
operations.
31 | P a g e
VArIAble frequency drIVe
32 | P a g e
Let us assume that the drive is operating on a 480V power system. The 480V
rating is “rms” or root-mean-squared. The peaks on a 480V system are 679V. As
you can see, the VFD dc bus has a dc voltage with an AC ripple. The voltage runs
between approximately 580V and 680V.
33 | P a g e
We can get rid of the AC ripple on the DC bus by adding a capacitor. A
capacitor operates in a similar fashion to a reservoir or accumulator in a
plumbing system. This capacitor absorbs the ac ripple and delivers a smooth dc
voltage. The AC ripple on the DC bus is typically less than 3 Volts. Thus, the
voltage on the DC bus becomes “approximately” 650VDC. The actual voltage will
depend on the voltage level of the AC line feeding the drive, the level of voltage
unbalance on the power system, the motor load, the impedance of the power
system, and any reactors or harmonic filters on the drive.
Note that in a real VFD, the switches shown would actually be transistors.
When we close one of the top switches in the inverter, that phase of the
motor is connected to the positive dc bus and the voltage on that phase becomes
positive. When we close one of the bottom switches in the converter, that phase is
connected to the negative dc bus and becomes negative. Thus, we can make any
phase on the motor become positive or negative at will and can thus generate any
frequency that we want. So, we can make any phase be positive, negative, or zero.
34 | P a g e
The blue sine-wave is shown for comparison purposes only. The drive does
not generate this sine wave.
Notice that the output from the VFD is a “rectangular” wave form. VFD’s
do not produce a sinusoidal output. This rectangular waveform would not be a
good choice for a general purpose distribution system, but is perfectly adequate for
a motor.
If we want to reduce the motor frequency to 30 Hz, then we simply switch the
inverter output transistors more slowly. But, if we reduce the frequency to 30Hz,
then we must also reduce the voltage to 240V in order to maintain the V/Hz ratio
(see the VFD Motor Theory presentation for more on this). How are we going to
reduce the voltage if the only voltage we have is 650VDC?
35 | P a g e
See the Pictures below to understand what the different parts of a
drive look like.
36 | P a g e
Advantages of VFD:
Dynamic braking: Dynamic braking stops the system more quickly than
coasting
Highly efficient
Low power consumption
Small space consumption
Low cost
Easy to use
Highly specific
37 | P a g e
scAdA
Supervisory control and data acquisition (SCADA) is a system of software
and hardware elements that allows industrial organizations to:
SCADA systems are crucial for industrial organizations since they help to
maintain efficiency, process data for smarter decisions, and communicate system
issues to help mitigate downtime.
For example, the SCADA system quickly notifies an operator that a batch of
product is showing a high incidence of errors. The operator pauses the operation
and views the SCADA system data via an HMI to determine the cause of the issue.
The operator reviews the data and discovers that Machine 4 was malfunctioning.
The SCADA system’s ability to notify the operator of an issue helps him to resolve
it and prevent further loss of product.
38 | P a g e
Basic SCADA Architecture:
Energy
Food and beverage
Manufacturing
Oil and gas
Power
Recycling
Transportation
Water and waste water
And many more
39 | P a g e
HumAn-mAcHIne InterfAce
HMI Defined:
A Human-Machine Interface (HMI) is a user interface or dashboard that
connects a person to a machine, system, or device. While the term can technically
be applied to any screen that allows a user to interact with a device, HMI is most
commonly used in the context of an industrial process.
Although HMI is the most common term for this technology, it is sometimes
referred to as Man-Machine Interface (MMI), Operator Interface Terminal (OIT),
Local Operator Interface (LOI), or Operator Terminal (OT). HMI and Graphical
User Interface (GUI) are similar but not synonymous: GUIs are often leveraged
within HMIs for visualization capabilities.
Similar to how you would interact with your air-conditioning system to check
and control the temperature in your house, a plant-floor operator might use an
40 | P a g e
HMI to check and control the temperature of an industrial water tank, or to see if a
certain pump in the facility is currently running.
HMI for Applied Tech Systems (ATS) that displays and monitors work
orders for an airplane-production floor at a university facility.This screen shows
work orders (top half of the screen), KPIs (bottom left), and OEE (bottom right).
41 | P a g e
This HMI screen built for Mountain Regional Water District shows an
overview of the district's system.
HMI display from Pioneer Natural Resources. This screen visualizes gas
information for a meter, and monitors data like tank levels, oil volumes, etc.
42 | P a g e
Who Uses HMI?
HMI technology is used by almost all industrial organizations, as well asa
wide range of other companies, to interact with their machines and optimize their
industrial processes.
Energy
Food and beverage
Manufacturing
Oil and gas
Power
Recycling
Transportation
Water and wastewater
And many more
The most common roles that interact with HMIs are operators, system
integrators, and engineers, particularly control system engineers. HMIs are
essential resources for these professionals, who use them to review and monitor
processes, diagnose problems, and visualize data.
43 | P a g e
conclusIon
SCADA is used for the constructive working, using a SCADA system for
control ensures a common framework not only for the development of the specific
applications but also for operationg the detectors. Operators experience the same
“look and feel” whatever part of the experiment they control. However, this aspect
also depends to a significant extent on proper enginnering.
44 | P a g e