WO2016065712A1 - Touch screen control method and touch screen apparatus - Google Patents

Touch screen control method and touch screen apparatus Download PDF

Info

Publication number
WO2016065712A1
WO2016065712A1 PCT/CN2014/094729 CN2014094729W WO2016065712A1 WO 2016065712 A1 WO2016065712 A1 WO 2016065712A1 CN 2014094729 W CN2014094729 W CN 2014094729W WO 2016065712 A1 WO2016065712 A1 WO 2016065712A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch screen
touch
pressure
speed
touch object
Prior art date
Application number
PCT/CN2014/094729
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 深圳市汇顶科技股份有限公司
Publication of WO2016065712A1 publication Critical patent/WO2016065712A1/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/048Interaction techniques based on graphical user interfaces [GUI]
    • 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
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04103Manufacturing, i.e. details related to manufacturing processes specially suited for touch sensitive devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04105Pressure sensors for measuring the pressure or force exerted on the touch surface without providing the touch position

Definitions

  • m is a constant.
  • F is a variable amount before the finger touches the screen until it stops moving, it is based on:
  • the process of tapping the finger on the touch screen is to gradually approach the touch screen until it is in contact with the touch screen.
  • the capacitance between the touch screen (the trace on the touch screen) and the finger begins to change until the finger touches the touch screen, and the capacitance on a pair (or pairs) of the XY lines on the touch screen is no longer A change has occurred.
  • m is a constant.
  • F is a variable amount before the finger touches the screen until it stops moving, it is based on:
  • the second pressure acquiring unit is configured to: when the touch object clicks on the touch screen, detect a contact area of the touch object with the touch screen when the touch object clicks the touch screen, according to the pressure of the touch object and the contact area of the touch screen when the touch object clicks the touch screen, Determining the correspondence between the pressure and the contact area; detecting the contact area between the touch object and the touch screen when the touch object continuously contacts the touch screen; calculating the touch object according to the contact area between the touch object and the touch screen and the correspondence between the pressure and the contact area Pressure on the touch screen.

Landscapes

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

Abstract

Disclosed are a touch screen control method and a touch screen apparatus. The touch screen control method comprises the steps of: when a touch object clicks a touch screen, detecting a capacitance change, and calculating moving speed of the touch object according to the capacitance change; calculating pressure when the touch object clicks the touch screen according to the speed; and performing a corresponding operation according to the pressure. Consequently, detection of speed and pressure when a finger clicks a touch screen can be realized on the basis of an existing capacitive touch screen without adding any hardware, simplicity in realization and low costs are achieved, a third dimension is provided for man-machine interaction, more plentiful interaction modes are provided for a touch device, and software on the touch device can realize more plentiful functions.

Description

触摸屏控制方法和触摸屏装置Touch screen control method and touch screen device 技术领域Technical field
本发明涉及通信技术领域,尤其是涉及一种触摸屏控制方法和触摸屏和装置。The present invention relates to the field of communications technologies, and in particular, to a touch screen control method and a touch screen and device.
背景技术Background technique
电容式触摸屏已广泛应用于手机、平板等移动终端,其方便的操作方式深受用户欢迎。现有技术中,触摸屏的控制方法,主要通过识别手指点击或触摸触摸屏的位置坐标(手指触摸的X、Y坐标),进而执行相应的操作。为了进一步丰富触摸屏的控制功能,现有技术中提出了通过进一步检测手指对触摸屏的压力,使得传统的人机交互由二维(手指触摸的X、Y坐标)变为三维(手指触摸的X、Y坐标加上手指按压触摸屏的压力)的技术方案。Capacitive touch screens have been widely used in mobile phones, tablets and other mobile terminals, and their convenient operation mode is very popular among users. In the prior art, the control method of the touch screen mainly performs a corresponding operation by recognizing a finger click or touching a position coordinate of the touch screen (X, Y coordinates of a finger touch). In order to further enrich the control function of the touch screen, it is proposed in the prior art to further detect the pressure of the finger on the touch screen, so that the traditional human-computer interaction is changed from two-dimensional (X, Y coordinates of the finger touch) to three-dimensional (X, touched by the finger) The technical solution of the Y coordinate plus the pressure of the finger pressing the touch screen).
其中一种方案,提出在触摸屏上采用两套驱动和一套接收,形成两套驱动和接收组合,其中第一套驱动和接收组合用于触控检测,第二套驱动和接收组合用于检测压力。在第二套驱动的上下两面加入方形或半球形的填充层,称为弹簧膜。在触摸屏受到压力时,由于弹簧膜存在中空部分,所以第二套驱动会变形,通过检测第二套驱动与接收之间的电容变化便可检测出压力。One of the solutions proposes to use two sets of driving and one set of receiving on the touch screen to form two sets of driving and receiving combinations, wherein the first set of driving and receiving combinations is used for touch detection, and the second set of driving and receiving combinations is used for detecting. pressure. A square or hemispherical filling layer, called a spring film, is added to the upper and lower sides of the second set of drives. When the touch screen is under pressure, since the spring film has a hollow portion, the second set of driving is deformed, and the pressure can be detected by detecting a change in capacitance between the second set of driving and receiving.
另一种方案,提出在触摸屏四周加入至少3个压力传感器,根据压力传感器的检测值计算压力位置和压力大小。In another solution, it is proposed to add at least three pressure sensors around the touch screen, and calculate the pressure position and the pressure according to the detected value of the pressure sensor.
以上方案存在以下问题:The above solutions have the following problems:
1)工程实现问题,第一种方案需要修改目前触摸屏的制造工艺,而且在增加一层后,难以集成在超薄手机当中;第二种在触摸屏四个角落增加传感器,目前工艺难以实现,也不利于手机集成。1) Engineering implementation problems, the first solution needs to modify the current touch screen manufacturing process, and after adding a layer, it is difficult to integrate into ultra-thin mobile phones; the second is to add sensors in the four corners of the touch screen, the current process is difficult to achieve, also Not conducive to mobile phone integration.
2)从成本上看,以上两种方案都需要更新现有设备和增加零部件,存在成本高以及工艺不稳定等问题。2) From the perspective of cost, both of the above solutions need to update existing equipment and increase parts, and there are problems such as high cost and unstable process.
发明内容Summary of the invention
本发明的主要目的在于提供一种触摸屏控制方法和触摸屏装置,旨在以 较低的成本、简单的方案实现对触摸屏的压力检测,进而为触控设备提供更加丰富的交互方式。A main object of the present invention is to provide a touch screen control method and a touch screen device, which are intended to The lower cost and simple solution realizes the pressure detection of the touch screen, thereby providing a richer interaction mode for the touch device.
为达以上目的,本发明提出一种触摸屏控制方法,包括步骤:To achieve the above objective, the present invention provides a touch screen control method, including the steps of:
当触控物点击触摸屏时,检测电容变化,根据所述电容变化计算所述触控物移动的速度;When the touch object clicks on the touch screen, detecting a change in capacitance, and calculating a speed at which the touch object moves according to the change in the capacitance;
根据所述速度计算所述触控物点击触摸屏的压力;Calculating a pressure of the touch object to touch the touch screen according to the speed;
根据所述压力的大小执行相应的操作。A corresponding operation is performed according to the magnitude of the pressure.
优选地,所述根据电容变化计算所述触控物移动的速度包括:Preferably, the calculating the speed of movement of the touch object according to the change of the capacitance comprises:
获取电容从最小值变化到最大值所用的时间,以及电容从最小值开始变化时所述触控物与触摸屏的距离;Obtaining the time taken for the capacitance to change from the minimum value to the maximum value, and the distance between the touch object and the touch screen when the capacitance changes from the minimum value;
根据所述时间和距离计算所述触控物移动的速度。Calculating the speed of movement of the touch object according to the time and distance.
优选地,所述根据速度计算所述触控物点击触摸屏的压力包括:Preferably, the calculating the pressure of the touch object to touch the touch screen according to the speed comprises:
根据所述速度和公式mV=Ft,计算所述触控物点击触摸屏的压力;其中m为触控物的质量,V为触控物移动的速度,F为触控物点击触摸屏的压力,t为触控物接触触摸屏到停止移动的时间。Calculating the pressure of the touch object to touch the touch screen according to the speed and the formula mV=Ft; wherein m is the quality of the touch object, V is the speed at which the touch object moves, and F is the pressure of the touch object to touch the touch screen, t The time when the touch object touches the touch screen to stop moving.
优选地,所述方法还包括:Preferably, the method further includes:
检测所述触控物点击触摸屏时与触摸屏的接触面积,根据所述触控物点击触摸屏的压力和所述触控物点击触摸屏时与触摸屏的接触面积,确定所述压力与接触面积的对应关系;Detecting a contact area of the touch object with the touch screen when the touch screen is clicked, determining a correspondence between the pressure and the contact area according to the pressure of the touch object clicking the touch screen and the contact area of the touch object with the touch screen when the touch object is clicked ;
当所述触控物持续接触触摸屏时,检测所述触控物与触摸屏的接触面积;Detecting a contact area of the touch object with the touch screen when the touch object continuously contacts the touch screen;
根据所述接触面积和所述压力与接触面积的对应关系,计算所述触控物对触摸屏的压力;Calculating a pressure of the touch object on the touch screen according to the contact area and the corresponding relationship between the pressure and the contact area;
根据所述触控物对触摸屏的压力的大小执行相应的操作。A corresponding operation is performed according to the magnitude of the pressure of the touch object on the touch screen.
优选地,所述检测所述触控物与触摸屏的接触面积包括:检测所述触控物按压触摸屏或在触摸屏上滑动时与触摸屏的接触面积。Preferably, the detecting the contact area of the touch object with the touch screen comprises: detecting a contact area of the touch object with the touch screen when pressing the touch screen or sliding on the touch screen.
本发明同时提出一种触摸屏装置,包括触摸屏控制器和处理器,其中:The invention also proposes a touch screen device comprising a touch screen controller and a processor, wherein:
触摸屏控制器,用于当触控物点击触摸屏时,检测电容变化,根据所述电容变化计算所述触控物移动的速度,根据所述速度计算所述触控物点击触摸屏的压力;a touch screen controller is configured to detect a change in capacitance when the touch object clicks on the touch screen, calculate a speed of movement of the touch object according to the change in the capacitance, and calculate a pressure of the touch object to click on the touch screen according to the speed;
优选地,所述触摸屏控制器包括速度获取单元,所述速度获取单元用于:获取电容从最小值变化到最大值所用的时间,以及电容从最小值开始变化时 所述触控物与触摸屏的距离,根据所述时间和距离计算所述触控物移动的速度。Preferably, the touch screen controller includes a speed acquisition unit configured to: acquire a time taken for the capacitance to change from a minimum value to a maximum value, and when the capacitance changes from a minimum value a distance between the touch object and the touch screen, and calculating a speed at which the touch object moves according to the time and the distance.
优选地,所述控制器包括第一压力获取单元,所述第一压力获取单元用于:根据所述速度和公式mV=Ft,计算所述触控物点击触摸屏的压力;其中m为触控物的质量,V为触控物移动的速度,F为触控物点击触摸屏的压力,t为触控物接触触摸屏到停止移动的时间。Preferably, the controller includes a first pressure acquiring unit, and the first pressure acquiring unit is configured to: calculate a pressure of the touch object to touch the touch screen according to the speed and the formula mV=Ft; wherein m is a touch The quality of the object, V is the speed at which the touch object moves, F is the pressure at which the touch object clicks on the touch screen, and t is the time at which the touch object touches the touch screen to stop moving.
优选地,所述触摸屏控制器包括第二压力获取单元,所述第二压力获取单元用于:当所述触控物点击触摸屏后,检测所述触控物点击触摸屏时与触摸屏的接触面积,根据所述触控物点击触摸屏的压力和所述触控物点击触摸屏时与触摸屏的接触面积,确定所述压力与接触面积的对应关系;当所述触控物持续接触触摸屏时,检测所述触控物与触摸屏的接触面积;根据所述接触面积和所述压力与接触面积的对应关系,计算所述触控物对触摸屏的压力;Preferably, the touch screen controller includes a second pressure acquiring unit, and the second pressure acquiring unit is configured to: when the touch object touches the touch screen, detect a contact area of the touch object with the touch screen when the touch object touches the touch screen, Determining a correspondence between the pressure and the contact area according to a pressure at which the touch object clicks on the touch screen and a contact area of the touch object with the touch screen; and when the touch object continuously contacts the touch screen, detecting the a contact area of the touch object and the touch screen; calculating a pressure of the touch object on the touch screen according to the contact area and the corresponding relationship between the pressure and the contact area;
所述处理器用于:根据所述触控物对触摸屏的压力的大小执行相应的操作。The processor is configured to perform a corresponding operation according to a magnitude of pressure of the touch object on the touch screen.
优选地,所述第二压力获取单元用于:检测所述触控物按压触摸屏或在触摸屏上滑动时与触摸屏的接触面积。Preferably, the second pressure acquiring unit is configured to detect a contact area with the touch screen when the touch object presses the touch screen or slides on the touch screen.
本发明还提出一种触摸屏控制方法,包括步骤:The invention also provides a touch screen control method, comprising the steps of:
当触控物点击触摸屏时,检测电容变化,根据所述电容变化计算所述触控物移动的速度;When the touch object clicks on the touch screen, detecting a change in capacitance, and calculating a speed at which the touch object moves according to the change in the capacitance;
根据所述速度的大小执行相应的操作。The corresponding operation is performed according to the magnitude of the speed.
本发明所提供的一种触摸屏控制方法,通过检测电容变化,根据电容变化计算触控物移动的速度,根据触控物移动的速度计算触控物点击触摸屏的压力,最后根据压力大小执行相应的操作。从而,在现有的电容式触摸屏的基础上,无需增加任何硬件,即可实现手指点击触摸屏的速度和压力的检测,实现简单且成本较低,为人机交互提供了第三个维度,为触控设备提供了更为丰富的交互方式,有利于触控设备上的软件实现更为丰富的功能。The touch screen control method provided by the present invention calculates the speed of the touch object according to the change of the capacitance by detecting the change of the capacitance, calculates the pressure of the touch object to touch the touch screen according to the speed of the movement of the touch object, and finally performs the corresponding according to the pressure. operating. Therefore, on the basis of the existing capacitive touch screen, the speed and pressure detection of the finger click touch screen can be realized without adding any hardware, which is simple and low in cost, and provides a third dimension for human-computer interaction. The control device provides a richer interaction mode, which is beneficial to the software on the touch device to achieve richer functions.
附图说明DRAWINGS
图1是本发明的触摸屏控制方法第一实施例的流程图;1 is a flow chart of a first embodiment of a touch screen control method of the present invention;
图2是本发明实施例中触摸屏的走线示意图;2 is a schematic diagram of a trace of a touch screen in an embodiment of the present invention;
图3是本发明实施例中触控物与触摸屏之间的电容与距离的函数图; 3 is a function diagram of capacitance and distance between a touch object and a touch screen in an embodiment of the present invention;
图4是本发明的触摸屏控制方法第二实施例的流程图;4 is a flow chart of a second embodiment of the touch screen control method of the present invention;
图5是本发明的触摸屏控制方法第三实施例的流程图;Figure 5 is a flow chart showing a third embodiment of the touch screen control method of the present invention;
图6是本发明实施例中压力与接触面积的函数图;Figure 6 is a graph showing the relationship between pressure and contact area in an embodiment of the present invention;
图7是本发明的触摸屏装置第一实施例的模块示意图;Figure 7 is a block diagram showing a first embodiment of the touch screen device of the present invention;
图8是本发明的触摸屏装置第二实施例的模块示意图;Figure 8 is a block diagram showing a second embodiment of the touch screen device of the present invention;
图9是本发明的触摸屏装置第三实施例的模块示意图。Figure 9 is a block diagram showing a third embodiment of the touch screen device of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参见图1,提出本发明的触摸屏控制方法第一实施例,所述触摸屏控制方法包括以下步骤:Referring to FIG. 1, a first embodiment of a touch screen control method of the present invention is proposed. The touch screen control method includes the following steps:
步骤S10:触控物点击触摸屏时,检测电容变化,根据电容变化计算触控物移动的速度Step S10: When the touch object clicks on the touch screen, the capacitance change is detected, and the speed of the touch object is calculated according to the change of the capacitance.
所述触控物为能够在触摸屏上进行触控操作的任意物件,通常为用户的手指,以下不做特别说明时,手指均指代触控物。The touch object is any object that can perform a touch operation on the touch screen, and is usually a user's finger. When not specifically described below, the finger refers to the touch object.
如图2所示,触摸屏上包含两路走线,分别为Yn和Xm,其中一路是驱动信号走线,另一路是感应走线,驱动信号走线和感应走线都有若干条。本发明所使用的触摸屏与现在市面上常使用的触摸屏结构一致,只是具有更高分辨率,即在同样大小的触摸屏上具有更多的X、Y走线。但如果对检测精度要求较低,也可以直接使用低分辨率的触摸屏。As shown in Figure 2, the touch screen includes two traces, Yn and Xm, one of which is the drive signal trace, the other is the induction trace, and there are several drive signal traces and induction traces. The touch screen used in the present invention is consistent with the touch screen structure commonly used in the market, but has a higher resolution, that is, has more X, Y traces on the same size touch screen. However, if the detection accuracy is low, you can also use the low-resolution touch screen directly.
手指点击触摸屏的过程,是逐渐靠近触摸屏直至与触摸屏接触。当手指靠近触摸屏到一定距离时,触摸屏(触摸屏上的走线)与手指之间的电容开始发生变化,直至手指触摸到触摸屏时,触摸屏上某对(或多对)XY线上的电容不再发生变化。The process of tapping the finger on the touch screen is to gradually approach the touch screen until it is in contact with the touch screen. When the finger approaches the touch screen to a certain distance, the capacitance between the touch screen (the trace on the touch screen) and the finger begins to change until the finger touches the touch screen, and the capacitance on a pair (or pairs) of the XY lines on the touch screen is no longer A change has occurred.
当手指在逐渐靠近触摸屏时,手指与触摸屏之间的电容和手指与触摸屏之间的距离存在以下关系:When the finger is gradually approaching the touch screen, the capacitance between the finger and the touch screen and the distance between the finger and the touch screen have the following relationship:
C=aH2+bH+d      (1)C=aH 2 +bH+d (1)
其中,C为手指与触摸屏之间的电容,H为手指与触摸屏之间的间距, a、b、d为常数,与触摸屏的走线相关,其中a和b为负数。式(1)的函数图如图3所示,随着手指与触摸屏逐渐靠近,手指与触摸屏之间的电容逐渐增大,直至手指接触触摸屏即H=0时,电容达到最大值d;当手指远离触摸屏时,电容越来越小,直至趋近于0。因此,当触摸屏装置具有较高报点率时(如200Hz),则根据式(1)中手指与触摸屏之间的电容和距离的关系,以及手指点击触摸屏过程中电容的变化来计算触控物移动的速度。Where C is the capacitance between the finger and the touch screen, and H is the distance between the finger and the touch screen. a, b, and d are constants related to the trace of the touch screen, where a and b are negative numbers. The function diagram of equation (1) is shown in Figure 3. As the finger and the touch screen gradually approach, the capacitance between the finger and the touch screen gradually increases until the finger touches the touch screen, that is, H=0, the capacitance reaches the maximum value d; When you are away from the touch screen, the capacitance gets smaller and smaller until it approaches zero. Therefore, when the touch screen device has a higher reporting rate (eg, 200 Hz), the touch object is calculated according to the relationship between the capacitance and the distance between the finger and the touch screen in the formula (1), and the change in the capacitance during the finger click on the touch screen. The speed of movement.
具体的,在手指点击触摸屏过程中,当电容从最小值开始变化时,开启计时器开始计时,当电容从最小值变化到最大值时(触摸屏上某对XY走线上的电容不再发生变化时,说明此时手指已触摸到触摸屏),计时结束,获取电容从最小值变化到最大值所用的时间t。而对于确定的触摸屏,电容从最小值开始变化时手指与触摸屏的距离h是恒定的常量,因此根据公式h=Vt,得到手指在点击触摸屏过程中的移动速度V=h/t。Specifically, when the finger touches the touch screen, when the capacitance starts to change from the minimum value, the timer is started to start timing, and when the capacitance changes from the minimum value to the maximum value (the capacitance of a pair of XY traces on the touch screen no longer changes). At the moment, it indicates that the finger has touched the touch screen at this time, and the timing ends, and the time t for changing the capacitance from the minimum value to the maximum value is acquired. For a certain touch screen, when the capacitance changes from the minimum value, the distance h between the finger and the touch screen is a constant constant. Therefore, according to the formula h=Vt, the moving speed V=h/t of the finger during the click of the touch screen is obtained.
在某些实施例中,也可以在电容开始变化到变化到最大值期间的任意时刻开始计时,并根据该时刻的电容值和式(1)计算出此刻手指距离触摸屏距离,同样可以计算出移动速度。In some embodiments, it is also possible to start timing at any time during which the capacitance starts to change to the maximum value, and calculate the distance of the finger from the touch screen at the moment according to the capacitance value at the moment and the formula (1), and the movement can also be calculated. speed.
步骤S11:根据触控物移动的速度的大小执行相应的操作Step S11: Perform corresponding operations according to the speed of the movement of the touch object
具体实现上,可以建立速度大小与操作指令的对应关系,不同的速度值对应不同的操作指,触摸屏装置可以仅根据速度大小执行相应的操作,也可以结合手指点击触摸屏的位置坐标来执行相应的操作。例如,在打字时,手指正常速度点击触摸屏则输出小写字母,快速点击触摸屏则输出大写字母。In a specific implementation, a corresponding relationship between the speed and the operation instruction may be established, and different speed values correspond to different operation fingers, and the touch screen device may perform corresponding operations only according to the speed, or may perform corresponding operations according to the position coordinates of the finger click on the touch screen. operating. For example, when typing, the normal speed of the finger clicks on the touch screen to output lowercase letters, and the quick touch on the touch screen outputs uppercase letters.
参见图4,提出本发明的触摸屏控制方法第二实施例,所述触摸屏控制方法包括以下步骤:Referring to FIG. 4, a second embodiment of a touch screen control method of the present invention is proposed. The touch screen control method includes the following steps:
步骤S20:触控物点击触摸屏时,检测电容变化,根据电容变化计算触控物移动的速度Step S20: when the touch object clicks on the touch screen, the capacitance change is detected, and the speed of the touch object is calculated according to the change of the capacitance.
本步骤S20与第一实施例中的步骤S10相同,在此不再赘述。This step S20 is the same as step S10 in the first embodiment, and details are not described herein again.
步骤S21根据触控物移动的速度计算触控物点击触摸屏的压力Step S21 calculates the pressure of the touch object to touch the touch screen according to the speed at which the touch object moves.
在手指刚接触触摸屏到手指停止移动时,根据物理定律,手指移动的速度与手指点击触摸屏的压力满足以下关系:When the finger just touches the touch screen until the finger stops moving, according to the laws of physics, the speed at which the finger moves and the pressure at which the finger clicks on the touch screen satisfy the following relationship:
mV=Ft        (2)mV=Ft (2)
其中,m为手指的质量,V为手指移动的速度,F为手指点击触摸屏的压力,t为手指接触屏幕到手指停止移动的时间。 Where m is the mass of the finger, V is the speed at which the finger moves, F is the pressure at which the finger clicks on the touch screen, and t is the time at which the finger touches the screen until the finger stops moving.
对于同一手指(即同一触控物),m为常量。虽然F在手指接触屏幕到停止移动前是个变化的量,但根据:For the same finger (ie the same touch object), m is a constant. Although F is a variable amount before the finger touches the screen until it stops moving, it is based on:
Figure PCTCN2014094729-appb-000001
Figure PCTCN2014094729-appb-000001
其中
Figure PCTCN2014094729-appb-000002
为平均压力,在整个按压过程中为恒量,同时时间t与速度成反比。由此可得,手指点击触摸屏的压力F与手指移动的速度V近似成正比,即二者成正相关关系。从而根据速度V可以得出手指点击屏幕的压力F的相对大小。
among them
Figure PCTCN2014094729-appb-000002
For average pressure, it is constant throughout the pressing process, while time t is inversely proportional to speed. Therefore, the pressure F of the finger clicking on the touch screen is approximately proportional to the speed V of the finger movement, that is, the two are positively correlated. Thus, the relative magnitude of the pressure F of the finger clicking on the screen can be derived from the speed V.
步骤S22:根据触控物点击触摸屏的压力的大小执行相应的操作Step S22: performing a corresponding operation according to the magnitude of the pressure of the touch object clicking the touch screen
具体实现上,可以建立压力大小与操作指令的对应关系,不同的压力值对应不同的操作指令,触摸屏装置可以仅根据压力大小执行相应的操作,也可以结合手指点击触摸屏的位置坐标来执行相应的操作。例如,在打字时,手指轻轻点击触摸屏则输出小写字母,用力点击触摸屏时则输出大写字母。In a specific implementation, a correspondence between a pressure magnitude and an operation command may be established, and different pressure values correspond to different operation commands, and the touch screen device may perform corresponding operations only according to the magnitude of the pressure, or may perform corresponding operations according to the position coordinates of the finger click on the touch screen. operating. For example, when typing, the finger taps the touch screen to output lowercase letters, and when the touch screen is pressed hard, the uppercase letters are output.
参见图5,提出本发明的触摸屏控制方法第三实施例,所述触摸屏控制方法包括以下步骤:Referring to FIG. 5, a third embodiment of a touch screen control method of the present invention is proposed. The touch screen control method includes the following steps:
步骤S30:触控物点击触摸屏时,检测电容变化,根据电容变化计算触控物移动的速度Step S30: when the touch object clicks on the touch screen, the capacitance change is detected, and the speed of the touch object is calculated according to the change of the capacitance.
本步骤S30与第一实施例中的步骤S10相同,在此不再赘述。This step S30 is the same as step S10 in the first embodiment, and details are not described herein again.
步骤S31:根据触控物移动的速度计算触控物点击触摸屏的压力,并检测触控物点击触摸屏时与触摸屏的接触面积Step S31: Calculate the pressure of the touch object to touch the touch screen according to the speed of the touch object movement, and detect the contact area of the touch object with the touch screen when the touch object clicks the touch screen.
本实施例根据速度计算压力的方法与第二实施例相同,在此不再赘述。本实施例在计算出压力值后,还检测手指点击触摸屏时与触摸屏的接触面积,具体可以计算电容为最大值的XY走线的面积,该面积即为接触面积;或者设定一阈值,如果触摸屏上有的坐标点的电容超过阈值,则认为该坐标点与手指接触,计算这些坐标点区域的面积作为接触面积。The method for calculating the pressure according to the speed in this embodiment is the same as that of the second embodiment, and details are not described herein again. After calculating the pressure value, the embodiment also detects the contact area with the touch screen when the finger clicks on the touch screen, and specifically calculates the area of the XY trace whose capacitance is the maximum value, which is the contact area; or sets a threshold value if When the capacitance of the coordinate point on the touch screen exceeds the threshold value, the coordinate point is considered to be in contact with the finger, and the area of the coordinate point area is calculated as the contact area.
步骤S32:根据触控物点击触摸屏的压力和触控物点击触摸屏时与触摸屏的接触面积,确定压力与接触面积的对应关系Step S32: determining the correspondence between the pressure and the contact area according to the pressure of the touch object and the contact area of the touch screen when the touch object touches the touch screen.
对于手指点击触摸屏后,手指对触摸屏的压力和手指与触摸屏的接触面积近似为以下关系:After the finger clicks on the touch screen, the pressure of the finger on the touch screen and the contact area of the finger with the touch screen are approximately the following relationship:
F=iS2+jS+k       (4)F=iS 2 +jS+k (4)
其中F为手指对触摸屏的压力,S为手指于触摸屏的接触面积,i、j和k 为常数。由于不同的触控物体积和形状不同,即使对触摸屏施加相同的压力其与触摸屏的接触面积也不相同,因此不同的触控物(如手指)其对应的i、j、k值不同。式(4)的函数图如图6所示,压力值随着接触面积的增大而增大。本实施例根据触控物点击触摸屏的压力和触控物点击触摸屏时与触摸屏的接触面积,并结合式(4)确定该手指所对应的压力与接触面积的对应关系。Where F is the pressure of the finger on the touch screen, S is the contact area of the finger on the touch screen, i, j and k Is a constant. Since different touch objects have different volume and shape, even if the same pressure is applied to the touch screen, the contact area with the touch screen is different, so different touch objects (such as fingers) have different i, j, and k values. The function diagram of equation (4) is shown in Fig. 6. The pressure value increases as the contact area increases. In this embodiment, according to the pressure of the touch object clicking the touch screen and the contact area of the touch screen with the touch screen when the touch object is clicked, the corresponding relationship between the pressure corresponding to the finger and the contact area is determined according to the formula (4).
步骤S33:判断触控物是否离开触摸屏Step S33: determining whether the touch object leaves the touch screen
如果手指点击触摸屏后没有离开触摸屏,而是持续接触触摸屏,如按压触摸屏或在触摸屏上滑动,则进入步骤S34;否则,进入步骤S37,结束流程。If the finger does not leave the touch screen after clicking the touch screen, but continuously touches the touch screen, such as pressing the touch screen or sliding on the touch screen, the process proceeds to step S34; otherwise, the process proceeds to step S37, and the process ends.
步骤S34:检测触控物与触摸屏的接触面积Step S34: detecting a contact area between the touch object and the touch screen
具体的,当手指按压触摸屏或在触摸屏上滑动时,可以通过计算电容为最大值的XY走线的面积来获得手指与触摸屏的接触面积;或者设定一阈值,如果触摸屏上有的坐标点的电容超过阈值,则认为该坐标点与手指接触,计算这些坐标点区域的面积作为接触面积。Specifically, when the finger presses the touch screen or slides on the touch screen, the contact area of the finger with the touch screen can be obtained by calculating the area of the XY trace whose capacitance is the maximum value; or a threshold is set, if there is a coordinate point on the touch screen When the capacitance exceeds the threshold, the coordinate point is considered to be in contact with the finger, and the area of the coordinate point area is calculated as the contact area.
步骤S35:根据触控物与触摸屏的接触面积以及压力与接触面积的对应关系,计算触控物对触摸屏的压力Step S35: Calculating the pressure of the touch object on the touch screen according to the contact area between the touch object and the touch screen and the correspondence between the pressure and the contact area
将检测到的手指与触摸屏的接触面积S代入式(4)中,即可计算出手指对触摸屏的压力F。By substituting the contact area S of the detected finger with the touch screen into the equation (4), the pressure F of the finger on the touch screen can be calculated.
步骤S36:根据触控物对触摸屏的压力的大小执行相应的操作Step S36: performing corresponding operations according to the magnitude of the pressure of the touch object on the touch screen
具体实现上,可以建立压力大小与操作指令的对应关系,不同的压力值对应不同的操作指令,触摸屏装置可以仅根据压力大小执行相应的操作,也可以结合手指点击触摸屏的位置坐标来执行相应的操作。例如,手指在屏幕上写字时,同一笔画可以根据手指对触摸屏的压力大小的不同显示不同的粗细。In a specific implementation, a correspondence between a pressure magnitude and an operation command may be established, and different pressure values correspond to different operation commands, and the touch screen device may perform corresponding operations only according to the magnitude of the pressure, or may perform corresponding operations according to the position coordinates of the finger click on the touch screen. operating. For example, when a finger is writing on the screen, the same stroke can display different thicknesses depending on the magnitude of the pressure of the finger on the touch screen.
操作指令执行完毕后,再返回步骤S33,判断手指是否离开了触摸屏。After the execution of the operation command is completed, the process returns to step S33 to determine whether the finger has left the touch screen.
步骤S37:结束Step S37: End
在某些实施例中,对于步骤S30,当根据电容变化计算出触控物移动的速度后,同时根据速度的大小执行一个相应的操作,执行完相应的操作后,再继续进行下一步流程。In some embodiments, for step S30, after the speed of the touch object movement is calculated according to the change in capacitance, a corresponding operation is performed according to the magnitude of the speed, and after the corresponding operation is performed, the next step is continued.
在另一些实施例中,对于步骤S31,当根据速度计算触控物点击触摸屏的压力后,同时根据压力的大小执行一个相应的操作,执行完相应的操作后,再继续进行下一步流程。 In other embodiments, for step S31, after the pressure of the touch object is clicked according to the speed, a corresponding operation is performed according to the magnitude of the pressure, and after the corresponding operation is performed, the next process is continued.
本发明的触摸屏控制方法,通过检测电容变化,根据电容变化计算触控物移动的速度,根据触控物移动的速度计算触控物点击触摸屏的压力,最后根据压力大小执行相应的操作。从而,在现有的电容式触摸屏的基础上,无需增加任何硬件,即可实现手指点击触摸屏的速度和压力的检测,实现简单且成本较低,为人机交互提供了第三个维度,为触控设备提供了更为丰富的交互方式,有利于触控设备上的软件实现更为丰富的功能。The touch screen control method of the present invention calculates the speed of the touch object according to the change of the capacitance by detecting the change of the capacitance, calculates the pressure of the touch object to touch the touch screen according to the speed of the movement of the touch object, and finally performs the corresponding operation according to the pressure. Therefore, on the basis of the existing capacitive touch screen, the speed and pressure detection of the finger click touch screen can be realized without adding any hardware, which is simple and low in cost, and provides a third dimension for human-computer interaction. The control device provides a richer interaction mode, which is beneficial to the software on the touch device to achieve richer functions.
参见图7,提出本发明的触摸屏装置第一实施例,所述触摸屏装置包括触摸屏、触摸屏控制器和处理器。Referring to Figure 7, a first embodiment of a touch screen device of the present invention is presented. The touch screen device includes a touch screen, a touch screen controller and a processor.
触摸屏:用于接收触控物的触控操作。所述触控操作包括点击、按压、滑动等操作。所述触控物为能够在触摸屏上进行触控操作的任意物件,通常为用户的手指,以下不做特别说明时,手指均指代触控物。Touch screen: A touch operation for receiving a touch object. The touch operation includes an operation of clicking, pressing, sliding, and the like. The touch object is any object that can perform a touch operation on the touch screen, and is usually a user's finger. When not specifically described below, the finger refers to the touch object.
如图2所示,触摸屏上包含两路走线,分别为Yn和Xm,其中一路是驱动信号走线,另一路是感应走线,驱动信号走线和感应走线都有若干条。本发明所使用的触摸屏与现在市面上常使用的触摸屏结构一致,只是具有更高分辨率,即在同样大小的触摸屏上具有更多的X、Y走线。但如果对检测精度要求较低,也可以直接使用低分辨率的触摸屏。As shown in Figure 2, the touch screen includes two traces, Yn and Xm, one of which is the drive signal trace, the other is the induction trace, and there are several drive signal traces and induction traces. The touch screen used in the present invention is consistent with the touch screen structure commonly used in the market, but has a higher resolution, that is, has more X, Y traces on the same size touch screen. However, if the detection accuracy is low, you can also use the low-resolution touch screen directly.
手指点击触摸屏的过程,是逐渐靠近触摸屏直至与触摸屏接触。当手指靠近触摸屏到一定距离时,触摸屏(触摸屏上的走线)与手指之间的电容开始发生变化,直至手指触摸到触摸屏时,触摸屏上某对(或多对)XY线上的电容不再发生变化。The process of tapping the finger on the touch screen is to gradually approach the touch screen until it is in contact with the touch screen. When the finger approaches the touch screen to a certain distance, the capacitance between the touch screen (the trace on the touch screen) and the finger begins to change until the finger touches the touch screen, and the capacitance on a pair (or pairs) of the XY lines on the touch screen is no longer A change has occurred.
触摸屏控制器:用于当触控物点击触摸屏时,检测电容变化,根据电容变化计算触控物移动的速度,并将计算出的速度值发送给处理器。The touch screen controller is configured to detect a change in capacitance when the touch object clicks on the touch screen, calculate a speed at which the touch object moves according to the change in the capacitance, and send the calculated speed value to the processor.
其中触摸屏控制器包括一速度获取单元,其用于:获取电容从最小值变化到最大值所用的时间,以及电容从最小值开始变化时触控物与触摸屏的距离,根据时间和距离计算触控物移动的速度。The touch screen controller includes a speed acquisition unit configured to: acquire a time for the capacitance to change from a minimum value to a maximum value, and a distance between the touch object and the touch screen when the capacitance changes from a minimum value, and calculate the touch according to the time and the distance. The speed at which things move.
当手指在逐渐靠近触摸屏时,手指与触摸屏之间的电容和手指与触摸屏之间的距离存在以下关系:When the finger is gradually approaching the touch screen, the capacitance between the finger and the touch screen and the distance between the finger and the touch screen have the following relationship:
C=aH2+bH+d    (1)C=aH 2 +bH+d (1)
其中,C为手指与触摸屏之间的电容,H为手指与触摸屏之间的间距,a、b、d为常数,与触摸屏的走线相关,其中a和b为负数。式(1)的函数图如图3所示,随着手指与触摸屏逐渐靠近,手指与触摸屏之间的电容逐渐 增大,直至手指接触触摸屏即H=0时,电容达到最大值d;当手指远离触摸屏时,电容越来越小,直至趋近于0。因此,当触摸屏装置具有较高报点率时(如200Hz),速度获取单元则根据式(1)中手指与触摸屏之间的电容和距离的关系,以及手指点击触摸屏过程中电容的变化来计算触控物移动的速度。Where C is the capacitance between the finger and the touch screen, H is the distance between the finger and the touch screen, and a, b, and d are constants, which are related to the trace of the touch screen, where a and b are negative numbers. The function diagram of equation (1) is shown in Figure 3. As the finger and the touch screen gradually approach, the capacitance between the finger and the touch screen gradually Increase until the finger touches the touch screen, ie, H=0, the capacitance reaches the maximum value d; when the finger is away from the touch screen, the capacitance becomes smaller and smaller until it approaches zero. Therefore, when the touch screen device has a high reporting rate (eg, 200 Hz), the speed obtaining unit calculates the relationship between the capacitance and the distance between the finger and the touch screen in the formula (1), and the change in the capacitance during the finger click on the touch screen. The speed at which the touch object moves.
具体的,在手指点击触摸屏过程中,当电容从最小值开始变化时,速度获取单元开启计时器开始计时,当电容从最小值变化到最大值时(触摸屏上某对XY走线上的电容不再发生变化时,说明此时手指已触摸到触摸屏),结束计时,获取电容从最小值变化到最大值所用的时间t。而对于确定的触摸屏,电容从最小值开始变化时手指与触摸屏的距离h是恒定的常量,因此根据公式h=Vt,得到手指在点击触摸屏过程中的移动速度V=h/t。Specifically, during the process of tapping the touch screen by the finger, when the capacitance starts to change from the minimum value, the speed acquisition unit starts the timer to start timing, and when the capacitance changes from the minimum value to the maximum value (the capacitance of a certain pair of XY traces on the touch screen is not When the change occurs again, it means that the finger has touched the touch screen at this time, and the timing is ended, and the time t for changing the capacitance from the minimum value to the maximum value is obtained. For a certain touch screen, when the capacitance changes from the minimum value, the distance h between the finger and the touch screen is a constant constant. Therefore, according to the formula h=Vt, the moving speed V=h/t of the finger during the click of the touch screen is obtained.
在某些实施例中,速度获取单元也可以在电容开始变化到变化到最大值期间的任意时刻开始计时,并根据该时刻的电容值和式(1)计算出此刻手指距离触摸屏距离,同样可以计算出移动速度。In some embodiments, the speed acquisition unit may also start timing at any time during which the capacitance starts to change to the maximum value, and calculate the distance of the finger from the touch screen according to the capacitance value at the moment and the formula (1). Calculate the moving speed.
处理器:用于根据触控物移动的速度执行相应的操作。Processor: used to perform corresponding operations according to the speed at which the touch object moves.
具体实现上,处理器可以建立触控物移动的速度大小与操作指令的对应关系,不同的速度值对应不同的操作指,处理器可以仅根据速度大小执行相应的操作,也可以结合手指点击触摸屏的位置坐标来执行相应的操作。例如,在打字时,手指正常速度点击触摸屏时则处理器输出小写字母,快速点击触摸屏时则处理器输出大写字母。In a specific implementation, the processor can establish a correspondence between the speed of the movement of the touch object and the operation instruction, and the different speed values correspond to different operation fingers, and the processor can perform the corresponding operation only according to the speed, or can click the touch screen with the finger. The position coordinates are used to perform the corresponding operations. For example, when typing, when the finger clicks on the touch screen at normal speed, the processor outputs lowercase letters, and when the touch screen is quickly clicked, the processor outputs uppercase letters.
参见图8,提出本发明的触摸屏装置第二实施例,所述触摸屏装置的触摸屏控制器在第一实施例的基础上增加了一第一压力获取单元,其中:Referring to FIG. 8, a second embodiment of a touch screen device of the present invention is proposed. The touch screen controller of the touch screen device adds a first pressure acquiring unit to the first embodiment, wherein:
触摸屏控制器:用于当触控物点击触摸屏时,检测电容变化,根据电容变化计算触控物移动的速度,根据触控物移动的速度计算触控物点击触摸屏的压力,并将计算出的压力值发送给处理器。Touch screen controller: used to detect the change of the capacitance when the touch object clicks on the touch screen, calculate the speed of the touch object according to the change of the capacitance, calculate the pressure of the touch object to touch the touch screen according to the speed of the touch object, and calculate the calculated The pressure value is sent to the processor.
触摸屏控制器包括速度获取单元和第一压力获取单元,其中:The touch screen controller includes a speed acquisition unit and a first pressure acquisition unit, wherein:
速度获取单元:用于获取电容从最小值变化到最大值所用的时间,以及电容从最小值开始变化时触控物与触摸屏的距离,根据时间和距离计算触控物移动的速度,并将计算出的速度值发送给第一压力获取单元。Speed acquisition unit: used to obtain the time taken for the capacitance to change from the minimum value to the maximum value, and the distance between the touch object and the touch screen when the capacitance changes from the minimum value, calculate the speed of the touch object movement according to the time and distance, and calculate The output speed value is sent to the first pressure acquisition unit.
第一压力获取单元:用于根据触控物移动的速度计算触控物点击触摸屏的压力。The first pressure acquiring unit is configured to calculate the pressure of the touch object to touch the touch screen according to the speed at which the touch object moves.
在手指刚接触触摸屏到手指停止移动时,根据物理定律,手指移动的速 度与手指点击触摸屏的压力满足以下关系:The speed at which the finger moves according to the laws of physics when the finger just touches the touch screen until the finger stops moving. The pressure between the degree and the finger click on the touch screen satisfies the following relationship:
mV=Ft        (2)mV=Ft (2)
其中,m为手指的质量,V为手指移动的速度,F为手指点击触摸屏的压力,t为手指接触屏幕到手指停止移动的时间。Where m is the mass of the finger, V is the speed at which the finger moves, F is the pressure at which the finger clicks on the touch screen, and t is the time at which the finger touches the screen until the finger stops moving.
对于同一手指(即同一触控物),m为常量。虽然F在手指接触屏幕到停止移动前是个变化的量,但根据:For the same finger (ie the same touch object), m is a constant. Although F is a variable amount before the finger touches the screen until it stops moving, it is based on:
其中
Figure PCTCN2014094729-appb-000004
为平均压力,在整个按压过程中为恒量,同时时间t与速度成反比。由此可得,手指点击触摸屏的压力F与手指移动的速度V近似成正比,即二者成正相关关系。从而,第一压力获取单元根据速度V以及式(2)可以得出手指点击屏幕的压力F的相对大小。
among them
Figure PCTCN2014094729-appb-000004
For average pressure, it is constant throughout the pressing process, while time t is inversely proportional to speed. Therefore, the pressure F of the finger clicking on the touch screen is approximately proportional to the speed V of the finger movement, that is, the two are positively correlated. Thus, the first pressure acquisition unit can derive the relative magnitude of the pressure F of the finger tapping the screen based on the velocity V and the equation (2).
处理器:用于根据触控物点击触摸屏的压力的大小执行相应的操作。Processor: used to perform corresponding operations according to the magnitude of the pressure at which the touch object clicks on the touch screen.
处理器可以建立触控物点击触摸屏的压力法人大小与操作指令的对应关系,不同的压力值对应不同的操作指,处理器可以仅根据压力大小执行相应的操作,也可以结合手指点击触摸屏的位置坐标来执行相应的操作。例如,在打字时,手指轻轻点击触摸屏处理器则输出小写字母,用力点击触摸屏时处理器则输出大写字母。The processor can establish a corresponding relationship between the pressure and the size of the touch object and the operation instruction of the touch screen. The different pressure values correspond to different operation fingers, and the processor can perform the corresponding operation only according to the pressure, or can combine the position of the touch screen with the finger. Coordinates to perform the corresponding operations. For example, when typing, the finger taps the touch screen processor to output lowercase letters, and when the touch screen is pressed hard, the processor outputs uppercase letters.
参见图9,提出本发明的触摸屏装置第三实施例,所述触摸屏装置的触摸屏控制器在第二实施例的基础上增加了一第二压力获取单元,第一压力获取单元将计算出的触控物点击触摸屏的压力发送给第二压力获取单元。Referring to FIG. 9, a third embodiment of the touch screen device of the present invention is proposed. The touch screen controller of the touch screen device adds a second pressure acquiring unit based on the second embodiment, and the first pressure acquiring unit will calculate the touch. The pressure of the control object clicking on the touch screen is sent to the second pressure acquisition unit.
第二压力获取单元:用于当触控物点击触摸屏后,检测触控物点击触摸屏时与触摸屏的接触面积,根据触控物点击触摸屏的压力和触控物点击触摸屏时与触摸屏的接触面积,确定压力与接触面积的对应关系;当触控物持续接触触摸屏时,检测触控物与触摸屏的接触面积;根据触控物与触摸屏的接触面积和压力与接触面积的对应关系,计算触控物对触摸屏的压力。The second pressure acquiring unit is configured to: when the touch object clicks on the touch screen, detect a contact area of the touch object with the touch screen when the touch object clicks the touch screen, according to the pressure of the touch object and the contact area of the touch screen when the touch object clicks the touch screen, Determining the correspondence between the pressure and the contact area; detecting the contact area between the touch object and the touch screen when the touch object continuously contacts the touch screen; calculating the touch object according to the contact area between the touch object and the touch screen and the correspondence between the pressure and the contact area Pressure on the touch screen.
具体的,第二压力获取单元可以通过计算触摸屏上电容为最大值的XY走线的面积,来获取手指点击触摸屏时与触摸屏的接触面积;或者设定一阈值,如果触摸屏上有的坐标点的电容超过阈值,则认为该坐标点与手指接触,计算这些坐标点区域的面积作为接触面积。对于手指点击触摸屏后,手指对触摸屏的压力和手指与触摸屏的接触面积近似为以下关系: Specifically, the second pressure acquiring unit may obtain the contact area with the touch screen when the finger touches the touch screen by calculating the area of the XY trace with the maximum capacitance on the touch screen; or set a threshold value if there is a coordinate point on the touch screen. When the capacitance exceeds the threshold, the coordinate point is considered to be in contact with the finger, and the area of the coordinate point area is calculated as the contact area. After the finger clicks on the touch screen, the pressure of the finger on the touch screen and the contact area of the finger with the touch screen are approximately the following relationship:
F=iS2+jS+k       (4)F=iS 2 +jS+k (4)
其中F为手指对触摸屏的压力,S为手指于触摸屏的接触面积,i、j和k为常数。由于不同的触控物体积和形状不同,即使对触摸屏施加相同的压力其与触摸屏的接触面积也不相同,因此不同的触控物(如手指)其对应的i、j、k值不同。式(4)的函数图如图6所示,压力值随着接触面积的增大而增大。本实施例中,第二压力获取单元根据触控物点击触摸屏的压力和触控物点击触摸屏时与触摸屏的接触面积,并结合式(4)确定该手指所对应的压力与接触面积的对应关系。Where F is the pressure of the finger on the touch screen, S is the contact area of the finger on the touch screen, and i, j, and k are constant. Since different touch objects have different volume and shape, even if the same pressure is applied to the touch screen, the contact area with the touch screen is different, so different touch objects (such as fingers) have different i, j, and k values. The function diagram of equation (4) is shown in Fig. 6. The pressure value increases as the contact area increases. In this embodiment, the second pressure acquiring unit determines the correspondence between the pressure corresponding to the finger and the contact area according to the pressure of the touch object and the contact area of the touch screen when the touch object touches the touch screen, and combines the formula (4). .
如果手指点击触摸屏后没有离开触摸屏,而是持续接触触摸屏,如按压触摸屏或在触摸屏上滑动,第二压力获取单元则检测手指与触摸屏的接触面积,并将检测到的手指与触摸屏的接触面积S代入式(4)中,即可计算出手指对触摸屏的压力F。If the finger does not leave the touch screen after clicking the touch screen, but continuously touches the touch screen, such as pressing the touch screen or sliding on the touch screen, the second pressure acquiring unit detects the contact area of the finger with the touch screen, and detects the contact area of the finger with the touch screen. Substituting into equation (4), the pressure F of the finger on the touch screen can be calculated.
处理器:用于根据第二压力获取单元发送的触控物对触摸屏的压力的大小执行相应的操作。The processor is configured to perform a corresponding operation according to the magnitude of the pressure of the touch object sent by the touch object sent by the second pressure acquiring unit.
具体的,处理器可以建立触控物对触摸屏的压力大小与操作指令的对应关系,不同的压力值对应不同的操作指令,处理器可以仅根据压力大小执行相应的操作,也可以结合手指点击触摸屏的位置坐标来执行相应的操作。例如,手指在屏幕上写字时,同一笔画,处理器可以根据手指对触摸屏的压力大小的不同显示不同的粗细。Specifically, the processor can establish a correspondence between the pressure of the touch object and the operation instruction of the touch screen, and different pressure values correspond to different operation instructions, and the processor can perform corresponding operations only according to the pressure, or can click the touch screen with a finger. The position coordinates are used to perform the corresponding operations. For example, when a finger writes on the screen, the same stroke, the processor can display different thicknesses according to the pressure of the finger on the touch screen.
在某些实施例中,速度获取单元还将计算出的速度发送给处理器,处理器则根据速度获取单元发送的速度大小执行相应的操作,其具体实现方法参见第一实施例。In some embodiments, the speed acquisition unit also sends the calculated speed to the processor, and the processor performs a corresponding operation according to the speed size sent by the speed acquisition unit. For the specific implementation method, refer to the first embodiment.
在另一些实施例中,第一压力获取单元还将计算出的触控物点击触摸屏的压力发送给处理器。处理器则根据第一压力获取单元发送的触控物点击触摸屏的压力的大小执行相应的操作,其具体实现方法参见第二实施例。In other embodiments, the first pressure acquisition unit also sends the calculated pressure of the touch object to the touch screen to the processor. The processor performs a corresponding operation according to the magnitude of the pressure of the touch object sent by the first pressure acquiring unit to click on the touch screen. For the specific implementation method, refer to the second embodiment.
本发明的触摸屏装置,通过触摸屏控制器检测电容变化,根据电容变化计算触控物移动的速度,根据触控物移动的速度计算触控物点击触摸屏的压力,最后处理器根据压力大小执行相应的操作。从而,在现有的电容式触摸屏的基础上,无需增加任何硬件,即可实现手指点击触摸屏的速度和压力的检测,实现简单且成本较低,为人机交互提供了第三个维度,为触控设备提供了更为丰富的交互方式,有利于触控设备上的软件实现更为丰富的功能。 The touch screen device of the invention detects the change of the capacitance through the touch screen controller, calculates the speed of the movement of the touch object according to the change of the capacitance, calculates the pressure of the touch object to click on the touch screen according to the speed of the movement of the touch object, and finally the processor executes the corresponding according to the pressure. operating. Therefore, on the basis of the existing capacitive touch screen, the speed and pressure detection of the finger click touch screen can be realized without adding any hardware, which is simple and low in cost, and provides a third dimension for human-computer interaction. The control device provides a richer interaction mode, which is beneficial to the software on the touch device to achieve richer functions.
需要说明的是:上述实施例提供的触摸屏装置在进行触摸屏控制时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成。另外,上述实施例提供的触摸屏装置与触摸屏控制方法实施例属于同一构思,其具体实现过程详见方法实施例,且方法实施例中的技术特征在装置实施例中均对应适用,这里不再赘述。It should be noted that, when the touch screen device provided in the above embodiment performs touch screen control, only the division of each functional module described above is illustrated. In actual applications, the function distribution may be completed by different functional modules as needed. In addition, the touch screen device provided by the foregoing embodiment is the same as the embodiment of the touch screen control method, and the specific implementation process is described in detail in the method embodiment, and the technical features in the method embodiment are applicable in the device embodiment, and details are not described herein again. .
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分步骤可以通过程序来控制相关的硬件完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质可以是ROM/RAM、磁盘、光盘等。It will be understood by those skilled in the art that all or part of the steps of the foregoing embodiments may be implemented by a program to control related hardware, and the program may be stored in a computer readable storage medium, the storage medium. It can be ROM/RAM, magnetic disk, optical disk, and the like.
以上参照附图说明了本发明的优选实施例,并非因此局限本发明的权利范围。本领域技术人员不脱离本发明的范围和实质,可以有多种变型方案实现本发明,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡在运用本发明的技术构思之内所作的任何修改、等同替换和改进,均应在本发明的权利范围之内。The preferred embodiments of the present invention have been described above with reference to the drawings, and are not intended to limit the scope of the invention. A person skilled in the art can implement the invention in various variants without departing from the scope and spirit of the invention. For example, the features of one embodiment can be used in another embodiment to obtain a further embodiment. Any modifications, equivalent substitutions and improvements made within the technical concept of the invention are intended to be included within the scope of the invention.
工业实用性Industrial applicability
本发明所提供的一种触摸屏控制方法和控制装置,通过检测电容变化,根据电容变化计算触控物移动的速度,根据触控物移动的速度计算触控物点击触摸屏的压力,最后根据压力大小执行相应的操作。从而,在现有的电容式触摸屏的基础上,无需增加任何硬件,即可实现手指点击触摸屏的速度和压力的检测,实现简单且成本较低,为人机交互提供了第三个维度,为触控设备提供了更为丰富的交互方式,有利于触控设备上的软件实现更为丰富的功能。 The touch screen control method and the control device provided by the present invention calculate the speed of the touch object according to the change of the capacitance by detecting the change of the capacitance, calculate the pressure of the touch object to touch the touch screen according to the speed of the movement of the touch object, and finally according to the pressure. Perform the appropriate action. Therefore, on the basis of the existing capacitive touch screen, the speed and pressure detection of the finger click touch screen can be realized without adding any hardware, which is simple and low in cost, and provides a third dimension for human-computer interaction. The control device provides a richer interaction mode, which is beneficial to the software on the touch device to achieve richer functions.

Claims (12)

  1. 一种触摸屏控制方法,包括步骤:A touch screen control method includes the steps of:
    当触控物点击触摸屏时,检测电容变化,根据所述电容变化计算所述触控物移动的速度;When the touch object clicks on the touch screen, detecting a change in capacitance, and calculating a speed at which the touch object moves according to the change in the capacitance;
    根据所述速度计算所述触控物点击触摸屏的压力;Calculating a pressure of the touch object to touch the touch screen according to the speed;
    根据所述压力的大小执行相应的操作。A corresponding operation is performed according to the magnitude of the pressure.
  2. 根据权利要求1所述的触摸屏控制方法,其中,所述根据电容变化计算所述触控物移动的速度包括:The touch screen control method according to claim 1, wherein the calculating the speed of movement of the touch object according to the change in capacitance comprises:
    获取电容从最小值变化到最大值所用的时间,以及电容从最小值开始变化时所述触控物与触摸屏的距离;Obtaining the time taken for the capacitance to change from the minimum value to the maximum value, and the distance between the touch object and the touch screen when the capacitance changes from the minimum value;
    根据所述时间和距离计算所述触控物移动的速度。Calculating the speed of movement of the touch object according to the time and distance.
  3. 根据权利要求1所述的触摸屏控制方法,其中,所述根据速度计算所述触控物点击触摸屏的压力包括:The touch screen control method according to claim 1, wherein the calculating the pressure of the touch object to click on the touch screen according to the speed comprises:
    根据所述速度和公式mV=Ft,计算所述触控物点击触摸屏的压力;其中m为触控物的质量,V为触控物移动的速度,F为触控物点击触摸屏的压力,t为触控物接触触摸屏到停止移动的时间。Calculating the pressure of the touch object to touch the touch screen according to the speed and the formula mV=Ft; wherein m is the quality of the touch object, V is the speed at which the touch object moves, and F is the pressure of the touch object to touch the touch screen, t The time when the touch object touches the touch screen to stop moving.
  4. 根据权利要求1-3任一项所述的触摸屏控制方法,其中,所述方法还包括:The touch screen control method according to any one of claims 1 to 3, wherein the method further comprises:
    检测所述触控物点击触摸屏时与触摸屏的接触面积,根据所述触控物点击触摸屏的压力和所述触控物点击触摸屏时与触摸屏的接触面积,确定所述压力与接触面积的对应关系;Detecting a contact area of the touch object with the touch screen when the touch screen is clicked, determining a correspondence between the pressure and the contact area according to the pressure of the touch object clicking the touch screen and the contact area of the touch object with the touch screen when the touch object is clicked ;
    当所述触控物持续接触触摸屏时,检测所述触控物与触摸屏的接触面积;Detecting a contact area of the touch object with the touch screen when the touch object continuously contacts the touch screen;
    根据所述接触面积和所述压力与接触面积的对应关系,计算所述触控物对触摸屏的压力;Calculating a pressure of the touch object on the touch screen according to the contact area and the corresponding relationship between the pressure and the contact area;
    根据所述触控物对触摸屏的压力的大小执行相应的操作。A corresponding operation is performed according to the magnitude of the pressure of the touch object on the touch screen.
  5. 根据权利要求4所述的触摸屏控制方法,其中,所述检测所述触控物与触摸屏的接触面积包括:检测所述触控物按压触摸屏或在触摸屏上滑动时与触摸屏的接触面积。The touch screen control method according to claim 4, wherein the detecting a contact area of the touch object with the touch screen comprises: detecting a contact area of the touch object with the touch screen when pressing the touch screen or sliding on the touch screen.
  6. 一种触摸屏装置,包括触摸屏控制器和处理器,其中: A touch screen device includes a touch screen controller and a processor, wherein:
    触摸屏控制器,用于当触控物点击触摸屏时,检测电容变化,根据所述电容变化计算所述触控物移动的速度,根据所述速度计算所述触控物点击触摸屏的压力;a touch screen controller is configured to detect a change in capacitance when the touch object clicks on the touch screen, calculate a speed of movement of the touch object according to the change in the capacitance, and calculate a pressure of the touch object to click on the touch screen according to the speed;
    处理器,用于根据所述压力的大小执行相应的操作。a processor for performing a corresponding operation according to the magnitude of the pressure.
  7. 根据权利要求6所述的触摸屏装置,其中,所述触摸屏控制器包括速度获取单元,所述速度获取单元用于:获取电容从最小值变化到最大值所用的时间,以及电容从最小值开始变化时所述触控物与触摸屏的距离,根据所述时间和距离计算所述触控物移动的速度。The touch screen device according to claim 6, wherein the touch screen controller includes a speed acquisition unit for acquiring a time taken for the capacitance to change from a minimum value to a maximum value, and the capacitance is changed from a minimum value The distance between the touch object and the touch screen, and the speed at which the touch object moves is calculated according to the time and distance.
  8. 根据权利要求6所述的触摸屏装置,其中,所述控制器包括第一压力获取单元,所述第一压力获取单元用于:根据所述速度和公式mV=Ft,计算所述触控物点击触摸屏的压力;其中m为触控物的质量,V为触控物移动的速度,F为触控物点击触摸屏的压力,t为触控物接触触摸屏到停止移动的时间。The touch screen device according to claim 6, wherein the controller comprises a first pressure acquiring unit, and the first pressure acquiring unit is configured to: calculate the touch object click according to the speed and the formula mV=Ft The pressure of the touch screen; where m is the mass of the touch object, V is the speed at which the touch object moves, F is the pressure at which the touch object clicks on the touch screen, and t is the time when the touch object touches the touch screen to stop moving.
  9. 根据权利要求6-8任一项所述的触摸屏装置,其中,所述触摸屏控制器包括第二压力获取单元,所述第二压力获取单元用于:当所述触控物点击触摸屏后,检测所述触控物点击触摸屏时与触摸屏的接触面积,根据所述触控物点击触摸屏的压力和所述触控物点击触摸屏时与触摸屏的接触面积,确定所述压力与接触面积的对应关系;当所述触控物持续接触触摸屏时,检测所述触控物与触摸屏的接触面积;根据所述接触面积和所述压力与接触面积的对应关系,计算所述触控物对触摸屏的压力;The touch screen device according to any one of claims 6 to 8, wherein the touch screen controller includes a second pressure acquiring unit, and the second pressure acquiring unit is configured to: when the touch object clicks on the touch screen, detect The contact area of the touch object with the touch screen when the touch screen is clicked, and the corresponding relationship between the pressure and the contact area is determined according to the pressure of the touch object clicking the touch screen and the contact area of the touch object with the touch screen when the touch object is clicked; Detecting a contact area of the touch object with the touch screen when the touch object continuously contacts the touch screen; and calculating a pressure of the touch object on the touch screen according to the contact area and the corresponding relationship between the pressure and the contact area;
    所述处理器用于:根据所述触控物对触摸屏的压力的大小执行相应的操作。The processor is configured to perform a corresponding operation according to a magnitude of pressure of the touch object on the touch screen.
  10. 根据权利要求9所述的触摸屏装置,其中,所述第二压力获取单元用于:检测所述触控物按压触摸屏或在触摸屏上滑动时与触摸屏的接触面积。The touch screen device according to claim 9, wherein the second pressure acquiring unit is configured to detect a contact area with the touch screen when the touch object presses the touch screen or slides on the touch screen.
  11. 一种触摸屏控制方法,其中,包括步骤:A touch screen control method includes the steps of:
    当触控物点击触摸屏时,检测电容变化,根据所述电容变化计算所述触控物移动的速度;When the touch object clicks on the touch screen, detecting a change in capacitance, and calculating a speed at which the touch object moves according to the change in the capacitance;
    根据所述速度的大小执行相应的操作。The corresponding operation is performed according to the magnitude of the speed.
  12. 根据权利要求11所述的触摸屏控制方法,其中,所述根据电容变化计算所述触控物移动的速度包括:The touch screen control method according to claim 11, wherein the calculating the speed of movement of the touch object according to the change in capacitance comprises:
    获取电容从最小值变化到最大值所用的时间,以及电容从最小值开始变 化时所述触控物与触摸屏的距离;Get the time it takes for the capacitor to change from minimum to maximum, and the capacitor starts at the minimum The distance between the touch object and the touch screen during the process;
    根据所述时间和距离计算所述触控物移动的速度。 Calculating the speed of movement of the touch object according to the time and distance.
PCT/CN2014/094729 2014-10-28 2014-12-23 Touch screen control method and touch screen apparatus WO2016065712A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2014105865633 2014-10-28
CN201410586563.3A CN104317466B (en) 2014-10-28 2014-10-28 Touch-screen control method and touch panel device

Publications (1)

Publication Number Publication Date
WO2016065712A1 true WO2016065712A1 (en) 2016-05-06

Family

ID=52372702

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094729 WO2016065712A1 (en) 2014-10-28 2014-12-23 Touch screen control method and touch screen apparatus

Country Status (2)

Country Link
CN (1) CN104317466B (en)
WO (1) WO2016065712A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10459561B2 (en) * 2015-07-09 2019-10-29 Qualcomm Incorporated Using capacitance to detect touch pressure
CN106569644A (en) * 2015-10-10 2017-04-19 深圳欧菲光科技股份有限公司 Touch sensing device and touch sensing method
CN106598364A (en) * 2015-10-19 2017-04-26 义隆电子股份有限公司 Pressure detection method
CN105763740A (en) * 2016-04-15 2016-07-13 努比亚技术有限公司 Mobile terminal and touch control operation processing method thereof
EP3321786A4 (en) * 2016-09-17 2018-08-08 Shenzhen Goodix Technology Co., Ltd. Pressure detection method, touch control chip and pressure detection module
CN106527797B (en) * 2016-11-02 2019-05-03 汕头超声显示器技术有限公司 A kind of dynamics detection method for substrate
US20190336852A1 (en) * 2016-12-26 2019-11-07 Alcatel Lucent Device with pressure-sensitive display and method of using such device
CN106897689A (en) * 2017-02-21 2017-06-27 广东欧珀移动通信有限公司 Fingerprint module, fingerprint detection method and terminal device
CN107977142A (en) * 2017-11-28 2018-05-01 浪潮金融信息技术有限公司 Screen touch control method and device, computer-readable storage medium, terminal
CN110494836A (en) * 2018-03-07 2019-11-22 广东品胜电子股份有限公司 Determination method, apparatus, touch-screen equipment and the computer storage medium of touch command
CN112527180B (en) * 2019-09-17 2022-03-08 北京小米移动软件有限公司 Touch event identification method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552818A (en) * 2008-04-04 2009-10-07 Lg电子株式会社 Mobile terminal using proximity sensor and control method thereof
CN102346636A (en) * 2010-07-28 2012-02-08 索尼公司 Information processing apparatus, information processing method, and computer-readable storage medium
CN103440040A (en) * 2001-11-01 2013-12-11 伊梅森公司 Method for providing tactile sensations and computer readable medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010064387A1 (en) * 2008-12-04 2010-06-10 三菱電機株式会社 Display input device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440040A (en) * 2001-11-01 2013-12-11 伊梅森公司 Method for providing tactile sensations and computer readable medium
CN101552818A (en) * 2008-04-04 2009-10-07 Lg电子株式会社 Mobile terminal using proximity sensor and control method thereof
CN102346636A (en) * 2010-07-28 2012-02-08 索尼公司 Information processing apparatus, information processing method, and computer-readable storage medium

Also Published As

Publication number Publication date
CN104317466A (en) 2015-01-28
CN104317466B (en) 2017-07-11

Similar Documents

Publication Publication Date Title
WO2016065712A1 (en) Touch screen control method and touch screen apparatus
US8514187B2 (en) Methods and apparatus for distinguishing between touch system manipulators
CN106462348B (en) The method of adjustment and equipment of the adjustable parameter of equipment
CN105224169B (en) A kind of Interface Moving method and terminal
US10198627B2 (en) Gesture identification with natural images
EP2804083A1 (en) Screen unlocking system and method
TW201305869A (en) A tracking method and a tracking apparatus for a touch sensing screen
CN101751195A (en) Method and device for controlling move event on resistive touch screen
JP2016539441A (en) Reproduction adjustment method and apparatus
CN105824531A (en) Method and device for adjusting numbers
JP2012069095A (en) Information processing device and control method thereof
CN105353933A (en) Capacitive touch screen control method
WO2015154570A1 (en) Touchscreen sensing method and device
CN102662511A (en) Method and terminal for carrying out control operation through touch screen
CN103324410A (en) Method and apparatus for detecting touch
WO2017161809A1 (en) Control method for terminal and terminal
WO2017161819A1 (en) Control method for terminal, and terminal
US10318131B2 (en) Method for scaling down effective display area of screen, and mobile terminal
TWI470496B (en) Method of sampling touch points for touch panel
WO2016082215A1 (en) Method and terminal for moving screen interface
TW201411422A (en) System and method for adjusting a speed of a cursor of a mouse
CN105988705A (en) Information processing method and apparatus as well as electronic device
TW202004441A (en) Method for determining a force of a touch object on a touch device and for determining its related touch event
CN104461369A (en) Operational input method and electronic device
WO2016206438A1 (en) Touch screen control method and device and mobile terminal

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

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

Country of ref document: EP

Kind code of ref document: A1