TOUCH PANEL DEVICE, TOUCH PANEL DEVICE CONTROL METHOD, PROGRAM AND STORAGE MEDIUM THAT STORES THE PROGRAM
The touch panel device corrects for noise-induced coordinate swapping in multi-touch operations by using a working position determination and correction mechanism, ensuring accurate position detection.
Patent Information
- Application Number
- DE102019128183
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-10-23
- Filing Date
- 2019-10-18
- Publication Date
- 2024-10-31
- Estimated Expiration
- 2039-10-18
AI Technical Summary
Existing touch panel devices with multi-touch capabilities suffer from incorrect detection of actuation positions due to noise, leading to swapped coordinates when multiple points are touched.
A touch panel device equipped with a working position determination unit, intersection determination unit, and correction unit to determine and correct the positions of actuating elements based on signal output, ensuring accurate detection by determining and correcting paths that intersect.
Prevents incorrect detection of actuation positions, allowing for precise determination of touched coordinates, even in noisy environments.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Background of the invention Field of the invention
[0001] The present invention relates to a touch panel device capable of multi-touch operation in the capable of providing a control method for the touch panel device, a program and a storage medium containing the program saves. Description of the state of the art
[0002] JP 2013-186648 A describes an information processing device capable of multi-touch operation in the Further touch panel devices are known from JP 2009-3 670 A and EP 2 637 088 A2. Summary of the invention
[0003] Information processing devices (touch panel devices) capable of multi-touch operation are, such as the technology described in JP 2013-186648 A, have the problem that when a user has two points on the touch panel, the coordinates that indicate the position of a point touched by the user, and the Coordinates indicating the position of the other point touched by the user due to noise in the The signal output by the touch panel may be incorrectly detected, resulting in the coordinates being swapped.
[0004] The present invention has been made to solve this problem, and it is an object of the present Invention to propose a touch panel device that is capable of producing a incorrect detection of actuation positions on the touch panel that were touched by actuation elements avoid, as well as a method for controlling the touch panel device, a program and a storage medium that program saves.
[0005] According to a first aspect of the present invention, a touch panel device configured to is to enable a user to perform a multi-touch operation, a touch panel designed to Output signals associated with positions touched by actuators, a Working position determination unit, which is designed to determine positions on the operating elements as the working position the touch panel, which are touched by the actuating elements, whereby the positions on the touch panel determined on the basis of signals output by the touch panel, a Intersection determination unit which is designed to, when the multi-touch operations result in an input is made to determine whether a first path and a second path cross each other, the first path being a path of Working position of an actuating element of the actuating elements, wherein the second path is a path of the working position of the other actuating element, and a correction unit which is designed to, when it is determined, that the first path and the second path cross each other, the working position of one actuating element, which is determined by the Working position determination unit was determined against the working position of the other actuating element exchange, and the working position of the other actuating element, which is determined by the working position determination unit was determined, against the working position of one actuating element.
[0006] A second aspect of the present invention is directed to a method for controlling a touch panel device designed to allow a user to perform a multi-touch operation, wherein the Touch panel device comprises a touch panel which is designed to output signals which are assigned to positions which are touched by actuating elements. The method comprises a working position determination step for Determination of positions on the touch panel that are touched by the actuating elements as working positions of the actuating elements, whereby the positions on the touch panel are determined on the basis of signals received from the touch panel, an intersection determination step, in order to then, when the multi-touch Operation an input is made to determine whether a first path and a second path cross each other, where the first path is a path of the working position of an actuating element of the actuating elements, wherein the second path is a Path of the working position of the other actuator, and a correction step to then, when it is determined, that the first path and the second path cross each other, the working position of one actuating element, which is determined by the working position determination step is determined against the working position of the other actuating element and the working position of the other actuating element determined by the working position determination step is determined, against the working position of one actuating element.
[0007] A third aspect of the present invention is directed to a program designed to Computer to initiate the procedure to control the touch panel device according to the above second aspect.
[0008] A fourth aspect of the present invention is directed to a storage medium in which a program which is designed to cause a computer to carry out the method for controlling the Touch panel device according to the above second aspect.
[0009] With the present invention, it is possible to prevent erroneous detection of the To avoid working positions on the touch panel that are touched by the operating elements.
[0010] The above and other objects, features and advantages of the present invention will become more apparent from the following description in conjunction with the accompanying drawings in which a preferred embodiment of the present invention is exemplified. Short description of the drawings Fig. 1 is a block diagram showing the configuration of the touch panel device, Fig. 2 is a flow chart showing the intersection determination process performed by a intersection determination unit is carried out, Fig. 3 is a diagram showing a first path and a second path on the touch panel, Fig. 4 is a flow chart showing the correction process carried out by the correction unit is carried out, Fig. 5 is a diagram showing the first path and the second path after correction by the correction unit shows, Fig. 6 is a flowchart showing the intersection determination process performed by a intersection determination unit is carried out, Fig. 7 is a diagram showing a first path and a second path on the touch panel, Fig. 8 is a block diagram showing the configuration of a touch panel device, Fig. 9 is a diagram showing a first path and a second path on the touch panel, and Fig. 10 is a diagram showing the first path and the second path on the touch panel. Description of the preferred embodiment [First embodiment] [Structure of the touch panel device]
[0011] Fig. 1 is a block diagram showing the configuration of a touch panel device 10. The Touch panel device 10 is an input device that allows a user to control it by touching a position on a display unit 12 on which images etc. are displayed, by pressing one or more actuating elements (e), such as fingers or pen(s). The touch panel device 10 according to this embodiment is used as Input device for a computer numerical control device (CNC) 14 for controlling a machine tool (not shown).
[0012] The touch panel device 10 comprises the display unit 12, a display control unit 16, a touch panel 18, a Working position determination unit 20, an intersection determination unit 22 and a correction unit 24.
[0013] The display unit 12 may, for example, be a liquid crystal display that displays icons through which the user can enter commands into the numerical control device, information, the states of the machine tool provided by the numerical Control device 14, etc. The display control unit 16 controls the display unit 12 according to the requirements of the numerical control device 14.
[0014] The touch panel 18 is a transparent film element or glass element that is applied to the screen of the display unit 12. The touch panel 18 outputs signals corresponding to positions touched by an actuating element The touch panel 18 according to this embodiment is a touch panel that allows the user to perform multi-touch To perform operations by using two actuating elements, such as two fingers, two pens or the like become.
[0015] Based on the positions touched by the touch panel 18 corresponding to the actuating elements The working position detection unit 20 determines the positions on the touch panel 18 which are the operating elements were touched as working positions.
[0016] The intersection determination unit 22 determines that a first path T and a second path U cross each other, where the first path T and the second path U are the respective paths of the work positions taken by the two Actuating elements are touched, whereby the working positions are determined by the working position determination unit 20 (Fig. 3).
[0017] When the intersection determination unit 22 determines that the first path T and the second path U cross, the correction unit 24 carries out a correction by changing the coordinates of the Working positions touched by actuating elements can be swapped.
[0018] The display control unit 16, the working position determination unit 20, the intersection determination unit 22 and the Correction unit 24 are implemented by programs that are stored in a storage medium 26 and by a computer. [Intersection determination process]
[0019] Fig. 2 is a flow chart showing the flow of the intersection determination process performed by the Intersection determination unit 22 is carried out.
[0020] In step S1, the intersection determination unit 22 receives one or more working positions determined by the Actuating element(s) are actuated by the working position determination unit 20.
[0021] In step S2, the intersection determination unit 22 determines whether a multi-touch operation, ie an operation by two actuators. When a multi-touch operation is performed, the process Continue to step S3. If no multi-touch operation is performed, the process ends.
[0022] In step S3, the intersection determination unit 22 considers the coordinates of working positions of one of the both operating elements as first coordinates P and considers the coordinates of the working positions of the other of the both operating elements as second coordinates Q (Fig. 3). Then the intersection determination unit 22 determines whether a first line segment L, which contains the previously determined first coordinates P and the currently determined first coordinates P, and a second line segment M, which connects the previously determined second coordinates Q and the currently determined second coordinate Q, have an intersection point I (Fig. 3 ). If the first If the first line segment L and the second line segment M have an intersection point I, the process proceeds to step S4. If the first line segment L and the second line segment M do not have an intersection point I, the process ends.
[0023] The period from the determination of the previously determined first coordinates P to the determination of the current determined first coordinates P and the period from the determination of the previously determined second coordinates Q up to the Determination of the currently determined second coordinate Q lies within a specified time window. This specified Time is chosen to be so short that it is difficult for the user to move the actuating elements in such a way that the first path T and the second path U cross each other.
[0024] In step S4, a determination is made that the first path T and the second path U intersect each other, and the Process ends.
[0025] Fig. 3 is a diagram showing the first path T and the second path U on the touch panel 18. The first path T is the line connecting the first coordinates P, which represent the working positions defined by one of the two The second path U is the line connecting the second coordinates Q, which are the working positions that are touched by the other of the two operating elements. The first Coordinates P and the second coordinates Q are coordinates in a first coordinate system S1 with an X-axis and a Y-axis, which run orthogonally on the touch panel 18.
[0026] In Fig. 3, the coordinates (Xa1, Ya1) are the first coordinates P that the working position determination unit 20 has determined in advance, the coordinates (Xa2, Ya2) are the first coordinates P that the working position determination unit 20 currently determined, and the coordinates (Xa3, Ya3) are the first coordinates P that the Working position detection unit 20 next time. Similarly, in Fig. 3, the coordinates (Xb1, Yb1) the second coordinates Q, which the working position determination unit has previously determined, the coordinates (Xb2, Yb2) are the second coordinates Q that the work position determination unit has currently determined, and the coordinates (Xb3, Yb3) are the second coordinates Q that the working position determination unit 20 determines next time.
[0027] In the first path T and the second path U shown in Fig. 3, the first line segment L, which connects the previously determined first coordinates P (Xa1, Ya1) and the currently determined first coordinates P (Xa2, Ya2), and the second line segment M, which contains the previously determined second coordinates Q (Xb1, Yb1) and the currently determined second coordinates Q (Xb2, Yb2) has an intersection point I. In this case, a determination occur so that the first path T and the second path U cross each other. [Correction process]
[0028] Fig. 4 is a flow chart showing the flow of the correction process performed by the correction unit 24 shows.
[0029] In step S11, the correction unit 24 receives working positions touched by the actuating elements, from the work position determination unit 20.
[0030] In step S12, the correction unit 24 determines whether the intersection determination unit 22 has determined that the first path T and the second path U cross each other. If a determination has been made that the first path T and the second path U intersect each other, the process proceeds to step S13. If it is not determined that the first path T and the second path U cross each other, the process proceeds to S14.
[0031] In step S13, the coordinate values of the first coordinates P and the coordinate values of the second Coordinates Q of the working positions obtained in step S11 are exchanged and output.
[0032] In step S14, the work items obtained in step S11 are output as they are.
[0033] Fig. 5 is a diagram showing the first path T and the second path U after correction by the Correction unit 24 shows. After determining that the first path T and the second path U intersect each other, the correction unit 24 replaces the first coordinates P by the coordinates (Xb2, Yb2) determined by the Working position determination unit 20 currently determines the second coordinates Q and replaces the second Coordinates Q by the coordinates (Xa2, Ya2) that the working position determination unit 20 currently uses as the first coordinates P. Similarly, the correction unit 24 replaces the first coordinates P by the coordinates (Xb3, Yb3), which the working position determination unit 20 determines next time as the second coordinates Q, and replaces the second coordinates Q by the coordinates (Xa3, Ya3) which the working position determination unit 20 determines at the next The first coordinates P are determined. [Functions and effects]
[0034] The conventional touch panel device sometimes has problems that when a user Multi-touch operation, the working positions touched by one actuating element and those by the other Actuating element touched working positions are detected due to noise in such a way that the working positions be swapped.
[0035] In the touch panel device 10 according to this embodiment, when a determination is made that the first Path T and the second path U intersect each other, the correction unit 24 causes the path determined by an actuating element touched work positions determined by the work position determination unit 20 as the work positions which have been touched by the other actuating element and ensures that the parts touched by the other Actuating element touched working positions, which were determined by the working position determination unit 20, as the working positions that were touched by one actuating element are treated. It is thus possible to To correct working positions that were incorrectly detected due to noise from the touch panel 18 in order to to maintain correct working positions.
[0036] Furthermore, in the touch panel device 10 according to this embodiment, the Working position determination unit 20 the working positions of an actuating element as the first coordinates P in the first coordinate system S1 and determines the working positions of the other actuating element as the second Coordinates Q in the first coordinate system S1. Then, the intersection determination unit 22 determines that the first Path T and the second path U cross each other when the first line segment L, which connects two points of the first Coordinates P determined by the working position determination unit 20, and the second Line segment M, which connects two points of the second coordinates Q, which are determined by the working position determination unit 20 be determined, have an intersection point I. It is thus possible to determine that the first path T and the second path U cross each other.
[0037] In the touch panel device 10 according to this embodiment, the Intersection determination unit 22 that the first path T and the second path U intersect each other when the first Line segment L, which connects two points of the first coordinates P determined by the working position determination unit 20 within a given period of time, and the second line segment M, which connects two points the second coordinates Q determined by the working position determination unit 20 within the specified period be determined, have an intersection point I. It is thus possible to determine that the first path T and the second path U intersect each other, excluding cases in which the user intentionally and consciously Actuating elements are actuated so that the first path T and the second path U intersect each other. [Second embodiment]
[0038] A touch panel device 10 according to a second embodiment differs from the Touch panel device 10 according to the first embodiment with regard to the content of processing by the Intersection determination unit 22.
[0039] Fig. 6 is a flowchart showing the flow of the intersection determination process performed by the Intersection determination unit 22 is carried out.
[0040] In step S21, the intersection determination unit 22 receives one or more working positions determined by the / the actuating element(s) are touched by the working position determination unit 20.
[0041] In step S22, the intersection determination unit 22 determines whether the operation is a multi-touch operation with two working positions. In the multi-touch case, the process continues to step S23. If there is no multi-touch, the Process.
[0042] If the coordinates of one of the two working positions are determined by first coordinates P and the coordinates of the other working position are represented by second coordinates Q, the intersection determination unit 22 determines in step S23, whether the size relationship between a component of the currently determined first coordinates P and the assigned component of the currently determined second coordinates Q opposite to the size relationship between the component of the previously determined first coordinates P and the component of the previously determined second coordinates Q, ie whether the size relationship between a component of the first coordinates P and a associated component of the second coordinate Q has been reversed. If the size relationship between the component of the first coordinates P and the component of the second coordinates Q has been reversed, the process continue to step S24. If the size relationship between the component of the first coordinate P and the component the second coordinate Q has not been reversed, the process ends.
[0043] The period from the determination of the previously determined first coordinates P to the determination of the current determined first coordinates P and the period from the determination of the previously determined second coordinates Q up to the Determination of the currently determined second coordinates Q are each within a given time window. This The specified period of time is chosen so that it is so short that it is difficult for the user to operate the control elements to operate (move) so that the first path T and the second path U intersect each other.
[0044] In step S24, a determination is made that the first path T and the second path U intersect each other, and the Process ends.
[0045] Fig. 7 is a diagram showing a first path T and a second path U on the touch panel 18. The first Path T is a line connecting the points defined by the first coordinates P, which define the working positions by represent one of the two actuators. The second path U is a line that represents the path Coordinates Q defined points that define the working positions by the other of the two actuating elements The first coordinates P and the second coordinates Q are coordinates on a first Coordinate system S1 with an X-axis and a Y-axis that lie orthogonally on the touch panel 18.
[0046] In Fig. 7, the coordinates (Xa1, Ya1) are the first coordinates P that the working position detection unit 20 determined last time, the coordinates (Xa2, Ya2) are the first coordinates P, which the Work position determination unit 20 has determined this time, and the coordinates (Xa3, Ya3) are the first coordinates P, which the working position determination unit 20 determines next time. Similarly, in Fig. 7, the Coordinates (Xb1, Yb1) the second coordinates Q that the working position determination unit 20 determined last time the coordinates (Xb2, Yb2) are the second coordinates Q that the working position detection unit 20 this time and the coordinates (Xb3, Yb3) are the second coordinates Q that the working position determination unit 20 determined next time.
[0047] In the first path T and the second path U shown in Fig. 7, the size relationship between the Component Ya1 of the previously determined first coordinates P and the component Yb2 of the previously determined second Coordinates Q opposite to the size relationship between the component Ya2 of the currently determined first Coordinates P and the component Yb2 of the currently determined second coordinate Q. In this case, a Determination that the first path T and the second path U intersect each other. [Functions and effects]
[0048] In the touch panel 10 according to this embodiment, the intersection determination unit 22 determines that the first path T and the second path U cross each other if the size relationship between a component of the first Coordinates P and the component of the second coordinates Q obtained by the working position determination unit 20, were reversed. It is thus possible to determine that the first path T and the second path U intersect each other.
[0049] Furthermore, in the touch panel device 10 according to this embodiment, a determination is made that the first path T and the second path U cross each other if the size relationship between a component of the first Coordinates P and the component of the second coordinates Q determined by the working position determination unit 20 have been reversed within a certain period of time. It is thus possible to determine that the first path T and the second path U cross each other, excluding cases where the user voluntarily and consciously the actuating elements are actuated (moved) in such a way that the first path T and the second path U intersect each other. [Third Embodiment]
[0050] In the touch panel device 10 according to the second embodiment, the intersection determination unit compares 22 the size relationships between the component of the first coordinate P and the component of the second coordinate Q in the first coordinate system S1. In the touch panel device 10 according to this embodiment, the Intersection determination unit 22 the size relationships between the component of the first coordinate P and the Component of the second coordinate Q in a second coordinate system S2. [Structure of the touch panel device]
[0051] Fig. 8 is a block diagram showing the configuration of a touch panel device 10.
[0052] The touch panel device 10 according to this embodiment includes a coordinate transformation unit 28. The coordinate transformation unit 28 transforms the coordinates of the working positions of the actuating elements into the first coordinate system S1, which were determined by the working position determination unit 20, into the coordinates in a second coordinate system S2. The second coordinate system S2 has an X'-axis parallel to the Direction of movement along the first path T and the second path U and a Y'-axis perpendicular to the X-axis.
[0053] The intersection determination unit 22 determines that the first path T and the second path U intersect each other on the basis of the coordinates transformed into the second coordinate system S2. [Misjudging an intersection]
[0054] Fig. 9 is a diagram showing a first path T and a second path U on the touch panel 18. Fig. 9 shows an operation where the user has moved the operating elements in a multi-touch manner so that they are on the Touch panel 18 makes a 180-degree turn (U-turn). If the actuating elements are moved in such U-shaped paths have been moved, the intersection determination unit 22 of the second embodiment may erroneously determine that the first path T and the second path U intersect each other, although they actually do not intersect.
[0055] In Fig. 9, the coordinates (Xa1, Ya1) are the first coordinates P that the working position detection unit 20 the second to last time. The coordinates (Xa2, Ya2) are the first coordinates P that the Work position determination unit 20 determined last time, the coordinates (Xa3, Ya3) are the first coordinates P, which the work position determination unit 20 has determined this time, and the coordinates (Xa4, Ya4) are the first Coordinates P, which the working position determination unit 20 determines next time. Similarly, in Fig. 9 the coordinates (Xb1, Yb1) are the second coordinates Q that the working position determination unit 20 determined the second to last time the coordinates (Xb2, Yb2) are the second coordinates Q that the working position determination unit 20 uses when last time, the coordinates (Xb3, Yb3) are the second coordinates Q, which are the Work position determination unit 20 has determined this time, and the coordinates (Xb4, Yb4) are the second coordinates Q, which the working position determination unit 20 determines next time.
[0056] In the first path T and second path U shown in Fig. 9, the size relationship between the component Xa2 of the previously determined first coordinates P and the component Xb2 of the previously determined second coordinates Q opposite to the size relationship between the component Xa3 of the currently determined first coordinates P and the component Xb3 of the currently determined second coordinate Q. In addition, the size relationship between the Component Ya2 of the first coordinates P determined last time and component Yb2 of the second Coordinates Q determined last time, opposite to the size relationship between the component Ya3 of the first components P, which were determined this time, and the component Yb3 of the second coordinates Q, which this times. Even if the first path T and the second path U do not intersect each other, as shown in Fig. 9 is, the intersection determination unit 22 of the second embodiment would thereby fail lerically determine that the first path T and the second path U intersect each other. [Functions and effects]
[0057] In the touch panel device 10 according to this embodiment, the Coordinate transformation unit 28 the first coordinates P and the second coordinates Q into the coordinates in a second coordinate system S2 with an X'-axis parallel to the direction of movement along the first path T and the second path U and a Y'-axis parallel to a direction perpendicular to the X'-axis. Then compare the Intersection determination unit 22 the size relationships between the components of the transformed first Coordinates P and the components of the transformed second coordinates Q to determine that the first Path T and the second path U cross each other.
[0058] Fig. 10 is a diagram showing the first path T and the second path U on the touch panel 18. In Fig. 10 the first coordinates P and the second coordinates Q were converted into the coordinates in the second coordinate system S2 transformed.
[0059] In the first path T and the second path U shown in Fig. 10, the size relationship between the Component X'a2 of the first coordinates P (X'a2, Y'a2) determined last time and the component X'b2 the second coordinates Q (X'b2, Y'b2) determined last time is equal to the size relationship between the Component X'a3 of the first coordinates P (X'a3, Y'a3) obtained this time and the component X'b3 of the second coordinates Q (X'b3, Y'b3) obtained this time. In addition, the size relationship between the Component Y'a2 of the first coordinates P (X'a2, Y'a2) determined last time and the component Y'b2 the second coordinates Q (X'b2, Y'b2) determined last time is equal to the size relationship between the Component Y'a3 of the first coordinates P (X'a3, Y'a3) determined this time and the component Y'b3 of the second coordinates Q (X'b3, Y'b3) determined this time. Therefore, the intersection determination unit 22 In this embodiment, the first path T and the second path U do not cross each other. It is therefore possible to To avoid misjudgment (incorrect determination) as to whether the first path T and the second path U cross each other.
[0060] Here, the touch panel device 10 according to the second embodiment operates or functions in cases satisfactory where it is not expected that the user will move the operating elements along U-shaped paths on the Touch panel 18 would move in a multi-touch state. [Technical ideas resulting from the embodiments]
[0061] Technical considerations that can be derived from the embodiments described above are described below.
[0062] The touch panel device (10) configured to enable a user to perform a multi-touch operation, comprises a touch panel (18) which is designed to output signals which indicate positions which are contacted with actuating elements, a working position determination unit (20) which is is designed to define positions on the touch panel that are touched by the operating elements as working positions of the actuating elements, whereby the positions on the touch panel are determined on the basis of signals output from the touch panel, an intersection determination unit (22) which is designed to when an input is made by the multi-touch operation, to determine whether a first path (T) and a second path (U) intersect each other, the first path being a path of the working position of an actuating element of the actuators and wherein the second path (U) is a path of the working position of the other actuator of the Actuating elements, and a correction unit (24) which is designed to, when the determination is made that the first path and the second path cross each other, the working position of one actuating element, which is determined by the Working position determination unit is to be replaced by the working position of the other actuating element, and the working position of the other actuating element determined by the working position determination unit, by the working position of one actuating element. It is thus possible to correct working positions, which were incorrectly detected due to noise from the touch panel, and to determine correct working positions.
[0063] In the touch panel device described above, the working position detection unit can be designed be, each working position of one actuating element as first coordinates (P) in a first coordinate system (S1) with coordinate axes that are perpendicular to each other on the touch panel and to determine the working positions of the other actuating element as second coordinates (Q) in the first coordinate system, and the The intersection determination unit may be configured to determine that the first path and the second path cross each other when a line segment (L) connecting two points determined by the first working position determination unit coordinates, and a line segment (M) connecting two points defined by the working position determination unit, have an intersection point (I). It is thus possible to determine that the first path and the second path cross each other.
[0064] In the touch panel device described above, the intersection determination unit may be configured to to determine that the first path and the second path cross each other if a line segment connecting two points which are determined by the work position determination unit within a given period of time first coordinates, and a line segment connecting two points defined by the Work position determination unit within the specified period represents the second coordinates determined have an intersection point. It is thus possible to determine that the first path and the second path cross, excluding cases in which the user voluntarily and consciously activates the Actuating elements cause the first path and the second path to cross.
[0065] In the touch panel device described above, the working position detection unit can be designed be the working positions of one actuating element as first coordinates in a first coordinate system with Coordinate axes that are perpendicular to each other on the touch panel, and to determine the working positions of the other actuating element as second coordinates in the first coordinate system, and the The intersection determination unit may be configured to determine that the first path and the second path intersect each other if a magnitude relationship exists between a component of the first coordinates determined by the Work position determination unit, and the corresponding component of the second coordinates, the determined by the work position determination unit have been reversed. It is thus possible to determine that the first path and the second path cross each other.
[0066] In the touch panel device described above, the intersection determination unit may be configured to to determine that the first path and the second path intersect each other if a size relationship between a Component of the first coordinates determined by the working position determination unit within a given period, and the associated component of the second coordinates, which is determined by the Work position determination unit within the specified period were reversed. It is therefore possible to determine that the first path and the second path cross each other, excluding cases where in which the user, by operating the actuating elements, causes the first path and the second path to overlap cross.
[0067] The touch panel device described above may further comprise a coordinate transformation unit (28) which is designed to convert the first coordinates and the second coordinates into coordinates in a second Coordinate system (S2) with a coordinate axis parallel to a direction of movement along the first path and the second path and a coordinate axis parallel to a direction perpendicular to the direction of movement transform, and the intersection determination unit can be designed to determine size relationships between a Component of the transformed first coordinates and the associated component of the transformed second coordinates. It is thus possible to avoid misjudging whether the first path and the second path cross each other.
[0068] A method for controlling a touch panel device (10) which is designed to provide a user with the to allow a multi-touch operation to be carried out, wherein the touch panel device comprises a touch panel (18) which is designed to output signals associated with positions touched by actuating elements, includes a working position determination step for determining positions on the touch panel that are used by the Actuating elements are touched, as working positions of the actuating elements, whereby the positions on the Touch panel can be determined based on signals output from the touch panel, a Intersection determination step to then, when an input is made by the multi-touch operation, determine whether a first path (T) and a second path (U) cross each other, where the first path is a path of Working position of an actuating element of the actuating elements and wherein the second path (U) is a path of the Working position of the other actuating element, and a correction step to then, when the determination is made, that the first path and the second path cross each other, the working position of one actuating element, which in the Working position determination step was determined, by the working position of the other actuating element and the working position of the other operating element determined in the working position determination step, by the working position of one actuating element. It is thus possible to correct working positions, which is due to noise of the touch panel were incorrectly detected and to determine the correct working positions.
[0069] In the touch panel device control method described above, the working position determining step all working positions of one actuating element as first coordinates (P) in a first coordinate system (S1) with Determine the coordinate axes that are perpendicular to each other on the touch panel and all working positions of the other Determine the actuating element as second coordinates (Q) in the first coordinate system, and the The intersection determination step may determine that the first path and the second path cross each other when a Line segment (L) connecting two points determined by the first coordinates, and a line segment (M) connecting two points defined by the coordinates in the The second coordinates determined in the work position determination step have an intersection point (I). thus possible to determine that the first path and the second path cross each other.
[0070] In the touch panel device control method described above, the intersection determination step determine that the first path and the second path cross each other if a line segment connecting two points the first determined in the work position determination step within a given period coordinates, and a line segment connecting two points defined by the coordinates in the Work position determination step within the specified period represents the second coordinates determined have an intersection point. It is thus possible to determine that the first path and the second path intersect each other, excluding cases in which the user uses the control elements with the intention activated that the first path and the second path cross each other.
[0071] In the touch panel device control method described above, the working position detecting step all working positions of one actuating element as first coordinates in a first coordinate system with Determine the coordinate axes that are perpendicular to each other on the touch panel and all working positions of the other actuating element as second coordinates in the first coordinate system, and the The intersection determination step may determine that the first path and the second path cross each other when a Size relationship between a component of the first coordinates used in the work position determination step were determined, and the corresponding component of the second coordinates, which in the Work position determination step were reversed. It is thus possible to determine that the first path and the second path cross each other.
[0072] In the touch panel device control method described above, the intersection determination step determine that the first path and the second path cross each other if a size relationship between a Component of the first coordinates obtained in the work position determination step within a given period were determined, and the corresponding component of the second coordinates, which in the Work position determination step within the specified period were reversed. It is therefore possible to determine that the first path and the second path cross each other, excluding cases where in which the user activates the actuating elements with the intention that the first path and the second path overlap cross.
[0073] The touch panel device control method described above may further include a Coordinate transformation step to transform the first coordinates and the second coordinates into coordinates in a second coordinate system (S2) with a coordinate axis parallel to a direction of movement along the first path and the second path and a coordinate axis parallel to a direction perpendicular to the direction of movement, and the crossing determination step can determine size relationships between a Component of the transformed first coordinates and the corresponding component of the transformed second Compare coordinates. It is thus possible to avoid misjudging whether the first path and the second path cross each other.
[0074] A program designed to cause a computer to carry out the method described above to control the touch panel device (10) is proposed. It is thus possible to set working positions which were incorrectly detected due to noise from the touch panel (18) and the correct to determine work positions.
[0075] A storage medium (26) in which a program is stored which is designed to enable a computer cause the above-described control method for the touch panel device (10) to be carried out, is proposed. It is thus possible to correct working positions that are incorrectly detected due to noise from the touch panel and to determine the correct working positions.
Claims
1. A touch panel device (10) configured to enable a user to perform a multi-touch operation to be carried out with: a touch panel (18) designed to output signals associated with positions associated with operating elements are touched, a working position determination unit (20) which is designed to determine positions on the touch panel which are Actuating elements are touched, as working positions of the actuating elements, whereby the positions on the touch panel based on signals output by the touch panel, an intersection determination unit (22) which is designed to, when the multi-touch operation results in a input is made, to determine whether a first path (T) and a second path (U) cross each other, where the first path a path of the working position of an actuating element of the actuating elements and wherein the second path is a path of the Working position of the other actuating element of the actuating elements, and a correction unit (24) configured to, when a determination is made that the first path and the second path cross each other, the working position of one actuating element, which is determined by the Working position determination unit is determined against the working position of the other actuating element and the working position of the other actuating element, which is determined by the working position determination unit is determined, against the working position of one actuating element.
2. The touch panel device according to claim 1, wherein the working position detection unit is configured to Working positions of one actuating element as first coordinates (P) in a first coordinate system (S1) with Coordinate axes that are perpendicular to each other on the touch panel and to determine all working positions of the other actuating element as second coordinates (Q) in the first coordinate system, and wherein the Intersection determination unit is designed to determine that the first path and the second path cross when a line segment (L) connecting two points defined by the working position determination unit determined first coordinates, and a line segment (M) connecting two points determined by the by the working position determination unit, an intersection point (I) have.
3. The touch panel device according to claim 2, wherein the intersection determination unit is configured to determine that the first path and the second path cross each other if a line segment connecting two points the first ones determined by the work position determination unit within a given period coordinates, and a line segment connecting two points defined by the Work position determination unit within the specified period represents the second coordinates determined will have an intersection point.
4. The touch panel device according to claim 1, wherein the working position detecting unit is configured to Working positions of one actuating element as first coordinates in a first coordinate system with To determine the coordinate axes that are perpendicular to each other on the touch panel and the working positions of the other actuating element as second coordinates in the first coordinate system, and wherein the Intersection determination unit is designed to determine that the first path and the second path cross if a size relationship between a component of the work position determination unit determined first coordinates and a corresponding component of the working position determination unit determined second coordinates were reversed.
5. The touch panel device according to claim 4, wherein the intersection determination unit is configured to determine that the first path and the second path cross each other if a size relationship between a Component of the first determined by the work position determination unit within a given period Coordinates and a corresponding component of the working position determination unit within the the second coordinates determined within a given period were reversed.
6. The touch panel device according to claim 4 or 5, further comprising a coordinate transformation unit (28), which is designed to convert the first coordinates and the second coordinates into coordinates in a second Coordinate system (S2) with a coordinate axis parallel to a direction of movement along the first path and the second path and a coordinate axis parallel to a direction perpendicular to the direction of movement transform, wherein the intersection determination unit is designed to determine size relationships between a Component of the transformed first coordinates and a corresponding component of the transformed second coordinates.
7. A method for controlling a touch panel device (10) which is designed to enable a to allow users to perform a multi-touch operation, wherein the touch panel device comprises a touch panel (18) which is designed to output signals associated with positions that can be controlled by actuating elements be affected, the procedure comprising the following steps: a working position determination step for determining positions on the touch panel that correspond to the Actuating elements are touched, as working positions of the actuating elements, whereby the positions on the Touch panel can be determined based on signals output by the touch panel, an intersection determination step to determine, when an input is made by the multi-touch operation, whether a first path (T) and a second path (U) intersect each other, the first path being a path of the working position of a Actuating element of the actuating elements and wherein the second path is a path of the working position of another Actuating element of the actuating elements, and a correction step to then, when a determination is made that the first path and the second path are cut, the working position of one actuating element, which is determined in the working position determination step was replaced by the working position of the other actuating element and the working position of the other Actuating element, which was determined in the working position determination step, by the working position of the one To replace the actuating element.
8. The method for controlling a touch panel device according to claim 7, wherein the working position determining step the working positions of one actuating element as first coordinates (P) in a first coordinate system (S1) with Coordinate axes that are perpendicular to each other on the touch panel are determined and the working positions of the other actuating element as second coordinates (Q) in the first coordinate system, and wherein the Intersection determination step determines that the first path and the second path cross each other when a Line segment (L) connecting two points determined by the first coordinates, and a line segment (M) connecting two points defined by the coordinates in the working position determination step, have an intersection point (I).
9. The method for controlling the touch panel device according to claim 8, wherein the intersection determining step determines that the first path and the second path cross each other when a line segment connecting two points the first determined in the work position determination step within a given period coordinates, and a line segment connecting two points defined by the coordinates in the Work position determination step within the specified period represents the second coordinates determined will have an intersection point.
10. The method for controlling the touch panel device according to claim 7, wherein the working position determining step the working positions of one actuating element as first coordinates in a first coordinate system with Coordinate axes that are perpendicular to each other on the touch panel and the working positions of the other actuating element as second coordinates in the first coordinate system, and wherein the Intersection determination step determines that the first path and the second path cross each other when a Size relationship between a component of the first coordinates used in the work position determination step were determined, and a corresponding component of the second coordinates, which in the Work position determination step were reversed.
11. The method for controlling the touch panel device according to claim 10, wherein the intersection determining step determines that the first path and the second path cross each other if a size relationship exists between a Component of the first coordinates obtained in the work position determination step within a given period were determined, and a corresponding component of the second coordinates, which in the Work position determination step was reversed within the specified period.
12. The method for controlling the touch panel device according to claim 10 or 11, further comprising a Coordinate transformation step to transform the first coordinates and the second coordinates into coordinates in a second coordinate system (S2) with a coordinate axis parallel to a direction of movement along the first path and the second path and a coordinate axis parallel to a direction perpendicular to the Direction of movement, wherein the crossing determination step determines size relationships between a component of the transformed first coordinates and a corresponding component of the transformed second coordinates compares.
13. A program designed to cause a computer to carry out the method for controlling the Touch panel device (10) according to one of claims 7 to 11.
14. A storage medium (26) on which a program is stored which is designed to enable a computer to cause the method for controlling the touch panel device (10) according to one of claims 7 to 11 to be carried out.
Citation Information
Patent Citations
Information processing apparatus, control method thereof, and program
EP2637088A2
Robot control device for controlling tandem arc welding system, and arc copy control method using the same
JP2008093670A
Information processing apparatus and control method therefor
JP2013186648A
JP002009003670A
