Electronic device, proximity sensing circuit and proximity sensing method thereof
By combining ambient light detection and touch detection in an electronic device, the sensitivity of the touch panel is dynamically adjusted, and the problem of accidentally touching in dark environments is solved, the accuracy of proximity sensing is improved and malfunctioning is reduced.
Patent Information
- Application Number
- CN202510516865.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-08-01
AI Technical Summary
The prior art cannot effectively prevent mistouching and causing misoperation when an electronic device is placed in a dark placement space.
By combining the ambient light detector and the touch detector, the ambient light brightness change trend is used to determine whether the point action of the touch event is stopped, and the sensitivity of the touch panel is dynamically adjusted to prevent accidentally touching.
Improve the proximity sensing accuracy of electronic devices in dark environments, reducing the occurrence of false touch and misjudgment.
Smart Images

Figure CN120406770A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electronic device, a proximity sensing circuit, and a proximity sensing method thereof, and more particularly to an electronic device, a proximity sensing circuit, and a proximity sensing method thereof that can prevent the occurrence of incorrect touch reporting actions. Background Art
[0002] In current electronic devices, a proximity sensing circuit is required to sense the behavior of an object approaching too close to a touch panel during non-touch actions, and thereby stop the touch reporting action of the touch panel to prevent possible incorrect operations of the electronic device.
[0003] In known technologies, an electronic device can send infrared rays to an object close to the touch screen and obtain the distance between the object and the touch panel by receiving the reflected infrared light to perform proximity sensing. Alternatively, the prior art also performs proximity sensing by sensing whether there is a large-area object contact event of non-touch behavior on the touch panel. However, in actual applications, when the electronic device is placed in a dark accommodation space such as a user's pocket or backpack, the known technologies cannot solve the problem of incorrect touches that may occur in the dark accommodation space, making the electronic device prone to incorrect operations. Summary of the Invention
[0004] The present invention is directed to an electronic device, a proximity sensing circuit, and a proximity sensing method thereof that can improve the accuracy of proximity sensing actions.
[0005] According to an embodiment of the present invention, the proximity sensing circuit includes an ambient light detector, a touch detector, and a touch processor. The ambient light detector is used to detect the ambient light brightness to generate ambient light brightness information. The touch detector is used to detect touch events on the touch panel to generate touch information. The touch processor is coupled to the ambient light detector and the touch detector, and based on the ambient light brightness information, determines the change trend of the ambient light brightness, and stops the reporting action of the corresponding touch event according to the change trend of the ambient light brightness.
[0006] According to an embodiment of the present invention, the electronic device includes a touch panel and the proximity sensing circuit as described above. The touch panel and the proximity sensing circuit are coupled to each other.
[0007] According to an embodiment of the present invention, the proximity sensing method includes: detecting the ambient light brightness to generate an ambient light brightness information; detecting touch events on the touch panel to generate touch information; and based on the ambient light brightness information, determining the change trend of the ambient light brightness, and stopping the reporting action of the corresponding touch event according to the change trend of the ambient light brightness.
[0008] Based on the above, the proximity sensing circuit of the present invention combines the ambient light sensing operation and the touch detection operation, and when the ambient light brightness changes rapidly, the touch detection reporting operation of the touch detector is stopped in a timely manner. In this way, the accuracy of the proximity sensing operation of the electronic device can be improved, thereby reducing the probability of false touch or misjudgment occurring on the touch panel of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 Schematic diagram showing a proximity sensing circuit according to an embodiment of the present invention;
[0010] Figure 2 Schematic diagram showing the operation flow of the proximity sensing circuit according to an embodiment of the present invention;
[0011] Figure 3 Schematic diagram showing an implementation manner of a touch processor in the proximity sensing circuit according to an embodiment of the present invention;
[0012] Figure 4 Schematic diagram showing an electronic device according to an embodiment of the present invention;
[0013] Figure 5 Flowchart showing a proximity sensing method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0014] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.
[0015] Please refer to Figure 1 , Figure 1 , which is a schematic diagram showing a proximity sensing circuit according to an embodiment of the present invention. The proximity sensing circuit 100 includes an ambient light detector 110, a touch panel 120, and a touch processor 130. The ambient light detector 110 is used to detect the ambient light brightness to generate ambient light brightness information ALI. The touch panel 120 is used to detect touch events to generate touch information TCI. In this embodiment, the touch panel 120 can be any form of touch panel well-known to those skilled in the art, such as a resistive touch panel, a capacitive touch panel, or an optical touch panel. When a touch event occurs on the touch panel 120, taking the touch panel 120 as a capacitive touch panel as an example, the touch detector 120 can generate touch information TCI by detecting the capacitance change generated on the touch panel 120. If taking the touch panel 120 as a resistive touch panel as an example, the touch detector 120 can generate touch information TCI by detecting the resistance change generated on the touch panel 120.
[0016] The touch processor 130 is coupled to the ambient light detector 110 and the touch panel 120. The touch processor 130 is configured to receive the ambient light intensity information ALI and the touch information TCI generated by the ambient light detector 110 and the touch panel 120 respectively. The touch processor 130 can perform processing operations based on the touch information TCI and generate touch reporting point information RPI according to the operation results. Among them, the touch processor 130 can compare the touch information TCI with a touch threshold, and when the touch information TCI is greater than the touch threshold, the touch information TCI can be regarded as valid touch information. In addition, in order to eliminate the noise carried in the touch information TCI, the touch processor 130 can perform compensation and operations related to noise cancellation on the touch information TCI to generate correct reporting point information RPI.
[0017] Here, it should be noted that in this embodiment, the touch processor 130 can continuously receive multiple ambient light intensity information ALI at multiple time points. And based on the received multiple ambient light intensity information ALI, it dynamically monitors the change in the brightness of the ambient light. When the ambient light brightness drops from the first brightness to the second brightness, the touch processor 130 can calculate the falling slope of the ambient light brightness according to the change in the ambient light intensity information ALI. Further, when the absolute value of the falling slope of the ambient light brightness is greater than a preset slope threshold, the touch processor 130 can determine that the electronic device enters the proximity state and stop outputting the touch reporting point information RPI for subsequent touch events.
[0018] Regarding the calculation method of the falling slope of the ambient light brightness, the touch processor 130 can calculate the difference between the values of two ambient light intensity information ALI continuously received at the first time point and the second time point, and then divide the above difference by the time difference between the second time point and the first time point to obtain it.
[0019] Regarding the action details of stopping the output of the reporting point information RPI, when the touch processor 130 compares that the absolute value of the falling slope of the ambient light brightness is greater than a preset slope threshold, it can increase the touch threshold to reduce the sensitivity of the touch panel 120 to prevent mis-touch of the touch action. Or, the touch processor 130 can adjust the operation parameters of the compensation and operations related to noise cancellation performed on the touch information TCI, and thereby reduce the sensitivity of the touch panel 120. Or, even the touch processor 130 stops outputting the reporting point information RPI, and thereby, the touch processor 130 can stop the reporting action of the touch event.
[0020] On the other hand, in an embodiment of the present invention, when the touch panel 120 detects a large touch area, the touch processor 130 may also cause the electronic device to enter the proximity state and stop the reporting action of the touch event occurring at this time. Among them, the touch processor 130 may be combined with the judgment of the touch shape to determine whether to stop the reporting action of the touch event. For example, when the touch shape is judged to be a finger shape, the touch processor 130 may not cause the electronic device to enter the proximity event and perform the reporting action of the reporting point information RPI. In contrast, if the touch shape is judged to be a palm shape or a shape that may not be generated by the user's hand, the touch processor 130 may cause the electronic device to enter the proximity event and stop the action of generating the reporting point information RPI.
[0021] Please refer to the following Figure 2 , Figure 2 FIG. shows a schematic diagram of the operation flow of the proximity sensing circuit according to an embodiment of the present invention. Among them, in step S210, the proximity sensing circuit according to an embodiment of the present invention may detect a change in ambient light, and when the change amount of the ambient light is large and the electronic device has the characteristic of entering the proximity state. In step S220, the proximity sensing circuit may dynamically adjust the reporting threshold and / or dynamically adjust the touch reporting. Here, the adjustment actions of the reporting threshold and the dynamic adjustment of the touch reporting have been described in detail in the above embodiments, and will not be repeated here.
[0022] Among them, in step S210, for example, after the user puts the electronic device into a dark accommodation space (put into a pocket or a backpack), the proximity sensing circuit may detect a relatively large change in ambient light. In this situation, stopping the reporting action in a timely manner can effectively prevent the probability of the electronic device from malfunctioning.
[0023] In steps S230 and S240, the proximity sensing circuit may confirm the change in the capacitance induction amount on the touch panel. Through this, the proximity sensing circuit can detect whether the touch action occurring on the touch panel is a large-area touch action. And, the proximity sensing circuit can judge whether this touch action is generated by the user's finger according to the shape of the touch action. If this touch action is generated by the user's finger, it may be a normal touch action. If this touch action is not generated by the user's finger, the proximity sensing circuit can judge that this touch action is not a normal touch action and can enter the proximity state. Further, in step S230, when the ambient light change is large enough and the touch action is judged to be a touch phenomenon not generated by the user's finger, the proximity sensing circuit may stop the execution of the reporting action. In contrast, when the touch action is judged to be a touch phenomenon generated by the user's finger, in step S240, the proximity sensing circuit may judge that the touch information is available information and normally execute the reporting action.
[0024] Please refer to the following Figure 3, Figure 3 A schematic diagram showing an implementation of a touch processor in a proximity sensing circuit according to an embodiment of the present invention. The touch processor 130 further includes an analog front-end circuit 310 and an analog-to-digital converter 320. The analog front-end circuit 310 can be used to receive ambient light intensity information ALI and touch information TCI in analog format for front-end processing operations, such as noise filtering, voltage adjustment, etc. The analog-to-digital converter 320 then performs analog-to-digital conversion operations on the ambient light intensity information ALI and touch information TCI in analog format to generate ambient light intensity information ALI and touch information TCI in digital format.
[0025] The touch processor 130 receives ambient light intensity information ALI and touch information TC1 in digital format, and determines whether to perform a touch event reporting action based on the change trend of the ambient light intensity and the touch behavior corresponding to the touch information TCI. The touch processor 130 can be used to execute Figure 2 the steps of the embodiment, and the relevant action details have been described in detail in the foregoing Figure 2 embodiment and will not be elaborated here.
[0026] Please refer to the following Figure 4 , Figure 4 A schematic diagram showing an electronic device according to an embodiment of the present invention. The electronic device 400 can be a handheld electronic device (such as a mobile phone or a tablet computer). The electronic device 400 includes a touch panel, a display panel 410, and an ambient light sensor 420. It should be noted that the electronic device 400 has an analog front-end circuit, an analog-to-digital converter, and a touch processor (not shown), where the analog front-end circuit, the analog-to-digital converter, and the touch processor are disposed in the electronic device 400. The touch processor can be a Touch and Display Driver Integration (TDDI) circuit.
[0027] In this embodiment, the touch panel and the display panel 410 can have the touch panel and the display panel integrated in any form. The touch panel, the display panel 410, and the ambient light sensor 420 can be disposed on the same surface of the electronic device 400. The ambient light sensor 420 can be disposed on any side (such as the upper side) of the touch panel and the display panel 410.
[0028] In this embodiment, the relevant details of the sensing operation of the electronic device 400 regarding the proximity state have been described in detail in the foregoing multiple embodiments and will not be repeated here.
[0029] Please refer to the following Figure 5 , Figure 5Flowchart showing a proximity sensing method according to an embodiment of the present invention. In step S510, the proximity sensing circuit may detect the ambient light luminance to generate ambient light luminance information. In step S520, the proximity sensing circuit may detect a touch event on the touch panel to generate touch information. In step S530, the proximity sensing circuit may determine whether the touch action occurring on the touch panel is a large-area touch action based on the ambient light luminance information. By judging the change trend of the ambient light luminance and whether the touch area of the touch action is greater than a preset threshold, and when the change trend of the ambient light luminance and the touch action is a large-area touch, the reporting action of the corresponding touch event is stopped.
[0030] Regarding the action details of the above steps, detailed descriptions have been given in the foregoing multiple embodiments, and no further repetition will be provided here.
[0031] In summary, the proximity sensor of the present invention, combined with ambient light detection and touch detection, can further optimize the accuracy of proximity sensing of the electronic device. In this way, the possibility of misoperation of the electronic device due to accidental touch can be reduced.
[0032] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A proximity sensing circuit, comprising: An ambient light detector for detecting the ambient light brightness to generate ambient light brightness information; A touch panel for detecting touch events to generate touch information; And A touch processor coupled to the ambient light detector and the touch panel, receiving the ambient light brightness information and the touch information, and determining whether to stop transmitting touch reporting point information based on the ambient light brightness information or the touch information.
2. The proximity sensing circuit according to claim 1, wherein when the touch processor determines that the ambient light brightness information indicates that the ambient light brightness decreases from a first brightness to a second brightness, it stops transmitting touch reporting point information.
3. The proximity sensing circuit according to claim 1, wherein the touch processor stops transmitting touch reporting point information when the absolute value of the slope of the decrease in the ambient light brightness information is greater than a slope threshold.
4. The proximity sensing circuit according to claim 1, wherein when the touch processor determines that the touch information is a finger touch and is greater than a reporting point threshold, it transmits touch reporting point information.
5. The proximity sensing circuit according to claim 1, wherein when the absolute value of the slope of the decrease in the ambient light brightness information is greater than a preset slope threshold, the touch processor increases the reporting point threshold.
6. The proximity sensing circuit according to claim 1, wherein the touch processor comprises: An analog front-end circuit for receiving the ambient light brightness information and the touch information and performing front-end processing operations on the ambient light brightness information and the touch information; And An analog-to-digital converter coupled to the analog front-end circuit for converting the ambient light brightness information and the touch information into a digital format.
7. The proximity sensing circuit according to claim 1, wherein the touch processor is a touch display integrated circuit.
8. The proximity sensing circuit according to claim 1, wherein the touch processor stops the reporting operation of the touch event when the touch information is a large-area touch action.
9. An electronic device, comprising: A display panel; And A proximity sensing circuit, comprising: An ambient light detector for detecting the ambient light brightness to generate ambient light brightness information; A touch panel for generating touch information by touch events; and A touch processor coupled to the ambient light detector and the touch panel, receiving the ambient light brightness information and the touch information, and determining whether to stop transmitting touch reporting point information based on the ambient light brightness information or the touch information.
10. The electronic device according to claim 9, wherein when the touch processor determines that the ambient light brightness information indicates that the ambient light brightness decreases from a first brightness to a second brightness, the touch processor stops transmitting touch reporting point information according to the slope of the decrease in the ambient light brightness.
11. The electronic device according to claim 10, wherein the touch processor stops transmitting touch reporting point information when the absolute value of the slope of the decrease in the ambient light brightness information is greater than a slope threshold.
12. The electronic device according to claim 10, wherein when the touch processor determines that the touch information is a finger touch and is greater than a reporting point threshold, touch reporting point information is transmitted.
13. The electronic device according to claim 9, wherein when the absolute value of the falling slope of the ambient light brightness is greater than a preset slope threshold for the ambient light brightness information, the touch processor increases the reporting point threshold.
14. The electronic device according to claim 9, wherein the touch processor is a touch display integrated circuit.
15. The electronic device according to claim 9, wherein when the touch information is a large-area touch action, the touch processor stops the reporting action of the touch event.
16. A proximity sensing method, comprising: detecting ambient light brightness to generate ambient light brightness information; detecting a touch event on a touch panel to generate touch information; and judging a change trend of the ambient light brightness based on the ambient light brightness information, and judging whether to stop transmitting touch reporting point information based on the ambient light brightness information or the touch information.
17. The proximity sensing method according to claim 16, further comprising: when the ambient light brightness information is that the ambient light brightness decreases from a first brightness to a second brightness, and it is judged that the absolute value of the falling slope of the ambient light brightness is greater than a slope threshold, stopping transmitting touch reporting point information.
18. The proximity sensing method according to claim 17, further comprising: when the absolute value of the falling slope of the ambient light brightness is greater than a slope threshold for the ambient light brightness information, stopping transmitting touch reporting point information.
19. The proximity sensing method according to claim 16, further comprising: when the touch information is a finger touch and is greater than a reporting point threshold, transmitting touch reporting point information.
20. The proximity sensing method according to claim 16, further comprising: when the absolute value of the falling slope of the ambient light brightness is greater than a preset slope threshold for the ambient light brightness information, increasing the reporting point threshold.