3 WORKING PRINCIPLE
3.2 Typical Output Signals
When plotted against the displacement, the signals will have a sinusoidal shape and vary periodi-
cally, if the displacement extends over several periods of the scale. The period corresponds to the
scale pitch of 20 µm. METIRIO will output two incremental signals which are phase shifted by π/2.
These two incremental analog signals, can be analyzed by the motion controller. For example in a
Lissajous representation, the two signals will form a circle in case of an ideal optical and electrical
alignment. From the actual phase the actual incremental displacement can be directly calculated
by the controller according to the equation:
X
P
=
P · ϕ
2π
=
P
2π
· arctan
U
S
U
C
(3.1)
where P is the pitch of the scale, which is always 20 µm for METIRIO encoders. The position X
P
will
vary periodically between 0 and 20 µm. In order to obtain a continuous position, the controller
needs to count and increment the integer period count number n each time, the phase crosses
zero. Finally the displacement is:
X = n · P + X
P
. (3.2)
We are used to looking at electrical signals as a function of time, for example when they are
Figure 3.2: Illustration of the output signals of a METIRIO Encoder and their lissajous representa-
tion for perfect optical alignment and proper gain-settings.
displayed with an oscilloscope. However, the signals in figure 3.2 are shown as a function of the
relative displacement between the readhead and the scale. A sinusoidal shape as a function of
time will only be observed for a constant movement speed.
When displayed as a function of time, the encoder signals can have any shape. If no move-
ment occurs, they can even be DC-signals.
Each time the encoder passes a reference mark, a square wave signal is generated. The width and
position of this signal can be adjusted via the I
2
C interface. The reference mark width should be
a bit less than one period P and the position should be centered to the upper crosspoint of the
www.smaract.com | Page 20Metirio Encoder User Manual