Patent ID: 11921548
Assignee: STMICROELECTRONICS S.R.L.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 19:
20. A detection method, comprising:
acquiring, by control circuitry of a foldable electronic device, a first charge variation signal through a first electrode and a second charge variation signal through a second electrode,
the first and second charge variation signals being indicative of respective environmental electrostatic charge variations,
the foldable electronic device including a first hardware element and a second hardware element configured to move in to a first state and a second state,
the first hardware element and the second hardware element including the first electrode and the second electrode, respectively,
the first and second electrodes being in contact with each other when the foldable electronic device is in the first state, and being at a distance from each other when the foldable electronic device is in the second state;

generating, by the control circuitry, a differential signal indicative of a difference between the first and second charge variation signals;
generating, by the control circuitry and as a function of the differential signal, one or more feature signals indicative of respective features of the differential signal,
the generating of the one or more feature signals including filtering the differential signal with a high-pass filter having a cut-off frequency greater than a threshold cut-off frequency, or with a band-pass filter with a lower cut-off frequency greater than the threshold cut-off frequency; and

generating, by the control circuitry and as a function of the one or more feature signals, a contact signal which is equal to a value selected from a first value and a second value,
the first value being indicative of the second state of the foldable electronic device,
the second value being indicative of the first state of the foldable electronic device.