ENCODER_INTERFACE converts quadrature incremental encoder signals into rotor angle, direction, and speed feedback for field-oriented motor control systems. It is intended for designs that use an external encoder to track relative shaft movement and derive the electrical angle needed by the control loop. By decoding both signal transitions on the encoder channels, the core improves position granularity from a low-cost sensor and helps the controller respond to rotation direction changes. The architecture combines edge-based position tracking with speed estimation from angle change, then applies filtering to reduce quantization effects in the speed feedback path. It also supports startup alignment behavior so the motor control system can establish a usable electrical angle after rotor alignment. This makes the core valuable when the FPGA must offload time-sensitive sensing functions from the processor and provide deterministic feedback to motor control algorithms. Engineers can adjust scaling, counting, speed measurement, filtering, and initialization behavior to match the encoder and control strategy used in the design. The core is best suited for Permanent Magnet Brush Less DC and Permanent-Magnet Synchronous Motor applications that require reliable encoder-based feedback for field-oriented control and position-aware motion control.
Quadrature decoding - Detects rising and falling edges on A and B inputs - Tracks rotation direction from A and B phase relationship - Counts encoder events up to a configurable angle count limit
Angle generation - Outputs scaled electrical angle for field-oriented control - Provides line count output for position control use - Applies configurable angle scaling
Speed measurement - Calculates rotor speed from angular position change - Measures speed through a configurable observation window - Generates speed-ready indication before filtering
Filtering and control - Filters speed feedback to reduce quantization noise - Uses configurable filter factor for time constant control - Clears filter buffer through a dedicated reset input
Startup alignment - Initializes encoder output after sensor reset - Selects startup direction through a configuration input - Supports rotor alignment workflow for electrical angle establishment
{"SalesForceSecurePath":"https://microchip.my.salesforce-scrt.com","EmbeddedServiceName":"Messaging_For_Microchip","SalesForcePath":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924","AgentAvailableHeader":"No problem. Chat with our engineering experts or schedule a call that's convenient for you.","ScheduleCallUrl":"https://microchip.my.site.com/schedulemeetingportal/s/","SalesforceOrgId":"00Do0000000KAkK","JsUrl":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924/assets/js/bootstrap.min.js"}