WO2021081821A1 - 共模噪声滤波方法、mcu、触控设备及存储介质 - Google Patents

共模噪声滤波方法、mcu、触控设备及存储介质 Download PDF

Info

Publication number
WO2021081821A1
WO2021081821A1 PCT/CN2019/114409 CN2019114409W WO2021081821A1 WO 2021081821 A1 WO2021081821 A1 WO 2021081821A1 CN 2019114409 W CN2019114409 W CN 2019114409W WO 2021081821 A1 WO2021081821 A1 WO 2021081821A1
Authority
WO
WIPO (PCT)
Prior art keywords
denoising
mcu
voltages
voltage
historical
Prior art date
Application number
PCT/CN2019/114409
Other languages
English (en)
French (fr)
Inventor
朱明�
李庆斌
周伟
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to CN201980002382.2A priority Critical patent/CN110945471A/zh
Priority to PCT/CN2019/114409 priority patent/WO2021081821A1/zh
Publication of WO2021081821A1 publication Critical patent/WO2021081821A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/05Digital input using the sampling of an analogue quantity at regular intervals of time, input from a/d converter or output to d/a converter
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches

Definitions

  • This application relates to the field of touch technology, and in particular to a common mode noise filtering method, MCU, touch device and storage medium.
  • touch devices are frequently used in people's daily lives, such as gas stoves and touch lights. These touch devices include: Microcontroller Unit (MCU) and touch buttons. There is a channel between the MCU and the touch buttons, and a touch sensor is arranged under the touch buttons.
  • MCU Microcontroller Unit
  • touch buttons There is a channel between the MCU and the touch buttons, and a touch sensor is arranged under the touch buttons.
  • Common mode noise is also called asymmetric noise or line-to-ground noise. This noise exists at the input end of electrical equipment that uses AC power. Therefore, when the touch sensor is charged by the charger, the ripple interference of the power supply will introduce common mode noise. If the noise is not suppressed, it will affect the sensitivity of the touch sensor. In severe cases, the touch button is incorrectly recognized as being pressed by a finger. , That is, there is a bad key.
  • the common mode noise is filtered by connecting inductance and capacitance in series on the above-mentioned channel.
  • this filtering method is far from noise suppression for the touch sensor;
  • capacitance is added to the channel, the capacitance will even generate mutual capacitance with the touch sensor, which will introduce additional interference to the touch sensor.
  • This application provides a common mode noise filtering method, MCU, touch device and storage medium. Based on this, on the one hand, noise can be effectively suppressed, and on the other hand, no additional interference can be introduced by touching the sensor.
  • this application provides a common mode noise filtering method, which is applied to a microcontroller unit MCU.
  • the MCU is connected to a touch button through a channel, and a touch sensor is provided under the touch button.
  • the method includes: obtaining the current voltage of the channel at the current moment , And, respectively, N historical denoising voltages at N time before the current time, and N is an integer greater than 1. According to the current voltage and the N historical denoising voltages, the denoising voltage corresponding to the current voltage is obtained.
  • the denoising voltage corresponding to the obtained current voltage is smoother, thereby achieving the effect of noise suppression.
  • this application does not need to introduce additional capacitance, so that no additional interference will be introduced to the touch sensor.
  • acquiring the current voltage of the channel at the current moment includes: acquiring the current voltage of the channel at the current moment through an analog-to-digital converter ADC.
  • the acquisition frequency of the ADC is greater than the preset frequency.
  • the problem of phase lag can be solved.
  • the average filter has less influence on the action recognition.
  • obtaining the current voltage of the channel at the current moment includes: collecting M voltages of the channel in a preset time period through the analog-to-digital converter ADC, the preset time period being the time period before the current time, or the preset The time period includes the current moment, and M is an integer greater than 1. Determine the average value of M voltages to get the current voltage. And because the MCU can also average multiple voltages to obtain the current voltage, that is, filter the source data. Thereby further improving the filtering effect.
  • the acquisition frequency of the ADC can be greater than the preset frequency. Based on this, on the one hand, the problem of phase lag can be solved. On the other hand, due to the increase in the amount of data collected by the ADC, the average filter has less influence on the action recognition.
  • the above-mentioned ADC acquisition frequency is proportional to the order N+1 of the averaging filter.
  • obtaining the denoising voltage corresponding to the current voltage according to the current voltage and the N historical denoising voltages includes: determining the average value of the current voltage and the N historical denoising voltages to obtain the denoising voltage corresponding to the current voltage. That is, this average filtering method can make the current voltage and the data of the peaks and valleys of the N historical denoising voltages cancel each other, so that the denoising voltage corresponding to the obtained current voltage is smoother, thereby achieving the effect of noise suppression.
  • the common mode noise is obtained by simulating the white noise emitted by the signal generator.
  • this application provides an MCU, which is connected to a touch button through a channel, a touch sensor is provided under the touch button, and the MCU includes:
  • the acquiring module is used to acquire the current voltage of the channel at the current moment and N historical denoising voltages at N moments before the current moment, where N is an integer greater than 1.
  • the filtering module is used to obtain the denoising voltage corresponding to the current voltage according to the current voltage and the N historical denoising voltages.
  • the present application provides an MCU.
  • the MCU is connected to a touch button through a channel.
  • a touch sensor is arranged under the touch button.
  • the MCU is used to perform common mode noise filtering as described in the first aspect or an optional manner of the first aspect. method.
  • the present application provides a touch device, including: MCU and touch buttons, the MCU is connected to the touch buttons through a channel, a touch sensor is arranged under the touch buttons, and the MCU is used to perform the functions of the first aspect or the first aspect. Select the common mode noise filtering method described in the method.
  • the present application provides a readable storage medium including program instructions, when the program instructions run on a computer, the computer executes the common mode noise filtering method as described in the first aspect or an optional manner of the first aspect .
  • the present application provides a computer program product, including program instructions, which are used to try the common mode noise filtering method as described in the first aspect or an optional manner of the first aspect.
  • This application provides a common mode noise filtering method, MCU, touch device and storage medium.
  • the average filtering method and the formula for averaging the M square voltages can improve the noise filtering effect and do not cause additional interference to the touch sensor.
  • the problem of phase lag can be solved.
  • the effect of the average filter on the action recognition is smaller.
  • Figure 1 is a schematic diagram of the connection between MCU and touch buttons
  • FIG. 2 is a flowchart of a common mode noise filtering method provided by an embodiment of the application
  • FIG. 3 is a filtering effect diagram of an average filter provided in an embodiment of the application in the case of no pressing and 5Vpp white noise;
  • FIG. 6 is a filtering effect diagram provided by an embodiment of the application in the case of pressing, no white noise, and 50 Hz acquisition frequency;
  • FIG. 7 is a filtering effect diagram provided by an embodiment of the application in the presence of pressing, no white noise, and a 100 Hz acquisition frequency;
  • FIG. 8 is a filtering effect diagram provided by an embodiment of the application in the case of no pressing, 5Vpp white noise, and 50Hz acquisition frequency;
  • FIG. 9 is a filtering effect diagram provided by an embodiment of the application in the case of no pressing, 5Vpp white noise, and 100Hz acquisition frequency;
  • FIG. 12 is a schematic diagram of an MCU provided by an embodiment of this application.
  • FIG. 1 is a schematic diagram of the connection between MCU and touch buttons.
  • the current typical touch buttons include: button touch buttons, slider touch buttons, and circular touch buttons. Touch sensors are provided below these touch buttons. Therefore, the aforementioned touch buttons can also be referred to as touch sensing electrodes.
  • buttons 0, 1, and 2 are all button touch buttons
  • button 3 is a circular touch button
  • button 4 is a sliding bar touch button.
  • the slider touch button is equivalent to 3 touch buttons or units
  • the circular touch button is equivalent to 4 touch buttons or units.
  • Each touch button or unit is connected to the MCU through a channel, for example: button 0 , 1, 2 are connected to the MCU through channels 0, 1, 2 respectively, button 3 is connected to the MCU through channels 3, 4, 5, and 6 respectively, and button 4 is connected to the MCU through channels 7, 8, and 9 respectively.
  • button 0 , 1, 2 are connected to the MCU through channels 0, 1, 2 respectively
  • button 3 is connected to the MCU through channels 3, 4, 5, and 6 respectively
  • button 4 is connected to the MCU through channels 7, 8, and 9 respectively.
  • the touch button to be mentioned below in this application may be the above button touch button, or one of the slider touch buttons, or one of the circular touch buttons.
  • any touch button can be understood as a capacitor, and the MCU can obtain the voltage on the corresponding channel of the touch button through an analog-to-digital converter (ADC) Vout, when no finger presses on a touch button, the Vout is usually 2048, where 2048 is a value normalized according to the accuracy of the ADC, and the Vout is the reference voltage Base of the channel corresponding to the touch button.
  • ADC analog-to-digital converter
  • the human body and the ground will form a capacitance, which is connected in series with the touch button, which causes the capacitance of the touch button to increase, which in turn leads to the voltage on the touch button at the same time Decrease, for example, the voltage is about Vout1600.
  • the 1600 is also a value after normalization processing according to the accuracy of the ADC.
  • the present application provides a common mode noise filtering method, MCU, touch device and storage medium.
  • the main idea of this application is to obtain the denoising voltage corresponding to the current voltage by calculating the multiple historical denoising voltages obtained and the current voltage collected by the ADC. This makes full use of the characteristics of common mode noise, and the data of multiple historical denoising voltages and the peaks and valleys of the current voltage can cancel each other, so that the denoising voltage corresponding to the current voltage obtained is smoother, thereby achieving the effect of noise suppression.
  • the MCU can use the same filtering method for all voltages collected by the ADC, but it is not limited to this.
  • FIG. 2 is a flowchart of a common mode noise filtering method provided by an embodiment of the application.
  • the method is applied to the MCU.
  • the MCU is connected to the touch button through a channel.
  • a touch sensor is provided under the touch button. Therefore, it can also be considered that the MCU passes through the channel. Connect with the touch sensor, or think that the MCU is connected with the above-mentioned touch sensing electrode through a channel. Based on this, the above methods include:
  • Step S201 The MCU obtains the current voltage of the channel at the current moment, and N historical denoising voltages at N moments before the current moment, where N is an integer greater than 1.
  • Step S202 The MCU obtains the denoising voltage corresponding to the current voltage according to the current voltage and the N historical denoising voltages.
  • the probe of the signal generator can be connected to the above-mentioned channel.
  • the signal generator is used to generate white noise to simulate the common mode noise on the touch sensor.
  • the white noise can be 5 peak-to-peak voltage (Voltage Peak-Peak, Vpp) or 10Vpp white noise.
  • the step S201 is described:
  • the MCU can collect the current voltage of the above-mentioned channel at the current moment through the ADC.
  • the MCU can collect M voltages of the channel in a preset time period through the ADC, and determine the average value of the M voltages to obtain the current voltage, where M is an integer greater than 1.
  • the preset time period is the time period before the current time.
  • the preset time period may be adjacent to or not adjacent to the current time. This application does not limit this, or the preset time period includes the current time, that is, the preset time period
  • the time period is the time period before the current time, and the right end of the preset time period is the current time.
  • the second alternative is that the MCU averages the M voltages collected by the ADC. Since the peaks and valleys of the M voltages can cancel each other out, the current voltage obtained is smoother, thereby achieving the effect of noise suppression.
  • this ADC performs multiple acquisitions and averages, because M is a fixed value, that is, the MCU implements filtering in a fixed window.
  • the MCU may use an arithmetic average algorithm, a geometric average algorithm, or a harmonic average algorithm to average the M voltages to obtain the current voltage.
  • the step S202 is described:
  • the MCU determines the current voltage and the average value of the N historical denoising voltages to obtain the denoising voltage corresponding to the current voltage.
  • the MCU may use an arithmetic average algorithm, a geometric average algorithm, or a harmonic average algorithm to average the current voltage and N historical denoising voltages to obtain the denoising voltage corresponding to the current voltage.
  • MCU uses arithmetic average algorithm, such as formula (1) to calculate the denoising voltage corresponding to the current voltage:
  • y(n) is the denoising voltage corresponding to the current voltage
  • x(n) is the current voltage
  • y(n-1) is the historical denoising voltage at the current moment before
  • y(nN) is the previous denoising voltage at the current moment.
  • the historical denoising voltage at time N If the denoising voltage corresponding to the current voltage is understood as a process realized by the average filter, then N+1 is the order of the average filter. It should be noted that the average filter is actually implemented by software.
  • the unit of the above-mentioned time may be a frame, a gap, a millisecond, or the like.
  • y(n) is the denoising voltage corresponding to the current voltage
  • x(n) is the current voltage
  • y(n-1) is the historical denoising voltage of the previous frame of the current frame
  • y(nN) is the current frame’s denoising voltage.
  • the previous moment of the above current moment may be adjacent to the current moment, or may not be adjacent.
  • the time corresponding to the N historical denoising voltages may be continuous time or not, which is not limited in this application.
  • the denoising voltage includes: the historical denoising voltage acquired last time from the current moment, the core idea of the average filter is to use a sliding window method to continuously average the current voltage and N historical denoising voltages. Since the current voltage and the peak and valley data of the N historical denoising voltages can cancel each other, the denoising voltage corresponding to the obtained current voltage is smoother, thereby achieving the effect of noise suppression.
  • FIG. 3 is a filtering effect diagram of the mean filter in the case of no pressing and 5Vpp white noise provided by an embodiment of the application.
  • the abscissa represents the voltage acquisition time, and the unit of this time may be a frame.
  • the ordinate represents the voltage, where the voltage is a normalized value, curve 1 represents the curve formed by the voltage collected by the ADC at each time, and curve 2 represents the curve formed by the voltage at each time after filtering by the average filter.
  • the order of the average filter is 4. It can be seen from curve 2 that the denoising voltage gradually tends to be flat after several times of convergence.
  • Curve 1 represents the curve formed by the voltage collected by the ADC at each time.
  • Curve 2 represents the curve formed by the voltage at each time after filtering by the average filter.
  • Curve 1 represents the voltage formed by the average of the voltage collected by the ADC at 5 moments.
  • the present application provides a common mode noise filtering method, which includes: the MCU obtains the current voltage of the channel at the current time, and N historical denoising voltages at N time before the current time.
  • the MCU obtains the denoising voltage corresponding to the current voltage according to the current voltage and the N historical denoising voltages, so as to filter the common mode noise on the touch sensor. Since the current voltage and the peak and valley data of the N historical denoising voltages can cancel each other, the denoising voltage corresponding to the obtained current voltage is smoother, thereby achieving the effect of noise suppression.
  • the MCU can also average the M voltages collected by the ADC. Since the peak and valley data of the M voltages can cancel each other, the current voltage obtained is smoother, thereby achieving the effect of noise suppression.
  • the above solution for the MCU to obtain the current voltage by averaging the M voltages collected by the ADC can be decoupled from the above average filtering solution, that is, there is no need to combine the above average filtering solution.
  • the MCU when the MCU performs voltage collection through the ADC, it can control the ADC's collection frequency to be greater than the preset frequency.
  • the preset frequency may be the ADC's collection frequency under normal conditions, such as 50 Hz (Hertz, Hz),
  • the acquisition frequency of ADC can be 100Hz.
  • the acquisition frequency is proportional to the order of the averaging filter.
  • FIG. 6 is a filtering effect diagram provided by an embodiment of the application in the presence of pressing, no white noise, and 50 Hz acquisition frequency.
  • the abscissa represents the voltage acquisition time, and the unit of this time may be Frame
  • the ordinate represents the voltage, where the voltage is the normalized value, assuming no white noise is currently added, and the order from left to right
  • Figure 6 shows 3 clicks, 3 double clicks, and 1 long
  • curve 1 represents the voltage collection value under the condition of no filtering.
  • FIG. 7 is a filtering effect diagram provided by an embodiment of the application in the presence of pressing, no white noise, and 100 Hz acquisition frequency.
  • the abscissa represents the voltage acquisition time, and the unit of this time may be a frame.
  • the ordinate represents the voltage, where the voltage is a normalized value.
  • Curve 1 represents the voltage acquisition value without filtering, and curve 2 represents the voltage distribution under filtering.
  • the amount of data collected by the ADC increases, making the average filter have a greater impact on action recognition. small.
  • single click and long press can be fully recognized. Since the pressing width of the double-click action is widened, it is not easily filtered out by the mean filter, so the double-click action can also be recognized.
  • FIG. 8 is a filtering effect diagram provided by an embodiment of the application in the case of no pressing, 5Vpp white noise, 50Hz acquisition frequency
  • curve 1 represents the voltage acquisition value without filtering
  • curve 2 represents the filtering situation
  • Figure 9 is a filter effect diagram provided by an embodiment of the application in the case of no pressing, 5Vpp white noise, and 100Hz acquisition frequency.
  • Curve 1 represents the voltage acquisition value without filtering.
  • 2 represents the voltage distribution in the case of filtering. From the time domain, since the voltage interference at each point is random, the mean filtering is also effective when the acquisition frequency is increased.
  • Curve 1 shows the voltage after the average of the voltage collected by the ADC at 5 moments.
  • the curve formed, curve 2 represents the curve formed by the voltage at each time after filtering by the average filter.
  • Curve 1 shows the voltage after the average of the voltage collected by the ADC at 5 moments.
  • the curve formed, curve 2 represents the curve formed by the voltage at each time after filtering by the average filter.
  • this application provides a common-mode noise filtering method.
  • the MCU can also increase the voltage acquisition frequency. Based on this, the problem of phase lag can be solved on the one hand, and on the other hand, due to the ADC acquisition The amount of data increases, so that the average filter has less impact on action recognition. Further, the MCU can also average multiple voltages to obtain the current voltage, that is, filter the source data. Thereby further improving the filtering effect.
  • FIG. 12 is a schematic diagram of an MCU provided by an embodiment of the application, where the MCU is connected to a touch button through a channel, and a touch sensor is provided under the touch button, and the MCU includes:
  • the obtaining module 1201 is configured to obtain the current voltage of the channel at the current moment and the N historical denoising voltages at N moments before the current moment, where N is an integer greater than 1.
  • the filtering module 1202 is used to obtain the denoising voltage corresponding to the current voltage according to the current voltage and the N historical denoising voltages.
  • the acquiring module 1201 is specifically configured to acquire the current voltage of the channel at the current moment through the analog-to-digital converter ADC.
  • the acquisition frequency of the ADC is greater than the preset frequency.
  • the acquisition module 1201 is specifically configured to: collect M voltages of the channel in a preset time period through the analog-to-digital converter ADC, the preset time period is a time period before the current moment, or the preset time period includes the current time. Determine the average value of M voltages to get the current voltage.
  • the acquisition frequency of the ADC is greater than the preset frequency.
  • the filtering module 1202 is specifically configured to determine the current voltage and the average value of the N historical denoising voltages to obtain the denoising voltage corresponding to the current voltage.
  • the common mode noise is obtained by simulating the white noise emitted by the signal generator.
  • the N historical denoising voltages are consecutive N historical denoising voltages, and the N historical denoising voltages include: the historical denoising voltage acquired most recently from the current moment.
  • the MCU provided in this application can execute the above-mentioned reference voltage update method.
  • the content and effect please refer to the method embodiment part, which will not be repeated here.
  • the present application also provides an MCU, which is used to implement the above-mentioned common mode noise filtering method.
  • MCU which is used to implement the above-mentioned common mode noise filtering method.
  • the touch device includes: an MCU and a touch button.
  • the MCU is connected to the touch button through a channel.
  • the current typical touch buttons include : Button touch buttons, slider touch buttons and circular touch buttons, as shown in Figure 1, buttons 0, 1, and 2 are all button touch buttons, button 3 is a circular touch button, and button 4 is a slider touch button.
  • the slider touch button is equivalent to 3 touch buttons or units
  • the circular touch button is equivalent to 4 touch buttons or units.
  • Each touch button or unit is connected to the MCU through a channel, for example: button 0 , 1, 2 are connected to the MCU through channels 0, 1, 2 respectively, button 3 is connected to the MCU through channels 3, 4, 5, and 6 respectively, and button 4 is connected to the MCU through channels 7, 8, and 9 respectively.
  • the above-mentioned MCU is used to execute the above-mentioned common-mode noise filtering method, and its content and effect can be referred to the method embodiment part, which will not be repeated here.
  • This application also provides a readable storage medium, including program instructions, which when run on a computer, cause the computer to execute the above-mentioned common mode noise filtering method.
  • program instructions which when run on a computer, cause the computer to execute the above-mentioned common mode noise filtering method.
  • the present application also provides a computer program product, including program instructions, which are used to try the above-mentioned common mode noise filtering method.
  • program instructions which are used to try the above-mentioned common mode noise filtering method.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

一种共模噪声滤波方法、MCU、触控设备及存储介质。所述方法包括:获取通道在当前时刻的当前电压,以及,分别在当前时刻之前的N个时刻上的N个历史去噪电压,N为大于1的整数(S201);根据当前电压和N个历史去噪电压,得到当前电压对应的去噪电压(S202)。由于当前电压和N个历史去噪电压的波峰波谷的数据可以相互抵消,使得得到的当前电压对应的去噪电压更为平缓,从而达到噪声抑制的效果。另外,所述方法无需引入额外电容,从而不会给触摸传感器引入额外干扰。

Description

共模噪声滤波方法、MCU、触控设备及存储介质 技术领域
本申请涉及触控技术领域,尤其涉及一种共模噪声滤波方法、MCU、触控设备及存储介质。
背景技术
目前触控设备在人们的日常生活中被频繁使用,如燃气灶、触控灯等。这些触控设备中包括:微控制单元(Microcontroller Unit,MCU)和触摸按键,其中MCU与触摸按键之间存在通道,触摸按键下方设置有触摸传感器。
共模噪声也被称为非对称噪声或线路对地的噪声,在使用交流电源的电气设备的输入端都存在这种噪声。因此当通过充电器给触摸传感器充电时,电源的纹波干扰会引入共模噪声,如果不对噪声加以抑制,会影响触摸传感器的灵敏性,严重时触摸按键被错误的识别为存在手指按压的情况,即存在甚冒键的情况。
现有技术中,通过在上述通道上串联电感电容的方式对共模噪声进行滤波,然而由于触摸传感器对灵敏度要求比较高,因此这种滤波方式对于触摸触感器来讲,噪声抑制远远不够;此外,如果在通道上增加电容,该电容甚至会和触摸传感器产生互容,给触摸传感器引入额外干扰。
发明内容
本申请提供一种共模噪声滤波方法、MCU、触控设备及存储介质。基于此,一方面可以有效抑制噪声,另一方面可以不会触摸传感器给引入额外干扰。
第一方面,本申请提供一种共模噪声滤波方法,方法应用于微控制单元MCU,MCU通过通道与触摸按键连接,触摸按键下方设置有触摸传感器,方法包括:获取通道在当前时刻的当前电压,以及,分别在当前时刻之前的N个时刻上的N个历史去噪电压,N为大于1的整数。根据当前电压和N个历史去噪电压,得到当前电压对应的去噪电压。
由于当前电压和N个历史去噪电压的波峰波谷的数据可以相互抵消,使得得到的当前电压对应的去噪电压更为平缓,从而达到噪声抑制的效果。另外,本申请无需引入额外电容,从而不会给触摸传感器引入额外干扰。
可选的,获取通道在当前时刻的当前电压,包括:通过模数转换器ADC采集通道在当前时刻的当前电压。其中,ADC的采集频率大于预设频率。
基于此,一方面可以解决相位滞后的问题,另一方面,由于ADC采集的数据量加大,使得均值滤波器对动作识别造成的影响更小。
可选的,获取通道在当前时刻的当前电压,包括:通过模数转换器ADC采集通道在预设时间段内的M个电压,预设时间段为当前时刻之前的时间段,或者,预设时间段包括当前时刻,M为大于1的整数。确定M个电压的平均值,以得到当前电压。并且由于MCU还可以对多个电压进行平均,得到当前电压,即对源数据进行滤波。从而进一步的提高滤波效果。此外,ADC的采集频率可以大于预设频率。基于此,一方面可以解决相位滞后的问题,另一方面,由于ADC采集的数据量加大,使得均值滤波器对动作识别造成的影响更小。
可选的,上述ADC采集频率与均值滤波器的阶数N+1成正比。
可选的,根据当前电压和N个历史去噪电压,得到当前电压对应的去噪电压,包括:确定当前电压和N个历史去噪电压的平均值,以得到当前电压对应的去噪电压。即这种均值滤波方式可以使得当前电压和N个历史去噪电压的波峰波谷的数据相互抵消,使得得到的当前电压对应的去噪电压更为平缓,从而达到噪声抑制的效果。
可选的,共模噪声是通过信号发生器发出的白噪声模拟得到的。
下面将介绍MCU、触控设备、可读存储介质以及计算机程序产品,其效果可参考上述方法部分的效果,下面对此不再赘述。
第二方面,本申请提供一种MCU,MCU通过通道与触摸按键连接,触摸按键下方设置有触摸传感器,MCU包括:
获取模块,用于获取通道在当前时刻的当前电压,以及,分别在当前时刻之前的N个时刻上的N个历史去噪电压,N为大于1的整数。
滤波模块,用于根据当前电压和N个历史去噪电压,得到当前电压对应的去噪电压。
第三方面,本申请提供一种MCU,MCU通过通道与触摸按键连接,触摸按键下方设置有触摸传感器,MCU用于执行如第一方面或第一方面的可选方式所述的共模噪声滤波方法。
第四方面,本申请提供一种触控设备,包括:MCU和触摸按键,MCU通过通道与触摸按键连接,触摸按键下方设置有触摸传感器,MCU用于执行如第一方面或第一方面的可选方式所述的共模噪声滤波方法。
第五方面,本申请提供一种可读存储介质,包括程序指令,当程序指令在计算机上运行时,使得计算机执行如第一方面或第一方面的可选方式所述的共模噪声滤波方法。
第六方面,本申请提供一种计算机程序产品,包括程序指令,该程序指令用于试下如第一方面或第一方面的可选方式所述的共模噪声滤波方法。
本申请提供一种共模噪声滤波方法、MCU、触控设备及存储介质。其中均值滤波方式、以及对M个方电压进行平均的式,均可以提高噪声滤波效果,并且并未给触摸传感器带来额外的干扰。而通过提高ADC的采集频率,一方面可以解决相位滞后的问题,另一方面,由于ADC采集的数据量加大,使得均值滤波器对动作识别造成的影响更小。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为MCU和触摸按键的连接示意图;
图2为本申请一实施例提供的一种共模噪声滤波方法的流程图;
图3为本申请一实施例提供的在无按压且存在5Vpp白噪声情况下的均值滤波器的滤波效果图;
图4为本申请一实施例提供的在无按压且存在10Vpp白噪声、M=1情况下的均值滤波器的滤波效果图;
图5为本申请一实施例提供的在无按压且存在10Vpp白噪声、M=5情况下的均值滤波器的滤波效果图;
图6为本申请一实施例提供的在存在按压且无白噪声、50Hz采集频率的情况下的滤波效果图;
图7为本申请一实施例提供的在存在按压且无白噪声、100Hz采集频率的情况下的滤波效果图;
图8为本申请一实施例提供的在无按压且存在5Vpp白噪声、50Hz采集频率的情况下的滤波效果图;
图9为本申请一实施例提供的在无按压且存在5Vpp白噪声、100Hz采集频率的情况下的滤波效果图;
图10为本申请一实施例提供的在存在按压且存在5Vpp白噪声、100Hz采集频率、M=5的情况下的滤波效果图;
图11为本申请一实施例提供的在存在按压且存在10Vpp白噪声、100Hz采集频率、M=5的情况下的滤波效果图;
图12为本申请一实施例提供的一种MCU的示意图。
具体实施方式
如上所述,目前触控设备中包括:微控制单元(Microcontroller Unit,MCU)和触摸按键,其中MCU与触摸按键之间存在通道。图1为MCU和触摸按键的连接示意图,如图1所示,目前存在的典型触摸按键包括:按键式触摸按键、滑条式触摸按键和圆形式触摸按键,这些触摸按键下方均设置有触摸传感器,因此上述的触摸按键也可以被称为触摸感应电极,如图1中的按键0、1、2均为按键式触摸按键,按键3为圆形式触摸按键,按键4为滑条式触摸按键。其中,滑条式触摸按键相当于由3个触摸按键或单元构成,圆形式触摸按键相当于由4个触摸按键或单元构成,每个触摸按键或单元通过一个通道与MCU连接,例如:按键0、1、2分别通过通道0、1、2与MCU连接,按键3分别通过通道3、4、5、6与MCU连接,按键4分别通过通道7、8、9与MCU连接。需要说明的是,本申请下面将要提到的触摸按键可以是上面的按键式触摸按键、或者是滑条式触摸按键中的一个触摸按键,又或者是圆形式触摸按键中的一个触摸按键。
MCU检测触摸按键上是否存在手指按压情况的原理是:任一个触摸按键可以被理解为一个电容,MCU可以通过模数转换器(Analog-to-Digital  Converter,ADC)获取触摸按键对应通道上的电压Vout,当无手指按压在某触摸按键上时,通常该Vout为2048,其中,2048是根据ADC的精度归一化处理之后的数值,该Vout即为该触摸按键对应的通道的基准电压Base。当有手指按压在该触摸按键上时,人体与地会行成一个电容,这个电容与触摸按键串连在一起,从而导致触摸按键的电容变大,进而导致相同时间内该触摸按键上的电压变小,例如电压为Vout1600左右。该1600同样是根据ADC的精度归一化处理之后的数值。MCU通过计算Delta=Base–Vout来确定是否有手指按压该触摸按键,例如:当Delta值大于200时认为有手指按压该触摸按键。
如上所述,当通过充电器给触摸传感器充电时,电源的纹波干扰会引入共模噪声,如果不对噪声加以抑制,会影响触摸传感器的灵敏性,严重时触摸按键被错误的识别为存在手指按压的情况,即存在甚冒键的情况。现有技术通过在上述通道上串联电感电容的方式对共模噪声进行滤波,然而由于触摸传感器对灵敏度要求比较高,因此这种滤波方式对于触摸触感器来讲,噪声抑制远远不够;此外,如果在通道上增加电容,该电容甚至会和触摸传感器产生互容,给触摸传感器引入额外干扰。
为了解决上述技术问题,本申请提供一种共模噪声滤波方法、MCU、触控设备及存储介质。
本申请的主旨思想是:通过对获取的多个历史去噪电压和ADC采集的当前电压进行计算,得到当前电压对应的去噪电压。这样做充分利用了共模噪声的特点,多个历史去噪电压和当前电压的波峰波谷的数据可以相互抵消,使得得到的当前电压对应的去噪电压更为平缓,从而达到噪声抑制的效果。
需要说明的是:MCU针对ADC采集的所有电压,所采用的滤波方式可以相同,但不限于此。
下面对本申请技术方案进行详细说明:
图2为本申请一实施例提供的一种共模噪声滤波方法的流程图,该方法应用于MCU,MCU通过通道与触摸按键连接,触摸按键下方设置有触摸传感器,因此也可以认为MCU通过通道与触摸传感器连接,或者认为MCU通过通道与上述的触摸感应电极连接。基于此,上述方法包括:
步骤S201:MCU获取通道在当前时刻的当前电压,以及,分别在当前 时刻之前的N个时刻上的N个历史去噪电压,N为大于1的整数。
步骤S202:MCU根据当前电压和N个历史去噪电压,得到当前电压对应的去噪电压。
其中,在进行滤波测试时,信号发生器的探头可以接到上述通道上,该信号发生器用于产生白噪声,以模拟触摸传感器上的共模噪声,该白噪声可以是5峰峰值电压(Voltage Peak-Peak,Vpp)或者是10Vpp的白噪声。
针对步骤S201进行说明:
一种可选方式:MCU可以通过ADC采集上述通道在当前时刻的当前电压。
另一种可选方式:MCU可以通过ADC采集通道在预设时间段内的M个电压,并确定M个电压的平均值,以得到当前电压,M为大于1的整数。预设时间段为当前时刻之前的时间段,该预设时间段可以与当前时刻相邻或者不相邻,本申请对此不做限制,或者,预设时间段包括当前时刻,即该预设时间段为当前时刻之前的时间段,且该预设时间段的右端点为当前时刻。例如:M=5,表示ADC采集5个电压,MCU对5个电压进行平均,得到当前电压。
需要说明的是,ADC采集的当前电压是经过归一化处理之后的数值,比如:当ADC的精度为12,那么2 12=4096,4096对应3.3V电压,那么当手指为按压触摸按键时,该触摸按键上的电压为2048,则表示1.65V。
第二种可选方式即MCU通过对ADC采集的M个电压进行平均,由于M个电压的波峰波谷的数据可以相互抵消,使得得到的当前电压更为平缓,从而达到噪声抑制的效果。另外这种ADC进行多次采集取平均值的方式,由于M为固定值,即MCU在固定窗口实现滤波。
其中,MCU可以采用算数平均算法、几何平均算法或者调和平均算法等对M个电压进行平均,以得到当前电压。
针对步骤S202进行说明:
可选的,MCU确定当前电压和N个历史去噪电压的平均值,以得到当前电压对应的去噪电压。其中,MCU可以采用算数平均算法、几何平均算法或者调和平均算法等对当前电压和N个历史去噪电压的进行平均,以得到当前电压对应的去噪电压。
例如:MCU采用算术平均算法,如公式(1)计算当前电压对应的去噪电压:
Figure PCTCN2019114409-appb-000001
其中y(n)为当前电压对应的去噪电压,x(n)为当前电压,y(n-1)为当前时刻的前一时刻的历史去噪电压,y(n-N)为当前时刻的前N时刻的历史去噪电压。若将当前电压对应的去噪电压理解为由均值滤波器实现的过程,则N+1为均值滤波器的阶数。需要说明的是,该均值滤波器实际上是通过软件实现的。
另外,上述时刻的单位可以是帧、间隙、毫秒等。例如:y(n)为当前电压对应的去噪电压,x(n)为当前电压,y(n-1)为当前帧的前一帧的历史去噪电压,y(n-N)为当前帧的前N帧的历史去噪电压。本申请对时刻的单位不做限制。
上述当前时刻的前一时刻可以与当前时刻相邻,也可以不相邻。N个历史去噪电压所对应的时刻,可以是连续时刻,也可以不是连续时刻,本申请对此不做限制。
假设当前时刻的前一时刻可以与当前时刻相邻,且N个历史去噪电压所对应的时刻是连续时刻,即N个历史去噪电压为连续的N个历史去噪电压,且N个历史去噪电压包括:距离当前时刻最近一次获取的历史去噪电压,则均值滤波器的核心思想是采用滑动窗口的方式,不断对当前电压和N个历史去噪电压进行均值处理。由于当前电压和N个历史去噪电压的波峰波谷的数据可以相互抵消,使得得到的当前电压对应的去噪电压更为平缓,从而达到噪声抑制的效果。
图3为本申请一实施例提供的在无按压且存在5Vpp白噪声情况下的均值滤波器的滤波效果图,如图3所示,横坐标表示电压获取时刻,该时刻的单位可以是帧,纵坐标表示电压,其中该电压是归一化后的数值,曲线1表示ADC在各个时刻采集的电压所形成的曲线,曲线2表示经过均值滤波器滤波之后,各个时刻电压所形成的曲线。其中,该均值滤波器的阶数为4,从曲线2可以看出,去噪电压经过几次收敛,逐渐趋于平缓。
进一步地,如上所述,本申请还可以对M个电压进行平均,得到当前电压,在数据源上对噪声进行滤波。例如:图4为本申请一实施例提供的在无 按压且存在10Vpp白噪声、M=1情况下的均值滤波器的滤波效果图,曲线1表示ADC在各个时刻采集的电压所形成的曲线,曲线2表示经过均值滤波器滤波之后,各个时刻电压所形成的曲线。图5为本申请一实施例提供的在无按压且存在10Vpp白噪声、M=5情况下的均值滤波器的滤波效果图,曲线1表示ADC在5个时刻采集的电压平均之后的电压所形成的曲线,曲线2表示经过均值滤波器滤波之后,各个时刻电压所形成的曲线。从图4和图5中可以看出,通过对每5个电压进行平均,得到当前电压的方式,相较于不进行平均(即M=1)的情况,噪声幅度明显降低了很多。
综上,本申请提供一种共模噪声滤波方法,包括:MCU获取通道在当前时刻的当前电压,以及,分别在当前时刻之前的N个时刻上的N个历史去噪电压。MCU根据当前电压和N个历史去噪电压,得到当前电压对应的去噪电压,以对触摸传感器上的共模噪声进行滤波。由于当前电压和N个历史去噪电压的波峰波谷的数据可以相互抵消,使得得到的当前电压对应的去噪电压更为平缓,从而达到噪声抑制的效果。进一步地,MCU还可以通过对ADC采集的M个电压进行平均,由于M个电压的波峰波谷的数据可以相互抵消,使得得到的当前电压更为平缓,从而达到噪声抑制的效果。
需要说明的是,上述针对MCU通过对ADC采集的M个电压进行平均,以得到当前电压的方案,可以与上述均值滤波方案解耦合,即无需结合上述的均值滤波方案。
考虑到在上述均值滤波方案中,由于MCU需要获取N个历史去噪电压,并对当前电压和N个历史去噪电压进行平均,这可能会带来一定的相位滞后。另一方面,对于按压速度较快的动作,由于手指接触触摸触感器的时间短,导致采集到的电压被当作噪声被滤掉了。因此,在本申请中,MCU在通过ADC进行电压采集时,可以控制ADC的采集频率大于预设频率,该预设频率可以是正常情况下ADC的采集频率,如50赫兹(Hertz,Hz),而ADC的采集频率可以是100Hz。可选的,该采集频率与均值滤波器的阶数成正比。
例如:图6为本申请一实施例提供的在存在按压且无白噪声、50Hz采集频率的情况下的滤波效果图,如图6所示,横坐标表示电压获取时刻,该时刻的单位可以是帧,纵坐标表示电压,其中该电压是归一化后的数值,假设当前不加白噪声,从左向右的顺序,图6中示出了3次单击,3次双击,1次 长按操作的电压分布情况,曲线1表示不进行滤波情况下的电压采集值,从图6中可以清晰区分出这三类动作。4阶均值滤波器对采集到的电压存在如下影响:曲线2表示滤波情况下的电压分布情况,从图6可以看出,双击动作很难被识别出来。这是因为双击动作存在按压速度较快,接触触摸触感器的时间短,导致采集到的电压被当作噪声被滤掉了。
图7为本申请一实施例提供的在存在按压且无白噪声、100Hz采集频率的情况下的滤波效果图,如图7所示,横坐标表示电压获取时刻,该时刻的单位可以是帧,纵坐标表示电压,其中该电压是归一化后的数值。曲线1表示不进行滤波情况下的电压采集值,曲线2表示滤波情况下的电压分布情况,在提高采集频率之后,由于ADC采集的数据量加大,使得均值滤波器对动作识别造成的影响更小。从图7中可以看出,单击和长按完全可以被识别。由于双击动作的按压宽度加宽,不容易被均值滤波器给滤掉,因此双击动作也能被识别。
需要说明的是,由于理想的白噪声的功率谱是常数,其对不同采集频率下所采集的电压的干扰是相同的,因此在电压采集频率提高之前和之后,共模噪声的滤波效果并不受影响。例如:图8为本申请一实施例提供的在无按压且存在5Vpp白噪声、50Hz采集频率的情况下的滤波效果图,曲线1表示不进行滤波情况下的电压采集值,曲线2表示滤波情况下的电压分布情况,图9为本申请一实施例提供的在无按压且存在5Vpp白噪声、100Hz采集频率的情况下的滤波效果图,曲线1表示不进行滤波情况下的电压采集值,曲线2表示滤波情况下的电压分布情况,从时域上看,由于每点的电压干扰都是随机的,因此当提高采集频率之后,均值滤波同样生效。
图10为本申请一实施例提供的在存在按压且存在5Vpp白噪声、100Hz采集频率、M=5的情况下的滤波效果图,曲线1表示ADC在5个时刻采集的电压平均之后的电压所形成的曲线,曲线2表示经过均值滤波器滤波之后,各个时刻电压所形成的曲线。图11为本申请一实施例提供的在存在按压且存在10Vpp白噪声、100Hz采集频率、M=5的情况下的滤波效果图,曲线1表示ADC在5个时刻采集的电压平均之后的电压所形成的曲线,曲线2表示经过均值滤波器滤波之后,各个时刻电压所形成的曲线。从图10和图11中可以看出,即使存在5Vpp、10Vpp白噪声,经过本申请提供的技术方案,即均 值滤波、提高ADC采集频率,以及对5个电压进行平均的方案,可以清晰的识别到:按照从左向右的顺序存在3次单击,3次双击,1次长按操作。
综上,本申请提供一种共模噪声滤波方法,在MCU进行均值滤波的基础上,MCU还可以提高电压采集频率,基于此,一方面可以解决相位滞后的问题,另一方面,由于ADC采集的数据量加大,使得均值滤波器对动作识别造成的影响更小。进一步地,MCU还可以对多个电压进行平均,得到当前电压,即对源数据进行滤波。从而进一步的提高滤波效果。
图12为本申请一实施例提供的一种MCU的示意图,其中该MCU通过通道与触摸按键连接,触摸按键下方设置有触摸传感器,该MCU包括:
获取模块1201,用于获取通道在当前时刻的当前电压,以及,分别在当前时刻之前的N个时刻上的N个历史去噪电压,N为大于1的整数。
滤波模块1202,用于根据当前电压和N个历史去噪电压,得到当前电压对应的去噪电压。
可选的,获取模块1201具体用于:通过模数转换器ADC采集通道在当前时刻的当前电压。其中,ADC的采集频率大于预设频率。
可选的,获取模块1201具体用于:通过模数转换器ADC采集通道在预设时间段内的M个电压,预设时间段为当前时刻之前的时间段,或者,预设时间段包括当前时刻。确定M个电压的平均值,以得到当前电压。
可选的,ADC的采集频率大于预设频率。
可选的,滤波模块1202具体用于:确定当前电压和N个历史去噪电压的平均值,以得到当前电压对应的去噪电压。
可选的,共模噪声是通过信号发生器发出的白噪声模拟得到的。
可选的,N个历史去噪电压为连续的N个历史去噪电压,且N个历史去噪电压包括:距离当前时刻最近一次获取的历史去噪电压。
本申请提供的MCU,可以执行上述的基准电压更新方法,其内容和效果可参考方法实施例部分,对此不再赘述。
本申请还提供一种MCU,该MCU用于执行上述的共模噪声滤波方法,其内容和效果可参考方法实施例部分,对此不再赘述。
本申请还提供一种触控设备,示例性地,该触控设备包括:MCU和触摸按键,MCU通过通道与触摸按键连接,示例性的,如图1所示,目前存在的 典型触摸按键包括:按键式触摸按键、滑条式触摸按键和圆形式触摸按键,如图1中的按键0、1、2均为按键式触摸按键,按键3为圆形式触摸按键,按键4为滑条式触摸按键。其中,滑条式触摸按键相当于由3个触摸按键或单元构成,圆形式触摸按键相当于由4个触摸按键或单元构成,每个触摸按键或单元通过一个通道与MCU连接,例如:按键0、1、2分别通过通道0、1、2与MCU连接,按键3分别通过通道3、4、5、6与MCU连接,按键4分别通过通道7、8、9与MCU连接。上述MCU用于执行上述的共模噪声滤波方法,其内容和效果可参考方法实施例部分,对此不再赘述。
本申请还提供一种可读存储介质,包括程序指令,当该程序指令在计算机上运行时,使得计算机执行如上述的共模噪声滤波方法,其内容和效果可参考方法实施例部分,对此不再赘述。
本申请还提供一种计算机程序产品,包括程序指令,该程序指令用于试下如上述的共模噪声滤波方法,其内容和效果可参考方法实施例部分,对此不再赘述。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (17)

  1. 一种共模噪声滤波方法,其特征在于,所述方法应用于微控制单元MCU,所述MCU通过通道与触摸按键连接,所述触摸按键下方设置有触摸传感器,所述方法包括:
    获取所述通道在当前时刻的当前电压,以及,分别在所述当前时刻之前的N个时刻上的N个历史去噪电压,N为大于1的整数;
    根据所述当前电压和所述N个历史去噪电压,得到所述当前电压对应的去噪电压。
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述通道在当前时刻的当前电压,包括:
    通过模数转换器ADC采集所述通道在当前时刻的当前电压;
    其中,所述ADC的采集频率大于预设频率。
  3. 根据权利要求1所述的方法,其特征在于,所述获取所述通道在当前时刻的当前电压,包括:
    通过模数转换器ADC采集所述通道在预设时间段内的M个电压,所述预设时间段为所述当前时刻之前的时间段,或者,所述预设时间段包括所述当前时刻,M为大于1的整数;
    确定所述M个电压的平均值,以得到所述当前电压。
  4. 根据权利要求3所述的方法,其特征在于,所述ADC的采集频率大于预设频率。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述根据所述当前电压和所述N个历史去噪电压,得到所述当前电压对应的去噪电压,包括:
    确定所述当前电压和所述N个历史去噪电压的平均值,以得到所述当前电压对应的去噪电压。
  6. 根据权利要求1-4任一项所述的方法,其特征在于,所述共模噪声是通过信号发生器发出的白噪声模拟得到的。
  7. 根据权利要求1-4任一项所述的方法,其特征在于,所述N个历史去噪电压为连续的N个历史去噪电压,且所述N个历史去噪电压包括:距离所述当前时刻最近一次获取的历史去噪电压。
  8. 一种MCU,其特征在于,所述MCU通过通道与触摸按键连接,所 述触摸按键下方设置有触摸传感器,所述MCU包括:
    获取模块,用于获取所述通道在当前时刻的当前电压,以及,分别在所述当前时刻之前的N个时刻上的N个历史去噪电压,N为大于1的整数;
    滤波模块,用于根据所述当前电压和所述N个历史去噪电压,得到所述当前电压对应的去噪电压。
  9. 根据权利要求8所述的MCU,其特征在于,所述获取模块具体用于:
    通过模数转换器ADC采集所述通道在当前时刻的当前电压;
    其中,所述ADC的采集频率大于预设频率。
  10. 根据权利要求8所述的MCU,其特征在于,所述获取模块具体用于:
    通过模数转换器ADC采集所述通道在预设时间段内的M个电压,所述预设时间段为所述当前时刻之前的时间段,或者,所述预设时间段包括所述当前时刻,M为大于1的整数;
    确定所述M个电压的平均值,以得到所述当前电压。
  11. 根据权利要求10所述的MCU,其特征在于,所述ADC的采集频率大于预设频率。
  12. 根据权利要求8-11任一项所述的MCU,其特征在于,所述滤波模块具体用于:
    确定所述当前电压和所述N个历史去噪电压的平均值,以得到所述当前电压对应的去噪电压。
  13. 根据权利要求8-11任一项所述的MCU,其特征在于,共模噪声是通过信号发生器发出的白噪声模拟得到的。
  14. 根据权利要求8-11任一项所述的MCU,其特征在于,所述N个历史去噪电压为连续的N个历史去噪电压,且所述N个历史去噪电压包括:距离所述当前时刻最近一次获取的历史去噪电压。
  15. 一种MCU,其特征在于,所述MCU通过通道与触摸按键连接,所述触摸按键下方设置有触摸传感器,MCU用于执行如权利要求1-7任一项所述的共模噪声滤波方法。
  16. 一种触控设备,其特征在于,包括:MCU和触摸按键,所述MCU通过通道与触摸按键连接,所述触摸按键下方设置有触摸传感器,所述MCU用于执行如权利要求1-7任一项所述的共模噪声滤波方法。
  17. 一种可读存储介质,其特征在于,包括程序指令,当所述程序指令在计算机上运行时,使得所述计算机执行如权利要求1至7中任一项所述的共模噪声滤波方法。
PCT/CN2019/114409 2019-10-30 2019-10-30 共模噪声滤波方法、mcu、触控设备及存储介质 WO2021081821A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980002382.2A CN110945471A (zh) 2019-10-30 2019-10-30 共模噪声滤波方法、mcu、触控设备及存储介质
PCT/CN2019/114409 WO2021081821A1 (zh) 2019-10-30 2019-10-30 共模噪声滤波方法、mcu、触控设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/114409 WO2021081821A1 (zh) 2019-10-30 2019-10-30 共模噪声滤波方法、mcu、触控设备及存储介质

Publications (1)

Publication Number Publication Date
WO2021081821A1 true WO2021081821A1 (zh) 2021-05-06

Family

ID=69913791

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/114409 WO2021081821A1 (zh) 2019-10-30 2019-10-30 共模噪声滤波方法、mcu、触控设备及存储介质

Country Status (2)

Country Link
CN (1) CN110945471A (zh)
WO (1) WO2021081821A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889236A (en) * 1992-06-08 1999-03-30 Synaptics Incorporated Pressure sensitive scrollbar feature
CN107003783A (zh) * 2017-02-16 2017-08-01 深圳市汇顶科技股份有限公司 一种按键检测方法及装置
CN109039320A (zh) * 2018-08-15 2018-12-18 深圳市麦道微电子技术有限公司 一种可以满足复杂工况的高可靠的电容式触摸按键
CN109582176A (zh) * 2018-11-30 2019-04-05 北京集创北方科技股份有限公司 一种触摸屏抗噪声方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW343313B (en) * 1996-07-12 1998-10-21 Synaptics Inc Object position detector with noise suppression feature
US10353517B2 (en) * 2015-03-16 2019-07-16 Parade Technologies Ltd. Differential IIR baseline algorithm for capacitive touch sensing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889236A (en) * 1992-06-08 1999-03-30 Synaptics Incorporated Pressure sensitive scrollbar feature
CN107003783A (zh) * 2017-02-16 2017-08-01 深圳市汇顶科技股份有限公司 一种按键检测方法及装置
CN109039320A (zh) * 2018-08-15 2018-12-18 深圳市麦道微电子技术有限公司 一种可以满足复杂工况的高可靠的电容式触摸按键
CN109582176A (zh) * 2018-11-30 2019-04-05 北京集创北方科技股份有限公司 一种触摸屏抗噪声方法及装置

Also Published As

Publication number Publication date
CN110945471A (zh) 2020-03-31

Similar Documents

Publication Publication Date Title
Zhang et al. VLSI friendly ECG QRS complex detector for body sensor networks
CN103549950B (zh) 移动心电监测差分阈值检测改进算法
CN101449973B (zh) 用于心电干扰信号识别的判断指标的生成方法及装置
CN104173043A (zh) 一种适合于移动平台的心电数据分析方法
CN106095207B (zh) 可消除互容影响的电容检测装置及其运作方法
Singh et al. Various approaches to minimise noises in ECG signal: A survey
US10001879B2 (en) Method and device of optimizing signal-to-noise ratio parameter
KR20160114153A (ko) 지문 검출 회로 및 이의 정전 용량식 지문 센서, 이동 단말기
WO2015171804A1 (en) Detecting artifacts in a signal
JP7039002B2 (ja) ウェアラブル生体センサ及びノイズキャンセル回路
CN107092407A (zh) 感应电容测量装置
TW201617819A (zh) 電容觸控系統及其選頻方法
JP7069320B2 (ja) 制御方法、制御システム、心電信号測定装置およびコンピュータ読み取り可能な記憶媒体
Gavas et al. Multivariate variational mode decomposition based approach for blink removal from EEG signal
CN106667439B (zh) 一种心电信号的降噪方法及装置
CN205507799U (zh) 用于指纹传感器的信号处理电路
WO2021081821A1 (zh) 共模噪声滤波方法、mcu、触控设备及存储介质
Dai et al. Removal of baseline wander from dynamic electrocardiogram signals
Bali et al. Performance comparison of ANN classifiers for sleep apnea detection based on ECG signal analysis using hilbert transform
TW202142174A (zh) 波群檢測方法、心電檢測裝置及可讀儲存介質
CN106510691A (zh) 心电信号采集前端
CN215503051U (zh) 驾驶员脱手和健康检测装置、方向盘和保护套
Roland et al. Capacitively coupled EMG detection via ultra-low-power microcontroller STFT
CN108694337A (zh) 传感器系统和感测方法
CN108601523B (zh) 用于电外科单元信号检测的电路和方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19950426

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19950426

Country of ref document: EP

Kind code of ref document: A1