Encoders for dynamic pitch control on wind energy turbines