The present disclosure relates to method and device for generating a movement position coordinate and corresponding human-machine interface input device system, and more particularly to method and device and corresponding human-machine interface input system for a movement position coordinate adapted to be used in a human-machine interface input controller.
Human-machine interface input devices, such as touch pad and touch panel, are widely used in today's electronic products. By touching or drawing on a panel of a human-machine interface input device with an object (a finger or a pen), a user can control the electronic product. Specifically, a controlling circuit of the human-machine interface input device is configured to sample the touched-point position coordinates on the panel and accordingly detect the movement track of the object. To convert the movement track with jitter into a smooth curve and thereby having an improved linearity, conventionally the controlling circuit uses a smooth buffer with constant length to store the touched-point position coordinates and averages, when the smooth buffer is full, the touched-point position coordinates to obtain a movement position coordinate of the touched-point position coordinates. However, the track linearity effect may be affected by the varying movement rates of the object (a finger of a user or a touch pen). For example, as illustrated in
The present disclosure provides a method for generating a movement position coordinate adapted to be used in a human-machine interface input controller, the method comprising steps of: sequentially generating a plurality of position coordinates by detecting a movement of an object; reading and storing the position coordinates; performing, when the number of the stored position coordinates reaches to a predetermined value, an operation on the position coordinates to obtain a movement position coordinate; and modulating the predetermined value in accordance with a change of a movement rate of the object.
The present disclosure further provides a device for generating a movement position coordinate adapted to be used in a human-machine interface input controller. The human-machine interface input controller is configured to sequentially generate a plurality of position coordinates in response to a movement of an object. The device includes a storage unit and an operation unit. The storage unit is configured to store the position coordinates. The operation unit is in communication with the storage unit and configured to perform, when the number of the stored position coordinates reaches to a predetermined value, an operation on the position coordinates to obtain a movement position coordinate and modulate the predetermined value in accordance with a change of a movement rate of the object.
The present disclosure still further provides a human-machine interface input system with a regulative buffer size. The system includes a storage unit and an operation unit. The storage unit is configured to store a plurality of position coordinates sequentially generated by the human-machine interface input system in response to a movement of an object. The operation unit is in communication with the storage unit and configured to perform, when the number of the stored position coordinates reaches to a predetermined value, an operation on the position coordinates to obtain a movement position coordinate and modulate the predetermined value in accordance with a change of a movement rate of the object.
The present disclosure will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
The present disclosure will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this disclosure are presented herein for purpose of illustration and description only. It is not intended to be exhaustive or to be limited to the precise form disclosed.
Please refer to
In an embodiment, the aforementioned operation is weighted mean operation; wherein the latest generated touched-point position coordinate(s) has a higher or a lower weight. In another embodiment, the aforementioned operation is an averaging operation, which indicates that all generated touched-point position coordinates have the same weight. In still another embodiment, the aforementioned operation is an intermediate value operation.
Furthermore, to prevent the issue of the track linearity effect being affected by the varying movement rates of the object (a finger of a user or a touch pen), the predetermined value is modulated in accordance with a change of the movement rate of the object (step 15). It is understood that a better linearity but a larger latency (a distance between the actual touched point and the track) are obtained with a larger predetermined value and a poor linearity but a smaller latency are obtained with a smaller predetermined value. It is understood that there exists the same number of the touched-point position coordinates in a specific time period under a condition of having a constant predetermined value and a constant sampling frequency. Thus, if the object has a relatively-low movement rate, a corresponding short movement distance of the object in a specific time period may generate a sufficient number of touched-point position coordinates for the calculation of the movement position coordinate; alternatively, if the object has a relatively-high movement rate, a relatively-longer movement distance of the object in a specific time period may required for generating a sufficient number of touched-point position coordinates for the calculation of the movement position coordinate. However, a relatively-short or a relatively-long movement distance may result in adverse impacts. Thus, the predetermined value is modulated in accordance with a change of the movement rate of the object (step 15); and the oldest stored touched-point position coordinate(s) is accordingly deleted if necessary (step 16). Then, the method moves back to step 12 for reading and storing the new touched-point position coordinates.
The estimation of the movement rate of the object may be realized by: calculating a plurality of coordinate differences in accordance with respective two adjacent touched-point position coordinates; and summing the coordinate differences and referring the sum of the coordinate differences to as a movement distance of the object. It is to be noted that the movement distance may be referred to as a movement rate within a specific time period if the human-machine interface input controller is configured to have a constant sampling frequency. Accordingly, the object is indicated as having a relatively-high movement rate if there exists a relatively-long movement distance; otherwise, the object is indicated as having a relatively-low movement rate if there exists a relatively-short movement distance.
Specifically, the aforementioned step 15 may be realized by: decreasing the predetermined value in response to an increasing of the movement rate of the object; increasing the predetermined value in response to a decreasing of the movement rate of the object; or decreasing the predetermined value in response to an increasing of the movement rate of the object as well as increasing the predetermined value in response to a decreasing of the movement rate of the object. Thus, the distance required for the number of the touched-point position coordinates reaching to the predetermined value can be controlled in a reasonable range; and consequentially the adverse impacts (e.g., an uneven track linearity) resulted from the relatively-long or relatively-short movement distance are avoided. For example, as illustrated in
In another example as illustrated in
Thus, as illustrated in
Please refer to
For example, the human-machine interface input controller 21, if being implemented by a touch panel controller, is configured to sequentially generate a plurality of touched-point position coordinates in response to a movement of an object (e.g., a finger of a user or a touch pen) on a touch panel. Because there may exist a constant number of generated touched-point position coordinates within a specific period due to the sampling frequency of the human-machine interface input controller 21 is a constant, the operation unit 202 may be configured to, if the number of the touched-point position coordinates stored in the storage unit 201 reaches to a predetermined value, perform an operation on the touched-point position coordinates to obtain a movement position coordinate; wherein the movement position coordinate herein indicates the movement of the object on the touch panel.
The actions performed by the operation unit 202, such as the determination of the number of the touched-point position coordinates stored in the storage unit 201 whether or not reaching to a predetermined value, the execution of the follow-up operations on the touched-point position coordinates to obtain a movement position coordinate and the modulation of the predetermined value according to the change of the movement rate of the object, are described in the related descriptions in steps 13, 14, and 15 shown in
In addition, it is understood that the software methods and hardware devices related in the present disclosure may be implemented through firmware. For example, the storage unit 201 may be implemented by a queue buffer having an adjustable length. Thus, the modulation of the predetermined value can be realized by adjusting the length of the queue buffer; and the operation on the stored touched-point position coordinates is activated if the queue buffer is occupied.
In summary, the technical mean of the present disclosure may be widely used in all kinds of man-machine interface input device, such as touchpad, touch display, trackball, mouse or any device capable of tracking or recording object's moving trajectory.
While the disclosure has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the disclosure needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
101132791 | Sep 2012 | TW | national |