We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest. Update Here
Stay in the loop with the latest from Microchip. Update your profile while you are at it. Update Here
Complete your profile to access more resources. Update Here

ENCODER_INTERFACE


Incremental encoder is the most common sensor used for Field Oriented Control (FOC) of Permanent Magnet Brush Less DC (BLDC) or Permanent-Magnet Synchronous Motor (PMSM). This sensor gives relative angular position as the output in the form of pulses. A quadrature encoder, typically produces two outputs, which have pulses phase shifted by 90°. The phase shift between the two signals A and B represents the direction of rotation. The encoder interface logic uses edge detection on rising edge and falling edge of A and B. This gives a resolution that is four times the encoder resolution and produces a very high resolution from a low cost encoder.


Features and Benefits


  • Quadrature Decoding :
    • Interfaces with incremental encoders using A/B signals, detecting both rising and falling edges.
    • Achieves 4× resolution compared to base encoder pulses.
    • Outputs electrical angle (scaled 0–262143 = 0–360°).
  • Integration : 
    • Calculates rotor speed by measuring rate of angle change.
    • Designed for 200 MHz operation with moderate LUT/DFF usage, no DSP blocks. 

Licensing Options


Encrypted RTL free with any Libero license 

Documentation


Title
Encoder Interface User Guide Download