Open and close detection of a foldable device
By using self-sensing scanning technology to detect folding angles on flexible touchscreens, the power consumption and cost issues caused by Hall sensors in foldable displays have been resolved, achieving more efficient folding detection and an improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- STMICROELECTRONICS INT NV
- Filing Date
- 2025-12-05
- Publication Date
- 2026-06-12
AI Technical Summary
Foldable displays require additional components such as Hall sensors to detect the folding angle, which leads to increased power consumption and manufacturing costs.
By using self-sensing scanning technology on flexible touchscreens, the folding angle is detected based on changes in self-capacitance, thus avoiding the use of Hall sensors.
This reduces the power consumption and cost of the device, while improving the accuracy of fold detection and the user experience.
Smart Images

Figure CN122195767A_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to electronic devices, and in a particular embodiment, to the detection of the opening and closing of a foldable display. Background Technology
[0002] Electronic devices designed for user interaction have historically relied on external input devices such as keyboards, keypads, and / or mice to capture user input. In recent years, however, more traditional methods have been driven by consumers' preference for the convenience of portable devices that support more flexible lifestyles. This has led to a surge in small, portable handheld electronic devices, such as mobile phones, tablets, and gaming systems. This has made touchscreens and touch panel displays increasingly popular as systems for capturing user input. They not only provide the functionality of traditional electronic devices, but touchscreens also offer additional features. For example, given appropriate software, users can utilize touchscreens for sketching, drawing, and various handwriting applications.
[0003] With the development of foldable flexible displays, the size of the display can be increased without increasing the size of the device. However, foldable displays have their own advantages and disadvantages. Foldable displays require additional components such as Hall sensors to detect the fold angle at the flexible touchscreen (i.e., to determine whether the touchscreen is open or closed), which increases the power consumption of the electronic device. Summary of the Invention
[0004] Embodiments of the present invention provide a method for detecting the opening and closing of foldable devices to improve the user experience, power consumption, and manufacturing cost of foldable devices. As described below, the embodiments relate to a flexible touchscreen integrated with a foldable device.
[0005] One general aspect includes a method of operating an electronic device. The method includes detecting self-capacitance sensed in a folded region of the touchscreen using self-sensing scanning by a touchscreen controller, wherein the folded region includes a first portion and a second portion on the touchscreen, and the first and second portions are separated by a folding axis. The method further includes, in a partially folded position, determining a reference intensity sensed by the touchscreen in the folded region based on the self-capacitance in the folded region; determining, based on the reference intensity, that the device is outside a half-folded position; determining temperature information of the touchscreen in response to determining that the device is outside a half-folded position; determining a corrected reference intensity from the reference intensity based on the temperature information in response to determining that the temperature information of the touchscreen is outside a predetermined temperature window; determining an angular intensity of the partially folded position based on the corrected reference intensity; and determining whether the device is open or closed based on the angular intensity.
[0006] Another general aspect includes a method of operating an electronic device. The method includes detecting self-capacitance sensed in a folded region of a touchscreen using a touchscreen controller via self-sensing scanning, wherein the folded region includes a first portion and a second portion on the touchscreen, and the first and second portions are separated by a folding axis; in a partially folded position, determining a reference intensity sensed by the touchscreen in the folded region based on the self-capacitance in the folded region; determining, based on the reference intensity, that the device is outside a half-folded position; in response to determining that temperature information of the touchscreen is outside a predetermined temperature window, determining a first corrected reference intensity from the reference intensity based on the temperature information, or in response to determining that the touchscreen is in a low-power operating mode, determining a second corrected reference intensity based on the reference intensity to take into account the lower operating voltage of the low-power operating mode; and determining an angular intensity of the partially folded position based on the first corrected reference intensity or the second corrected reference intensity.
[0007] Another general aspect includes a device having a touchscreen, a touchscreen controller, and a memory. The touchscreen includes a first portion and a second portion, the first portion being configured to rotate relative to the second portion about a folding axis located within a folding region. The memory stores a program to be executed in the touchscreen controller. The program includes instructions for: detecting self-capacitance sensed in the folding region of the touchscreen using self-sensing scanning; determining, in a partially folded position, a reference intensity sensed by the touchscreen in the folding region based on the self-capacitance in the folding region; determining, based on the reference intensity, that the touchscreen is outside a half-folded position; determining a first calibrated reference intensity based on temperature information from the reference intensity in response to temperature information of the touchscreen being outside a predetermined temperature window; determining a second calibrated reference intensity based on the reference intensity in response to the touchscreen operating in a low-power mode to account for the lower operating voltage of the low-power mode; or determining a third calibrated reference intensity based on the folding angle and the folding threshold of the device to amplify the reference intensity in response to the touchscreen folding angle exceeding a folding threshold; and determining the angular intensity of the folding position based on the first calibrated reference intensity, the second calibrated reference intensity, or the third calibrated reference intensity.
[0008] Other embodiments and variations are described herein. Attached Figure Description
[0009] To gain a more complete understanding of the invention and its advantages, the following description is now taken in conjunction with the accompanying drawings, in which:
[0010] Figures 1A-1F An electronic device with a flexible touchscreen according to an embodiment of this application is shown, wherein... Figure 1A A schematic diagram of an electronic device in the fully open position is shown. Figure 1B A schematic diagram of an electronic device in a partially open position is shown. Figure 1C A schematic diagram of an electronic device in the fully closed position is shown. Figure 1D A schematic diagram of the components of an electronic device is shown. Figure 1E A schematic diagram of the components of a flexible touchscreen is shown, and Figure 1F A schematic diagram of the components of the touch sensing layer of a flexible touchscreen is shown;
[0011] Figures 2A-2B An exemplary electronic reading of capacitive strength detected by an electronic device according to an embodiment of this application is shown, wherein... Figure 2A An exemplary electronic reading of the capacitance strength detected by an electronic device is shown. Figure 2B A graphical representation of the self-capacitance strength sensed by the sensing lines and drive lines of the flexible touchscreen in the folded area is shown.
[0012] Figure 3 A graphical representation of the raw self-sensing data detected by a flexible touchscreen in a folded area at two different folding angles, according to an embodiment of this application, is shown.
[0013] Figure 4 A graphical representation of the self-induction standard deviation detected by a flexible touchscreen in areas outside the folded region for low and high temperature regions, according to an embodiment of this application, is shown.
[0014] Figures 5A-5C A schematic diagram of the process steps for determining the capacitive strength sensed by the flexible touchscreen based on the baseline strength of the flexible touchscreen based on pure raw data, according to an embodiment of this application;
[0015] Figures 6A-6B A process flow diagram is shown for determining the angular intensity in an electronic device to determine its folding state according to an embodiment of this application;
[0016] Figures 7A-7D A process for detecting edge states in a foldable device based on pure intensity values, according to an embodiment of this application, is illustrated.
[0017] Figures 8A-8C An exemplary implementation of calculating reference strength and angular strength in a foldable device according to an embodiment of this application is shown;
[0018] Figures 9A-9B A graphical representation of the angular strength for a foldable device according to an embodiment of this application is shown;
[0019] Figure 10 Exemplary electronic readings of capacitive strength detected by a foldable device according to embodiments of this application are shown, including strengths detected from mutual inductance scanning and self-inductance scanning;
[0020] Figures 11A-11B The representation of the folding angle based on the self-intensity distribution according to an embodiment of this application is shown;
[0021] Figure 12 A flowchart 1200 is shown, which depicts the process of initializing baseline strength for a host and touchscreen controller in a foldable device according to an embodiment of this application;
[0022] Figures 13A-13D A flowchart 1300 is shown for a process of detecting and managing the folding state of a foldable device;
[0023] Figures 14A-14B The process for performing temperature checking and compensation according to an embodiment of this application is illustrated; and
[0024] Figure 15 A flowchart 1500 for determining the edge state in a foldable device according to an embodiment of this application is shown. Detailed Implementation
[0025] While foldable displays represent a significant advancement in the development of portable electronic devices, limitations remain due to their delicate nature. Specifically, foldable displays, capable of expanding by unfolding and shrinking by folding, require additional electrical components such as Hall sensors to detect the fold angle, which can lead to increased power consumption and manufacturing costs.
[0026] Embodiments of this application relate to determining the folding angle of a flexible touchscreen without using additional electronic components such as Hall sensors. Specifically, embodiments of this application relate to determining the folding angle of a flexible touchscreen based on self-capacitance sensed by the flexible touchscreen as a first portion of the flexible touchscreen rotates (e.g., folds) toward a second portion of the flexible touchscreen.
[0027] Embodiments of this application eliminate the need for additional hardware components, thereby reducing device cost and complexity. Embodiments of this application can adjust for temperature variations that may affect the reliability of fold detection. Furthermore, embodiments of this application can reduce power consumption based on the folded state. Embodiments demonstrate the ability to distinguish between capacitance changes caused by folding and capacitance changes caused by touch input, improving the accuracy of fold detection and user experience.
[0028] Figures 1A-1F An electronic device with a flexible touchscreen according to an embodiment of this application is shown, wherein... Figure 1A A schematic diagram of an electronic device in the fully open position is shown. Figure 1B A schematic diagram of an electronic device in a partially open position is shown. Figure 1C A schematic diagram of an electronic device in the fully closed position is shown. Figure 1D A schematic diagram of the components of an electronic device is shown. Figure 1E A schematic diagram of the components of a flexible touchscreen is shown, and Figure 1F A schematic diagram of the components of the touch sensing layer of a flexible touchscreen is shown.
[0029] Figure 1A A schematic diagram illustrating an embodiment of an electronic device 100 configured with a flexible or foldable touchscreen 102 is shown. The electronic device may be a mobile phone, tablet computer, gaming system, etc.
[0030] In various embodiments, the flexible touchscreen 102 may include a first portion 104, a second portion 106, and a folding region 108. The flexible touchscreen 102 may include a light-emitting diode (LED) flexible display, an organic LED flexible display, or any other type of flexible touchscreen 102. The flexible touchscreen 102 may be configured to fold or unfold by rotating the first portion toward or away from the second portion 106 within the folding region 108 along a folding axis 107. One side of the folding region 108 may be on the first portion 104, while the other side may be on the second portion 106. The sides of the folding region 108 may be spaced apart by the folding axis 107. The folding axis 107 may include foldable elements, such as hinge elements. In other words, the folding axis 107 may include any element that allows the first portion 104 to rotate relative to the second portion 106 (and vice versa). For example, the first portion 104 and the second portion 106 may be separate elements coupled through the folding region 108, or they may be formed as a single body.
[0031] The flexible touchscreen 102 can be configured to rotate to a folding angle θ. The folding angle θ can be defined as the angle between the first portion 104 and the second portion 106 about a folding axis 107. In other words, the folding axis 107 can allow various degrees of rotation between the first portion 104 and the second portion 106. In various embodiments, the flexible touchscreen 102 can be configured to... Figure 1A The fully unfolded position shown is... Figure 1C Rotation between any angle between the fully folded positions shown. In other words, the fold angle θ can range from 180 degrees (e.g., open position) to 0 degrees (e.g., closed position). Alternatively, the fold angle θ can range from 0 degrees to 360 degrees.
[0032] Figure 1B A flexible touchscreen 102 in a partially folded position is shown, wherein a first portion 104 is partially rotated toward a second portion 106 about a folded region 108.
[0033] Figure 1CA flexible touchscreen in a fully folded position is shown, with the first part 104 rotating and contacting the second part 106.
[0034] exist Figures 1A-1C In the illustration, the electronic device 100 is oriented such that the flexible touchscreen 102 is configured to rotate across its width. In other words, the folded area 108 spans the width of the flexible touchscreen 102. This is referred to as a flip mode. In other embodiments of the electronic device 100, the electronic device 100 may be oriented such that the flexible touchscreen 102 is configured to rotate across its length. This is referred to as a fold mode.
[0035] To monitor and determine the folding angle θ of the flexible touchscreen 102, the embodiments described below analyze touch sensing data sensed by the flexible touchscreen 102 in the folding region 108. In various embodiments, the electronic device can determine a linear relationship between a known folding angle θ and the corresponding touch sensing data sensed in the folding region 108. Using this relationship, the electronic device 100 can then determine the folding angle θ. Advantageously, the electronic device 100 can determine the folding angle θ without adding any additional electronic components. In other words, the touch sensing data sensed by the flexible touchscreen 102 in the folding region 108 during self-sensing scanning can be analyzed by converting it to the intensity domain. The folding angle θ can then be determined using the converted touch sensing data and the slope between at least two previously known folding angles θ.
[0036] Figure 1D A schematic diagram of the components of an electronic device is shown.
[0037] refer to Figure 1D The electronic device 100 may include a touchscreen controller 110, a flexible touchscreen 102, and a host 114 that can be coupled to each other via a bus. The electronic device 100 may be a smartphone, GPS device, tablet computer, mobile media player, laptop computer, gaming system, personal computer, or any other electronic device that can utilize the flexible touchscreen 102.
[0038] In various embodiments, host 114 may also be referred to as a system-on-a-chip and may include processors, interfaces, circuitry, etc., configured to direct input and output data streams to the flexible touchscreen 102 and associated touchscreen controller 110. Memory may be integrated onto host 114. Memory may be programmed for short-term and / or long-term memory storage. Memory may include various programs to be executed in host 114. Memory may include volatile and non-volatile memory.
[0039] The touchscreen controller 110 can perform various methods for the flexible touchscreen 102. In various embodiments, the touchscreen controller 110 can analyze information and execute a series of firmware (FW) algorithms based on user input. In various embodiments, the touchscreen controller 110 may include an analog block 111, a digital block 112, and a memory 113 operable by a processor. The analog block 111 may include multiple analog circuits configured to measure the capacitance across the flexible touchscreen 102 and convert it into a digital value. The digital block 112 may include various digital logic circuits, such as a DAC or a digital control system, configured to acquire digital touch data from the analog block 111, process the digital touch data, and store it in the memory 113.
[0040] In various embodiments, memory 113 can be programmed for short-term and / or long-term memory storage. Memory 113 can be configured to store data generated by touchscreen controller 110 and can include various programs to be executed in touchscreen controller 110. Memory 113 may include volatile and non-volatile memory.
[0041] In one or more embodiments, the processor may include an application-specific integrated circuit (ASIC) device, a central processing unit (CPU) or an advanced RISC machine (ARM) core, or any other processing unit known in the art. In various embodiments, the touchscreen controller 110 may include multiple separate computing units, such as a core integrated within a processor, or may include different separate processing chips.
[0042] The flexible touchscreen 102 is designed to record user input via touch on its surface. The electronic device 100 can also be configured to detect input from the flexible touchscreen 102, which may also originate from input from a stylus (active or passive) device. In various embodiments, the flexible touchscreen 102 may include sensors such as a gyroscope or accelerometer. One or more of these sensors may be integrated together.
[0043] The host 114 can be configured to transmit image data to the flexible touchscreen 102 based on the folding angle θ for display on the flexible touchscreen 102. The folding angle θ can be transmitted to the host 114 by the touchscreen controller 110. In various embodiments, the touchscreen controller 110 can be configured to perform mutual inductance and self-inductance scanning to detect changes in the strength of mutual capacitance and self-capacitance, and based on this, calculate the folding angle θ and report it to the host 114.
[0044] Figure 1EA schematic diagram of a flexible touchscreen 102 is shown. In various embodiments, the flexible touchscreen 102 may include a touch sensing layer 116 and a display layer 118. The touch sensing layer 116 and the display layer 118 may be located on the front of the electronic device 100. The display layer 118 may include a light-emitting diode (LED) display, an organic LED display, an LCD, an AMOLED, or any other type of display.
[0045] Figure 1F A schematic diagram of a touch sensing layer 116 is shown. In various embodiments, the touch sensing layer 116 may include drive lines 122 and sensing lines 120 that span the entire flexible touchscreen 102 in a grid-like manner and are operable by a touchscreen controller 110. In various embodiments, the drive lines 122 may be formed as columns across the flexible touchscreen 102, and the sensing lines 120 may be formed as rows across the flexible touchscreen 102 (or vice versa). The number of drive and sensing lines used is not limited by the application.
[0046] In some embodiments, the drive line 122 and the sensing line 120 may overlap. Although Figure 1F The driving line 122 and sensing line 120 are depicted overlapping in an orthogonal manner, but they can also overlap non-orthogonally, such as interlacing or overlapping at various angles.
[0047] The drive line 122 and sensing line 120 may have measurable mutual capacitance at their intersections to form a matrix of Tx and Rx electrodes across the flexible touchscreen 102. The Tx electrodes are arranged in columns along the drive line 122, and the Rx electrodes are arranged in rows along the sensing line 120. At each intersection of the Tx and Rx electrodes, a touch node is formed. The touch node (or sensing node) can detect capacitance changes caused by a user's touch or proximity to the screen. The folding region 108 spans the area around the hinge mechanism or folding axis 107, such as... Figure 1A-Figure 1B As shown, it includes multiple touch nodes. The touch nodes within the folded area 108 can be used to detect the folded state of the device 100.
[0048] When the device is folded or unfolded, the physical deformation of the touchscreen in the folding area 108 causes changes in the capacitance values measured at these touch nodes. These changes occur due to variations in the distance and alignment between the Tx and Rx electrodes as the screen bends. The capacitance changes in the folding area 108 determine the folding state of the device 100. By continuously monitoring the capacitance values of the touch nodes in the folding area 108, the device can detect patterns indicating an open, closed, or intermediate folding state.
[0049] The specific number and arrangement of touch nodes in the folded area 108 can vary depending on the size and design of the device. However, the principle of using these nodes for fold detection remains consistent across various implementations.
[0050] As will be understood by those skilled in the art, each of the drive line 122 and the sensing line 120 may also have a measurable self-capacitance 124. In other words, the drive line 122 and the sensing line 120 are capable of operating in mutual inductance mode and self-inductance mode. Further information regarding the determination of the folding angle θ of the flexible touchscreen 102 using mutual inductance scanning and self-inductance scanning will be described below.
[0051] Figures 2A-2B An exemplary electronic reading of capacitive strength detected by an electronic device according to an embodiment of this application is shown, wherein... Figure 2A An exemplary electronic reading of the capacitance strength detected by an electronic device is shown, and Figure 2B A graphical representation of the self-capacitance intensity sensed by the sensing lines and drive lines of the flexible touchscreen in the folded area is shown.
[0052] Figure 2A An exemplary electronic reading 200 of the capacitive strength detected by an electronic device 100 is shown, which includes the strength detected from mutual inductance scanning and self-inductance scanning.
[0053] According to one embodiment of the invention, the intensity value 203 relates to capacitance-based information generated from the sensing line 120 and the driving line 122.
[0054] The electronic reading 200 includes an intensity value 203 arranged as mutual strength 202, self-inductance 204, and self-force 206.
[0055] The mutual inductance 202 is arranged in a matrix. In one or more embodiments, the mutual inductance process includes the touchscreen controller 110 selecting and driving specific rows of drive lines 122 with voltage and scanning each column of sensing lines 120. In this way, the change in mutual capacitance 123 at each intersection between the corresponding drive line 122 and the sensing line 120 is measured to obtain raw mutual inductance data. This process is repeated sequentially for each drive line 122 to determine the remaining raw mutual inductance data. Then, after determining each value of the raw mutual inductance data, each value of the raw mutual inductance data can be subtracted from the corresponding baseline inductance to obtain the mutual inductance 202.
[0056] In other words, during mutual inductance scanning, when driving a row of driving lines 122, an electric field is formed between the adjacent electrodes of the driven driving lines and the corresponding cross columns of sensing lines 120. When a capacitive object, such as a human finger or stylus, touches the flexible touchscreen 102, the electric field lines passing through the air between adjacent lines are replaced to pass through the capacitive object. These interruptions in the electric field result in a detectable change in mutual capacitance, which can be quantified as raw mutual inductance data and can be converted into mutual intensity 202 by subtracting them from the corresponding baseline intensity.
[0057] Furthermore, the self-inductance strengths can be arranged as self-inductance strength 204 rows and / or self-force strength 206 columns. Self-inductance scanning may include driving (with voltage) the touchscreen controller 110 and scanning each of the sensing lines 120 and driving lines 122. In other embodiments, the self-inductance process may include driving and scanning each sensing line 120 or each driving line 122. During the self-inductance process, the self-capacitance 124 of each of the sensing lines 120 and driving lines 122 is measured to obtain raw self-inductance data. The raw self-inductance data sensed by the sensing line 120 may be defined as raw self-inductance data. The raw self-inductance data sensed by the driving line 122 may be defined as raw self-force data.
[0058] When a capacitive object approaches the driven sensing line 120 or driving line 122, it adds a measurable additional capacitance. This additional capacitance causes charge transfer and thus generates a measurable current. The additional current sensed by the sensing line 120 can be quantized into raw self-inductance data corresponding to each sensing line 120. In the same manner as described above, the raw self-inductance data can be converted into a self-inductance intensity 204 by subtracting the raw self-inductance data from the corresponding baseline intensity.
[0059] Similarly, the additional current sensed by each drive line 122 can be quantified into self-inductance raw data and can be converted into self-inductance strength 206 in the same manner as described above. As will be understood by those skilled in the art, self-inductance strength 204 can be arranged in a single row representing each sensing line 120, and self-inductance strength 206 can be arranged in a single column representing each drive line 122.
[0060] The self-capacitance 124 sensed in the folded region 108 varies based on the folding angle θ. As the first portion 104 rotates, the self-capacitance 124 of the sensing line 120 or driving line 122 in the folded region 108 (depending on the orientation of the rotation) changes significantly. In other words, the sensing line 120 or driving line 122 within the folded region 108 can sense the rotation of the first portion 104 toward the second portion 106.
[0061] For example, such as Figure 2BAs shown in Figure 208, when the electronic device 100 is in flip mode and the flexible touch screen 102 rotates in the direction of the sensing line 120, the self-inductance value in the folded region 108 changes only significantly, while the self-force value in the folded region 108 (e.g., the value at the center of the self-inductance 204) changes very little.
[0062] Therefore, in various embodiments, the folding angle θ can be determined based on the rotational orientation using the self-inductance 204 or self-force 206 across the folding region 108. This will be discussed in more detail below.
[0063] Although the embodiments described below will be discussed with reference to an electronic device 100 configured in a flip mode, this is for illustrative purposes only. In other words, while the processing steps will be described in terms of self-inductance, the same processing steps can be performed using self-force if the electronic device 100 is in a folded mode.
[0064] Figure 3 A graphical representation of the raw self-sensing data detected by a flexible touchscreen in a folded area at two different folding angles, according to an embodiment of this application, is shown.
[0065] Figure 3 The diagram illustrates the difference in raw touch data sensed by the sensing lines during self-sensing scanning in flip mode when the flexible touchscreen 102 is fully open at an angle θ equal to 180 degrees, and when the flexible touchscreen 102 is rotated to 90 degrees. As shown in Figure 302 and Table 304, when the first portion 104 rotates from 180 degrees to 90 degrees, the self-capacitance 124 sensed by the sensing lines 120 in the folded region 108 changes only slightly (e.g., columns 21-23). In other words, the more the first portion 104 rotates toward the second portion 106, the more the folded region 108 senses the first portion 104 (and vice versa). The self-capacitance 124 sensed in the folded region 108 can be correlated with the folding angle θ and used to determine the folding angle θ.
[0066] Figure 4 A graphical representation of the self-induction standard deviation detected by a flexible touchscreen in areas outside the folded area for low and high temperature regions, according to an embodiment of this application, is shown.
[0067] Figure 4Figure 402 illustrates the low-temperature standard deviation 402a and high-temperature standard deviation 402b, determined from the raw self-sensing data sensed by the sensing line 120 during self-sensing scanning. As shown in Figure 402, the self-sensing standard deviation gradually increases at both low and high temperatures. The self-sensing standard deviation is calculated based on the sensing line 120 between the edge regions of the flexible touchscreen and the various portions of the folded region. The self-sensing standard deviation calculation does not include the edge regions of the flexible touchscreen (e.g., Rx1 and Rx41), the first and second portions of the folded region 108 (e.g., Rx20 and Rx22), or the sensing lines receiving touch input. For example, referring to Table 404, the self-sensing standard deviation calculation includes Rx2 to Rx19, Rx21, and Rx23 to Rx40. For example, the low temperature can be set to 20°C, and the high temperature can be set to 60°C.
[0068] Figures 5A-5C A schematic diagram illustrating the process steps according to an embodiment of this application for determining the capacitive strength sensed by a flexible touchscreen based on a baseline strength of the flexible touchscreen using purely raw data, wherein... Figure 5A A schematic diagram illustrates the process steps for automatically tuning a flexible touchscreen to determine the raw data. Figure 5B This demonstrates how to use raw data to detect a table's folded state. Figure 5C A graphical representation of the capacitance intensity sensed in the folded region is shown, based on raw data.
[0069] refer to Figure 5A Before scanning the flexible touchscreen 102 using mutual inductance and self-inductance scanning, pure raw self-inductance data and pure raw mutual inductance data can be determined for each self-capacitance and mutual capacitance.
[0070] After receiving a request from host 114 to set the baseline strength, touchscreen controller 110 can scan flexible touchscreen 102 in a fully open state (e.g., θ = 180°) and determine each mutual capacitance to create the edge detection strength in the raw self-sensing data. For example, in the raw touchscreen panel 510, each mutual capacitance can be equal to 2pF, except for a first mutual capacitance equal to 2.5pF, a second mutual capacitance equal to 1.5pF, and a third mutual capacitance equal to 1pF.
[0071] Based on the mutual capacitance of the original touchscreen panel 510, the touchscreen controller 110 can generate a compensation map 520 to change the capacitance to balance each mutual capacitance. For example, the compensation map 520 changes the required mutual capacitance for all mutual capacitances to be equal to 1pF.
[0072] Then, based on the compensation diagram 520, the touchscreen controller 110 can send the required compensation signal (defined as an auto-tuning signal) to the flexible touchscreen 102 to balance the mutual capacitance. In other words, the touchscreen controller 110 can determine the compensation diagram and send an auto-tuning signal to balance all mutual capacitances.
[0073] Then, after the automatic tuning of the flexible touchscreen 102, the raw data corresponding to the mutual capacitance can be set as the baseline strength and stored in memory. Advantageously, the raw data in memory will not change unless the host 114 requests an update. This process can be performed as needed to determine the folding angle θ.
[0074] refer to Figure 5B Table 540 shows the self-sensing intensity (i.e., the current raw data) in the fully open state (180° folding angle θ) and the self-sensing intensity in the half-open state (90° folding angle θ). The pure raw data sensed by the flexible touchscreen 102 can be converted into pure difference by subtracting the current raw data from the pure raw data. For example, the current raw data detected across the folded region 108 in either the fully open state (180° folding angle θ) or the half-open state (90° folding angle θ) can be used to determine the pure difference by subtracting the current raw data from the pure raw data [pure difference = pure raw - current raw]. The pure difference can be used to determine the pure intensity by adding the absolute value of the first sensing line (e.g., Rx20) in the folded region 108 to the absolute value of the second sensing line (e.g., Rx22) in the folded region 108. For example, in the folded region 108, the first sensing line is Rx20 and the second sensing line is Rx22, [pure intensity = ABS(Rx20 pure differential) + ABS(Rx22 pure differential)]. Advantageously, as described above, using pure raw intensity allows for more accurate self-sensing intensity.
[0075] refer to Figure 5C Figure 550 illustrates a visual representation of the pure intensity of a device with a 90° fold angle. Pure raw data line 552 shows the pure raw data of the sensing lines (e.g., Rx20 and Rx22) in the folded region. Raw data line 554 shows the raw data of sensing lines Rx20 and Rx22 collected in the half-open state (90° fold angle). The difference between pure raw data line 552 and raw data line 554 represents the pure difference of the corresponding sensing lines. The sum of the absolute values of the pure differences (i.e., ABS(-783) and ABS(729)) represents the pure intensity in the half-open state (90° fold angle). In one or more embodiments, the pure intensity may be the sum of the absolute values of the two largest differences between the baseline intensity and the self-capacitance in the folded region.
[0076] Figures 6A-6BA process flow for determining the angular intensity in an electronic device to determine its folded state, according to an embodiment of this application, is shown. Figure 6A The process flow 600 is shown to determine the angular strength based on the closing coefficient when the cover of the device is closed. Figure 6B The process flow 650, which determines the angle strength based on the opening factor when the device's cover is opened, is shown. It will be described below. Figure 6A and Figure 6B The corresponding steps.
[0077] As shown in steps 602 and 652, the process begins with the initialization of the angular intensity and the reference raw values. The angular intensity is initialized to pure intensity in the first frame scan, and the reference raw data is initialized to the current raw data, such as... Figure 5B and Figure 5C As shown. For example, as Figure 5B The calculation was performed when the pure intensity value was 1512 and the angular intensity was initialized to 1512. Similarly, the reference raw data for sensing line Rx20 was initialized to the current raw data value 804, and the reference raw data for sensing line Rx22 was initialized to the current raw data value 676.
[0078] Following initialization, in steps 604 and 654, the reference raw data tracks the current raw data based on the edge states. The edge states include three types: stable (or edge stable), detected (or edge detected), and released (or edge released). The stable state indicates that the reference raw data tracks the current raw data for each AutoCal frame count. The detected and released states indicate that the reference raw data tracks the current RAW after calculating the angular intensity.
[0079] When the reference raw data tracks the current raw data, the process proceeds to steps 606 and 656 to determine whether the edge state is stable. When the edge state is stable, the process returns to steps 604 and 654, and the reference raw data continues to track the current raw data. When the edge state is unstable, the process continues to steps 608 and 658 to calculate the reference strength. The reference strength is the sum of the absolute value (ABS) of the difference between the reference raw (Ref Raw) and the current raw (Raw) of the first sensing line (e.g., Rx20) and the absolute value of the difference between the reference raw and the current raw of the second sensing line (e.g., Rx22). For example, in the folded region 108, the first sensing line is Rx20 and the second sensing line is Rx22, [reference strength = ABS(Rx20Ref Raw - Rx20 Raw) + ABS(Rx22Ref Raw - Rx22 Raw)].
[0080] After calculating the reference strength in steps 608 and 658, the process proceeds to... Figure 6AIn step 610, determine whether the fold angle θ exceeds half fold, or proceed to step 610. Figure 6B Step 660 determines whether the folding angle θ exceeds half-unfolded. In one or more embodiments, a folding angle θ of 0° may be a fully folded position, a folding angle θ of 90° may be a half-folded position, and a folding angle θ of 180° may be a fully unfolded position. For example, when the folding angle θ is between 0° < θ < 90°, the folding angle exceeds half-folded, and when the folding angle is between 90° < θ < 180°, the folding angle exceeds half-unfolded.
[0081] refer to Figure 6A When the folding angle exceeds half-fold (step 610 = Yes), the process proceeds to step 612 to perform a temperature check, then to step 614 to determine if the device is operating in low-power mode, and finally to step 616 to determine if the folding angle exceeds the folding threshold. (Reference) Figure 6B When the fold angle exceeds half-unfolded (step 670 = yes), the process proceeds to step 662 to perform a temperature check, and then to step 664 to determine whether the device is operating in low-power mode.
[0082] In steps 612 and 662, a temperature check is performed to determine whether the device temperature is below a low-temperature threshold or above a high-temperature threshold. If the temperature is outside the threshold range (i.e., below the low-temperature threshold or above the high-temperature threshold) (step 612 / 662 = Yes), the process proceeds to step 620 to apply a closing coefficient to a reference intensity, or to step 670 to apply an opening coefficient to a reference intensity. This coefficient may include a closing coefficient value for temperature compensation and an opening coefficient value for temperature compensation. For example, the closing coefficient value for temperature compensation may be set to 2, such as... Figure 6A As shown, the opening coefficient value used for temperature compensation can be set to 1.2, as... Figure 6B As shown.
[0083] If the temperature is within the normal range (i.e., between the low temperature threshold and the high temperature threshold), the process proceeds to step 614 or 664 to determine whether the device is operating in low power mode.
[0084] refer to Figure 6A If the device operates in low-power mode (step 614 = Yes), the process proceeds to step 620 to apply the correlation coefficient to the reference intensity. In one or more embodiments, the correlation coefficient value can be the same when the device operates in low-power mode to compensate for temperature. For example, the correlation coefficient value for low-power mode can be set to 2, such as... Figure 6A As shown.
[0085] If the device is not operating in low-power mode (step 614 = No), the process proceeds to step 616 to determine if the folding angle exceeds a folding threshold. The folding threshold is a folding angle threshold corresponding to an angle strength threshold. For example, the folding threshold could have an angle strength value of 280°. If the angle strength exceeds the folding threshold's angle strength value in step 616 (step 616 = Yes), the process proceeds to step 622 to apply a correlation coefficient. If the angle strength does not exceed the folding threshold's angle strength value in step 616 (step 616 = No), the process proceeds to step 618 to apply a correlation coefficient. The correlation coefficients in steps 620, 622, and 618 can have the same or different values. For example, the correlation coefficient value when the folding angle exceeds the folding threshold could be set to 1.9 (step 622), while the correlation coefficient value when the folding angle does not exceed the folding threshold could be set to 1.7 (step 618).
[0086] refer to Figure 6B If the device is operating in low-power mode (step 664 = Yes), the process proceeds to step 672 to apply the opening factor to the reference intensity. For example, the opening factor for low-power mode can be 1, such as... Figure 6B As shown. If the device is not operating in low-power mode (step 664 = No), the process proceeds to step 666 to apply the opening factor to the reference strength. If the device is operating in low-power mode (step 664 = Yes), the process proceeds to step 672 to apply the opening factor to the reference strength. The opening factors in steps 666, 670, and 672 can have the same or different values. For example, the opening factor value when the device is in low-operation mode can be set to 1, while the opening factor value when the device is not in low-operation mode can be set to 1.7.
[0087] Although Figures 6A-6B The process flow shows steps 612, 614, and 618 occurring sequentially, as well as steps 662 and 664, but these steps can occur simultaneously or in any order. In other words, when any of the temperature checks 612 and 662, power mode checks 614 and 664, or fold angle threshold checks 616 are applicable (i.e., = yes), the coefficient is applied to or multiplied by the reference strength.
[0088] Figures 6A-6BThe process flow ends in steps 624 and 674, respectively. In steps 624 and 674, the angle strength is calculated. The angle strength can be used to determine when the device lid is closed or open. In one or more embodiments, when the device is in the open state, the device can determine that the lid is closed when the angle strength is close to a closing threshold strength. Similarly, when the device is in the closed state, the device can determine that the lid is open when the angle strength is close to an opening threshold strength. For example, when the angle strength is greater than the closing threshold strength of 1500, the device lid can be closed, and when the angle strength is less than the opening threshold strength of 1500, the device lid can be open.
[0089] refer to Figure 6A When the fold angle does not exceed half a fold (step 610 = No), the process proceeds to step 624 to calculate the angular strength without applying the correlation coefficient to the reference strength. When the fold angle exceeds half a fold, after applying the correlation coefficient to the reference strength in steps 618, 620, and 622, the process proceeds to step 624 to calculate the angular strength with the correlation coefficient applied to the reference strength.
[0090] refer to Figure 6B When the folding angle does not exceed half-unfolded (step 660 = No), the process proceeds to step 674 to calculate the angle strength without applying an opening factor to the reference strength. When the folding angle exceeds half-unfolded, after applying an opening factor to the reference strength in steps 666, 670, and 672, the process proceeds to step 674 to calculate the angle strength with the opening factor applied to the reference strength. In steps 624 and 674, the angle strength is adjusted based on the preceding calculations and checks, and an updated measurement of the folded state of the device is provided. In steps 624 and 674, the process ends by adding or subtracting the reference strength from the angle strength. The adjusted angle strength is calculated by adding or subtracting the reference strength with the applied factor from the angle strength. For example, when the lid of the device is closed, the reference strength is added to the angle strength to obtain the adjusted angle strength. For example, when the lid of the device is open, the reference strength is subtracted from the angle strength to obtain the adjusted angle strength.
[0091] Figures 7A-7D A process for detecting edge states in a foldable device based on pure intensity values, according to an embodiment of this application, is illustrated.
[0092] Figure 7A A circular queue for storing and managing pure strength values in a foldable device is shown according to an embodiment of this application.
[0093] The circular queue is represented as a table with 16 indices, numbered from 0 to 15. Each index corresponds to a specific point in time or frame during the operation of the device. When the pure intensity value is as follows... Figures 5B-5CDuring the calculation, the pure intensity values are stored in a circular queue. The pure intensity values (pure STRs) stored in the circular queue represent the measured pure intensity values at different frames. When a new pure intensity value is calculated, the new pure intensity value is added to the queue, and the oldest value is overwritten when the queue is full. The pure intensity values in the queue show the change corresponding to the difference between the original value of the current frame and the pure original value of the first frame.
[0094] In various embodiments, pure intensity difference (pure STR Diff) can be used to determine the edge states of a foldable device. Pure intensity difference is calculated based on pure intensity values stored in a circular queue. Pure intensity difference is the absolute value of the difference between the sum of the first set of stored pure intensity values based on the current index (e.g., "old" pure intensity values stored in indices 8 through 15) and the sum of the second set of stored pure intensity values based on the current index (e.g., "new" pure intensity values stored in indices 0 through 7). For example, refer to... Figure 7A The pure intensity values shown, when the current index is 7, the sum of the pure intensity values stored in the first group is 1658, and the sum of the pure intensity values stored in the second group is 2112. The pure intensity difference is equal to ABS(1658-2112) or 454.
[0095] Figure 7B A table showing three edge states is provided: stable, detected, and released. Edge states transition between these states based on the device's current edge state, a pure intensity difference calculated from pure intensity values stored in a circular queue, and an edge threshold for the next edge state. Edge thresholds include a detection threshold, a release threshold, and a stable threshold. The edge state is initialized to stable in the first frame. When the current edge state is stable and the pure intensity difference is greater than the detection threshold, the edge state changes to detect. The detection threshold can be a value between 135 and 165, for example, 150. When the current edge state is detected and the pure intensity difference is greater than the release threshold, the edge state becomes released. The release threshold can be a value between 45 and 55, for example, 50. When the current edge state is released and the pure intensity difference is less than the stable threshold, the edge state becomes stable. The stable threshold can be a value between 25 and 35, for example, 30.
[0096] When the pure intensity difference does not satisfy the change condition of the current state, the edge state remains in the current state. For example, when the edge state is stable and the pure intensity difference is not greater than the detection threshold, the edge state remains stable.
[0097] Figure 7CAn example diagram is shown, illustrating the pure intensity difference and edge state thresholds of a foldable device. The pure intensity difference begins in a stable state (i.e., the pure intensity difference is less than a stable threshold 710). When the pure intensity difference exceeds a detection threshold 712, the edge state transitions to a detection state. In the detection state, when the pure intensity difference exceeds a release threshold 714, the edge state transitions to a release state. In the release state, when the pure intensity difference is less than a stable threshold, the edge state transitions to a stable edge state.
[0098] Figure 7D An example diagram illustrating the tracking of raw data and reference raw data by edge state according to an embodiment of this application is shown. The self-capacitance intensity or raw data in the folded region 108 can be used to track the edge state of the electronic device 100. Raw data and reference raw data (Ref Raw) for sensing lines Rx20 and Rx22 are shown. After initialization, the reference raw data (Ref Raw) tracks the current raw data (Raw) based on the edge state. When the edge state is stable, the reference raw data tracks the current raw data at each AutoCal frame count interval. In other words, the edge state is stable when the self-capacitance in the folded region is stable for a duration and the device is not actively folded or unfolded. When the edge state is detected or released, the reference raw data tracks the current raw data immediately after calculating the angular intensity. In other words, the edge state is detected or released when the device is actively folded or unfolded.
[0099] refer to Figure 7D For example, when the lid is closed, the reference raw data tracks the current raw data at each AutoCal frame count interval. When the edge state transitions to edge detection, the reference raw data tracks the current raw data after calculating the angle intensity.
[0100] Figures 8A-8C An exemplary implementation of calculating reference strength and angular strength in a foldable device according to an embodiment of this application is shown. Figures 8A-8C A table is shown, which includes raw data measurements and calculated values for two reference points, Rx20 and Rx22, corresponding to the sensing lines in the folded area of the device.
[0101] Figures 8A-8C An exemplary implementation of calculating the reference intensity in step 608 of Figure 6, as described above, is shown. The reference intensity is the sum of the absolute values of the reference differential of the first sensing line (e.g., Rx20) and the reference differential of the second sensing line (e.g., Rx22) in the folded region. The reference differential is the difference between the reference raw value (Ref Raw) and the current raw value (Raw). The reference raw data is tracked based on the edge state, such as... Figure 7D As shown.
[0102] Figure 8A A set of reference original and current original measurements is shown, representing intensity values collected during frame scanning for the folded state of the foldable device. Reference Figure 8A The table shows the original reference values of 379 and -150 for Rx20 and Rx22, respectively, with corresponding current original values of 400 and 168. The reference difference is calculated as the difference between the current original value and the original reference value. Therefore, for sensing line Rx20, the reference difference is -21, while for sensing line Rx22, the reference difference is 18. The reference intensity is then calculated as the sum of the absolute values of the reference differences, resulting in 39.
[0103] Figure 8B Another set of reference original and current original measurements is shown, representing intensity values collected during another frame scan for the folded state of the foldable device. Reference Figure 8B The table shows the original reference values for Rx20 and Rx22 as 902 and -658, respectively, with corresponding current original values of 888 and -646. The reference differential is calculated to be 14 and -12. Therefore, the reference strength is ABS(14) + ABS(-12) = 26.
[0104] Figure 8C Another set of reference original and current original measurements is shown, representing intensity values collected during frame scanning for the folded state of the foldable device, with coefficients applied to the reference intensity. Correction coefficients may include open and closed coefficients. An open coefficient can be applied to the reference intensity when the lid is more than half-open (i.e., the lid is open), while a closed coefficient can be applied to the reference intensity when the lid is more than half-folded (i.e., the lid is closed).
[0105] As shown in Figure 6, when the folding angle in step 610 is between 0°<θ<90° or between 90°<θ<180°, when the device temperature in step 612 is below the low temperature threshold or above the high temperature threshold, or when the device is operating in low power mode in step 614, this coefficient is applied to the reference strength.
[0106] refer to Figure 8C The table shows the original reference values for Rx20 and Rx22 as 1523 and -1251, respectively, with corresponding current original values of 1529 and -1262. Reference differentials are calculated to yield -6 and 11. The reference strength is ABS(-6) + ABS(-11) = 17, and the applied factor is 1.9. For example, a reference strength calculation including a factor or multiplier of 1.9 yields a value of 32. Figure 8CThis includes the angular strength calculation described in step 618 of Figure 6. When the device is in a semi-folded state (i.e., the lid is closed), the reference strength is added to the angular strength to adjust the angular strength. When the device is in a semi-open state (i.e., the lid is open), the reference strength is subtracted from the angular strength to obtain the adjusted angular strength. In this embodiment, the reference strength with an applied coefficient is added to the angular strength. Therefore, the angular strength is 2854 + 32 = 2886. The angular strength can be used to determine whether the folding state of the device has changed.
[0107] Figures 9A-9B A graphical representation of the angular strength of a foldable device according to an embodiment of this application is shown.
[0108] Figure 9A A graphical representation 900 of the angular intensity 910 of the foldable device is shown, starting from either the open lid state 902 or the closed lid state. In one or more embodiments, the angular intensity 910 increases as the lid moves from open to closed. When the angular intensity reaches a closing threshold 906 while the lid is in the open lid state 902, the touchscreen controller sends a lid-closed event to the host to indicate that the foldable device is in the closed lid state 904. The device can then operate in Ultra-Low Power Mode (UltraLP), or the display can be turned off to save power. In Ultra-Low Power Mode, the touchscreen controller can continue scanning to detect changes in the lid state. Furthermore, Ultra-Low Power Mode can minimize power consumption by performing only self-induction.
[0109] Figure 9B A graphical representation 900 of the angular strength 910 of the foldable device is shown, starting from a closed state 904 or a closed state. In one or more embodiments, the angular strength 910 decreases as the lid moves from closed to open. When the angular strength reaches an open threshold 908 while the lid is in the closed state 904, the touchscreen controller sends a lid open event to the host to indicate that the foldable device is in a lid open state 902, where the lid is at least partially open. The device can then operate in normal power mode and turn on the display.
[0110] Figure 10 Exemplary electronic readings of capacitive strength detected by a foldable device according to embodiments of this application are shown, including strengths detected from mutual inductance scanning and self-inductance scanning.
[0111] The electronic reader 1000 includes strength values arranged as mutual strength 1002, self-inductance strength 1004, and self-force strength 1006. Figure 10The intensity values of a touch or selection in the folded area of the device are shown. Self-inductance intensity 1004 can be used to detect capacitance changes when the device is folded. Similarly, capacitance changes can be detected when a capacitive object (such as a user touch input) approaches or touches the folded area of the touchscreen. Unlike capacitance changes when the device is folded, when a touch is detected in the folded area, in addition to self-inductance intensity 1004, mutual intensity 1002 and force intensity 1006 also change. For example, refer to... Figure 10 When a touch occurs in the folded area, the mutual strength value 1002a, the self-force strength value 1006a, and the self-sensitivity value 1004a in the folded area will change, and as... Figure 2A As shown, the mutual strength value and the self-strength value do not change. Therefore, the device can distinguish between touch strength and folding strength in the folded area.
[0112] Figures 11A-11B An embodiment of the present application is shown to verify the representation of the folding angle based on the self-intensity distribution. Figure 11A A table showing the intensity values of touch intensity and folding intensity in the folded area is provided. Figure 11B The intensity distribution of touch intensity and folding intensity is shown.
[0113] like Figure 11A Table 1102 and Figure 11B As shown in Figure 1104, the self-intensity distribution involves the touchscreen controller evaluating the self-intensity. As shown in Table 1102 and Figure 1104, whether the self-intensity corresponds to a touch or the folding angle θ depends on the sign of the intensity on each side of the folding axis 107. For example, a positive self-intensity value on the first portion of the folding axis 107 can correspond to a touch, and a negative self-intensity value can correspond to folding (and vice versa). Therefore, based on the sign of the self-intensity, the touchscreen controller 110 can verify the folding angle θ. Thus, the device can distinguish between the intensity value of a user's touch input or the behavior of the folding device. This distinction allows for the correct interpretation of user input regardless of the current folding state of the device.
[0114] As described above, in order to switch from the raw data domain to the intensity domain, as will be understood by those skilled in the art, the touchscreen controller can convert the raw data value into intensity by subtracting the raw data from the corresponding baseline value.
[0115] Figure 12 A flowchart 1200 is shown, depicting a process by which a host and a touchscreen controller in a foldable device initialize baseline strength according to an embodiment of this application. The flowchart illustrates that host 1210 and touchscreen controller 1220 create baseline strength to create strength to edge detection.
[0116] The process begins with host 1210 initiating an auto-tuning request to touchscreen controller 1220. This request initiates a calibration process at touchscreen controller 1220. Touchscreen controller 1220 performs auto-tuning of mutual capacitance, sensing capacitance, and force capacitance in step 1222. In auto-tuning step 1222, touchscreen controller 1220 sends auto-tuning signals to equalize mutual capacitance, self-capacitance, and force capacitance. In various embodiments, auto-tuning is performed when the device is fully open or has a 180° folding angle θ.
[0117] After automatic tuning is completed in step 1222, the touchscreen controller 1220 sets baselines for mutual capacitance, force capacitance, and sensing capacitance in step 1224. The baseline capacitance can be set as a reference point, against which future touch and fold detection can be measured.
[0118] When the baseline is set in step 1224, the touchscreen controller 1220 saves the baseline to memory (e.g., ROM). The baseline capacitance saved to memory becomes pure raw data used to calculate the pure intensity for detecting edge states, such as... Figures 7A-7C As shown.
[0119] Figures 13A-13D A flowchart 1300 illustrates the process of detecting and managing the folding state of a foldable device. Flowchart 1300 outlines a series of steps and decision points for initializing, tracking, and calculating various parameters related to determining the folding state of the device.
[0120] refer to Figure 13A The process begins with a self-scan performed in step 1301. During the self-scan, the touchscreen controller drives drive line 122 and scans sensing line 120. The self-scan involves applying a small voltage to each touch electrode and measuring the resulting capacitance to determine raw self-inductance data. In various embodiments, the self-scan captures baseline capacitance values of electrodes located in the folding region 108 of the foldable device.
[0121] Following the self-scanning step 1301, the process begins performing a temperature check in step 1303. In various embodiments, the temperature check can be determined by analyzing changes in the self-induction standard deviation, such as... Figure 4 As shown.
[0122] Following the temperature check in step 1303, the process begins to perform pure intensity edge detection. In various embodiments, pure intensity edge detection includes determining the pure intensity of the folded region of the device based on the capacitance collected during the self-scan in step 1301.
[0123] After performing pure intensity edge detection, in step 1307, the process continues to determine whether the initialization of the corner intensity and reference raw data has been completed. If the initialization of the corner intensity and reference raw value has not been completed, the touchscreen controller sets the corner intensity to the current pure intensity value and the reference raw value to the current raw value, and continues to step 1311 to check whether the edge state is stable. For example, in step 1309, the corner intensity is equal to the current pure intensity, and the reference raw value is equal to the current raw values of Rx20 and Rx22. If the initialization of the corner intensity and reference raw value is completed in step 1307, the touchscreen controller determines whether the edge state is stable in step 1311.
[0124] If the edge state is not stable in step 1311, the process continues to step 1313 to determine whether the reference original tracking count is equal to zero. Figure 13B As shown. When the reference original tracking count is equal to zero, in step 1315, the touchscreen controller sets the reference original value to be equal to the current original value of the sensing lines (e.g., Rx20 and Rx22) in the folded area. When the reference original tracking count is not equal to zero in step 1313, the process proceeds to step 1317 to determine whether the reference original tracking count is greater than the reference original AutoCal count threshold. When the reference original tracking count exceeds the reference original AutoCal count threshold, in step 1319, the touchscreen controller resets the reference original tracking count to zero. When the reference original tracking count does not exceed the reference original AutoCal count threshold, the touchscreen controller increments the reference original tracking count in step 1319.
[0125] If the edge state is stable in step 1311, the process continues to step 1323 to calculate the reference strength, such as... Figure 13C As shown. After calculating the reference strength, in step 1325, the touchscreen controller determines whether the lid is closed. For example, the lid is closed when the device is folded or the folding angle at folding axis 107 decreases. The lid is not closed (i.e., open) when the device is unfolded or the folding angle at folding axis 107 increases.
[0126] If the lid is closed, in step 1326, the touchscreen controller detects whether the lid is folded more than halfway or whether the folding angle is less than 90 degrees. If the folding angle is greater than halfway, in step 1327, the touchscreen controller detects whether the lid is more than halfway folded, whether the low temperature and high temperature indicators are true, or whether the scanning mode is in low power mode. If one of these conditions applies (step 1327 = Yes), then in step 1329, a closing factor is applied to the reference strength. After applying the closing factor to the reference strength in step 1329, the reference strength with the applied closing factor is added to the angle strength in step 1331. If the folding angle does not exceed halfway or is between 90 and 180 degrees (step 1326 = No), or if these conditions do not apply (step 1327 = No), then in step 1331, the reference strength without a closing factor is added to the angle strength.
[0127] If the lid is open (i.e., not closed), in step 1332, the touchscreen controller detects whether the lid is more than half-open or whether the folding angle is greater than 90 degrees. If the folding angle is more than half-open, in step 1333, the touchscreen controller detects whether the lid is more than half-open, whether the low temperature and high temperature indicators are true, or whether the scanning mode is in low power mode. If one of these conditions applies (step 1333 = Yes), in step 1335, an opening factor is applied to the reference strength. After applying the opening factor to the reference strength in step 1335, the reference strength with the applied opening factor is subtracted from the angle strength in step 1337. If the folding angle is less than half-open or between 0 and 90 degrees (step 1332 = No) or these conditions do not apply (step 1333 = No), in step 1337, the reference strength without an opening factor is subtracted from the angle strength.
[0128] After calculating the angle strength in step 1331 or step 1337, the process continues in step 1339 to determine whether the lid is open, such as... Figure 13D As shown. When the lid is open in step 1339, the touchscreen controller continues in step 1343 to detect whether the angle intensity is greater than the closing threshold. When the angle intensity is greater than the closing threshold in step 1343, the lid is set to closed in step 1347, and the lid status is reported to the host. On the other hand, when the angle intensity is less than the closing threshold in step 1343, the lid is set to open in step 1349, and the lid status is reported to the host.
[0129] When the lid is closed in step 1339, the touchscreen controller continues in step 1345 to detect whether the angle intensity is less than the opening threshold. If the angle intensity is less than the opening threshold in step 1345, the lid is set to open in step 1349, and the lid status is reported to the host. Conversely, if the angle intensity is greater than the opening threshold in step 1345, the lid is set to closed in step 1347, and the lid status is reported to the host.
[0130] In various embodiments, when the lid is closed, the scanning mode can be set to ultra-low power mode, and the touchscreen 102 can be turned off. On the other hand, when the lid is open, the scanning mode can be set to normal power idle mode, and the touchscreen 102 can be turned on.
[0131] Figures 14A-14B A process for performing temperature checking and compensation according to an embodiment of this application is illustrated. Flowchart 1400 performs temperature checking by comparing the self-induction standard deviation with a temperature threshold.
[0132] refer to Figure 14A The process begins with a self-scan performed in step 1401. During the self-scan, the touchscreen controller drives drive line 122 and scans sensing line 120. The self-scan involves applying a small voltage to each touch electrode and measuring the resulting capacitance to determine raw self-inductance data. In various embodiments, the self-scan captures baseline capacitance values of electrodes located in the folding region 108 of the foldable device.
[0133] Then, in step 1403, the touchscreen controller continues to check the self-inductance standard deviation. The self-inductance standard deviation is determined by the raw self-inductance data sensed by the sensing line 120 during the self-inductance scan. At low or high temperatures, the self-inductance standard deviation gradually increases, such as... Figure 4 As shown in Figure 402.
[0134] The process continues to step 1405 to determine if the self-inferred standard deviation is greater than a temperature threshold. The temperature threshold may include a low-temperature threshold and a high-temperature threshold. When the standard deviation exceeds this threshold in step 1405 to indicate a potential temperature-related shift in the raw data, the process continues to step 1407 to determine if the low-temperature and high-temperature flags are false (FALSE). If the low-temperature and high-temperature flags are false, they are set to true (TRUE) in step 1409. (Reference) Figure 13CFlowchart 1300. When the low temperature and high temperature flags are true and the lid is closed, in step 1329, the closing coefficient is applied to the reference intensity, and then in step 1331, it is added to the angular intensity to compensate for the original data shift. Similarly, when the low temperature and high temperature flags are true and the lid is open, in step 1335, the opening coefficient is applied to the reference intensity, and then in step 1337, it is subtracted from the angular intensity to compensate for the original data shift.
[0135] When the standard deviation does not exceed the temperature threshold in step 1405, flowchart 1400 continues to step 1411 to evaluate whether the standard deviation has dropped below the hysteresis range. In various embodiments, the hysteresis range is a threshold range below the temperature threshold. If the standard deviation has dropped below the hysteresis range, then in step 1413, the low temperature and high temperature flags are set to false. When the standard deviation is within the hysteresis range, the low temperature and high temperature flags do not change, as shown in step 1410. For example, if the low temperature and high temperature flags are true and the standard deviation is within the hysteresis range (1411 = N), then the low temperature and high temperature flags remain true. In step 1410, the low temperature and high temperature flags can be true or false. If the low temperature and high temperature flags are true, then the closing or opening coefficient can be applied as described in step 1409. If the low temperature and high temperature flags are false, the process flows to step 1415 as described below.
[0136] Flowchart 1400 continues Figure 14B to perform temperature compensation by evaluating multiple conditions to determine when to adjust the angular intensity value. In step 1415, the process determines whether the sum of the pure differential threshold (pure Diff threshold) and the absolute value of the angular intensity (ABS(angular intensity)) is less than the absolute value of the pure intensity (ABS(pure intensity)). If ((pure Diff threshold) + ABS(angular intensity)) < ABS(pure intensity), then this situation may indicate that due to an error that occurs when the original data changes slowly, the edge state has not changed to the edge detection state.
[0137] If ((pure Diff threshold) + ABS(angular intensity)) is greater than ABS(pure intensity), then the process goes to step 1419 to determine whether the lid state is open and whether the lid open threshold exceeds the pure intensity value. If the lid state is open and the lid open threshold exceeds the pure intensity value, then these simultaneous conditions may indicate that the lid state has not changed when the lid is opened beyond the open threshold.
[0138] When the lid is in an open state or the lid opening threshold does not exceed the pure strength value, the process proceeds to step 1425 to determine whether the lid is in a closed state and whether the lid closing threshold is less than the pure strength value. If the lid is in a closed state and the lid closing threshold is less than the pure strength value, these simultaneous conditions indicate that the lid state has not changed when the lid is closed beyond the closing threshold.
[0139] If in step 1415 (pure Diff threshold + ABS (angle strength)) is less than ABS (pure strength), and in step 1419 the lid is open and the lid opening threshold exceeds the pure strength value, or in step 1425 the lid is closed and the lid closing threshold is less than the pure strength value, then the process proceeds to step 1417 to increase the pure compensation de-jitter count, and in step 1421 the pure compensation count is compared with the compensation threshold. If in step 1421 the pure compensation count is not greater than the compensation threshold, the process proceeds to step 1429 to end the temperature compensation process. If in step 1421 the pure compensation count is greater than the compensation threshold, in step 1423 the angle strength is set to equal the pure strength and the pure compensation count is set to zero, then the process proceeds to step 1429 to end the temperature compensation process.
[0140] Figure 15 A flowchart 1500 for determining the edge state in a foldable device according to an embodiment of this application is shown. Figure 15 Combining Figures 7A-7D The process is described below. Flowchart 1500 illustrates the calculation, storage, and analysis of pure intensity values to determine the current edge state of the device.
[0141] The process begins with calculating the pure intensity in step 1501. In various embodiments, the pure intensity is equal to the sum of the absolute values of the pure differences of the first sensing line in folded region 108 and the absolute values of the pure differences of the second sensing line in folded region 108. For example, as... Figure 5B As shown, Pure Strength = ABS(Rx20 Pure Difference) + ABS(Rx22 Pure Difference). Pure Difference is the difference between the pure original value and the current original value; for example, Pure Difference = Pure Original - Current Original.
[0142] When calculating the pure intensity value, in step 1503, the pure intensity value is stored in a circular queue. A circular queue is a data structure that provides efficient storage and retrieval of historical values. The process proceeds to step 1505 to calculate the pure intensity difference (pure STR Diff). Figure 7A As shown, the pure intensity difference is the absolute value of the difference between the sum of the pure intensity values stored in the first group of the circular queue and the sum of the pure intensity values stored in the second group of the circular queue.
[0143] Flowchart 1500 continues with a series of evaluations to determine the edge state. In step 1507, the pure intensity difference is compared with an edge detection threshold. When the pure intensity difference is greater than the edge detection threshold, the process proceeds to step 1509 to set the edge state to edge detection, and then proceeds to step 1525 to end the edge state update.
[0144] If the pure intensity difference is not greater than the edge detection threshold in step 1507, the process proceeds to step 1511, where the pure intensity difference is compared with the edge release threshold. If the pure intensity difference is greater than the edge release threshold, the process proceeds to step 1513 to set the edge state to edge release, and then proceeds to step 1525 to end the edge state update.
[0145] If the pure intensity difference is not greater than the edge release threshold in step 1511, the process proceeds to step 1515, where the pure intensity difference is compared with an edge stabilization threshold. If the pure intensity difference is not less than the edge stabilization threshold, the process proceeds to step 1519 to set the edge stabilization dejitter count to zero, and proceeds to step 1525 to end the edge state update. On the other hand, if the pure intensity difference is less than the edge stabilization threshold, the process proceeds to step 1517 to increase the edge stabilization dejitter count. The process proceeds to step 1521, where the edge stabilization dejitter count is compared with an edge stabilization count threshold. If the edge stabilization dejitter count is greater than the edge stabilization count threshold, the edge state is set to edge stabilization in step 1523, and proceeds to step 1525 to end the edge state update. If the edge stabilization dejitter count is not greater than the edge stabilization count threshold, the process proceeds to step 1525 to end the edge state update.
[0146] In various embodiments, this edge detection process allows foldable devices to track changes in their folded state. By using thresholding and de-jitter mechanisms, the system can distinguish significant state changes.
[0147] Exemplary embodiments of the invention are summarized herein. Other embodiments may also be understood from the full contents of the description and claims submitted herein. It should be understood that the various embodiments described herein can be combined.
[0148] Example 1. A first example includes a method of operating an electronic device. The method includes: detecting, by a touchscreen controller using self-sensing scanning, a self-capacitance sensed in a folded region of a touchscreen, wherein the folded region includes a first portion and a second portion on the touchscreen, and the first portion and the second portion are separated by a folding axis. The method further includes: in a partially folded position, determining a reference intensity sensed by the touchscreen in the folded region based on the self-capacitance in the folded region; determining, based on the reference intensity, that the device is outside a half-folded position; determining temperature information of the touchscreen in response to determining that the device is outside the half-folded position; determining a corrected reference intensity from the reference intensity based on the temperature information in response to determining that the temperature information of the touchscreen is outside a predetermined temperature window; determining an angular intensity of the partially folded position based on the corrected reference intensity; and determining whether the device is open or closed based on the angular intensity.
[0149] Example 2. The method according to Example 1 may further include: determining that the touchscreen is in a low-power operating mode in the partially folded position; and in response to determining that the touchscreen is in the low-power operating mode, determining the calibrated reference strength further includes adjusting the calibrated reference strength to take into account the lower operating voltage of the low-power operating mode.
[0150] Example 3. The method according to any one of the above examples may further include: determining that the folding angle of the device exceeds a folding threshold; and determining the corrected reference intensity further includes adjusting the corrected reference intensity to amplify the reference intensity based on the folding angle of the device and the folding threshold.
[0151] Example 4. The method according to any one of the above examples may further include: determining that the device is turned on when the angle intensity reaches the opening threshold.
[0152] Example 5. The method according to any one of the above examples may further include: in response to determining that the device is turned on, the touchscreen controller sets the scanning mode to a normal power mode.
[0153] Example 6. The method according to any one of the above examples may further include: reporting to a host that the device is open in response to determining that the device is open based on the angular intensity; and, in response to receiving the report that the device is open, the host turns on the display of the touch screen.
[0154] Example 7. The method according to any one of the above examples may further include: determining that the device is closed when the angular intensity reaches a closing threshold; and in response to determining that the device is closed, the touchscreen controller sets the scanning mode to an ultra-low power mode.
[0155] Example 8. The method according to any one of the above examples may further include: reporting the device closed to a host in response to determining the device closed based on the angular intensity; and shutting off the display of the touch screen by the host in response to receiving the report of the device closed.
[0156] Example 9. In the above example, determining the temperature information of the touchscreen in the partially folded position may include: using the self-sensitivity scan by the touchscreen controller to detect self-capacitance in a standard deviation region, the standard deviation region including a region of the touchscreen outside the folded region, an edge region, or any region of the touchscreen currently being touched; determining a self-sensitivity standard deviation from the standard deviation region; and determining that the self-sensitivity standard deviation is outside the predetermined temperature window.
[0157] Example 10. The method according to any one of the above examples may further include: determining a baseline intensity of the touchscreen by the touchscreen controller; determining a difference between the baseline intensity and the self-capacitance sensed in the folded region by the touchscreen controller; and determining the pure intensity of the touchscreen by the touchscreen controller by adding the absolute values of two maximum differences between the baseline intensity and the self-capacitance in the folded region.
[0158] Example 11. In the above example, determining the baseline strength of the touchscreen further includes the touchscreen controller performing automatic tuning of the touchscreen.
[0159] Example 12. The method according to any one of the above examples may further include: storing the pure intensity of the touchscreen in a circular queue; calculating the difference between a first set of pure intensity and a second set of pure intensity, the first set of pure intensity being the sum of pure intensity stored earlier in the circular queue, and the second set of pure intensity being the sum of pure intensity stored later in the circular queue; determining an edge state as stable based on the difference between the first set of pure intensity and the second set of pure intensity, wherein determining the edge state as stable indicates that the self-capacitance in the folded region is stable for a predetermined duration; determining the edge state as unstable in response to the difference being greater than a first edge threshold or a second edge threshold; and determining the edge state as stable in response to the difference being less than a third edge threshold.
[0160] Example 13. A second example includes a method of operating an electronic device. The method includes: detecting, by a touchscreen controller using self-sensing scanning, a self-capacitance sensed in a folded region of a touchscreen, wherein the folded region includes a first portion and a second portion on the touchscreen, and the first portion and the second portion are separated by a folding axis; in a partially folded position, determining a reference intensity sensed by the touchscreen in the folded region based on the self-capacitance in the folded region; determining, based on the reference intensity, that the device is outside a half-folded position; in response to determining that temperature information of the touchscreen is outside a predetermined temperature window, determining a first corrected reference intensity from the reference intensity based on the temperature information, or in response to determining that the touchscreen is in a low-power operating mode, determining a second corrected reference intensity based on the reference intensity to take into account the lower operating voltage of the low-power operating mode; and determining an angular intensity of the partially folded position based on the first corrected reference intensity or the second corrected reference intensity.
[0161] Example 14. The method according to Example 13 may further include: in response to determining that the temperature information of the touchscreen is within the predetermined temperature window and in response to determining that the device is not operating in a low-power mode, determining whether the folding angle exceeds a folding threshold; in response to determining whether the folding angle of the touchscreen is greater than the folding threshold, determining a third corrected reference intensity based on the folding angle of the device and the folding threshold to amplify the reference intensity; and determining the angular intensity of the partial folding position based on the third corrected reference intensity.
[0162] Example 15. The method according to any one of the above examples may further include: determining that the angle intensity has reached an opening threshold; and sending an opening event to the host in response to the angle intensity reaching the opening threshold.
[0163] Example 16. The method according to any one of the above examples may further include: in response to the open event, the touchscreen controller setting the scan mode to a normal power mode; and in response to the open event, the host turning on the display of the touchscreen.
[0164] Example 17. The method according to any one of the above examples may further include: determining that the angle intensity has reached a closing threshold; and sending a closing event to the host in response to the angle intensity reaching the closing threshold.
[0165] Example 18. The method according to any one of the above examples may further include: in response to the closing event, the touchscreen controller setting the scanning mode to an ultra-low power mode; and in response to the closing event, the host shutting off the display of the touchscreen.
[0166] Example 19. In the above example, determining the angular strength of the partial folding position based on the first corrected reference strength or the second corrected reference strength may include: determining that the device is folding; and in response to determining that the device is folding, adding the first corrected reference strength or the second corrected reference strength to the angular strength.
[0167] Example 20. In the above example, determining the angular strength of the folding position based on the first corrected reference strength or the second corrected reference strength may include: determining that the device is unfolding; and subtracting the first corrected reference strength or the second corrected reference strength from the angular strength in response to determining that the device is unfolding.
[0168] Example 21. In another example, a device includes: a touchscreen including a first portion and a second portion, the first portion being configured to rotate relative to the second portion about a folding axis located within a folding region; a touchscreen controller; and a memory for storing a program to be executed in the touchscreen controller. The program includes instructions for: using self-sensing scanning to detect self-capacitance sensed in the folded region of the touchscreen; in a partially folded position, determining a reference intensity sensed by the touchscreen in the folded region based on the self-capacitance in the folded region; determining that the touchscreen is outside the half-folded position based on the reference intensity; in response to the touchscreen's temperature information being outside a predetermined temperature window, determining a first calibrated reference intensity based on the temperature information from the reference intensity; in response to the touchscreen operating in a low-power mode, determining a second calibrated reference intensity based on the reference intensity to account for the lower operating voltage of the low-power mode; or in response to the touchscreen's folding angle exceeding a folding threshold, determining a third calibrated reference intensity based on the folding angle and the folding threshold of the device to amplify the reference intensity; and determining the angular intensity of the folded position based on the first calibrated reference intensity, the second calibrated reference intensity, or the third calibrated reference intensity.
[0169] Although the invention has been described with reference to illustrative embodiments, this specification is not intended to be limited in a restrictive sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention, will be readily apparent to those skilled in the art upon reference to this specification. Therefore, the appended claims are intended to cover any such modifications or embodiments.
Claims
1. A method for operating an electronic device, the method comprising: The touchscreen controller uses self-sensing scanning to detect the self-capacitance sensed in the folded area of the touchscreen, wherein the folded area includes a first portion and a second portion on the touchscreen, and the first portion and the second portion are separated by a folding axis. In the partially folded position, the reference intensity sensed by the touchscreen in the folded area is determined based on the self-capacitance in the folded area; The device is determined to be outside the semi-folded position based on the reference strength; In response to determining that the device is outside the semi-folded position, the temperature information of the touchscreen is determined; In response to determining that the temperature information of the touchscreen is outside a predetermined temperature window, a corrected reference intensity is determined from the reference intensity based on the temperature information; The angular strength of the partial folding position is determined based on the corrected reference strength; as well as The device is determined to be either open or closed based on the angular intensity.
2. The method according to claim 1, further comprising: It is determined that the touchscreen is in a low-power operation mode in the partially folded position; as well as In response to determining that the touchscreen is in the low-power operating mode, determining the calibrated reference strength further includes adjusting the calibrated reference strength to take into account the lower operating voltage of the low-power operating mode.
3. The method according to claim 1, further comprising: It is determined that the folding angle of the device exceeds the folding threshold; as well as Determining the corrected reference strength also includes adjusting the corrected reference strength to amplify the reference strength based on the folding angle and the folding threshold of the device.
4. The method according to claim 1, further comprising: When the angular intensity reaches the opening threshold, the device is determined to be open.
5. The method according to claim 4, further comprising: In response to determining that the device is turned on, the touchscreen controller sets the scanning mode to normal power mode.
6. The method according to claim 1, further comprising: In response to determining that the device is open based on the angle intensity, the device is reported to the host that it is open; as well as In response to receiving the report that the device is turned on, the host turns on the display of the touchscreen.
7. The method according to claim 1, further comprising: When the angular intensity reaches the closing threshold, the device is determined to be closed; as well as In response to determining that the device is off, the touchscreen controller sets the scanning mode to ultra-low power mode.
8. The method according to claim 1, further comprising: In response to determining that the device is closed based on the angular intensity, the device is reported closed to the host; as well as In response to receiving the report that the device is turned off, the host computer shuts down the display of the touchscreen.
9. The method of claim 1, wherein determining the temperature information of the touchscreen in the partially folded position comprises: The touchscreen controller uses the self-sensing scan to detect self-capacitance in a standard deviation region, which includes the area of the touchscreen outside the folded area, the edge area, or any area of the touchscreen currently being touched; Determine the self-perceived standard deviation from the aforementioned standard deviation region; as well as The self-induction standard deviation is determined to be outside the predetermined temperature window.
10. The method according to claim 1, further comprising: The baseline strength of the touchscreen is determined by the touchscreen controller; The difference between the baseline intensity and the self-capacitance sensed in the folded area is determined by the touchscreen controller; as well as The touchscreen controller determines the pure strength of the touchscreen by adding the absolute values of the two maximum differences between the baseline strength and the self-capacitance in the folded region.
11. The method of claim 10, wherein determining the baseline intensity of the touchscreen further comprises: The touchscreen controller performs the automatic tuning of the touchscreen.
12. The method of claim 10, further comprising: The pure intensity of the touchscreen is stored in a circular queue; Calculate the difference between the first group of pure intensities and the second group of pure intensities, where the first group of pure intensities is the sum of the pure intensities stored earlier in the circular queue, and the second group of pure intensities is the sum of the pure intensities stored later in the circular queue; as well as The edge state is determined to be stable based on the difference between the first set of pure intensities and the second set of pure intensities, wherein determining the edge state to be stable indicates that the self-capacitance in the folded region is stable for a predetermined duration. In response to the difference being greater than a first edge threshold or a second edge threshold, the edge state is determined to be unstable; and In response to the difference being less than a third edge threshold, the edge state is determined to be stable.
13. A method of operating an electronic device, the method comprising: The touchscreen controller uses self-sensing scanning to detect the self-capacitance sensed in the folded area of the touchscreen, wherein the folded area includes a first portion and a second portion on the touchscreen, and the first portion and the second portion are separated by a folding axis. In the partially folded position, the reference intensity sensed by the touchscreen in the folded area is determined based on the self-capacitance in the folded area; The device is determined to be outside the semi-folded position based on the reference strength; In response to determining that the temperature information of the touchscreen is outside a predetermined temperature window, a first calibrated reference intensity is determined from the reference intensity based on the temperature information; or in response to determining that the touchscreen is in a low-power operation mode, a second calibrated reference intensity is determined from the reference intensity to take into account the lower operating voltage of the low-power operation mode. as well as The angular strength of the partial fold position is determined based on either the first corrected reference strength or the second corrected reference strength.
14. The method of claim 13, further comprising: In response to determining that the temperature information of the touchscreen is within the predetermined temperature window and in response to determining that the device is not operating in low power mode, it is determined whether the folding angle exceeds the folding threshold. In response to determining that the folding angle of the touchscreen is greater than the folding threshold, a third corrected reference intensity is determined based on the folding angle of the device and the folding threshold to amplify the reference intensity; as well as The angular strength of the partial fold position is determined based on the third corrected reference strength.
15. The method of claim 13, further comprising: Determine that the angle strength has reached the opening threshold; as well as In response to the angle strength reaching the opening threshold, an opening event is sent to the host.
16. The method of claim 15, further comprising: In response to the open event, the touchscreen controller sets the scanning mode to normal power mode; as well as In response to the open event, the host turns on the display of the touchscreen.
17. The method of claim 13, further comprising: Determine that the angle intensity reaches the closing threshold; and In response to the angle intensity reaching the closing threshold, a closing event is sent to the host.
18. The method of claim 17, further comprising: In response to the closing event, the touchscreen controller sets the scanning mode to ultra-low power mode; as well as In response to the closing event, the host computer shuts down the display of the touchscreen.
19. The method of claim 13, wherein determining the angular strength of the partial fold position based on the first corrected reference strength or the second corrected reference strength comprises: It is determined that the device is folding; as well as In response to determining that the device is folding, the first corrected reference strength or the second corrected reference strength is added to the angular strength.
20. The method of claim 13, wherein determining the angular strength of the fold position based on the first corrected reference strength or the second corrected reference strength comprises: It is confirmed that the device is being deployed; as well as In response to determining that the device is being deployed, the first corrected reference strength or the second corrected reference strength is subtracted from the angular strength.
21. An apparatus comprising: The touchscreen includes a first portion and a second portion, the first portion being configured to rotate relative to the second portion about a folding axis located within the folding region; Touchscreen controller; as well as A memory for storing a program to be executed in the touchscreen controller, the program including instructions to perform the following: Self-sensing scanning is used to detect the self-capacitance sensed in the folded area of the touchscreen; In the partially folded position, the reference intensity sensed by the touchscreen in the folded area is determined based on the self-capacitance in the folded area; The location of the touchscreen outside the semi-folded position is determined based on the reference intensity. In response to the temperature information of the touchscreen being outside a predetermined temperature window, a first corrected reference intensity is determined from the reference intensity based on the temperature information; In response to the touchscreen operating in a low-power mode, a second calibrated reference strength is determined from the reference strength to take into account the lower operating voltage of the low-power mode; or In response to the touchscreen's folding angle exceeding a folding threshold, a third corrected reference intensity is determined based on the device's folding angle and the folding threshold to amplify the reference intensity; as well as The angular strength of the folding position is determined based on the first corrected reference strength, the second corrected reference strength, or the third corrected reference strength.