W01 Introduction
W01 Introduction
Fundamentals of Automation
2
Department of Mechatronics Engineering
1
Types of Automation Types of Automation
HOME AUTOMATION OFFICE AUTOMATION
2
Automation System Examples Automation System Examples
Actuators Actuators
Electric Motors Pneumatic Actuators
HVAC Actuator Grippers Valves
Solenoid
3
Feedback / Sensors Sensors
Example of feedback
Picking up an egg. Pressure
Heat
Light
If the gripper goes too far, Magnetic
Infrared
it breaks the egg. Force
Acceleration
If the gripper does not go far enough, it doesn’t
Linear or rotational velocity
pick the egg up. Torque
Inductive/Position
If the gripper ”can feel” when it touches the egg, it …….
can pick the egg up every time.
Department of Mechatronics Engineering 19 Department of Mechatronics Engineering 20
Sensors Sensors
Automation refers to control and control requires measurement, so sensors are a must for SMART HEALTH APPs
industrial automation systems
Sensors Sensors
CONVENTIONAL VEHICLE AUTONOMOUS VEHICLE
4
Sensors Sensors
Specs or Features of Sensors Analog
Sensors Sensors
Digital Analog/Digital Conversion
An digital signal is one which is changes in The big problem is the real world is essentially Analog and
discrete steps between two limits. computers work digitally. So, we need to convert
That means it can only have certain values at • from Analog to Digital
certain times. • to get data into the computer/CPU.
• from Digital to Analog
• to get information out of the computer/CPU.
This is one of the tasks carried out by the automation
systems
5
PLC
PLC PLC
PLC is the heart of the automation system. • PLCs are optimized for control tasks and the
PLC is a special form of microprocessor-based industrial environment.
controller. • PLCs are rugged and designed to withstand
PLC uses programmable memory to store vibrations, temperature, humidity, and noise.
instructions and to implement functions such as • PLCs have interfacing for inputs and outputs
logic, sequencing, timing, counting, and already inside the controller
arithmetic in order to control machines and • PLCs are easily programmed and have an
processes. easily understood programming language
PLCs
Why are PLCs so common?
• They are cost-effective
• They are flexible, reliable and compact
• They have significant advantages over traditional
control systems based on relay or pneumatics
6
PLCs
Advantages Over Traditional Control Systems
PLCs PLCs
Why 24V?
What tasks do PLCs perform?
• The logic control tasks such as interlocking, sequencing, timing and 1. Safety: 24 VDC is not deadly in case of short circuit. IEC 61131-2
standart
counting (previously undertaken with relays or pneumatics) 2. Eliminate high current in the system: All Electronic devices in "Programmable
industry have a minimum power consumption. it can be provided controllers - Part 2:
by using low voltage & high current / low current & high voltage. Equipment
• In addition, PLCs can perform a variety of calculation, communication requirements and
tests"
and monitoring tasks 3. Noise Prevention: To be able to tolerate voltage fluctuations you
need higher voltage running in your system.
PLCs PLCs
Type of PLC - Compact Type of PLC - Modular
TECOMAT
TC600
Omron
Omron
Mitsubishi
Mitsubishi
Zelio
Eaton
Department of Mechatronics Engineering 41 Department of Mechatronics Engineering 42
7
PLCs PLCs
Type of PLC – Modular (Small) Basic PLC Structure
Outputs & Power Supply
Communication
Ports (RS-485)
courtesy ABB
courtesy Backmann
mounted on rail,
24V supply
cheaper
not water-proof,
no ventilator
Inputs
extensible by a parallel bus (flat cable or rail)
Internal Architecture
Department of Mechatronics Engineering 47 Department of Mechatronics Engineering 48
8
BASIC ARCHITECTURE of
BASIC ARCHITECTURE
Automation
CPU/PLC Input/Output Unit:
The input/output unit provides the interface between
the system and the outside world, allowing for
connections to be made through input/output channels
to input devices such as sensors and output devices such
as motors and solenoids.
Every input/output point has a unique address that can
be used by the CPU
Department of Mechatronics Engineering 49 Department of Mechatronics Engineering 50
The input/output channels provide isolation and signal PLC Input Devices
Push buttons
conditioning functions so that sensors and actuators can
Switches (limit switches, level switches, etc.)
often be directly connected to them without the need Sensors
PLC Output Devices
for other circuitry. ...
Relay contacts
Electrical isolation Solenoid valves
is usually by means of Signal devices (such as lamps, alarms, etc.)
Motors
optoisolators (optocouplers)
…
Department of Mechatronics Engineering 51 Department of Mechatronics Engineering 52
Sourcing Sinking
Sourcing Sinking
Department of Mechatronics Engineering 53 Department of Mechatronics Engineering 54
9
BASIC ARCHITECTURE Relay & Transistor
Relay type of output
Input/Output (I/O) Modules
Input/Output Unit: Output modules convert control signals from the CPU into
digital or analog values that can be used to control various
Outputs are specified as output devices.
relay type (the signal from the PLC output is used to Common output voltage is 24 V, outputs are often specified
as being of relay type, or transistor type .
operate a relay and is able to switch currents of the With the relay type, the signal from PLC output is used to
order of a few amperes in an external circuit. ) operate a relay and so is able to switch currents of the order
of few amperes (i.e. 10 A) in an external circuit and can be
transistor type (uses a transistor to switch current used for both AC and DC switching. Relays are, however,
relatively slow to operate.
through the external circuit. This gives a considerably The transistor type of output uses a transistor to switch
Transistor form of output
faster switching action. ) current through the external circuit. This gives a faster
switching actioni, however transistor output can switch
max. 0.3A.
triac type (can be used to control external loads that are
connected to the AC power supply ) Opto-isolators are used with transistor switches to provide
isolation between the external circuit and the PLC. The
transistor output is only for DC switching.
PLCs PLCs
Transistor Output Modules
PLC Wiring: Relay Output
A transistor output is a solid-state device
that handles small to medium amount of
current. Most transistor outputs in our
PLC range can only handle DC current up
to the power supply voltage of the PLC.
(i.e. 24 VDC).
PLCs PLCs
NPN and PNP PNP
NPN and PNP
NPN and PNP are directional attributes of solid-state transistors.
IOs can 'sink' current (also known as positive logic) and can 'source' current (also
known as negative logic).
NPN
10
BASIC ARCHITECTURE of
PLCs
Automation
NPN and PNP
POWER SUPPLY
Switches Inductive
Proximity THERMOCOUPLE Any Digital Sensors
Relays Pots
BOILERS LAMP
SOLENOID VALVE
11
PLCs
The signal chain within a PLC
67
Department of Mechatronics Engineering 68
PLCs
Selecting a PLC - what matters?
• Inputs/Outputs • Functions required
– How many Inputs/Outputs? including – PID
embedded, local expansion, and networked I/O – PTO/PWM (Pulse Train Output/Pulse Width Modulated)
• 10, 16, 20, 32, 138, 156, >256 – Data Logging
– How many Discrete vs. – Messaging between PLC’s
Analog – Math Calculations
12