Method for detecting folding angle of folding screen, touch chip and electronic device

By setting a specific detection channel in the touch panel, using the detection data of the bent area and the non-bending area, combined with differential processing and functional relationship, the problem of folding angle detection of the folding screen is solved, and a high sensitivity and low cost detection effect is achieved.

CN117271244BActive Publication Date: 2025-05-02SHENZHEN GOODIX TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311398209.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-08
Publication Date
2025-05-02
Estimated Expiration
2042-11-08

AI Technical Summary

Technical Problem

The prior art is difficult to effectively detect the folding angle of the folding screen, especially in a magnetic field environment, and traditional Hall devices occupy space and are costly.

Method used

By setting a specific detection channel in the touch panel, detection data for the bent area and non-bending area are obtained, and the folding angle of the folding screen is determined using these data. The method includes differential detection data to eliminate environmental interference and determining the folding angle through a specific functional relationship.

Benefits of technology

It realizes accurate detection of the folding angle of the folding screen, has high sensitivity, is not easily affected by the external environment, does not occupy the internal space of the electronic device, and is low in cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117271244B_ABST
    Figure CN117271244B_ABST
Patent Text Reader

Abstract

The present application provides a method, a touch chip and an electronic device for detecting the folding angle of a folding screen, which can effectively detect the folding angle of the folding screen of the electronic device. The method includes: obtaining detection data of a specific detection channel in a touch panel, the touch panel includes a bending area extending along a first direction, and non-bending areas distributed on both sides of the bending area along a second direction, the second direction is perpendicular to the first direction, and the specific detection channel is the first detection channel that is closest to the bending area or located in the bending area among multiple first detection channels parallel to the first direction; according to the detection data of the specific detection channel, the folding angle of the folding screen is determined.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional of the invention application with application number 202211389275.X and name “Audio Amplifier System”, filed on November 8, 2022. Technical Field

[0002] Embodiments of the present application relate to the field of optical sensors, and more specifically, to a method for detecting the folding angle of a folding screen, a touch chip, and an electronic device. Background Art

[0003] For electronic devices such as mobile phones with flexible folding screens, there is a need to implement functions such as auxiliary user interface (UI) and opening and closing cover detection through rotation movements. Therefore, how to detect the folding angle of the folding screen of the electronic device has become a problem that needs to be solved. Summary of the invention

[0004] The embodiments of the present application provide a method, a touch chip, and an electronic device for detecting the folding angle of a folding screen, which can effectively detect the folding angle of the folding screen of the electronic device.

[0005] In a first aspect, a method for detecting a folding angle of a folding screen is provided, the method comprising: obtaining detection data of a specific detection channel in a touch panel, wherein the touch panel comprises a bending area extending along a first direction, and non-bending areas distributed on both sides of the bending area along a second direction, the second direction is perpendicular to the first direction, and the specific detection channel is the first detection channel among a plurality of first detection channels parallel to the first direction that is closest to the bending area or is located within the bending area; determining the folding angle of the folding screen according to the detection data of the specific detection channel.

[0006] When the folding angle of the folding screen changes, the distance between the two non-bending areas changes, and coupling capacitance may be formed between the detection channels in the two non-bending areas, affecting the data output by the detection channels, thereby interfering with the detection process. Therefore, the folding angle of the folding screen can be effectively determined based on the detection data of the detection channel. And because the signal amount generated on the detection channel at the bending area of ​​the folding screen is large, the folding angle of the folding screen is determined using the detection data of the detection channel at the bending area, which can improve the accuracy of detecting the folding angle.

[0007] In one implementation, determining the folding angle of the folding screen according to the detection data of the specific detection channel includes: determining the folding angle of the folding screen according to the detection data of the specific detection channel and a function used to represent the relationship between the detection data and the folding angle.

[0008] In one implementation, determining the folding angle of the folding screen based on the detection data of the specific detection channel and a function used to represent the relationship between the detection data and the folding angle includes: differentiating the detection data of the specific detection channel and the detection data of a first detection channel adjacent to the specific detection channel to obtain the differential data of the specific detection channel; determining the folding angle of the folding screen based on the differential data of the specific detection channel and a function used to represent the relationship between the differential data and the folding angle.

[0009] In one implementation, the differential data of the specific detection channel includes first differential data and second differential data, the first differential data is the differential data between the specific detection channel and an adjacent first detection channel located on one side thereof, and the second differential data is the differential data between the adjacent first detection channel located on the other side of the specific detection channel and the specific detection channel; determining the folding angle of the folding screen according to the differential data of the specific detection channel and a function used to represent the relationship between the differential data and the folding angle includes: determining the first folding angle according to the first differential data and a first function used to represent the relationship between the first differential data and the folding angle; if the first folding angle exceeds a first preset range, determining the second folding angle according to the second differential data and a second function used to represent the relationship between the second differential data and the folding angle; if the second folding angle is within a second preset range, determining the second folding angle as the folding angle of the folding screen.

[0010] In one implementation, the method further includes: if the first folding angle is within the first preset range, determining the first folding angle as the folding angle of the folding screen.

[0011] In one implementation, the detection data of the specific detection channel is determined based on the difference between basic data and raw data output by the specific detection channel, and the basic data is the raw data output by the specific detection channel when the folding angle is a preset angle. Differentiating the detection data of the specific detection channel and its adjacent detection channel to obtain differential data, and determining the folding angle based on the differential data, can eliminate environmental interference and reduce the impact of environmental factors on the detection process.

[0012] In one implementation, the preset angle is 180 degrees. At this time, the influence between the detection channels of the two non-bending areas 220 is minimal, and the detection signal output by the specific detection channel is more suitable as basic data to improve the sensitivity of detecting the folding angle.

[0013] In one implementation, the detection data of the specific detection channel is the difference between the basic data and the original data output by the specific detection channel when a driving signal is input to the specific detection channel.

[0014] In one implementation, the detection data of the specific detection channel is determined based on the basic data and a plurality of raw data respectively output by the specific detection channel when driving signals are sequentially input to a plurality of second detection channels parallel to the second direction.

[0015] In one implementation, the detection data of the specific detection channel is the sum of multiple difference values ​​after the basic data is subtracted from the multiple original data.

[0016] In one implementation, the detection data of the specific detection channel is the difference between basic data and raw data output by the specific detection channel when a driving signal is simultaneously input to a plurality of second detection channels parallel to the second direction.

[0017] In a second aspect, a touch chip is provided, which is used to detect the folding angle of a folding screen of an electronic device, and the touch chip includes: an acquisition module, used to acquire detection data of a specific detection channel in the touch panel, wherein the touch panel includes a bending area extending along a first direction, and non-bending areas distributed on both sides of the bending area along a second direction, the second direction is perpendicular to the first direction, and the specific detection channel is the first detection channel among multiple first detection channels parallel to the first direction that is closest to the bending area or located within the bending area; a processing module, used to determine the folding angle of the folding screen according to the detection data of the specific detection channel.

[0018] In one implementation, the processing module is specifically used to determine the folding angle of the folding screen based on the detection data of the specific detection channel and a function used to represent the relationship between the detection data and the folding angle.

[0019] In one implementation, the processing module is specifically used to: differentiate the detection data of the specific detection channel and the detection data of the first detection channel adjacent to the specific detection channel to obtain the differential data of the specific detection channel; determine the folding angle of the folding screen according to the differential data of the specific detection channel and a function used to represent the relationship between the differential data and the folding angle.

[0020] In one implementation, the differential data of the specific detection channel includes first differential data and second differential data, the first differential data is the differential data between the specific detection channel and an adjacent first detection channel located on one side thereof, and the second differential data is the differential data between the adjacent first detection channel located on the other side of the specific detection channel and the specific detection channel; the processing module is specifically used to: determine the first folding angle according to the first differential data and a first function used to represent the relationship between the first differential data and the folding angle; if the first folding angle exceeds a first preset range, determine the second folding angle according to the second differential data and a second function used to represent the relationship between the second differential data and the folding angle; if the second folding angle is within a second preset range, determine the second folding angle as the folding angle of the folding screen.

[0021] In one implementation, the processing module is further used to: if the first folding angle is within the first preset range, determine the first folding angle as the folding angle of the folding screen.

[0022] In one implementation, the detection data of the specific detection channel is determined based on the difference between basic data and raw data output by the specific detection channel, and the basic data is the raw data output by the specific detection channel when the folding angle is a preset angle.

[0023] In one implementation, the preset angle is 180 degrees.

[0024] In one implementation, the detection data of the specific detection channel is the difference between the basic data and the original data output by the specific detection channel when a driving signal is input to the specific detection channel.

[0025] In one implementation, the detection data of the specific detection channel is determined based on the basic data and a plurality of raw data respectively output by the specific detection channel when driving signals are sequentially input to a plurality of second detection channels parallel to the second direction.

[0026] In one implementation, the detection data of the specific detection channel is the sum of multiple difference values ​​after the basic data is subtracted from the multiple original data.

[0027] In one implementation, the detection data of the specific detection channel is the difference between basic data and raw data output by the specific detection channel when a driving signal is simultaneously input to a plurality of second detection channels parallel to the second direction.

[0028] In a third aspect, a touch panel is provided, comprising: a plurality of first detection channels parallel to a first direction; a plurality of second detection channels parallel to a second direction, wherein the second direction is perpendicular to the first direction; and a touch chip according to the second aspect or any possible implementation of the second aspect.

[0029] In a fourth aspect, an electronic device is provided, comprising: a folding screen; and a touch chip according to the second aspect or any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic flow chart of a method for detecting a folding angle according to an embodiment of the present application.

[0031] Figure 2 is a schematic diagram of a touch panel.

[0032] Figure 3 It is a schematic diagram of the principle of self-capacitance detection.

[0033] Figure 4 It is a schematic diagram of the principle of mutual capacitance detection.

[0034] Figure 5 It is a schematic diagram of the principle of cross detection.

[0035] Figure 6 It is a schematic diagram showing how the detection data of the Tx channel changes with the position of the Tx channel during self-capacitance detection.

[0036] Figure 7 It is a schematic diagram of the changes in the detection data of the Tx channels at different positions in different frames.

[0037] Figure 8 It is a schematic diagram of the change in the size of the detection data of a specific detection channel at different folding angles.

[0038] Fig. 9 is a schematic diagram of the relationship between differential data and folding angle.

[0039] Fig.10 It is a schematic diagram of the change of differential data of a specific detection channel at different folding angles.

[0040] Fig.11 It is a schematic diagram of the change of differential data of a specific detection channel at different folding angles obtained after filtering.

[0041] Fig.12 It is a schematic diagram of a possible specific process of folding angle detection in the present application.

[0042] Fig.13It is a schematic block diagram of a device for detecting a folding angle according to an embodiment of the present application. DETAILED DESCRIPTION

[0043] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0044] Generally, the folding angle of the folding screen of an electronic device can be detected by a Hall device. However, when a user uses an electronic device with a folding screen in a magnetic field environment, the magnetic field environment may interfere with or fail the Hall sensor, thereby affecting the user experience. In addition, the Hall device also takes up space inside the electronic device and increases costs.

[0045] To this end, the present application provides a solution for detecting the folding angle of a folding screen, which aims to solve the problem of how to effectively detect the folding angle of the folding screen. It has the advantages of high accuracy and not being easily affected by the external environment, and it will not take up space inside the electronic device and will not bring additional costs.

[0046] Figure 1 The method for detecting the folding angle of a folding screen in an embodiment of the present application is shown. The method is performed by a touch chip of a touch panel of an electronic device, which is also called a touch controller or a touch panel integrated circuit (TPIC). The folding screen may include a touch panel and a display panel, and usually, the display panel is located above the touch panel. Figure 1 As shown, the method 100 for detecting a folding angle includes part or all of the following steps.

[0047] In step 110 , detection data of a specific detection channel in the touch panel is obtained.

[0048] In step 120, the folding angle of the folding screen is determined according to the detection data of the specific detection channel.

[0049] like Figure 2 The touch panel 200 shown in the figure includes a plurality of first detection channels, or first detection electrodes, parallel to a first direction X; the touch panel 200 also includes a plurality of second detection channels, or second detection electrodes, parallel to a second direction Y. Optionally, the first detection channel is a transmission (Tx) channel, and the second detection channel is a sensing (Rx) channel; or, the second detection channel is a transmission (Tx) channel, and the first detection channel is a sensing (Rx) channel. For example, Figure 2(a), the first detection channel is the Tx channel, the second detection channel is the Rx channel, the touch panel 200 includes five first detection channels, namely Tx0, Tx1, Tx2, Tx3 and Tx4, and the touch panel 200 also includes five second detection channels, namely Rx0, Rx1, Rx2, Rx3 and Rx4; for another example, Figure 2 As shown in (b), the second detection channel is the Tx channel, the first detection channel is the Rx channel, the touch panel 200 includes five second detection channels, namely Tx0, Tx1, Tx2, Tx3 and Tx4, and the touch panel 200 also includes five first detection channels, namely Rx0, Rx1, Rx2, Rx3 and Rx4. In actual applications, the touch panel 200 may have other numbers of first detection channels and other numbers of second detection channels.

[0050] like Figure 2 As shown, the touch panel 200 includes a bending area 210 extending along a first direction X, and non-bending areas 220 distributed on both sides of the bending area 210 along a second direction Y, and the second direction Y is perpendicular to the first direction X.

[0051] In the embodiment of the present application, the specific detection channel is the first detection channel closest to the bending area 210 among the multiple first detection channels parallel to the first direction X, or the first detection channel located within the bending area 210 among the multiple first detection channels, for example Figure 2 Tx2 shown in (a) or Figure 2 When there are multiple first detection channels that meet the above conditions, one or more of them can be selected as specific detection channels.

[0052] In one implementation, the detection data of the specific detection channel may be the raw data of the specific detection channel; or, the detection data of the specific detection channel may be determined based on the difference between the basic data and the raw data of the specific detection channel to improve the sensitivity of the folding angle detection. Wherein, the raw data of the specific detection channel when the folding angle is a preset angle is called the basic data, and the raw data is determined based on the data output by the specific detection channel during coding. Coding refers to the process in which a driving signal is input to at least one detection channel in the touch panel 200. The embodiment of the present application may be coded by self-capacitance detection, mutual capacitance detection or cross detection, etc., to obtain the raw data of the specific detection channel. During the coding process, the specific detection channel will generate a corresponding sensing signal, which is extracted by a programmable gain amplifier (PGA) circuit and converted by an analog-to-digital converter (ADC) circuit to obtain data without any filtering processing, which can be used as raw data.

[0053] The preset angle can be set to 180°, for example. At this time, the mutual influence between the detection channels of the two non-bending areas 220 is minimal, and the original data of the specific detection channel is more suitable as basic data to improve the sensitivity of detecting the folding angle.

[0054] Below, taking self-capacitance detection, mutual capacitance detection or cross detection as an example, a detailed description is given of how to determine the folding angle of the folding screen based on the detection data of a specific detection channel.

[0055] In one implementation, in step 110, the raw data of the specific detection channel is the self-capacitance data output by the specific detection channel during self-capacitance detection, that is, the detection data of the specific detection channel is the difference between the basic data and the raw data output by the specific detection channel when the drive signal is input to the specific detection channel. The specific detection channel is, for example, Figure 2 In the Tx2 channel shown in (a), during self-capacitance detection, Figure 2 As shown in (a), multiple Tx channels are coded simultaneously and each generates a corresponding sensing signal. When the folding angle of the folding screen changes, Figure 3As shown, the coupling capacitance Cx formed between the Tx2 channel and the ground, that is, the self-capacitance Cx of the Tx2 channel will change. The sensing signal generated by the Tx2 channel passes through the PGA 231 for extracting the signal quantity and the ADC 232 for analog-to-digital conversion. Then, the raw data (rawdata) of the Tx2 channel can be obtained. The raw data reflects the change of the coupling capacitance Cx with the folding angle. The folding angle of the folding screen can be determined according to the difference between the basic data and the raw data of the Tx2 channel.

[0056] In another implementation, in step 110, the raw data of the specific detection channel is determined based on the mutual capacitance data output by the specific detection channel during mutual capacitance detection, and the detection data of the specific detection channel is determined based on the basic data and a plurality of raw data respectively output by the specific detection channel when the drive signal is sequentially input to a plurality of second detection channels. The specific detection channel is, for example, Figure 2 In the Rx2 channel shown in (b), during mutual capacitance detection, Figure 2 As shown in (b), multiple Tx channels are coded in sequence, and when each Tx channel is coded, multiple Rx channels intersecting with it will generate corresponding sensing signals. When the folding angle of the folding screen changes, such as Figure 4 As shown, the coupling capacitance Cx formed between the multiple Tx channels and the Rx2 channel, that is, the mutual capacitance Cx between the multiple Tx channels and the Rx2 channel will change. After the sensing signal generated by the Rx2 channel passes through the PGA 231 for extracting the signal quantity and the ADC 232 for analog-to-digital conversion, the corresponding original data output by the Rx2 channel in sequence when the multiple Tx channels are coded in sequence can be obtained. The basic data is subtracted from these original data respectively, and the obtained differences are summed to obtain the detection data of the Rx2 channel. According to the detection data, the folding angle of the folding screen can be determined. For example, when Tx0, Tx1, Tx2, Tx3 and Tx4 are coded in sequence, the Rx2 channel outputs corresponding 5 original data respectively. After the basic data is subtracted from these 5 original data respectively, the corresponding 5 differences are obtained. The 5 differences are summed to obtain the detection data of the Rx2 channel. According to the detection data, the folding angle of the folding screen can be determined.

[0057] In another implementation, in step 110, the raw data of the specific detection channel is the data output by the specific detection channel during cross detection, and the detection data of the specific detection channel is the difference between the basic data and the raw data output by the specific detection channel when the drive signal is simultaneously input to multiple second detection channels. Figure 2 In the Rx2 channel shown in (b), when cross detection is performed, Figure 2As shown in (b), multiple Tx channels are coded simultaneously, and multiple Rx channels generate corresponding sensing signals simultaneously. When the folding angle of the folding screen changes, Figure 5 As shown, the coupling capacitance Cx formed between the Rx2 channel and multiple Tx channels changes. The sensing signal generated by the Rx2 channel can be obtained through the PGA 231 for extracting the signal quantity and the ADC 232 for analog-to-digital conversion to obtain the original data of the Rx2 channel when multiple Tx channels are coded at the same time. The original data reflects the change of the coupling capacitance Cx with the folding angle. The folding angle of the folding screen can be determined according to the difference between the basic data and the original data of the Rx2 channel.

[0058] By testing each first detection channel parallel to the first direction X, it can be obtained Figure 6 The relationship between the position of the first detection channel and its detection data is shown in FIG. 1 , wherein the detection data value of the specific detection channel at the bending area 210 is the largest. Figure 2 Take the self-capacitance detection shown in (a) as an example, Figure 6 The figure shows the change of the detection data of each Tx channel with the position of the Tx channel. In the actual test, whether self-capacitance detection, mutual capacitance detection or cross detection is used, the change of the detection data of each Tx channel with the position of the Tx channel is consistent with Figure 6 The law shown. Figure 6 It can be seen that the closer the detection channel is to the bending region 210 , the larger the value of the detection data is, and the value of the detection data of the Tx2 channel at the bending region 210 is the largest.

[0059] To ensure Figure 6 The stability of the law shown, such as Figure 7 As shown, multiple frame detections can be performed continuously to obtain the changes of the Tx0 channel to the Tx4 channel with the number of frames. It can be seen that the value of the detection data of the Tx2 channel is always the largest.

[0060] The following are all Figure 2 (a) and Figure 3 Taking the self-capacitance detection shown in as an example, this application describes how to determine the folding angle of the folding screen according to the detection data of a specific detection channel.

[0061] When the folding angle of the folding screen changes, the distance between the two non-bending areas 220 changes, and coupling capacitance may be formed between the detection channels in the two non-bending areas 220, affecting the detection data output by the detection channel, thereby interfering with the detection process. Therefore, according to the detection data of the detection channel, the folding angle of the folding screen can be effectively determined. And because the signal amount generated on the detection channel at the bending area 210 of the folding screen is large, the folding angle of the folding screen is determined by using the detection data of the detection channel at the bending area 210, which can improve the accuracy of detecting the folding angle.

[0062] like Figure 8 As shown in FIG. 1 , by testing the Tx channel, the change of the detection data of each Tx channel under different folding angles can be obtained. Figure 8 It can be seen that the greater the folding angle of the folding screen, the greater the value of the detection data of the Tx channel, especially at the position of the specific detection channel, namely the Tx2 channel. It can be understood that when the folding angle of the folding screen is greater, the distance between the two non-bending areas 220 is greater, and the coupling capacitance formed between the detection channels of the two non-bending areas 220 is smaller, so the value of the detection data of the Tx channel is smaller.

[0063] Therefore, the changing trend of the detection data of a specific detection channel during the folding process can be used as a feature quantity for identifying the folding angle. For example, in step 120, the folding angle of the folding screen can be determined based on the detection data of the specific detection channel and a function used to represent the relationship between the detection data and the folding angle.

[0064] In order to reduce the impact of environmental factors on the detection process and further improve the accuracy of detecting the folding angle, the detection data of the specific detection channel can be processed to obtain a new mapping relationship. For example, in step 120, the folding angle of the folding screen is determined according to the detection data of the specific detection channel and the function used to represent the relationship between the detection data and the folding angle, including: differentiating the detection data of the specific detection channel and the detection data of the first detection channel adjacent to the specific detection channel to obtain the differential data of the specific detection channel; and determining the folding angle of the folding screen according to the differential data of the specific detection channel and the function used to represent the relationship between the differential data and the folding angle.

[0065] By differentiating the detection data of a specific detection channel and its adjacent detection channel to obtain differential data, environmental interference can be eliminated and the impact of environmental factors on the detection process can be reduced. At this time, the function specifically represents the relationship between the differential data of the specific detection channel and the folding angle.

[0066] Fig. 9 The relationship between the differential data and the folding angle is shown. Figure 2 (a) and Figure 3 Taking the self-capacitance detection shown in the figure as an example, the differential data of the i+1th Tx detection channel is recorded as DD(i), DD(i) = D(i+1)-D(i), where 0≤i<4, D(i) is the difference between the basic data at the current folding angle and the original data of the i-th Tx detection channel. The basic data can be, for example, the original data of the i-th Tx detection channel when the folding angle is 180°. At different folding angles, such as 30°, 60°, 90° and 120°, the differential data of the Tx channels at different positions are obtained respectively, and it can be obtained Fig. 9 The relationship between the Tx channel position and the value of its differential data at different folding angles is shown.

[0067] from Fig. 9 It can be seen that Fig. 9 The curves in the graph show symmetrical data features, with peaks at both DD(1) and DD(2). Therefore, both DD(1) and DD(2) can be used to determine the folding angle of the folding screen to increase the recognition effect of the folding angle. Based on the differential data of the Tx2 channel at different folding angles, the functional relationship between the folding angle and the differential data can be obtained by, for example, fitting.

[0068] The differential data of the Tx2 channel may be differential data DD(1) obtained by subtracting the detection data of the Tx2 channel from the adjacent Tx1 channel, and accordingly, the function is a function representing the relationship between DD(1) and the folding angle; or, the differential data of the Tx2 channel may be differential data DD(2) obtained by subtracting the detection data of the adjacent Tx3 channel from the Tx2 channel, and accordingly, the function is a function representing the relationship between DD(2) and the folding angle.

[0069] In one implementation, the differential data of a specific detection channel includes first differential data and second differential data, wherein the first differential data is differential data between the specific detection channel and the detection data of an adjacent first detection channel located on one side thereof, and the second differential data is differential data between the detection data of an adjacent first detection channel located on the other side of the specific detection channel and the detection data of the specific detection channel. For example, the first differential data may be Fig. 9 The second differential data may be one of DD(1) and DD(2) shown in FIG. Fig. 9 The other of DD(1) and DD(2) shown in . DD(1) is the difference between the detection data of the Tx2 channel and the Tx1 channel adjacent to its left, and DD(2) is the difference between the detection data of the Tx3 channel adjacent to the right of the Tx2 channel and the Tx2 channel.

[0070] At this time, in step 120, the first folding angle may be first determined according to the first differential data and the first function for representing the relationship between the first differential data and the folding angle. If the first folding angle is within the first preset range, the first folding angle is determined as the folding angle of the folding screen. If the first folding angle exceeds the first preset range, the second folding angle is determined according to the second differential data and the second function for representing the relationship between the second differential data and the folding angle; if the second folding angle is within the second preset range, the second folding angle is determined as the folding angle of the folding screen.

[0071] In this way, even if the folding angle of the folding screen is not successfully calculated using the first differential data, the folding angle can be calculated again using the second differential data, thereby improving the success rate of identifying the folding angle.

[0072] Assume that the first differential data is DD(1), and the second differential data is DD(2). The first function func1 is used to represent the relationship between the first differential data DD(1) and different folding angles, that is, Angle = func1(DD(1)); the second function func2 is used to represent the relationship between DD(2) and different folding angles, that is, Angle = func2(DD(2)). Considering that different detection channels may have differences in actual applications, Fig. 9 The position of DD(i) may change in actual testing, resulting in the first function func1 and the second function func2 being the same or different.

[0073] Take DD(1) as an example, Fig.10 The figure shows the change of DD(1) at the bending area 210 at different folding angles. As an example, the folding angle of the folding screen is gradually changed in units of 10°. Fig.10 The folding angles shown in the figure are 10°, 20°, 30°, 40°, 50°, 60°, 70°, 80°, 90°, 100°, 110°, 120°, 130°, 140°, 150° and 160°. During the folding process of the folding screen from 10° to 160°, self-capacitance detection is performed continuously for multiple frames. Fig.10 The horizontal axis is the number of frames in the folding process, and the vertical axis is the value of DD(1) of the Tx2 channel.

[0074] In order to reduce the impact of noise jitter, Fig.10 The data collected in each frame is filtered, such as sliding average filtering, to obtain Fig.11 .

[0075] based on Fig.11 , func1 can be calculated. In a similar way, func2 can also be obtained. Figure 2Taking the self-capacitance detection shown in (a) as an example, when performing folding angle detection, Fig.12 As shown, in step 301, the original data of each Tx channel during self-capacitance detection is obtained;

[0076] In step 302, the basic data is subtracted from the original data of the Tx channel to obtain the detection data D(i) of the Tx channel;

[0077] In step 303, the detection data D(2) of the Tx2 channel is subtracted from the detection data D(1) of the Tx1 channel to obtain first differential data DD(1)=D(2)-D(1);

[0078] In step 304, the first differential data DD(1) is substituted into the first function func1 to obtain the first folding angle func1(DD(1)).

[0079] If the first folding angle func1(DD(1)) is within the first preset range, the first folding angle is considered to be the current folding angle of the folding screen; if the first folding angle func1(DD(1)) exceeds the first preset range, optionally, the following steps may be further performed:

[0080] In step 305, the detection data D(3) of the Tx3 channel is subtracted from the detection data D(2) of the Tx2 channel to obtain second differential data DD(2)=D(3)-D(2);

[0081] In step 306, the second differential data DD(2) is substituted into the second function func2 to obtain the second folding angle func2(DD(2)).

[0082] If the second folding angle func2(DD(2)) is within the second preset range, the second folding angle is considered to be the current folding angle of the folding screen.

[0083] The first preset range and the second preset range are the permissible ranges of DD(1) and DD(2), respectively. If the ranges are exceeded, it can be considered that the current detection data is inaccurate and the obtained folding angle is unacceptable. The first preset range and the second preset range may be equal or unequal.

[0084] It should be understood that the data output by a specific detection channel during mutual capacitance detection and cross detection can also be used to determine the folding angle after being processed similarly to the data output by the specific detection channel during the above-mentioned self-capacitance detection. For the sake of brevity, it will not be repeated here.

[0085] The present application also provides a touch chip. Fig.13As shown, the touch chip 300 is used to detect the folding angle of the folding screen of the electronic device, and the touch chip 300 includes:

[0086] An acquisition module 310 is used to acquire detection data of a specific detection channel in the touch panel 200, wherein the touch panel 200 includes a bending area extending along a first direction X, and non-bending areas distributed on both sides of the bending area along a second direction Y, the second direction Y is perpendicular to the first direction X, and the specific detection channel is a first detection channel that is closest to the bending area or located within the bending area among a plurality of first detection channels parallel to the first direction X;

[0087] The processing module 320 is used to determine the folding angle of the folding screen according to the detection data of the specific detection channel.

[0088] In one implementation, the processing module 320 is specifically used to determine the folding angle of the folding screen according to the detection data of the specific detection channel and a function used to represent the relationship between the detection data and the folding angle.

[0089] In one implementation, the processing module 320 is specifically used to: differentiate the detection data of the specific detection channel and the detection data of the first detection channel adjacent to the specific detection channel to obtain the differential data of the specific detection channel; determine the folding angle of the folding screen based on the differential data of the specific detection channel and a function used to represent the relationship between the differential data and the folding angle.

[0090] In one implementation, the differential data of the specific detection channel includes first differential data and second differential data, the first differential data is the differential data between the specific detection channel and an adjacent first detection channel located on one side of the specific detection channel, and the second differential data is the differential data between the adjacent first detection channel located on the other side of the specific detection channel and the specific detection channel; the processing module 320 is specifically used to: determine the first folding angle according to the first differential data and a first function used to represent the relationship between the first differential data and the folding angle; if the first folding angle exceeds the first preset range, determine the second folding angle according to the second differential data and a second function used to represent the relationship between the second differential data and the folding angle; if the second folding angle is within the second preset range, determine the second folding angle as the folding angle of the folding screen.

[0091] In one implementation, the processing module 320 is further used to: if the first folding angle is within a first preset range, determine the first folding angle as the folding angle of the folding screen.

[0092] In one implementation, the detection data of the specific detection channel is determined based on the difference between basic data and raw data output by the specific detection channel, where the basic data is raw data output by the specific detection channel when the folding angle is a preset angle, for example, 180°.

[0093] In one implementation, the detection data of the specific detection channel is the difference between the basic data and the original data output by the specific detection channel when a driving signal is input to the specific detection channel.

[0094] In one implementation, the detection data of the specific detection channel is determined based on the basic data and a plurality of raw data respectively output by the specific detection channel when the driving signals are sequentially input to a plurality of second detection channels parallel to the second direction Y.

[0095] In one implementation, the detection data of the specific detection channel is the sum of the differences between the basic data and the multiple original data.

[0096] In one implementation, the detection data of the specific detection channel is the difference between the basic data and the data output by the specific detection channel when the driving signal is simultaneously input to multiple second detection channels parallel to the second direction Y.

[0097] It should be understood that the specific features and corresponding beneficial effects of the touch chip 300 can be referred to the relevant description in the aforementioned method embodiment, and for the sake of brevity, they will not be repeated here.

[0098] The present application also provides a touch panel, which includes: a plurality of first detection channels parallel to a first direction; a plurality of second detection channels parallel to a second direction, the second direction being perpendicular to the first direction; and the touch chip 300 described in any one of the above embodiments.

[0099] The present application also provides an electronic device, comprising a folding screen and a touch panel as described in any one of the above embodiments, wherein the touch panel is used to detect a folding angle of the folding screen.

[0100] As an example but not limitation, the electronic device in the embodiment of the present application can be a portable or mobile computing device such as a terminal device, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a gaming device, an in-vehicle electronic device or a wearable smart device, as well as other electronic devices such as an electronic database, a car, and an automated teller machine (ATM). The wearable smart device includes a device with full functions and large size that can realize full or partial functions without relying on a smart phone, such as a smart watch or smart glasses, and includes a device that only focuses on a certain type of application function and needs to be used in conjunction with other devices such as a smart phone, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

[0101] It should be noted that, under the premise of no conflict, the various embodiments described in this application and / or the technical features in each embodiment can be arbitrarily combined with each other, and the technical solution obtained after the combination should also fall within the protection scope of this application.

[0102] The systems, devices and methods disclosed in the embodiments of the present application may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not performed. The device embodiments described above are merely schematic, and the division of units is merely a logical function division. There may be other division methods in actual implementation, and multiple units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling may include electrical, mechanical or other forms of connection.

[0103] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described devices and equipment and the technical effects produced can refer to the corresponding processes and technical effects in the aforementioned method embodiments, and will not be repeated here.

[0104] It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art to better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. Those skilled in the art can make various improvements and modifications based on the above embodiments, and these improvements or modifications all fall within the scope of protection of the present application.

[0105] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for detecting a folding angle of a folding screen, characterized in that: The method comprises: Acquiring detection data of a specific detection channel in a touch panel, wherein the touch panel includes a bending area extending along a first direction and non-bending areas distributed on both sides of the bending area along a second direction, the second direction is perpendicular to the first direction, and the specific detection channel includes a first detection channel that is closest to the bending area or located within the bending area among a plurality of first detection channels parallel to the first direction; Differentiating the detection data of the specific detection channel and the detection data of a first detection channel adjacent to the specific detection channel to obtain differential data of the specific detection channel; Determining the folding angle of the folding screen according to the differential data of the specific detection channel and a function used to represent the relationship between the differential data and the folding angle; The detection data of the specific detection channel is self-capacitance detection data output by the specific detection channel, and the self-capacitance detection data is data of a sensing signal output by the specific detection channel when a driving signal is input to the specific detection channel; The detection data of the specific detection channel is determined based on the difference between basic data and original data output by the specific detection channel, and the basic data is the original data output by the specific detection channel when the folding angle is a preset angle.

2. The method according to claim 1, characterized in that The differential data of the specific detection channel includes first differential data and second differential data, wherein the first differential data is differential data between the specific detection channel and an adjacent first detection channel located on one side thereof, and the second differential data is differential data between an adjacent first detection channel located on the other side of the specific detection channel and the specific detection channel; The determining the folding angle of the folding screen according to the differential data of the specific detection channel and a function used to represent the relationship between the differential data and the folding angle includes: Determine a first folding angle according to the first differential data and a first function used to represent the relationship between the first differential data and the folding angle; If the first folding angle exceeds a first preset range, determining a second folding angle according to the second differential data and a second function used to represent a relationship between the second differential data and the folding angle; If the second folding angle is within a second preset range, the second folding angle is determined as the folding angle of the folding screen.

3. The method according to claim 2, characterized in that The method further comprises: If the first folding angle is within the first preset range, the first folding angle is determined as the folding angle of the folding screen.

4. The method according to any one of claims 1 to 3, characterized in that The preset angle is 180 degrees.

5. The method according to any one of claims 1 to 3, characterized in that The detection data of the specific detection channel is a difference between the basic data and raw data output by the specific detection channel when a driving signal is input to the specific detection channel.

6. A touch chip, characterized in that: The touch chip is used to detect the folding angle of the folding screen of the electronic device, and the touch chip includes: an acquisition module, configured to acquire detection data of a specific detection channel in a touch panel, wherein the touch panel includes a bending area extending along a first direction, and non-bending areas distributed on both sides of the bending area along a second direction, the second direction is perpendicular to the first direction, and the specific detection channel includes a first detection channel that is closest to the bending area or located within the bending area among a plurality of first detection channels parallel to the first direction; a processing module, configured to perform a differential operation on the detection data of the specific detection channel and the detection data of a first detection channel adjacent to the specific detection channel to obtain differential data of the specific detection channel; and determine the folding angle of the folding screen according to the differential data of the specific detection channel and a function representing a relationship between the differential data and the folding angle; The detection data of the specific detection channel is self-capacitance detection data output by the specific detection channel, and the self-capacitance detection data is data of a sensing signal output by the specific detection channel when a driving signal is input to the specific detection channel; The detection data of the specific detection channel is determined based on the difference between basic data and original data output by the specific detection channel, and the basic data is the original data output by the specific detection channel when the folding angle is a preset angle.

7. The touch chip according to claim 6, characterized in that: The preset angle is 180 degrees.

8. The touch chip according to claim 6, characterized in that: The detection data of the specific detection channel is a difference between the basic data and raw data output by the specific detection channel when a driving signal is input to the specific detection channel.

9. An electronic device, characterized in that: The electronic device comprises: Folding screens; and According to any one of the preceding claims 6 to 8, the touch chip is used to detect the folding angle of the folding screen.

Citation Information

Patent Citations

  • Flexible touch display panel and method and system for detecting folding angle thereof

    CN108874224A

  • Mistaken touch prevention method and device and electronic equipment

    CN113296636A