Requirements for safe absolute encoders