;\78
15. Some Applications
of
Controlled Electrical Drives
(~xclude
ambiguity (Gray code); a similar effect is achieved with a synchro-
Ilising signal from
the
channel with the highest resolution.
Another somewhat simpler sensor
is
of the incremental type, Fig. 15.11 b,
which generates a forward or reverse pulse for every increment of traveI; by
counting these pulses,
the
actual
position is obtained, provided
the
counter
ltas been initially set by a
separate
calibrating pulse or some
other
accurate
!losition measurement. Incremental sensors which normally function
on
a
Illagnetic or optical basis,
are
sometimes considered unsatisfactory because
pulses might be lost, causing a corresponding undetected position error until
lhe calibrating position is passed again. However,
with
todays sensors, using
LED
light sources
and
the
associated integrated circuitry, incremental sensors
can be regarded as very reliable components;
if
desired,
batt
ery-buffering of
I.he
counter can be provided.
E =
f(xb/
x
a
}
~
are
tan
X
b
/ x
a
úl
=
ôe
M
Microprocessor
NE
-1
-$-~
.
In
cr
2
12
Incr
"O,
~
1 MIO
11eV
~
4096
rrev
Fil{.
1r..
12.
1':IIIIl1'i
'li
Jl I~
Lhe f""olut.ioll
of
ali
illcr<:lIlC
~
III
.
ltl
",
II
("
od<:1"
I)
.v f
\ludctl'
,I
IC"
illl.'
~
J'p()I
l\
,
till1'
generation
Counter
tr
'nx
Analogue
sensor signals
slg asignxb
/
~.
II
I
I~
I
-
__
I
NE
Digital
sensor signals
15.2 Linear Position
Contrai
379
The
function
of
an
incremental sensor for angle measurements is explained
with
the
help
of
Fig. 15.12.
There
are two optical
or
magnetic measuring
channels producing out-of-phase signals, approximating
X
a
= xsin N e and
Xb = X cos N e, where e is
the
angle
to
be measured
and
N is
the
number
2
12
of periods
per
revolution
of
the
sensor shaft; a typical value is N = , By
clipping these signals, two orthogonal square wave functions sign
X
a
and
sign
Xb
are
created. Whenever one of these functions is changing sign, an incre-
mental
motion
of
Lk
=
±21r/4N
is registered, where
the
sense
of
rotation
is derived from
the
direction
of
the
signal change and
the
value
of
the
other
2
12
signal.
With
N = = 4096, this corresponds
to
an angular resolution of
2-
14
or
about
1/16000
of
one revolution
of
the
sensor shaft.
By analogue interpolation, also shown in Fig.
15,12, this resolution can be
greatly improved
[845].
The
signals X
a
and
Xb
are not be exactly sinusoidal
and
the
amplitude
x may depend on
the
speed of rotation w =
de/dt,
but
by forming
the
ratio
Xa/Xb
and
computing arctanXa/Xb,
severallower
bits
of
angular
position measurement are generated, increasing the
total
resolu-
tion to
18
to
20 bit,
or
250 000
to
1 Mio increments per revolution. While
the
dependability of
the
additional bits may be somewhat in doubt,
the
ana-
logue interpolation serves as a most welcome increase
of
the measurement
bandwidth
when detecting slow rotational speeds.
With
both
types of position sensors
it
is easy to perform a digital velocity
measurement. By sampling in
short
and
precise time intervals T
the
position
signal available
at
the
output
of
the
encoder
or
the
counter
and
subtracting
subsequent readings,
the
average velo city in
the
last sampling interval is
obtained.
v(v +
1)
= T
1
[x(v +
1)
- x(v)] ; (15.4)
correspondingly,
an
acceleration signal can be detected from subsequent
ve-
lo city measurements,
a(v +
1)
= T
1
[v(v +
1)
- v(v)] = T2
1
[x(v +
1)
- 2x(v) + x(v -
1)]
.
(IS
.!:!
)
With
a given sampling interval T
the
resolution
of
a digital speed
measur<
~
ment
is reduced
at
low speed because fewer angular increments
are
a
ee
n
mulated
in each period
Ti
the
limit is reached when only a
few
counts
aJ"(
~
providing a very coarse representation
of
speed with questionable
vaI
ue. Thiii
then
calIs for either increasing the resolution of the sensor, for instaooé
by
analogtlP intcrpolation, 01' enlarging tlte sa.mpling period. This could
be
dOJlI'
eitlwr
hy
dlOOliillf.1:
a.
IIlultiplc pe
ri
od
mT,
1.1lUR
reducing the bandwidl.h
01'
LIt(:
llW:L
H
\ll'(~IIWJlL,
01'
\)y
eOllvC'.ftilll{
1'/'11111
n
ff(
~
q\lcll('.y
-
bascd
nH~a
S
llreJllCIlt"
;a
r;
d
f~
~
("
rilw",
Lo
a
Lili/('
-
hn
H
(:d
Ill('I
I.H
\Ir
'
I~
II/(,IIL,
wl!('n'
I.I/('
iul.
c
rv;a.ls
Iwt-w('cll
Hllr
("('
HA
iv
c
1I.
1I1
\
"l
a
l"
,,"I
:l
('rlI
Uf
'
"""111.".1
w l l,h
IL
li
l,ro
,
hl,
' Ili,(
Ia
fl'l''i"''II('Y
l"<'f
on'Il('(' a
llcl
Lho
n'
llI
dl
, Iii i
Il
V
'·II.,'c1
rol'
,,1,1 1
1111
1
111'.
1\
11"
..
,,,1
ili
/\" III ,
VVil.h
I\. II l
ic
")"J("""1
i'"
1."1' ,