| CPC G01M 13/04 (2013.01) [G01B 21/22 (2013.01); G01L 1/2262 (2013.01)] | 20 Claims | 

| 
               1. A rotary encoder, comprising: 
            a housing including a flexible structure; 
                a shaft including a bearing system arranged in the housing, the shaft being rotatable relative to the housing via the bearing system; 
                a rotor attached to the shaft; 
                a stator; and 
                a strain sensor system attached to the housing; 
                wherein the flexible structure is adapted to, in connection with rotation of the shaft, facilitate transmission of forces associated with the bearing system to the strain sensor system, the strain sensor system adapted to detect tension and/or compression associated with the housing and to determine a malfunction of the bearing system based on the detected tension and/or compression. 
               |