Touch response control methods and touch display devices
Patent Information
- Application Number
- CN202611081115.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-21
- Publication Date
- 2026-08-18
AI Technical Summary
[0004]本申请提供了一种触控响应的控制方法与触控显示设备,以解决上述高刷新率或刷新率变化下触控响应易受边沿噪声及感应扰动影响的技术问题
本申请提供一种触控响应的控制方法,包括:获取触控显示设备的显示行同步信号以及当前显示刷新状态,其中,显示行同步信号用于表征显示行扫描时序;对显示行同步信号进行边沿检测,确定显示行同步信号的边沿变化信息;根据当前显示刷新状态确定时序屏蔽参数,并按照时序屏蔽参数对与边沿变化信息对应的触控传输时段进行屏蔽控制,确定与当前显示刷新状态对应的触控采样窗口;在触控采样窗口内开启触控信号传输通道,并通过触控信号传输通道采集触控感应信号;对触控感应信号对应的感应电容变化量进行有效性判定,并根据判定结果生成触控响应控制结果,其中,触控响应控制结果用于指示允许或屏蔽触控感应信号对应的触控响应。通过先对显示行同步信号进行边沿检测,确定容易受噪声影响的边沿时段,再结合当前显示刷新状态确定时序屏蔽参数,对对应触控传输时段进行屏蔽,形成适配高刷新率或刷新率变化的触控采样窗口,接着仅在该窗口内采集触控感应信号,并对感应电容变化量进行有效性判定,以屏蔽边沿噪声或无效感应扰动引起的触控响应,解决了高刷新率或刷新率变化下触控响应易受边沿噪声及感应扰动影响的问题。
Smart Images

Figure CN122593653A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of touch display technology, and in particular to a touch response control method and a touch display device. Background Technology
[0002] As the refresh rate of touch display devices increases, the period of the horizontal sync signal shortens, and the switching frequency of the rising and falling edges of Hsync increases, making it easier for coupling noise to be generated near the edges. In horizontal sync gating touch solutions, touch signals are usually transmitted according to the timing of the horizontal sync signal. When the refresh rate increases further, the impact of edge noise of the horizontal sync signal within a horizontal sync cycle becomes more significant, easily interfering with the touch sampling process and leading to a decrease in the touch signal-to-noise ratio. In dynamic refresh rate (VRR) scenarios, real-time switching of the refresh rate can also change the matching relationship between touch sampling timing and noise distribution, further causing touch defects such as missed touches and ghost points.
[0003] Therefore, touch response at high refresh rates or with varying refresh rates is susceptible to edge noise and sensor disturbances, which is a technical problem that needs to be solved. Summary of the Invention
[0004] This application provides a touch response control method and a touch display device to solve the technical problem that touch response is easily affected by edge noise and induction disturbance under high refresh rate or refresh rate changes.
[0005] According to one aspect of the embodiments of this application, this application provides a touch response control method, including: acquiring a display row synchronization signal and a current display refresh state of a touch display device, wherein the display row synchronization signal is used to characterize the display row scanning timing; performing edge detection on the display row synchronization signal to determine edge change information of the display row synchronization signal; determining timing masking parameters according to the current display refresh state, and performing masking control on the touch transmission period corresponding to the edge change information according to the timing masking parameters, and determining a touch sampling window corresponding to the current display refresh state; opening a touch signal transmission channel within the touch sampling window, and acquiring touch sensing signals through the touch signal transmission channel; determining the validity of the change in sensing capacitance corresponding to the touch sensing signal, and generating a touch response control result based on the determination result, wherein the touch response control result is used to indicate whether to allow or block the touch response corresponding to the touch sensing signal.
[0006] Optionally, edge detection is performed on the display line synchronization signal to determine the edge change information of the display line synchronization signal, including: delaying the display line synchronization signal according to a preset clock to obtain a delayed line synchronization signal; performing logical operations based on the display line synchronization signal and the delayed line synchronization signal to obtain the rising edge detection result and the falling edge detection result of the display line synchronization signal; and generating edge change information based on the rising edge detection result and the falling edge detection result.
[0007] Optionally, determining timing masking parameters based on the current display refresh state includes: obtaining the correspondence between multiple refresh rate intervals and multiple preset counting thresholds; matching the current display refresh state with multiple refresh rate intervals to determine a target refresh rate interval; selecting a target counting threshold corresponding to the target refresh rate interval from multiple preset counting thresholds, and using the target counting threshold as a timing masking parameter.
[0008] Optionally, the touch transmission period corresponding to the edge change information is masked according to the timing masking parameters, and the touch sampling window corresponding to the current display refresh state is determined, including: responding to the rising edge detection result in the edge change information, starting a rising edge counter to count, and responding to the falling edge detection result in the edge change information, starting a falling edge counter to count; comparing the first count value of the rising edge counter and the second count value of the falling edge counter with a target counting threshold respectively to obtain a rising edge count comparison result and a falling edge count comparison result, wherein the timing masking parameters include the target counting threshold; when the rising edge count comparison result indicates that the first count value is greater than the target counting threshold, and the falling edge count comparison result indicates that the second count value is greater than the target counting threshold, the masking control of the touch transmission period is released, and the touch sampling window is determined.
[0009] Optionally, the first count value of the rising edge counter and the second count value of the falling edge counter are compared with the target counting threshold to obtain the rising edge count comparison result and the falling edge count comparison result, including: configuring the first count value of the rising edge counter, the second count value of the falling edge counter, and the target counting threshold as four-bit count data; comparing the corresponding bits of the four-bit count data of the first count value with the corresponding bits of the four-bit count data of the target counting threshold to obtain the first-bit comparison result for each bit, and comparing the corresponding bits of the four-bit count data of the second count value with the corresponding bits of the four-bit count data of the target counting threshold to obtain the second-bit comparison result for each bit; combining and judging the first-bit comparison results of the first count value and the target counting threshold in the order of comparison from high bit to low bit to obtain the rising edge count comparison result, and combining and judging the second-bit comparison results of the second count value and the target counting threshold to obtain the falling edge count comparison result.
[0010] Optionally, the comparison results of each first bit corresponding to the first count value and the target count threshold are combined and judged according to the comparison order from high bit to low bit to obtain the rising edge count comparison result, including: if the first bit comparison result corresponding to the current bit is that the bit is greater than the result, then the first count value is determined to be greater than the target count threshold, and the comparison of subsequent bits is stopped; if the first bit comparison result corresponding to the current bit is that the bit is less than the result, then the first count value is determined to be less than the target count threshold, and the comparison of subsequent bits is stopped; if the first bit comparison result corresponding to the current bit is that the bit is equal to the result, then the next bit is judged; if the first bit comparison results corresponding to each bit are all equal to the result, then the first count value is determined to be equal to the target count threshold.
[0011] Optionally, a touch signal transmission channel is opened within the touch sampling window, and touch sensing signals are acquired through the touch signal transmission channel, including: controlling the touch signal transmission channel to be in a conducting state within the touch sampling window; transmitting touch driving signals through the touch signal transmission channel in the conducting state; acquiring the change in sensing capacitance based on the transmitted touch driving signal, and generating touch sensing signals based on the change in sensing capacitance.
[0012] Optionally, the validity of the change in sensing capacitance corresponding to the touch sensing signal is determined, and a touch response control result is generated based on the determination result, including: converting the change in sensing capacitance corresponding to the touch sensing signal into a voltage characterization value; comparing the voltage characterization value with an upper voltage threshold and a lower voltage threshold respectively to obtain a voltage change determination result; determining whether the change in sensing capacitance meets the preset touch triggering condition based on the voltage change determination result, and generating a touch response control result based on the determination result.
[0013] Optionally, the voltage characterization value is compared with the upper voltage threshold and the lower voltage threshold respectively to obtain the voltage change determination result, including: obtaining the current voltage characterization value corresponding to the current sampling period and the historical voltage characterization value corresponding to the previous sampling period; generating a trigger flip determination result when the historical voltage characterization value is lower than the lower voltage threshold and the current voltage characterization value is higher than the upper voltage threshold; and generating a reset flip determination result when the historical voltage characterization value is higher than the upper voltage threshold and the current voltage characterization value is lower than the lower voltage threshold.
[0014] According to another aspect of the embodiments of this application, this application provides a touch display device, including: a horizontal synchronization signal noise suppression circuit, a touch signal transmission channel, a touch sensing terminal, a touch detection noise suppression circuit, and a touch detection unit; the horizontal synchronization signal noise suppression circuit is used to acquire the display horizontal synchronization signal and the current display refresh state, perform edge detection on the display horizontal synchronization signal, determine the edge change information of the display horizontal synchronization signal, and determine the touch sampling window based on the current display refresh state and the edge change information; the touch signal transmission channel is used to conduct within the touch sampling window so that the touch driving signal is transmitted to the touch sensing terminal, and the touch sensing terminal generates a touch sensing signal; the touch detection noise suppression circuit is connected between the touch sensing terminal and the touch detection unit, and is used to determine the validity of the change in sensing capacitance corresponding to the touch sensing signal, and output a touch response control result to the touch detection unit based on the determination result; the touch detection unit is used to allow or block the touch response corresponding to the touch sensing signal based on the touch response control result.
[0015] Compared with related technologies, the technical solutions provided in this application have the following advantages: This application provides a touch response control method, comprising: acquiring a display row synchronization signal and a current display refresh state of a touch display device, wherein the display row synchronization signal is used to characterize the display row scanning timing; performing edge detection on the display row synchronization signal to determine edge change information of the display row synchronization signal; determining timing masking parameters according to the current display refresh state, and performing masking control on the touch transmission period corresponding to the edge change information according to the timing masking parameters, and determining a touch sampling window corresponding to the current display refresh state; opening a touch signal transmission channel within the touch sampling window, and acquiring touch sensing signals through the touch signal transmission channel; determining the validity of the change in sensing capacitance corresponding to the touch sensing signal, and generating a touch response control result based on the determination result, wherein the touch response control result is used to indicate whether to allow or block the touch response corresponding to the touch sensing signal. By first performing edge detection on the display horizontal synchronization signal to determine the edge periods that are easily affected by noise, and then determining the timing masking parameters in conjunction with the current display refresh status, the corresponding touch transmission periods are masked, forming a touch sampling window adapted to high refresh rates or refresh rate changes. Then, touch sensing signals are collected only within this window, and the validity of the change in sensing capacitance is determined to shield the touch response caused by edge noise or invalid sensing disturbances. This solves the problem that touch response is easily affected by edge noise and sensing disturbances under high refresh rates or refresh rate changes. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart of an optional touch response control method provided according to an embodiment of this application; Figure 2 This is a flowchart of an optional Hsync noise suppression process provided according to an embodiment of this application; Figure 3 This is a schematic diagram of an optional touch detection noise suppression circuit according to an embodiment of this application; Figure 4 This is a schematic diagram illustrating the composition of an optional touch display device according to an embodiment of this application; Figure 5 This is a schematic diagram of the overall architecture of an optional touch response control system provided according to an embodiment of this application.
[0019] Reference numerals: First resistor - R1; Second resistor - R2; Third resistor - R3; Fourth resistor - R4; Fifth resistor - R5; Sixth resistor - R6; Seventh resistor - R7; Eighth resistor - R8; Ninth resistor - R9; Tenth resistor - R10; Eleventh resistor - R11; Twelfth resistor - R12; Thirteenth resistor - R13; First transistor - T1; Second transistor - T2; Third transistor - T3; Fourth transistor - T4; Fifth transistor - T5; Sixth transistor - T6; Diode - D; First capacitor - C1; Second capacitor - C2; Touch sensor terminal - TE; Touch detection unit - TSU; Power supply terminal - VCC; Upper limit voltage threshold terminal - V+; Lower limit voltage threshold terminal - V-. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustration and has no specific meaning in itself. Therefore, "module" and "part" may be used interchangeably.
[0022] As the refresh rate of touch display devices increases, the period of the horizontal sync signal shortens, and the switching frequency of the Hsync rising and falling edges increases, making it easier for coupling noise to be generated near the edges. In horizontal sync gating touch solutions, touch signals are usually transmitted according to the timing of the horizontal sync signal. When the refresh rate increases further, the impact of edge noise of the horizontal sync signal within a horizontal sync cycle becomes more significant, easily interfering with the touch sampling process and leading to a decrease in the touch signal-to-noise ratio. In dynamic refresh rate scenarios, real-time refresh rate switching can also change the matching relationship between touch sampling timing and noise distribution, further causing touch defects such as missed touches and ghost points.
[0023] Therefore, touch response at high refresh rates or with varying refresh rates is susceptible to edge noise and sensor disturbances, which is a technical problem that needs to be solved.
[0024] To address the problems mentioned in the background art, according to one aspect of the embodiments of this application, a touch response control method is provided, applicable to touch display scenarios involving the coordinated control of display row synchronization signals and touch signals.
[0025] Figure 1 The flowchart of a touch response control method according to an embodiment of this application is shown in the figure. The specific steps include: Step 101: Obtain the display row synchronization signal and the current display refresh status of the touch display device, wherein the display row synchronization signal is used to characterize the display row scanning timing; Step 102: Perform edge detection on the display line synchronization signal to determine the edge change information of the display line synchronization signal; Step 103: Determine the timing masking parameters based on the current display refresh state, and perform masking control on the touch transmission period corresponding to the edge change information according to the timing masking parameters, and determine the touch sampling window corresponding to the current display refresh state; Step 104: Open the touch signal transmission channel within the touch sampling window, and collect touch sensing signals through the touch signal transmission channel; Step 105: Determine the validity of the change in sensing capacitance corresponding to the touch sensing signal, and generate a touch response control result based on the determination result. The touch response control result is used to indicate whether to enable or disable the touch response corresponding to the touch sensing signal.
[0026] The display line synchronization signal is used to characterize the display line scanning timing. The display line synchronization signal involved in this application is the Hsync signal generated by the touch display device during the line scanning process. The current display refresh state can be the refresh rate state currently running on the touch display device, such as 60Hz, 90Hz, 120Hz, etc., or it can be the refresh rate range state.
[0027] For example, when the touch display device is running in dynamic refresh rate mode, the display refresh rate may switch between different frames, and the current display refresh status can be obtained in each frame or in each preset detection cycle.
[0028] Edge change information is used to characterize level transitions in the display horizontal sync signal. Edge change information can include the detection result of the display horizontal sync signal changing from a low level to a high level, or it can include the detection result of the display horizontal sync signal changing from a high level to a low level. The edge change information can be used to determine the edge position of the display horizontal sync signal within the horizontal scan cycle.
[0029] Timing masking parameters are used to limit the masking duration, counting threshold, or masking conditions for touch signal transmission. The touch transmission period is the timing interval during which touch driving signals or touch sensing signals are allowed to transmit. The touch transmission period corresponding to edge change information is the touch signal transmission interval before and after the edge change of the display line synchronization signal.
[0030] The touch signal transmission channel is a channel used to transmit touch driving signals or touch sensing signals. The touch sensing signal is the sensing signal generated by the touch sensing end under the action of the touch driving signal. The touch sensing signal can be used to characterize the capacitance change caused by touch action.
[0031] The change in capacitance is the change in capacitance caused by the touch action. Touch response control results can be used to indicate whether touch response is allowed or disabled. Allowing touch response means that the touch sensing signal is transmitted as a valid touch signal to the Touch Sensing Unit (TSU), while disabling touch response means that the corresponding touch sensing signal is not processed as a valid touch signal.
[0032] This application's embodiments determine timing masking parameters based on the current display refresh state and determine the touch sampling window based on the edge change information of the display row synchronization signal, thus matching the touch signal transmission with the display row scanning timing. Simultaneously, by validating the change in sensing capacitance corresponding to the touch sensing signal, false touch responses caused by edge noise or slight disturbances can be reduced.
[0033] As an optional embodiment, edge detection is performed on the display line synchronization signal to determine the edge change information of the display line synchronization signal, including: delaying the display line synchronization signal according to a preset clock to obtain a delayed line synchronization signal; performing logical operations based on the display line synchronization signal and the delayed line synchronization signal to obtain the rising edge detection result and the falling edge detection result of the display line synchronization signal; and generating edge change information based on the rising edge detection result and the falling edge detection result.
[0034] The preset clock is the clock signal used for sampling and displaying the horizontal synchronization signal.
[0035] The delayed line synchronization signal is a synchronization signal obtained by delaying the display line synchronization signal by one clock cycle or a preset number of clock cycles.
[0036] Optionally, the display horizontal synchronization signal is input to the input terminal of a flip-flop, and the flip-flop is triggered to output a delayed horizontal synchronization signal via a preset clock. For example, the display horizontal synchronization signal can be labeled as hsync, and the delayed horizontal synchronization signal can be labeled as hsync_d, where hsync_d represents the level state of hsync in the previous clock cycle.
[0037] The rising edge detection result is used to characterize whether the display horizontal synchronization signal changes from low level to high level, and the falling edge detection result is used to characterize whether the display horizontal synchronization signal changes from high level to low level.
[0038] Specifically, the delayed line synchronization signal is inverted, and the rising edge detection result is obtained based on the displayed line synchronization signal and the inverted delayed line synchronization signal; the displayed line synchronization signal is also inverted, and the falling edge detection result is obtained based on the inverted displayed line synchronization signal and the delayed line synchronization signal. For example, the rising edge detection result can be obtained by performing a logical AND operation between hsync and the inverted hsync_d; the falling edge detection result can be obtained by performing a logical AND operation between the inverted hsync and hsync_d.
[0039] Edge change information includes rising edge detection results and falling edge detection results, and may also include the timing information corresponding to the rising edge detection results and the timing information corresponding to the falling edge detection results.
[0040] Specifically, when the rising edge detection result is valid, the rising edge change time of the horizontal synchronization signal is recorded and displayed; when the falling edge detection result is valid, the falling edge change time of the horizontal synchronization signal is recorded and displayed; edge change information is generated based on the rising edge change time and the falling edge change time.
[0041] By delaying and performing logical operations on the display line synchronization signal, edge change information can be obtained without changing the original timing of the display line synchronization signal, providing a basis for determining the touch sampling window.
[0042] As an optional embodiment, determining timing masking parameters based on the current display refresh state includes: obtaining the correspondence between multiple refresh rate intervals and multiple preset counting thresholds; matching the current display refresh state with the multiple refresh rate intervals to determine a target refresh rate interval; selecting a target counting threshold corresponding to the target refresh rate interval from the multiple preset counting thresholds, and using the target counting threshold as a timing masking parameter.
[0043] The refresh rate range is defined by dividing the display refresh rate range. The preset counting threshold is a counting threshold used to control the shielding range during touch transmission periods; different refresh rate ranges can correspond to different preset counting thresholds.
[0044] Specifically, the correspondence between refresh rate ranges and preset counting thresholds is pre-stored in the touch control circuit. For example, multiple refresh rate ranges may include: [10Hz to 20Hz), [20Hz, 60Hz), [60Hz, 90Hz), and [90Hz, 120Hz], and the corresponding preset counting thresholds can be denoted as Y1, Y2, Y3, and Y4, respectively. The higher the current display refresh rate, the shorter the display line synchronization signal period, and the touch transmission shielding control can use the preset counting threshold under the corresponding refresh rate range.
[0045] The target refresh rate range is the refresh rate range to which the current display refresh rate belongs in the current display refresh state.
[0046] The timing masking parameters include the target count threshold, which is the threshold used in the counter comparison below.
[0047] Specifically, the process involves querying the correspondence between the target refresh rate range and the expected count threshold; using the queried preset count threshold as the target count threshold; and writing the target count threshold into a threshold storage unit for comparison. For example, when the target refresh rate range is [60Hz, 90Hz), the corresponding Y3 can be determined as the target count threshold.
[0048] By determining the target counting threshold according to the refresh rate range, the timing masking parameter can be made to change with the current display refresh state, so that the subsequently determined touch sampling window corresponds to the current display refresh state.
[0049] As an optional embodiment, the touch transmission period corresponding to the edge change information is shielded according to the timing shielding parameters, and the touch sampling window corresponding to the current display refresh state is determined. This includes: responding to the rising edge detection result in the edge change information, starting a rising edge counter to count, and responding to the falling edge detection result in the edge change information, starting a falling edge counter to count; comparing the first count value of the rising edge counter and the second count value of the falling edge counter with a target counting threshold respectively to obtain a rising edge count comparison result and a falling edge count comparison result, wherein the timing shielding parameters include the target counting threshold; when the rising edge count comparison result indicates that the first count value is greater than the target counting threshold, and the falling edge count comparison result indicates that the second count value is greater than the target counting threshold, the shielding control of the touch transmission period is released, and the touch sampling window is determined.
[0050] The rising edge counter is used to count the clock count that has elapsed since the rising edge detection result is valid, and the falling edge counter is used to count the clock count that has elapsed since the falling edge detection result is valid.
[0051] The first count value is the current count value output by the rising edge counter, and the second count value is the current count value output by the falling edge counter.
[0052] Specifically, when the rising edge detection result is valid, the rising edge counter starts counting from its initial value; when the falling edge detection result is valid, the falling edge counter starts counting from its initial value. For example, after the display horizontal sync signal undergoes a rising edge change, the rising edge counter starts accumulating clockwise; after the display horizontal sync signal undergoes a falling edge change, the falling edge counter starts accumulating clockwise.
[0053] The rising edge count comparison result is used to characterize the relationship between the first count value and the target count threshold, and the falling edge count comparison result is used to characterize the relationship between the second count value and the target count threshold.
[0054] Specifically, within each counting cycle, a first count value and a second count value are read respectively; the first count value is compared with a target counting threshold to obtain a rising edge count comparison result; the second count value is compared with the target counting threshold to obtain a falling edge count comparison result. For example, when the first count value is greater than the target counting threshold, it can be considered that the touch transmission shielding condition corresponding to the rising edge has been met; when the second count value is greater than the target counting threshold, it can be considered that the touch transmission shielding condition corresponding to the falling edge has been met.
[0055] Removing the shielding control for the touch transmission period allows touch signals to be transmitted in subsequent time intervals. The touch sampling window is the touch signal acquisition interval determined after both the first and second count values meet the threshold condition.
[0056] Specifically, when both the first count value and the second count value are greater than the target count threshold, a control signal is output to allow touch signal transmission; the timing interval for allowing touch signal transmission is defined as the touch sampling window; after the touch sampling window ends, the corresponding counter is cleared or waits for the next edge detection. This allows the touch signal to be transmitted during the stable phase of the display line synchronization signal.
[0057] Figure 2 This is a flowchart of an Hsync noise suppression process provided in an embodiment of this application. As shown in the figure, after the Hsync noise suppression process begins, Hsync trigger detection is first performed to detect whether the display line synchronization signal has undergone edge changes. If an Hsync trigger event is detected, the Positive counter is incremented by 1 when a rising edge is detected, and the Negative counter is incremented by 1 when a falling edge is detected. The Positive counter is used to record the count value corresponding to the rising edge of the Hsync, and the Negative counter is used to record the count value corresponding to the falling edge of the Hsync. Subsequently, the count values of both counters are compared with a preset threshold V (corresponding to the target counting threshold of this application) to determine whether the counter count value is greater than the preset threshold V. If the determination result is N (no), the process returns to continue the Hsync trigger detection and counter incrementing process. If the determination result is Y (yes), touch signal transmission is enabled, allowing the touch driving signal to be transmitted within the corresponding touch sampling window. After touch signal transmission is enabled, the counter value is set to 0 so that it can be recounted for the next Hsync trigger detection, and then the current Hsync noise suppression process ends. Through the above process, the touch transmission shielding state can be maintained when the count value does not exceed the preset threshold V, and the touch signal transmission can be enabled after the count value exceeds the preset threshold V.
[0058] By detecting the rising and falling edges of the display horizontal synchronization signal separately and counting and comparing them separately, the touch sampling window can be determined based on the timing relationship of both edges, so that the touch sampling window matches the current display refresh state.
[0059] As an optional embodiment, the first count value of the rising edge counter and the second count value of the falling edge counter are compared with a target counting threshold to obtain rising edge count comparison results and falling edge count comparison results, including: configuring the first count value of the rising edge counter, the second count value of the falling edge counter, and the target counting threshold as four-bit count data; comparing the corresponding bits of the four-bit count data of the first count value with the corresponding bits of the four-bit count data of the target counting threshold to obtain a first-bit comparison result for each bit, and comparing the corresponding bits of the four-bit count data of the second count value with the corresponding bits of the four-bit count data of the target counting threshold to obtain a second-bit comparison result for each bit; combining and judging the first-bit comparison results of the first count value and the target counting threshold in the order of comparison from high bit to low bit to obtain a rising edge count comparison result, and combining and judging the second-bit comparison results of the second count value and the target counting threshold to obtain a falling edge count comparison result.
[0060] The four-bit count data consists of four data bits arranged from least significant bit to most significant bit. The four-bit count data for the first count value includes each data bit corresponding to the first count value, the four-bit count data for the second count value includes each data bit corresponding to the second count value, and the four-bit count data for the target count threshold includes each data bit corresponding to the target count threshold.
[0061] For example, the first count value is configured as P0, P1, P2 and P3, the second count value is configured as N0, N1, N2 and N3, and the target count threshold is configured as C0, C1, C2 and C3, where P3, N3 and C3 can be high bits, and P0, N0 and C0 can be low bits.
[0062] The current position comparison result is used to characterize the size relationship between the count value bit and the threshold bit at the same position. The current position comparison result can include the current position being greater than the result, the current position being equal to the result, and the current position being less than the result.
[0063] Optionally, when a bit of the first count value is 1 and the corresponding bit of the target count threshold is 0, a result greater than the target count threshold is generated; when a bit of the first count value is the same as the corresponding bit of the target count threshold, a result equal to the target count threshold is generated; when a bit of the first count value is 0 and the corresponding bit of the target count threshold is 1, a result less than the target count threshold is generated. The corresponding bits of the second count value and the target count threshold can be compared in the same way.
[0064] Combined judgment can be performed by comprehensively judging the comparison results of each position according to the principle of high priority. The rising edge count comparison result can be used to indicate that the first count value is greater than, equal to or less than the target count threshold, and the falling edge count comparison result can be used to indicate that the second count value is greater than, equal to or less than the target count threshold.
[0065] Specifically, first determine the comparison result of the higher-order digit; if the higher-order digit can determine the overall size relationship, then the lower-order digit is no longer needed for judgment; if the higher-order digit is equal to the result, then continue to judge the next digit. For example, when the comparison result of the highest-order digit is that the digit is greater than the result, it can be directly determined that the count value is greater than the target count threshold; when the comparison result of the highest-order digit is that the digit is equal to the result, the next digit can be compared.
[0066] By comparing the four-bit count data in its original position and prioritizing the higher-order bits, a fast comparison between the count value and the target count threshold can be achieved using hardware comparison logic.
[0067] As an optional embodiment, the comparison results of each first bit corresponding to the first count value and the target count threshold are combined and judged according to the comparison order from the most significant bit to the least significant bit to obtain the rising edge count comparison result, including: if the first bit comparison result corresponding to the current bit is greater than the result, then the first count value is determined to be greater than the target count threshold, and the comparison of subsequent bits is stopped; if the first bit comparison result corresponding to the current bit is less than the result, then the first count value is determined to be less than the target count threshold, and the comparison of subsequent bits is stopped; if the first bit comparison result corresponding to the current bit is equal to the result, then the next bit is judged; if the first bit comparison results corresponding to each bit are all equal to the result, then the first count value is determined to be equal to the target count threshold.
[0068] The current bit can be the data bit being judged in the order of comparison from the most significant bit to the least significant bit. If the current bit is greater than the result, it means that the first count value of the current bit is greater than the corresponding bit of the target count threshold.
[0069] Starting from the highest bit, read the first bit comparison result. When the bit is greater than the result, directly output the rising edge comparison result of the first count value being greater than the target count threshold, and stop judging the subsequent lower bits.
[0070] The "this position is less than" result means that the first count value in the current position is less than the corresponding position of the target count threshold.
[0071] Starting from the highest bit, read the first bit comparison result. When the bit is less than the result, directly output the rising edge comparison result of the first count value being less than the target count threshold, and stop judging the subsequent lower bits.
[0072] The result indicates that the first count value in the current position is the same as the corresponding bit of the target count threshold.
[0073] When the first-order comparison result corresponding to the current position is equal to the result, maintain the judgment state that the overall size relationship has not yet been determined, and read the first-order comparison result corresponding to the next position.
[0074] Each bit being the local bit equals the result, which means that the four-bit count data of the first count value is exactly the same as the four-bit count data of the target count threshold.
[0075] Specifically, when each of the first-bit comparison results from the most significant bit to the least significant bit is equal to the result, the rising edge count comparison result of the first count value being equal to the target count threshold is output.
[0076] The falling edge count comparison result between the second count value and the target count threshold can also be obtained in the same way as described above.
[0077] By using a high-bit-priority combination judgment method, the judgment of subsequent bits can be stopped when the size relationship of the high bits has been determined, thereby quickly obtaining the rising edge count comparison result.
[0078] As an optional embodiment, a touch signal transmission channel is opened within the touch sampling window, and touch sensing signals are collected through the touch signal transmission channel, including: controlling the touch signal transmission channel to be in a conducting state within the touch sampling window; transmitting touch driving signals through the touch signal transmission channel in the conducting state; collecting the change in sensing capacitance based on the transmitted touch driving signal, and generating touch sensing signals based on the change in sensing capacitance.
[0079] The touch signal transmission channel is the signal channel through which touch driving signals are transmitted to the touch sensing terminal. The on state indicates that the touch signal transmission channel allows touch driving signals to pass through.
[0080] At the start of the touch sampling window, a control signal is output to control the conduction of the touch signal transmission channel; within the touch sampling window, the touch signal transmission channel remains on. The gating control signal can control the transmission of touch drive signals to the touch sensing terminal.
[0081] The touch drive signal is a drive signal used to activate the touch sensing terminal.
[0082] Touch driving signals are transmitted to the touch sensing terminal via a touch signal transmission channel that is in an on state. For example, touch driving signals can be output by the driving unit in the touch panel driver chip and transmitted to the touch sensing terminal under gating control.
[0083] The change in capacitance refers to the change in capacitance at the touch sensor caused by a user's touch, proximity, or touch action. The touch sensing signal is a touch signal generated based on the change in capacitance, which can be used for subsequent determination.
[0084] Specifically, after receiving a touch drive signal, the touch sensor generates a change in capacitance; the touch control circuit generates a touch sensing signal based on this change in capacitance; and the touch sensing signal is used as input for subsequent validity determination. For example, when there is no touch action or a slight touch, the change in capacitance is small; when a valid touch action occurs, the change in capacitance increases, and the voltage or frequency state corresponding to the touch sensing signal changes accordingly.
[0085] By enabling the touch signal transmission channel within the touch sampling window, the touch driving signal can participate in touch sensing acquisition only within the corresponding timing interval, thereby making the acquisition timing of the touch sensing signal correspond to the stable phase of the display line synchronization signal.
[0086] As an optional embodiment, the validity of the change in sensing capacitance corresponding to the touch sensing signal is determined, and a touch response control result is generated based on the determination result. This includes: converting the change in sensing capacitance corresponding to the touch sensing signal into a voltage characterization value; comparing the voltage characterization value with an upper voltage threshold and a lower voltage threshold respectively to obtain a voltage change determination result; determining whether the change in sensing capacitance meets the preset touch triggering condition based on the voltage change determination result, and generating a touch response control result based on the determination result.
[0087] The voltage characterization value is the voltage value used to characterize the magnitude of the change in induced capacitance.
[0088] The change in sensing capacitance and the baseline capacitance together constitute the total capacitance of the touch sensing end. The baseline capacitance can be the basic capacitance when there is no touch action.
[0089] A capacitance-to-voltage conversion circuit converts the change in sensed capacitance into a voltage value. For example, the change in sensed capacitance can be combined with the baseline capacitance to form the total capacitance, and the touch detection noise suppression circuit can generate a corresponding voltage value based on the change in total capacitance. When the change in sensed capacitance is small, the voltage value may not be sufficient to meet the effective touch triggering condition; when the change in sensed capacitance is large, the voltage value may meet the effective touch triggering condition.
[0090] The upper voltage threshold is the high voltage threshold used to determine when a toggle switch is triggered. The lower voltage threshold is the low voltage threshold used to determine when a reset switch is triggered.
[0091] Figure 3The schematic diagram of a touch detection noise suppression circuit provided in this application embodiment is shown in the figure. The touch detection noise suppression circuit includes a first resistor R1 to a thirteenth resistor R13 (respectively, first resistor R1, second resistor R2, third resistor R3, fourth resistor R4, fifth resistor R5, sixth resistor R6, seventh resistor R7, eighth resistor R8, ninth resistor R9, tenth resistor R10, eleventh resistor R11, twelfth resistor R12 and thirteenth resistor R13), a first transistor T1 to a sixth transistor T6 (respectively, first transistor T1, second transistor T2, third transistor T3, fourth transistor T4, fifth transistor T5 and sixth transistor T6), a diode D, a first capacitor C1, a second capacitor C2, a touch sensing terminal TE, a touch detection unit TSU, a power supply terminal VCC, an upper limit voltage threshold terminal V+ and a lower limit voltage threshold terminal V-. Among them, the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the first transistor T1, the second transistor T2, the third transistor T3, and the touch sensing terminal TE constitute the front-end sensing conversion circuit. The touch sensing terminal TE is used to generate the change in sensing capacitance ▲C corresponding to the touch action. The front-end sensing conversion circuit is used to generate the corresponding electrical signal based on the change in sensing capacitance ▲C.
[0092] Diode D is connected to the output side of the front-end induction conversion circuit. The fifth resistor R5, the first capacitor C1, and the sixth resistor R6 are located between diode D and the subsequent determination circuit. The fifth resistor R5 and the first capacitor C1 are used to filter the output signal of the front-end circuit, and the sixth resistor R6 is used to transmit the filtered voltage signal to the subsequent determination circuit.
[0093] The subsequent decision circuit includes a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourth transistor T4, a fifth transistor T5, a sixth transistor T6, and a second capacitor C2. The seventh resistor R7 and the eighth resistor R8 are connected to the fourth transistor T4 and connected to the upper limit voltage threshold terminal V+ and the lower limit voltage threshold terminal V-. The ninth resistor R9, the tenth resistor R10, and the eleventh resistor R11 are connected to the fifth transistor T5 to form a voltage reversal decision path with the fourth transistor T4. The sixth transistor T6 is connected to the output side of the fifth transistor T5. The twelfth resistor R12 is connected to the power supply terminal VCC. The thirteenth resistor R13 and the second capacitor C2 are connected to the output side of the sixth transistor T6 and grounded.
[0094] The touch detection unit TSU is connected to the output side of the sixth transistor T6 and is used to receive the touch response control result after being processed by the touch detection noise suppression circuit.
[0095] Through the above circuit, the change in sensing capacitance can be converted into a voltage characterization value. When the voltage characterization value meets the condition that it changes from the lower voltage threshold corresponding to the lower voltage threshold V- to the upper voltage threshold corresponding to the upper voltage threshold V+, or changes from the upper voltage threshold to the lower voltage threshold, a corresponding trigger flip-over judgment result or reset flip-over judgment result is generated for the touch detection unit to perform touch response judgment.
[0096] The voltage change determination result is used to characterize whether the voltage value has completed a low-to-high threshold change or a high-to-low threshold change. The voltage change determination result includes the trigger flip-flop determination result and the reset flip-flop determination result.
[0097] The preset touch trigger condition is used to determine whether the touch action corresponding to the change in sensing capacitance is a valid touch action.
[0098] Touch response control results include the result of enabling touch response or the result of disabling touch response.
[0099] When the voltage change determination result is a trigger flip-over determination result, it is determined that the change in the sensing capacitance meets the preset touch trigger condition, and a touch response control result is generated to allow touch response. When the voltage change determination result does not meet the trigger flip-over condition, it is determined that the change in the sensing capacitance does not meet the preset touch trigger condition, and a touch response control result is generated to block touch response. For example, when there is no touch action or only a slight touch, the change in sensing capacitance is small, and the corresponding touch response can be blocked; when a valid touch action occurs, the change in sensing capacitance is large, and the corresponding touch response can be allowed.
[0100] By converting the change in sensing capacitance into a voltage value and comparing it with upper and lower thresholds, the touch sensing signal can be re-evaluated, reducing the chance of small disturbances being identified as valid touch actions.
[0101] As an optional embodiment, the voltage characterization value is compared with the upper voltage threshold and the lower voltage threshold respectively to obtain the voltage change determination result, including: obtaining the current voltage characterization value corresponding to the current sampling period and the historical voltage characterization value corresponding to the previous sampling period; generating a trigger flip determination result when the historical voltage characterization value is lower than the lower voltage threshold and the current voltage characterization value is higher than the upper voltage threshold; and generating a reset flip determination result when the historical voltage characterization value is higher than the upper voltage threshold and the current voltage characterization value is lower than the lower voltage threshold.
[0102] The current sampling period is the sampling period used to determine the touch sensing signal. The previous sampling period is the sampling period preceding the current sampling period. The current voltage value is the voltage value corresponding to the current sampling period, and the historical voltage value is the voltage value corresponding to the previous sampling period.
[0103] The current voltage value output by the capacitor-to-voltage conversion circuit is read during the current sampling period; the historical voltage value recorded in the previous sampling period is read from the storage unit or status register. By simultaneously acquiring the current voltage value and the historical voltage value, it can be determined whether the voltage has changed across a threshold.
[0104] The trigger flip result can indicate that the voltage characterization value has completed a threshold change from a low voltage state to a high voltage state.
[0105] Specifically, the historical voltage rating is compared with the lower voltage threshold, and the current voltage rating is compared with the upper voltage threshold. If the historical voltage rating is lower than the lower voltage threshold and the current voltage rating is higher than the upper voltage threshold, a trigger flip-over determination result is generated. For example, when the change in the sensing capacitance gradually increases from a small disturbance to a valid touch action, the voltage rating may change from below the lower voltage threshold to above the upper voltage threshold, which can trigger the subsequent touch response determination.
[0106] The reset and flip result can indicate that the voltage characterization value has completed the threshold change from a high voltage state to a low voltage state.
[0107] Specifically, the historical voltage rating is compared with the upper voltage threshold, and the current voltage rating is compared with the lower voltage threshold. If the historical voltage rating is higher than the upper voltage threshold and the current voltage rating is lower than the lower voltage threshold, a reset / flip judgment result is generated. For example, after a valid touch action ends, the change in sensing capacitance decreases, and the voltage rating may drop from above the upper voltage threshold to below the lower voltage threshold. In this case, the touch response judgment state can be reset.
[0108] By comparing the current voltage value and the historical voltage value together with the upper and lower thresholds, a hysteresis-based voltage change judgment logic can be formed, avoiding repeated triggering or resetting when the voltage value fluctuates slightly near the threshold.
[0109] This application provides a touch response control method, comprising: acquiring a display row synchronization signal and a current display refresh state of a touch display device, wherein the display row synchronization signal is used to characterize the display row scanning timing; performing edge detection on the display row synchronization signal to determine edge change information of the display row synchronization signal; determining timing masking parameters according to the current display refresh state, and performing masking control on the touch transmission period corresponding to the edge change information according to the timing masking parameters, and determining a touch sampling window corresponding to the current display refresh state; opening a touch signal transmission channel within the touch sampling window, and acquiring touch sensing signals through the touch signal transmission channel; determining the validity of the change in sensing capacitance corresponding to the touch sensing signal, and generating a touch response control result based on the determination result, wherein the touch response control result is used to indicate whether to allow or block the touch response corresponding to the touch sensing signal. By first performing edge detection on the display horizontal synchronization signal to determine the edge periods that are easily affected by noise, and then determining the timing masking parameters in conjunction with the current display refresh status, the corresponding touch transmission periods are masked, forming a touch sampling window adapted to high refresh rates or refresh rate changes. Then, touch sensing signals are collected only within this window, and the validity of the change in sensing capacitance is determined to shield the touch response caused by edge noise or invalid sensing disturbances. This solves the problem that touch response is easily affected by edge noise and sensing disturbances under high refresh rates or refresh rate changes.
[0110] In another embodiment, after generating the touch response control result based on the determination result, the following steps may be included: calculating the signal-to-noise ratio (SNR) corresponding to the current touch sampling based on the effective touch signal strength and the screen coupling noise strength; comparing the SNR with a preset SNR range to obtain the SNR calibration result; updating the timing masking parameters and / or the sampling gain corresponding to the touch sampling window based on the SNR calibration result, and using the updated timing masking parameters for determining the next touch sampling window.
[0111] Effective touch signal strength is the touch sensing signal strength that is determined to be an effective touch during the current touch sampling process. Screen coupling noise strength is the noise intensity caused by display row synchronization signal switching, display driving, or screen coupling on the touch sensing signal.
[0112] Alternatively, the signal-to-noise ratio (SNR) for the current touch sample can be calculated as: SNR = Effective touch signal strength / Screen coupling noise strength. The SNR characterizes the relative strength of the touch signal within the current touch sampling window compared to the screen coupling noise.
[0113] The preset signal-to-noise ratio range can be a pre-set stable range for touch sampling, used to determine whether the current touch sampling meets the signal quality requirements.
[0114] Optionally, if the signal-to-noise ratio (SNR) is lower than the lower limit of the preset SNR range, the SNR calibration result is determined to require calibration; if the SNR is within the preset SNR range, the SNR calibration result is determined to maintain the current parameters; if the SNR is higher than the upper limit of the preset SNR range, the current touch sampling is determined to meet the signal quality requirements.
[0115] Timing shielding parameters can be used to control the shielding range of the touch transmission period near the edge of the display line synchronization signal, and sampling gain can be used to adjust the sampling amplification of the touch sensing signal.
[0116] Optionally, if the signal-to-noise ratio (SNR) calibration result indicates that calibration is required, the target count threshold corresponding to the timing masking parameter is increased to prolong the masking period for touch transmission near the edge of the display row synchronization signal; and / or, the sampling gain corresponding to the touch sampling window is fine-tuned to ensure that the touch sensing signal corresponding to the next touch sampling is within a preset SNR range. If the SNR calibration result indicates that the current parameters should be maintained, the current timing masking parameter and the current sampling gain are kept unchanged. The updated timing masking parameter can be written to the threshold storage unit and retrieved the next time the touch sampling window is determined based on the edge change information of the display row synchronization signal.
[0117] By calculating the signal-to-noise ratio (SNR) corresponding to the current touch sample after the touch response control result is generated, and fine-tuning the timing masking parameters and / or sampling gain based on the SNR calibration result, subsequent touch sampling windows can be updated in a closed loop according to the current display refresh state and noise state, thereby adapting to the touch sampling requirements under high refresh rates or refresh rate switching. According to another aspect of the embodiments of this application, this application provides a touch display device, such as... Figure 4 As shown, it includes: a line synchronization signal noise suppression circuit 41, a touch signal transmission channel 42, a touch sensing terminal 43, a touch detection noise suppression circuit 44, and a touch detection unit 45.
[0118] The horizontal sync signal noise suppression circuit is used to acquire the display horizontal sync signal and the current display refresh state, perform edge detection on the display horizontal sync signal, determine the edge change information of the display horizontal sync signal, and determine the touch sampling window based on the current display refresh state and edge change information. The touch signal transmission channel is used to conduct within the touch sampling window so that the touch drive signal is transmitted to the touch sensing end, and the touch sensing end generates a touch sensing signal. The touch detection noise suppression circuit is connected between the touch sensing end and the touch detection unit. It is used to determine the validity of the change in sensing capacitance corresponding to the touch sensing signal, and output the touch response control result to the touch detection unit based on the determination result. The touch detection unit is used to allow or block the touch response corresponding to the touch sensing signal based on the touch response control result.
[0119] The horizontal sync signal noise suppression circuit can be used to receive the display horizontal sync signal and the current display refresh status, and perform edge detection on the display horizontal sync signal to determine the edge change information of the display horizontal sync signal.
[0120] The horizontal synchronization signal noise suppression circuit can determine the touch sampling window based on the current display refresh status and edge change information.
[0121] The touch signal transmission channel can be connected to the touch sensing terminal and be in a conducting state within the touch sampling window, so that the touch driving signal can be transmitted to the touch sensing terminal, and the touch sensing terminal generates a touch sensing signal based on the touch driving signal.
[0122] The touch detection noise suppression circuit can be connected between the touch sensing terminal and the touch detection unit to receive touch sensing signals and determine the validity of the change in sensing capacitance corresponding to the touch sensing signals. If the change in sensing capacitance meets the touch triggering conditions, the circuit outputs a touch response control result to the touch detection unit to allow touch response. If the change in sensing capacitance does not meet the touch triggering conditions, the circuit outputs a touch response control result to the touch detection unit to block touch response.
[0123] The touch detection unit can perform enable or disable processing on the touch response corresponding to the touch sensing signal based on the touch response control result.
[0124] Touch display devices can determine the touch sampling window based on the display row synchronization signal and the current display refresh state, and control the touch response by combining the validity judgment of the change in sensing capacitance.
[0125] Figure 5This is a schematic diagram of the overall architecture of a touch response control system provided in an embodiment of this application. As shown in the figure, the touch response control system includes a touch sensing terminal TE, a gating unit GS, an Hsync filtering module (corresponding to the line synchronization signal noise suppression circuit of this application), a touch control module TC (Touch Controller), a touch drive unit TDU (Touch Drive Unit), a capacitance-to-voltage conversion module CTV (Capacitance-to-Voltage), a voltage noise elimination module (corresponding to the touch detection noise suppression circuit of this application), a touch voltage conversion module VTC, a touch detection unit TSU, and a central processing unit CPU (Central Processing Unit). The touch drive unit TDU provides the original drive signal to the touch control module TC; the touch control module TC generates a corresponding synchronization control signal based on the Hsync signal and the original drive signal, and outputs the synchronization control signal to the Hsync filtering module; the Hsync filtering module shields the edge noise corresponding to the Hsync signal and outputs the filtered control signal to the gating unit GS; the gating unit GS transmits the drive signal to the touch sensing terminal TE within the touch sampling window corresponding to the smoothing sampling stage.
[0126] The touch sensing terminal TE generates a touch detection measurement ▲C based on the received drive signal. The touch detection measurement ▲C is further input to the capacitor-to-voltage converter (CTV), which converts it into a corresponding voltage characterization signal. This voltage characterization signal is then processed by a voltage noise removal module before being input to the touch voltage conversion module VTC. The touch voltage conversion module VTC outputs the processed signal to the touch detection unit TSU, which performs touch response processing based on the judgment result corresponding to the touch detection measurement ▲C. Through this architecture, the drive signal can be sampled during the smoothing stage after Hsync filtering, and the touch detection measurement ▲C can be voltage converted and noise removed, thereby achieving touch response control.
[0127] According to another aspect of the embodiments of this application, a computer-readable medium having processor-executable non-volatile program code is also provided.
[0128] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated here.
[0129] In specific implementation, the embodiments of this application can be referred to the above embodiments, and have corresponding technical effects.
[0130] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0131] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0132] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0133] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0134] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0135] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0136] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0137] If the aforementioned function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks. It should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. In the absence of further restrictions, an element defined by the phrase "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0138] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A touch response control method, characterized in that, include: Acquire the display row synchronization signal and the current display refresh status of the touch display device, wherein the display row synchronization signal is used to characterize the display row scanning timing; Edge detection is performed on the display line synchronization signal to determine the edge change information of the display line synchronization signal; The timing masking parameters are determined based on the current display refresh state, and the touch transmission period corresponding to the edge change information is masked according to the timing masking parameters to determine the touch sampling window corresponding to the current display refresh state. A touch signal transmission channel is opened within the touch sampling window, and touch sensing signals are collected through the touch signal transmission channel; The validity of the change in sensing capacitance corresponding to the touch sensing signal is determined, and a touch response control result is generated based on the determination result. The touch response control result is used to indicate whether to allow or block the touch response corresponding to the touch sensing signal.
2. The method according to claim 1, characterized in that, The step of performing edge detection on the display line synchronization signal to determine the edge change information of the display line synchronization signal includes: The display row synchronization signal is delayed according to a preset clock to obtain a delayed row synchronization signal; Logical operations are performed based on the display line synchronization signal and the delayed line synchronization signal to obtain the rising edge detection result and falling edge detection result of the display line synchronization signal; The edge change information is generated based on the rising edge detection result and the falling edge detection result.
3. The method according to claim 1, characterized in that, The step of determining the timing masking parameters based on the current display refresh state includes: Obtain the correspondence between multiple refresh rate ranges and multiple preset counting thresholds; The current display refresh status is matched with the multiple refresh rate ranges to determine the target refresh rate range; Select a target count threshold corresponding to the target refresh rate range from the plurality of preset count thresholds, and use the target count threshold as the timing masking parameter.
4. The method according to claim 1, characterized in that, The step of controlling the masking of the touch transmission period corresponding to the edge change information according to the timing masking parameters, and determining the touch sampling window corresponding to the current display refresh state, includes: In response to the rising edge detection result in the edge change information, a rising edge counter is started to count; and in response to the falling edge detection result in the edge change information, a falling edge counter is started to count. The first count value of the rising edge counter and the second count value of the falling edge counter are compared with the target count threshold respectively to obtain the rising edge count comparison result and the falling edge count comparison result, wherein the timing masking parameter includes the target count threshold; If the rising edge count comparison result indicates that the first count value is greater than the target count threshold, and the falling edge count comparison result indicates that the second count value is greater than the target count threshold, the shielding control of the touch transmission period is released, and the touch sampling window is determined.
5. The method according to claim 4, characterized in that, The step of comparing the first count value of the rising edge counter and the second count value of the falling edge counter with the target count threshold respectively to obtain the rising edge count comparison result and the falling edge count comparison result includes: Configure the first count value of the rising edge counter, the second count value of the falling edge counter, and the target count threshold as four-bit count data respectively; The four-digit count data of the first count value is compared with the corresponding digits of the four-digit count data of the target count threshold to obtain the first digit comparison result for each digit; and the four-digit count data of the second count value is compared with the corresponding digits of the four-digit count data of the target count threshold to obtain the second digit comparison result for each digit. According to the comparison order from high bit to low bit, the first count value and each first bit comparison result corresponding to the target count threshold are combined and judged to obtain the rising edge count comparison result, and the second count value and each second bit comparison result corresponding to the target count threshold are combined and judged to obtain the falling edge count comparison result.
6. The method according to claim 5, characterized in that, The step of combining and judging each of the first-bit comparison results corresponding to the first count value and the target count threshold according to the comparison order from high bit to low bit to obtain the rising edge count comparison result includes: If the first comparison result of the current bit is greater than the result, then the first count value is determined to be greater than the target count threshold, and the comparison of subsequent bits is stopped; If the first comparison result of the current bit is less than the result, then the first count value is determined to be less than the target count threshold, and the comparison of subsequent bits is stopped; If the first comparison result of the current bit is equal to the result, then continue to judge the next bit; If the first position comparison result corresponding to each bit is the same as the position equals result, then the first count value is determined to be equal to the target count threshold.
7. The method according to claim 1, characterized in that, The step of opening a touch signal transmission channel within the touch sampling window and acquiring touch sensing signals through the touch signal transmission channel includes: Within the touch sampling window, the touch signal transmission channel is controlled to be in a conducting state; Touch driving signals are transmitted through the touch signal transmission channel in the on state; The change in the sensing capacitance is acquired based on the transmitted touch driving signal, and the touch sensing signal is generated based on the change in the sensing capacitance.
8. The method according to claim 1, characterized in that, The step of determining the validity of the change in sensing capacitance corresponding to the touch sensing signal and generating a touch response control result based on the determination result includes: The change in sensing capacitance corresponding to the touch sensing signal is converted into a voltage characterization value; The voltage characterization value is compared with the upper voltage threshold and the lower voltage threshold respectively to obtain the voltage change determination result; Based on the voltage change determination result, determine whether the change in the sensing capacitance meets the preset touch trigger condition, and generate the touch response control result based on the determination result.
9. The method according to claim 8, characterized in that, The step of comparing the voltage characterization value with the upper voltage threshold and the lower voltage threshold respectively to obtain the voltage change determination result includes: Obtain the current voltage characterization value corresponding to the current sampling period and the historical voltage characterization value corresponding to the previous sampling period; If the historical voltage characterization value is lower than the lower voltage threshold and the current voltage characterization value is higher than the upper voltage threshold, a trigger flip-over determination result is generated. If the historical voltage characterization value is higher than the upper limit voltage threshold and the current voltage characterization value is lower than the lower limit voltage threshold, a reset flip-over determination result is generated.
10. A touch display device, characterized in that, include: The system includes a horizontal synchronization signal noise suppression circuit, a touch signal transmission channel, a touch sensing terminal, a touch detection noise suppression circuit, and a touch detection unit. The horizontal sync signal noise suppression circuit is used to acquire the display horizontal sync signal and the current display refresh state, perform edge detection on the display horizontal sync signal, determine the edge change information of the display horizontal sync signal, and determine the touch sampling window based on the current display refresh state and the edge change information; The touch signal transmission channel is used to conduct within the touch sampling window so that the touch driving signal is transmitted to the touch sensing terminal, and the touch sensing terminal generates a touch sensing signal. The touch detection noise suppression circuit is connected between the touch sensing terminal and the touch detection unit. It is used to determine the validity of the change in sensing capacitance corresponding to the touch sensing signal, and output the touch response control result to the touch detection unit according to the determination result. The touch detection unit is used to allow or block the touch response corresponding to the touch sensing signal based on the touch response control result.