WO2019006666A1 - Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen - Google Patents

Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen Download PDF

Info

Publication number
WO2019006666A1
WO2019006666A1 PCT/CN2017/091724 CN2017091724W WO2019006666A1 WO 2019006666 A1 WO2019006666 A1 WO 2019006666A1 CN 2017091724 W CN2017091724 W CN 2017091724W WO 2019006666 A1 WO2019006666 A1 WO 2019006666A1
Authority
WO
WIPO (PCT)
Prior art keywords
temperature
touch screen
touch
feature value
value
Prior art date
Application number
PCT/CN2017/091724
Other languages
French (fr)
Chinese (zh)
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 CN201780000620.7A priority Critical patent/CN110337629A/en
Priority to PCT/CN2017/091724 priority patent/WO2019006666A1/en
Publication of WO2019006666A1 publication Critical patent/WO2019006666A1/en

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Definitions

  • the present application relates to the field of touch screen technologies, and in particular, to a touch detection circuit, an electronic device, and a method for detecting an ambient temperature of a touch screen.
  • the touch screen Before detecting the user operation on the touch screen, the touch screen generally establishes a reference original value, and the original value is obtained by sampling the touch control chip, and the original value of the reference reflects the initial state of each sensing node of the capacitive sensor.
  • a touch object for example, a finger, a stylus, or the like that can change the inductive capacitance
  • clicks on the touch screen the operation such as scribing changes the capacitance of the corresponding position sensing node, and the original value obtained at this time is obtained.
  • the current original value is obtained by subtracting the current original value from the original value of the reference, and the difference can reflect the amount of capacitance change caused by the touch object at the operating position, and the touch coordinates can be calculated and reported according to the difference.
  • the inventors have found that at least the following problems exist in the prior art: when the temperature rises or falls, since the capacitance sensor has a temperature drift characteristic, the original value of the capacitive touch screen also changes accordingly;
  • the difference between the temperature at which the touch screen establishes the original value of the reference and the temperature at which the user touches the touch operation is large, which causes the difference between the current original value and the original value of the reference to include not only the amount of capacitance change caused by the touch object but also the temperature drift.
  • the amount of capacitance change if the difference is used to calculate and report the touch coordinates, there will be an inaccurate point, a descent point, inaccurate coordinate calculation, etc.
  • the problem of experience wherein, the elimination point means that the touch object operates on the touch screen and the touch control chip does not report the coordinates, and the point of the touch means that the touch object does not operate on the touch screen and the touch control chip reports the coordinates.
  • An embodiment of the present invention provides a touch detection circuit, an electronic device, and a method for detecting an ambient temperature of a touch screen.
  • the feature value of the touch screen in the current environment is obtained first, so that the current touch screen can be obtained according to the correspondence between the feature value and the temperature.
  • the ambient temperature at the location provides the basis for targeted temperature drift compensation and temperature drift correction.
  • An embodiment of the present application provides a method for detecting an ambient temperature of a touch screen, including: acquiring original detection data of a touch screen in a current environment and in an untouched state; and calculating a current feature value of the touch screen according to the original detection data; Obtain an ambient temperature corresponding to the current feature value according to a preset correspondence relationship between the feature value and the temperature.
  • the embodiment of the present application further provides a touch detection circuit, which is applied to the above detection method.
  • the touch detection circuit includes: a processor, a memory, and a touch screen; the processor is connected to the touch screen and the memory; and the memory is used for storing the feature value and the temperature. Corresponding relationship is set; the touch screen is used to obtain original detection data of the touch screen in the current environment and in an untouched state; the processor is configured to calculate a current feature value of the touch screen according to the original detection data, and correspondingly according to the preset value of the feature value and the temperature Relationship, obtain the ambient temperature corresponding to the current feature value.
  • the embodiment of the present application further provides an electronic device, including: the above touch detection circuit.
  • the present application obtains the feature value of the touch screen in the current environment, and obtains the current ambient temperature of the touch screen according to the preset correspondence relationship between the feature value and the temperature, thereby being able to compensate and temperature for the targeted temperature drift.
  • the drift correction provides the basis.
  • the preset correspondence relationship between the feature value and the temperature is expressed in a functional relationship.
  • This embodiment provides a representation manner of a preset correspondence relationship between a feature value and a temperature.
  • the functional relationship is obtained based on the original detection data collected at a temperature that is continuously changed within a preset range in advance, and is obtained by fitting.
  • the embodiment provides a temperature change mode when the preset correspondence relationship between the feature value and the temperature is expressed by a functional relationship.
  • the temperature continuously changes within the preset range, and the data combination of the temperature and the feature value can be recorded as much as possible, thereby Improve the accuracy of curve fitting to obtain more accurate functional relationships.
  • the preset correspondence relationship between the feature value and the temperature is expressed in the form of a look-up table.
  • This embodiment provides another representation of the preset correspondence relationship between the feature value and the temperature.
  • the look-up table is obtained based on the raw detection data collected at a temperature varying in advance in the preset range.
  • the embodiment provides a temperature change mode when the preset correspondence relationship between the feature value and the temperature is expressed in the form of a comparison table.
  • the temperature variation within the preset range is equal to the continuous change of the temperature, and the error can be controlled.
  • the data combination of the recorded temperature and the characteristic value is reduced, thereby saving the experiment time and quickly establishing the comparison table.
  • the original detection data includes the sensing values of all the sensing nodes of the touch area of the touch screen, or the sensing values of the sensing nodes in the partial touch area.
  • the feature value is an average value or a median value of the respective sensing values.
  • taking the average value or the median value of the sensing values of each sensing node as the characteristic value has better stability.
  • the manner of establishing the preset correspondence relationship between the feature value and the temperature specifically includes: when the temperature in the temperature box changes within the preset range, recording the original detection data of the touch screen located in the temperature box at each temperature; according to the touch screen Calculate the characteristics of the touch screen at various temperatures by the raw detection data at each temperature Value; according to the characteristic value of the touch screen at each temperature, a preset correspondence relationship between the feature value and the temperature is established.
  • This embodiment provides a specific establishment manner of a preset correspondence relationship between a feature value and a temperature.
  • the processor and the memory are integrated in one touch control chip.
  • the touch screen is a capacitive touch screen.
  • FIG. 1 is a specific flowchart of a method for detecting an ambient temperature of a touch screen according to a first embodiment of the present application
  • FIG. 2 is a schematic diagram of a capacitive touch screen according to a first embodiment of the present application
  • FIG. 3 is a specific flowchart of a method for detecting an ambient temperature of a touch screen according to a second embodiment of the present application
  • FIG. 4 is a scatter diagram of feature values and temperatures of a touch screen according to a second embodiment of the present application.
  • FIG. 5 is a curve fitting diagram of characteristic values and temperatures of a touch screen according to a second embodiment of the present application.
  • FIG. 6 is a block schematic diagram of a touch detection circuit in accordance with a third embodiment of the present application.
  • the first embodiment of the present application relates to a method for detecting an ambient temperature of a touch screen, which is applied to an electronic device (for example, a mobile phone, a tablet computer, etc.) with a touch screen.
  • the touch screen in this embodiment is a capacitive touch screen, but is not limited thereto. Refer to Figure 1 for a specific flow chart of the method for detecting the ambient temperature of the touch screen.
  • the capacitive touch screen generally includes a touch panel and a touch detection circuit.
  • the touch detection circuit includes a processor and a memory, and the processor and the memory can be integrated into the same touch detection chip.
  • the touch panel is a capacitive sensor formed on a substrate.
  • the capacitive sensor generally consists of a driving electrode and a sensing electrode. In a typical mutual capacitive touch screen, each driving electrode and the sensing electrode intersect to form an induction. Node; in Figure 2, five drive electrodes and five sense electrodes are taken as an example to form 25 sensing nodes.
  • Step 101 Acquire original detection data of the touch screen in a current environment and in an untouched state.
  • the capacitive touch screen acquires the original detection data in the current environment and in the untouched state through the capacitive sensor.
  • the touch detection circuit inputs the coding signal of a certain frequency into the driving electrode according to a certain driving manner, and The capacitive signal formed by the signal signal passing through the sensing node causes the sensing electrode to generate a corresponding sensing signal, and the sensing signal is detected by the touch detection circuit, and the internal ADC conversion and digital signal processing can obtain the sensing value of each mutual capacitance sensing node;
  • the original detection data includes the sensing values of all the sensing nodes of the touch area of the touch screen, or the sensing values of the sensing nodes in the partial touch area, that is, the touch screen includes a touch area, and the original detection data may be the entire touch area.
  • the touch area here refers to the touchable area, and does not
  • Step 102 Calculate a current feature value of the touch screen according to the original detection data.
  • the touch detection circuit calculates a current feature value of the touch screen according to the sensing values of the sensing nodes of the acquired touch region.
  • the average value of the sensing values of the sensing nodes of the touch area is used as the feature value, but the original value of a certain sensing node may be used as the feature value; or part of the touch area.
  • the average or median value of the sensing values of the sensing nodes of the touch area of the touch screen has better stability as compared with other methods.
  • Step 103 Acquire an ambient temperature corresponding to the current feature value according to a preset correspondence relationship between the feature value and the temperature.
  • the touch detection circuit can acquire the ambient temperature corresponding to the current feature value according to the preset correspondence between the feature value and the temperature.
  • the preset correspondence between the feature value and the temperature may be represented by a functional relationship or a reference table, but the embodiment does not impose any limitation.
  • the second embodiment of the present application relates to a method for detecting an ambient temperature of a touch screen.
  • This embodiment is a refinement of the first embodiment, and the main refinement is: a method for establishing a preset correspondence relationship between a feature value and a temperature. Carry out a specific introduction.
  • the electronic device with the touch screen is placed in the thermostat, and the temperature in the thermostat can be changed within a preset range, and the specific change manner of the temperature may be continuously changed within the preset range, but is not limited thereto, and may also be It is changed at equal intervals within a preset range, and this embodiment does not impose any limitation.
  • the preset correspondence relationship is represented by a function relationship
  • the function relationship is obtained based on the original detection data collected at a temperature that is continuously changed within a preset range, and is obtained by fitting.
  • the specific change of the temperature in the thermostat is that the temperature in the thermostat continuously changes within a preset range, but is not limited thereto; the temperature can be recorded in the preset range continuously to record as much data combination as possible of the temperature and the characteristic value.
  • the accuracy of the curve fitting can be improved to obtain a more accurate functional relationship.
  • the processor of the touch detection circuit records the original detection data of the touch screen located in the temperature box at each temperature, that is, the sensing value of all the sensing nodes of the entire touch area of the touch screen, or a partial touch The sensed value of each sensing node in the area.
  • the preset temperature of the temperature in the thermostat is [-20, 60].
  • the present embodiment does not impose any limitation on this, and the preset range can be set according to the operating temperature range of the electronic device.
  • Step 202 Calculate the characteristic value of the touch screen at each temperature according to the original detection data of the touch screen at each temperature.
  • the characteristic value of the touch screen at each temperature is calculated by acquiring the sensing values of the sensing nodes of the touch area of the touch screen at each temperature.
  • the temperature in the temperature box is in the range of -20 ° C to 60 ° C.
  • Step 203 Establish a preset correspondence relationship between the feature value and the temperature according to the feature value of the touch screen at each temperature.
  • FIG. 5 is a fitting curve implemented in this embodiment.
  • the curve fitting may adopt a global fitting or a piecewise fitting; it may be a linear fitting or a nonlinear fitting; the curve fitting method adopted in the present embodiment is a global nonlinear fitting,
  • this embodiment does not impose any limitation on this.
  • the processor of the touch detection circuit records the original detection data of the touch screen located in the thermostat at each temperature, that is, the sensing value of all the sensing nodes of the entire touch area of the touch screen, or part of the touch area. The sensed value of each sensor node.
  • the preset temperature of the temperature in the thermostat is [-20, 60], but this embodiment does not With any restrictions, the preset range can be set according to the operating temperature range of the electronic device.
  • the temperature change interval may be set according to the accuracy of the detected temperature.
  • the temperature change interval is 5, but this embodiment does not impose any limitation.
  • Step 202 Calculate the characteristic value of the touch screen at each temperature according to the original detection data of the touch screen at each temperature.
  • the characteristic values of the touch screen at each temperature are calculated by acquiring the sensing values of the sensing nodes of the touch area of the touch screen at each temperature.
  • Table 1 below shows the temperature in the temperature box changing within the range of -20 ° C to 60 ° C.
  • the average value of the sensing values of the sensing nodes of the touched area of the touch screen is taken as the feature value in the embodiment, but is not limited thereto, and may also be a certain sensing node.
  • the original value is used as the feature value; or the maximum or minimum value of the sensing value of all the sensing nodes of a touch area on the touch screen is used as the feature value; or the maximum or minimum value of the sensing value of all the sensing nodes on the entire touch screen is used as the feature value.
  • Step 203 Establish a preset of the feature value and the temperature according to the feature value of the touch screen at each temperature. Correspondence relationship.
  • Table 1 is used to indicate a preset correspondence relationship between the feature value and the temperature, and the feature value closest to the current touch screen feature value is obtained from the table, and the temperature corresponding to the feature value is used as the current environment in which the touch screen is located. temperature.
  • this embodiment provides a specific establishment manner of a preset correspondence relationship between the feature value and the temperature.
  • the third embodiment of the present application relates to a touch detection circuit.
  • the touch detection circuit includes a processor 1 and a memory 2.
  • the processor 1 is connected to a touch screen 3 and a memory 2, and the processor 1 and the storage 2 can be integrated in one touch control chip 12.
  • the touch detection circuit may further include a driving circuit for generating a driving signal and a sensing circuit for detecting the sensing signal, and corresponding processing circuits such as AD conversion, amplification, mixing, and the like.
  • the memory 2 is configured to store a preset correspondence between the feature value and the temperature.
  • the memory 2 can be a non-volatile memory, and the preset correspondence between the feature value and the temperature is pre-stored in the non-volatile memory, and is powered on the touch screen. In the process of running, only the corresponding relationship needs to be read, no additional complicated operation is needed, and the touch screen is detected to detect the real-time operation of the user, and the operation is simple.
  • the manner in which the preset correspondence between the feature value and the temperature is established includes: when the temperature in an oven changes within a preset range, the processor records the touch screen located in the thermostat at each temperature Original detection data; the processor calculates feature values of the touch screen at the respective temperatures according to original detection data of the touch screen at the respective temperatures; the processor is at the respective temperatures according to the touch screen
  • the lower feature value establishes a preset correspondence relationship between the feature value and the temperature.
  • the electric power with the touch screen is The sub-device, and the temperature in the thermostat can be changed within a preset range.
  • the specific change of the temperature may be continuous change within the preset range, but is not limited thereto, and may be equally spaced within the preset range. Variations, this embodiment does not impose any limitation on this.
  • the correspondence between the eigenvalue and the temperature may be represented by a functional relationship, and the functional relationship may be obtained according to the original detection data collected at a temperature that is continuously changed within a preset range, and obtained by fitting, at this time, the thermostat
  • the specific change of the temperature inside the temperature box may be that the temperature in the thermostat continuously changes within a preset range; however, the correspondence between the characteristic value and the temperature may also be represented by a comparison table form, and the comparison table may be pre-predicted according to The original detection data collected at a temperature in which the interval is varied is obtained. At this time, the specific change of the temperature in the thermostat may be that the temperature in the thermostat is equally changed within a preset range.
  • the touch screen 3 is configured to acquire original detection data of the touch screen in the current environment and in an untouched state, where the original detection data includes the sensing values of all the sensing nodes of the touch area of the touch screen, or includes the sensing in the partial touch area.
  • the sensed value of the node may be a capacitive touch screen, but is not limited thereto, and may be a resistive touch screen or the like. This embodiment does not impose any limitation.
  • the processor 1 is configured to calculate a current feature value of the touch screen according to the original detection data, where the feature value is an induction value of all the sensing nodes of the touch area of the touch screen, or an average value of the sensing values of the sensing nodes in the partial touch area or The median value can be obtained according to the preset correspondence relationship between the feature value and the temperature, and the ambient temperature corresponding to the current feature value is obtained.
  • the present embodiment can be implemented in cooperation with the first embodiment and the second embodiment.
  • the related art details mentioned in the first embodiment and the second embodiment are still effective in the present embodiment, in the first embodiment and the second embodiment.
  • the technical effects that can be achieved are also implemented in this embodiment. In order to reduce the repetition, details are not described herein again. Accordingly, the related art details mentioned in the embodiment can also be applied to the first embodiment and the second embodiment.
  • the fourth embodiment of the present application relates to an electronic device, such as a mobile phone, a tablet computer, or the like.
  • the electronic device includes a touch screen 3 and a touch detection circuit in the fourth embodiment.
  • the touch screen 3 can be a capacitive touch screen. However, it is not limited thereto, and may be a resistive touch screen or the like. This embodiment does not impose any limitation.
  • this embodiment provides an electronic device that can acquire the temperature of the current environment.

Abstract

A touch detection circuit, an electronic device, and a method for detecting the environment temperature of a touchscreen. The method for detecting the environment temperature of a touchscreen comprises: obtaining original detection data of a touchscreen in an untouched state in a current environment (101); computing a current eigenvalue of the touchscreen according to the original detection data (102); and obtaining an environment temperature corresponding to the current eigenvalue according to a preset correspondence between eigenvalues and temperatures (103). By using the method for detecting the environment temperature of a touchscreen, the current environment temperature of the touchscreen can be obtained, and a basis is provided for temperature drift compensation and temperature drift correction.

Description

触摸检测电路、电子设备及触摸屏的环境温度的检测方法Method for detecting ambient temperature of touch detection circuit, electronic device and touch screen 技术领域Technical field
本申请涉及触摸屏技术领域,特别涉及一种触摸检测电路、电子设备及触摸屏的环境温度的检测方法。The present application relates to the field of touch screen technologies, and in particular, to a touch detection circuit, an electronic device, and a method for detecting an ambient temperature of a touch screen.
背景技术Background technique
目前,市场上大部分的电子设备(例如,手机、平板电脑等)实现人机交互都是采用的电容式触摸屏,电容式触摸屏通过电容传感器来检测用户的触摸操作。在检测触摸屏上的用户操作前,触摸屏一般会建立一个基准原始值,原始值通过触摸控制芯片打码采样获得,该基准原始值反映了电容传感器各感应节点的初始状态。当触碰物件(例如为手指、触控笔等其他可改变感应电容量的物体)在触摸屏上进行点击,划线等操作时会改变相应位置感应节点的电容量,此时获取的原始值为当前原始值,使用基准原始值减去当前原始值可得到差值,该差值即可反映触碰物件在操作位置引起的电容变化量,根据差值可计算并上报触控坐标。At present, most of the electronic devices on the market (for example, mobile phones, tablet computers, etc.) implement capacitive touch screens for human-computer interaction, and capacitive touch screens detect capacitive touch operations by capacitive sensors. Before detecting the user operation on the touch screen, the touch screen generally establishes a reference original value, and the original value is obtained by sampling the touch control chip, and the original value of the reference reflects the initial state of each sensing node of the capacitive sensor. When a touch object (for example, a finger, a stylus, or the like that can change the inductive capacitance) clicks on the touch screen, the operation such as scribing changes the capacitance of the corresponding position sensing node, and the original value obtained at this time is obtained. The current original value is obtained by subtracting the current original value from the original value of the reference, and the difference can reflect the amount of capacitance change caused by the touch object at the operating position, and the touch coordinates can be calculated and reported according to the difference.
发明人在实现本申请的过程中发现,现有技术至少存在如下问题:当温度升高或下降时,由于电容传感器具有温漂特性,电容式触摸屏的原始值也会发生相应变化;因此,如果触摸屏建立基准原始值时的温度与检测用户触摸操作时的温度相差较大,则会导致当前原始值与基准原始值的差值不仅包含触碰物件引起的电容变化量,还包含温度漂移所引起的电容变化量;如果用该差值计算并上报触控坐标,将会出现消点、冒点、坐标计算不准确等影响用户操作 体验的问题;其中,消点是指触碰物件在触摸屏上操作而触摸控制芯片不上报坐标,冒点是指触碰物件未在触摸屏上操作而触摸控制芯片上报坐标。In the process of implementing the present application, the inventors have found that at least the following problems exist in the prior art: when the temperature rises or falls, since the capacitance sensor has a temperature drift characteristic, the original value of the capacitive touch screen also changes accordingly; The difference between the temperature at which the touch screen establishes the original value of the reference and the temperature at which the user touches the touch operation is large, which causes the difference between the current original value and the original value of the reference to include not only the amount of capacitance change caused by the touch object but also the temperature drift. The amount of capacitance change; if the difference is used to calculate and report the touch coordinates, there will be an inaccurate point, a descent point, inaccurate coordinate calculation, etc. The problem of experience; wherein, the elimination point means that the touch object operates on the touch screen and the touch control chip does not report the coordinates, and the point of the touch means that the touch object does not operate on the touch screen and the touch control chip reports the coordinates.
发明内容Summary of the invention
本申请部分实施例的目的在于提供一种触摸检测电路、电子设备及触摸屏的环境温度的检测方法,先获取当前环境下触摸屏的特征值,从而可以根据特征值和温度的对应关系获取触摸屏当前所处的环境温度,为针对性的温漂补偿和温漂校正提供基础。An embodiment of the present invention provides a touch detection circuit, an electronic device, and a method for detecting an ambient temperature of a touch screen. The feature value of the touch screen in the current environment is obtained first, so that the current touch screen can be obtained according to the correspondence between the feature value and the temperature. The ambient temperature at the location provides the basis for targeted temperature drift compensation and temperature drift correction.
本申请的一个实施例提供了一种触摸屏的环境温度的检测方法,包括:获取触摸屏在当前环境下且处于未触摸状态下的原始检测数据;根据原始检测数据计算出触摸屏的当前的特征值;根据特征值和温度的预设对应关系,获取当前的特征值对应的环境温度。An embodiment of the present application provides a method for detecting an ambient temperature of a touch screen, including: acquiring original detection data of a touch screen in a current environment and in an untouched state; and calculating a current feature value of the touch screen according to the original detection data; Obtain an ambient temperature corresponding to the current feature value according to a preset correspondence relationship between the feature value and the temperature.
本申请实施例还提供了一种触摸检测电路,应用于上述的检测方法,触摸检测电路包括:处理器、存储器以及触摸屏;处理器连接于触摸屏与存储器;存储器用于储存特征值和温度的预设对应关系;触摸屏用于获取触摸屏在当前环境下且处于未触摸状态下的原始检测数据;处理器用于根据原始检测数据计算出触摸屏的当前的特征值,并根据特征值和温度的预设对应关系,获取当前的特征值对应的环境温度。The embodiment of the present application further provides a touch detection circuit, which is applied to the above detection method. The touch detection circuit includes: a processor, a memory, and a touch screen; the processor is connected to the touch screen and the memory; and the memory is used for storing the feature value and the temperature. Corresponding relationship is set; the touch screen is used to obtain original detection data of the touch screen in the current environment and in an untouched state; the processor is configured to calculate a current feature value of the touch screen according to the original detection data, and correspondingly according to the preset value of the feature value and the temperature Relationship, obtain the ambient temperature corresponding to the current feature value.
本申请实施例还提供了一种电子设备,包括:上述的触摸检测电路。The embodiment of the present application further provides an electronic device, including: the above touch detection circuit.
本申请相对于现有技术而言,获取当前环境下触摸屏的特征值,并根据特征值和温度的预设对应关系获取触摸屏当前所处的环境温度,从而能够为针对性的温漂补偿和温漂校正提供基础。 Compared with the prior art, the present application obtains the feature value of the touch screen in the current environment, and obtains the current ambient temperature of the touch screen according to the preset correspondence relationship between the feature value and the temperature, thereby being able to compensate and temperature for the targeted temperature drift. The drift correction provides the basis.
另外,特征值与温度的预设对应关系以函数关系式表示。本实施例提供了一种特征值与温度的预设对应关系的表示方式。In addition, the preset correspondence relationship between the feature value and the temperature is expressed in a functional relationship. This embodiment provides a representation manner of a preset correspondence relationship between a feature value and a temperature.
另外,函数关系式根据预先在预设范围内连续变化的温度下采集的原始检测数据,并通过拟合方式获取。本实施例提供了当特征值与温度的预设对应关系以函数关系式表示时的温度变化方式,温度在预设范围内连续变化可以记录尽可能多的温度与特征值的数据组合,从而可以提高曲线拟合的准确性,以获取更为准确的函数关系式。In addition, the functional relationship is obtained based on the original detection data collected at a temperature that is continuously changed within a preset range in advance, and is obtained by fitting. The embodiment provides a temperature change mode when the preset correspondence relationship between the feature value and the temperature is expressed by a functional relationship. The temperature continuously changes within the preset range, and the data combination of the temperature and the feature value can be recorded as much as possible, thereby Improve the accuracy of curve fitting to obtain more accurate functional relationships.
另外,特征值与温度的预设对应关系以对照表形式表示。本实施例提供了另一种特征值与温度的预设对应关系的表示方式。In addition, the preset correspondence relationship between the feature value and the temperature is expressed in the form of a look-up table. This embodiment provides another representation of the preset correspondence relationship between the feature value and the temperature.
另外,对照表根据预先在预设范围内间隔变化的温度下采集的原始检测数据获得。本实施例提供了当特征值与温度的预设对应关系以对照表形式表示时的温度变化方式,温度在预设范围内等间隔变化相对于温度连续变化而言,可以在误差可控的范围内减少记录的温度与特征值的数据组合,从而节省实验时间,快速建立对照表。In addition, the look-up table is obtained based on the raw detection data collected at a temperature varying in advance in the preset range. The embodiment provides a temperature change mode when the preset correspondence relationship between the feature value and the temperature is expressed in the form of a comparison table. The temperature variation within the preset range is equal to the continuous change of the temperature, and the error can be controlled. The data combination of the recorded temperature and the characteristic value is reduced, thereby saving the experiment time and quickly establishing the comparison table.
另外,原始检测数据中包括所述触摸屏的全部触摸区域的所有感应节点的感应值,或者包括部分触摸区域内的各感应节点的感应值。本实施例提供了获取特征值的具体方法。In addition, the original detection data includes the sensing values of all the sensing nodes of the touch area of the touch screen, or the sensing values of the sensing nodes in the partial touch area. This embodiment provides a specific method for acquiring feature values.
另外,特征值为所述各感应值的平均值或者中值。本实施例中,取各感应节点的感应值的平均值或中值作为特征值具有较好的稳定性。In addition, the feature value is an average value or a median value of the respective sensing values. In this embodiment, taking the average value or the median value of the sensing values of each sensing node as the characteristic value has better stability.
另外,特征值和温度的预设对应关系的建立方式,具体包括:一温箱内的温度在预设范围内变化时,记录位于温箱内的触摸屏在各温度下的原始检测数据;根据触摸屏在各温度下的原始检测数据,计算触摸屏在各温度下的特征 值;根据触摸屏在各温度下的特征值,建立特征值与温度的预设对应关系。本实施例提供了特征值和温度的预设对应关系的具体建立方式。In addition, the manner of establishing the preset correspondence relationship between the feature value and the temperature specifically includes: when the temperature in the temperature box changes within the preset range, recording the original detection data of the touch screen located in the temperature box at each temperature; according to the touch screen Calculate the characteristics of the touch screen at various temperatures by the raw detection data at each temperature Value; according to the characteristic value of the touch screen at each temperature, a preset correspondence relationship between the feature value and the temperature is established. This embodiment provides a specific establishment manner of a preset correspondence relationship between a feature value and a temperature.
另外,在触摸检测电路中,处理器与存储器集成在一个触摸控制芯片中。In addition, in the touch detection circuit, the processor and the memory are integrated in one touch control chip.
另外,在电子设备中,触摸屏为电容触摸屏。In addition, in an electronic device, the touch screen is a capacitive touch screen.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1是根据本申请第一实施例的触摸屏的环境温度的检测方法的具体流程图;1 is a specific flowchart of a method for detecting an ambient temperature of a touch screen according to a first embodiment of the present application;
图2是根据本申请第一实施例的电容触摸屏的示意图;2 is a schematic diagram of a capacitive touch screen according to a first embodiment of the present application;
图3是根据本申请第二实施例的触摸屏的环境温度的检测方法的具体流程图;3 is a specific flowchart of a method for detecting an ambient temperature of a touch screen according to a second embodiment of the present application;
图4是根据本申请第二实施例的触摸屏的特征值和温度的散点图;4 is a scatter diagram of feature values and temperatures of a touch screen according to a second embodiment of the present application;
图5是根据本申请第二实施例的触摸屏的特征值和温度的曲线拟合图;5 is a curve fitting diagram of characteristic values and temperatures of a touch screen according to a second embodiment of the present application;
图6是根据本申请第三实施例的触摸检测电路的方框示意图。FIG. 6 is a block schematic diagram of a touch detection circuit in accordance with a third embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请部分实施例进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。 In order to make the objects, the technical solutions and the advantages of the present application more clear, some embodiments of the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本申请第一实施例涉及一种触摸屏的环境温度的检测方法,应用于带有触摸屏的电子设备(例如,手机、平板电脑等),本实施例中的触摸屏为电容触摸屏,然不限于此。触摸屏的环境温度的检测方法的具体流程图请参考图1。The first embodiment of the present application relates to a method for detecting an ambient temperature of a touch screen, which is applied to an electronic device (for example, a mobile phone, a tablet computer, etc.) with a touch screen. The touch screen in this embodiment is a capacitive touch screen, but is not limited thereto. Refer to Figure 1 for a specific flow chart of the method for detecting the ambient temperature of the touch screen.
本实施例中,请参考图2,电容触摸屏一般包括触控面板与触摸检测电路,触摸检测电路包括处理器与存储器,处理器与存储器可集成于同一触摸检测芯片中,然本实施例对此不做任何限制;触控面板是在基板上形成的电容传感器,电容传感器一般由驱动电极和感应电极组成,在典型的互容式触摸屏中,每一条驱动电极和感应电极相交的位置形成一个感应节点;图2中以5条驱动电极和5条感应电极为例,形成了25个感应节点。In this embodiment, referring to FIG. 2, the capacitive touch screen generally includes a touch panel and a touch detection circuit. The touch detection circuit includes a processor and a memory, and the processor and the memory can be integrated into the same touch detection chip. The touch panel is a capacitive sensor formed on a substrate. The capacitive sensor generally consists of a driving electrode and a sensing electrode. In a typical mutual capacitive touch screen, each driving electrode and the sensing electrode intersect to form an induction. Node; in Figure 2, five drive electrodes and five sense electrodes are taken as an example to form 25 sensing nodes.
步骤101,获取触摸屏在当前环境下且处于未触摸状态下的原始检测数据。Step 101: Acquire original detection data of the touch screen in a current environment and in an untouched state.
具体而言,电容触摸屏通过电容传感器来获取当前环境下且处于未触摸状态下的原始检测数据,请参考图2,触摸检测电路将一定频率的打码信号按照一定的驱动方式输入驱动电极,打码信号经过感应节点处所形成的电容传感器使得感应电极产生相应的感应信号,感应信号经触摸检测电路检出,并经过其内部ADC转换和数字信号处理后可得到各互电容感应节点的感应值;其中,原始检测数据中包括触摸屏的全部触摸区域的所有感应节点的感应值,或者包括部分触摸区域内的各感应节点的感应值,即,触摸屏包括一个触摸区域,原始检测数据可以为整个触摸区域内包含的所有感应节点的感应值,或其中一部分触摸区域内包含的所有感应节点的感应值。这里的触摸区域指的是可触摸区域,并非指手指实际触摸区域。Specifically, the capacitive touch screen acquires the original detection data in the current environment and in the untouched state through the capacitive sensor. Referring to FIG. 2, the touch detection circuit inputs the coding signal of a certain frequency into the driving electrode according to a certain driving manner, and The capacitive signal formed by the signal signal passing through the sensing node causes the sensing electrode to generate a corresponding sensing signal, and the sensing signal is detected by the touch detection circuit, and the internal ADC conversion and digital signal processing can obtain the sensing value of each mutual capacitance sensing node; The original detection data includes the sensing values of all the sensing nodes of the touch area of the touch screen, or the sensing values of the sensing nodes in the partial touch area, that is, the touch screen includes a touch area, and the original detection data may be the entire touch area. The sensing value of all sensing nodes included in the sensor, or the sensing value of all sensing nodes included in a part of the touch area. The touch area here refers to the touchable area, and does not refer to the actual touch area of the finger.
步骤102,根据原始检测数据计算出触摸屏的当前的特征值。 Step 102: Calculate a current feature value of the touch screen according to the original detection data.
具体而言,触摸检测电路根据获取的触摸区域的各感应节点的感应值来计算触摸屏的当前的特征值。Specifically, the touch detection circuit calculates a current feature value of the touch screen according to the sensing values of the sensing nodes of the acquired touch region.
需要说明的是,本实施例中以触摸区域的各感应节点的感应值的平均值作为特征值,然不限于此,还可以将某个感应节点的原始值作为特征值;或一部分触摸区域内包含的所有感应节点的感应值的最大值或最小值或中值作为特征值;或整个触摸区域上的所有感应节点的感应值的最大值或最小值或中值作为特征值;其中,以获取的触摸屏的触摸区域的各感应节点的感应值的平均值或中值作为特征值相对于其他几种方法具有较好的稳定性。It should be noted that, in this embodiment, the average value of the sensing values of the sensing nodes of the touch area is used as the feature value, but the original value of a certain sensing node may be used as the feature value; or part of the touch area. The maximum or minimum value or the median value of the sensing values of all the sensing nodes included as the eigenvalues; or the maximum or minimum value or the median value of the sensing values of all the sensing nodes on the entire touch area as the eigenvalues; The average or median value of the sensing values of the sensing nodes of the touch area of the touch screen has better stability as compared with other methods.
步骤103,根据特征值和温度的预设对应关系,获取当前的特征值对应的环境温度。Step 103: Acquire an ambient temperature corresponding to the current feature value according to a preset correspondence relationship between the feature value and the temperature.
具体而言,触摸检测电路根据特征值和温度的预设对应关系,可以获取当前的特征值对应的环境温度。其中,特征值和温度的预设对应关系可以通过函数关系表示,或者对照表形式表示,然而本实施例对此不作任何限制。Specifically, the touch detection circuit can acquire the ambient temperature corresponding to the current feature value according to the preset correspondence between the feature value and the temperature. The preset correspondence between the feature value and the temperature may be represented by a functional relationship or a reference table, but the embodiment does not impose any limitation.
本实施例相对于现有技术而言,获取当前环境下触摸屏的特征值,并根据特征值和温度的预设对应关系获取触摸屏当前所处的环境温度,从而能够为针对性的温漂补偿和温漂校正提供基础。Compared with the prior art, the present embodiment obtains the feature value of the touch screen in the current environment, and obtains the current ambient temperature of the touch screen according to the preset correspondence relationship between the feature value and the temperature, so as to be able to compensate for the targeted temperature drift. Temperature drift correction provides the basis.
本申请第二实施例涉及一种触摸屏的环境温度的检测方法,本实施例是对第一实施例的细化,主要细化之处在于:对特征值和温度的预设对应关系的建立方式进行具体介绍。The second embodiment of the present application relates to a method for detecting an ambient temperature of a touch screen. This embodiment is a refinement of the first embodiment, and the main refinement is: a method for establishing a preset correspondence relationship between a feature value and a temperature. Carry out a specific introduction.
本实施例中特征值和温度的预设对应关系的建立方式的具体流程如图3所示;The specific process of establishing the preset correspondence relationship between the feature value and the temperature in this embodiment is as shown in FIG. 3;
特征值与温度的预设对应关系的表示方式有两种,分别为以函数关系式 表示和以对照表形式表示,下面分别进行介绍。There are two ways to represent the preset correspondence between eigenvalues and temperature, which are functional relations. The representations are expressed in the form of a comparison table, which are described below.
特征值与温度的预设对应关系以函数关系式表示,请参考图3:The preset correspondence between the eigenvalue and the temperature is expressed in a functional relationship, please refer to Figure 3:
步骤201,一温箱内的温度在预设范围内变化时,记录位于温箱内的触摸屏在各温度下的原始检测数据。Step 201: When the temperature in an oven changes within a preset range, the original detection data of the touch screen located in the thermostat at each temperature is recorded.
具体而言,将带触摸屏的电子设备放入温箱,温箱内的温度可以在预设范围内变化,温度具体的变化方式可以是在预设范围内连续变化,然不限于此,还可以是在预设范围内等间隔变化,本实施例对此不作任何限制。由于是以函数关系式来表示预设对应关系,而函数关系式是根据预先在预设范围内连续变化的温度下采集的原始检测数据,并通过拟合方式获取的。因此,温箱内的温度的具体变化方式为温箱内的温度在预设范围内连续变化,然不限于此;温度在预设范围连续变化可以记录尽可能多的温度与特征值的数据组合,从而可以提高曲线拟合的准确性,以获取更为准确的函数关系式。温度在连续范围连续变化的同时,触摸检测电路的处理器记录位于温箱内的触摸屏在各温度下的原始检测数据,即,记录触摸屏的全部触摸区域的所有感应节点的感应值,或者部分触摸区域内的各感应节点的感应值。Specifically, the electronic device with the touch screen is placed in the thermostat, and the temperature in the thermostat can be changed within a preset range, and the specific change manner of the temperature may be continuously changed within the preset range, but is not limited thereto, and may also be It is changed at equal intervals within a preset range, and this embodiment does not impose any limitation. Since the preset correspondence relationship is represented by a function relationship, the function relationship is obtained based on the original detection data collected at a temperature that is continuously changed within a preset range, and is obtained by fitting. Therefore, the specific change of the temperature in the thermostat is that the temperature in the thermostat continuously changes within a preset range, but is not limited thereto; the temperature can be recorded in the preset range continuously to record as much data combination as possible of the temperature and the characteristic value. Thus, the accuracy of the curve fitting can be improved to obtain a more accurate functional relationship. While the temperature continuously changes continuously, the processor of the touch detection circuit records the original detection data of the touch screen located in the temperature box at each temperature, that is, the sensing value of all the sensing nodes of the entire touch area of the touch screen, or a partial touch The sensed value of each sensing node in the area.
本实施例中,温箱内温度的预设范围为[-20,60],然而本实施例对此不作任何限制,可以根据电子设备的使用温度范围来设定该预设范围。In this embodiment, the preset temperature of the temperature in the thermostat is [-20, 60]. However, the present embodiment does not impose any limitation on this, and the preset range can be set according to the operating temperature range of the electronic device.
步骤202,根据触摸屏在各温度下的原始检测数据,计算触摸屏在各温度下的特征值。Step 202: Calculate the characteristic value of the touch screen at each temperature according to the original detection data of the touch screen at each temperature.
具体而言,由获取各温度下的触摸屏的触摸区域的各感应节点的感应值来计算触摸屏在各温度下的特征值,请参考图4,为温箱内温度在-20℃至60℃范围内变化时,电子设备的触摸屏特征值的散点图。 Specifically, the characteristic value of the touch screen at each temperature is calculated by acquiring the sensing values of the sensing nodes of the touch area of the touch screen at each temperature. Referring to FIG. 4, the temperature in the temperature box is in the range of -20 ° C to 60 ° C. A scatter plot of the touch screen feature values of the electronic device when the internal changes.
步骤203,根据触摸屏在各温度下的特征值,建立特征值与温度的预设对应关系。Step 203: Establish a preset correspondence relationship between the feature value and the temperature according to the feature value of the touch screen at each temperature.
具体而言,通过曲线拟合的方式可得到温度与特征值的函数关系y=f(x),其中,自变量x为温度,因变量y为触摸屏的特征值,将触摸屏的特征值带入该函数便可以计算出触摸屏当前所处的环境温度。请参考图5,为本实施例实现的拟合曲线。Specifically, the relationship between temperature and eigenvalue y=f(x) can be obtained by curve fitting, wherein the independent variable x is temperature, and the dependent variable y is the characteristic value of the touch screen, and the characteristic value of the touch screen is brought into the This function calculates the ambient temperature at which the touch screen is currently located. Please refer to FIG. 5, which is a fitting curve implemented in this embodiment.
需要说明的是,曲线拟合可以采用全局拟合,也可以采用分段拟合;可以是线性拟合也可以是非线性拟合;本实施中采用的曲线拟合方式为全局非线性拟合,然本实施例对此不作任何限制。It should be noted that the curve fitting may adopt a global fitting or a piecewise fitting; it may be a linear fitting or a nonlinear fitting; the curve fitting method adopted in the present embodiment is a global nonlinear fitting, However, this embodiment does not impose any limitation on this.
特征值与温度的预设对应关系以对照表形式表示,请参考图3:The preset correspondence between the eigenvalue and the temperature is expressed in the form of a comparison table. Please refer to Figure 3:
步骤201,一温箱内的温度在预设范围内变化时,记录位于温箱内的触摸屏在各温度下的原始检测数据。Step 201: When the temperature in an oven changes within a preset range, the original detection data of the touch screen located in the thermostat at each temperature is recorded.
具体而言,将带触摸屏的电子设备放入温箱,温箱内的温度在预设范围内变化;由于是以对照表形式来表示预设对应关系,而对照表是根据预先在预设范围内间隔变化的温度下采集的原始检测数据获得的;因此,温箱内的温度的具体变化方式为温箱内的温度在预设范围内等间隔变化,然不限于此;温度在预设范围内等间隔变化相对于温度连续变化而言,可以在误差可控的范围内减少记录的温度与特征值的数据组合,从而节省实验时间,快速建立对照表;温箱内的温度在预设范围内等间隔变化的同时,触摸检测电路的处理器记录位于温箱内的触摸屏在各温度下的原始检测数据,即,记录触摸屏的全部触摸区域的所有感应节点的感应值,或者部分触摸区域内的各感应节点的感应值。Specifically, the electronic device with the touch screen is placed in the thermostat, and the temperature in the thermostat changes within a preset range; since the preset correspondence is expressed in the form of a comparison table, the comparison table is based on the preset range in advance. The original detection data collected at the temperature of the internal interval is obtained; therefore, the specific variation of the temperature in the thermostat is that the temperature in the thermostat is equally spaced within the preset range, but is not limited thereto; the temperature is in a preset range The internal equal interval change can reduce the data combination of the recorded temperature and the characteristic value within the controllable range of the error, thereby saving the experiment time and quickly establishing the comparison table; the temperature in the thermostat is within the preset range. While the intra-equal interval changes, the processor of the touch detection circuit records the original detection data of the touch screen located in the thermostat at each temperature, that is, the sensing value of all the sensing nodes of the entire touch area of the touch screen, or part of the touch area. The sensed value of each sensor node.
本实施例中,温箱内温度的预设范围为[-20,60],然而本实施例对此不 作任何限制,可以根据电子设备的使用温度范围来设定该预设范围。In this embodiment, the preset temperature of the temperature in the thermostat is [-20, 60], but this embodiment does not With any restrictions, the preset range can be set according to the operating temperature range of the electronic device.
另外,温度的变化间隔可以根据检测温度的精度来设定,本实施例中温度变化间隔为5,然而本实施例对此不作任何限制。In addition, the temperature change interval may be set according to the accuracy of the detected temperature. In this embodiment, the temperature change interval is 5, but this embodiment does not impose any limitation.
步骤202,根据触摸屏在各温度下的原始检测数据,计算触摸屏在各温度下的特征值。Step 202: Calculate the characteristic value of the touch screen at each temperature according to the original detection data of the touch screen at each temperature.
具体而言,由获取各温度下的触摸屏的触摸区域的各感应节点的感应值来计算触摸屏在各温度下的特征值,下表1为温箱内温度在-20℃至60℃范围内变化时,电子设备的触摸屏特征值的表格。Specifically, the characteristic values of the touch screen at each temperature are calculated by acquiring the sensing values of the sensing nodes of the touch area of the touch screen at each temperature. Table 1 below shows the temperature in the temperature box changing within the range of -20 ° C to 60 ° C. A table of touch screen feature values of the electronic device.
表1Table 1
温度temperature 特征值Eigenvalues 温度temperature 特征值Eigenvalues 温度temperature 特征值Eigenvalues
-20-20 20442044 1010 22002200 4040 23102310
-15-15 21042104 1515 22152215 4545 23142314
-10-10 21512151 2020 22362236 5050 23332333
-5-5 21662166 2525 22612261 5555 23522352
00 21702170 3030 22822282 6060 23582358
55 21772177 3535 22932293    
需要说明的是,为了更好的稳定性,本实施例中以获取的触摸屏的触摸区域的各感应节点的感应值的平均值作为特征值,然不限于此,还可以以某个感应节点的原始值作为特征值;或触摸屏上的某个触摸区域的所有感应节点的感应值的最大值或最小值作为特征值;或整个触摸屏上的所有感应节点的感应值的最大值或最小值作为特征值。It should be noted that, for better stability, the average value of the sensing values of the sensing nodes of the touched area of the touch screen is taken as the feature value in the embodiment, but is not limited thereto, and may also be a certain sensing node. The original value is used as the feature value; or the maximum or minimum value of the sensing value of all the sensing nodes of a touch area on the touch screen is used as the feature value; or the maximum or minimum value of the sensing value of all the sensing nodes on the entire touch screen is used as the feature value.
步骤203,根据触摸屏在各温度下的特征值,建立特征值与温度的预设 对应关系。Step 203: Establish a preset of the feature value and the temperature according to the feature value of the touch screen at each temperature. Correspondence relationship.
具体而言,用表1来表示特征值与温度的预设对应关系,从表中获取与当前的触摸屏特征值最接近的特征值,并以该特征值对应的温度作为触摸屏所处的当前环境的温度。Specifically, Table 1 is used to indicate a preset correspondence relationship between the feature value and the temperature, and the feature value closest to the current touch screen feature value is obtained from the table, and the temperature corresponding to the feature value is used as the current environment in which the touch screen is located. temperature.
本实施例相对于第一实施例而言,提供了特征值和温度的预设对应关系的具体建立方式。Compared with the first embodiment, this embodiment provides a specific establishment manner of a preset correspondence relationship between the feature value and the temperature.
本申请第三实施例涉及一种触摸检测电路,请参考图6,触摸检测电路包括:处理器1和存储器2。The third embodiment of the present application relates to a touch detection circuit. Referring to FIG. 6, the touch detection circuit includes a processor 1 and a memory 2.
本实施例中,处理器1连接于一触摸屏3与存储器2,处理器1与存储2可集成在一个触摸控制芯片12中。触摸检测电路还可以包括产生驱动信号的驱动电路和用于检测感应信号的感应电路,以及对应的AD转换、放大、混频等处理电路。In this embodiment, the processor 1 is connected to a touch screen 3 and a memory 2, and the processor 1 and the storage 2 can be integrated in one touch control chip 12. The touch detection circuit may further include a driving circuit for generating a driving signal and a sensing circuit for detecting the sensing signal, and corresponding processing circuits such as AD conversion, amplification, mixing, and the like.
存储器2用于储存特征值和温度的预设对应关系,存储器2可以为一种非易失储存器,特征值和温度的预设对应关系预先存储在非易失储存器中,在触摸屏上电运行的过程中只需要读取该对应关系,无需进行额外复杂的运算,提高了触摸屏检测用户操作的实时性,运算简单。The memory 2 is configured to store a preset correspondence between the feature value and the temperature. The memory 2 can be a non-volatile memory, and the preset correspondence between the feature value and the temperature is pre-stored in the non-volatile memory, and is powered on the touch screen. In the process of running, only the corresponding relationship needs to be read, no additional complicated operation is needed, and the touch screen is detected to detect the real-time operation of the user, and the operation is simple.
具体而言,特征值和温度的预设对应关系的建立方式包括:一温箱内的温度在预设范围内变化时,处理器记录位于所述温箱内的所述触摸屏在各温度下的原始检测数据;所述处理器根据所述触摸屏在所述各温度下的原始检测数据,计算所述触摸屏在所述各温度下的特征值;所述处理器根据所述触摸屏在所述各温度下的特征值,建立所述特征值与温度的预设对应关系。Specifically, the manner in which the preset correspondence between the feature value and the temperature is established includes: when the temperature in an oven changes within a preset range, the processor records the touch screen located in the thermostat at each temperature Original detection data; the processor calculates feature values of the touch screen at the respective temperatures according to original detection data of the touch screen at the respective temperatures; the processor is at the respective temperatures according to the touch screen The lower feature value establishes a preset correspondence relationship between the feature value and the temperature.
在上述的特征值和温度的预设对应关系的建立方式中,将带触摸屏的电 子设备放入温箱,温箱内的温度可以在预设范围内变化,温度具体的变化方式可以是在预设范围内连续变化,然不限于此,还可以是在预设范围内等间隔变化,本实施例对此不作任何限制。其中,特征值和温度的对应关系可以通过函数关系式表示,函数关系式可以根据预先在预设范围内连续变化的温度下采集的原始检测数据,并通过拟合方式获取,此时,温箱内的温度的具体变化方式可以为温箱内的温度在预设范围内连续变化;然不限于此,特征值和温度的对应关系还可以可以通过对照表形式表示,对照表可以根据预先在预设范围内间隔变化的温度下采集的原始检测数据获得,此时,温箱内的温度的具体变化方式可以为温箱内的温度在预设范围内等间隔变化。关于以上两种特征值和温度的对应关系表现形式建立特征值和温度的预设对应关系的具体方法在第二实施例中有详细描述,在此不再赘述。In the manner of establishing the preset correspondence relationship between the feature value and the temperature, the electric power with the touch screen is The sub-device is placed in the thermostat, and the temperature in the thermostat can be changed within a preset range. The specific change of the temperature may be continuous change within the preset range, but is not limited thereto, and may be equally spaced within the preset range. Variations, this embodiment does not impose any limitation on this. Wherein, the correspondence between the eigenvalue and the temperature may be represented by a functional relationship, and the functional relationship may be obtained according to the original detection data collected at a temperature that is continuously changed within a preset range, and obtained by fitting, at this time, the thermostat The specific change of the temperature inside the temperature box may be that the temperature in the thermostat continuously changes within a preset range; however, the correspondence between the characteristic value and the temperature may also be represented by a comparison table form, and the comparison table may be pre-predicted according to The original detection data collected at a temperature in which the interval is varied is obtained. At this time, the specific change of the temperature in the thermostat may be that the temperature in the thermostat is equally changed within a preset range. A specific method for establishing a preset correspondence relationship between the feature values and the temperature is described in detail in the second embodiment, and details are not described herein again.
触摸屏3用于获取触摸屏在当前环境下且处于未触摸状态下的原始检测数据,原始检测数据中包括所述触摸屏的全部触摸区域的所有感应节点的感应值,或者包括部分触摸区域内的各感应节点的感应值。其中,触摸屏可以为电容触摸屏,然不限于此,还可以为电阻触摸屏等,本实施例对此不作任何限制。The touch screen 3 is configured to acquire original detection data of the touch screen in the current environment and in an untouched state, where the original detection data includes the sensing values of all the sensing nodes of the touch area of the touch screen, or includes the sensing in the partial touch area. The sensed value of the node. The touch screen may be a capacitive touch screen, but is not limited thereto, and may be a resistive touch screen or the like. This embodiment does not impose any limitation.
处理器1用于根据原始检测数据计算出触摸屏的当前的特征值,特征值为触摸屏的全部触摸区域的所有感应节点的感应值,或者部分触摸区域内的各感应节点的感应值的平均值或中值,继而可以根据特征值和温度的预设对应关系,获取当前的特征值对应的环境温度。The processor 1 is configured to calculate a current feature value of the touch screen according to the original detection data, where the feature value is an induction value of all the sensing nodes of the touch area of the touch screen, or an average value of the sensing values of the sensing nodes in the partial touch area or The median value can be obtained according to the preset correspondence relationship between the feature value and the temperature, and the ambient temperature corresponding to the current feature value is obtained.
由于第一实施例以及第二实施例与本实施例相互对应,因此本实施例可与第一实施例以及第二实施例互相配合实施。第一实施例以及第二实施例中提到的相关技术细节在本实施例中依然有效,在第一实施例以及第二实施例中所 能达到的技术效果在本实施例中也同样可以实现,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第一实施例以及第二实施例中。Since the first embodiment and the second embodiment correspond to the present embodiment, the present embodiment can be implemented in cooperation with the first embodiment and the second embodiment. The related art details mentioned in the first embodiment and the second embodiment are still effective in the present embodiment, in the first embodiment and the second embodiment. The technical effects that can be achieved are also implemented in this embodiment. In order to reduce the repetition, details are not described herein again. Accordingly, the related art details mentioned in the embodiment can also be applied to the first embodiment and the second embodiment.
本实施例相对于现有技术而言,获取当前环境下触摸屏的特征值,并根据特征值和温度的预设对应关系获取触摸屏当前所处的环境温度,从而能够为针对性的温漂补偿和温漂校正提供基础。Compared with the prior art, the present embodiment obtains the feature value of the touch screen in the current environment, and obtains the current ambient temperature of the touch screen according to the preset correspondence relationship between the feature value and the temperature, so as to be able to compensate for the targeted temperature drift. Temperature drift correction provides the basis.
本申请第四实施例涉及一种电子设备,例如为手机、平板电脑等。请参考图6,电子设备包括触摸屏3以及第四实施例中的触摸检测电路。The fourth embodiment of the present application relates to an electronic device, such as a mobile phone, a tablet computer, or the like. Referring to FIG. 6, the electronic device includes a touch screen 3 and a touch detection circuit in the fourth embodiment.
触摸屏3可以为电容式触摸屏,然不限于此,还可以为电阻触摸屏等,本实施例对此不作任何限制。The touch screen 3 can be a capacitive touch screen. However, it is not limited thereto, and may be a resistive touch screen or the like. This embodiment does not impose any limitation.
本实施例相对于现有技术而言,提供了一种可获取当前环境所处温度的电子设备。Compared with the prior art, this embodiment provides an electronic device that can acquire the temperature of the current environment.
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。 A person skilled in the art can understand that the above embodiments are specific embodiments of the present application, and various changes can be made in the form and details without departing from the spirit and scope of the application. range.

Claims (19)

  1. 一种触摸屏环境温度的检测方法,包括:A method for detecting a temperature of a touch screen environment includes:
    获取触摸屏在当前环境下且处于未触摸状态下的原始检测数据;Obtaining original detection data of the touch screen in the current environment and in an untouched state;
    根据原始检测数据计算出所述触摸屏的当前的特征值;Calculating a current feature value of the touch screen according to the original detection data;
    根据特征值和温度的预设对应关系,获取当前的所述特征值对应的环境温度。Obtaining an ambient temperature corresponding to the current feature value according to a preset correspondence relationship between the feature value and the temperature.
  2. 如权利要求1所述的检测方法,其中,所述特征值与温度的预设对应关系以函数关系式表示。The detecting method according to claim 1, wherein the preset correspondence relationship between the feature value and the temperature is expressed in a functional relationship.
  3. 如权利要求2所述的检测方法,其中,所述函数关系式根据预先在预设范围内连续变化的温度下采集的原始检测数据,并通过拟合方式获取。The detecting method according to claim 2, wherein the function relation is acquired based on original detection data acquired at a temperature that is continuously changed in a preset range in advance, and is obtained by fitting.
  4. 如权利要求1所述的检测方法,其中,所述特征值与温度的预设对应关系以对照表形式表示。The detecting method according to claim 1, wherein the preset correspondence relationship between the feature value and the temperature is expressed in the form of a look-up table.
  5. 如权利要求4所述的检测方法,其中,所述对照表根据预先在预设范围内间隔变化的温度下采集的原始检测数据获得。The detecting method according to claim 4, wherein the comparison table is obtained based on original detection data acquired in advance at a temperature varying in intervals within a preset range.
  6. 如权利要求1至5中任一项所述的检测方法,其中,所述原始检测数据中包括所述触摸屏的全部触摸区域的所有感应节点的感应值,或者包括部分触摸区域内的各感应节点的感应值。The detecting method according to any one of claims 1 to 5, wherein the original detection data includes sensing values of all sensing nodes of all touch regions of the touch screen, or includes sensing nodes in a partial touch region. Inductive value.
  7. 如权利要求6所述的检测方法,其中,所述特征值为所述各感应值的平均值或者中值。The detecting method according to claim 6, wherein the characteristic value is an average value or a median value of the respective sensing values.
  8. 如权利要求1所述的检测方法,其中,所述特征值和温度的预设对应关系的建立方式包括:The detecting method according to claim 1, wherein the manner of establishing the preset correspondence between the feature value and the temperature comprises:
    一温箱内的温度在预设范围内变化时,记录位于所述温箱内的所述触摸屏 在各温度下的原始检测数据;Recording the touch screen located in the incubator when the temperature in an incubator changes within a preset range Raw test data at each temperature;
    根据所述触摸屏在所述各温度下的原始检测数据,计算所述触摸屏在所述各温度下的特征值;Calculating a feature value of the touch screen at the respective temperatures according to the original detection data of the touch screen at the respective temperatures;
    根据所述触摸屏在所述各温度下的特征值,建立所述特征值与温度的预设对应关系。And establishing a preset correspondence relationship between the feature value and the temperature according to the feature value of the touch screen at the respective temperatures.
  9. 一种触摸检测电路,包括:处理器和存储器,所述处理器连接于一触摸屏与所述存储器;A touch detection circuit includes: a processor and a memory, the processor being coupled to a touch screen and the memory;
    所述存储器用于储存特征值和温度的预设对应关系;The memory is configured to store a preset correspondence relationship between the feature value and the temperature;
    所述触摸屏用于获取所述触摸屏在当前环境下且处于未触摸状态下的原始检测数据;The touch screen is configured to acquire original detection data of the touch screen in a current environment and in an untouched state;
    所述处理器用于根据所述原始检测数据计算出所述触摸屏的当前的特征值,并根据所述特征值和温度的预设对应关系,获取当前的所述特征值对应的环境温度。The processor is configured to calculate a current feature value of the touch screen according to the original detection data, and obtain an ambient temperature corresponding to the current feature value according to the preset correspondence between the feature value and the temperature.
  10. 如权利要求9所述的触摸检测电路,其中,所述特征值与温度的预设对应关系以函数关系式表示。The touch detection circuit according to claim 9, wherein the preset correspondence relationship between the feature value and the temperature is expressed in a functional relationship.
  11. 如权利要求10所述的触摸检测电路,其中,所述函数关系式根据预先在预设范围内连续变化的温度下采集的原始检测数据,并通过拟合方式获取。The touch detection circuit according to claim 10, wherein the functional relationship is acquired based on original detection data acquired at a temperature that is continuously changed within a preset range in advance, and is obtained by fitting.
  12. 如权利要求9所述的触摸检测电路,其中,所述特征值与温度的预设对应关系以对照表形式表示。The touch detection circuit according to claim 9, wherein the preset correspondence relationship between the feature value and the temperature is expressed in the form of a look-up table.
  13. 如权利要求12所述的触摸检测电路,其中,所述对照表根据预先在预设范围内间隔变化的温度下采集的原始检测数据获得。The touch detection circuit according to claim 12, wherein said look-up table is obtained based on original detection data acquired in advance at temperatures varying in intervals within a preset range.
  14. 如权利要求9至13中任一项所述的触摸检测电路,其中,所述原始检 测数据中包括所述触摸屏的全部触摸区域的所有感应节点的感应值,或者包括部分触摸区域内的各感应节点的感应值。The touch detection circuit according to any one of claims 9 to 13, wherein the original inspection The measured data includes the sensing values of all the sensing nodes of the touch area of the touch screen, or the sensing values of the sensing nodes in the partial touch area.
  15. 如权利要求14所述的触摸检测电路,其中,所述特征值为所述各感应值的平均值或者中值。The touch detection circuit according to claim 14, wherein said characteristic value is an average value or a median value of said respective sensing values.
  16. 如权利要求9所述的触摸检测电路,其中,所述特征值和温度的预设对应关系的建立方式包括:The touch detection circuit of claim 9, wherein the manner in which the preset correspondence between the feature value and the temperature is established comprises:
    一温箱内的温度在预设范围内变化时,所述处理器记录位于所述温箱内的所述触摸屏在各温度下的原始检测数据;The processor records original detection data of the touch screen located in the temperature box at each temperature when the temperature in an oven changes within a preset range;
    所述处理器根据所述触摸屏在所述各温度下的原始检测数据,计算所述触摸屏在所述各温度下的特征值;The processor calculates a feature value of the touch screen at each temperature according to the original detection data of the touch screen at the respective temperatures;
    所述处理器根据所述触摸屏在所述各温度下的特征值,建立所述特征值与温度的预设对应关系。The processor establishes a preset correspondence relationship between the feature value and the temperature according to the feature value of the touch screen at the respective temperatures.
  17. 如权利要求9所述的触摸检测电路,其中,所述处理器与所述存储器集成在一个触摸控制芯片中。The touch detection circuit of claim 9, wherein said processor and said memory are integrated in a touch control chip.
  18. 一种电子设备,包括:触摸屏以及权利要求9至17中任一项所述的触摸检测电路。An electronic device comprising: a touch screen and the touch detection circuit of any one of claims 9 to 17.
  19. 如权利要求18所述的电子设备,其中,所述触摸屏为电容触摸屏。 The electronic device of claim 18, wherein the touch screen is a capacitive touch screen.
PCT/CN2017/091724 2017-07-04 2017-07-04 Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen WO2019006666A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780000620.7A CN110337629A (en) 2017-07-04 2017-07-04 The detection method of the environment temperature of touch detection circuit, electronic equipment and touch screen
PCT/CN2017/091724 WO2019006666A1 (en) 2017-07-04 2017-07-04 Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/091724 WO2019006666A1 (en) 2017-07-04 2017-07-04 Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen

Publications (1)

Publication Number Publication Date
WO2019006666A1 true WO2019006666A1 (en) 2019-01-10

Family

ID=64950461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/091724 WO2019006666A1 (en) 2017-07-04 2017-07-04 Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen

Country Status (2)

Country Link
CN (1) CN110337629A (en)
WO (1) WO2019006666A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929419A (en) * 2011-08-10 2013-02-13 深圳市顶星数码网络技术有限公司 Automatic touch screen calibrating method, automatic touch screen calibrating system and automatic touch screen calibrating equipment
CN104062326A (en) * 2013-03-22 2014-09-24 联想(北京)有限公司 Environment detection method and device
CN105549701A (en) * 2015-12-09 2016-05-04 广东欧珀移动通信有限公司 Temperature compensation method and device for mobile terminal and mobile terminal
CN105912159A (en) * 2016-04-06 2016-08-31 宸鸿科技(厦门)有限公司 Pressure sensing method and system thereof

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100368974C (en) * 2006-01-24 2008-02-13 中国电子科技集团公司第五十五研究所 Method and device for automatically removing temperature difference drift of contact coordinate for touch screen
CN102880366B (en) * 2012-08-29 2015-08-05 北京集创北方科技有限公司 A kind of capacitive touch screen temperature drift characteristic detection method and detection system
KR101388699B1 (en) * 2012-11-22 2014-04-24 삼성전기주식회사 Method and apparatus for sensing touch input
CN102968217B (en) * 2012-12-07 2016-01-20 深圳市汇顶科技股份有限公司 The datum renewal method of touch-screen, system and touch control terminal
JP2015200720A (en) * 2014-04-04 2015-11-12 株式会社ジャパンディスプレイ Display device, temperature information acquisition device, and temperature information acquisition method
JP2016091052A (en) * 2014-10-29 2016-05-23 京セラ株式会社 Electronic device
US10048813B2 (en) * 2014-12-19 2018-08-14 Salt International Corp. Capacitive sensing device and capacitive sensing method
CN104503620A (en) * 2014-12-31 2015-04-08 深圳市华星光电技术有限公司 Touch screen driving circuit, touch screen and electronic terminal
CN105653096A (en) * 2015-12-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Touch screen firmware parameter adjusting method and device and terminal
CN105807998B (en) * 2016-03-09 2019-01-25 周奇 Capacitance touch screen bearing calibration and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929419A (en) * 2011-08-10 2013-02-13 深圳市顶星数码网络技术有限公司 Automatic touch screen calibrating method, automatic touch screen calibrating system and automatic touch screen calibrating equipment
CN104062326A (en) * 2013-03-22 2014-09-24 联想(北京)有限公司 Environment detection method and device
CN105549701A (en) * 2015-12-09 2016-05-04 广东欧珀移动通信有限公司 Temperature compensation method and device for mobile terminal and mobile terminal
CN105912159A (en) * 2016-04-06 2016-08-31 宸鸿科技(厦门)有限公司 Pressure sensing method and system thereof

Also Published As

Publication number Publication date
CN110337629A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
US10234992B2 (en) Force-sensitive touch sensor compensation
US20190339313A1 (en) Using electrical resistance to estimate force on an electrode during temperature changes
EP2975502B1 (en) Adjustment of touch sensing stimulation voltage levels based on touch performance
US9552111B2 (en) Touch sensing device and method of identifying a touched position
TW201335811A (en) Touchscreen and touch display device using the touchscreen
CN105531650A (en) Attenuator circuit of a capacitance-sensing circuit
WO2019006667A1 (en) Electronic device, touch detection circuit, and method for updating reference value of touchscreen
CN107817925B (en) Method for adjusting baseline value of capacitive touch pad
TW201636790A (en) Mode distinguishing method, touch-point locating method and touch control circuit
KR20160142774A (en) Electronic apparatus, control method therefor, and storage medium
TWI491859B (en) Method of detecting touch force and detector
Lin et al. Tracking touched trajectory on capacitive touch panels using an adjustable weighted prediction covariance matrix
TW201502928A (en) Touch position detecting method for touch panel
TW201624242A (en) Capacitive sensor device and capacitive sensor method
TWI537807B (en) Capacitive sensor device and capacitive sensor method
TWI498784B (en) Driving method for touch panel and touch control system
TWI502427B (en) Touch device and measuring voltage dynamic adjustment method thereof
WO2018085991A1 (en) Method for determining change in initial distance of sensing electrode
WO2019006666A1 (en) Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen
TWI526951B (en) Capacitive touch system and gain control method thereof
CN106610313A (en) Touch screen terminal and weight measurement method
TWM537259U (en) Three dimensional touch control apparatus
TW201604755A (en) Capacitive finger navigation device with hybrid mode and operating method thereof
TWI412961B (en) Apparatus and method for controlling touch screen
TWI608400B (en) Method for touch detection

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: 17916928

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: 17916928

Country of ref document: EP

Kind code of ref document: A1