What is Encoder? - YouTube

Channel: RealPars

[2]
an encoder is a device that is used in
[5]
many industries to provide feedback in
[7]
the most basic terms an encoder
[10]
regardless of the type which we will
[13]
cover later senses position direction
[16]
speed or counts
[21]
[Music]
[31]
before we get started on today's video
[34]
if you love our videos be sure to click
[37]
the like button below then make sure to
[39]
click Subscribe and the little bell to
[42]
receive notifications of new real Parrs
[44]
videos this way you never miss another
[47]
one
[50]
encoders will use motion under a variety
[53]
of technologies and translate it into an
[56]
electrical signal that signal is then
[59]
sent back to a controlling device such
[61]
as a PLC and is interpreted meaning
[64]
scaled to represent a value that will
[67]
then be used within the program
[72]
analogies involved in encoders are
[74]
magnetic mechanical resistive and
[78]
optical optical is the most widely used
[81]
encoder motion translating technology
[87]
are different types of encoders such as
[89]
absolute and incremental we will
[92]
describe those in greater detail in a
[94]
future lesson
[97]
but for now an example of an incremental
[100]
optical type encoder uses a beam of
[103]
light that passes through a disk that
[105]
has opaque lines in a specific pattern
[108]
somewhat like the spokes of a wheel
[111]
on the other side of the disk is a photo
[114]
sensing device that will interpret the
[116]
light based on the pattern on the disk
[118]
picture a shutter blocking and
[121]
unblocking the light
[124]
the pulses of light are then converted
[126]
to an electrical signal to be sent back
[128]
to the processor through the encoders
[131]
output
[134]
encoders have a wide range of uses which
[136]
include closed loop applications such as
[139]
servo or VFD control measuring and
[142]
counts here are some examples of
[146]
processes that may use an encoder
[151]
VFD control you may be running a pump on
[154]
a VFD to fill a tank full of a liquid
[157]
you are requesting a certain speed and
[160]
want to verify that the pumps VFD is at
[164]
the requested speed an encoder on the
[167]
VFD may be used for feedback of speed
[172]
next let's give an example for a
[175]
measuring process in this application
[179]
you will need to cut some aluminum
[181]
product to a particular size you are
[184]
passing a long roll meaning hundreds of
[187]
feet of the aluminum sheet through a
[189]
cutting mechanism you need to determine
[192]
the amount of aluminum fed so that you
[195]
can cut the sheets to the proper size
[196]
that will be used in a separate
[199]
manufacturing process
[202]
an encoder attached to the conveyor and
[204]
reading the material that is feeding
[206]
through your cutting assembly will
[208]
indicate the length of material that has
[210]
been fed since the last cut that
[213]
feedback can then be used to adjust the
[215]
cutting blade to sever the length
[217]
required
[222]
for an example of counts consider this
[224]
process you have a conveyor line that
[227]
has bottles running on a conveyor they
[230]
are counted by a photo I sensor when
[232]
entering the assembly they have a cap
[235]
with an aluminum tamper proof foil on
[238]
top that needs to adhere to the bottle
[240]
once the foil is sealed the bottle will
[244]
then move down the conveyor line and
[246]
verified that it exited the cap ceiling
[249]
assembly via and exit photo I sensor
[254]
some of the requirements for this
[255]
station are the same number of bottles
[258]
that enter the assembly must exit in a
[261]
predetermined timeframe the bottle must
[265]
not remain in front of an entrance or
[267]
exit sensor
[269]
the bottle must not be exposed to the
[272]
inductive sealer longer than a
[274]
predetermined amount of time
[276]
you must make this assembly flexible
[279]
enough to handle many types of bottles
[280]
and entrance and exit sensor placement
[285]
consider a prescription bottle easy
[288]
right no handles just a bottle that is a
[292]
standard size now consider an antifreeze
[296]
bottle with a somewhat small cap and a
[299]
very large handle
[302]
how in the world are you going to meet
[304]
the requirements for the machine and
[306]
remain flexible if you put a pill bottle
[310]
in yep
[311]
easy peasy right bottle in seal bottle
[315]
out no censors blocked
[318]
if any of the requirements fail bottle
[321]
in seal tips over and isn't counted out
[325]
Machine halts and alerts on operator of
[328]
a malfunction
[331]
how about the antifreeze bottle
[334]
bottle in cap passes in front of an
[337]
entrance sensor bottle counted then the
[340]
handle the system faults because it sees
[343]
a blockage at the entrance
[346]
how do you tell the machine that this is
[349]
expected behavior an encoder of course
[352]
and a selector switch for a set up mode
[357]
setup insert your product in this case
[360]
the antifreeze bottle you make sure to
[363]
feed cap first and it must contain a
[366]
foil your program reads an entrance on
[369]
the sensor and records an encoder
[371]
reading as well as determines that this
[374]
is a cap and records that fact your
[378]
program then reads another entrance and
[380]
determines that this is not cap it must
[383]
be some other acceptable part of the
[385]
bottle possibly a handle the single
[389]
bottle continues down the line
[391]
where the exit sensor is triggered at
[394]
that point you again record the encoder
[396]
value you now have an encoder count that
[400]
registered at the entrance and exit
[403]
in the code you subtract the entrance
[406]
from the exit and you have a bottle
[409]
count you now know precisely how long it
[412]
will take that bottle to move through
[414]
the system meeting thee must enter an
[417]
exit in a predetermined timeframe in
[420]
this case encoder counts
[423]
you have also made the flexibility
[425]
aspect of different types of bottles as
[427]
well as being able to place the entrance
[430]
and exit sensors any reasonable distance
[433]
apart when back in run mode the code
[437]
knows that there's a handle to ignore
[439]
when it comes into the process and
[441]
doesn't fault a machine you register the
[445]
encoder at each bottle entrance and
[447]
predetermine when the bottle must exit
[449]
if the bottle doesn't exit the machine
[453]
in a timely manner which is based on
[455]
your projection and the current encoder
[457]
count the Machine faults this is a great
[462]
use of an encoder that is fully
[464]
configurable count in count out subtract
[468]
done
[472]
don't miss the next lesson where we are
[475]
going to discuss incremental and
[477]
absolute encoders
[482]
want to learn
[484]
see programming in an easy-to-understand
[486]
format and take your career to the next
[489]
level head on over to real parse com
[494]
[Music]