-
公开(公告)号:US10399394B2
公开(公告)日:2019-09-03
申请号:US15378490
申请日:2016-12-14
Applicant: Infineon Technologies AG
Inventor: Jooil Park , Felix Gow , Thomas Lange , Karine Pillet , Wolfgang Raberg , Maximilian Werner , Ren Yi You
Abstract: A sensor module is provided that includes a magnetic sensor and a microcontroller. The magnetic sensor is configured to measure a magnitude of a magnetic field component of an Earth magnetic field projected on a sensing axis of the magnetic sensor and is configured to generate a measurement signal. The magnetic sensor is configured to rotate about an axis through the Earth magnetic field such that the measurement signal oscillates between a first and second extremas as the magnitude of the magnetic field component projected onto the sensing axis changes due to rotation of the magnetic sensor about the axis. The microcontroller is configured to receive the measurement signal, acquire a predetermined number of measurement samples over a sampling period, calculate a variance value of the acquired measurement samples, and determine whether the magnetic sensor is rotating about the axis based on a threshold test of the variance value.