1
Part
I
Automa0on
and
Its
Components
Automa0on
-
Wikipedia
Automa0on
is
the
use
of
control
systems
and
informa0on
technologies
to
reduce
the
need
for
human
work
in
the
produc0on
of
goods
and
services.
In
the
scope
of
industrializa0on,
automa0on
is
a
step
beyond
mechaniza0on.
Whereas
mechaniza0on
provided
human
operators
with
machinery
to
assist
them
with
the
muscular
requirements
of
work,
automa0on
greatly
decreases
the
need
for
human
sensory
and
mental
requirements
as
well.
Automa0on
plays
an
increasingly
important
role
in
the
world
economy
and
in
daily
experience.
Automa0on
has
had
a
notable
impact
in
a
wide
range
of
industries
beyond
manufacturing
(where
it
began).
Once-ubiquitous
telephone
operators
have
been
replaced
largely
by
automated
telephone
switchboards
and
answering
machines.
Medical
processes
such
as
primary
screening
in
electrocardiography
or
radiography
and
laboratory
analysis
of
human
genes,
sera,
cells,
and
0ssues
are
carried
out
at
much
greater
speed
and
accuracy
by
automated
systems.
Automated
teller
machines
have
reduced
the
need
for
bank
visits
to
obtain
cash
and
carry
out
transac0ons.
In
general,
automa0on
has
been
responsible
for
the
shiI
in
the
world
economy
from
industrial
jobs
to
service
jobs
in
the
20th
and
21st
centuries.
Automa0on
Tools
Engineers
now
can
have
numerical
control
over
automated
devices;
e.g.,
CAD
or
CAM.
Informa0on
technology,
together
with
industrial
machinery
and
processes,
can
assist
in
the
design,
implementa0on,
and
monitoring
of
control
systems.
EOne
example
of
an
industrial
control
system
is
a
programmable
logic
controller
(PLC).
An
automated
online
assistant
on
a
website,
with
an
avatar
for
enhanced
humancomputer
interac0on.
Human-machine
interfaces
(HMI).
In
industrial
process
and
manufacturing
environments,
they
are
called
operators
or
something
similar.
In
boiler
houses
and
central
u0li0es
departments
they
are
called
sta0onary
engineers.
Dierent
types
of
automa0on
tools
exist:
*
ANN
-
Ar0cial
neural
network
*
DCS
-
Distributed
Control
System
*
HMI
-
Human
Machine
Interface
*
SCADA
-
Supervisory
Control
and
Data
Acquisi0on
*
PLC
-
Programmable
Logic
Controller
*
PAC
-
Programmable
automa0on
controller
*
Instrumenta0on
*
Mo0on
control
*
Robo0cs
Mo0on
Control
Mo0on
control
is
a
sub-eld
of
automa0on,
in
which
the
posi0on
and/or
velocity
of
machines
are
controlled
using
some
type
of
device
such
as
a
hydraulic
pump,
linear
actuator,
or
an
electric
motor,
generally
a
servo.
Mo0on
control
is
an
important
part
of
robo0cs
and
CNC
machine
tools,
however
it
is
more
complex
than
in
the
use
of
specialized
machines,
where
the
kinema0cs
are
usually
simpler.
The
la]er
is
oIen
called
General
Mo0on
Control
(GMC).
Mo0on
control
is
widely
used
in
the
packaging,
prin0ng,
tex0le,
semiconductor
produc0on,
and
assembly
industries.
4
A
mo0on
controller
to
generate
set
points
(the
desired
output
or
mo0on
prole)
and
to
close
a
posi0on
and/or
velocity
feedback
loop.
A
drive
or
amplier
to
transform
the
control
signal
from
the
mo0on
controller
into
a
higher
power
electrical
current
or
voltage
that
is
presented
to
the
actuator.
Newer
"intelligent"
drives
can
close
the
posi0on
and
velocity
loops
internally,
resul0ng
in
much
more
accurate
control.
An
actuator
such
as
a
hydraulic
pump,
air
cylinder,
linear
actuator,
or
electric
motor
for
output
mo0on.
One
or
more
feedback
sensors
such
as
op0cal
encoders,
resolvers
or
Hall
eect
devices
to
return
the
posi0on
and/or
velocity
of
the
actuator
to
the
mo0on
controller
in
order
to
close
the
posi0on
and/or
velocity
control
loops.
Mechanical
components
to
transform
the
mo0on
of
the
actuator
into
the
desired
mo0on,
including:
gears,
shaIing,
ball
screw,
belts,
linkages,
and
linear
and
rota0onal
bearings.
The
interface
between
the
mo0on
controller
and
drives
it
controls,
such
as
Pronet
IRT,
Ethernet
Powerlink,
and
EtherCAT
Common
control
func0ons
include:
Velocity
control.
Posi0on
(point-to-point)
control:
There
are
several
methods
for
compu0ng
a
mo0on
trajectory.
These
are
oIen
based
on
the
velocity
proles
of
a
move
such
as
a
triangular
prole,
trapezoidal
prole,
or
an
S-curve
prole.
Pressure
or
Force
control.
Electronic
gearing
(or
cam
proling):
The
posi0on
of
a
slave
axis
is
mathema0cally
linked
to
the
posi0on
of
a
master
axis.
A
good
example
of
this
would
be
in
a
system
where
two
rota0ng
drums
turn
at
a
given
ra0o
to
each
other.
A
more
advanced
case
of
electronic
gearing
is
electronic
camming.
With
electronic
camming,
a
slave
axis
follows
a
prole
that
is
a
func0on
of
the
master
posi0on.
This
prole
need
not
be
salted,
but
it
must
be
an
animated
func0on.
Numerical
Control
Numerical
control
(NC)
refers
to
the
automa0on
of
machine
tools
that
are
operated
by
abstractly
programmed
commands
encoded
on
a
storage
medium,
as
opposed
to
manually
controlled
via
handwheels
or
levers,
or
mechanically
automated
via
cams
alone.
The
rst
NC
machines
were
built
in
the
1940s
and
1950s,
based
on
exis0ng
tools
that
were
modied
with
motors
that
moved
the
controls
to
follow
points
fed
into
the
system
on
punched
tape.
These
early
servomechanisms
were
rapidly
augmented
with
analog
and
digital
computers,
crea0ng
the
modern
computer
numerical
control
(CNC)
machine
tools
that
have
revolu0onized
the
machining
processes.
In
modern
CNC
systems,
end-to-end
component
design
is
highly
automated
using
computer-aided
design
(CAD)
and
computer-aided
manufacturing
(CAM)
programs.
The
programs
produce
a
computer
le
that
is
interpreted
to
extract
the
commands
needed
to
operate
a
par0cular
machine
via
a
postprocessor,
and
then
loaded
into
the
CNC
machines
for
produc0on.
Since
any
par0cular
component
might
require
the
use
of
a
number
of
dierent
tools-drills,
saws,
etc.,
modern
machines
oIen
combine
mul0ple
tools
into
a
single
"cell".
In
other
cases,
a
number
of
dierent
machines
are
used
with
an
external
controller
and
human
or
robo0c
operators
that
move
the
component
from
machine
to
machine.
In
either
case,
the
complex
series
of
steps
needed
to
produce
any
part
is
highly
automated
and
produces
a
part
that
closely
matches
the
original
CAD
design.
Robo0cs
Transistors
Transistors
have
three
components:
Base
Emi]er
Collector
These
components
are
made
of
semiconductor
material,
e.g.
Silicon
and
germanium.
There
are
two
types
of
Transistors
(Bipolar
Junc9ons):
NPN
PNP
The
dierence
is
the
type
of
material
and
the
direc9on
of
current
ow.
P-
posi.ve
material
with
holes
N-nega.ve
material
(with
free
electrons)
10
Barrier
Poten.als:
Electrons
are
a]racted
to
P
material
and
occupy
holes
at
the
junc0on.
This
creates
a
nega0ve
voltage
and
prevents
the
other
electrons
from
driIing
to
the
P
material.
Likewise,
the
holes
created
at
the
junc0on
in
the
N
material
will
set
up
a
posi0ve
poten0al.
The
eect
of
this
ac0on
is
to
set
up
a
Barrier
Poten0al
at
the
junc0on,
that
prevents
further
electrical
ac0vity.
11
Forward
Biasing
A
P-N
Junc9on
can
be
made
to
conduct
by
applying
a
voltage
across
the
material
as
shown
below:
The posi9ve voltage tends to repel holes in P material toward the Poten9al Barrier. Similarly, the nega9ve voltage tends to repel electrons toward the Poten9al Barrier. As the voltage is increased, the Poten9al Barrier will overcome, and electrons and holes will tend to ow. The above act is called Forward Biasing. Up to the Barrier Poten9al, very liHle current ows. But as soon as this Barrier is reached (for Silicon and Germanium Poten9al Barriers are 0.7 and 0.3 volts), the semiconductor conduc9vity increases drama9cally.
13
Reverse
Biasing
The
Polarity
of
the
voltage
source
is
reversed.
Here,
the
barrier
poten0al
is
enlarged.
The
electrons
in
the
N
material
will
be
drawn
away
from
the
P-N
junc0on,
as
will
the
holes
in
the
P- material.
This
tends
to
increase
the
resistance
at
the
junc0on.
14
15
16
Vout 0 volts; No bias = 0 5 volts = 1 5 volts; Biased = 1 0.4 volts = 0 Transistors combined in circuits with other electronic devices form digital circuits. The simplest of the digital circuits is called the logic gate.
Vin
Truth Table
17
19
T = K t I a = KT I a
Ia
= magnetic flux (constant for permanent magnet) = armature current
K t = proportionality constant
The magnetic flux comes from stator.
20
At zero speed, when the motor is beginning its rotation, the current developed is proportional to the applied voltage and the resistance in the armature:
21
Now, when a conductor moves through a magnetic field, there is a generator effect, that is a voltage appears across the conductor. This voltage has a polarity that is opposite to the applied voltage and known as back electromotive force (EMF). In general: EB = Back EMF = K B a
K B = proportionality constant
a
After Rotation has begun,
= Armature speed
ia =
Then
V E B V K B a = Ra Ra
Torque speed relationship
T = KT i a = KT
V K B a Ra
for = 0 , T = V for
= max T = 0
Ra
Torque
Speed
22
Loading dc motors
Primary loads on motors are friction, inertia, and constant or varying torque loads. For a rotating system, in the absence of outside forces: No Friction: T = I where I = inertia With Friction: Work= T Power= T
T = I + F
where F = friction
Work = F r = Frd = T
23
Power Transmission
Gear trains, lead screws
Seen by the motor
w table F1
gear
F1 = force on gear 1
motor
TL = F1r1
By laws of conservation and no friction in gear train.
24
Tv = f = (constant ) (speed )
G = r1
Tref = TL G
1 = M or G
gear train reduces the torque of the load as seen by the motor.
M = 1G
T = I
I TM TL I = ref M = L 1 r2 r1 r2 r1
G 1
r I ref = I L 1 2 I ref = I L G 2 M r1
With gear train, smaller motors can be used because of reduced inertia and torque requirements on the motor side.
25
Dc motors are typically capable of high rotational velocities and relatively low torque.
Joint or load Motor
Feq = Fa + r 2 F1
J eq and Fa are inertia and friction of motor J1 and F1 and are inertia and friction of the load
No friction for gears is assumed
26
R1
Potentiometer V
Here,
K T (V k B ) v ia = ,T = Ra + R1 Ra + R1
27
Comparator
Amplifier
Signal flow
FEEDBACK
G
Amplifier derives the motor. It could be a single transistor or more than one transistor. The generator is coupled to the motor shaft so that it emits a voltage proportional to its angular velocity (like tachometer). The comparator compared the voltage with what that voltage ought to be if the motor is rotating at desired speed. This is desired speed is indicated by the command signal. The comparator then adjusts the amplifier output to the motor as required to adjust the motor speed.
28
Stepping Motors
Inherently digital devices; incremental positioning devices. A magnetic field rotates around a stator.
N N
S N
Avg. North
N S S Avg. South
29
30
discrete
con0nuous
Mech.
Elec.
Opt.
Mech.
Elec. Acous0cal
31
State
changes
based
on
occurrence
of
some
events,
for
example,
passing
a
part
by
a
point
A
at
a
conveyor.
Con0nuous
sensors
32
Photoelectric
Sensors
Two
main
components:
LED
+V
Amplier
Oscillator
power
in
Emi]er
Receiver
Demodulator
Signal
LED:
Light
emiOng
diode;
emits
light
when
energized
with
applica9on
of
voltage
Receiver
is
a
photo-sensi9ve
transistor.
It
is
biased
from
the
light
emiHed
from
LED.
33
34
Retro-reec.ve sensing mode Emi]er and receiver are housed in the same package. A target on the other side to return the light. Not good when object is highly reec0ve.
35
36
EmiHer and receiver in the same package; focused target; object returns light to the receiver; can focus detec9on on a specic area.
Sensor
Arrays
To detect height of objects, for example, array of photo-electric or proximity sensors can be put together.
37
38
A/D: Device transforming a con?nuous signal into digital signal. The following steps are followed:
1. Signal
periodically
sampled
to
form
a
series
of
discrete
0me
samples.
2. Each
discrete
analog
sample
falls
within
one
of
nitely
many
predened
amplitude
levels
called
quan0zing
levels.
3. Amplitude
levels
are
encoded
into
digital
form.
A
D
P
O
R
T
A
Computer
P
O
R
T
B
D
A
Digital In
Out Digital
39
Ini0ate 0ming
Pulse
generator
transmit
receive
pulse generator
2d = t v
1 v 2 t v = speed of sound d= t = time
Pulses of sound to measure distance. When pulse is generated, a 0mer is also started coun0ng clock cycles. Receiver receives the sound reec0on. Timer is stopped and distance calculated.
40
Light is transmi]ed through a slo]ed or ruled disk on a rota0ng shaI onto photo- detectors that converts transmi]ed light into electrical signals. Opaque and transparent areas of the disk alterna0vely occlude and reveal the light source as the disk rotates. Varia0ons in photo-detector outputs are then processed and interpreted as changes in shaI posi0on.
41
Each bit is generated by a photo-detector according to the arrangement of opaque areas on the disk. The outer disk ( b 2 ) has only one black and one white segment, thus indica0ng 180 rota0on. The b1 ring has two black and two white segments, thus has a resolu0on of 90 n 0 1 2 3 4 5 7
o
0-90 45-90 90-135 135-180 180-225 225-270 270-315 315-0
b2 0
0 0 0 1 1 1 1
b1
0 0 1 1 0 0 1 1
b3
0 1 0 1 0 1 0 1
This
arrangement
is
not
used
in
prac9ce
because
6 more
than
one
bit
changes
as
we
cross
a
boundary.
42
Ex:
To
move
from
region
3
to
4,
the
binary
output
changes
from
011
to
100.
Since
there
is
no
guarantee
for
synchroniza0on
of
these
changes,
a
condi0on
like
111
may
occur.
Alterna0ve
approach
is
to
have
a
coding
scheme
where
only
one
bit
changes
at
a
0me.
b3 b2 b1 n
0-45
Grey
code
0 0 0 0
45-90 1 0 0 1
2 3 4 5 6 7
90-135 135-180 180-225 225-270 270-315 315-0
0 0 1 1 1 1
1 1 0 0 1 1
0 1 0 1 0 1
Absolute
angle
encoders
are
available
with
as
many
as
16
output
bits.
The
code
generated
repeats
a[er
one
revolu9on.
High
resolu9on
requires
large
no.
of
detectors
and
bits
(rings).
43
An incremental indica0on of disk rota0on may be obtained by using two bits of binary output. Therefore, only two detectors are required.
44
Posi.ve
direc.on
1
A
0
1
B
0
delay
t
t
count up
At
each
transi0on
period,
a
pulse
is
generated
and
be
input
to
the
counter.
The
output
of
counter
can
be
binary.
For
every
rota0on
of
there
will
be
4
signals
so
the
output
of
binary
will
be
incremented
by
4.
Resolu0on
of
the
encoder
is
4
46
Nega.ve
direc.on
A
1
0
delay
t
1
B
0
t
count down
47