sup.reading encoders

Upload: rasikaou

Post on 06-Jul-2018

229 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/17/2019 Sup.reading Encoders

    1/14

    What is an Encoder?

    Any transducer that changes a signal into a coded (digital signal) Optical Encoders

    Use light & photosensors to produce digital code (ie. Lab 3 encoder ).

    Most popular type of encoder.

    Can be linear or rotary.

  • 8/17/2019 Sup.reading Encoders

    2/14

    ypes of Optical Encoders

    ! types of Optical Encoders"

    #. $ncre%ental

    Measure displace%ent relatie to a reference point.

    !. Absolute

    Measure absolute position.

    Adantages ' A %issed reading does not affect the net reading. Only needs poer onhen ta*ing a reading.

    +isadantages ' More epensie,co%ple. Cost,co%pleity proportional to

    resolution,accuracy.

  • 8/17/2019 Sup.reading Encoders

    3/14

    -unda%ental Co%ponents ight source(s)

    E+s or $/ E+s proide light source.

    ight is colli%ated using a lens to %a*e the bea%s parallel.

    0hotosensor(s)

    Either 0hotodiode or 0hototransistor.

    Opa1ue dis* (Code +is*) One or %ore 2trac*s3 ith slits to allo light to pass through.

  • 8/17/2019 Sup.reading Encoders

    4/14

    Optical Encoder Co%ponents

  • 8/17/2019 Sup.reading Encoders

    5/14

    Other Co%ponents

    4tationary 2%as*ing3 dis* $dentical trac*(s) to Code +is*

    Eli%inates error due to the dia%eter of the light

    bea% being greater than the code dis* indo

    length.

  • 8/17/2019 Sup.reading Encoders

    6/14

    5uadrature

    o trac*s (A & 6) at

    78 degrees offset.

    0roide direction

    infor%ation.

    0roides up to 9

    ti%es resolution.

  • 8/17/2019 Sup.reading Encoders

    7/14

    Encoder +is*sIncremental Disk Absolute Disks

    Binary Gray Code

  • 8/17/2019 Sup.reading Encoders

    8/14

    Absolute +is* Codes

    Angle Binary Decimal

    0-45 000 0

    45-90 001 1

    90-135 010 2

    135-180 011 3

    180-225 100 4

    225-270 101 5

    270-315 110 6

    315-360 111 7

    Ea%ple" : bit binary code

    Bit 0

    Bit 0

    Bit 1

    Bit 1

    Bit 2

    Bit 2

  • 8/17/2019 Sup.reading Encoders

    9/14

    0roble% ith 6inary Code

    One angle shift

    results in %ultiple bit

    changes.

    Ea%ple" # ;< ! 88# (start at #)

    888 (turn off bit 8)

    8#8 (turn on bit #)

    Angle Binary Decimal

    0-45 000 0

    45-90 001 1

    90-135 010 2

    135-180 011 3

    180-225 100 4

    225-270 101 5

    270-315 110 6

    315-360 111 7

  • 8/17/2019 Sup.reading Encoders

    10/14

    0roble% ith 6inary Code

    One degree shift

    results in %ultiple bit

    changes.

    Ea%ple" # ;< ! 88# (start at #)

    888 (turn off bit 8)

    8#8 (turn on bit #) $t loo*s li*e e ent

    fro% # ;< 8 ;< !

    Angle Binary Decimal

    0-45 000 0

    45-90 001 1

    90-135 010 2

    135-180 011 3

    180-225 100 4

    225-270 101 5

    270-315 110 6

    315-360 111 7

  • 8/17/2019 Sup.reading Encoders

    11/14

    =ray Code

    Angle Binary Decimal

    0-45 000 0

    45-90 001 1

    90-135 011 2

    135-180 010 3

    180-225 110 4

    225-270 111 5

    270-315 101 6

    315-360 100 7

    One bit change per angle change.

    Bit 0

    Bit 0

    Bit 1

    Bit 1

    Bit 2

    Bit 2

  • 8/17/2019 Sup.reading Encoders

    12/14

    Encoder /eliability and Errors

    Encoder errors

    #. 5uanti>ation Error ' +ependent on digital ord si>e.

    !. Asse%bly Error ' +ependent on eccentricity of rotation (is trac* center of

    rotation;center of rotation of dis*)

    :. Manufacturing tolerances ' Code printing accuracy sensor position and

    irregularities in signal generation.

  • 8/17/2019 Sup.reading Encoders

    13/14

    Encoder /eliability and Errors

    More encoder errors

    9. 4tructural i%itations ' +is* +efor%ation physical loads on shaft.

    @. Coupling Error ' =ear bac*lash belt slippage etc

    B. A%bient Effects ' ibration te%perature light noise hu%idity etc

  • 8/17/2019 Sup.reading Encoders

    14/14