Method and device for resisting electromagnetic radiation interference of touch key and computer equipment
By arranging touch button traces at equal intervals in the touch button integrated device and placing anti-interference resistors nearby, and combining software algorithms to dynamically adjust the key threshold, the problems of touch button sensing data fluctuations and false triggering in complex electromagnetic environments are solved, and stable input of the device is achieved in a strong electromagnetic radiation environment.
Patent Information
- Application Number
- CN202510843675.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-23
- Publication Date
- 2025-10-17
AI Technical Summary
Touch buttons are easily affected by external interference signals in complex electromagnetic environments, resulting in irregular fluctuations in touch sensing data and an increased false trigger rate.
By arranging touch button traces at equal intervals and placing anti-interference resistors adjacent to each other in touch button integrated devices, and combining software algorithms to dynamically adjust the key threshold, strong electromagnetic radiation interference environments can be identified and filtered to ensure input data stability.
Without increasing hardware costs, the impact of electromagnetic radiation interference on touch keys is effectively reduced, and the anti-interference stability and input accuracy of touch key integrated devices in complex electromagnetic environments are improved.
Smart Images

Figure CN120803292A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of touch keys, in particular to an electromagnetic radiation interference resisting method and device for touch keys and a computer device. BACKGROUND
[0002] In the technical field of touch keys, touch keys gradually replace traditional mechanical keys due to the advantages of convenient operation and no mechanical life limit, and are widely used in home appliances, industrial control, automotive electronics and other scenarios.
[0003] However, in the related touch key deployment method, a plurality of touch keys are connected to a micro control unit, and touch state recognition is realized based on changes in capacitive sensing signals. However, this method is usually susceptible to external interference signals in a complex electromagnetic environment, resulting in irregular fluctuations in touch sensing data, increased false triggering rate and other problems. SUMMARY
[0004] Therefore, it is necessary to provide an electromagnetic radiation interference resisting method and device for touch keys, a computer device and a computer readable storage medium to improve the anti-interference stability of touch key integrated devices in a complex electromagnetic environment.
[0005] In a first aspect, the present application provides an electromagnetic radiation interference resisting method for touch keys, applied to a preset touch key integrated device. The touch key integrated device includes a micro control unit based on touch sensing, a plurality of touch keys, and a plurality of anti-interference resistors arranged near the position of the micro control unit. The plurality of touch keys are respectively connected to the input ends of different anti-interference resistors through different touch key wires arranged at equal intervals, and the output ends of different anti-interference resistors are respectively connected to the input ends of the micro control unit. The method comprises: Obtaining touch sensing data input through the plurality of touch keys in a current period; Determining a touch sensing reference value corresponding to each touch key, and obtaining a touch sensing deviation value corresponding to each touch key based on the difference between the touch sensing reference value corresponding to each touch key and the touch sensing data; Based on the touch sensing deviation value corresponding to each touch key, obtaining an interference intensity statistical result of the current period. If the interference intensity statistical result meets a preset strong electromagnetic radiation interference judgment condition, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period. The key-out threshold of each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period is adjusted based on a preset strict key-out rule, and a key-out threshold adjustment result corresponding to each touch key in the current period is obtained, which is used to ensure that each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period stably receives input data under the condition of filtering data fluctuation caused by electromagnetic radiation interference.
[0006] In a second aspect, the application further provides an electromagnetic radiation interference resistant device for a touch key, comprising: The acquisition module is configured to acquire touch sensing data input through the plurality of touch keys in a current period. The calculation module is configured to determine a touch sensing reference value corresponding to each touch key, and obtain a touch sensing deviation value corresponding to each touch key based on the difference between the touch sensing reference value corresponding to each touch key and the touch sensing data. The determination module is configured to obtain an interference intensity statistical result of the current period based on the touch sensing deviation value corresponding to each touch key, and if the interference intensity statistical result meets a preset strong electromagnetic radiation interference determination condition, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period. The adjustment module is configured to adjust the key-out threshold of each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period based on a preset strict key-out rule, and obtain a key-out threshold adjustment result corresponding to each touch key in the current period, which is used to ensure that each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period stably receives input data under the condition of filtering data fluctuation caused by electromagnetic radiation interference.
[0007] In a third aspect, the application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the above steps when executing the computer program.
[0008] In a fourth aspect, the application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the above steps.
[0009] The method, device, computer device and computer readable storage medium for resisting electromagnetic radiation interference of the touch key, on one hand, calculate the deviation of the touch sensing data corresponding to each touch key and the touch sensing reference value, so as to obtain the touch sensing deviation value representing the sensing deviation amplitude of each touch key in the current running state. On the other hand, the interference strength is judged according to the touch sensing deviation value corresponding to each touch key, so as to identify the touch key integrated device in the strong electromagnetic radiation interference environment in the current period, and dynamically adjust the key-out threshold of each touch key according to the strict key-out condition. Based on this, the data fluctuation caused by electromagnetic radiation is filtered in time at the software algorithm level, so as to effectively avoid misidentification of non-real input in the strong electromagnetic radiation interference environment. On the other hand, in the touch key integrated device, the different touch key wires are arranged at equal intervals and the anti-interference resistors are arranged near the micro control units. Based on this, the impact of electromagnetic radiation interference on the touch key is reduced at the hardware layout level without increasing the hardware cost. Therefore, in the overall technical solution, the full-process control of the touch input accuracy under electromagnetic interference is realized based on the cooperation of software and hardware, and the anti-interference stability of the touch key integrated device in the complex electromagnetic environment is improved in time. BRIEF DESCRIPTION OF DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the embodiments or related art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0011] Figure 1 The structural schematic diagram of the touch key integrated device in an embodiment; Figure 2 The flowchart of the method for resisting electromagnetic radiation interference of the touch key in an embodiment; Figure 3 The structural block diagram of the device for resisting electromagnetic radiation interference of the touch key in an embodiment. DETAILED DESCRIPTION
[0012] In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0013] In one example embodiment, a method for anti-electromagnetic interference of a touch key is provided. The method is applied to a terminal in this example embodiment. It should be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and can be implemented through interaction of the terminal and the server. In this example embodiment, the method is applied to a preset touch key integrated device.
[0014] As shown in Figure 1 , the touch key integrated device includes a micro control unit 101 based on touch sensing, a plurality of touch keys 102, and a plurality of anti-interference resistors 103 arranged near the position of the micro control unit 101. The plurality of touch keys 102 are respectively connected to the input ends of different anti-interference resistors 103 through different touch key wires 104 arranged at equal intervals, and the output ends of different anti-interference resistors 103 are respectively connected to the input ends of the micro control unit 101.
[0015] Among them, the touch key integrated device represents an electronic device integrated with a plurality of touch keys 102 and corresponding control processing circuit, used for detecting the touch input behavior of the user and converting it into a recognizable digital signal, such as a smart home appliance panel, an industrial control terminal, or a car central control interface.
[0016] Among them, the micro control unit 101 represents the core control chip (MCU, Microcontroller Unit) in the touch key integrated device, used for processing and judging the sensing signal, and executing corresponding logical control instructions; the touch key 102 represents an input node for detecting user touch action, which responds to the capacitance change caused by external touch through an internal sensing structure, and is used to realize key operation without mechanical structure; the anti-interference resistor 103 represents a current limiting or filtering element arranged in the signal input path, used to weaken the high frequency noise introduced by electromagnetic radiation, and improve the stability of the sensing signal; the touch key wire 104 represents a conductive path connecting the touch key 102 and the corresponding control processing circuit, used to transmit the sensing signal to the corresponding control processing circuit.
[0017] Exemplarily, the equal interval arrangement of different touch key wires means that the space interval occupied by each touch key wire on the circuit board is relatively balanced, ensuring that the sensing signals of each touch key remain consistent and symmetrical in the electrical path before being transmitted to the anti-interference resistor, so that the interference is relatively evenly distributed to each touch channel, thereby reducing the capacitance coupling difference and common mode interference effect caused by uneven wiring.
[0018] Exemplarily, the anti-interference resistor is arranged close to the position of the micro control unit, which means that the position of the anti-interference resistor is close to the chip body, so that the length of the conduction path of the high-frequency component can be effectively limited before the data signal enters the micro control unit, the propagation gain of the high-frequency interference wave on the wire is reduced, and the intensity of the interference entering the micro control unit is attenuated.
[0019] As shown in Figure 2 In one exemplary embodiment, an anti-electromagnetic interference method of a touch key includes steps S101-S104.
[0020] In step S101, touch sensing data input by a plurality of touch keys in a current period is obtained.
[0021] The touch sensing data represents the capacitance change response value generated and collected by the plurality of touch keys respectively in a specified time period, and is used to reflect the degree of action of external touch behavior on each touch key.
[0022] Exemplarily, the touch key integrated device internally deploys a plurality of touch keys. When a user applies a physical touch or proximity action, each touch key will generate a certain amplitude of capacitance change in its corresponding sensing circuit. Based on this, the micro control unit of the touch key integrated device periodically polls and reads the level value on each touch channel to obtain the touch sensing data input by each touch key in the current period. Each touch sensing data has a certain time resolution, reflecting the strength and duration of the external touch action on the corresponding touch key.
[0023] In step S102, a touch sensing reference value corresponding to each touch key is determined, and a touch sensing deviation value corresponding to each touch key is obtained based on the difference between the touch sensing reference value corresponding to each touch key and the touch sensing data.
[0024] The touch sensing reference value represents the reference capacitance response value formed by the corresponding touch key when it is stably running for a long time without touch, and is used to determine whether the current touch sensing data has abnormal fluctuations.
[0025] The touch sensing deviation value represents the numerical difference between the current collected touch sensing data and the corresponding touch sensing reference value, and is used to measure whether the sensing state of each touch key deviates from its stable state.
[0026] Exemplarily, firstly, the sensing level values of the respective touch keys in the stable working state and the non-touch state are determined from the historical data or the production specification data, and are defined as the touch sensing reference values of the respective touch keys, aiming to reflect the natural potential in the sensing circuit of the touch key without physical intervention. Subsequently, the touch sensing data corresponding to each touch key is compared with the corresponding touch sensing reference value one by one, that is, the difference between the touch sensing data corresponding to each touch key and the corresponding touch sensing reference value is calculated and processed, so as to obtain the touch sensing deviation value representing the sensing fluctuation amplitude of each touch key; the touch sensing deviation value corresponds to the potential offset of the corresponding touch key in the current sampling period, if the touch sensing deviation value is close to zero, it indicates that the touch key is in a static state, if the touch sensing deviation value is significantly higher than the touch sensing reference value, it may be caused by user touch or external interference.
[0027] In step S103, the interference intensity statistical result of the current period is obtained based on the touch sensing deviation values corresponding to the respective touch keys, if the interference intensity statistical result meets the preset strong electromagnetic radiation interference judgment condition, it indicates that the touch key integrated device is in the strong electromagnetic radiation interference environment in the current period.
[0028] Among them, the interference intensity statistical result represents a set of statistical quantitative indexes extracted based on the numerical distribution characteristics of the touch sensing deviation values of the plurality of touch keys in the current period, for quantitative evaluation of the external interference condition in the current period.
[0029] Among them, the strong electromagnetic radiation interference judgment condition represents a set of preset rules for judging whether the interference intensity statistical result reaches the strong electromagnetic interference level, to make a qualitative judgment in the environmental evaluation, for example, "if more than 80% of the touch sensing deviation values of the touch keys are greater than 10, and the change frequency is more than 5Hz" can be defined as meeting the strong electromagnetic radiation interference judgment condition.
[0030] Among them, the strong electromagnetic radiation interference environment represents the definition of the current external physical environment when meeting the strong electromagnetic radiation interference judgment condition, for identifying that the touch key integrated device is in a state that may be affected by non-contact high-frequency disturbance in the current period, for example, the device running site is close to the high-voltage frequency converter or wireless charging device, which may be in the strong electromagnetic radiation interference environment.
[0031] Exemplarily, firstly, the touch sensing deviation values of all touch keys in the same sampling period are extracted to form a set of deviation data reflecting the overall environmental stability; then, the distribution range, mean value, standard deviation, range and change frequency of the touch sensing deviation values of each touch key are calculated based on the set of deviation data, thereby forming a multi-dimensional quantitative description for evaluating the electromagnetic environment disturbance level. If a large number of touch keys simultaneously exhibit large deviations during the statistical process, and these deviations cannot be explained by real user input, a set of statistical parameter results representing the current electromagnetic environment disturbance level, i.e., interference intensity statistical results, are generated. The interference intensity statistical results are matched with the pre-set strong electromagnetic radiation interference judgment condition, for example, by matching whether more than a certain proportion of key deviation values are greater than a specified threshold, whether there is a frequent mutation behavior, etc. If the interference intensity statistical results meet the strong electromagnetic radiation interference judgment condition, the current environment of the touch key integrated device is identified as a strong electromagnetic radiation interference environment.
[0032] In step S104, based on the preset strict key-out rule, the key-out threshold of each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period is adjusted to obtain the key-out threshold adjustment result of each touch key corresponding to the current period. The key-out threshold adjustment result is used to ensure that each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period stably receives input data under the condition of filtering data fluctuations caused by electromagnetic radiation interference.
[0033] The strict key-out rule represents a more stringent trigger judgment standard for touch key key-out judgment in the strong electromagnetic radiation interference environment, and is used to improve the robustness of identifying real input.
[0034] The key-out threshold represents a numerical limit used to determine whether a touch input is valid in the touch key identification process, and is used to avoid mistakenly identifying meaningless fluctuations as real input.
[0035] The key-out threshold adjustment result represents a set of key-out thresholds re-set for each touch key after applying the strict key-out rule, and is used to replace the original key-out threshold to execute trigger judgment logic.
[0036] Exemplarily, after the current environment is identified as a strong electromagnetic radiation interference environment, preset strict key output rules are called, and the key output threshold corresponding to each touch key is dynamically adjusted. That is, in order to avoid misjudgment of interference as touch input, the original key output threshold is adjusted upward in the strong electromagnetic radiation interference environment, so that only when the touch sensing deviation value significantly exceeds the fluctuation range caused by interference, the touch input action is recognized as a real input action. Furthermore, the adjustment process is not simply linearly upward, but the fluctuation characteristics of each touch key in the current period are combined to set a differentiated threshold for each touch key that matches the performance of the touch key, and a short-term fluctuation stability factor can be introduced in the calculation to enhance the anti-disturbance ability of the threshold.
[0037] In the above-mentioned method for resisting electromagnetic radiation interference of the touch key, on the one hand, the touch sensing data corresponding to each touch key and the touch sensing reference value are subjected to deviation calculation, thereby obtaining a touch sensing deviation value representing the sensing deviation amplitude of each touch key in the current running state. On the other hand, the interference intensity is judged according to the touch sensing deviation value corresponding to each touch key, so as to identify the touch key integrated device in the strong electromagnetic radiation interference environment in the current period, and the key output threshold of each touch key is dynamically adjusted according to the strict key output condition. Based on this, the data fluctuation caused by electromagnetic radiation is filtered in time at the software algorithm level, thereby effectively avoiding the misrecognition of non-real input in the strong electromagnetic radiation interference environment. On the other hand, in the touch key integrated device, the different touch key wires are arranged at equal intervals and the anti-interference resistors are arranged adjacent to the micro control units. Based on this, the impact of electromagnetic radiation interference on the touch key is reduced at the hardware layout level without increasing the hardware cost. Thus, in the overall technical solution, the full-process control of the touch input accuracy under electromagnetic interference is realized based on the cooperation of software and hardware, and the anti-interference stability of the touch key integrated device in the complex electromagnetic environment is effectively improved in a timely manner.
[0038] In one exemplary embodiment, the interference intensity statistical result of the current period is obtained based on the touch sensing deviation value corresponding to each touch key. If the interference intensity statistical result meets the preset strong electromagnetic radiation interference judgment condition, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period, including steps S201 to S202.
[0039] In step S201, among the touch sensing deviation values corresponding to each touch key, based on the analysis and processing of each feature index on the time sequence feature level and the statistical feature level, the interference intensity statistical result containing each feature index in the current period is obtained.
[0040] The characteristic index at the time sequence characteristic level represents a dynamic change parameter extracted from a change process of the touch sensing deviation values of the touch keys in continuous time, and is used to reflect fluctuation characteristics of the touch sensing data in the time dimension.
[0041] The characteristic index at the statistical characteristic level represents a numerical distribution characteristic parameter extracted after overall statistical processing of the set of touch sensing deviation values of the touch keys in the current period, and is used to reflect overall stability or abnormal trend of the touch sensing data.
[0042] Exemplarily, the characteristic index at the time sequence characteristic level can include fluctuation frequency, slope mutation rate, maximum mutation amplitude, fluctuation period length, and synchronous change index, etc. The fluctuation frequency represents the number of times of direction flip of the deviation value in unit time, the slope mutation rate represents the number of times of continuous slope change exceeding a set amplitude in the deviation value sequence, the maximum mutation amplitude represents the maximum change amplitude of the deviation value between adjacent sampling points, the fluctuation period length represents a statistical value of the duration of the deviation value in a complete fluctuation period, and the synchronous change index represents the number of times of consistent trend (e.g., simultaneous rise) of the multiple touch channels in the same time period.
[0043] Exemplarily, the characteristic index at the statistical characteristic level can include deviation sum, average deviation value, standard deviation, maximum and minimum value, skewness, and kurtosis, etc. The deviation sum represents the sum of all deviation values, the average deviation value represents the average of all deviation values, the standard deviation represents the dispersion degree of the deviation values, the maximum and minimum value represents the maximum difference of the deviation values, the skewness represents the asymmetry of the deviation value distribution, and the kurtosis represents the steepness of the deviation value distribution.
[0044] Exemplarily, after the touch control key integrated device acquires the touch sensing deviation values corresponding to each touch control key in the current period, it needs to jointly analyze and process these touch sensing deviation values from the two aspects of time sequence characteristics and statistical characteristics to construct the interference intensity statistical result containing multi-dimensional characteristic indexes. Specifically, the analysis of the time sequence characteristic aspect is mainly to extract the characteristics of the fluctuation trend of the touch sensing deviation value of each touch control key in the continuous time segment, by recording the rising frequency, falling frequency, fluctuation period length, mutation slope and other characteristic indexes in unit time, to measure whether the corresponding touch channel has an abnormal surge or high-frequency swing phenomenon. At the same time, the analysis of the statistical characteristic aspect is mainly to extract the characteristics of the numerical distribution of the touch sensing deviation value of each touch control key in the current sampling window, by recording the deviation sum, average deviation value, extreme value difference, standard deviation, variance, skewness and other characteristic indexes, to measure whether the corresponding touch channel deviates from its stable state interval as a whole under the current working state. Finally, these characteristic indexes extracted from the two aspects of time sequence characteristics and statistical characteristics are organized into a set of interference intensity statistical results to represent the electromagnetic interference behavior characteristics perceived by the touch control key integrated device as a whole in the current period, providing a quantitative basis for subsequent determination of whether it is in a strong electromagnetic radiation interference environment.
[0045] Step S202, determining the index threshold condition corresponding to each characteristic index in the strong electromagnetic radiation interference judgment condition. If the characteristic index in the interference intensity statistical result meets the corresponding index threshold condition in the strong electromagnetic radiation interference judgment condition, it indicates that the touch control key integrated device is in a strong electromagnetic radiation interference environment in the current period.
[0046] Among them, the index threshold condition represents a set of numerical boundary rules for abnormal judgment of each characteristic index in the interference intensity statistical result, serving as a reference standard for identifying a strong electromagnetic radiation interference environment.
[0047] Exemplarily, on the basis of the constructed interference intensity statistical result, a preset strong electromagnetic radiation interference judgment condition is further called to compare each characteristic index in the interference intensity statistical result with the index threshold condition. Specifically, the strong electromagnetic radiation interference judgment condition contains a series of numerical threshold settings, which correspond to different characteristic indexes, such as setting upper limit values for the standard deviation and average deviation, setting identification intervals for the slope change range, and the like. Further, each characteristic index in the interference intensity statistical result is read and compared with the threshold in the corresponding index threshold condition; if a characteristic index in the interference intensity statistical result meets the corresponding index threshold condition (such as exceeding the set upper limit threshold), the characteristic index is marked as an abnormal index; if multiple key characteristic indexes are marked as abnormal indexes, or the number of characteristic indexes marked as abnormal indexes reaches a preset number, it is determined that the current touch key integrated device is in a strong electromagnetic radiation interference environment.
[0048] In the embodiment, first, the time sequence characteristics and statistical characteristics of the touch key sensing deviation values are extracted to obtain the interference intensity statistical result, so as to realize the quantitative expression of the touch key sensing deviation values in different data characteristic dimensions; further, the matching judgment of each characteristic index in the interference intensity statistical result and the preset index threshold condition is performed, so as to realize the accurate identification of whether the current period is in a strong electromagnetic radiation interference environment; based on this, by constructing a multi-dimensional characteristic index system and associating it with the quantitative judgment condition, the normal input and abnormal disturbance can be stably distinguished in a complex environment, and the input judgment reliability of the touch key integrated device in a complex environment is enhanced.
[0049] In one exemplary embodiment, the interference intensity statistical result of the current period is obtained based on the touch sensing deviation values corresponding to each touch key, and if the interference intensity statistical result meets the preset strong electromagnetic radiation interference judgment condition, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period, including steps S301 to S302.
[0050] Step S301, in the touch sensing deviation values corresponding to each touch key, the physical distribution characteristics and use characteristics of each touch key are clustered based on the noise reference value in the current environment, to obtain the interference intensity statistical result containing each clustering result in the current period.
[0051] The noise reference value represents a pre-set or real-time measured interference signal fluctuation reference value in the current environment, which is used to determine whether the touch sensing deviation value belongs to abnormal fluctuation caused by environmental noise.
[0052] The physical distribution feature of the touch key represents a geometric arrangement relationship of the plurality of touch keys on a device structure, and is used to identify spatial proximity between the touch keys. For example, if a key A and a key B are arranged adjacent to each other on a panel, they have strong physical proximity, which can be used to determine whether they are affected by the same physical interference source.
[0053] The use feature of the touch key represents a behavior pattern of each touch key in a historical use process, such as operation frequency, press duration, and operation interval, and is used to identify whether a deviation of a certain touch key is more likely to be caused by user behavior. For example, a key C is a frequently used function key, and a high-frequency deviation of the key C is more likely to be caused by use behavior.
[0054] The clustering result represents a key set formed by grouping the features of the plurality of touch keys in terms of sensing deviation behavior, physical layout, and use pattern under the guidance of the noise reference value, and is used to summarize similar disturbed behaviors. For example, five physically adjacent touch keys with similar deviation values are grouped into one cluster.
[0055] Exemplarily, after obtaining the touch sensing deviation values of the plurality of touch keys corresponding to the current period, the physical distribution feature and the use feature of the touch key are further combined with the noise reference value measured in the current environment to perform joint analysis, so as to perform clustering processing and generate an interference intensity statistical result containing the clustering result. Specifically, first, data points related to the amplitude feature, the fluctuation frequency feature, or the time distribution characteristic of the noise reference value are selected from the touch sensing deviation values of the plurality of touch keys, and these data points are jointly modeled with the static features of each touch key, such as the positional relationship in the structure layer and the historical use frequency. Through such a modeling manner, not only the numerical similarity of the deviation behavior of each touch key is considered, but also the proximity between the touch keys in the physical structure and the linkage in the operation habit are considered. Subsequently, all the touch keys are divided into a plurality of key sets with similar data behavior characteristics by a preset clustering algorithm, each key set is a clustering result, and each clustering is marked with a corresponding classification label, including the key number, the average deviation level, the number of keys in the cluster, and the like. The purpose of clustering is to identify whether a plurality of spatially adjacent or behaviorally consistent touch keys simultaneously exhibit abnormal deviation in the same period, so as to assist in determining whether such abnormal deviation is caused by local use behavior triggering or external electromagnetic noise propagating on the structure path. Finally, the interference intensity statistical result is constructed in units of clusters.
[0056] In step S302, a quantity threshold condition corresponding to the noise reference value is determined in the strong electromagnetic radiation interference judgment condition. If the clustering result in the interference intensity statistical result satisfies the quantity threshold condition in the strong electromagnetic radiation interference judgment condition, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period.
[0057] The quantity threshold condition represents a set of quantity threshold rules for judging the clustering results in the interference intensity statistical result as a reference standard for identifying the strong electromagnetic radiation interference environment.
[0058] Exemplarily, after obtaining the interference intensity statistical result containing the respective clustering results in the current period, the quantity threshold condition in the strong electromagnetic radiation interference judgment condition is called to perform matching analysis on the data concentration embodied by the clustering results, that is, instead of judging a single deviation abnormal value, a logical judgment is performed on whether the abnormal clustering composed of multiple touch keys reaches the scaled threshold for judging interference. Specifically, the touch sensing deviation value of the touch key whose amplitude range or fluctuation frequency is significantly higher than the amplitude range or fluctuation frequency of the noise reference value by a specified multiple is regarded as an abnormal key. When the quantity threshold condition is "the number of abnormal keys contained in the same cluster exceeds half of the total number of keys in the corresponding cluster", if there are more than the corresponding number of abnormal keys in the actual clustering result, the corresponding cluster is identified as a significantly interfered region. Finally, after analyzing all the clustering results, the number of clusters identified as significantly interfered regions can be used to judge whether the current touch key integrated device is in a strong electromagnetic radiation interference environment. In this process, the data concentration is used as the evaluation standard of the interference intensity, which eliminates the misjudgment influence caused by individual key deviation. The entire judgment process is based on the clustering granularity rather than the key granularity, which enhances the response capability of the interference identification to the multi-channel consistent interference phenomenon.
[0059] In this embodiment, first, in the touch sensing deviation values of the respective touch keys, the noise reference value is combined and the physical distribution characteristics and usage characteristics are fused for clustering division, to obtain the interference intensity statistical result containing the respective clustering results in the current period, thereby realizing structural identification of the interfered region. Then, the number of abnormal keys in the clustering result is matched with the preset quantity threshold condition for judgment, thereby realizing scaled identification of the strong electromagnetic radiation interference environment. Based on this, by constructing the clustering analysis mechanism based on the physical distribution characteristics and usage characteristics and introducing the quantity judgment condition, local or large-scale interfered regions can be accurately identified, and the judgment accuracy and input stability of the touch key integrated device in a complex environment are improved.
[0060] In one exemplary embodiment, based on the preset key-out rule, the key-out threshold of each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period is adjusted to obtain the key-out threshold adjustment result of each touch key in the current period, including steps S401 to S404.
[0061] In step S401, based on the touch sensing deviation values corresponding to the respective touch keys, a plurality of target touch keys corresponding to the maximum touch sensing deviation value are determined from the respective touch keys.
[0062] Exemplarily, on the premise that it has been judged that the current touch key integrated device is in a strong electromagnetic radiation interference environment, it is necessary to uniformly compare the touch sensing deviation values corresponding to all touch keys in the corresponding period to identify which touch keys are most significantly affected by the deviation fluctuation in the current period. Specifically, first, the touch sensing deviation values corresponding to the respective touch keys are traversed to identify a plurality of touch keys with the maximum touch sensing deviation values, which are used as the target objects in the current environment, i.e., target touch keys, which are the most sensitive in response. These target touch keys often exhibit the greatest capacitive response deviation under the interference conditions of the current environment, reflecting that they are more susceptible to electromagnetic noise interference, and thus are selected as the key input basis for the compensation calculation in the subsequent threshold adjustment.
[0063] In step S402, according to the strict key-out rule, the mean value between the touch sensing deviation values of the respective target touch keys is used as the initial key-out threshold compensation value corresponding to each touch key.
[0064] The initial key-out threshold compensation value represents an average reference increment value calculated from the touch sensing deviation values of the plurality of target touch keys in the strong electromagnetic radiation interference environment, which is used as the basis compensation amplitude for the subsequent key-out threshold adjustment.
[0065] Exemplarily, according to the setting logic of the strict key-out rule, the touch sensing deviation values of the identified plurality of target touch keys are numerically averaged to use the calculated mean value as a unified reference for the initial key-out threshold compensation calculation for all touch keys, i.e., the initial key-out threshold compensation value. Furthermore, the design intention of the calculation logic of the initial key-out threshold compensation value is that since the target touch keys exhibit relatively extreme response amplitudes in the current environment, these response amplitudes will significantly increase the overall misjudgment risk in the unfiltered state, and thus the mean value thereof is used as a fixed offset correction for other touch keys to raise the threshold of key-out judgment.
[0066] In step S403, based on the physical distribution characteristics and use characteristics of the respective touch keys, the initial key-out threshold compensation value corresponding to each touch key is adjusted to obtain a target key-out threshold compensation value corresponding to each touch key.
[0067] Exemplarily, the target key-out threshold compensation value represents a final compensation value obtained by further combining the characteristics of the physical structure and historical use behavior of each touch key for individual adjustment based on the initial key-out threshold compensation value.
[0068] Exemplarily, according to the physical distribution characteristics and use characteristics of each touch key on the structural layer, the initial key-out threshold compensation amount of each touch key is jointly adjusted to obtain the target key-out threshold compensation amount corresponding to each touch key respectively; in the adjustment process, first, the relative position relationship of each touch key and the target touch key on the panel space is searched, and the proximity is evaluated, if a touch key is close to the target touch key, it is determined that the touch key has a higher possibility of being interfered by the homologous interference, therefore, the compensation amplitude is retained or enhanced; if the distance is far, the compensation amplitude is appropriately reduced. At the same time, the use frequency and operation stability of the touch key in the use process are also corrected, for example, the touch key with high frequency of use but stable fluctuation can appropriately reduce the compensation amplitude to reduce the risk of response delay caused by too high key-out threshold; and the touch key with low frequency of use but large fluctuation in recent period needs to increase the compensation amplitude to improve the anti-mis-triggering capability. Through the comprehensive correction processing of the physical structure and behavior mode, a differentiated target key-out threshold compensation amount is finally output for each touch key, so that the threshold adjustment strategy is not only based on the interference strength, but also considers the actual running environment and use characteristics of each touch channel, to improve the delicacy and adaptability of the threshold adjustment strategy.
[0069] In step S404, based on the target key-out threshold compensation amount corresponding to each touch key respectively, the key-out threshold of each touch key in the touch key integrated device currently in the strong electromagnetic radiation interference environment is compensated to obtain the key-out threshold adjustment result corresponding to each touch key in the current period.
[0070] Exemplarily, based on the target key-out threshold compensation amount corresponding to each touch key calculated respectively, the compensation adjustment operation of the key-out threshold is performed on all touch keys currently in the strong electromagnetic radiation interference environment respectively; specifically, for each touch key, the corresponding target key-out threshold compensation amount is added to the original key-out threshold, thereby generating the new key-out judgment limit of each touch key in the current period; furthermore, the key-out threshold adjustment is not a permanent fixed change of the key-out threshold of the touch key, but a periodic updating mechanism, which takes effect during the duration of the interference environment, and can be dynamically restored or dynamically updated according to the subsequent environmental judgment result.
[0071] In this embodiment, firstly, the maximum value of the sensing deviation value of each touch key is identified, the target touch key with the most significant interference influence is extracted, the initial key-out threshold compensation amount is constructed according to the mean value of the deviation value of the target touch key, and thus the unified key-out threshold adjustment baseline is determined; secondly, the initial key-out threshold compensation amount is differentiated and corrected according to the physical distribution characteristics and use characteristics of each touch key, and thus the personalized target key-out threshold compensation amount is set; thirdly, the key-out threshold of each touch key is compensated according to the target key-out threshold compensation amount, and thus the key-out threshold adjustment result suitable for the current interference environment is obtained; based on this, the input recognition stability and robustness of the touch key integrated device in the strong interference environment are effectively improved based on the key personalized adjustment key-out threshold dynamic compensation mechanism.
[0072] In one exemplary embodiment, after the initial key-out threshold compensation amount corresponding to each touch key is adjusted based on the physical distribution characteristics and use characteristics of each touch key, and the target key-out threshold compensation amount corresponding to each touch key is obtained, the method further includes steps S501 to S503.
[0073] Step S501, based on the environmental characteristics of the strong electromagnetic radiation interference environment, the interference fluctuation trend and the interference fluctuation correlation of each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment at the current period are determined.
[0074] The environmental characteristics of the strong electromagnetic radiation interference environment represent the representative data performance or mode characteristics monitored in the strong electromagnetic radiation interference environment, and are used to describe the external influence form of the interference source, such as the characteristic parameters of interference frequency distribution, duration, intensity fluctuation, etc.
[0075] The interference fluctuation trend represents the time evolution track of the touch sensing deviation value of a touch key under the action of strong electromagnetic interference, and is used to reflect the response change of the corresponding touch channel to external disturbance, for example, the touch sensing deviation value of a touch key shows a continuously rising deviation curve in the current period, and its interference fluctuation trend can be classified as a single-direction slow rising type.
[0076] The interference fluctuation correlation represents the time synchronization and response consistency between different touch keys in the sensing deviation fluctuation, and is used to evaluate whether multiple touch channels are affected by the same interference source, for example, if the touch sensing deviation values of two touch keys fluctuate at the same time and the waveforms are similar, the interference fluctuation correlation is strong.
[0077] Exemplarily, under the premise that the touch key integrated device has been in a strong electromagnetic radiation interference environment in the current period, the sensing deviation behavior of each touch key needs to be further analyzed based on the environmental characteristics exhibited by the interference environment to identify the interference fluctuation trend and interference fluctuation correlation of each touch key. First, for the touch sensing deviation value change of each touch key in a certain time window, a deviation fluctuation sequence is constructed, and then the interference fluctuation trend of the corresponding touch channel is extracted according to the fluctuation frequency, amplitude change trend, direction continuity and other characteristic parameters of the deviation fluctuation sequence on the time axis. The touch sensing deviation value is used to depict the evolution mode of the deviation value of the touch key under the interference, which is an important basis for judging whether there is continuous interference, intermittent interference or burst interference. Subsequently, the interference fluctuation trends of multiple touch keys are further compared with each other to identify their synchronization, fluctuation direction consistency and response lag characteristics on the fluctuation time axis, so as to calculate the interference fluctuation correlation between each touch key. The interference fluctuation correlation reflects whether multiple touch keys are affected by the same interference source or whether the interference is indirectly conducted between different touch channels through the device structure.
[0078] In step S502, based on the interference fluctuation trend and the interference fluctuation correlation of each touch key, the trigger event type triggering the interference fluctuation of each touch key is identified, and the adaptive fluctuation threshold respectively matched by the touch channel of each touch key is determined based on the trigger event type.
[0079] Among them, the trigger event type represents the electromagnetic disturbance cause category leading to abnormal fluctuation of a touch channel, which is used for classifying and judging the interference source encountered by the touch channel, such as identifying as power harmonic interference, wireless signal injection or electrostatic discharge, etc.
[0080] Among them, the adaptive fluctuation threshold represents the deviation fluctuation tolerance range set for each touch channel under the current interference environment and trigger event type, which can dynamically change, and is used to assist in judging whether the deviation of the current touch channel belongs to the acceptable range, for example, setting a higher fluctuation threshold for high-frequency interference type to avoid misjudging normal touch.
[0081] Exemplarily, on the basis of obtaining the interference fluctuation trend and interference fluctuation correlation of each touch key, the fluctuation behavior of each touch key at present is classified into the corresponding trigger event type by analyzing the matching degree between the fluctuation behavior and the determined trigger event type. In this process, the recognition standard of different trigger event types is set, and the fluctuation behavior of each touch key at present is compared with the recognition standard of different trigger event types, so that the interference trigger event type corresponding to each touch channel under the current interference environment is obtained. For example, if some touch keys show high-frequency and low-amplitude continuous disturbance, they may match the trigger event type corresponding to external radio frequency interference; if some touch keys have sudden high-amplitude but low-frequency abnormal offset, they may match the trigger event type corresponding to electrostatic discharge interference. Furthermore, according to the interference trigger event type corresponding to each touch channel under the current interference environment, a targeted adaptive fluctuation threshold is configured for each touch channel. The adaptive fluctuation threshold no longer adopts a unified standard, but sets a corresponding dynamic judgment limit according to the currently identified interference trigger event type, which is used to constrain the fluctuation tolerance range of the touch channel in input judgment, thereby improving the accuracy and robustness of recognition.
[0082] In step S503, the target key-out threshold compensation amount corresponding to each touch key is adjusted based on the adaptive fluctuation threshold matched by the touch channel of each touch key respectively, to obtain the adjusted target key-out threshold compensation amount corresponding to each touch key, for adjusting the key-out threshold of each touch key in the touch key integrated device in the strong electromagnetic radiation interference environment at the current period.
[0083] Exemplarily, the adaptive fluctuation threshold corresponding to each touch key is taken as the constraint input to further correct the target key-out threshold compensation amount of each touch key established in advance. Specifically, the target key-out threshold compensation amount of each touch key is compared with its adaptive fluctuation threshold, and the upper and lower bounds of the target key-out threshold compensation amount are adjusted according to the minimum response distance or the maximum allowable error amplitude set by the adaptive fluctuation threshold. For example, if the target key-out threshold compensation amount of a touch channel is not enough to filter out the abnormal fluctuation within the adaptive fluctuation threshold of the touch channel identified, the compensation amplitude is increased to enhance the anti-interference ability; on the contrary, if the target key-out threshold compensation amount exceeds the range allowed by the adaptive fluctuation threshold, it is appropriately adjusted downward to avoid affecting the sensitivity of normal trigger recognition. Through this process, the key-out threshold compensation strategy of each touch channel can be dynamically controlled according to the interference cause it currently faces, avoiding the error expansion or judgment deviation caused by one-size-fits-all adjustment, and ensuring that the key-out threshold adjustment of each touch channel is more in line with the actual environmental conditions.
[0084] In the embodiment, firstly, the interference response characteristics and the interference propagation relationship between channels are quantitatively identified according to the extraction processing of the interference fluctuation trend and the interference fluctuation correlation of the touch key in the strong electromagnetic radiation interference environment; secondly, the response range setting for different interference causes is realized by matching the trigger event type according to the interference fluctuation trend and the interference fluctuation correlation and configuring the adaptive fluctuation threshold corresponding to each touch channel; and thirdly, the matching accuracy of the key-out threshold to the actual environmental conditions is improved by adjusting the target key-out threshold compensation amount according to the adaptive fluctuation threshold corresponding to each touch key, and the signal recognition reliability and the channel interference adaptability of the touch key integrated device in the interference environment are effectively improved.
[0085] In one exemplary embodiment, after the touch sensing data input through the plurality of touch keys in the current period is acquired, the method further includes steps S601 to S602.
[0086] In step S601, a three-dimensional electromagnetic simulation model constructed in advance based on the circuit layout of the touch key integrated device is acquired.
[0087] The three-dimensional electromagnetic simulation model represents a combination of a spatial geometric model and an electromagnetic characteristic model constructed based on the actual circuit structure and element layout of the touch key integrated device, and is used to simulate the distribution of the internal electromagnetic field of the device under different working states or interference conditions. For example, the relative positions of the touch keys, the wiring paths of the circuit wires, the configuration modes of the anti-interference resistors, and the relative positions of the micro control units in space and their electrical behavior relationships are modeled to form a three-dimensional structure, and then the electromagnetic simulation calculation tool is used to obtain the corresponding electric field intensity distribution of the three-dimensional structure.
[0088] Exemplarily, the three-dimensional electromagnetic simulation model is constructed in advance based on actual hardware structure information, wiring information, and element layout, etc., to simulate the internal electromagnetic field distribution characteristics of the touch key integrated device under various electromagnetic excitation conditions. Specifically, when constructing the three-dimensional electromagnetic simulation model, first, the geometric modeling is performed according to the spatial arrangement information such as the positional relationship of each touch key on the device circuit board, the wiring path of the circuit wire, the configuration mode of the anti-interference resistor, and the relative position of the micro control unit; then, the response behavior of each element under different electromagnetic conditions is established combined with the electrical parameters and operating characteristics of each element, and the influence of each element on the local electromagnetic field distribution during operation is derived. Based on this, the three-dimensional electromagnetic simulation model constructed contains not only the static structure, but also the logical connection mode and signal transmission path between elements within a certain period of time, so that the correction influence of the timing logic on the electromagnetic coupling behavior can be considered in the simulation process.
[0089] In step S602, the touch sensing data is calibrated based on the internal electromagnetic field environment determined by the processing logic and the physical space layout of each element in the three-dimensional electromagnetic simulation model, to obtain calibrated touch sensing data, which is used to compare with the touch sensing reference value corresponding to each touch key and obtain the touch sensing deviation value corresponding to each touch key.
[0090] The internal electromagnetic field environment determined by the processing logic and the physical space layout of each element represents the local electromagnetic fluctuation state formed by the joint action of the element space structure distribution and the electrical signal transmission law inside the device, and is used to reflect the strength, direction and coverage range of the local electromagnetic interference level faced by the three-dimensional electromagnetic simulation model.
[0091] For example, based on the internal electromagnetic field environment determined by the processing logic and the physical space layout of each element in the completed three-dimensional electromagnetic simulation model, the current acquired touch sensing data is calibrated and modified in the numerical level to form calibrated touch sensing data closer to the real input state. In the calibration process, the space position of the element and the preset electromagnetic response behavior are taken as the reference. First, according to the local electromagnetic field intensity corresponding to each touch channel in a specific structure position recorded in the three-dimensional electromagnetic simulation model, the standard sensing response behavior that it should have in the interference-free state is derived. Then, the actual sensing value of each touch channel in the current period is difference-operated with the standard sensing response behavior to identify the expected deviation caused by the structure layout, and the original touch sensing data is modified accordingly.
[0092] For example, if a touch key is close to a large current element and there is an electrical signal transmission relationship between them based on the processing logic, and the three-dimensional electromagnetic simulation model shows that there is a continuous deviation in the normal state of the area where it is located, the current touch sensing data of the touch key will be reduced by the expected deviation to return to the reference state it should show. This modification eliminates the influence of uneven device wiring or structural shielding on touch sensing data, that is, by introducing a structural response correction mechanism, the touch key integrated device can still maintain stable judgment ability for user input data under the conditions of wiring difference, uneven electrical interference source or structural asymmetry.
[0093] In this embodiment, firstly, a three-dimensional electromagnetic simulation model is constructed based on the circuit layout of the touch key integrated device, thereby obtaining a spatial structure reference that can reflect the local electromagnetic response characteristics of each touch channel. Then, the initial touch sensing data is calibrated based on the internal electromagnetic field environment determined based on the processing logic and physical space layout of each component in the three-dimensional electromagnetic simulation model, thereby eliminating systematic deviation errors caused by structural differences and uneven electromagnetic interference distribution. Based on this, by introducing a three-dimensional electromagnetic simulation model and implementing a signal correction mechanism based on structural perception, spatial consistency compensation of touch sensing data is achieved.
[0094] In an exemplary embodiment, before obtaining the three-dimensional electromagnetic simulation model constructed based on the circuit layout of the touch key integrated device, the method further includes steps S701 to S703.
[0095] Step S701: Based on the circuit layout relationship between the micro control unit and the anti-interference resistor in the touch key integrated device, the anti-interference structure network formed by the anti-interference resistor is analyzed and a micro control signal interference conduction model is constructed.
[0096] Wherein, the anti-interference structure network represents a structural wiring network with electromagnetic suppression function composed of the circuit connection relationship between the micro control unit and the plurality of anti-interference resistors, for limiting the conduction range and conduction strength of electromagnetic interference in the signal path.
[0097] Wherein, the micro control signal interference conduction model represents an equivalent electromagnetic behavior modeling result for describing the conduction process of electromagnetic interference signals from each signal circuit to the micro control unit based on the anti-interference structure network, for predicting the propagation path and amplitude variation of interference between the micro control unit and different nodes in the plurality of anti-interference resistors inside the touch key integrated device.
[0098] Exemplarily, firstly, the connection mode of the input interface of the micro control unit and the plurality of anti-interference resistors is extracted from the circuit layer, and the path length, wiring mode and distribution position of each signal line in the circuit board are analyzed, thereby analyzing the impedance change and energy discharge mode of the signal directly affected by the connection relationship of the anti-interference resistors relative to the micro control unit in the transmission process. Further, by extracting these structural parameters, it is identified that under the influence of different frequency interference sources, which conduction paths between the anti-interference resistors and the micro control unit are possible to couple the interference current to the downstream circuit through the anti-interference structure network formed by the anti-interference resistors. Further, in order to accurately describe the coupling behavior, the electromagnetic equivalent modeling of different node connection structures between the micro control unit and the plurality of anti-interference resistors is carried out, and variables such as voltage, current, impedance and coupling coefficient are introduced, and a micro control signal interference conduction model capable of characterizing the reaction of the micro control unit signal interface under the interference excitation is constructed in the frequency domain or the time domain.
[0099] In step S702, based on the layout relationship between the touch key and the touch key trace in the touch key integrated device, the space sensing capacitance path formed between the touch key and the touch key trace is analyzed and a space sensing capacitance distribution model is constructed.
[0100] Wherein, the space sensing capacitance path represents the electric field action path formed between the touch key and its touch trace in the physical space, which is used to reflect the field energy concentration area in the capacitance sensing process.
[0101] Wherein, the space sensing capacitance distribution model represents the geometric-electromagnetic joint modeling result established based on a plurality of space sensing capacitance paths, which is used to describe the capacitance distribution state and its dynamic change law of the entire touch key area, and is used to reflect the sensing sensitivity distribution of the touch key integrated device under different input conditions.
[0102] For example, first, the geometric parameters such as the shape and size of the touch button sensing electrodes and the width, spacing, and laying height of the corresponding touch button traces are obtained. That is, since the touch sensing process essentially depends on the change in capacitance formed between the human body and the electrodes, the geometric structure of the sensing path determines the electric field strength and capacitance response characteristics formed in different areas. Secondly, by establishing a three-dimensional structural graph, the relative position of the key sensing area and the trace connection structure in space is expressed as a volume unit or a boundary surface unit in combination with the obtained geometric parameters, and then the capacitance field is solved in combination with the relative dielectric constant of the dielectric material in which they are located, thereby constructing a spatial sensing capacitance path between each pair of touch buttons and touch button traces, and a spatial sensing capacitance distribution model is established based on multiple spatial sensing capacitance paths. In addition, since there may be crossing, adjacent, or multi-layer superposition phenomena between touch button traces, the degree of spatial coupling between the touch channel to which the touch button belongs and the adjacent touch channel can also be evaluated, and the mutual capacitance relationship and local electromagnetic field coupling effect between the touch channels can be characterized in the form of a sensing capacitance matrix.
[0103] In step S703 , the micro-control signal interference conduction model and the spatial induction capacitance distribution model are integrated to obtain a three-dimensional electromagnetic simulation model based on the circuit layout of the touch key integrated device.
[0104] For example, a microcontroller signal interference conduction model and a spatial induction capacitance distribution model are structurally integrated to generate a three-dimensional electromagnetic simulation model that covers the circuit structure characteristics of the entire touch key integrated device. During this integration process, the correlation between the spatial structure and electromagnetic characteristics of the two is uniformly modeled. First, a spatial mapping is established between the signal path where the microcontroller unit and the anti-interference resistor are located and the key sensing area based on the circuit connection relationship, so that the interference source distribution output by the microcontroller signal interference conduction model can directly act on the spatial structure area defined by the spatial induction capacitance distribution model. Then, using an electromagnetic simulation solver, a disturbance source field is applied to the initially integrated three-dimensional electromagnetic simulation model in a unified coordinate system to calculate multiple indicators such as the propagation path of the interference signal within the structure, the field strength distribution, and the channel response change. As a result, the final integrated three-dimensional electromagnetic simulation model can not only simulate the capacitance behavior of each touch channel under normal working conditions, but also predict the response pattern of different spatial structure areas to external electromagnetic perturbations at specific frequencies or energy levels, thereby providing an accurate electromagnetic background reference for subsequent structural compensation and interference identification of touch sensing data.
[0105] In the embodiment, firstly, a micro-control signal interference conduction model is constructed according to the layout relationship between the micro-control unit and the anti-interference resistor, so as to determine the propagation path and conduction mechanism of the interference signal in the anti-interference structure network; secondly, a space-induced capacitance distribution model is constructed according to the space-induced capacitance path formed between the touch key and the touch key wire, so as to quantify the space-induced characteristics of the key sensing area; thirdly, the aforementioned two models are integrated to construct a three-dimensional electromagnetic simulation model, so as to uniformly express the electromagnetic response relationship of the interference conduction and the sensing path inside the device, and realize the fine modeling of the electromagnetic field environment inside the touch key integrated device, thereby providing a structured electromagnetic reference basis for touch sensing data calibration.
[0106] It should be understood that, although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.
[0107] Based on the same inventive concept, the embodiments of the present application also provide an anti-electromagnetic radiation interference device for touch keys for implementing the anti-electromagnetic radiation interference method of the touch keys as described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more anti-electromagnetic radiation interference device embodiments for touch keys provided below can refer to the limitations of the anti-electromagnetic radiation interference method for touch keys described above, which will not be repeated here.
[0108] In one exemplary embodiment, as shown in Figure 3 An anti-electromagnetic radiation interference device for touch keys is provided, which is applied to the touch key integrated device in the above embodiment; the device comprises: an acquisition module 301, a calculation module 302, a determination module 303, and an adjustment module 304, wherein: The acquisition module 301 is configured to acquire touch sensing data input through a plurality of touch keys in a current period; The calculation module 302 is configured to determine a touch sensing reference value corresponding to each touch key, and obtain a touch sensing deviation value corresponding to each touch key based on the difference between the touch sensing reference value corresponding to each touch key and the touch sensing data; The determination module 303 is configured to obtain interference intensity statistical results of the current period based on the touch sensing deviation values corresponding to the respective touch keys, and if the interference intensity statistical results satisfy preset strong electromagnetic radiation interference determination conditions, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period. The adjustment module 304 is configured to adjust the key-out thresholds of the respective touch keys in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period based on preset key-out adjustment rules, to obtain key-out threshold adjustment results of the respective touch keys corresponding to the current period, and the key-out threshold adjustment results are used to ensure that the respective touch keys in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period stably receive input data under the condition of filtering data fluctuations caused by electromagnetic radiation interference.
[0109] In an exemplary embodiment, the determination module 303 is further configured to obtain interference intensity statistical results containing respective feature indexes in the current period based on analysis and processing of the respective feature indexes on the time sequence feature level and the statistical feature level among the touch sensing deviation values corresponding to the respective touch keys, and determine index threshold conditions corresponding to the respective feature indexes in the strong electromagnetic radiation interference determination conditions, and if the feature indexes in the interference intensity statistical results satisfy the corresponding index threshold conditions in the strong electromagnetic radiation interference determination conditions, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period.
[0110] In an exemplary embodiment, the determination module 303 is further configured to obtain interference intensity statistical results containing respective clustering results in the current period based on clustering processing of physical distribution features and use features of the respective touch keys based on noise reference values in the current environment among the touch sensing deviation values corresponding to the respective touch keys, and determine number threshold conditions corresponding to the noise reference values in the strong electromagnetic radiation interference determination conditions, and if the clustering results in the interference intensity statistical results satisfy the number threshold conditions in the strong electromagnetic radiation interference determination conditions, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period.
[0111] In an example embodiment, the adjusting module 304 is further configured to: determine, based on the touch sensing deviation values corresponding to the respective touch keys, target touch keys corresponding to a maximum touch sensing deviation value among the respective touch keys; in the strict key-out rule, take an average value between the touch sensing deviation values of the respective target touch keys as an initial key-out threshold compensation value corresponding to each of the respective touch keys; adjust the initial key-out threshold compensation value corresponding to each of the respective touch keys based on the physical distribution characteristics and usage characteristics of the respective touch keys, to obtain a target key-out threshold compensation value corresponding to each of the respective touch keys; and compensate the key-out threshold of each of the respective touch keys in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period based on the target key-out threshold compensation value corresponding to each of the respective touch keys, to obtain a key-out threshold adjustment result corresponding to each of the respective touch keys in the current period.
[0112] In an example embodiment, the adjusting module 304 is further configured to: determine, based on the environmental characteristics of the strong electromagnetic radiation interference environment, an interference fluctuation trend and an interference fluctuation correlation of each of the respective touch keys in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period; identify a trigger event type triggering the interference fluctuation of each of the respective touch keys based on the interference fluctuation trend and the interference fluctuation correlation of each of the respective touch keys, and determine an adaptive fluctuation threshold matched by a touch channel of each of the respective touch keys based on the trigger event type; and adjust the target key-out threshold compensation value corresponding to each of the respective touch keys based on the adaptive fluctuation threshold matched by the touch channel of each of the respective touch keys, to obtain an adjusted target key-out threshold compensation value corresponding to each of the respective touch keys, for adjusting the key-out threshold of each of the respective touch keys in the touch key integrated device in the strong electromagnetic radiation interference environment in the current period.
[0113] In an example embodiment, the apparatus further includes a calibration module configured to: obtain a three-dimensional electromagnetic simulation model constructed in advance based on a circuit layout of the touch key integrated device; and calibrate the touch sensing data based on an internal electromagnetic field environment determined based on the processing logic and the physical space layout of each element in the three-dimensional electromagnetic simulation model, to obtain calibrated touch sensing data, for comparison with the touch sensing reference value corresponding to each of the respective touch keys and obtaining the touch sensing deviation value corresponding to each of the respective touch keys.
[0114] In an exemplary embodiment, the apparatus further comprises a modeling module, which is further configured to: based on a layout relationship between the micro control unit and the anti-interference resistor in the touch key integrated device, analyze and construct a micro control signal interference conduction model for the anti-interference resistor network; based on a layout relationship between the touch key and the touch key wire in the touch key integrated device, analyze and construct a spatial induced capacitance distribution model for the spatial induced capacitance path formed between the touch key and the touch key wire; and integrate the micro control signal interference conduction model and the spatial induced capacitance distribution model to obtain a three-dimensional electromagnetic simulation model constructed based on the layout of the touch key integrated device.
[0115] The modules in the anti-electromagnetic radiation interference apparatus of the touch key can be implemented in whole or in part by software, hardware, or a combination thereof. The modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform the operations corresponding to the modules.
[0116] In an exemplary embodiment, a computer device is provided, which comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps in any of the above embodiments when executing the computer program.
[0117] In an embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the steps in any of the above embodiments.
[0118] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.
[0119] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0120] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for resisting electromagnetic radiation interference of a touch key, characterized in that: A touch key integrated device is applied to a preset device, the device comprising a touch-sensing microcontroller unit, a plurality of touch keys, and a plurality of anti-interference resistors arranged adjacent to the microcontroller unit, wherein the plurality of touch keys are respectively connected to the input ends of different anti-interference resistors via different touch key traces arranged at equal intervals, and the output ends of the different anti-interference resistors are respectively connected to the input end of the microcontroller unit; The method comprises: Acquiring touch sensing data input through the plurality of touch keys in a current time period; Determine a touch sensing reference value corresponding to each touch key, and obtain a touch sensing deviation value corresponding to each touch key based on a difference between the touch sensing reference value corresponding to each touch key and the touch sensing data; Obtaining interference intensity statistics for the current period based on the touch sensing deviation values corresponding to the touch buttons. If the interference intensity statistics meet a preset strong electromagnetic radiation interference determination condition, it indicates that the touch button integrated device is in a strong electromagnetic radiation interference environment for the current period. Based on the preset tightened key output rules, the key output threshold of each touch key in the touch key integrated device that is in a strong electromagnetic radiation interference environment in the current period is adjusted to obtain the key output threshold adjustment result corresponding to each touch key in the current period. The key output threshold adjustment result is used to ensure that each touch key in the touch key integrated device that is in a strong electromagnetic radiation interference environment in the current period can stably receive input data under the condition of filtering out data fluctuations caused by electromagnetic radiation interference.
2. The method according to claim 1, characterized in that Obtaining interference intensity statistics for the current period based on the touch sensing deviation values corresponding to the touch keys, and if the interference intensity statistics meet a preset strong electromagnetic radiation interference determination condition, indicating that the touch key integrated device is in a strong electromagnetic radiation interference environment for the current period, includes: In the touch sensing deviation value corresponding to each touch key, based on the analysis and processing of each characteristic index at the time series characteristic level and the statistical characteristic level, the interference intensity statistical result including each characteristic index in the current time period is obtained; In the strong electromagnetic radiation interference judgment condition, the indicator threshold condition corresponding to each characteristic indicator is determined. If the characteristic indicator in the interference intensity statistical result meets the corresponding indicator threshold condition in the strong electromagnetic radiation interference judgment condition, it means that the touch button integrated device is in a strong electromagnetic radiation interference environment in the current period.
3. The method according to claim 1, characterized in that Obtaining interference intensity statistics for the current period based on the touch sensing deviation values corresponding to the touch keys, and if the interference intensity statistics meet a preset strong electromagnetic radiation interference determination condition, indicating that the touch key integrated device is in a strong electromagnetic radiation interference environment for the current period, includes: In the touch sensing deviation values corresponding to the touch keys, clustering is performed on the physical distribution characteristics and usage characteristics of the touch keys based on the noise reference value in the current environment, and obtaining interference intensity statistics including the clustering results in the current time period; The quantity threshold condition corresponding to the noise reference value is determined in the strong electromagnetic radiation interference judgment condition. If the clustering result in the interference intensity statistical result meets the quantity threshold condition in the strong electromagnetic radiation interference judgment condition, it indicates that the touch button integrated device is in a strong electromagnetic radiation interference environment in the current period.
4. The method according to claim 1, wherein The method adjusts the key release threshold of each touch key in the touch key integrated device that is in a strong electromagnetic radiation interference environment during the current period based on the preset tightened key release rule, and obtains the key release threshold adjustment result corresponding to each touch key in the current period, including: Based on the touch sensing deviation values corresponding to the touch keys, determining a plurality of target touch keys corresponding to the maximum touch sensing deviation value among the touch keys; In the tightened key release rule, the average of the touch sensing deviation values of each target touch key is used as the initial key release threshold compensation amount corresponding to each touch key; Based on the physical distribution characteristics and usage characteristics of each touch key, the initial key release threshold compensation amount corresponding to each touch key is adjusted to obtain the target key release threshold compensation amount corresponding to each touch key; Based on the target key release threshold compensation amount corresponding to each touch key, the key release threshold of each touch key in the touch key integrated device that is in a strong electromagnetic radiation interference environment in the current period is compensated to obtain the key release threshold adjustment result corresponding to each touch key in the current period.
5. The method according to claim 4, characterized in that After adjusting the initial key release threshold compensation amount corresponding to each touch key based on the physical distribution characteristics and usage characteristics of each touch key to obtain the target key release threshold compensation amount corresponding to each touch key, the method further includes: Determining, based on environmental characteristics of a strong electromagnetic radiation interference environment, interference fluctuation trends and interference fluctuation correlations of individual touch keys in a touch key integrated device that is in the strong electromagnetic radiation interference environment during a current period; Based on the interference fluctuation trend and interference fluctuation correlation of each touch key, the trigger event type that triggers the interference fluctuation of each touch key is identified, and based on the trigger event type, the adaptive fluctuation threshold that the touch channel of each touch key is matched to is determined; Based on the adaptive fluctuation threshold matched to the touch channel of each touch key, the target key output threshold compensation amount corresponding to each touch key is adjusted to obtain the adjusted target key output threshold compensation amount corresponding to each touch key, which is used to adjust the key output threshold of each touch key in a touch key integrated device that is in a strong electromagnetic radiation interference environment during the current period.
6. The method according to claim 1, characterized in that After acquiring the touch sensing data inputted through the plurality of touch keys in the current time period, the method further includes: Acquire a three-dimensional electromagnetic simulation model pre-constructed based on the circuit layout of the touch key integrated device; Based on the internal electromagnetic field environment determined by the processing logic and physical space layout of each component in the three-dimensional electromagnetic simulation model, the touch sensing data is calibrated to obtain calibrated touch sensing data, which is used to compare with the touch sensing reference value corresponding to each touch key and obtain the touch sensing deviation value corresponding to each touch key.
7. The method according to claim 6, characterized in that Before obtaining the three-dimensional electromagnetic simulation model pre-built based on the circuit layout of the touch key integrated device, the method further includes: Based on the circuit layout relationship between the microcontroller unit and the anti-interference resistor in the touch key integrated device, the anti-interference structure network formed by the anti-interference resistor is analyzed and a microcontroller signal interference conduction model is constructed; Based on the circuit layout relationship between the touch buttons and the touch button wiring in the touch button integrated device, a spatial sensing capacitance path formed between the touch buttons and the touch button wiring is analyzed and a spatial sensing capacitance distribution model is constructed; The micro-control signal interference conduction model and the spatial induction capacitance distribution model are integrated to obtain a three-dimensional electromagnetic simulation model constructed based on the circuit layout of the touch key integrated device.
8. A touch key anti-electromagnetic radiation interference device, characterized in that: A touch key integrated device is applied to a preset device, the device comprising a touch-sensing microcontroller unit, a plurality of touch keys, and a plurality of anti-interference resistors arranged adjacent to the microcontroller unit, wherein the plurality of touch keys are respectively connected to the input ends of different anti-interference resistors via different touch key traces arranged at equal intervals, and the output ends of the different anti-interference resistors are respectively connected to the input end of the microcontroller unit; The device comprises: an acquisition module, configured to acquire touch sensing data inputted through the plurality of touch keys in a current period; a calculation module, configured to determine a touch sensing reference value corresponding to each touch key, and obtain a touch sensing deviation value corresponding to each touch key based on a difference between the touch sensing reference value corresponding to each touch key and the touch sensing data; a determination module, configured to obtain a statistical result of interference intensity in a current period based on the touch sensing deviation value corresponding to each touch key, and if the statistical result of interference intensity meets a preset strong electromagnetic radiation interference determination condition, it indicates that the touch key integrated device is in a strong electromagnetic radiation interference environment in the current period; An adjustment module is used to adjust the key output threshold of each touch key in a touch key integrated device that is in a strong electromagnetic radiation interference environment during a current period based on a preset tightened key output rule, and obtain the key output threshold adjustment result corresponding to each touch key in the current period. The key output threshold adjustment result is used to ensure that each touch key in the touch key integrated device that is in a strong electromagnetic radiation interference environment during the current period stably receives input data under the condition of filtering out data fluctuations caused by electromagnetic radiation interference.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Touch calibration method and system for touch display screen
CN121349321A
Method for adjusting touch sensitivity of touch screen, electronic equipment, touch device and clothes processing equipment
CN121857997A