US 12,007,237 B2
Electronic apparatus control method performed through lid angle calculation, electronic apparatus thereof and software product
Federico Rizzardini, Settimo Milanese (IT); Stefano Paolo Rivolta, Desio (IT); Lorenzo Bracco, Chivasso (IT); and Marco Bianco, Cesano Boscone (IT)
Assigned to STMICROELECTRONICS S.r.l., Agrate Brianza (IT)
Filed by STMICROELECTRONICS S.r.l., Agrate Brianza (IT)
Filed on Apr. 13, 2023, as Appl. No. 18/300,296.
Application 18/300,296 is a continuation of application No. 17/237,844, filed on Apr. 22, 2021, granted, now 11,656,071.
Claims priority of application No. 102020000009937 (IT), filed on May 5, 2020.
Prior Publication US 2023/0251078 A1, Aug. 10, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G01B 7/30 (2006.01); G01D 5/16 (2006.01); G01D 18/00 (2006.01); G05B 17/02 (2006.01); G06F 1/16 (2006.01)
CPC G01B 7/30 (2013.01) [G01D 5/16 (2013.01); G01D 18/00 (2013.01); G05B 17/02 (2013.01); G06F 1/1616 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
generating, by a first magnetometer and a second magnetometer of an electronic apparatus, first signals indicating measurements of a magnetic field, the first magnetometer and the second magnetometer being in a first hardware element and a second hardware element, respectively, of the electronic apparatus;
determining, by a processing unit of the electronic apparatus, a calibration parameter based on the first signals, the calibration parameter indicating a condition of calibration of the first and second magnetometers;
determining, by the processing unit, a reliability value based on the first signals, the reliability value indicating of a condition of reliability of the first signals;
determining, by the processing unit, a first value of a lid angle between the first hardware element and the second hardware element based on the first signals;
determining, by the processing unit, a second value of the lid angle based on the calibration parameter, the reliability value, and the first value of the lid angle; and
controlling, by the processing unit, a function of the electronic apparatus based on the second value of the lid angle.