English
Language : 

GH65C11-C-PD Datasheet, PDF (1/2 Pages) Grayhill, Inc – Optical Encoder Engineering Information
Optical Encoder Engineering Information
QUADRATURE
All Grayhill encoders use quadrature
output code, which is the same as a 2-bit,
repeating gray code. Quadrature is the most
popular and cost effective output format
because only two detectors are required.
However, quadrature can only be used in ap-
plications where incremental data is required.
Absolute positioning is not possible because
the code repeats every four positions. In other
words, changes in the encoder in magnitude
and direction can be determined, but the
actual position of the encoder cannot. In most
applications this is not a problem.
In a quadrature rotary optical encoder
two detectors are used to provide outputs,
“A” and “B”. The code rotor either blocks the
infrared light or allows it to pass to the detec-
tors. As the shaft turns the rotor, the outputs
change state to indicate position. The result-
ing output is two square waves which are 90°
out of phase.
OPEN COLLECTOR OUTPUT
The open collector output is typical of
the Series 61B, 61C and 62, and is the sim-
plest form of output available. The first step
in interfacing with open collector outputs is to
provide an external pull-up resistor from each
output to the power source. These pull-up
resistors provide the output with the high-state
voltage when the phototransistor is “off”.
In a phototransistor, base current is
supplied when light strikes the detector, which
effectively grounds the output. Typically, the
detector is operated in saturation. This means
sufficient light is provided to completely sink,
or ground, all the current provided by the
pull up resistor plus that of the interfacing
electronics. In the logic high state, the light
is sufficiently blocked by the rotor and the
detector functions like an open circuit. The
pull up resistor then provides sourcing current
to the interfacing electronics. This “on” or “off”
digital arrangement allows the open collec-
tor to interface with popular integrated circuit
technologies such as TTL, TTL LS, CMOS,
and HCMOS.
SCHMITT TRIGGERS
To provide signal enhancement it is
recommended that a Schmitt Trigger be con-
nected to each output. This device is already
included in the Series 61K, 61R, 63K and 63R
encoders. The Schmitt Trigger “cleans up” the
output into a pure digital signal. It does this
by removing the small linear region between
the “on” and “off” states of the detector. Dur-
ing this transition the light is only partially
blocked and the output is somewhere be-
tween what the interfacing circuit might con-
sider to be “on” or “off”. In other words, the
output is not completely digital. The Schmitt
Trigger contains a very important feature
which makes it attractive for this application.
The device has a higher threshold, or trigger
level, when it is in the “on” state than it does
in the “off” state. This hysterisis filters any
electrical noise, which can cause the output
to change state rapidly during the transition.
And since the output from the Schmitt Trigger
is a pure digital signal and is isolated from the
phototransistor, the signal is basically immune
to loading problems that can effect encoders
without the Schmitt Trigger. Schmitt Triggers
are available in most popular IC technologies.
SHAFT AND PANEL SEAL
A shaft and panel seal are available to
provide water-tight mounting for the Series
61B, 61D, 61K, 61R and 62 encoders. Sealing
is accomplished by an o-ring shaft seal and
a panel seal washer. The panel seal washer
in the 61B and 61D encoders does not affect
the overall dimensions of the switches. In
the 61K and 61R encoders, the .045" thick
washer is placed over the threads and sits flat
on the base of the bushing. The 61KS and
61RS are also epoxy-sealed on the bottom
of the switch to provide a completely sealed
switch.
Open Collector Output Schmitt Trigger
PHOTOTRANSISTOR
AS AN OPEN SWITCH
POWER
SOURCE
EXTERNAL
CURRENT
PULL-UP
RESISTOR
FLOW
HIGH
OUTPUT
LEVEL
OUTPUT
TO NEXT
STAGE
PHOTOTRANSISTOR
UPPER
THRESHOLD
LOWER
THRESHOLD
INPUT TO
SCHMITT
TRIGGER
OUTPUT
FROM
SCHMITT
TRIGGER
LIGHT
BLOCKED
LIGHT
PARTIALLY
BLOCKED
LIGHT
DETECTED
OUTPUT
LOW
OUTPUT
HIGH
OUTPUT
LOW
PHOTOTRANSISTOR
AS A CLOSED SWITCH
POWER
SOURCE
CURRENT
FLOW
EXTERNAL
PULL-UP
RESISTOR
OUTPUT
PHOTOTRANSISTOR
LOW
OUTPUT
LEVEL
TO NEXT
STAGE
POWER
SOURCE
EXTERNAL
PULL-UP
RESISTOR
SCHMITT
TRIGGER
OUTPUT
PHOTOTRANSISTOR
www.grayhill.com