Main Content
Quadrature Shaft Decoder
Decode incremental shaft encoder output
Libraries:
Simscape /
Electrical /
Control /
Observers
Description
The Quadrature Shaft Decoder block measures the shaft rotation from an encoder block, such as the Incremental Shaft Encoder, and outputs the velocity and position.
The block counts the transitions of a pair of digital signals, A and B, that are positioned 90° out of phase. The block determines the direction and relative position by counting only one of the two signals changes per tick. The angular velocity is obtained by measuring the frequency of either signal.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2019b