Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Optical Encoder

Group Members

Hasnain Nazir(ME23)
Mubashir Ayub(ME27)
Arif Wahid(ME25)
Assadulllah(ME80)
Introduction

An optical encoder is a complex system


which converts a mechanical rotary
motion (angular position or speed) into
a usable electrical signal.
An encoder is a photoelectric emitter
receiver pair looking through a slotted disk.
The encoder operates on the principal of
optics. Light from the LED passes through
the disc, the mask, and into the photo
transistors.
The photo transistor outputs a sine wave
which corresponds to the flashing light
pulses from the LED. The sine wave is
then converted to a square wave into
DAQ/NI ELVIS II.
Pulse rate or Pulses per Revolution is
defined as the number of physical lines and
corresponding spaces on the code disc.

A pulse is equal to one


complete 360 degree
Electrical(not mechanical)
square wave
from an encoder.
A LabVIEW Measurement of RPM
We can use the Pulse Measurements.vi
to measure the period, pulse duration, or
duty cycle from a waveform array.
We can convert the period measurement to
revolutions per minute by inverting the
period to get frequency and multiplying by
60 to get rpm. For scaling, divide by 1000 to
get krpm.
Use the DAQ Assistant to collect 1000 V
samples for the tachometer graph and
provide an input signal array for the Pulse
Measurements.vi.
Run this VI and take your motor for a spin.
See and hear how responsive the motor is
to a rapid change in the rpm setpoint.

You might also like