“…The vast majority of industrial and scientific applications use optical encoders for a position measurement and closed-loop position control, for example, machine tools [ 1 , 2 , 3 , 4 , 5 ], tracking systems [ 6 , 7 , 8 ], industrial robots [ 9 , 10 , 11 , 12 , 13 ], positioning stages [ 14 , 15 , 16 , 17 ], and so on. All these technological machines work under various environment conditions such as temperature, humidity, mechanical vibration, etc.…”