Touch screen anti-interference adjustment method, air conditioning system and storage medium

CN115793890BActive Publication Date: 2026-09-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211659352.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-22
Publication Date
2026-09-22
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

[0005]为了解决现有技术中触摸屏触控有问题需要人工发现并报修的技术问题,本发明提出了触摸屏抗干扰的调节方法、空调系统、存储介质

Benefits of technology

[0026]本发明在触摸屏的触摸面板上布置用来检测触摸屏的物理参数变化的传感器,例如通过在触摸面板上布置压力传感器,识别是否发生触控动作,同时监控是否接收到触控点位数据,如果没有则进入校正模式。校正模式下收集触摸屏的对应数据,通过算法得到针对特定电磁环境计算最佳工作参数再下发设备,完成触摸屏的自我校正,避免了人工报修的麻烦。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115793890B_ABST
    Figure CN115793890B_ABST
Patent Text Reader

Abstract

The application discloses a touch screen anti-interference adjusting method, an air conditioning system and a storage medium. The touch screen anti-interference adjusting method comprises the following steps: step 1, a sensor for detecting the change of a physical parameter of a touch screen caused by a touch action of a user is configured for the touch screen; step 2, when the touch action occurs, it is determined that the touch screen cannot correctly recognize the touch action according to touch data based on the change of the physical parameter corresponding to the touch action detected by the sensor, but the touch screen is corrected when the change of the physical parameter corresponding to the touch action is detected by the sensor. The application can automatically identify and correct the interference of the touch screen, and avoids the trouble of finding and repairing again by the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of touch screens, and more particularly to a method for adjusting the anti-interference capabilities of a touch screen. Background Technology

[0002] With the development of devices, touchscreens have basically become the standard configuration for human-computer interaction. Touchscreens are feature-rich and flexible in application, and are therefore used in various devices. However, touchscreens are also susceptible to interference, such as electromagnetic interference generated by the device or the external environment, which can lead to inaccurate touch control.

[0003] Taking commercial air conditioning inverter units as an example, these units require inverters to function. However, the electromagnetic interference environments generated by inverters from different manufacturers or even different models and specifications from the same manufacturer vary. During actual operation, this electromagnetic interference can affect the normal operation of the touchscreen. However, the malfunction of existing touchscreens due to interference is usually first noticed by the user. After the user discovers the problem, they report it for repair, which increases the user's workload and requires on-site repair by after-sales personnel, resulting in low efficiency.

[0004] Therefore, how to automatically identify touch screen touch problems is a technical issue that needs to be solved. Summary of the Invention

[0005] To address the technical problem in existing technologies where touchscreen malfunctions require manual detection and reporting, this invention proposes a touchscreen anti-interference adjustment method, an air conditioning system, and a storage medium.

[0006] The touchscreen anti-interference adjustment method proposed in this invention includes:

[0007] Step 1: Configure the touchscreen with sensors to detect changes in the physical parameters of the touchscreen caused by the user's touch actions;

[0008] Step 2: When a touch action occurs, the touch screen is determined to be unable to correctly recognize the touch action based on the change in physical parameters corresponding to the touch action detected by the sensor. However, if the sensor detects a change in physical parameters corresponding to the touch action, the touch screen is then calibrated.

[0009] Furthermore, the sensor includes a pressure sensor.

[0010] Furthermore, determining that the touchscreen cannot correctly identify the touch action based on the change in physical parameters corresponding to the touch action detected by the sensor includes: if the location data of the change in physical parameters corresponding to the touch action is inconsistent with the location data of the touch action identified by the touchscreen, then it is determined that the touchscreen cannot correctly identify the touch action based on the touch data.

[0011] Alternatively, if the sensor detects a change in the physical parameters corresponding to a touch action, but the touchscreen cannot recognize the touch action, then it is determined that the touchscreen cannot correctly recognize the touch action based on the touch data.

[0012] Furthermore, calibrating the touchscreen includes:

[0013] Step 3.1: Collect touch data of the touch screen generated by the user touching a designated location on the touch screen;

[0014] Step 3.2: Analyze the touch data and adjust the threshold and / or parameter values ​​corresponding to the touch data according to the analysis results, so that the touch data generated by the user touching the specified position can trigger the touch screen normally.

[0015] Step 3.3: Reset the touchscreen or the device containing the touchscreen. The user touches the touchscreen again and jumps to step 2 until the maximum number of calibrations is reached, or the touchscreen is able to recognize the touch action based on the touch data.

[0016] Furthermore, if the maximum number of calibration attempts is reached, and the touchscreen cannot recognize touch actions based on touch data, an on-site repair is required.

[0017] Furthermore, the touch data includes the center point capacitor voltage value at a specified location and the touch scanning frequency.

[0018] Furthermore, analyzing the touch data and adjusting the corresponding thresholds includes:

[0019] Determine whether the absolute value of the difference between the center point capacitor voltage value at the specified location and the capacitor voltage judgment benchmark value is less than or equal to a preset adjustment difference, or determine whether the absolute value of the difference between the center point capacitor voltage value at the specified location and the nearest point in the capacitor voltage judgment threshold range is less than or equal to a preset adjustment difference;

[0020] If so, the capacitor voltage determination reference value is adjusted so that the capacitor voltage value at the center point of the specified location falls within the positive and negative preset difference of the capacitor voltage determination reference value, and the range within the positive and negative preset difference of the capacitor voltage determination reference value is taken as the capacitor voltage determination threshold range; or, the capacitor voltage determination threshold range is adjusted so that the capacitor voltage value at the center point of the specified location falls within the capacitor voltage determination threshold range.

[0021] Furthermore, if the absolute value of the difference between the center point capacitor voltage value at the specified location and the capacitor voltage judgment reference value is greater than a preset adjustment difference, or if the absolute value of the difference between the center point capacitor voltage value at the specified location and the nearest point in the capacitor voltage judgment threshold range is greater than a preset adjustment difference, then the capacitor voltage judgment reference value or the capacitor voltage judgment threshold range is first adjusted, and then the touch scanning frequency is adjusted so that the center point capacitor voltage value falls within the positive and negative preset difference of the capacitor voltage judgment reference value, and the range within the positive and negative preset difference of the capacitor voltage judgment reference value is taken as the capacitor voltage judgment threshold range; or, the center point capacitor voltage value at the specified location falls within the capacitor voltage judgment threshold range.

[0022] Furthermore, the designated position of the touchscreen includes at least one of the following: the center position of the touchscreen, the edge position of the touchscreen, and the four corner positions of the touchscreen.

[0023] Furthermore, in step 2, the touch screen uploads the touch data collected in the recent period to the server, and the server corrects the touch parameters of the touch screen and then sends them back to the touch screen for adjustment and reset.

[0024] The air conditioning system proposed in this invention includes a touch screen, and the air conditioning system uses the touch screen anti-interference adjustment method described in the above technical solution to adjust the touch screen against interference.

[0025] The present invention proposes a computer-readable storage medium for storing a computer program, which, when executed, performs the touchscreen anti-interference adjustment method described in the above technical solution.

[0026] This invention involves arranging sensors on the touch panel of a touchscreen to detect changes in the touchscreen's physical parameters. For example, a pressure sensor can be placed on the touch panel to identify whether a touch action has occurred, and simultaneously monitor whether touch point data is received. If not, a calibration mode is entered. In calibration mode, corresponding data from the touchscreen is collected, and an algorithm is used to calculate the optimal operating parameters for a specific electromagnetic environment before sending them to the device, thus completing the touchscreen's self-calibration and avoiding the hassle of manual repair requests. Attached Figure Description

[0027] The present invention will now be described in detail with reference to the embodiments and accompanying drawings, wherein:

[0028] Figure 1 This is a flowchart of an embodiment of the present invention. Detailed Implementation

[0029] To make the technical problems to be solved, the technical solutions, and the beneficial effects of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0030] Therefore, a feature pointed out in this specification is used to describe one feature of one embodiment of the invention, and does not imply that every embodiment of the invention must have the described feature. Furthermore, it should be noted that this specification describes many features. Although certain features may be combined to illustrate possible system designs, these features may also be used in other combinations not explicitly stated. Therefore, unless otherwise stated, the described combinations are not intended to be limiting.

[0031] like Figure 1 As shown, the touch screen anti-interference adjustment method of the present invention includes the following steps.

[0032] Step 1: Configure at least one sensor for the touchscreen to detect changes in the touchscreen's physical parameters caused by the user's touch actions. For example, a pressure sensor with the same size as the touchscreen can be configured. A distance sensor can also be configured to monitor changes in the spacing between the capacitive electrodes of the touchscreen.

[0033] Step 2: When a touch action occurs, if the touch screen cannot correctly recognize the touch action based on the change in physical parameters corresponding to the touch action detected by the sensor, then the touch parameters of the touch screen are corrected.

[0034] This invention uses additional sensors to assist the touchscreen in determining whether touch actions are correctly recognized. This allows the touchscreen to detect its own touch sensitivity issues immediately and correct its touch parameters, avoiding the hassle of manual repairs. It also enables the touchscreen to automatically repair itself in case of interference, preventing users from being unable to use the touchscreen or its corresponding device for an extended period due to interference.

[0035] In one embodiment, determining that the touchscreen cannot correctly identify the touch action based on the touch data mainly includes two situations, based on the change in physical parameters corresponding to the touch action detected by the sensor.

[0036] If the location data of the physical parameter change corresponding to the touch action is inconsistent with the location data of the touch action recognized by the touch screen, it is determined that the touch screen cannot correctly recognize the touch action based on the touch data. For example, under electromagnetic interference, if a user clicks the touch screen at point A, the sensor can determine that a corresponding physical parameter change occurred at point A. However, if the touch screen recognizes the touch action at point B based on the touch data, it can be determined that the touch screen cannot correctly recognize the touch action based on the touch data.

[0037] Another scenario is when the sensor detects a change in the physical parameters corresponding to a touch action, but the touchscreen cannot recognize the touch action. In this case, the touchscreen is deemed unable to correctly identify the touch action based on the touch data. For example, in an environment with electromagnetic interference, the touch driver IC detects the capacitor voltage after a click. If the voltage at that point is low and does not reach the corresponding threshold, the touchscreen cannot obtain the location data of the touch action based on the touch data. However, according to the sensor's detection, a corresponding change in physical parameters occurs at the corresponding location. This change in physical parameters is sufficient to determine that a touch action has occurred. In this case, the touchscreen is also deemed unable to correctly identify the touch action based on the touch data.

[0038] In one embodiment of the present invention, the calibration of the touch parameters of the touch screen includes the following steps.

[0039] Step 3.1: Collect touch data generated by the user touching a designated location on the touchscreen. For example, when the touchscreen enters calibration mode, some icons can be displayed at designated locations on the touchscreen to remind the user to press the designated location, and then the touchscreen collects the touch data generated by the user touching the designated location.

[0040] In one embodiment, the designated location of the touchscreen includes at least one of the following: the center of the touchscreen, the edge of the touchscreen, and the four corners of the touchscreen. These designated locations are representative touch positions of the touchscreen. Therefore, using at least one of these locations as the designated location to calibrate and adjust the touchscreen can, as far as possible, correct the phenomenon of the touchscreen becoming untouchable due to electromagnetic interference.

[0041] In a preferred embodiment, multiple designated locations can be set on the touchscreen to collect more touch data as samples for calibration and adjustment. For example, nine designated locations can be set, including corresponding positions at the four corners of the touchscreen, the edges of the four sides of the touchscreen, and the center of the touchscreen. The user can be guided by a program to touch these nine designated locations sequentially, thereby collecting touch data corresponding to the designated locations, which can then be analyzed and calibrated by the touchscreen or other devices.

[0042] Step 3.2: Analyze the touch data and adjust the threshold and / or parameter values ​​corresponding to the touch data according to the analysis results, so that the touch data generated by the user touching the specified position can trigger the touch screen normally.

[0043] Step 3.3: After adjusting the corresponding threshold or parameter value of the touch screen, it is necessary to reset the touch screen or the device on which the touch screen is located. After the touch screen or the device on which the touch screen is located is reset, the user touches the touch screen again, and then jumps to step 2. After the touch action occurs, it is determined whether the touch screen cannot recognize the touch action based on the touch data, but at the same time the sensor can detect the change in the physical parameters corresponding to the touch action. If this is still the case, the touch screen is calibrated.

[0044] The above steps are repeated until the maximum number of calibrations is reached, or until the touchscreen can accurately recognize touch actions based on the touch data. When the maximum number of calibrations is reached, the touchscreen's touch data and the sensor's touch data are still inconsistent; that is, when a touch action occurs, the touchscreen cannot recognize the touch action based on the touch data, but the sensor can detect changes in the physical parameters corresponding to the touch action. In this case, on-site repair is required. For example, the touchscreen can proactively send a text message to after-sales personnel to remind them to repair it, or the touchscreen can remind the user to notify after-sales personnel to come for on-site repair. After calibration and reset, if the touchscreen can accurately recognize touch actions based on the touch data when a touch action occurs, it means the calibration was successful, and the above cycle can be ended.

[0045] Specifically, the touch data includes the center point capacitor voltage value at a specified location and the touch scanning frequency.

[0046] The present invention analyzes touch data and adjusts the threshold corresponding to the touch data, including the following steps.

[0047] Determine whether the absolute value of the difference between the center point capacitor voltage value at a specified location and the capacitor voltage judgment benchmark value is less than or equal to a preset adjustment difference, or determine whether the absolute value of the difference between the center point capacitor voltage value at a specified location and the nearest point within the capacitor voltage judgment threshold range is less than or equal to a preset adjustment difference.

[0048] For example, when the touchscreen's touch action is determined based on a capacitor voltage reference value, the system checks whether the absolute value of the difference between the center point capacitor voltage value at a specified location and the reference value is less than or equal to a preset adjustment difference. If the touchscreen's touch action is determined based on a capacitor voltage threshold range, the system checks whether the center point capacitor voltage value at a specified location is closest to the maximum or minimum value of the threshold range. If it's closest to the maximum value, the system checks whether the absolute value of the difference between the center point capacitor voltage value and the maximum value is less than or equal to a preset adjustment difference. If it's closest to the minimum value, the system checks whether the absolute value of the difference between the center point capacitor voltage value and the minimum value is less than or equal to a preset adjustment difference.

[0049] If so, when the touchscreen's touch action is determined based on the capacitor voltage reference value, the capacitor voltage reference value is adjusted so that the capacitor voltage value at the center point of the specified location falls within a preset positive or negative difference of the capacitor voltage reference value. This range within the preset positive or negative difference is then used as the capacitor voltage determination threshold range; for example, a range within ±20% of the capacitor voltage reference value is used as the capacitor voltage determination threshold range. Alternatively, when the touchscreen's touch action is determined based on the capacitor voltage determination threshold range, the capacitor voltage determination threshold range is adjusted so that the capacitor voltage value at the center point of the specified location falls within the capacitor voltage determination threshold range.

[0050] In one embodiment, when the touchscreen action is determined based on a capacitor voltage reference value, it is determined whether the absolute value of the difference between the center point capacitor voltage value at a specified location and the capacitor voltage reference value is greater than a preset adjustment difference. If it is greater, the touch scanning frequency is adjusted so that the center point capacitor voltage value falls within the positive and negative preset difference of the capacitor voltage reference value, and the range within the positive and negative preset difference of the capacitor voltage reference value is used as the capacitor voltage determination threshold range.

[0051] Alternatively, when the touch action of the touch screen is determined based on the capacitance voltage threshold range, the capacitance voltage threshold range is adjusted. Then, it is determined whether the absolute value of the difference between the capacitance voltage value of the center point of the specified location and the nearest point in the capacitance voltage threshold range is greater than the preset adjustment difference. If so, the touch scanning frequency is adjusted so that the capacitance voltage value of the center point of the specified location falls into the capacitance voltage threshold range.

[0052] In one embodiment, in step 2, in addition to self-calibration, the touchscreen can also upload recently collected touch data to the server. The server then calibrates the touchscreen's touch parameters and sends the data back to the touchscreen for adjustment and reset. In another embodiment, the reset can be achieved by controlling the level of a dedicated GPIO pin to meet the touchscreen's touch chip reset low-level time requirement, thus enabling automatic touchscreen reset.

[0053] This invention also protects an air conditioning system, including a touch screen, wherein the air conditioning system uses the above-described technical solution to adjust the touch screen's anti-interference capabilities.

[0054] The following uses a touch screen in an air conditioning system as an example to illustrate the concept of this invention.

[0055] When the touch panel of the air conditioning system's touchscreen is operated, touch events are generated. The touch panel is equipped with a touch driver chip, which communicates with the touchscreen's MCU via an I2C bus. Through I2C communication, the click position information on the touch panel, i.e., the position data corresponding to the touch action, can be read. Simultaneously, the touchscreen is also equipped with a pressure sensor, which can also read the pressure level information of the current press on the touchscreen via I2C communication.

[0056] Typically, the data read from the touch panel includes touch location information and pressure level information. When the air conditioning system is in certain electromagnetic interference environments, the touch panel may fail to detect clicks. In this case, valid touch location information cannot be read from the I2C, but pressure level information can still be obtained. The device is then considered to be in an interference environment and enters automatic correction mode.

[0057] In automatic calibration mode, the touchscreen can display a message stating "Current environmental electromagnetic interference is high, touch calibration is required." Simultaneously, a "+" sign will appear in the center of the touchscreen area or another location to allow the user to specify the desired location, thus assisting with touchscreen calibration.

[0058] The user is prompted to press their finger on the "+" sign for a period of time.

[0059] When a user clicks the "+" symbol on the touchscreen, the touchscreen's MCU collects touch data from the touch panel via I2C, such as the touch scan frequency, touch panel level detection data, and the center point capacitor voltage value corresponding to the touch action. This collected data is packaged and uploaded to the server via the touchscreen's network communication module. The server primarily analyzes the center point capacitor voltage value, capacitor voltage threshold, and touch scan frequency corresponding to the user's touch action. The server first determines if the capacitor voltage threshold is too high or too low. If the center point capacitor voltage value is within ±20% of the threshold, it is considered normal. If not, the server adjusts the threshold to bring the center point capacitor voltage value within ±20%. If the difference between the center point voltage value and the threshold is too large to adjust, the server tries to reduce the difference by adjusting the threshold before adjusting the touch scan frequency. For example, the touch scan frequency might be lowered first, then increased, until the center voltage value falls within the capacitor voltage threshold range.

[0060] This invention ultimately changes the criterion for determining the center point capacitor voltage value by using a capacitor voltage determination threshold range to judge the center point capacitor voltage value corresponding to the user's touch action. Increasing the defined range improves anti-interference capability. Common-mode interference caused by electromagnetic interference can affect capacitor level judgment; this invention reduces this influence by limiting the detection to a certain range. For example, during electromagnetic interference, the user clicks (0,0), but the actual reported point is (12,188). However, using the anti-interference adjustment method of this invention, although it reduces touch sensitivity, it improves the reliability of the touchscreen.

[0061] This invention protects a computer-readable storage medium for storing a computer program that, when executed, performs the touchscreen anti-interference adjustment method described above.

[0062] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for adjusting the anti-interference capability of a touchscreen, characterized in that, include: Step 1: Configure the touchscreen with sensors to detect changes in the physical parameters of the touchscreen caused by the user's touch actions; the sensors include pressure sensors. Step 2: When a touch action occurs, if the sensor detects a change in the physical parameters corresponding to the touch action and determines that the touch screen cannot correctly recognize the touch action based on the touch data, then the touch screen is calibrated. Calibrate the touchscreen including: Step 3.1: Collect touch data of the touch screen generated by the user touching a designated location on the touch screen; the touch data includes the center point capacitance voltage value and touch scanning frequency of the designated location; Step 3.2: Analyze the touch data and adjust the threshold corresponding to the touch data according to the analysis results, so that the touch data generated by the user touching the specified position can trigger the touch screen normally. Step 3.3: Reset the touchscreen or the device containing the touchscreen. The user touches the touchscreen again and jumps to step 2 until the maximum number of calibrations is reached, or the touchscreen is able to recognize the touch action based on the touch data. Analyzing the touch data and adjusting the corresponding thresholds includes: Determine whether the absolute value of the difference between the center point capacitor voltage value at the specified location and the capacitor voltage judgment benchmark value is less than or equal to a preset adjustment difference, or determine whether the absolute value of the difference between the center point capacitor voltage value at the specified location and the nearest point in the capacitor voltage judgment threshold range is less than or equal to a preset adjustment difference; If so, the capacitor voltage determination reference value is adjusted so that the capacitor voltage value at the center point of the specified location falls within the positive and negative preset difference of the capacitor voltage determination reference value, and the range within the positive and negative preset difference of the capacitor voltage determination reference value is taken as the capacitor voltage determination threshold range; or, the capacitor voltage determination threshold range is adjusted so that the capacitor voltage value at the center point of the specified location falls within the capacitor voltage determination threshold range. If the absolute value of the difference between the center point capacitor voltage value at the specified location and the capacitor voltage judgment reference value is greater than a preset adjustment difference, or if the absolute value of the difference between the center point capacitor voltage value at the specified location and the nearest point in the capacitor voltage judgment threshold range is greater than a preset adjustment difference, then first adjust the capacitor voltage judgment reference value or the capacitor voltage judgment threshold range, and then adjust the touch scanning frequency so that the center point capacitor voltage value falls within the positive and negative preset difference of the capacitor voltage judgment reference value, and use the range within the positive and negative preset difference of the capacitor voltage judgment reference value as the capacitor voltage judgment threshold range; or, make the center point capacitor voltage value at the specified location fall within the capacitor voltage judgment threshold range.

2. The touchscreen anti-interference adjustment method as described in claim 1, characterized in that, Determining that the touchscreen cannot correctly identify the touch action based on the touch data based on the changes in physical parameters corresponding to the touch action detected by the sensor includes: if the location data of the change in physical parameters corresponding to the touch action is inconsistent with the location data of the touch action identified by the touchscreen, then it is determined that the touchscreen cannot correctly identify the touch action based on the touch data. Alternatively, if the sensor detects a change in the physical parameters corresponding to a touch action, but the touchscreen cannot recognize the touch action, then it is determined that the touchscreen cannot correctly recognize the touch action based on the touch data.

3. The touchscreen anti-interference adjustment method as described in claim 1, characterized in that, If the maximum number of calibration attempts is reached and the touchscreen cannot recognize touch actions based on touch data, an on-site repair is required.

4. The touchscreen anti-interference adjustment method as described in claim 1, characterized in that, The specified location of the touchscreen includes at least one of the center location of the touchscreen and the edge location of the touchscreen.

5. The method for adjusting touchscreen anti-interference as described in any one of claims 1 to 4, characterized in that, In step 2, the touch screen uploads the touch data collected in the recent period to the server, and the server corrects the touch parameters of the touch screen and then sends them back to the touch screen for adjustment and reset.

6. An air conditioning system, comprising a touchscreen, characterized in that, The air conditioning system performs anti-interference adjustment on the touch screen using the touch screen anti-interference adjustment method as described in any one of claims 1 to 5.

7. A computer-readable storage medium for storing a computer program, characterized in that, When the computer program is executed, it performs the touch screen anti-interference adjustment method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Automatic calibrating method and system for capacitive touch screen

    CN103235672A

  • Resetting calibration judgment method and apparatus, and terminal

    CN106980402A