IP Library Granted Patent US 12,656,820
Granted Patent B2
US 12,656,820 · App. 18/781,165 · Granted Jun 16, 2026

Folding angle detection in a device

Inventors: Yue Ding (Beijing, CN); Bin Fan (Beijing, CN); Pengcheng Wen (Beijing, CN)
Assignee: STMicroelectronics International N.V.
G06F1/1641G06F3/0418G06F3/0443G06F2203/04102
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,656,820
App. No.
18/781,165
Filed
Jul 23, 2024
Granted
Jun 16, 2026
Kind
B2
Art Unit
2626
USPC
345/174
Abstract

According to an embodiment, a method for determining the folding angle of a foldable device is proposed. The device includes a touch controller, a display layer, and a touch-sensing layer. The device is foldable along a folding axis. A first portion is in contact with a second portion of the display layer in a fully closed position of the device. The method includes activating a mutual-capacitance sensing mechanism by configuring one or more channels of the touch-sensing layer parallel to the folding axis on the first portion of the display layer as transmit channels, and configuring one or more channels of the touch-sensing layer parallel to the folding axis on the second portion of the display layer as receive channels; collecting mutual-capacitance raw data measurements; determining the folding angle based on the mutual-capacitance raw data measurements; and activating a function or an application based on the folding angle.

Claims (54)

1 . A method for determining a folding angle of a foldable device, the foldable device comprising a touch controller, a display layer, and a touch-sensing layer, the foldable device being foldable along a folding axis, a first portion of the display layer in contact with a second portion of the display layer in a fully closed position of the foldable device, the method comprising:

activating, by the touch controller, a mutual-capacitance sensing mechanism of the foldable device, wherein the activating comprises:

configuring one or more channels of the touch-sensing layer parallel to the folding axis on the first portion of the display layer as transmit channels, and

configuring one or more channels of the touch-sensing layer parallel to the folding axis on the second portion of the display layer as receive channels;

collecting, by the touch controller, mutual-capacitance raw data measurements;

generating, by the touch controller, an initial baseline based on mutual-capacitance raw data measurements obtained at a first frame, the initial baseline corresponding to the foldable device being in the fully closed position;

performing, by the touch controller, frame processing to obtain normalized mutual-capacitance data for a current frame by subtracting current mutual-capacitance raw data from the initial baseline;

determining whether the normalized mutual-capacitance data falls within a valid range;

determining, by the touch controller, the folding angle based on the mutual-capacitance raw data measurements and, in response to the normalized mutual-capacitance data falling within the valid range, the normalized mutual-capacitance data; and

setting an invalid flag and skipping reporting of the folding angle for the current frame in response to the normalized mutual-capacitance data falling outside the valid range.

2 . The method of claim 1 , wherein determining the folding angle based on the mutual-capacitance raw data measurements comprises mapping the normalized mutual-capacitance data to the folding angle using a lookup table or mathematical function.

3 . The method of claim 1 , further comprising filtering the normalized mutual-capacitance data prior to determining whether the normalized mutual-capacitance data falls within the valid range.

4 . The method of claim 3 , wherein the filtering comprises using an Infinite Impulse Response (IIR) filter to smooth out noise or fluctuations in the normalized mutual-capacitance data.

5 . The method of claim 1 , further comprising activating a function or an application based on the folding angle.

6 . The method of claim 1 , wherein determining the folding angle based on the normalized mutual-capacitance data comprises mapping the normalized mutual-capacitance data to the folding angle using a lookup table or mathematical function.

7 . A foldable device, comprising:

a display layer comprising a first portion and a second portion, wherein the first portion is in contact with the second portion in a fully closed position of the foldable device, the foldable device being foldable along a folding axis;

a touch-sensing layer disposed on an opposite surface of the first portion and the second portion of the display layer that is in contact with each other in the fully closed position, the touch-sensing layer comprising a plurality of drive lines and a plurality of sense lines arranged in a grid arrangement, the drive lines being orthogonal to the sense lines;

a non-transitory memory storage comprising instructions; and

a touch controller coupled to the touch-sensing layer and the non-transitory memory storage, the instructions, when executed by the touch controller, cause the foldable device to:

configure one or more drive lines or sense lines parallel to the folding axis on the first portion of the display layer as transmit channels,

configure one or more drive lines or sense lines parallel to the folding axis on the second portion of the display layer as receive channels,

collect mutual-capacitance raw data measurements,

generate an initial baseline based on mutual-capacitance raw data measurements obtained at a first frame, the initial baseline corresponding to the foldable device being in the fully closed position,

perform frame processing to obtain normalized mutual-capacitance data for a current frame by subtracting current mutual-capacitance raw data from the initial baseline,

determine whether the normalized mutual-capacitance data falls within a valid range,

determine a folding angle of the foldable device based on the mutual-capacitance raw data measurements and, in response to the normalized mutual-capacitance data falling within the valid range, the normalized mutual-capacitance data, and

set an invalid flag and skip reporting of the folding angle for the current frame in response to the normalized mutual-capacitance data falling outside the valid range.

8 . The foldable device of claim 7 , wherein the sense lines are parallel with the folding axis, the sense lines being configured as transmit channels comprise a first subset of sense lines nearest to a folding structure on the first portion, and wherein the sense lines configured as receive channels comprise a second subset of sense lines nearest to the folding structure on the second portion.

9 . The foldable device of claim 7 , wherein the drive lines are parallel with the folding axis, the drive lines being configured as transmit channels comprise a first subset of drive lines nearest to a folding structure on the first portion, and wherein the drive lines configured as receive channels comprise a second subset of drive lines nearest to the folding structure on the second portion.

10 . The foldable device of claim 7 , wherein the one or more drive lines or sense lines on the first portion and the second portion comprises a first subset nearest to a folding point of the foldable device and a second subset furthest away from the folding point.

11 . The foldable device of claim 10 , wherein determining the folding angle based on the mutual-capacitance raw data measurements comprises:

determining the folding angle based on the mutual-capacitance raw data measurements of the first subset for a folding angle greater than zero; and

determining whether the foldable device is in the fully closed position based on the mutual-capacitance raw data measurements of the second subset.

12 . The foldable device of claim 7 , wherein the instructions, when executed by the touch controller, cause the foldable device to activate a function or an application based on the folding angle.

13 . The foldable device of claim 12 , wherein activating the function or the application comprises utilizing the folding angle to trigger action, adjust display configuration, or optimize a performance of the foldable device.

14 . The foldable device of claim 7 , wherein determining the folding angle based on the mutual-capacitance raw data measurements comprises mapping the normalized mutual-capacitance data to the folding angle using a lookup table or mathematical function.

15 . A method for determining a folding angle of a foldable device, a first portion of a display layer of the foldable device being in contact with a second portion of the display layer in a fully closed position along a folding axis, the method comprising:

configuring one or more drive lines or sense lines of a touch-sensing layer parallel to the folding axis on the first portion of the display layer as transmit channels;

configuring one or more drive lines or sense lines parallel to the folding axis on the second portion of the display layer as receive channels;

collecting mutual-capacitance raw data measurements;

generating an initial baseline based on mutual-capacitance raw data measurements obtained at a first frame, the initial baseline corresponding to the foldable device being in the fully closed position;

performing frame processing to obtain normalized mutual-capacitance data for a current frame by subtracting current mutual-capacitance raw data from the initial baseline;

determining whether the normalized mutual-capacitance data falls within a valid range;

generating a filtered mutual-capacitance data set by performing a filtering operation on the mutual-capacitance raw data measurements;

determining the folding angle based on the filtered mutual-capacitance data set and, in response to the normalized mutual-capacitance data falling within the valid range, the normalized mutual-capacitance data; and

setting an invalid flag and skipping reporting of the folding angle for the current frame in response to the normalized mutual-capacitance data falling outside the valid range.

16 . The method of claim 15 , wherein determining the folding angle based on the filtered mutual-capacitance data set comprises mapping the filtered mutual-capacitance data set to the folding angle using a lookup table or mathematical function.

17 . The method of claim 15 , wherein the sense lines are parallel with the folding axis, the sense lines being configured as transmit channels comprise a first subset of sense lines nearest to a folding structure on the first portion, and wherein the sense lines configured as receive channels comprise a second subset of sense lines nearest to the folding structure on the second portion.

18 . The method of claim 15 , wherein the drive lines are parallel with the folding axis, the drive lines being configured as transmit channels comprise a first subset of drive lines nearest to a folding structure on the first portion, and wherein the drive lines configured as receive channels comprise a second subset of drive lines nearest to the folding structure on the second portion.

19 . The method of claim 15 , wherein the one or more drive lines or sense lines on the first portion and the second portion comprises a first subset nearest to a folding point of the foldable device and a second subset furthest away from the folding point, and wherein determining the folding angle based on the mutual-capacitance raw data measurements comprises:

determining the folding angle based on the mutual-capacitance raw data measurements of the first subset for a folding angle greater than zero; and

determining whether the foldable device is in the fully closed position based on the mutual-capacitance raw data measurements of the second subset.

20 . The method of claim 15 , wherein the filtering operation comprises using an Infinite Impulse Response (IIR) filter to smooth out noise or fluctuations in the normalized mutual-capacitance data.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 17, 2024
From: STMICROELECTRONICS (BEIJING) R&D CO., LTD.
To: STMICROELECTRONICS INTERNATIONAL N.V.
Reel/Frame 068925/0986 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 12, 2024
From: DING, YUE; FAN, BIN; WEN, PENGCHENG
To: STMICROELECTRONICS (BEIJING) R&D CO., LTD.
Reel/Frame 068565/0608 →
Continuity (1)
Related Publication 20260029821A1 · Jan 29, 2026
References Cited (8)
US 11573663B1 · Yun · 2023 [cited by examiner]
US 20150309618A1 · Keppel, Jr. · 2015 [cited by examiner]
US 20180088633A1 · Whitman · 2018 [cited by examiner]
US 20210034200A1 · You · 2021 [cited by examiner]
US 20240167803A1 · Vandermeijden et al. · 2024 [cited by applicant]
US 20250273105A1 · Argekar · 2025 [cited by examiner]
EP 4216043A2 · 2023 [cited by applicant]
Extended European search report, EP Application No. 25189757.5, mailed Dec. 12, 2025, 10 pages. [cited by applicant]