[go: up one dir, main page]

CN102981670A - mobile position coordinate generating method - Google Patents

mobile position coordinate generating method Download PDF

Info

Publication number
CN102981670A
CN102981670A CN2012104013586A CN201210401358A CN102981670A CN 102981670 A CN102981670 A CN 102981670A CN 2012104013586 A CN2012104013586 A CN 2012104013586A CN 201210401358 A CN201210401358 A CN 201210401358A CN 102981670 A CN102981670 A CN 102981670A
Authority
CN
China
Prior art keywords
position coordinates
moving
preset value
coordinates
moving speed
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN2012104013586A
Other languages
Chinese (zh)
Inventor
李一民
张胜云
周信国
许育民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AUO Corp
Original Assignee
AU Optronics Corp
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 AU Optronics Corp filed Critical AU Optronics Corp
Publication of CN102981670A publication Critical patent/CN102981670A/en
Pending legal-status Critical Current

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
    • 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry

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)

Abstract

本发明公开了一种根据物体的移动而连续产生多个位置坐标的人机界面输入控制装置的移动位置坐标产生方法。所述方法包含下列步骤:读取并储存所述位置坐标;当储存的所述位置坐标的数量到达预设值时,将所述位置坐标进行运算而得出移动位置坐标;根据所述物体移动速率的变化而改变所述预设值的大小。

Figure 201210401358

The invention discloses a method for generating moving position coordinates of a human-machine interface input control device that continuously generates multiple position coordinates according to the movement of an object. The method includes the following steps: reading and storing the position coordinates; when the number of stored position coordinates reaches a preset value, calculating the position coordinates to obtain the moving position coordinates; moving according to the object The speed changes to change the size of the preset value.

Figure 201210401358

Description

移动位置坐标产生方法Method for generating mobile position coordinates

技术领域technical field

本发明为一种移动位置坐标产生方法与装置,尤指应用于人机界面输入控制装置的移动位置坐标产生方法与装置。The invention relates to a method and device for generating coordinates of a moving position, in particular to a method and a device for generating coordinates of a moving position applied to a man-machine interface input control device.

背景技术Background technique

触控板与触控显示面板已是现今电子产品广泛应用的人机界面输入装置,使用者可通过触控笔或手指在触控板或触控显示面板表面上的滑动与触点,达到将控制指令输入电子产品的目的。通过控制电路来对触控板与触控显示面板进行按压位置的定时取样,便可检测到使用者的触控笔或手指的移动轨迹。而为能把实际抖动不平滑的移动轨迹修整成接近平滑的曲线,现有的控制电路通常都利用可存放固定数量的平滑缓冲器(smooth buffer)来储存依序取样得到的按压位置坐标,并当平滑缓冲器(smooth buffer)被填满后,便对平滑缓冲器中存放的所有位置坐标进行平均,进而得到所述位置坐标的一移动位置坐标,进而达到移动轨迹线性度的改善。但是,使用者的触控笔或手指的移动速度有快有慢,造成移动轨迹线性度改善的效果不一致。Touch panels and touch display panels are human-machine interface input devices widely used in today's electronic products. Users can use a stylus or fingers to slide and touch on the surface of the touch panel or touch display panel to achieve The purpose of controlling command input into electronic products. By controlling the circuit to regularly sample the pressed positions of the touch panel and the touch display panel, the movement track of the user's stylus or finger can be detected. In order to trim the unsmooth movement trajectory of the actual jitter into a nearly smooth curve, the existing control circuits usually use a fixed number of smooth buffers (smooth buffer) to store the pressed position coordinates obtained by sequential sampling, and When the smooth buffer (smooth buffer) is filled, all the position coordinates stored in the smooth buffer are averaged to obtain a moving position coordinate of the position coordinates, thereby improving the linearity of the moving track. However, the moving speed of the user's stylus or finger varies from fast to slow, resulting in inconsistent effects of improving the linearity of the moving track.

发明内容Contents of the invention

本发明公开了一种移动位置坐标产生方法,应用于人机界面输入控制装置上,所述人机界面输入控制装置根据物体的移动而连续产生多个位置坐标,所述装置包含储存单元以及运算单元。所述方法包含下列步骤:读取并储存所述位置坐标;当储存的所述位置坐标的数量到达预设值时,将所述位置坐标进行运算而得出移动位置坐标;根据所述物体移动速率的变化而改变所述预设值的大小。The invention discloses a method for generating moving position coordinates, which is applied to a man-machine interface input control device. The man-machine interface input control device continuously generates a plurality of position coordinates according to the movement of an object. The device includes a storage unit and an operation unit. The method includes the following steps: reading and storing the position coordinates; when the number of the stored position coordinates reaches a preset value, calculating the position coordinates to obtain the moving position coordinates; The change of the speed changes the size of the preset value.

所述运算为将所述位置坐标进行一平均值运算而得出所述移动位置坐标。The operation is to perform an average value operation on the position coordinates to obtain the moving position coordinates.

所述运算为将所述位置坐标进行一加权均值运算而得出所述移动位置坐标。The operation is to perform a weighted average operation on the position coordinates to obtain the moving position coordinates.

所述运算为将所述位置坐标进行一中间值运算而得出所述移动位置坐标。The operation is to perform an intermediate value operation on the position coordinates to obtain the moving position coordinates.

所述根据所述物体移动速率的变化而改变所述预设值大小的步骤包含根据所述物体移动速率的增加而将所述预设值减少。The step of changing the predetermined value according to the change of the moving speed of the object includes decreasing the predetermined value according to the increase of the moving speed of the object.

所述根据所述物体移动速率的变化而改变所述预设值大小的步骤包含根据所述物体移动速率的降低而将所述预设值增加。The step of changing the predetermined value according to the change of the moving speed of the object includes increasing the predetermined value according to the decrease of the moving speed of the object.

所述根据所述物体移动速率的变化而改变所述预设值大小的步骤包含:The step of changing the preset value according to the change of the moving speed of the object includes:

根据所述位置坐标中两两相邻位置坐标而分别计算出多个坐标差值;Calculate a plurality of coordinate difference values respectively according to two adjacent position coordinates in the position coordinates;

将所述坐标差值的总和代表所述物体移动距离;The sum of the coordinate differences represents the moving distance of the object;

当所述物体移动距离大于所述预设值的一最大距离门槛值,降低所述预设值;以及reducing the preset value when the moving distance of the object is greater than a maximum distance threshold of the preset value; and

当所述物体移动距离小于所述预设值的一最小距离门槛值,增加所述预设值。When the moving distance of the object is less than a minimum distance threshold of the preset value, the preset value is increased.

附图说明Description of drawings

图1为本发明所提出具有移动位置坐标产生方法的流程示意图。FIG. 1 is a schematic flowchart of a method for generating coordinates with a moving position proposed by the present invention.

图2为本发明所提出具有移动位置坐标产生装置的触碰装置的功能方块示意图。FIG. 2 is a functional block diagram of a touch device with a moving position coordinate generating device proposed by the present invention.

图3A~3B为本发明所述的触碰点位置坐标数量状态变化图。3A-3B are diagrams showing the state change of the position coordinate quantity of the touch point according to the present invention.

其中,附图标记:Among them, reference signs:

人机界面输入控制装置21Man-machine interface input control device 21

移动位置坐标产生装置20Mobile position coordinate generating device 20

储存单元201storage unit 201

运算单元202Arithmetic unit 202

外部装置22External device 22

具体实施方式Detailed ways

请参见图1,本发明所提出关于移动位置坐标产生方法的流程示意图,首先,人机界面输入控制装置根据一物体的触碰与移动而连续产生多个触碰点的位置坐标(步骤11),以触控板控制器为例,便可根据使用者手指或触控笔于触控板上的移动而连续产生多个触碰点的位置坐标,由于取样速度通常是维持一致的,所以在相同时间长度中所产生的位置坐标数量是相同的。接着如步骤12所示,读取并储存所述触碰点的位置坐标,例如可用储存单元来储存所述位置坐标。然后再利用步骤13来进行判断储存单元中储存的所述触碰点的位置坐标的数量是否到达预设值,当数量到达预设值时,便进行步骤14来将所述触碰点的位置坐标进行运算而得出代表所述位置坐标的移动位置坐标。Please refer to FIG. 1 , a schematic flow chart of the method for generating the moving position coordinates proposed by the present invention. First, the man-machine interface input control device continuously generates position coordinates of multiple touch points according to the touch and movement of an object (step 11) , taking the touchpad controller as an example, it can continuously generate the position coordinates of multiple touch points according to the movement of the user's finger or stylus on the touchpad. Since the sampling speed is usually consistent, the The number of position coordinates generated in the same length of time is the same. Next, as shown in step 12, the position coordinates of the touch point are read and stored, for example, a storage unit can be used to store the position coordinates. Then step 13 is used to judge whether the number of the position coordinates of the touch point stored in the storage unit reaches the preset value, and when the number reaches the preset value, step 14 is performed to convert the position of the touch point The coordinates are computed to obtain the mobile position coordinates representing the position coordinates.

至于上述要得出代表所述触碰点位置坐标的移动位置坐标的运算则可将所述位置坐标进行加权均值运算而得出所述移动位置坐标,也就是可以是较新产生的触碰点位置坐标的权值较高,当然也可是较新产生的触碰点位置坐标的权值较低。或是采用所述触碰点位置坐标权值皆相同的平均值运算也可得出所述移动位置坐标,甚至可用所述位置坐标中的中间值来完成运算。As for the above-mentioned operation to obtain the moving position coordinates representing the position coordinates of the touch point, the position coordinates can be weighted and averaged to obtain the moving position coordinates, that is, it can be a newly generated touch point. The position coordinates have a higher weight, and of course the newly generated touch point position coordinates have a lower weight. Alternatively, the moving position coordinates can also be obtained by using an average value operation in which the weights of the position coordinates of the touch points are the same, and even an intermediate value in the position coordinates can be used to complete the calculation.

另外,为能改善触控装置因使用者的触控笔或手指移动的速度变化所造成轨迹线性度效果不一致的问题,步骤15中便是根据所述物体移动速率的变化而改变所述预设值的大小。预设值越大将可使检测到的移动轨迹线性度更佳,但是会离实际触碰路径越远,而预设值越小将使检测到的移动轨迹线性度较差,但是会比较接近实际触碰路径。所以当在同一预设值的条件下,又因取样速度一致,所以在相同时间长度中所产生的触碰点位置坐标数量是相同的,因此当触控笔或手指移动划线的速度较慢时,相同时间内仅移动较短距离即可使所储存的触碰点位置坐标数量达到预设值而运算出一个移动位置坐标,反之,当触控笔或手指移动划线的速度较快时,相同时间内需要移动较长距离才能使所储存的触碰点位置坐标数量达到预设值而运算出一个移动位置坐标。而过长或过短的移动距离都可能会带来不良影响。因此,步骤15便可根据所述物体移动速率的变化而改变所述预设值的大小,然后再将储存单元中储存的所述触碰点位置坐标中最旧的触碰点位置坐标予以清除(步骤16)后再回到步骤12来储存新读取的触碰点位置坐标。In addition, in order to improve the problem of inconsistencies in the trajectory linearity effect of the touch device caused by the speed change of the user's stylus or finger movement, in step 15, the preset is changed according to the change of the moving speed of the object. The size of the value. The larger the preset value, the better the linearity of the detected movement trajectory, but the farther it will be from the actual touch path, and the smaller the preset value, the poorer the linearity of the detected movement trajectory, but it will be closer to the actual touch path Touch the path. Therefore, under the condition of the same preset value, and because the sampling speed is consistent, the number of touch point position coordinates generated in the same length of time is the same, so when the stylus or finger moves the line at a slower speed , only move a short distance in the same time to make the number of stored coordinates of the touch point reach the preset value and calculate a moving position coordinates. On the contrary, when the stylus or finger moves faster , it needs to move a long distance in the same time to make the number of stored touch point position coordinates reach a preset value and calculate a moving position coordinate. And too long or too short moving distance may bring adverse effects. Therefore, in step 15, the size of the preset value can be changed according to the change of the moving speed of the object, and then the oldest touch point position coordinates among the touch point position coordinates stored in the storage unit are cleared (Step 16) Return to step 12 to store the newly read coordinates of the touch point position.

对于所述物体移动速率的推估则利用下列方法计算:首先,根据储存单元中储存的预设值数量的所述触碰点位置坐标中两两相邻触碰点位置坐标而分别计算出多个坐标差值以得到两两相邻触碰点间的距离;以及将所述距离总和以得到物体的移动距离。而当控制器取样速度维持一致时,在相同时间长度中的移动距离将可被视为移动速率,当移动距离越长代表移动速率越快,反之,当移动距离越短代表移动速率越慢。The estimation of the moving speed of the object is calculated using the following method: first, according to the coordinates of the coordinates of the coordinates of the coordinates of the coordinates of the coordinates of the coordinates of the preset values stored in the storage unit, the coordinates of the coordinates of the coordinates of the coordinates of the coordinates of the adjacent touch points are calculated respectively. coordinate difference to obtain the distance between two adjacent touch points; and sum the distances to obtain the moving distance of the object. When the sampling speed of the controller is consistent, the moving distance in the same length of time can be regarded as the moving speed. When the moving distance is longer, the moving speed is faster. Conversely, when the moving distance is shorter, the moving speed is slower.

而上述步骤15可由下列方式完成,例如,可以根据所述物体移动速率的增加而将所述预设值减少,或是根据所述物体移动速率的降低而将所述预设值增加,当然也可以两个判断都进行。目的皆在于将达到预设值所需的距离控制在一个适当的范围,用以避免过长或过短的移动距离所可能会带来的不良影响。举例来说,如图3A所示的物体移动速率由慢变快的取样坐标状态变化图,所述预设值可于系统初始化时设为6并设有多个属于不同预设值的速率范围与最大距离门槛值,所述的预设值大小可以依据不同的速率范围与期望的灵敏度人为设定或者自动设定,如图所示,进行6次取样后所得到的6个触碰点位置坐标(X1,Y1)、(X2,Y2)、(X3,Y3)、(X4,Y4)、(X5,Y5)、(X6,Y6)被记录于储存单元中来进行代表所述触碰点位置坐标的移动位置坐标的运算,而当进一步运算6个触碰点的距离总和大于预设的最大距离门槛值,表示物体移动速率太快了,则可将下次检测的预设值调降为5,以避免移动距离过长造成坐标运算的误差。下一次检测时系统会如图所示,在进行5次取样而得到5个触碰点位置坐标(X1,Y1)、(X2,Y2)、(X3,Y3)、(X4,Y4)、(X5,Y5)后便进行运算。依此类推,若是所述物体移动距离总和再增加到大于属于预设值5的最大距离门槛值,表示物体移动速率又太快了,便将所述预设值再减少为4,而再下一次检测时只进行4次取样得到的4个触碰点位置坐标(X1,Y1)、(X2,Y2)、(X3,Y3)、(X4,Y4)后便进行运算。The above-mentioned step 15 can be completed in the following manner, for example, the preset value can be decreased according to the increase of the moving speed of the object, or the preset value can be increased according to the decrease of the moving speed of the object. Both judgments can be made. The purpose is to control the distance required to reach the preset value within an appropriate range, so as to avoid adverse effects that may be caused by too long or too short moving distance. For example, as shown in FIG. 3A , the sample coordinate state change diagram of the moving speed of the object from slow to fast, the preset value can be set to 6 at the time of system initialization and there are multiple speed ranges belonging to different preset values. With the maximum distance threshold value, the preset value can be set manually or automatically according to different speed ranges and desired sensitivities. As shown in the figure, the positions of the 6 touch points obtained after 6 sampling Coordinates (X1, Y1), (X2, Y2), (X3, Y3), (X4, Y4), (X5, Y5), (X6, Y6) are recorded in the storage unit to represent the touch point The calculation of the moving position coordinates of the position coordinates, and when the sum of the distances of the further calculated six touch points is greater than the preset maximum distance threshold value, it means that the moving speed of the object is too fast, and the preset value for the next detection can be lowered Set to 5 to avoid coordinate calculation errors caused by too long moving distance. In the next detection, the system will obtain 5 touch point position coordinates (X1, Y1), (X2, Y2), (X3, Y3), (X4, Y4), (X4, Y4), ( After X5, Y5), the calculation will be performed. By analogy, if the sum of the moving distance of the object is increased to be greater than the maximum distance threshold value belonging to the preset value of 5, it means that the moving speed of the object is too fast, then the preset value is further reduced to 4, and then down In one detection, only 4 samples are taken to obtain the 4 touch point position coordinates (X1, Y1), (X2, Y2), (X3, Y3), (X4, Y4), and then the calculation is performed.

反之,如图3B所示的物体移动速率由快变慢的取样坐标状态变化图,所述预设值可于系统初始化时设为6并设有最小距离门槛值,进行6次取样后所得到的6个触碰点位置坐标(X1,Y1)、(X2,Y2)、(X3,Y3)、(X4,Y4)、(X5,Y5)、(X6,Y6)被记录于储存单元中来进行代表所述触碰点位置坐标的移动位置坐标的运算。而当进一步运算6个触碰点的距离总和小于预设的最小距离门槛值,表示物体移动太慢,在单位时间内储存单元的预设值数量不足以记录坐标,便将预设值调升为7。下一次检测时系统会如图所示,在进行7次取样而得到7个触碰点位置坐标(X1,Y1)、(X2,Y2)、(X3,Y3)、(X4,Y4)、(X5,Y5)、(X6,Y6)、(X7,Y7)后才进行运算。依此类推,若是所述物体移动距离总和小于预设值7的最小距离门槛值时,便将所述预设值再增加为8,而在下一次检测时进行8次取样得到的8个触碰点位置坐标(X1,Y1)、(X2,Y2)、(X3,Y3)、(X4,Y4)、(X5,Y5)、(X6,Y6)、(X7,Y7)、(X8,Y8)后才进行运算。On the contrary, as shown in Figure 3B, the sample coordinate state change diagram of the moving speed of the object from fast to slow, the preset value can be set to 6 at the time of system initialization and the minimum distance threshold value is set, and it is obtained after 6 samples The six touch point position coordinates (X1, Y1), (X2, Y2), (X3, Y3), (X4, Y4), (X5, Y5), (X6, Y6) are recorded in the storage unit. A calculation is performed on moving position coordinates representing the touch point position coordinates. And when the sum of the distances of the six touch points is less than the preset minimum distance threshold, it means that the object is moving too slowly, and the number of preset values in the storage unit per unit time is not enough to record the coordinates, so the preset value is increased for 7. In the next detection, the system will obtain 7 touch point position coordinates (X1, Y1), (X2, Y2), (X3, Y3), (X4, Y4), (X4, Y4), ( X5, Y5), (X6, Y6), (X7, Y7) before the operation. By analogy, if the total moving distance of the object is less than the minimum distance threshold of the preset value of 7, the preset value will be increased to 8, and the 8 touches obtained by sampling 8 times in the next detection Point position coordinates (X1, Y1), (X2, Y2), (X3, Y3), (X4, Y4), (X5, Y5), (X6, Y6), (X7, Y7), (X8, Y8) operation afterward.

再请参见图2,本发明所提出具有移动位置坐标产生装置的触控装置的功能方块示意图,本发明公开的触控装置包含移动位置坐标产生装置20、人机界面输入控制装置21以及外部装置22。移动位置坐标产生装置20可应用于人机界面输入控制装置21上,其中人机界面输入控制装置21根据物体(图未示出)的移动而连续产生多个触碰点位置坐标,而移动位置坐标产生装置20则包含有储存单元201与运算单元202,其中储存单元201用以储存移动位置坐标产生装置20所产生的所述触碰点位置坐标,而信号连接至所述储存单元201的运算单元202,则根据所述储存单元201中储存的所述触碰点位置坐标的数量到达一预设值时,将所述触碰点位置坐标进行运算而得出一移动位置坐标,并可根据所述触碰点位置坐标的变化而推估出所述物体的移动速率,进而根据所述物体的移动速率的变化而改变所述预设值的大小。而所述移动位置坐标可输出至外部装置22或是类似的数据系统装置,用以控制外部装置22的光标、画笔等指标物件,所述的外部装置可例如是触碰面板、触碰式显示装置、移动显示装置和互动式显示装置等。Please refer to FIG. 2 again, which is a schematic functional block diagram of a touch device with a moving position coordinate generating device proposed by the present invention. The touch device disclosed in the present invention includes a moving position coordinate generating device 20, a man-machine interface input control device 21 and an external device twenty two. The mobile position coordinate generating device 20 can be applied to the human-machine interface input control device 21, wherein the human-machine interface input control device 21 continuously generates a plurality of touch point position coordinates according to the movement of the object (not shown), and the mobile position The coordinate generating device 20 includes a storage unit 201 and a computing unit 202, wherein the storage unit 201 is used to store the coordinates of the touch point position generated by the moving position coordinate generating device 20, and the signal is connected to the computing of the storage unit 201 Unit 202, when the number of the touch point position coordinates stored in the storage unit 201 reaches a preset value, calculate the touch point position coordinates to obtain a moving position coordinate, and can according to The change of the position coordinates of the touch point is used to estimate the moving speed of the object, and then the preset value is changed according to the change of the moving speed of the object. The coordinates of the moving position can be output to the external device 22 or similar data system devices to control the pointer objects such as cursors and brushes of the external device 22. The external device can be, for example, a touch panel or a touch display. devices, mobile displays, interactive displays, and more.

以触控板控制器完成的人机界面输入控制装置21为例,便可根据使用者手指或触控笔于触控板上的移动而连续产生多个触碰点位置坐标,由于取样速率通常是维持一致的,所以在相同时间长度中所产生的位置坐标数量是相同的。故运算单元202会对储存单元201中储存的所述触碰点位置坐标的数量是否到达预设值来进行判断,当数量到达预设值时,便将所述触碰点位置坐标进行运算而得出代表所述触碰点位置坐标的一移动位置坐标。Taking the man-machine interface input control device 21 completed by the touch panel controller as an example, multiple touch point position coordinates can be continuously generated according to the movement of the user's finger or stylus on the touch panel. Since the sampling rate is usually is consistent, so the number of position coordinates generated in the same length of time is the same. Therefore, the calculation unit 202 will judge whether the number of the touch point position coordinates stored in the storage unit 201 reaches a preset value, and when the number reaches the preset value, the touch point position coordinates will be calculated and A moving position coordinate representing the position coordinate of the touch point is obtained.

至于运算单元202所执行的各个动作,如数量是否到达预设值的判断、运算以及根据所述物体的移动速率的变化而改变所述预设值大小的细节,分别与上述步骤13、步骤14以及步骤15的相关内容相同,故不再赘述。而根据位置坐标的变化而推估出所述物体的移动速率也可直接延用上述方法,根据所述位置坐标中两两相邻触碰点位置坐标而分别计算出多个坐标差值以得到两两相邻触碰点间的距离,然后将所述距离总和以得到所述物体的移动距离。而当控制器取样速度维持一致时,在相同时间长度中的移动距离将可被视为移动速率。As for the various actions performed by the computing unit 202, such as the judgment and calculation of whether the quantity reaches the preset value, and the details of changing the size of the preset value according to the change of the moving speed of the object, they are respectively related to the above-mentioned steps 13 and 14. The related content of step 15 is the same, so it will not be repeated. The above-mentioned method can also be directly used to estimate the moving rate of the object according to the change of the position coordinates, and calculate a plurality of coordinate differences according to the position coordinates of two adjacent touch points in the position coordinates to obtain distances between two adjacent touch points, and then sum the distances to obtain the moving distance of the object. And when the sampling rate of the controller remains consistent, the moving distance in the same time length can be regarded as the moving rate.

另外,上述软件方法与硬件装置也可改通过固件方式来完成,例如利用可调整长度的阵列式缓冲器来完成上述储存单元201,如此一来,改变预设值便可通过改变阵列式缓冲器的长度来完成,而只要阵列一满便进行运算。In addition, the above-mentioned software method and hardware device can also be implemented by firmware, such as using an adjustable-length array buffer to complete the above-mentioned storage unit 201. In this way, changing the default value can be achieved by changing the array buffer The length of the array is completed, and the operation is performed as soon as the array is full.

综上所述,本发明技术手段可广泛应用于各式人机界面输入装置上,例如常见的触控板、触控显示器、轨迹球或滑鼠等用以追踪或是记录物体移动轨迹的工具,可有效改善常用手段的缺失。虽然本发明已以较佳实施例公开如上,然其并非用以限定本发明,任何本领域一般技术人员,在不脱离本发明的精神和范围内,当可作些许的变更与修改,因此本发明的保护范围以权利要求书为准。In summary, the technical means of the present invention can be widely applied to various human-machine interface input devices, such as common touch panels, touch displays, trackballs or mice, etc. , can effectively improve the lack of common means. Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The scope of protection of the invention shall be determined by the claims.

Claims (7)

1.一种移动位置坐标产生方法,应用于一人机界面输入控制装置上,其特征在于,所述方法包含下列步骤:1. A mobile position coordinate generation method, applied on a man-machine interface input control device, is characterized in that, the method comprises the following steps: 检测一物体的移动而连续产生多个位置坐标;Detect the movement of an object and continuously generate multiple position coordinates; 读取并储存所述位置坐标;read and store the location coordinates; 当储存的所述位置坐标的数量到达一预设值时,将所述位置坐标进行一运算而得出一移动位置坐标;以及When the number of stored position coordinates reaches a preset value, performing an operation on the position coordinates to obtain a moving position coordinate; and 根据所述物体移动速率的变化而改变所述预设值的大小。The size of the preset value is changed according to the change of the moving speed of the object. 2.如权利要求1所述的移动位置坐标产生方法,其特征在于,所述运算为将所述位置坐标进行一平均值运算而得出所述移动位置坐标。2 . The method for generating the moving position coordinates according to claim 1 , wherein the operation is to perform an average value operation on the position coordinates to obtain the moving position coordinates. 3 . 3.如权利要求1所述的移动位置坐标产生方法,其特征在于,所述运算为将所述位置坐标进行一加权均值运算而得出所述移动位置坐标。3 . The method for generating the moving position coordinates according to claim 1 , wherein the operation is to perform a weighted mean calculation on the position coordinates to obtain the moving position coordinates. 4 . 4.如权利要求1所述的移动位置坐标产生方法,其特征在于,所述运算为将所述位置坐标进行一中间值运算而得出所述移动位置坐标。4 . The method for generating the coordinates of the moving position according to claim 1 , wherein the operation is to perform an intermediate value operation on the coordinates of the position to obtain the coordinates of the moving position. 5 . 5.如权利要求1所述的移动位置坐标产生方法,其特征在于,所述根据所述物体移动速率的变化而改变所述预设值大小的步骤包含根据所述物体移动速率的增加而将所述预设值减少。5. The method for generating mobile position coordinates according to claim 1, wherein the step of changing the preset value according to the change of the moving speed of the object includes changing the value according to the increase of the moving speed of the object The preset value is decreased. 6.如权利要求1所述的移动位置坐标产生方法,其特征在于,所述根据所述物体移动速率的变化而改变所述预设值大小的步骤包含根据所述物体移动速率的降低而将所述预设值增加。6. The method for generating mobile position coordinates according to claim 1, wherein the step of changing the preset value according to the change of the moving speed of the object includes changing the preset value according to the decrease of the moving speed of the object The preset value is increased. 7.如权利要求1所述的移动位置坐标产生方法,其特征在于,所述根据所述物体移动速率的变化而改变所述预设值大小的步骤包含:7. The method for generating mobile position coordinates according to claim 1, wherein the step of changing the preset value according to the change of the moving speed of the object comprises: 根据所述位置坐标中两两相邻位置坐标而分别计算出多个坐标差值;Calculate a plurality of coordinate difference values respectively according to two adjacent position coordinates in the position coordinates; 将所述坐标差值的总和代表所述物体移动距离;The sum of the coordinate differences represents the moving distance of the object; 当所述物体移动距离大于所述预设值的一最大距离门槛值,降低所述预设值;以及reducing the preset value when the moving distance of the object is greater than a maximum distance threshold of the preset value; and 当所述物体移动距离小于所述预设值的一最小距离门槛值,增加所述预设值。When the moving distance of the object is less than a minimum distance threshold of the preset value, the preset value is increased.
CN2012104013586A 2012-09-07 2012-10-19 mobile position coordinate generating method Pending CN102981670A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW101132791A TWI492168B (en) 2012-09-07 2012-09-07 Method for generating movement position coordinates
TW101132791 2012-09-07

Publications (1)

Publication Number Publication Date
CN102981670A true CN102981670A (en) 2013-03-20

Family

ID=47855779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104013586A Pending CN102981670A (en) 2012-09-07 2012-10-19 mobile position coordinate generating method

Country Status (3)

Country Link
US (1) US20140071038A1 (en)
CN (1) CN102981670A (en)
TW (1) TWI492168B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106030474A (en) * 2014-02-21 2016-10-12 高通股份有限公司 System and method for reducing shadow effects in touch systems
CN107710105A (en) * 2015-07-08 2018-02-16 索尼互动娱乐股份有限公司 Operate input unit and method of operation input
CN111475014A (en) * 2019-12-24 2020-07-31 长融(北京)信息技术有限公司 Multilayer light curtain space position positioning method based on staggered two-dimensional

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109933058B (en) * 2017-12-18 2022-04-12 北京京东乾石科技有限公司 Method, apparatus, server and storage medium for determining movement error of removable device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10111760A (en) * 1996-10-04 1998-04-28 Hitachi Ltd Cursor control device and its system
CN101989137A (en) * 2009-07-30 2011-03-23 晨星软件研发(深圳)有限公司 Method and device for judging touch point displacement volume
TW201203019A (en) * 2010-07-12 2012-01-16 Chip Goal Electronics Corp Locus smoothing method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5053757A (en) * 1987-06-04 1991-10-01 Tektronix, Inc. Touch panel with adaptive noise reduction
US5179254A (en) * 1991-07-25 1993-01-12 Summagraphics Corporation Dynamic adjustment of filter weights for digital tablets
US5837947A (en) * 1996-02-09 1998-11-17 Symbios, Inc. Method and apparatus for reducing noise in an electrostatic digitizing table
JPH09325860A (en) * 1996-06-04 1997-12-16 Alps Electric Co Ltd Coordinate input device
KR101652828B1 (en) * 2010-05-20 2016-08-31 삼성전자주식회사 Method and apparatus for adaptive digital filtering in a touch sensing system
TWI468993B (en) * 2010-08-16 2015-01-11 Qisda Corp Touch trace connection method for touch screen
US20120169619A1 (en) * 2011-01-05 2012-07-05 Research In Motion Limited Electronic device and method of controlling same
CN102890576B (en) * 2011-07-22 2016-03-02 宸鸿科技(厦门)有限公司 Touch screen touch track detection method and pick-up unit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10111760A (en) * 1996-10-04 1998-04-28 Hitachi Ltd Cursor control device and its system
CN101989137A (en) * 2009-07-30 2011-03-23 晨星软件研发(深圳)有限公司 Method and device for judging touch point displacement volume
TW201203019A (en) * 2010-07-12 2012-01-16 Chip Goal Electronics Corp Locus smoothing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106030474A (en) * 2014-02-21 2016-10-12 高通股份有限公司 System and method for reducing shadow effects in touch systems
CN106030474B (en) * 2014-02-21 2019-04-23 高通股份有限公司 System and method for reducing the shadow effect in touch system
CN107710105A (en) * 2015-07-08 2018-02-16 索尼互动娱乐股份有限公司 Operate input unit and method of operation input
CN107710105B (en) * 2015-07-08 2020-12-29 索尼互动娱乐股份有限公司 Operation input device and operation input method
CN111475014A (en) * 2019-12-24 2020-07-31 长融(北京)信息技术有限公司 Multilayer light curtain space position positioning method based on staggered two-dimensional

Also Published As

Publication number Publication date
TWI492168B (en) 2015-07-11
TW201411503A (en) 2014-03-16
US20140071038A1 (en) 2014-03-13

Similar Documents

Publication Publication Date Title
TWI584164B (en) Emulating pressure sensitivity on multi-touch devices
CN101373416B (en) A resistive touch panel controller and a method for distinguishing and computing multi-point coordinates
US20160188066A1 (en) Force Correction on Multiple Sense Elements
US8743065B2 (en) Method of identifying a multi-touch rotation gesture and device using the same
US8743061B2 (en) Touch sensing method and electronic device
US20120249599A1 (en) Method of identifying a multi-touch scaling gesture and device using the same
CN102253709A (en) Gesture judgment method and device
US20120249448A1 (en) Method of identifying a gesture and device using the same
TW201520864A (en) Graphics editing method and electronic device using the same
TWI518580B (en) Portable apparatus and operation method thereof
TWI416381B (en) Touch the sliding method
TW201411426A (en) Electronic apparatus and control method thereof
CN104714637A (en) Polygonal gesture detection and interaction method, device and computer program product
CN102981670A (en) mobile position coordinate generating method
CN101458610A (en) Control method of multi-point touch controller
CN102339192B (en) Electronic equipment and display processing method thereof
CN101393496B (en) Touch point detection method of touch panel
CN101876865A (en) Method for judging a gesture of a touch device
CN103176671B (en) Touch electronic device and touch track correction method
CN102073408A (en) How to accelerate cursor movement by sliding two fingers on the touchpad
US10042440B2 (en) Apparatus, system, and method for touch input
CN102375631B (en) Surface capacitive touch panel and control method thereof
CN110874159B (en) A touch recognition method, device and touch display device based on taking into account the complementary value of vertical axis data
CN104657061B (en) Screen capture method and electronic device using same
CN103425418A (en) Touch control method and mobile device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130320