This application claims the priority benefit of Taiwan application serial no. 102121185, filed on Jun. 14, 2013. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to a determining apparatus and a method thereof. Particularly, the disclosure relates to a touch position determining apparatus and a method thereof.
Most of crystal ball products in the market are used for static display and decoration. A part of the crystal ball products has simple dynamic functions, for example, a crystal ball embedded with a music box or embedded with a doll having simple mechanical movements, etc., such as a baby cradle crystal ball, a ballet girl crystal ball music box and a mouse helicopter music box, etc. In such kind of crystal balls that have simple dynamic functions, the doll movement and music play rely on a combination of clockworks and gears, and mechanical driving. Such kind of dynamic is preset fixed movements and music, which is lack of ability to interact with the user.
Another type of crystal ball that has an interactive function may have sensors, an actuator and a large base, for example, a 3D magic crystal ball and an i-ball, etc. Such type of crystal ball that has the interactive function is configured with pressure sensors or lens sensors, etc. for detecting user's behavior. A signal processing device and image identification software are configured in the large base for detecting the user's behavior (for example, a touch operation etc.). Therefore, a corresponding operation is executed according to the user's behavior, such that the user may have an operation experience of interacting with the crystal ball. However, a few of the crystal ball products in the market have such interactive function.
A sensor generally detects a touch position of the user performed on a surface of the crystal ball through a non-contact manner such as infrared or ultrasound, etc. However, since the crystal ball is generally filled up with water, etc., when the touch position is detected through the mechanism of infrared or ultrasound, etc., the touch position probably could not be accurately determined due to a blind angle in detection.
The disclosure is directed to a touch position determining apparatus and a method thereof, which is adapted to determine a touch position of a touch operation performed on a surface of a sphere.
The disclosure provides a touch position determining apparatus adapted to a sphere. The touch position determining apparatus includes a pressure sensing array and a processing unit. The pressure sensing array is coupled below the sphere and includes a plurality of pressure sensing nodes. The pressure sensing array forms a pressure deformation area in response to a touch operation performed on a surface of the sphere, and generates a pressure signal set by the pressure sensing nodes corresponding to the pressure deformation area. The processing unit is coupled to the pressure sensing array and determines a touch position of the touch operation performed on the surface of the sphere according to the pressure signal set.
Another exemplary embodiment of the disclosure provides a method for determining a touch position, which is adapted to a sphere. A pressure sensing array is coupled below the sphere, and the pressure sensing array includes a plurality of pressure sensing nodes. The method includes following steps. When a touch operation is performed on a surface of the sphere, the pressure sensing array forms a pressure deformation area in response to the touch operation, and generates a pressure signal set by the pressure sensing nodes corresponding to the pressure deformation area. A touch position of the touch operation performed on the surface of the sphere is determined according to the pressure signal set.
According to the above descriptions, the disclosure provides the touch position determining apparatus and the method thereof, by which when the touch operation is performed on the surface of the sphere, the touch position of the touch operation on the surface of the sphere is determined according to the pressure signal set generated by the pressure sensing nodes corresponding to the pressure deformation area on the pressure sensing array.
In order to make the aforementioned and other features and advantages of the disclosure comprehensible, several exemplary embodiments accompanied with figures are described in detail below.
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
In an embodiment, after the pressure sensing nodes 125 generate voltage variation signals, a signal reading unit (not shown) can be used to transform the voltage variation signals from analog signals into digital signals, so as to constitute the pressure signal set PSS. The signal reading unit may include signal buffer(s), signal amplifier(s), a plurality of channel switches and an analog-to-digital converter (ADC). The signal buffer(s) may be used for executing impedance matching and receiving the voltage variation signals. The signal amplifier(s) may be coupled to the signal buffer(s), and may be used for amplifying the voltage variation signals. The channel switches are respectively coupled to the signal amplifier(s), and are used for switching a plurality of transmission paths used for transmitting the amplified voltage variation signals. The ADC is coupled to the channel switches, and is used for performing analog-to-digital conversions on the amplified voltage variation signals.
In other embodiments, the pressure sensing array 120 can also be implemented by a piezoelectric thin film or a piezoresistive thin film. Moreover, the pressure sensing array 120 may have any area, shape and size. The pressure sensing array 120 can be disposed below the sphere 110, and forms a pressure deformation area in response to the touch operation performed on the sphere 110. In detail, when the touch operation is performed on a surface of the sphere 110 (for example, a user presses the sphere 110 with a finger), the sphere 110 correspondingly generates a displacement, and the pressure sensing array 120 disposed below the sphere 110 receives a pressure corresponding to the touch operation. Now, the thin film on the pressure sensing array 120 is depressed in response to the pressure of the touch operation, and forms the aforementioned pressure deformation area. While the pressure deformation area is formed, the pressure sensing nodes 125 corresponding to the pressure deformation area generate the pressure sensing signals in response to the pressure of the touch operation, so as to constitute the pressure signal set PSS.
Generally, a thickness of the piezoelectric thin film (or the piezoresistive thin film) is relatively thin, and the designer can dispose a flexible material with a fixed thickness under the piezoelectric thin film (or the piezoresistive thin film) to increase a degree of depression of the pressure sensing array 120 generated in response to the pressure of the touch operation. If the flexible material has a certain fixed thickness, when the pressure of the touch operation is increased to a certain degree, the degree of depression of the pressure sensing array 120 is probably not increased due to that the depression reaches a bottom of the flexible material and the piezoelectric thin film (or the piezoresistive thin film). In other words, the size of the pressure deformation area is not enlarged along with increase of the pressure. Therefore, when the pressure sensing array 120 is designed, the designer can select the flexible material with a suitable thickness according to a pressure (for example, a user's pressing strength) probably exerted on the piezoelectric thin film (or the piezoresistive thin film), such that the pressure deformation area may maintain a fixed radius (which can be defined as a radius of the pressure deformation area) under the touch operation.
The processing unit 130 is coupled to the pressure sensing array 120, and determines a touch position of the touch operation performed on the sphere 110 according to the pressure signal set PSS. The processing unit 130 is, for example, a micro controller unit (MCU), a central processor or other programmable microprocessor.
In the present embodiment, it is assumed that the user touches the sphere 110 at a certain touch position. Therefore, in step S202, when a touch operation is performed on the sphere 110, the pressure sensing array 120 forms is a pressure deformation area 310 in response to the touch operation, and the pressure sensing nodes 125 (which are indicated by circles in the pressure deformation area 310) corresponding to the pressure deformation area 310 generate the pressure signal set PSS. For simplicity's sake, the sphere 110 corresponds to a coordinate system, and the coordinate system may include an origin 312, an X-axis, a Y-axis and a Z-axis.
Then, in step S204, the processing unit 130 calculates a pressure deformation area center point (which is represented by coordinates (X2, Y2)) of the pressure deformation area 310 on a X-Y plane and a first azimuth angle φA of the pressure deformation area center point (X2, Y2) relative to the X-axis on the X-Y plane according to the pressure signal set PSS, where X2 is a coordinate of the pressure deformation area center point on the X-axis, Y2 is a coordinate of the pressure deformation area center point on the Y-axis, and the X-Y plane is defined by the X-axis and the Y-axis.
In detail, after the pressure signal set PSS is obtained, the processing unit 130 accordingly learns the pressure sensing nodes 125 (i.e. the circles in the pressure deformation area 310) corresponding to the pressure deformation area 310. Moreover, the processing unit 130 calculates a coverage range of the pressure deformation area 310 according to positions of the pressure sensing nodes 125, so as to obtain a maximum value (which is represented by X3) and a minimum value (which is represented by X1) of the pressure deformation area 310 on the X-axis, and a maximum value (which is represented by Y1) and a minimum value (which is represented by Y3) of the pressure deformation area 310 on the Y-axis. Therefore, the processing unit 130 takes an average value of the maximum value and the minimum value of the X-coordinate of the boundary of the pressure deformation area 310 to serve as an X-coordinate of the pressure deformation area center point (i.e. X2=(X1+X3)/2). Moreover, the processing unit 130 takes an average value of the maximum value and the minimum value of the Y-coordinate of the boundary of the pressure deformation area 310 to serve as a Y-coordinate of the pressure deformation area center point (i.e. Y2=(Y1+Y3)/2). After obtaining the pressure deformation area center point (X2, Y2), the processing unit 130 can calculate an included angle (i.e. the first azimuth angle φA) between the pressure deformation area center point (X2, Y2) and the X-axis according to a trigonometric formula. Therefore, when the X-coordinate of the pressure deformation area center point (X2, Y2) is greater than 0 (i.e. X2>0), the first azimuth angle φA is tan−1 (Y2/X2), and when the X-coordinate of the pressure deformation area center point (X2, Y2) is not greater than 0 (i.e. X2≦0), the first azimuth angle φA is 180+ tan−1(Y2/X2).
In step S206, the processing unit 130 calculates a first maximum distance between the X-coordinate of the pressure deformation area center point and the X-coordinate of the boundary of the pressure deformation area, and a second maximum distance between the Y-coordinate of the pressure deformation area center point and the Y-coordinate of the boundary of the pressure deformation area, and sets a maximum value of the first maximum distance and the second maximum distance as a specific distance DI. In other words, the processing unit 130 calculates a distance between X2 of the pressure deformation area center point (X2, Y2) and X1 or a distance between X2 and X3 (i.e. the calculated distance between X2 and X1 or the calculated distance between X2 and X3 can be the first maximum distance), and calculates a distance between Y2 and Y1 or a distance between Y2 and Y3 (i.e. the calculated distance between Y2 and Y1 or the calculated distance between Y2 and Y3 can be the second maximum distance), and then the processing unit 130 obtains the maximum value of the first maximum distance and the second maximum distance to serve as the specific distance DI. In the embodiment of
Then, in step S208, the processing unit 130 determines whether a pressure deformation area radius R2 of the pressure deformation area 310 is substantially greater than or equal to the specific distance DI. According to the aforementioned description, the pressure deformation area 310 can maintain the fixed pressure deformation area radius R2 in case that the touch operation is performed. According to the pressure deformation area 310 illustrated in
In the step S212, the processing unit 130 can set an X-coordinate and a Y-coordinate of a pressure center point according to the pressure deformation area center point (X2, Y2). The aforementioned pressure center point is, for example, a main pressure point generated by the sphere 110 in the pressure deformation area 310 in response to the touch operation. In step S214, the processing unit 130 calculates a Z-coordinate (which is represented by ZA) of the pressure center point according to the X-coordinate (which is represented by XA) and the Y-coordinate (which is represented by YA) of the pressure center point and a sphere radius of the sphere 110. In the present embodiment, since the pressure deformation area center point has been set as the pressure center point in the step S212, the X-coordinate (XA) and the Y-coordinate (YA) of the pressure center point are respectively X2 and Y2. Therefore, the Z-coordinate (ZA) of the pressure center point can be obtained according to an equation. For example, the Z-coordinate (ZA) of the pressure center point can be (r2−XA2-−YA2)1/2, where the sphere radius r is the radius of the sphere 110.
In step S216, the processing unit 130 calculates a second azimuth angle (which is represented by θA) of the pressure center point relative to the Z-axis according to the X-coordinate (XA), the Y-coordinate (YA) and the Z-coordinate (ZA) of the pressure center point, where the second azimuth angle (θA) is, for example, obtained according to an equation tan−1((XA2+YA2)1/2/ZA).
In order to clearly indicate the relationship of the aforementioned various parameters in the sphere 110,
Those with ordinary skill in the art should understand that in case that the sphere radius (r), the coordinates of the pressure center point, the first azimuth angle φA, and the second azimuth angle θA are already known, the X-coordinate (XA), the Y-coordinate (YA) and the Z-coordinate (ZA) of the pressure center point can be represented by a following mathematical equation:
X
A
=r·sin θA cos φA
Y
A
=r·sin θA sin φA
Z
A
=r·cos θA
It should be noticed that when a force exerting direction of the touch operation is perpendicular to a tangent plane of the sphere 110, the processing unit 130 can directly set a position on the surface of the sphere 110 that is symmetric to the pressure center point relative to the origin 312 as a touch position of the touch operation. However, when the force exerting direction of the touch operation is not perpendicular to the tangent plane of the sphere 110, according to the calculated pressure center point, the processing unit 130 probably cannot obtain the correct touch position directly through the aforementioned method due to shift of the force exerting direction. Therefore, the processing unit 130 performs a step S218 shown in
Referring to
In order to obtain a first correction angle φ used for correcting the pressure center point E to the pressure center point F, a plurality of parameters are defined in
φ=φ1+φ2=2×φ2=2×(φB′−φA′)
Then, the processing unit 130 adds the first azimuth angle φA by the first correction angle φ to correspondingly correct the first azimuth angle, so as to correct the pressure center point E to the pressure center point F.
In brief, when the force exerting direction B of the touch operation is shifted to the left, the processing unit 130 can correct the pressure center point E rightwards to the pressure center point F according to the first correction angle φ. It should be noticed that when the force exerting direction of the touch operation is shifted to the right, the processing unit 130 can also perform the similar operation to correct the pressure center point.
φ=φ1+φ2=2×φ2=2×(φB′−φA′).
Then, the processing unit 130 adds the first azimuth angle φA by the first correction angle φ to correct the pressure center point E to the pressure center point F. It should be noticed that since the first included angle φB′ is smaller than the included angle φA′, when the processing unit 130 adds the first azimuth angle φA by the first correction angle φ, the processing unit 130 substantially performs an operation of φA−|φ|. In brief, when the force exerting direction B of the touch operation is shifted to the right, the processing unit 130 can still correct the pressure center point E leftwards to the pressure center point F according to the first correction angle φ.
According to another conception, regardless of whether the force exerting direction of the touch operation is shifted to the left or to the right, the first correction angle can be calculated according to a same mathematical equation, so as to correspondingly correct the pressure center point. In order to further verify the result, and embodiment of
According to the instructions in the embodiment of
θ=θ1+θ2=2×θ2=2×(θB′−θA′).
Then, the processing unit 130 adds the second azimuth angle θA by the second correction angle θ to correspondingly correct the second azimuth angle, so as to correct the pressure center point E to the pressure center point F.
In brief, when the force exerting direction B of the touch operation is shifted downwards, the processing unit 130 can correct the pressure center point E downwards to the pressure center point F according to the second correction angle θ. It should be noticed that when the force exerting direction of the touch operation is shifted upwards, the processing unit 130 can also perform the similar operation to correct the pressure center point.
θ=θ1+θ2=2×θ2−2×(θB′−θA′)
Then, the processing unit 130 adds the second azimuth angle θA by the second correction angle θ to correct the pressure center point E to the pressure center point F. It should be noticed that since the second included angle θB′ is smaller than the included angle θA′, when the processing unit 130 adds the second azimuth angle θA by the second correction angle θ, the processing unit 130 substantially performs an operation of θA−|θ|. In brief, when the force exerting direction B of the touch operation is shifted upwards, the processing unit 130 can still correct the pressure center point E upwards to the pressure center point F according to the second correction angle θ.
According to another conception, regardless of whether the force exerting direction of the touch operation is shifted upwards or downwards, the second correction angle can be calculated according to a same mathematical equation, so as to correspondingly correct the pressure center point. In order to further verify the result, and embodiment of
According to instructions of
X
A
′=r·sin(θA+θ)cos(φA+φ)
Y
A
′=r·sin(θA+θ)sin(φA+φ)
Z
A
′=r·cos(θA+θ)
Referring to
X
D
=r·sin(180°−(θA+θ))cos(φA+φ−180°)
Y
D
=r·sin(180°−(θA+θ))sin(φA+φ−180°)
Z
D
=r·cos(180°−(θA+θ))
In brief, according to the touch position determining apparatus and the method thereof provided by the disclosure, when the touch operation is performed on the sphere, the touch position of the touch operation on the surface of the sphere is found according to the corresponding pressure deformation area on the pressure sensing array. Moreover, when the force exerting direction of the touch operation is shifted, the touch position determining apparatus can correspondingly correct the pressure center point, so as to obtain the correct touch position. In this way, regardless of the material of the sphere, the touch position can be obtained through the apparatus and the method provided by the disclosure. Similarly, regardless of the content in the sphere, the touch position can be obtained through the apparatus and the method provided by the disclosure.
Referring to
Then, in the step S208, the processing unit 130 determines whether the pressure deformation area radius R2 of the pressure deformation area 710 is substantially greater than or equal to the specific distance DI. As that shown in
After the X-coordinate (XA) and the Y-coordinate (YA) of the pressure center point 730 are obtained, the processing unit 130 continually executes the steps S214-S220 to find the touch position of the touch operation. Details of the steps S214-S220 may refer to aforementioned related descriptions, which are not repeated.
In an embodiment, since a maximum value of the specific distance DI is not greater than the pressure deformation area radius R2, in the step S208, it is determined whether the pressure deformation area radius R2 is substantially equal to the specific distance DI. When the pressure deformation area radius R2 of the pressure deformation area 710 is substantially not equal to the specific distance DI, it represents that the specific distance DI is not greater than the pressure deformation area radius R2. Therefore, the step S210 is executed, and details thereof can refer to related descriptions of the aforementioned embodiment, which are not repeated.
In summary, the disclosure provides the touch position determining apparatus and the method thereof, by which when the touch operation is performed on the surface of the sphere, the touch position of the touch operation on the surface of the sphere is found according to the corresponding pressure deformation area on the pressure sensing array. Moreover, when the force exerting direction of the touch operation is shifted, the touch position determining apparatus can correspondingly correct the pressure center point to obtain the correct touch position.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the disclosure without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
102121185 | Jun 2013 | TW | national |