CN101881611B - Three-point positioning device and method and speaker system - Google Patents

Three-point positioning device and method and speaker system Download PDF

Info

Publication number
CN101881611B
CN101881611B CN2009102218429A CN200910221842A CN101881611B CN 101881611 B CN101881611 B CN 101881611B CN 2009102218429 A CN2009102218429 A CN 2009102218429A CN 200910221842 A CN200910221842 A CN 200910221842A CN 101881611 B CN101881611 B CN 101881611B
Authority
CN
China
Prior art keywords
auxiliary positioning
angle
sensing unit
unit
distance
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.)
Active
Application number
CN2009102218429A
Other languages
Chinese (zh)
Other versions
CN101881611A (en
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.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
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 Pixart Imaging Inc filed Critical Pixart Imaging Inc
Publication of CN101881611A publication Critical patent/CN101881611A/en
Application granted granted Critical
Publication of CN101881611B publication Critical patent/CN101881611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

A three-point positioning device covers a scene of an auxiliary positioning module by means of an image sensor sensing range so as to generate a sensing image. The auxiliary positioning module comprises a first auxiliary positioning unit, a second auxiliary positioning unit and a third auxiliary positioning unit. By sensing the image, the three-point positioning device identifies a first sensing unit, a second sensing unit and a third sensing unit of the image sensor respectively corresponding to the first auxiliary positioning unit, the second auxiliary positioning unit and the third auxiliary positioning unit. Thus, the absolute position of the auxiliary positioning module may be calculated by the three-point positioning device according to the positions or received powers of the first sensing unit, the second sensing unit, and the third sensing unit.

Description

三点式定位装置与方法及扬声系统Three-point positioning device and method and speaker system

技术领域 technical field

本发明有关于一种定位装置,更明确地说,有关于一种三点式定位装置。The present invention relates to a positioning device, more specifically, to a three-point positioning device.

背景技术 Background technique

公知技术的定位装置已应用于电视游戏或计算机游戏,以使玩家具有更佳的交互式体验。举例而言,在任天堂(Nintendo)公司的Wii游戏机中,Wii控制游戏杆包含公知技术的定位装置,以使Wii主机可得到Wii控制游戏杆相对于待测物(如显示器或显示屏幕)所移动的移动距离与移动方向,并根据该移动距离与移动方向以控制游戏的进行。以网球游戏为例,当使用者挥动Wii控制游戏杆时,Wii主机可借由公知技术的定位装置,以得到Wii控制游戏杆相对移动的距离与方向,以让使用者所控制的角色,作出对应的挥动网球拍的动作来击球。举例而言,当Wii主机所得到的单位时间内的相对移动的距离较大时,使用者所控制的角色击球的力量较强,而使被击中的球飞得较快;反之,当Wii主机所得到的单位时间内的相对移动的距离较小时,使用者所控制的角色击球的力量较弱,而使被击中的球飞得较慢。除此之外,Wii主机可根据所得到的相对移动的方向,而让使用者所控制的角色作出正手拍或反手拍的动作。The positioning device of the known technology has been applied to video games or computer games to enable players to have a better interactive experience. For example, in Nintendo's Wii game console, the Wii control joystick includes a positioning device of known technology, so that the Wii host can obtain the position of the Wii control joystick relative to the object under test (such as a display or display screen). The moving distance and moving direction of the game, and the progress of the game is controlled according to the moving distance and moving direction. Taking the tennis game as an example, when the user swings the Wii control joystick, the Wii host can obtain the distance and direction of the relative movement of the Wii control joystick through the positioning device of the known technology, so that the character controlled by the user can make Swing the tennis racket accordingly to hit the ball. For example, when the relative movement distance per unit time obtained by the Wii host is larger, the character controlled by the user hits the ball with stronger power, so that the hit ball flies faster; otherwise, when When the relative moving distance per unit time obtained by the Wii host is small, the power of the character controlled by the user to hit the ball is weak, so that the hit ball flies slowly. In addition, the Wii host can make the character controlled by the user perform a forehand or backhand action according to the obtained relative movement direction.

为了让使用者有更佳的交互式体验,本发明提供一三点式定位装置,可计算出使用者的绝对位置。如此,游戏机可根据本发明的三点式定位装置所测得的绝对位置,而提供给使用者更逼真的交互式体验。In order to allow users to have a better interactive experience, the present invention provides a three-point positioning device, which can calculate the absolute position of the user. In this way, the game machine can provide the user with a more realistic interactive experience according to the absolute position measured by the three-point positioning device of the present invention.

发明内容 Contents of the invention

本发明提供一种三点式定位装置,其特征在于包含一辅助定位模块、一影像传感器,以及一位置计算电路。该辅助定位模块包含一第一辅助定位单元、一第二辅助定位单元,以及一第三辅助定位单元。该第一辅助定位单元与该第二辅助定位单元之间形成一第一辅助定位直线。该第一辅助定位直线的长度等于一第一已知距离。该第二辅助定位单元与该第三辅助定位单元之间形成一第二辅助定位直线。该第二辅助定位直线的长度等于一第二已知距离。该第一辅助定位直线与该第二辅助定位直线之间的夹角为一已知夹角。该影像传感器用来感测范围涵盖该第一辅助定位单元、该第二辅助定位单元以及该第三辅助定位单元的一场景,以据以产生一感测影像。该场景的范围取决于该影像传感器的一已知视角。该位置计算电路,用来接收该感测影像,以从该感测影像中辨识出对应该第一辅助定位单元的该影像传感器的一第一感测单元、对应于该第二辅助定位单元的该影像传感器的一第二感测单元,以及对应于该第三辅助定位单元的该影像传感器的一第三感测单元,并根据该第一感测单元、该第二感测单元,以及该第三感测单元的位置,以计算出该辅助定位模块与该影像传感器之间的一待测距离与一待测角度,以据以输出一距离/角度讯号。The invention provides a three-point positioning device, which is characterized in that it includes an auxiliary positioning module, an image sensor, and a position calculation circuit. The auxiliary positioning module includes a first auxiliary positioning unit, a second auxiliary positioning unit, and a third auxiliary positioning unit. A first auxiliary positioning line is formed between the first auxiliary positioning unit and the second auxiliary positioning unit. The length of the first auxiliary positioning line is equal to a first known distance. A second auxiliary positioning line is formed between the second auxiliary positioning unit and the third auxiliary positioning unit. The length of the second auxiliary positioning line is equal to a second known distance. The included angle between the first auxiliary positioning straight line and the second auxiliary positioning straight line is a known included angle. The image sensor is used for sensing a scene covering the first auxiliary positioning unit, the second auxiliary positioning unit and the third auxiliary positioning unit, so as to generate a sensing image. The extent of the scene depends on a known viewing angle of the image sensor. The position calculation circuit is used to receive the sensing image to identify a first sensing unit of the image sensor corresponding to the first auxiliary positioning unit, a sensor corresponding to the second auxiliary positioning unit from the sensing image A second sensing unit of the image sensor, and a third sensing unit of the image sensor corresponding to the third auxiliary positioning unit, and according to the first sensing unit, the second sensing unit, and the The position of the third sensing unit is used to calculate a distance to be measured and an angle to be measured between the auxiliary positioning module and the image sensor, so as to output a distance/angle signal.

本发明另提供一种三点式定位的方法,其特征在于包含提供一辅助定位模块的一第一辅助定位单元、一第二辅助定位单元及一第三辅助定位单元与一影像传感器、该影像传感器感测一场景,以据以产生一感测影像、根据该感测影像,辨识出对应该第一辅助定位单元的该影像传感器的一第一感测单元、对应于该第二辅助定位单元的该影像传感器的一第二感测单元,以及对应于该第三辅助定位单元的该影像传感器的一第三感测单元,以及根据该第一感测单元、该第二感测单元,以及该第三感测单元的位置,以计算出该影像传感器与该辅助定位模块的一待测距离与一待测角度。该第一辅助定位单元与该第二辅助定位单元之间形成一第一辅助定位直线。该第一辅助定位直线的长度等于一第一已知距离。该第二辅助定位单元与该第三辅助定位单元之间形成一第二辅助定位直线。该第二辅助定位直线的长度等于一第二已知距离。该第一辅助定位直线与该第二辅助定位直线之间的夹角为一已知夹角。该第一辅助定位单元、该第二辅助定位单元及该第三辅助定位单元位于该场景的范围内。The present invention also provides a three-point positioning method, which is characterized in that it includes providing a first auxiliary positioning unit, a second auxiliary positioning unit, a third auxiliary positioning unit, an image sensor, and an auxiliary positioning module. Detecting a scene, so as to generate a sensing image, according to the sensing image, identify a first sensing unit of the image sensor corresponding to the first auxiliary positioning unit, a corresponding to the second auxiliary positioning unit A second sensing unit of the image sensor, and a third sensing unit of the image sensor corresponding to the third auxiliary positioning unit, and according to the first sensing unit, the second sensing unit, and the first sensing unit The positions of the three sensing units are used to calculate a measured distance and a measured angle between the image sensor and the auxiliary positioning module. A first auxiliary positioning line is formed between the first auxiliary positioning unit and the second auxiliary positioning unit. The length of the first auxiliary positioning line is equal to a first known distance. A second auxiliary positioning line is formed between the second auxiliary positioning unit and the third auxiliary positioning unit. The length of the second auxiliary positioning line is equal to a second known distance. The included angle between the first auxiliary positioning straight line and the second auxiliary positioning straight line is a known included angle. The first auxiliary positioning unit, the second auxiliary positioning unit and the third auxiliary positioning unit are located within the scope of the scene.

附图说明 Description of drawings

图1为说明根据本发明的第一实施例的三点式定位装置的示意图。FIG. 1 is a schematic diagram illustrating a three-point positioning device according to a first embodiment of the present invention.

图2、图3、图4,以及图5为说明本发明计算投影夹角的方法的示意图。FIG. 2 , FIG. 3 , FIG. 4 , and FIG. 5 are schematic diagrams illustrating the method for calculating the included projection angle of the present invention.

图6为说明根据本发明的第二实施例的三点式定位装置的示意图。FIG. 6 is a schematic diagram illustrating a three-point positioning device according to a second embodiment of the present invention.

图7为说明根据本发明的第三实施例的三点式定位装置的示意图。FIG. 7 is a schematic diagram illustrating a three-point positioning device according to a third embodiment of the present invention.

图8为说明本发明的扬声系统的示意图。Fig. 8 is a schematic diagram illustrating the speaker system of the present invention.

其中,附图标记说明如下:Wherein, the reference signs are explained as follows:

100、600、700、801         三点式定位装置100, 600, 700, 801 Three-point positioning device

110、610、710、810         影像传感器110, 610, 710, 810 image sensor

130、630、730、830         辅助定位模块130, 630, 730, 830 Auxiliary positioning module

131~133、631~633、       辅助定位单元131~133, 631~633, auxiliary positioning unit

731~733731~733

800                        扬声系统800 Speaker System

802                        音量控制器802 volume controller

820                        位置计算电路820 position calculation circuit

CS1~CS3                   感测单元CS 1 ~ CS 3 sensing unit

D12、D23、DF、DM、DAD 12 , D 23 , D F , D M , D A ,

DS1F~DS3F、DFOV/2、D612、 距离D S1F ~D S3F , D FOV/2 , D 612 , distance

D623、D731、D733 D 623 、 D 731 、 D 733

L131~L133、L631~L633、   投影直线L 131 ~L 133 , L 631 ~L 633 , projected straight line

L731~L733 L 731 ~ L 733

L112、L123、L612、L623、   辅助定位直线L 112 , L 123 , L 612 , L 623 , auxiliary positioning straight line

L712、L723 L 712 , L 723

LF                         中线L F midline

LENS                       镜头LENS Lens

MO                         待测物MO Object to be tested

OF                      相交点O F intersection point

PF                      中点 PF Midpoint

SC                      场景SC scene

SD/A                    距离/角度讯号S D/A distance/angle signal

SI1~SIM                影像讯号S I1 ~ S IM video signal

SVC1、SVC2              音量控制讯号S VC1 , S VC2 volume control signal

SP1、SP2                扬声器SP 1 , SP 2 speakers

θ12、θ23、θX、θMθ 12 , θ 23 , θ X , θ M ,

θFOV、θA、θB、θC、  角度θ FOV , θ A , θ B , θ C , angle

θY、θ612、θ623 θ Y , θ 612 , θ 623

具体实施方式 Detailed ways

请参考图1。图1为说明根据本发明的第一实施例的三点式定位装置100的示意图。三点式定位装置100包含一影像传感器110、一位置计算电路120(未图标),以及一辅助定位模块130。三点式定位装置100用来量测辅助定位模块130与影像传感器110之间的待测距离DM与待测角度θM。当辅助定位模块130与一待测物MO设置于同一位置时,三点式定位装置100可用来量测待测物MO与三点式定位装置100之间的待测距离DM与待测角度θM。举例而言,待测物MO可为显示器或显示屏幕。当影像传感器110与使用者位于同一位置时(如使用者手持三点式定位装置100的影像传感器110)时,可借由三点式定位装置100而得到使用者与显示器(待测物MO)的距离。Please refer to Figure 1. FIG. 1 is a schematic diagram illustrating a three-point positioning device 100 according to a first embodiment of the present invention. The three-point positioning device 100 includes an image sensor 110 , a position calculation circuit 120 (not shown), and an auxiliary positioning module 130 . The three-point positioning device 100 is used to measure the distance D M to be measured and the angle θ M to be measured between the auxiliary positioning module 130 and the image sensor 110 . When the auxiliary positioning module 130 is set at the same position as an object MO, the three-point positioning device 100 can be used to measure the distance D M to be measured and the angle θ M to be measured between the object MO and the three-point positioning device 100 . For example, the object under test MO can be a display or a display screen. When the image sensor 110 is at the same position as the user (for example, the user holds the image sensor 110 of the three-point positioning device 100 ), the distance between the user and the display (the object under test MO) can be obtained by the three-point positioning device 100 .

辅助定位模块130包含辅助定位单元131、132,以及133。辅助定位单元131、132及133具有可侦测的明显特征。举例而言,辅助定位单元131、132及133为具有特定波长或特定频段的发光二极管(如红外光的发光二极管),或是具有特定图案(pattern)或特定颜色的物体,其目的在于让影像传感器110能够辨识辅助定位单元131~133在影像传感器110上被感测出来的影像讯号。于本实施例中,设辅助定位单元131、132及133设置于待测物MO上。其中辅助定位单元131与132之间形成辅助定位直线L112。辅助定位直线L112的长度等于已知距离D12;辅助定位单元132与133之间形成辅助定位直线L123。辅助定位直线L123的长度等于已知距离D23。辅助定位直线L112平行于与辅助定位直线L123。此外,在图1中的待测距离DM以感测单元CS2与辅助定位单元132之间的距离作举例说明。然而,待测距离DM也可为感测单元CS1与辅助定位单元131之间的距离,或是感测单元CS3与辅助定位单元133之间的距离。同理,在图1中的待测角度θM以感测单元CS3以及辅助定位单元133间的连线与辅助定位直线L123之间的夹角作举例说明。然而,待测角度θM也可为感测单元CS2以及辅助定位单元132间的连线与辅助定位直线L123、感测单元CS2以及辅助定位单元132间的连线与辅助定位直线L112之间的夹角,或是感测单元CS1以及辅助定位单元131间的连线与辅助定位直线L112之间的夹角。The auxiliary positioning module 130 includes auxiliary positioning units 131 , 132 , and 133 . The auxiliary positioning units 131, 132, and 133 have distinctive features that can be detected. For example, the auxiliary positioning units 131, 132, and 133 are light-emitting diodes (such as light-emitting diodes of infrared light) with specific wavelengths or specific frequency bands, or objects with specific patterns or specific colors. The sensor 110 can identify the image signals sensed by the auxiliary positioning units 131 - 133 on the image sensor 110 . In this embodiment, the auxiliary positioning units 131 , 132 and 133 are set on the object MO. An auxiliary positioning line L 112 is formed between the auxiliary positioning units 131 and 132 . The length of the auxiliary positioning line L 112 is equal to the known distance D 12 ; an auxiliary positioning line L 123 is formed between the auxiliary positioning units 132 and 133 . The length of the auxiliary positioning line L 123 is equal to the known distance D 23 . The auxiliary positioning straight line L 112 is parallel to the auxiliary positioning straight line L 123 . In addition, the distance to be measured DM in FIG. 1 is illustrated by taking the distance between the sensing unit CS 2 and the auxiliary positioning unit 132 as an example. However, the distance D M to be measured can also be the distance between the sensing unit CS 1 and the auxiliary positioning unit 131 , or the distance between the sensing unit CS 3 and the auxiliary positioning unit 133 . Similarly, the angle θ M to be measured in FIG. 1 is illustrated by an included angle between the line connecting the sensing unit CS 3 and the auxiliary positioning unit 133 and the auxiliary positioning straight line L 123 . However, the angle θ M to be measured can also be the line between the sensing unit CS 2 and the auxiliary positioning unit 132 and the auxiliary positioning line L 123 , the line between the sensing unit CS 2 and the auxiliary positioning unit 132 and the auxiliary positioning line L 112 , or the angle between the line connecting the sensing unit CS 1 and the auxiliary positioning unit 131 and the auxiliary positioning straight line L 112 .

影像传感器110用来感测场景SC,以据以产生感测影像I。其中感测影像I包含影像讯号SI1~SIM。如图1所示,影像传感器110可感测的场景SC的范围取决于影像传感器110的已知视角θFOV。影像传感器110的已知视角θFOV对应于影像传感器110的视野(Field of View,FOV)。影像传感器110包含感测单元CS1~CSM,其中M代表正整数。影像传感器110中的各感测单元CS1~CSM,会感测场景SC的一对应部分以产生感测影像I的影像讯号SI1~SIM。举例而言,如图1所示,辅助定位模块130位于场景SC的范围内。感测单元CS1感测场景SC的范围内的辅助定位单元131,以产生影像讯号SI1;感测单元CS2感测场景SC的范围内的辅助定位单元132,以产生影像讯号SI2;感测单元CS3感测场景SC的范围内的辅助定位单元133,以产生影像讯号SI3。此外,于图1中的镜头LENS用来聚光至影像传感器110,以利于影像传感器110产生感测影像I。The image sensor 110 is used for sensing the scene SC to generate the sensing image I accordingly. The sensing image I includes image signals S I1 -S IM . As shown in FIG. 1 , the range of the scene SC that can be sensed by the image sensor 110 depends on the known viewing angle θ FOV of the image sensor 110 . The known viewing angle θ FOV of the image sensor 110 corresponds to the field of view (Field of View, FOV) of the image sensor 110 . The image sensor 110 includes sensing units CS 1 ˜CS M , wherein M represents a positive integer. Each sensing unit CS 1 ˜CS M in the image sensor 110 senses a corresponding portion of the scene SC to generate image signals S I1 ˜S IM for sensing the image I. For example, as shown in FIG. 1 , the auxiliary positioning module 130 is located within the scope of the scene SC. The sensing unit CS 1 senses the auxiliary positioning unit 131 within the range of the scene SC to generate an image signal S I1 ; the sensing unit CS 2 senses the auxiliary positioning unit 132 within the range of the scene SC to generate an image signal S I2 ; The sensing unit CS3 senses the auxiliary positioning unit 133 within the range of the scene SC to generate an image signal S I3 . In addition, the lens LENS in FIG. 1 is used to condense light onto the image sensor 110 to facilitate the image sensor 110 to generate the sensing image I.

位置计算电路120用来接收感测影像I(影像讯号SI1~SIM),以从感测影像I中辨识出对应于辅助定位单元131的感测单元CS1、对应于辅助定位单元132的感测单元CS2,以及对应于辅助定位单元133的感测单元CS3,并根据感测单元CS1、CS2,以及CS3的位置,以计算出待测距离DM与待测角度θM,以据以输出距离/角度讯号SD/A。以下将更进一步地说明位置计算电路120的工作原理。The position calculation circuit 120 is used to receive the sensing image I (image signals S I1 -S IM ), to identify the sensing unit CS 1 corresponding to the auxiliary positioning unit 131 and the sensing unit CS 1 corresponding to the auxiliary positioning unit 132 from the sensing image I. The sensing unit CS 2 , and the sensing unit CS 3 corresponding to the auxiliary positioning unit 133 calculate the distance to be measured DM and the angle to be measured θ according to the positions of the sensing units CS 1 , CS 2 , and CS 3 M , so as to output the distance/angle signal S D/A . The working principle of the position calculation circuit 120 will be further described below.

在图1中,感测单元CS1与辅助定位单元131之间形成投影直线L131;感测单元CS2与辅助定位单元132之间形成投影直线L132;感测单元CS3与辅助定位单元133之间形成投影直线L133。待测距离DM为感测单元CS2与辅助定位单元132之间的距离,且待测角度θM为投影直线L133与辅助定位直线L123之间的夹角。投影直线L131、L132与L133相交于一相交点OF。其中相交点OF的位置大约位于镜头LENS的中心。相交点OF与影像传感器110之间的距离为DF。此外,由于感测单元CS2以及辅助定位单元132之间的距离与相交点OF以及辅助定位单元132之间的距离大略相等,因此待测距离DM除了可用来表示感测单元CS2以及辅助定位单元132之间的距离之外,也可用来表示相交点OF以及辅助定位单元132之间的距离。投影直线L131与L132之间所夹的角度为投影夹角θ12;投影直线L132与L133之间所夹的角度为投影夹角θ23。由于投影直线L131、L132与待测物MO(或辅助定位直线L112与L123)形成一个三角形,因此投影直线L131与待测物MO(或辅助定位直线L112与L123)之间的夹角θX的大小会等于(π-θM1223),其中π代表一个三角形的三个内角的总和。In FIG. 1 , a projected straight line L 131 is formed between the sensing unit CS 1 and the auxiliary positioning unit 131; a projected straight line L 132 is formed between the sensing unit CS 2 and the auxiliary positioning unit 132 ; the sensing unit CS 3 and the auxiliary positioning unit 133 form a projection line L 133 . The measured distance D M is the distance between the sensing unit CS 2 and the auxiliary positioning unit 132 , and the measured angle θ M is the angle between the projected straight line L 133 and the auxiliary positioned straight line L 123 . The projection lines L 131 , L 132 and L 133 intersect at an intersection point OF . where the location of the intersection point OF is approximately at the center of the lens LENS. The distance between the intersection point OF and the image sensor 110 is D F . In addition, since the distance between the sensing unit CS 2 and the auxiliary positioning unit 132 is approximately equal to the distance between the intersection point OF and the auxiliary positioning unit 132, the distance to be measured D M can be used to represent the sensing unit CS 2 and the auxiliary positioning unit 132. In addition to the distance between the auxiliary positioning units 132 , it can also be used to represent the intersection point OF and the distance between the auxiliary positioning units 132 . The angle between the projection lines L 131 and L 132 is the projection angle θ 12 ; the angle between the projection lines L 132 and L 133 is the projection angle θ 23 . Since the projection lines L 131 , L 132 and the object under test MO (or the auxiliary positioning lines L 112 and L 123 ) form a triangle, the distance between the projection line L 131 and the object MO (or the auxiliary positioning lines L 112 and L 123 ) The size of the angle θ X between will be equal to (π-θ M1223 ), where π represents the sum of the three interior angles of a triangle.

根据正弦定理(sine theorem),待测距离DM、已知距离D12与D23以及待测角度θM、投影夹角θ12及θ23之间的关可以下式表示:According to the sine theorem, the relationship among the measured distance D M , the known distances D 12 and D 23 , the measured angle θ M , and the projected angles θ 12 and θ 23 can be expressed as follows:

D12/sinθ12=DM/sinθX=DM/sin(π-θM1223)…(1);D 12 /sinθ 12 =D M /sinθ X =D M /sin(π-θ M1223 )...(1);

D23/sinθ23=DM/sinθM=DM/sinθM…(2);D 23 /sinθ 23 =D M /sinθ M =D M /sinθ M ...(2);

因此,只要位置计算电路120可得到投影夹角θ12与θ23的大小,即可根据式(1)与(2)计算出待测距离DM与待测角度θMTherefore, as long as the position calculation circuit 120 can obtain the projected angles θ 12 and θ 23 , the distance to be measured DM and the angle to be measured θ M can be calculated according to formulas (1) and (2).

请参考图2、图3、图4,以及图5。图2、图3、图4,以及图5为说明本发明计算投影夹角θ12与θ23的方法的示意图。相交点OF投影在影像传感器110上的端点为影像传感器110的中点PF。相交点OF与中点PF之间形成中线LF,且中线LF的长度等于已知距离DF。中线LF与影像传感器110的平面垂直。Please refer to Figure 2, Figure 3, Figure 4, and Figure 5. FIG. 2 , FIG. 3 , FIG. 4 , and FIG. 5 are schematic diagrams illustrating the method for calculating the projected angles θ 12 and θ 23 according to the present invention. The endpoint of the projection of the intersection point OF on the image sensor 110 is the midpoint PF of the image sensor 110 . A median line L F is formed between the point of intersection OF and the midpoint PF , and the length of the median line L F is equal to the known distance D F . The centerline LF is perpendicular to the plane of the image sensor 110 .

在图2中,中点PF介于感测单元CS1与CS2之间。感测单元CS1与中点PF之间的距离为DS1F,且距离DS1F可借由相加感测单元CS1与中点PF之间的感测单元的宽度而得;感测单元CS2与中点PF之间的距离为DS2F,且距离DS2F可借由相加感测单元CS2与中点PF之间的感测单元的宽度而得;感测单元CS3与中点PF之间的距离为DS3F,且距离DS3F可借由相加感测单元CS3与中点PF之间的感测单元的宽度而得。此外,距离DFOV/2为影像传感器110的宽度的一半,且距离DFOV/2可借由相加位于影像传感器110的中点PF的左侧的感测单元的宽度而得,或是借由相加位于影像传感器110的中点PF的右侧的感测单元的宽度而得。因此,中线LF分别与投影直线L131、L132、L133之间所夹的中线夹角θA、θB与θC可以下式表示:In FIG. 2 , the middle point PF is between the sensing cells CS1 and CS2 . The distance between the sensing unit CS 1 and the midpoint PF is D S1F , and the distance D S1F can be obtained by adding the width of the sensing unit between the sensing unit CS 1 and the midpoint PF ; The distance between the unit CS 2 and the midpoint PF is D S2F , and the distance D S2F can be obtained by adding the width of the sensing unit between the sensing unit CS 2 and the midpoint PF ; the sensing unit CS The distance between 3 and the midpoint PF is D S3F , and the distance D S3F can be obtained by adding the width of the sensing unit between the sensing unit CS 3 and the midpoint PF . In addition, the distance D FOV/2 is half the width of the image sensor 110, and the distance D FOV/2 can be obtained by adding the widths of the sensing units located on the left side of the midpoint PF of the image sensor 110, or It is obtained by adding the widths of the sensing units on the right side of the midpoint PF of the image sensor 110 . Therefore, the centerline angles θ A , θ B and θ C between the center line LF and the projection lines L 131 , L 132 , and L 133 respectively can be expressed by the following formula:

θA=tan-1[tan(θFOV/2)×(DS1F/DFOV/2)]…(3);θ A =tan -1 [tan(θ FOV /2)×(D S1F /D FOV/2 )]...(3);

θB=tan-1[tan(θFOV/2)×(DS2F/DFOV/2)]…(4);θ B =tan -1 [tan(θ FOV /2)×(D S2F /D FOV/2 )]...(4);

θC=tan-1[tan(θFOV/2)×(DS3F/DFOV/2)]…(5);θ C =tan -1 [tan(θ FOV /2)×(D S3F /D FOV/2 )]...(5);

因此,位置计算电路120可借由影像I以辨识出分别对应于辅助定位单元131、132与133的感测单元CS1、CS2与CS3。接着,位置计算电路120根据感测单元CS1、CS2与CS3的位置以得知距离DS1F、DS2F以及DS3F。最后根据式(3)、(4)与(5),以计算得到中线夹角θA、θB与θC。又由图2可看出投影夹角θ12等于(θAB),而投影夹角θ23等于(θCB)。因此,位置计算电路120可计算出投影夹角θ12与θ23。如此一来,根据式(1)与(2),位置计算电路120可计算出待测距离DM与待测角度θMTherefore, the position calculation circuit 120 can identify the sensing units CS 1 , CS 2 and CS 3 respectively corresponding to the auxiliary positioning units 131 , 132 and 133 by using the image I. Next, the position calculation circuit 120 obtains the distances D S1F , D S2F and D S3F according to the positions of the sensing units CS 1 , CS 2 and CS 3 . Finally, according to formulas (3), (4) and (5), the centerline included angles θ A , θ B and θ C are calculated. It can be seen from Fig. 2 that the projection angle θ 12 is equal to (θ A + θ B ), and the projection angle θ 23 is equal to (θ C - θ B ). Therefore, the position calculation circuit 120 can calculate the projection angles θ 12 and θ 23 . In this way, according to formulas (1) and (2), the position calculation circuit 120 can calculate the distance to be measured DM and the angle to be measured θ M .

在图3中,计算中线夹角θA、θB与θC的方法与图2的说明类似。然而,相较于图2,在图3中,中点PF介于感测单元CS2与感测单元CS3之间。此时,投影夹角θ12等于(θAB),而投影夹角θ23等于(θCB)。如此,位置计算电路120可根据式(3)、(4)与(5),以计算得到中线夹角θA、θB与θC。然后,再根据式(1)与(2)计算出待测距离DM与待测角度θMIn FIG. 3 , the method of calculating the centerline included angles θ A , θ B and θ C is similar to the description in FIG. 2 . However, compared to FIG. 2 , in FIG. 3 , the midpoint PF is between the sensing unit CS 2 and the sensing unit CS 3 . At this time, the projection angle θ 12 is equal to (θ AB ), and the projection angle θ 23 is equal to (θ CB ). In this way, the position calculation circuit 120 can calculate the centerline included angles θ A , θ B and θ C according to equations (3), (4) and (5). Then, the distance to be measured D M and the angle to be measured θ M are calculated according to formulas (1) and (2).

在图4中,计算中线夹角θA、θB与θC的方法与图2的说明类似。然而,相较于图2,在图4中,感测单元CS1、CS2与CS3皆在中点PF的左侧,且中线夹角θC<θB<θA。此时,投影夹角θ12等于(θAB),而投影夹角θ23等于(θBC)。如此,位置计算电路120可根据式(3)、(4)与(5),以计算得到中线夹角θA、θB与θC。然后,再根据式(1)与(2)计算出待测距离DM与待测角度θMIn FIG. 4 , the method for calculating the centerline included angles θ A , θ B and θ C is similar to the description in FIG. 2 . However, compared to FIG. 2 , in FIG. 4 , the sensing units CS 1 , CS 2 and CS 3 are all on the left side of the midpoint PF , and the midline angle θ CBA . At this time, the projection angle θ 12 is equal to (θ AB ), and the projection angle θ 23 is equal to (θ BC ). In this way, the position calculation circuit 120 can calculate the centerline included angles θ A , θ B and θ C according to equations (3), (4) and (5). Then, the distance to be measured D M and the angle to be measured θ M are calculated according to formulas (1) and (2).

在图5中,计算中线夹角θA、θB与θC的方法与图2的说明类似。然而,相较于图2,在图5中,感测单元CS1、CS2与CS3皆在中点PF的右侧,且中线夹角θA<θB<θC。此时,投影夹角θ12等于(θBA),而投影夹角θ23等于(θCB)。如此,位置计算电路120可根据式(3)、(4)与(5),以计算得到中线夹角θA、θB与θC。然后,再根据式(1)与(2)计算出待测距离DM与待测角度θMIn FIG. 5 , the method of calculating the centerline included angles θ A , θ B and θ C is similar to that described in FIG. 2 . However, compared to FIG. 2 , in FIG. 5 , the sensing units CS 1 , CS 2 and CS 3 are all on the right side of the midpoint PF , and the midline angle θ ABC . At this time, the projection angle θ 12 is equal to (θ BA ), and the projection angle θ 23 is equal to (θ CB ). In this way, the position calculation circuit 120 can calculate the centerline included angles θ A , θ B and θ C according to equations (3), (4) and (5). Then, the distance to be measured D M and the angle to be measured θ M are calculated according to formulas (1) and (2).

请参考图6。图6为说明根据本发明的第二实施例的三点式定位装置600的示意图。三点式定位装置600的结构以及工作原理与三点式定位装置100类似。然而,相较于三点式定位装置100,在三点式定位装置600之中,辅助定位单元631、632与633并非设置于同一直线。辅助定位单元631与632之间的辅助定位直线L612不平行于辅助定位单元632与633之间的辅助定位直线L623。辅助定位直线L612与L623之间所夹的角度为已知角度θY。由于辅助定位直线L612与L623以及投影直线L631与L633形成一四边形,因此投影直线L631与辅助定位直线L612之间的夹角θX的大小会等于(2×π-θM612623Y)。如此,根据正弦定理(sine theorem),待测距离DM、已知距离D612与D623以及待测角度θM、投影夹角θ612及θ623之间的关系可以下式表示:Please refer to Figure 6. FIG. 6 is a schematic diagram illustrating a three-point positioning device 600 according to a second embodiment of the present invention. The structure and working principle of the three-point positioning device 600 are similar to those of the three-point positioning device 100 . However, compared with the three-point positioning device 100 , in the three-point positioning device 600 , the auxiliary positioning units 631 , 632 and 633 are not arranged on the same straight line. The auxiliary positioning straight line L 612 between the auxiliary positioning units 631 and 632 is not parallel to the auxiliary positioning straight line L 623 between the auxiliary positioning units 632 and 633 . The angle formed between the auxiliary positioning lines L 612 and L 623 is a known angle θ Y . Since the auxiliary positioning straight lines L 612 and L 623 and the projection straight lines L 631 and L 633 form a quadrilateral, the angle θ X between the projection straight line L 631 and the auxiliary positioning straight line L 612 will be equal to (2×π-θ M612623Y ). Thus, according to the sine theorem, the relationship between the measured distance D M , the known distances D 612 and D 623 , the measured angle θ M , and the projected angles θ 612 and θ 623 can be expressed as follows:

D612/sinθ612=DM/sinθX=DM/sin(2×π-θM612623Y)…(6);D 612 /sinθ 612 =D M /sinθ X =D M /sin(2×π-θ M612623Y )...(6);

D623/sinθ623=DM/sinθM=DM/sinθM…(7);D 623 /sinθ 623 = D M /sinθ M = D M /sinθ M ... (7);

由于角度θ612与θ623可借由图2、图3、图4与图5所说明的方法以计算得到,因此根据式(6)与(7),三点式定位装置600可借由位置计算电路620以计算出待测距离DM与待测角度θMSince the angles θ 612 and θ 623 can be calculated by the methods illustrated in FIG. 2, FIG. 3, FIG. 4 and FIG. Step 620 to calculate the distance to be measured D M and the angle to be measured θ M .

此外,当三点式定位装置600中的已知夹角θY等于π时,辅助定位直线L612与L623互相平行。此时,三点式定位装置600的结构与三点式定位装置100类似。且在式(6)中的已知夹角θY带入π,则会使得式(6)与式(1)类似。由此可知,三点式定位装置100等于已知夹角θY等于π时的三点式定位装置600。In addition, when the known included angle θ Y in the three-point positioning device 600 is equal to π, the auxiliary positioning lines L 612 and L 623 are parallel to each other. At this time, the structure of the three-point positioning device 600 is similar to that of the three-point positioning device 100 . And the known included angle θ Y in formula (6) is brought into π, which will make formula (6) similar to formula (1). It can be seen that the three-point positioning device 100 is equal to the three-point positioning device 600 when the known included angle θ Y is equal to π.

请参考图7。图7为说明根据本发明的第三实施例的三点式定位装置700的示意图。三点式定位装置700包含一影像传感器710、一位置计算电路720(未图标),以及一辅助定位模块730。三点式定位装置700用来量测影像传感器710与辅助定位模块730之间的待测距离DM与待测角度θM。当辅助定位模块730与一待测物MO设置于同一位置时,三点式定位装置700可用来量测三点式定位装置700与待测物MO之间的待测距离DM与待测角度θM。影像传感器710的结构以及工作原理与影像传感器610、110类似,故不再赘述。此外,在图7中,镜头LENS用来聚光至影像传感器710,以利于影像传感器710产生感测影像。辅助定位模块730包含辅助定位单元731、732与733。于本实施例中,设辅助定位单元731、732与733设置于待测物MO上。辅助定位直线L712与L723的长度皆等于已知距离DA。辅助定位单元731、732与733为发光二极管(如红外光的发光二极管),且辅助定位单元731、732与733所发射的光具有相同的功率PWLD。辅助定位单元731、732与733所发射的光为等向(isotropic)。也就是说,辅助定位单元731、732与733均匀地发光。此外,在图7中,由于感测单元CS2以及辅助定位单元732之间的距离与相交点OF以及辅助定位单元732之间的距离大略相等,因此DM除了可用来表示感测单元CS2以及辅助定位单元732之间的距离之外,也可用来表示相交点OF以及辅助定位单元732之间的距离。同理,D731除了可用来表示感测单元CS1以及辅助定位单元731之间的距离之外,也可用来表示相交点OF以及辅助定位单元731之间的距离;且D733除了可用来表示感测单元CS3以及辅助定位单元733之间的距离之外,也可用来表示相交点OF以及辅助定位单元733之间的距离。因此,对应于辅助定位单元731、732与733的感测单元CS1、CS2与CS3所接收的光的功率PW731、PW732、PW733分别与感测单元CS1与辅助定位单元731之间的距离D731、感测单元CS2及辅助定位单元732之间的待测距离DM、感测单元CS3与辅助定位单元733之间的距离D733有关,可以下列公式表示:Please refer to Figure 7. FIG. 7 is a schematic diagram illustrating a three-point positioning device 700 according to a third embodiment of the present invention. The three-point positioning device 700 includes an image sensor 710 , a position calculation circuit 720 (not shown), and an auxiliary positioning module 730 . The three-point positioning device 700 is used to measure the distance D M to be measured and the angle θ M to be measured between the image sensor 710 and the auxiliary positioning module 730 . When the auxiliary positioning module 730 and an object MO are set at the same position, the three-point positioning device 700 can be used to measure the measured distance D M and the measured angle θ M between the three-point positioning device 700 and the object MO. The structure and working principle of the image sensor 710 are similar to those of the image sensors 610 and 110 , so details are not repeated here. In addition, in FIG. 7 , the lens LENS is used to condense light onto the image sensor 710 to facilitate the image sensor 710 to generate a sensing image. The auxiliary positioning module 730 includes auxiliary positioning units 731 , 732 and 733 . In this embodiment, the auxiliary positioning units 731 , 732 and 733 are set on the object MO. The lengths of the auxiliary positioning lines L 712 and L 723 are both equal to the known distance D A . The auxiliary positioning units 731 , 732 and 733 are light emitting diodes (such as infrared light emitting diodes), and the lights emitted by the auxiliary positioning units 731 , 732 and 733 have the same power PW LD . The light emitted by the auxiliary positioning units 731 , 732 and 733 is isotropic. That is to say, the auxiliary positioning units 731 , 732 and 733 emit light uniformly. In addition, in FIG. 7, since the distance between the sensing unit CS 2 and the auxiliary positioning unit 732 is approximately equal to the distance between the intersection point OF and the auxiliary positioning unit 732, D M can be used to represent the sensing unit CS 2 and the distance between the auxiliary positioning unit 732, it can also be used to indicate the distance between the intersection point OF and the auxiliary positioning unit 732. Similarly, D 731 can be used to represent the distance between the sensing unit CS 1 and the auxiliary positioning unit 731, as well as the distance between the intersection point OF and the auxiliary positioning unit 731; and D 733 can be used to represent In addition to representing the distance between the sensing unit CS 3 and the auxiliary positioning unit 733 , it can also be used to represent the distance between the intersection point OF and the auxiliary positioning unit 733 . Therefore, the powers PW 731 , PW 732 , and PW 733 of the light received by the sensing units CS 1 , CS 2 , and CS 3 corresponding to the auxiliary positioning units 731 , 732 , and 733 are respectively related to the sensing unit CS 1 and the auxiliary positioning unit 731. The distance D 731 between them, the distance D M to be measured between the sensing unit CS 2 and the auxiliary positioning unit 732, and the distance D 733 between the sensing unit CS 3 and the auxiliary positioning unit 733 are related, which can be expressed by the following formula:

[(PW731/PWLD)/(PW732/PWLD)]=DM 2/D731 2…(8);[(PW 731 /PW LD )/(PW 732 /PW LD )] = D M 2 /D 731 2 ... (8);

[(PW733/PWLD)/(PW732/PWLD)]=DM 2/D733 2…(9);[(PW 733 /PW LD )/(PW 732 /PW LD )]=D M 2 /D 733 2 ... (9);

根据式(8)可得到距离D731等于[DM×(PW732/PW731)0.5],且根据式(9)可得到距离D733等于[DM×(PW732/PW733)0.5]。其中(PW732/PW731)与(PW732/PW733)可借由感测影像I中对应于感测单元CS1、CS2、CS3的影像讯号SI1、SI2、SI3而得。举例而言,影像讯号SI1、SI2、SI3分别代表亮度B731、B732、B733。如此,(PW731/PW732)等于(B731/B732),且(PW733/PW732)等于(B733/B732)。因此根据中线定理(Apollonius′theorem)以及投影直线L731、L733与辅助定位直线L712、L723所形成的三角形,待测距离DM、距离D731与D733可以下式表示三角形的面积:According to the formula (8), the distance D 731 is equal to [D M ×(PW 732 /PW 731 ) 0.5 ], and according to the formula (9), the distance D 733 is equal to [D M ×(PW 732 /PW 733 ) 0.5 ] . Wherein (PW 732 /PW 731 ) and (PW 732 /PW 733 ) can be obtained by sensing the image signals S I1 , S I2 , S I3 corresponding to the sensing units CS 1 , CS 2 , CS 3 in the image I. . For example, the image signals S I1 , S I2 , and S I3 respectively represent brightness B 731 , B 732 , and B 733 . Thus, (PW 731 /PW 732 ) is equal to (B 731 /B 732 ), and (PW 733 /PW 732 ) is equal to (B 733 /B 732 ). Therefore, according to the midline theorem (Apollonius'theorem) and the triangle formed by the projected straight lines L 731 , L 733 and the auxiliary positioning straight lines L 712 , L 723 , the distance D M to be measured, the distances D 731 and D 733 can be expressed as the area of the triangle by the following formula :

(D731)2+(D733)2=2×[(DA)2+(DM)2]…(10);(D 731 ) 2 +(D 733 ) 2 =2×[(D A ) 2 +(D M ) 2 ]...(10);

如此根据式(8)、(9)及(10),位置计算电路720可计算得到待测距离DM。又根据海龙公式(Heron’s formula)以及投影直线L732、L733与辅助定位直线L723所形成的三角形,可将待测距离DM、距离D731与D733、已知距离DA以及待测角度θM以下式表示:Thus, according to formulas (8), (9) and (10), the position calculation circuit 720 can calculate the distance to be measured D M . Also according to Heron's formula and the triangle formed by the projected straight lines L 732 , L 733 and the auxiliary positioning straight line L 723 , the distance to be measured D M , the distances D 731 and D 733 , the known distance D A and the to-be-measured distance can be calculated. The angle θ M is represented by the following formula:

(1/2)×DA×D733×sinθM=[V×(V-DA)×(V-D733)×(V-DM)]…(11);(1/2)×D A ×D 733 ×sinθ M =[V×(VD A )×(VD 733 )×(VD M )]...(11);

其中V为投影直线L731、L733与辅助定位直线L712、L723所形成的三角形的半周长,且V等于[(1/2)×(DA+DM+D733)]。如此,根据式(11),位置计算电路720可计算得到待测角度θMWhere V is the half perimeter of the triangle formed by the projection straight lines L 731 , L 733 and the auxiliary positioning straight lines L 712 , L 723 , and V is equal to [(1/2)×(D A +D M +D 733 )]. In this way, according to formula (11), the position calculation circuit 720 can calculate the angle θ M to be measured.

此外,当本发明的三点式定位装置被应用于游戏机时,可提供给使用者较佳的交互式体验。以前述的网球游戏为例,当使用者握住利用本发明的三点式定位装置的影像传感器的游戏控制游戏杆,且本发明的三点式定位装置的辅助定位模块设置与待测物(如显示器或显示屏幕)同一位置时,游戏主机可得到使用者与待测物(如显示器或显示屏幕)之间的待测距离DM与待测角度θM。当使用者移动位置时,由于待测距离DM会随之有明显的变化,因此游戏主机可据以控制于游戏中使用者所控制的角色的移动。而当使用者挥动游戏控制游戏杆时,由于待测角度θM会随之有明显的变化,因此游戏机可据以控制游戏中使用者所控制的角色做对应的挥拍动作。如此,借由应用本发明的三点式定位装置的游戏控制游戏杆,可让使用者同时控制角色的移动与挥拍动作,以提供给使用者更逼真的交互式体验。In addition, when the three-point positioning device of the present invention is applied to a game machine, it can provide users with a better interactive experience. Taking the aforementioned tennis game as an example, when the user holds the game control joystick utilizing the image sensor of the three-point positioning device of the present invention, and the auxiliary positioning module of the three-point positioning device of the present invention is set in contact with the object under test (such as a display or display screen) at the same position, the game console can obtain the distance D M to be measured and the angle θ M to be measured between the user and the object under test (such as a display or a display screen). When the user moves the position, since the measured distance D M will change obviously, the game host can control the movement of the character controlled by the user in the game accordingly. When the user swings the game control joystick, the angle θ M to be measured will change obviously, so the game machine can control the character controlled by the user in the game to perform a corresponding swing action. In this way, by using the game control joystick of the three-point positioning device of the present invention, the user can simultaneously control the movement and swing of the character, so as to provide the user with a more realistic interactive experience.

另外,于本发明的三点式定位装置(如100、600与700)中,影像传感器110、610以及710与辅助定位模块130、630以及730之间的待测距离并不限定为感测单元CS2与辅助定位单元132、632以及732之间的距离DM。举例而言,待测距离可为感测单元CS1与辅助定位单元131、631以及731之间的距离,或是感测单元CS3与辅助定位单元133、633以及733之间的距离,且此时仍可利用前述所说明的方法以计算出待测距离。同理,影像传感器110、610以及710与辅助定位模块130、630以及730之间的待测角度并不限定为感测单元CS3以及辅助定位单元133、633以及733间的连线(投影直线L133、L633以及L733)与辅助定位直线L123、L623以及L723之间的夹角θM。举例而言,影像传感器110、610以及710与辅助定位模块130、630以及730之间的待测角度可为感测单元CS2以及辅助定位单元132、632以及732间的连线(投影直线L132、L632以及L732)与辅助定位直线L123、L623以及L723之间的夹角、感测单元CS2以及辅助定位单元132、632以及732间的连线(投影直线L132、L632以及L732)与辅助定位直线L112、L612以及L712之间的夹角,或是感测单元CS1以及辅助定位单元131、631以及731间的连线(投影直线L131、L631以及L731)与辅助定位直线L112、L612以及L712之间的夹角,且此时仍可利用前述所说明的方法以计算出待测角度。In addition, in the three-point positioning device (such as 100, 600 and 700) of the present invention, the distance to be measured between the image sensor 110, 610 and 710 and the auxiliary positioning module 130, 630 and 730 is not limited to the sensing unit CS2 The distance D M between the auxiliary positioning units 132 , 632 and 732 . For example, the distance to be measured may be the distance between the sensing unit CS1 and the auxiliary positioning units 131, 631, and 731, or the distance between the sensing unit CS3 and the auxiliary positioning units 133, 633, and 733, and At this time, the method described above can still be used to calculate the distance to be measured. Similarly, the angles to be measured between the image sensors 110, 610, and 710 and the auxiliary positioning modules 130, 630, and 730 are not limited to the connection line between the sensing unit CS3 and the auxiliary positioning units 133, 633, and 733 (projection straight line The included angle θ M between L 133 , L 633 and L 733 ) and the auxiliary positioning straight lines L 123 , L 623 and L 723 . For example, the angle to be measured between the image sensors 110, 610, and 710 and the auxiliary positioning modules 130, 630, and 730 can be the connection line between the sensing unit CS2 and the auxiliary positioning units 132, 632, and 732 (projection line L 132 , L 632 and L 732 ) and the auxiliary positioning straight lines L 123 , L 623 and L 723 , the connection line between the sensing unit CS 2 and the auxiliary positioning units 132 , 632 and 732 (projection straight line L 132 , L 632 and L 732 ) and the auxiliary positioning straight lines L 112 , L 612 and L 712 , or the connection line between the sensing unit CS 1 and the auxiliary positioning units 131, 631 and 731 (projection straight line L 131 , The included angles between L 631 and L 731 ) and the auxiliary positioning lines L 112 , L 612 and L 712 , and at this time, the method described above can still be used to calculate the angle to be measured.

请参考图8。图8为说明本发明的扬声系统800的示意图。扬声系统800包含一三点式定位装置801、一音量控制器802,以及扬声器SP1与SP2。三点式定位装置801的结构及工作原理与三点式定位装置100、600或700类似,故不再赘述。其中辅助定位模块830设置于扬声器SP1与SP2之间,且位置计算电路820会根据所计算得到的待测距离DM与待测角度θM,以据以输出距离/角度讯号SD/A。音量控制器802,用来接收距离/角度讯号SD/A,并根据待测距离DM与待测角度θM,以输出音量控制讯号SVC1与SVC2。扬声器SP1与SP2,用来输出声音,并分别根据音量控制讯号SVC1与SVC2,以调整所输出的声音的音量的大小。举例而言,影像传感器810与使用者的位置相同(如使用者手持对应于扬声系统800的遥控器,且影像传感器810设置于遥控器内),因此当使用者位置改变时,音量控制器可根据使用者的位置(影像传感器810的位置),以调整扬声器SP1与SP2所输出的音量。当使用者与扬声器之间的待测距离DM越长时,音量控制器802会将扬声器SP1与SP2所输出的音量增加;反之,当使用者与扬声器之间的待测距离DM越短时,音量控制器802会将扬声器SP1与SP2所输出的音量降低。如此,使用者所感受到的音量不会因使用者的位置而改变。除此之外,音量控制器802可根据待测距离DM与待测角度DM,以判断使用者(影像传感器810)的位置相对于辅助定位模块830,与扬声器相对于辅助定位模块830为同一侧或不同侧(如图8所示,使用者与扬声器相对于辅助定位模块830为同一侧)。当音量控制器802判断使用者与扬声器相对于辅助定位模块830为同一侧时,表示使用者与扬声器SP1之间的距离比使用者与扬声器SP2之间的距离短,此时音量控制器802将扬声器SP1所输出的声音的音量降低,且将扬声器SP2所输出的声音的音量增加,以维持扬声系统800的立体音效的效果;反之,当音量控制器802判断使用者与扬声器相对于辅助定位模块830为不同侧时,表示使用者与扬声器SP1之间的距离比使用者与扬声器SP2之间的距离长,此时音量控制器802将扬声器SP1所输出的声音的音量增加,且将扬声器SP2所输出的声音的音量降低,以维持扬声系统800的立体音效的效果。Please refer to Figure 8. FIG. 8 is a schematic diagram illustrating a speaker system 800 of the present invention. The speaker system 800 includes a three-point positioning device 801 , a volume controller 802 , and speakers SP 1 and SP 2 . The structure and working principle of the three-point positioning device 801 are similar to those of the three-point positioning device 100 , 600 or 700 , so details are not repeated here. The auxiliary positioning module 830 is arranged between the speakers SP 1 and SP 2 , and the position calculation circuit 820 will output the distance/angle signal SD/ A. The volume controller 802 is used to receive the distance/angle signal S D/A , and output volume control signals S VC1 and S VC2 according to the distance to be measured DM and the angle to be measured θ M . The speakers SP 1 and SP 2 are used to output sound, and adjust the volume of the output sound according to the volume control signals S VC1 and S VC2 respectively. For example, the position of the image sensor 810 is the same as that of the user (for example, the user holds a remote controller corresponding to the speaker system 800, and the image sensor 810 is disposed in the remote controller), so when the user's position changes, the volume controller The volume output by the speakers SP1 and SP2 can be adjusted according to the user's position (the position of the image sensor 810 ). When the distance DM to be measured between the user and the loudspeaker is longer, the volume controller 802 will increase the output volume of the speakers SP 1 and SP 2 ; otherwise, when the distance DM to be measured between the user and the speaker When it is shorter, the volume controller 802 will decrease the output volume of the speakers SP1 and SP2 . In this way, the volume felt by the user will not change due to the position of the user. In addition, the volume controller 802 can determine the position of the user (image sensor 810) relative to the auxiliary positioning module 830 according to the distance D M to be measured and the angle D M to be measured, and the position of the speaker relative to the auxiliary positioning module 830. The same side or different sides (as shown in FIG. 8 , the user and the speaker are on the same side relative to the auxiliary positioning module 830 ). When the volume controller 802 determines that the user and the speaker are on the same side relative to the auxiliary positioning module 830, it means that the distance between the user and the speaker SP1 is shorter than the distance between the user and the speaker SP2 . 802 reduces the volume of the sound output by the speaker SP 1 and increases the volume of the sound output by the speaker SP 2 to maintain the stereo effect of the speaker system 800; otherwise, when the volume controller 802 judges that the user and the speaker When they are on different sides relative to the auxiliary positioning module 830, it means that the distance between the user and the speaker SP1 is longer than the distance between the user and the speaker SP2 . The volume is increased, and the volume of the sound output by the speaker SP 2 is decreased, so as to maintain the stereo effect of the speaker system 800 .

此外,如图8所示,于三点式定位装置801之中,影像传感器810与位置计算电路820可整合于同一芯片(chip)或于不同芯片中实施。同理,于三点式定位装置100、600与700之中,影像传感器110、610及710与位置计算电路120、620及720可整合于同一芯片(chip)或于不同芯片中实施。In addition, as shown in FIG. 8 , in the three-point positioning device 801 , the image sensor 810 and the position calculation circuit 820 can be integrated in the same chip or implemented in different chips. Similarly, in the three-point positioning devices 100 , 600 and 700 , the image sensors 110 , 610 and 710 and the position calculation circuits 120 , 620 and 720 can be integrated in the same chip or implemented in different chips.

综上所述,本发明所提供的三点式定位装置,借由影像传感器感测范围涵盖辅助定位模块的场景,以据以产生感测影像。再借由感测影像,辨识出对应于辅助定位模块的感测单元。因此,本发明可根据对应于辅助定位模块的感测单元的位置或对应于辅助定位模块的感测单元所接收的功率,以计算出辅助定位模块的绝对位置。除此之外,利用本发明所提供的三点式定位装置,游戏机可根据所测得的待测距离与待测角度,而提供给使用者更逼真的交互式体验。另外,本发明所提供的扬声系统,可根据使用者的位置,以调整扬声器所输出的音量,而维持扬声系统的立体音效的效果,且让使用者所感受到的音量不会随使用者的位置而改变,带给使用者更大的方便。To sum up, the three-point positioning device provided by the present invention uses the sensing range of the image sensor to cover the scene of the auxiliary positioning module to generate a sensing image. Then, the sensing unit corresponding to the auxiliary positioning module is identified by sensing the image. Therefore, the present invention can calculate the absolute position of the auxiliary positioning module according to the position of the sensing unit corresponding to the auxiliary positioning module or the power received by the sensing unit corresponding to the auxiliary positioning module. In addition, by using the three-point positioning device provided by the present invention, the game machine can provide the user with a more realistic interactive experience according to the measured distance and angle to be measured. In addition, the speaker system provided by the present invention can adjust the volume output by the speaker according to the position of the user, so as to maintain the stereo effect of the speaker system, and the volume felt by the user will not change with the user. The location changes, bringing greater convenience to users.

以上所述仅为本发明的优选实施例,凡依本发明权利要求所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.

Claims (13)

1.一种三点式定位装置,其特征在于包含:1. A three-point positioning device, characterized in that it comprises: 一辅助定位模块,包含:An auxiliary positioning module, including: 一第一辅助定位单元;a first auxiliary positioning unit; 一第二辅助定位单元;以及a second auxiliary positioning unit; and 一第三辅助定位单元;- a third auxiliary positioning unit; 其中该第一辅助定位单元与该第二辅助定位单元之间形成一第一辅助定位直线;Wherein a first auxiliary positioning line is formed between the first auxiliary positioning unit and the second auxiliary positioning unit; 其中该第一辅助定位直线的长度等于一第一已知距离;Wherein the length of the first auxiliary positioning straight line is equal to a first known distance; 其中该第二辅助定位单元与该第三辅助定位单元之间形成一第二辅助定位直线;A second auxiliary positioning line is formed between the second auxiliary positioning unit and the third auxiliary positioning unit; 其中该第二辅助定位直线的长度等于一第二已知距离;Wherein the length of the second auxiliary positioning straight line is equal to a second known distance; 其中该第一辅助定位直线与该第二辅助定位直线之间的夹角为一已知夹角;Wherein the angle between the first auxiliary positioning straight line and the second auxiliary positioning straight line is a known angle; 一影像传感器,用来感测范围涵盖该第一辅助定位单元、该第二辅助定位单元以及该第三辅助定位单元的一场景,以据以产生一感测影像;an image sensor, used for sensing a scene covering the first auxiliary positioning unit, the second auxiliary positioning unit and the third auxiliary positioning unit, so as to generate a sensing image; 其中该场景的范围取决于该影像传感器的一已知视角;以及wherein the extent of the scene depends on a known viewing angle of the image sensor; and 一位置计算电路,用来接收该感测影像,以从该感测影像中辨识出对应该第一辅助定位单元的该影像传感器的一第一感测单元、对应于该第二辅助定位单元的该影像传感器的一第二感测单元,以及对应于该第三辅助定位单元的该影像传感器的一第三感测单元,并根据该第一感测单元、该第二感测单元,以及该第三感测单元的位置,以计算出该辅助定位模块与该影像传感器之间的一待测距离与一待测角度,以据以输出一距离/角度讯号。A position calculation circuit, used to receive the sensing image, to identify a first sensing unit of the image sensor corresponding to the first auxiliary positioning unit, a first sensing unit corresponding to the second auxiliary positioning unit from the sensing image A second sensing unit of the image sensor, and a third sensing unit of the image sensor corresponding to the third auxiliary positioning unit, and according to the first sensing unit, the second sensing unit, and the The position of the third sensing unit is used to calculate a distance to be measured and an angle to be measured between the auxiliary positioning module and the image sensor, so as to output a distance/angle signal. 2.如权利要求1所述的三点式定位装置,其特征在于,其中该第一辅助定位单元、该第二辅助定位单元,以及该第三辅助定位单元为具有特定波长或特定频段的发光二极管,或是具有特定图案或特定颜色的物体;该待测距离为该第一感测单元与该第一辅助定位单元之间的距离、该第二感测单元与该第二辅助定位单元之间的距离,或是该第三感测单元与该第三辅助定位单元之间的距离;该待测角度为该第二感测单元以及该第二辅助定位单元间所形成的连线与该第一辅助定位直线之间的夹角、该第二感测单元以及该第二辅助定位单元间所形成的连线与该第二辅助定位直线之间的夹角、该第一感测单元以及该第一辅助定位单元间所形成的连线与该第一辅助定位直线之间的夹角,或是该第三感测单元以及该第三辅助定位单元间所形成的连线与该第二辅助定位直线之间的夹角。2. The three-point positioning device according to claim 1, wherein the first auxiliary positioning unit, the second auxiliary positioning unit, and the third auxiliary positioning unit are light-emitting diodes with specific wavelengths or specific frequency bands, Or an object with a specific pattern or a specific color; the distance to be measured is the distance between the first sensing unit and the first auxiliary positioning unit, the distance between the second sensing unit and the second auxiliary positioning unit distance, or the distance between the third sensing unit and the third auxiliary positioning unit; the angle to be measured is the connection line formed between the second sensing unit and the second auxiliary positioning unit and the first The included angle between the auxiliary positioning straight lines, the included angle between the line formed between the second sensing unit and the second auxiliary positioning unit and the second auxiliary positioning straight line, the first sensing unit and the second auxiliary positioning The angle between the line formed between an auxiliary positioning unit and the first auxiliary positioning straight line, or the connection line formed between the third sensing unit and the third auxiliary positioning unit and the second auxiliary positioning The angle between the lines. 3.如权利要求1所述的三点式定位装置,其特征在于,其中该第一感测单元与该第一辅助定位单元之间形成一第一投影直线;该第二感测单元与该第二辅助定位单元间形成一第二投影直线;该第三感测单元与该第三辅助定位单元之间形成一第三投影直线;该第一投影直线、该第二投影直线,以及该第三投影直线可共交于一相交点;该相交点投影于该影像传感器的一中点;该相交点与该影像传感器的该中点之间形成一中线;3. The three-point positioning device according to claim 1, wherein a first projection line is formed between the first sensing unit and the first auxiliary positioning unit; the second sensing unit and the second A second projection line is formed between the auxiliary positioning units; a third projection line is formed between the third sensing unit and the third auxiliary positioning unit; the first projection line, the second projection line, and the third projection The straight lines can co-intersect at an intersection point; the intersection point is projected on a midpoint of the image sensor; a midline is formed between the intersection point and the midpoint of the image sensor; 该中线垂直于该影像传感器的一平面;the center line is perpendicular to a plane of the image sensor; 其中该位置计算电路根据下列方程式,以计算出该待测距离与该待测角度:Wherein the position calculation circuit calculates the distance to be measured and the angle to be measured according to the following equation: D612/sinθ612=DM/sin(2×π-θM612623Y);以及D 612 /sin θ 612 =D M /sin(2×π-θ M612623Y ); and D623/sinθ623=DM/sinθMD 623 /sinθ 623 = D M /sinθ M ; 其中D612代表该第一已知距离、D623代表该第二已知距离、DM代表该待测距离、θM代表该待测角度、π代表一个三角形的三个内角的总和、θ612代表该第一投影直线与该第二投影直线之间的一第一投影夹角、θ623代表该第二投影直线与该第三投影直线之间的一第二投影夹角、θY代表该已知夹角;Where D 612 represents the first known distance, D 623 represents the second known distance, D M represents the distance to be measured, θ M represents the angle to be measured, π represents the sum of the three interior angles of a triangle, θ 612 represents a first projection angle between the first projection line and the second projection line, θ 623 represents a second projection angle between the second projection line and the third projection line, and θ Y represents the known angle 其中该位置计算电路根据下列公式以计算出该第一投影直线与该中线之间的一第一中线夹角、该第二投影直线与该中线之间的一第二中线夹角及该第三投影直线与该中线之间的一第三中线夹角:Wherein the position calculating circuit calculates a first midline angle between the first projected straight line and the midline, a second midline angle between the second projected straight line and the midline, and the third A third median angle between the projection line and the median: θA=tan-1[tan(θFOV/2)×(DS1F/DFOV/2)];θ A =tan -1 [tan(θ FOV /2)×(D S1F /D FOV/2 )]; θB=tan-1[tan(θFOV/2)×(DS2F/DFOV/2)];以及θ B =tan −1 [tan(θ FOV /2)×(D S2F /D FOV/2 )]; and θC=tan-1[tan(θFOV/2)×(DS3F/DFOV/2)];θ C =tan -1 [tan(θ FOV /2)×(D S3F /D FOV/2 )]; 其中θA代表该第一中线夹角、θB代表该第二中线夹角、θC代表该第三中线夹角、θFOV代表该已知视角、DS1F代表该中点与该第一感测单元之间的距离、DS2F代表该中点与该第二感测单元之间的距离、DS3F代表该中点与该第三感测单元之间的距离、DFOV/2代表该影像传感器的一宽度的一半。Among them, θ A represents the angle between the first center line, θ B represents the angle between the second center line, θ C represents the angle between the third center line, θ FOV represents the known angle of view, and D S1F represents the distance between the center point and the first sensory angle. D S2F represents the distance between the midpoint and the second sensing unit, D S3F represents the distance between the midpoint and the third sensing unit, D FOV/2 represents the image half the width of the sensor. 4.如权利要求3所述的三点式定位装置,其特征在于,其中当该中点介于该第一感测单元与该第二感测单元之间时,该位置计算电路根据下列公式以计算出该第一投影夹角与该第二投影夹角:4. The three-point positioning device according to claim 3, wherein when the midpoint is between the first sensing unit and the second sensing unit, the position calculation circuit calculates according to the following formula Find the angle between the first projection and the angle between the second projection: θ612=θAB;以及θ 612 = θ A + θ B ; and θ623=θCBθ 623 = θ C - θ B ; 其中当该中点介于该第二感测单元与该第三感测单元之间时,该位置计算电路根据下列公式以计算出该第一投影夹角与该第二投影夹角:Wherein when the midpoint is between the second sensing unit and the third sensing unit, the position calculating circuit calculates the first projected included angle and the second projected included angle according to the following formula: θ612=θAB;以及θ 612 = θ A - θ B ; and θ623=θCBθ 623 = θ C + θ B ; 其中当该第一感测单元、该第二感测单元以及该第三感测单元位于该中点的同一侧,且该第一中线夹角大于该第二中线夹角、该第二中线夹角大于该第三中线夹角时,该位置计算电路根据下列公式以计算出该第一投影夹角与该第二投影夹角:Wherein when the first sensing unit, the second sensing unit and the third sensing unit are located on the same side of the midpoint, and the first centerline included angle is greater than the second centerline included angle, the second centerline included angle When the angle is greater than the third centerline angle, the position calculation circuit calculates the first projection angle and the second projection angle according to the following formula: θ612=θAB;以及θ 612 = θ A - θ B ; and θ623=θBCθ 623 = θ B - θ C ; 其中当该第一感测单元、该第二感测单元以及该第三感测单元位于该中点的同一侧,且该第三中线夹角大于该第二中线夹角、该第二中线夹角大于该第一中线夹角时,该位置计算电路根据下列公式以计算出该第一投影夹角与该第二投影夹角:Wherein when the first sensing unit, the second sensing unit and the third sensing unit are located on the same side of the midpoint, and the third centerline angle is greater than the second centerline angle, the second centerline angle When the angle is greater than the first centerline angle, the position calculation circuit calculates the first projection angle and the second projection angle according to the following formula: θ612=θBA;以及θ 612 = θ B - θ A ; and θ623=θCBθ 623 = θ C - θ B . 5.如权利要求1所述的三点式定位装置,其特征在于,其中该第一已知距离等于该第二已知距离;该已知夹角等于一个三角形的三个内角的总和;5. The three-point positioning device according to claim 1, wherein the first known distance is equal to the second known distance; the known included angle is equal to the sum of three interior angles of a triangle; 该第一辅助定位单元、该第二辅助定位单元及该第三辅助定位单元为发光二极管,且该第一辅助定位单元、该第二辅助定位单元及该第三辅助定位单元所发射的光具有相同的功率;The first auxiliary positioning unit, the second auxiliary positioning unit and the third auxiliary positioning unit are light emitting diodes, and the light emitted by the first auxiliary positioning unit, the second auxiliary positioning unit and the third auxiliary positioning unit has the same power; 其中该位置计算电路根据下列方程式,以得出该待测距离与该待测角度:Wherein the position calculation circuit obtains the distance to be measured and the angle to be measured according to the following equation: PW732/PW731=(D731)2/(DM)2PW 732 /PW 731 = (D 731 ) 2 /(D M ) 2 ; PW732/PW733=(D733)2/(DM)2PW 732 /PW 733 = (D 733 ) 2 /(D M ) 2 ; (D731)2+(D733)2=2×[(DA)2+(DM)2];(D 731 ) 2 +(D 733 ) 2 =2×[(D A ) 2 +(D M ) 2 ]; (1/2)×DA×D733×sinθM=[V×(V-DA)×(V-D733)×(V-DM)];(1/2)×D A ×D 733 ×sinθ M =[V×(VD A )×(VD 733 )×(VD M )]; 以及as well as V=(1/2)×(DA+D733+DM);V=(1/2)×(D A +D 733 +D M ); 其中DM代表该待测距离、θM代表该待测角度、DA代表该第一已知距离或该第二已知距离、D731代表该第一感测单元与该第一辅助定位单元之间的距离、D733代表该第三感测单元与该第三辅助定位单元之间的距离、V为该第二辅助定位直线、该第二投影直线及该第三投影直线所围成的三角形的半周长、PW731为对应于该第一感测单元所接收的光的功率、PW732为对应于该第二感测单元所接收的光的功率、PW733为对应于该第三感测单元所接收的光的功率。Where DM represents the distance to be measured, θ M represents the angle to be measured, DA represents the first known distance or the second known distance, and D 731 represents the first sensing unit and the first auxiliary positioning unit D 733 represents the distance between the third sensing unit and the third auxiliary positioning unit, V is the area surrounded by the second auxiliary positioning line, the second projection line and the third projection line The half perimeter of the triangle, PW 731 is the power corresponding to the light received by the first sensing unit, PW 732 is the power corresponding to the light received by the second sensing unit, PW 733 is the power corresponding to the third sensing unit The power of the light received by the measuring unit. 6.一种扬声系统,具有一第一扬声器,以及一第二扬声器,该第一扬声器用来根据一第一音量控制讯号以输出声音,该第二扬声器用来根据一第二音量控制讯号以输出声音,该扬声系统其特征在于包含:6. A speaker system having a first speaker and a second speaker, the first speaker is used to output sound according to a first volume control signal, and the second speaker is used to output sound according to a second volume control signal to output sound, the speaker system is characterized by comprising: 如权利要求1所述的三点式定位装置;以及The three-point positioning device as claimed in claim 1; and 一音量控制器,用来接收该距离/角度讯号,并根据该待测距离与该待测角度,以输出该第一音量控制讯号与该第二音量控制讯号,来调整该第一扬声器与该第二扬声器所输出的声音的音量的大小。a volume controller, used to receive the distance/angle signal, and output the first volume control signal and the second volume control signal according to the distance to be measured and the angle to be measured, to adjust the first speaker and the The volume of the sound output by the second speaker. 7.如权利要求6所述的扬声系统,其特征在于,其中当待测距离越长时,该音量控制器增加该第一扬声器与该第二扬声器所输出的声音的音量;7. The speaker system according to claim 6, wherein when the distance to be measured is longer, the volume controller increases the volume of the sound output by the first speaker and the second speaker; 当待测距离越短时,该音量控制器降低该第一扬声器与该第二扬声器所输出的声音的音量;该辅助定位模块设置于该第一扬声器与该第二扬声器之间;当该音量控制器根据该待测距离与该待测角度,判断该影像传感器与该第一扬声器相对于该辅助定位模块为同一侧时,该音量控制器降低该第一扬声器所输出的声音的音量,且增加该第二扬声器所输出的声音的音量;当该音量控制器根据该待测距离与该待测角度,判断该影像传感器与该第一扬声器相对于该辅助定位模块为不同侧时,该音量控制器增加该第一扬声器所输出的声音的音量,且降低该第二扬声器所输出的声音的音量。When the distance to be measured is shorter, the volume controller reduces the volume of the sound output by the first speaker and the second speaker; the auxiliary positioning module is arranged between the first speaker and the second speaker; when the volume When the controller judges that the image sensor and the first speaker are on the same side relative to the auxiliary positioning module according to the distance to be measured and the angle to be measured, the volume controller reduces the volume of the sound output by the first speaker, and increasing the volume of the sound output by the second speaker; when the volume controller judges that the image sensor and the first speaker are on different sides relative to the auxiliary positioning module according to the distance to be measured and the angle to be measured, the volume The controller increases the volume of the sound output by the first speaker, and decreases the volume of the sound output by the second speaker. 8.一种三点式定位的方法,其特征在于包含:8. A method for three-point positioning, characterized in that it comprises: 提供一辅助定位模块的一第一辅助定位单元、一第二辅助定位单元及一第三辅助定位单元与一影像传感器;A first auxiliary positioning unit, a second auxiliary positioning unit, a third auxiliary positioning unit and an image sensor of an auxiliary positioning module are provided; 其中该第一辅助定位单元与该第二辅助定位单元之间形成一第一辅助定位直线;Wherein a first auxiliary positioning line is formed between the first auxiliary positioning unit and the second auxiliary positioning unit; 其中该第一辅助定位直线的长度等于一第一已知距离;Wherein the length of the first auxiliary positioning straight line is equal to a first known distance; 其中该第二辅助定位单元与该第三辅助定位单元之间形成一第二辅助定位直线;A second auxiliary positioning line is formed between the second auxiliary positioning unit and the third auxiliary positioning unit; 其中该第二辅助定位直线的长度等于一第二已知距离;Wherein the length of the second auxiliary positioning straight line is equal to a second known distance; 其中该第一辅助定位直线与该第二辅助定位直线之间的夹角为一已知夹角;Wherein the angle between the first auxiliary positioning straight line and the second auxiliary positioning straight line is a known angle; 该影像传感器感测一场景,以据以产生一感测影像;The image sensor senses a scene to generate a sensing image; 其中该第一辅助定位单元、该第二辅助定位单元及该第三辅助定位单元位于该场景的范围内;Wherein the first auxiliary positioning unit, the second auxiliary positioning unit and the third auxiliary positioning unit are located within the range of the scene; 根据该感测影像,辨识出对应该第一辅助定位单元的该影像传感器的一第一感测单元、对应于该第二辅助定位单元的该影像传感器的一第二感测单元,以及对应于该第三辅助定位单元的该影像传感器的一第三感测单元;以及According to the sensing image, a first sensing unit corresponding to the image sensor of the first auxiliary positioning unit, a second sensing unit corresponding to the image sensor of the second auxiliary positioning unit, and a second sensing unit corresponding to the image sensor of the second auxiliary positioning unit are identified. a third sensing unit of the image sensor of the third auxiliary positioning unit; and 根据该第一感测单元、该第二感测单元,以及该第三感测单元的位置,以计算出该影像传感器与该辅助定位模块的一待测距离与一待测角度。According to the positions of the first sensing unit, the second sensing unit, and the third sensing unit, a measured distance and a measured angle between the image sensor and the auxiliary positioning module are calculated. 9.如权利要求8所述的方法,其特征在于,其中该第一辅助定位单元、该第二辅助定位单元,以及该第三辅助定位单元为具有特定波长或特定频段的发光二极管,或是具有特定图案或特定颜色的物体;该待测距离为该第一感测单元与该第一辅助定位单元之间的距离、该第二感测单元与该第二辅助定位单元之间的距离,或是该第三感测单元与该第三辅助定位单元之间的距离;该待测角度为该第二感测单元以及该第二辅助定位单元间所形成的连线与该第一辅助定位直线之间的夹角、该第二感测单元以及该第二辅助定位单元间所形成的连线与该第二辅助定位直线之间的夹角、该第一感测单元以及该第一辅助定位单元间所形成的连线与该第一辅助定位直线之间的夹角,或是该第三感测单元以及该第三辅助定位单元间所形成的连线与该第二辅助定位直线之间的夹角。9. The method according to claim 8, wherein the first auxiliary positioning unit, the second auxiliary positioning unit, and the third auxiliary positioning unit are light-emitting diodes with specific wavelengths or specific frequency bands, or an object with a specific pattern or a specific color; the distance to be measured is the distance between the first sensing unit and the first auxiliary positioning unit, the distance between the second sensing unit and the second auxiliary positioning unit, or the distance between the third sensing unit and the third auxiliary positioning unit; the angle to be measured is the connection line formed between the second sensing unit and the second auxiliary positioning unit and the first auxiliary positioning unit The angle between the straight lines, the angle between the line formed between the second sensing unit and the second auxiliary positioning unit and the second auxiliary positioning line, the first sensing unit and the first auxiliary positioning unit The angle between the connection line formed between the positioning units and the first auxiliary positioning straight line, or the angle between the connection line formed between the third sensing unit and the third auxiliary positioning unit and the second auxiliary positioning straight line angle between. 10.如权利要求8所述的方法,其特征在于,其中该第一感测单元与该第一辅助定位单元之间形成一第一投影直线;该第二感测单元与该第二辅助定位单元间形成一第二投影直线;该第三感测单元与该第三辅助定位单元之间形成一第三投影直线;该第一投影直线、该第二投影直线,以及该第三投影直线可共交于一相交点;该相交点投影于该影像传感器的一中点;该相交点与该影像传感器的该中点之间形成一中线;该中线垂直于该影像传感器的一平面;该场景的范围取决于该影像传感器的一已知视角。10. The method according to claim 8, wherein a first projection line is formed between the first sensing unit and the first auxiliary positioning unit; the second sensing unit and the second auxiliary positioning unit A second projection line is formed between the units; a third projection line is formed between the third sensing unit and the third auxiliary positioning unit; the first projection line, the second projection line, and the third projection line can be co-intersect at an intersection point; the intersection point is projected on a midpoint of the image sensor; a midline is formed between the intersection point and the midpoint of the image sensor; the midline is perpendicular to a plane of the image sensor; the scene The range depends on a known viewing angle of the image sensor. 11.如权利要求10所述的方法,其特征在于,其中根据该第一感测单元、该第二感测单元,以及该第三感测单元,以计算出该影像传感器与该辅助定位模块的该待测距离与该待测角度包含:11. The method according to claim 10, wherein, according to the first sensing unit, the second sensing unit, and the third sensing unit, the image sensor and the auxiliary positioning module are calculated The distance to be measured and the angle to be measured include: 根据该已知视角、该中线、该第一感测单元、该第二感测单元,以及该第三感测单元,以计算出该第一投影直线与该中线之间的一第一中线夹角、该第二投影直线与该中线之间的一第二中线夹角及该第三投影直线与该中线之间的一第三中线夹角;According to the known viewing angle, the center line, the first sensing unit, the second sensing unit, and the third sensing unit, a first center line clip between the first projected straight line and the center line is calculated angle, a second median angle between the second projected straight line and the center line, and a third median line angle between the third projected straight line and the center line; 根据该第一中线夹角、该第二中线夹角及该第三中线夹角,以计算出该第一投影直线与该第二投影直线之间的一第一投影夹角与该第二投影直线与该第三投影直线之间的一第二投影夹角;以及According to the first centerline angle, the second centerline angle and the third centerline angle, a first projected angle and the second projected angle between the first projected straight line and the second projected straight line are calculated a second projected angle between the straight line and the third projected straight line; and 根据该已知夹角、该第一已知距离、该第二已知距离、该第一投影夹角及该第二投影夹角,以计算出该待测距离与该待测角度;calculating the distance to be measured and the angle to be measured according to the known angle, the first known distance, the second known distance, the first projected angle and the second projected angle; 其中该待测距离与该待测角度根据下列公式以计算:Wherein the distance to be measured and the angle to be measured are calculated according to the following formula: D612/sinθ612=DM/sin(2×π-θM612623Y);以及D 612 /sin θ 612 =D M /sin(2×π-θ M612623Y ); and D623/sinθ623=DM/sinθMD 623 /sinθ 623 = D M /sinθ M ; 其中D612代表该第一已知距离、D623代表该第二已知距离、DM代表该待测距离、θM代表该待测角度、π代表一个三角形的三个内角的总和、θ612代表该第一投影直线与该第二投影直线之间的一第一投影夹角、θ623代表该第二投影直线与该第三投影直线之间的一第二投影夹角、θY代表该已知夹角;Where D 612 represents the first known distance, D 623 represents the second known distance, D M represents the distance to be measured, θ M represents the angle to be measured, π represents the sum of the three interior angles of a triangle, θ 612 represents a first projection angle between the first projection line and the second projection line, θ 623 represents a second projection angle between the second projection line and the third projection line, and θ Y represents the known angle 其中该第一中线夹角、该第二中线夹角及该第三中线夹角根据下列公式以计算:The included angle of the first center line, the included angle of the second center line and the included angle of the third center line are calculated according to the following formula: θA=tan-1[tan(θFOV/2)×(DS1F/DFOV/2)];θ A =tan -1 [tan(θ FOV /2)×(D S1F /D FOV/2 )]; θB=tan-1[tan(θFOV/2)×(DS2F/DFOV/2)];以及θ B =tan −1 [tan(θ FOV /2)×(D S2F /D FOV/2 )]; and θC=tan-1[tan(θFOV/2)×(DS3F/DFOV/2)];θ C =tan -1 [tan(θ FOV /2)×(D S3F /D FOV/2 )]; 其中θA代表该第一中线夹角、θB代表该第二中线夹角、θC代表该第三中线夹角、θFOV代表该已知视角、DS1F代表该中点与该第一感测单元之间的距离、DS2F代表该中点与该第二感测单元之间的距离、DS3F代表该中点与该第三感测单元之间的距离、DFOV/2代表该影像传感器的一宽度的一半。Among them, θ A represents the angle between the first center line, θ B represents the angle between the second center line, θ C represents the angle between the third center line, θ FOV represents the known angle of view, and D S1F represents the distance between the center point and the first sensory angle. D S2F represents the distance between the midpoint and the second sensing unit, D S3F represents the distance between the midpoint and the third sensing unit, D FOV/2 represents the image half the width of the sensor. 12.如权利要求11所述的方法,其特征在于,其中当该中点介于该第一感测单元与该第二感测单元之间时,根据下列公式以计算出该第一投影夹角与该第二投影夹角:12. The method according to claim 11, wherein when the midpoint is between the first sensing unit and the second sensing unit, the first projection clip is calculated according to the following formula angle with this second projection: θ612=θAB;以及θ 612 = θ A + θ B ; and θ623=θCBθ 623 = θ C - θ B ; 其中当该中点介于该第二感测单元与该第三感测单元之间时,根据下列公式以计算出该第一投影夹角与该第二投影夹角:Wherein when the midpoint is between the second sensing unit and the third sensing unit, the first projection angle and the second projection angle are calculated according to the following formula: θ612=θAB;以及θ 612 = θ A - θ B ; and θ623=θCBθ 623 = θ C + θ B ; 其中当该第一感测单元、该第二感测单元以及该第三感测单元位于该中点的同一侧,且该第一中线夹角大于该第二中线夹角、该第二中线夹角大于该第三中线夹角时,根据下列公式以计算出该第一投影夹角与该第二投影夹角:Wherein when the first sensing unit, the second sensing unit and the third sensing unit are located on the same side of the midpoint, and the first centerline included angle is greater than the second centerline included angle, the second centerline included angle When the angle is greater than the third midline angle, the first projection angle and the second projection angle are calculated according to the following formula: θ612=θAB;以及θ 612 = θ A - θ B ; and θ623=θBCθ 623 = θ B - θ C ; 其中当该第一感测单元、该第二感测单元以及该第三感测单元位于该中点的同一侧,且该第三中线夹角大于该第二中线夹角、该第二中线夹角大于该第一中线夹角时,根据下列公式以计算出该第一投影夹角与该第二投影夹角:Wherein when the first sensing unit, the second sensing unit and the third sensing unit are located on the same side of the midpoint, and the third centerline angle is greater than the second centerline angle, the second centerline angle When the angle is greater than the first midline angle, the first projection angle and the second projection angle are calculated according to the following formula: θ612=θBA;以及θ 612 = θ B - θ A ; and θ623=θCBθ 623 = θ C - θ B . 13.如权利要求8所述的方法,其特征在于,其中该第一已知距离等于该第二已知距离;该已知夹角等于一个三角形的三个内角的总和;该第一辅助定位单元、该第二辅助定位单元及该第三辅助定位单元为发光二极管,且该第一辅助定位单元、该第二辅助定位单元及该第三辅助定位单元所发射的光具有相同的功率;13. The method according to claim 8, wherein the first known distance is equal to the second known distance; the known angle is equal to the sum of three interior angles of a triangle; the first auxiliary positioning The unit, the second auxiliary positioning unit and the third auxiliary positioning unit are light emitting diodes, and the light emitted by the first auxiliary positioning unit, the second auxiliary positioning unit and the third auxiliary positioning unit has the same power; 其中该待测距离与该待测角度根据下列方程式以计算:Wherein the distance to be measured and the angle to be measured are calculated according to the following equation: PW732/PW731=(D731)2/(DM)2 PW 732 /PW 731 =(D 731 ) 2 /(D M ) 2 PW732/PW733=(D733)2/(DM)2PW 732 /PW 733 = (D 733 ) 2 /(D M ) 2 ; (D731)2+(D733)2=2×[(DA)2+(DM)2];(D 731 ) 2 +(D 733 ) 2 =2×[(D A ) 2 +(D M ) 2 ]; (1/2)×DA×D733×sinθM=[V×(V-DA)×(V-D733)×(V-DM)];(1/2)×D A ×D 733 ×sinθ M =[V×(VD A )×(VD 733 )×(VD M )]; 以及as well as V=(1/2)×(DA+D733+DM);V=(1/2)×(D A +D 733 +D M ); 其中DM代表该待测距离、θM代表该待测角度、DA代表该第一已知距离或该第二已知距离、D731代表该第一感测单元与该第一辅助定位单元之间的距离、D733代表该第三感测单元与该第三辅助定位单元之间的距离、V为该第二辅助定位直线、该第二投影直线及该第三投影直线所围成的三角形的半周长、PW731为对应于该第一感测单元所接收的光的功率、PW732为对应于该第二感测单元所接收的光的功率、PW733为对应于该第三感测单元所接收的光的功率。Where DM represents the distance to be measured, θ M represents the angle to be measured, DA represents the first known distance or the second known distance, and D 731 represents the first sensing unit and the first auxiliary positioning unit D 733 represents the distance between the third sensing unit and the third auxiliary positioning unit, V is the area surrounded by the second auxiliary positioning line, the second projection line and the third projection line The half perimeter of the triangle, PW 731 is the power corresponding to the light received by the first sensing unit, PW 732 is the power corresponding to the light received by the second sensing unit, PW 733 is the power corresponding to the third sensing unit The power of the light received by the measuring unit.
CN2009102218429A 2009-05-08 2009-11-13 Three-point positioning device and method and speaker system Active CN101881611B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US17648809P 2009-05-08 2009-05-08
US61/176,488 2009-05-08

Publications (2)

Publication Number Publication Date
CN101881611A CN101881611A (en) 2010-11-10
CN101881611B true CN101881611B (en) 2012-06-27

Family

ID=43053683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102218429A Active CN101881611B (en) 2009-05-08 2009-11-13 Three-point positioning device and method and speaker system

Country Status (2)

Country Link
CN (1) CN101881611B (en)
TW (1) TWI388360B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9980071B2 (en) 2013-07-22 2018-05-22 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Audio processor for orientation-dependent processing

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI423101B (en) * 2010-12-08 2014-01-11 Wistron Corp Method for positioning compensation of a touch object on a touch surface of a screen and optical touch module thereof
US9201522B2 (en) * 2013-09-03 2015-12-01 Qualcomm Incorporated Acoustic position tracking system
CN105516855A (en) * 2015-12-23 2016-04-20 联想(北京)有限公司 Method for playing audio file
JP2018170539A (en) * 2017-03-29 2018-11-01 ソニー株式会社 Speaker apparatus, audio data supply apparatus, and audio data reproduction system
CN112254643A (en) * 2020-11-03 2021-01-22 北京机电工程研究所 an automatic alignment device
CN116449255B (en) * 2023-03-09 2023-12-22 国网浙江省电力有限公司嘉兴供电公司 Fault detection system and method for box-type transformer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI260914B (en) * 2005-05-10 2006-08-21 Pixart Imaging Inc Positioning system with image display and image sensor
CN101270978A (en) * 2007-03-21 2008-09-24 鸿富锦精密工业(深圳)有限公司 Distance measuring system, distance measuring method, electronic device system, and remote controller
CN101310804A (en) * 2007-05-25 2008-11-26 富港电子(东莞)有限公司 Interactive game device position location system and position location method thereof
WO2009137274A2 (en) * 2008-05-09 2009-11-12 Analog Devices, Inc. Method of locating an object in 3d

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI260914B (en) * 2005-05-10 2006-08-21 Pixart Imaging Inc Positioning system with image display and image sensor
CN101270978A (en) * 2007-03-21 2008-09-24 鸿富锦精密工业(深圳)有限公司 Distance measuring system, distance measuring method, electronic device system, and remote controller
CN101310804A (en) * 2007-05-25 2008-11-26 富港电子(东莞)有限公司 Interactive game device position location system and position location method thereof
WO2009137274A2 (en) * 2008-05-09 2009-11-12 Analog Devices, Inc. Method of locating an object in 3d

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9980071B2 (en) 2013-07-22 2018-05-22 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Audio processor for orientation-dependent processing

Also Published As

Publication number Publication date
CN101881611A (en) 2010-11-10
TW201039894A (en) 2010-11-16
TWI388360B (en) 2013-03-11

Similar Documents

Publication Publication Date Title
CN101881611B (en) Three-point positioning device and method and speaker system
US8602893B2 (en) Input for computer device using pattern-based computer vision
CN102149436B (en) Determination of controller three-dimensional location using image analysis and ultrasonic communication
US9406242B2 (en) Skill judging device, skill judging method and storage medium
JP5132131B2 (en) Pointing device adjustment program and pointing device
US9018510B2 (en) Musical instrument, method and recording medium
US20070155502A1 (en) Device for motion tracking and object for reflecting infrared light
US20030218537A1 (en) Interactive modular system
US8096881B2 (en) Storage medium storing game program and game apparatus
WO2019100754A1 (en) Human body movement identification method and device, and electronic device
US10709971B2 (en) Information processing system, extended input device, and information processing method
US9724613B2 (en) Game device, control method of game device, program, and information storage medium
TWI659221B (en) Tracking system, tracking device and tracking method
EP2392988B1 (en) Capacitive input for computer entertainment device
US20130040737A1 (en) Input device, system and method
KR20110043573A (en) Method of measuring physical quantities of object by using single light source and planar sensor unit and virtual golf system utilizing same
CN201289633Y (en) Marker unit for indicating position calculation
US8406433B2 (en) 3-point positioning device and method thereof
CN106952465A (en) A kind of piano key displacement detector
KR101359662B1 (en) Digital pen system
US20130106689A1 (en) Methods of operating systems having optical input devices
JP2008076765A (en) Musical performance system
KR20040032159A (en) opto-electric ball velocity vector sensing and determination of golf simulator parameters
TWI887052B (en) Sport simulation device
US20130100015A1 (en) Optical input devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant