TWI768724B - Method for positioning in a three-dimensional space and positioning system - Google Patents
Method for positioning in a three-dimensional space and positioning system Download PDFInfo
- Publication number
- TWI768724B TWI768724B TW110106039A TW110106039A TWI768724B TW I768724 B TWI768724 B TW I768724B TW 110106039 A TW110106039 A TW 110106039A TW 110106039 A TW110106039 A TW 110106039A TW I768724 B TWI768724 B TW I768724B
- Authority
- TW
- Taiwan
- Prior art keywords
- dimensional space
- positioning
- electronic device
- information
- sensing
- Prior art date
Links
Images
Landscapes
- Navigation (AREA)
- Air Bags (AREA)
- Container, Conveyance, Adherence, Positioning, Of Wafer (AREA)
Abstract
Description
說明書提出一種在立體空間定位的技術,特別是一種利用立體空間中定位點數據定位進入此空間的電子裝置的定位方法與系統。The specification proposes a technology for positioning in a three-dimensional space, especially a positioning method and system for positioning an electronic device entering the space by using positioning point data in the three-dimensional space.
在習知技術中,為了要在一個室內空間進行人員或物件的定位,需要利用設置於室內空間內多個固定位置的定位點,例如設置信標(Beacon),這是一種可以發出無線信號的裝置。當使用者攜帶著行動裝置進入設置有信標的室內空間時,行動裝置內接收器可以對信標信號做出響應,經接收到信標信號的位置資訊後,可以判斷出目前位置,對應地,在信標的系統中也可以根據使用者的行動裝置的信號定位出行動裝置在此空間內的位置。In the prior art, in order to locate people or objects in an indoor space, it is necessary to use positioning points set at multiple fixed positions in the indoor space, such as setting a beacon, which is a wireless signal device. When the user enters the indoor space with the beacon with the mobile device, the receiver in the mobile device can respond to the beacon signal, and after receiving the location information of the beacon signal, it can determine the current position, correspondingly, In the beacon system, the position of the mobile device in the space can also be located according to the signal of the user's mobile device.
說明書公開一種立體空間中定位方法與定位系統,不同於習知技術,所述立體空間中定位方法基於一個立體空間內的一或多個定位點,而定位方法是基於一種結合環境稀疏點雲(sparse point cloud)特徵和視覺慣性里程計(visual inertial odometry)概念的立體空間定位技術,其中為利用電子裝置中的感測信息,結合影像,形成描述立體空間的定位點。The specification discloses a positioning method and positioning system in a three-dimensional space. Different from the prior art, the positioning method in a three-dimensional space is based on one or more positioning points in a three-dimensional space, and the positioning method is based on a combination of environmental sparse point clouds ( sparse point cloud) features and the concept of visual inertial odometry (visual inertial odometry) stereo spatial positioning technology, which uses the sensing information in electronic devices, combined with images, to form positioning points describing the stereo space.
根據立體空間中定位系統的實施例,系統提出一伺服系統,其中設有一數據庫,用以記載一或多個立體空間中的一或多個定位點數據,伺服系統中運行立體空間中定位方法。According to the embodiment of the positioning system in three-dimensional space, the system proposes a servo system in which a database is set for recording data of one or more positioning points in one or more three-dimensional spaces, and the servo system runs the positioning method in three-dimensional space.
在方法中,伺服系統接收一電子裝置傳送的感測信息,經解析感測信息以得出電子裝置的位置資訊,其中位置資訊為關於電子裝置在一立體空間的空間關係,如裝置與四周環境的深度關係,經查詢數據庫後,匹配出此立體空間中的一或多個定位點數據,並以得出的一或多個定位點數據映射電子裝置的位置資訊,產生一定位信息。In the method, the servo system receives sensing information transmitted by an electronic device, and analyzes the sensing information to obtain position information of the electronic device, wherein the position information is the spatial relationship of the electronic device in a three-dimensional space, such as the device and the surrounding environment After querying the database, one or more positioning point data in the three-dimensional space is matched, and the obtained one or more positioning point data is used to map the position information of the electronic device to generate a positioning information.
優選地,伺服系統自電子裝置接收的感測信息包括電子裝置中的一加速度計、一陀螺儀、一定位電路以及一通訊電路中的其中之一或多個感測電路產生的感測信息。Preferably, the sensing information received by the servo system from the electronic device includes sensing information generated by one or more of an accelerometer, a gyroscope, a positioning circuit and a communication circuit in the electronic device.
進一步地,感測數據還包括通過電子裝置中一攝影單元於立體空間中一位置取得的影像,影像特徵可成為取得一或多個定位點數據的依據。Further, the sensing data also includes an image obtained by a photographing unit in the electronic device at a position in the three-dimensional space, and the image feature can be the basis for obtaining one or more positioning point data.
進一步地,伺服系統利用電子裝置產生的影像形成的影像特徵以匹配立體空間的一或多個定位點數據,根據一實施例,其中方法包括接收電子裝置產生的影像,經影像處理後,可得出影像特徵,並據此判斷空間特徵,如深度與物件。接著是比對數據庫關聯立體空間的一或多個定位點數據,演算影像特徵與各定位點之間的空間特徵的相似度,根據相似度計算電子裝置與各定位點的匹配機率,使得系統可以根據匹配機率得出匹配立體空間的一或多個定位點數據。Further, the servo system uses the image features formed by the image generated by the electronic device to match one or more positioning point data in the three-dimensional space. According to an embodiment, the method includes receiving the image generated by the electronic device, and after image processing, it can be obtained. Image features are extracted and spatial features such as depth and objects are judged accordingly. Next, compare the data of one or more positioning points in the associated three-dimensional space of the database, calculate the similarity between the image feature and the spatial feature between each positioning point, and calculate the matching probability between the electronic device and each positioning point according to the similarity, so that the system can According to the matching probability, one or more positioning point data matching the three-dimensional space is obtained.
進一步地,在一實施例中,使用者所持的電子裝置中執行一軟體程序,其中可以運作掃描模式與編輯模式。在掃描模式,通過電子裝置中的感測電路產生提供至伺服系統執行定位的感測信息,用來與伺服系統匹配要找的定位點清單,例如比對其中定位點識別碼(anchor ID)的清單。Further, in one embodiment, a software program is executed in the electronic device held by the user, wherein the scanning mode and the editing mode can be operated. In the scan mode, the sensing information provided to the servo system to perform positioning is generated by the sensing circuit in the electronic device, and used to match the list of anchor points to be found with the servo system, such as comparing the anchor ID of the anchor ID. list.
在編輯模式,通過電子裝置中的感測電路產生建立一或多個定位點數據的感測信息,並將感測訊息儲存在定位點的後設資料(metadata)內。In the editing mode, the sensing information for establishing one or more positioning point data is generated by the sensing circuit in the electronic device, and the sensing information is stored in the metadata of the positioning point.
為使能更進一步瞭解本發明的特徵及技術內容,請參閱以下有關本發明的詳細說明與圖式,然而所提供的圖式僅用於提供參考與說明,並非用來對本發明加以限制。For a further understanding of the features and technical content of the present invention, please refer to the following detailed descriptions and drawings of the present invention. However, the drawings provided are only for reference and description, and are not intended to limit the present invention.
以下是通過特定的具體實施例來說明本發明的實施方式,本領域技術人員可由本說明書所公開的內容瞭解本發明的優點與效果。本發明可通過其他不同的具體實施例加以施行或應用,本說明書中的各項細節也可基於不同觀點與應用,在不悖離本發明的構思下進行各種修改與變更。另外,本發明的附圖僅為簡單示意說明,並非依實際尺寸的描繪,事先聲明。以下的實施方式將進一步詳細說明本發明的相關技術內容,但所公開的內容並非用以限制本發明的保護範圍。The following are specific embodiments to illustrate the embodiments of the present invention, and those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are merely schematic illustrations, and are not drawn according to the actual size, and are stated in advance. The following embodiments will further describe the related technical contents of the present invention in detail, but the disclosed contents are not intended to limit the protection scope of the present invention.
應當可以理解的是,雖然本文中可能會使用到“第一”、“第二”、“第三”等術語來描述各種元件或者信號,但這些元件或者信號不應受這些術語的限制。這些術語主要是用以區分一元件與另一元件,或者一信號與另一信號。另外,本文中所使用的術語“或”,應視實際情況可能包括相關聯的列出項目中的任一個或者多個的組合。It should be understood that although terms such as "first", "second" and "third" may be used herein to describe various elements or signals, these elements or signals should not be limited by these terms. These terms are primarily used to distinguish one element from another element, or a signal from another signal. In addition, the term "or", as used herein, should include any one or a combination of more of the associated listed items, as the case may be.
揭露書提出一種立體空間中定位系統,提出一伺服系統,其中設有記載描述立體空間的定位點數據的數據庫,用於運行一立體空間中定位方法,所提出的定位方法主要是基於結合環境稀疏點雲(sparse point cloud)特徵和視覺慣性里程計(visual inertial odometry)的立體空間定位技術(three-dimensional space positioning technology)。所述慣性里程計可以是電子裝置中加速度計(accelerometer)與陀螺儀(gyroscope)互相搭配形成的航位距離推算技術。The publication proposes a positioning system in a three-dimensional space, and a servo system, which is provided with a database that records the positioning point data describing the three-dimensional space, and is used to run a positioning method in a three-dimensional space. The proposed positioning method is mainly based on the combination of environmental sparseness. Three-dimensional space positioning technology for sparse point cloud features and visual inertial odometry. The inertial odometer may be a dead distance calculation technology formed by combining an accelerometer (accelerometer) and a gyroscope (gyroscope) in an electronic device.
除了可以電子裝置建立立體空間中的一或多個定位點,還可提出一個伺服系統,其中可利用雲端運算技術處理各終端電子裝置傳送的信息,以實現以一或多個定位點描述一個立體空間的方法,使得方法可以實現一個立體空間中定位的目的,如室內定位,相關系統可參考圖1所示系統架構實施例示意圖。In addition to establishing one or more positioning points in the three-dimensional space with the electronic device, a servo system can also be proposed, in which cloud computing technology can be used to process the information transmitted by each terminal electronic device, so as to realize the description of a three-dimensional space with one or more positioning points The space method enables the method to achieve the purpose of positioning in a three-dimensional space, such as indoor positioning, and the related system can refer to the schematic diagram of the system architecture embodiment shown in FIG. 1 .
系統提出一個伺服系統100,通過網路10可以連線電子裝置121, 141,能夠同時處理來自不同立體空間(12, 14)的信息。伺服系統100設有數據庫101,用以儲存電子裝置121, 141所產生的感測和環境特徵信息,這些感測和環境特徵信息經處理後形成用以描述立體空間的資訊,特別是描述立體空間的數據,如各端立體空間(12, 14)中多個定位點的資訊。The system proposes a
此例中,由伺服系統100運算電子裝置(121, 141)傳送的信息,並運行各種演算法。伺服系統100設有立體空間描述單元103,可由軟體手段以及處理電路所實現,為根據位於立體空間一12中的電子裝置121在立體空間一12中移動以及在每個位置產生的感測和環境特徵信息,取得其中的位置資訊,以形成立體空間一12中的一或多個定位點,達到建構數位地圖用以進行室內外定位為目的。同樣地,也通過通訊單元107接收在立體空間二14中的電子裝置141所產生的感測信息與環境特徵信息,立體空間描述單元103即處理這些信息,形成其中用以描述各立體空間(12, 14)的多個定位點。In this example, the information transmitted by the electronic devices ( 121 , 141 ) is calculated by the
伺服系統100設有定位演算單元105,可由軟體手段以及處理電路所實現,舉例來說,當完成建立描述立體空間一12的定位點後,相關數據儲存在數據庫101中。一旦有另一電子裝置進入立體空間一12,此電子裝置連線伺服系統100,可將其中感測信息以及影像信息傳送到伺服系統100,由伺服系統100中定位演算單元105演算所接收的信息,比對立體空間一12的定位點資訊,用以定位此電子裝置。The
當伺服系統100運行通過建立定位點實現立體空間中定位方法,主要是依據電子裝置(121, 141)在立體空間(12, 14)中感測環境得到的信息,也包括立體空間的影像,所建立描述立體空間的定位點數據。在立體空間中定位方法中,例如電子裝置(121, 141)在立體空間(12, 14)中移動,伺服系統100通過各電子裝置中感測電路於所處的立體空間中多個位置上產生感測信息,同時也通過電子裝置中攝影單元於各個位置拍攝影像,除了可用於建立其中定位點外,用於定位時,可以匹配出之前建立的定位點,根據所匹配的定位點判斷電子裝置(121, 141)在各立體空間(12, 14)中的位置,完成定位後,通過通訊單元107與電子裝置(121, 141)通訊,包括傳遞完成定位的信息。When the
參與建立定位點的電子裝置的相關電路元件可參考圖2所示的實施例示意圖。For related circuit elements of the electronic device involved in establishing the positioning point, reference may be made to the schematic diagram of the embodiment shown in FIG. 2 .
圖2顯示電子裝置20的主要電路元件,電子裝置20可以是使用者手持的行動裝置、頭戴式顯示器(head-mounted display,HMD)或是智慧型眼鏡等各種可以在移動時感測到環境資訊的電子裝置。FIG. 2 shows the main circuit components of the
電子裝置20設有控制其中各電路元件運作的控制器201,控制器201電性連接各電路元件。例如可以包括各種感測器,如圖示意表示的感測器一203與感測器二205,例如是加速度計、陀螺儀等可以感測電子裝置20移動(如各向加速度變化)與姿態(如方位改變、方向改變)的感測電路。The
電子裝置20可設有定位單元207,例如是全球定位系統(GPS)的接收電路,可以通過定位得知電子裝置20的位置,有利於描述立體空間與定位電子裝置20。定位單元207並不排除為可以根據無線信號(如WiFi™、Bluetooth™信號、信標(beacon))執行定位或輔助定位的電路。The
電子裝置20設有攝影單元209,攝影單元209用以拍攝電子裝置20所處位置的影像,然而,攝影單元209依照設計應具有一拍攝視角限制,因此一個時間僅能取得朝一個方向而涵蓋一個空間角度的影像。配合電子裝置20的感測電路產生的信息,成為系統用以描述立體空間與定位的資訊。The
電子裝置20設有通訊單元211,讓電子裝置20可通過網路連線伺服系統22,用以傳輸感測數據、影像,通過伺服系統22的運算能力形成電子裝置20所處立體空間的定位點,並能因此提供定位服務。The
根據圖3所示範例,其中顯示在一立體空間30中形成的多個定位點,如第一定位點T1(座標: (x1, y1, z1))、第二定位點T2(座標:(x2, y2, z2))以及第三定位點T3(座標:(x3, y3, z3))。這三個定位點(T1, T2, T3)可以為電子裝置在此立體空間30移動所形成的定位點。According to the example shown in FIG. 3, a plurality of positioning points formed in a three-
舉例來說,使用者手持電子裝置,開啟其中感測電路與攝影機功能,從第一定位點T1(座標: (x1, y1, z1))開始,即在此第一定位點T1產生感測信息,也利用攝影機拍攝取得一個方向上涵蓋一個空間角度的影像,可以是靜態或動態影像。接著,可以通過軟體提示,或是由使用者決定移動到第二定位點T2(座標:(x2, y2, z2)),電子裝置在移動過程也可能持續處理即時產生的感測信息與影像,或是將感測信息與影像傳送到伺服系統。同樣地,可繼續移動到第三定位點T3(座標:(x3, y3, z3)),持續在移動過程產生感測信息與影像。如此,可以通過電子裝置內或是伺服系統上的軟體手段,根據多個位置的感測信息與影像,得出每個位置(T1, T2, T3)之間以及與立體空間30中的空間關係,也能從影像中取得立體空間的影像特徵,所述感測信息與影像即用以形成立體空間中的多個定位點,能以多個定位點描述立體空間,或者可進一步地建構出描繪此立體空間的地圖。For example, the user holds the electronic device, turns on the sensing circuit and the camera function, and starts from the first positioning point T1 (coordinates: (x1, y1, z1)), that is, the first positioning point T1 generates sensing information , and also use the camera to capture images that cover a spatial angle in one direction, which can be static or dynamic images. Then, it can be prompted by the software, or the user can decide to move to the second positioning point T2 (coordinates: (x2, y2, z2)). The electronic device may also continue to process the sensing information and images generated in real time during the moving process. Or send sensing information and images to the servo system. Similarly, it can continue to move to the third positioning point T3 (coordinates: (x3, y3, z3)), and continue to generate sensing information and images during the moving process. In this way, the spatial relationship between each position ( T1 , T2 , T3 ) and the three-
進一步地,根據一實施例,電子裝置傳送至伺服系統的感測信息可以是電子裝置中的加速度計、陀螺儀、定位電路的其中之一或多個感測電路產生的感測信息,或其中通訊電路產生的信息,例如根據電子裝置支援的無線通訊協定的電路取得如無線網路信息(WiFi®)或藍牙通訊信息(Bluetooth®),並可獲得根據信標得出的信號強度信息(RSSI),可以藉此輔助讓各定位點資訊包含可參考的地理資訊,因此在執行定位時,並不需要一次比對所有在此空間的所有定位點,因此可根據使用者的電子裝置周遭的感測資訊(例如WiFi®信號)而僅找附近定位點比對,藉此可以有效提高定位技術的效率和速度。Further, according to an embodiment, the sensing information transmitted by the electronic device to the servo system may be the sensing information generated by one or more of the accelerometer, gyroscope, and positioning circuit in the electronic device, or the Information generated by communication circuits, such as circuits based on wireless communication protocols supported by electronic devices such as wireless network information (WiFi®) or Bluetooth® communication information (Bluetooth®), and can obtain signal strength information (RSSI) derived from beacons ), which can be used to assist in making the information of each positioning point include reference geographic information. Therefore, when performing positioning, it is not necessary to compare all the positioning points in this space at one time. It can effectively improve the efficiency and speed of positioning technology by measuring information (such as WiFi® signal) and only looking for nearby positioning points for comparison.
於另一實施例中,電子裝置可啟動攝影功能立體空間的影像,伺服系統可取得電子裝置在各位置所取得的影像為在各位置朝向一方位所涵蓋一空間角度的影像,影像為電子裝置的攝影機的拍攝方向與鏡頭視野所取得的影像,影像資訊同樣導入同步定位與地圖構建演算法,連同上述用以描述電子裝置的姿態,包括特定攝影方向與移動路徑的信息,經排除不需要的信息後,整體可以形成描述立體空間的一或多個定位點。In another embodiment, the electronic device can activate the photographing function of the image in the three-dimensional space, the servo system can obtain the image obtained by the electronic device at each position as an image covering a spatial angle at each position facing an orientation, and the image is the electronic device. The image obtained by the camera's shooting direction and the field of view of the lens, the image information is also imported into the synchronous positioning and map construction algorithm, together with the above-mentioned information used to describe the posture of the electronic device, including the specific shooting direction and moving path, after eliminating unnecessary information After the information, the whole can form one or more anchor points that describe the three-dimensional space.
進一步地,伺服系統中的軟體手段可以處理取得的影像後取得各位置的影像特徵,並辨識與分類其中物件,通過影像處理技術取得影像特徵,如各影像、幀影像的影像資訊(如RGB)、關於立體空間的點、線、面(用以描述地面與牆)、顏色、材質、形狀、輪廓以及深度等影像特徵。在步驟S713中,可以通過影像辨識技術,或是導入人工智能模型辨識與分類立體空間中的各種環境物件。這些新的信息可以用來更新原本的定位點數據,或是另外形成新的定位點,每個定位點設有定位點識別碼(anchor ID),通過一或多個定位點信息可用以描述一個立體空間的部份或全部。Further, the software in the servo system can process the acquired images to obtain the image features of each position, identify and classify the objects, and obtain the image features through the image processing technology, such as the image information (such as RGB) of each image and frame image. , Image features such as point, line, surface (to describe the ground and wall), color, material, shape, outline, and depth of the three-dimensional space. In step S713, various environmental objects in the three-dimensional space can be identified and classified through image recognition technology or imported artificial intelligence models. These new information can be used to update the original anchor point data, or form a new anchor point. Each anchor point is provided with an anchor ID, which can be used to describe a Part or all of the three-dimensional space.
進一步地,根據影像辨識的技術實施例,可適度搭配深度學習判斷出牆、地面、各種物件標籤,加上同一位置取得的環境特徵信息與感測器信息,可以建立更完整的定位點信息。其中,感測信息主要包括有各種通信電路產生的信息,環境特徵信息可以為通過電子裝置得到的位置與週邊物件影像,當伺服系統要判斷電子裝置所處位置時,可以通過環境特徵信息進行過濾,以能過濾出能有效定位電子裝置的定位點。Further, according to the technical embodiment of image recognition, it is possible to appropriately match the deep learning to determine the labels of walls, floors, and various objects, plus the environmental feature information and sensor information obtained at the same location, and more complete positioning point information can be established. Among them, the sensing information mainly includes information generated by various communication circuits. The environmental feature information can be the position and surrounding object images obtained by the electronic device. When the servo system wants to determine the location of the electronic device, it can be filtered by the environmental feature information. , so as to filter out the positioning points that can effectively locate the electronic device.
舉例來說,可參考圖4所示通過伺服系統可以讓不同時間、不同電子裝置感測的信息建立立體空間的一或多個定位點的實施例流程圖。For example, reference may be made to the flowchart of the embodiment shown in FIG. 4 in which information sensed by different electronic devices at different times and at different times can be used to establish one or more positioning points in a three-dimensional space.
處於不同的立體空間的電子裝置通過特定軟體程式與通訊方法連線伺服系統,在執行軟體程式後,可以將所得到的各種立體空間資訊傳送到伺服系統。在伺服系統中,如步驟S401,取得第一電子裝置傳送在某個立體空間的立體空間資訊,包括上述實施例所描述的各種環境感測信息與影像,在伺服系統中,如步驟S403,即根據第一電子裝置所傳送的信息演算而建立一或多個定位點,各定位點設有定位點識別碼,相關定位點資訊將儲存在伺服系統的數據庫中。Electronic devices in different three-dimensional spaces are connected to the servo system through specific software programs and communication methods. After executing the software programs, various obtained three-dimensional space information can be transmitted to the servo system. In the servo system, in step S401, the stereoscopic space information transmitted by the first electronic device in a certain stereoscopic space is obtained, including various environmental sensing information and images described in the above embodiments. In the servo system, in step S403, that is, One or more positioning points are established according to the calculation of the information transmitted by the first electronic device, each positioning point is provided with a positioning point identification code, and the relevant positioning point information will be stored in the database of the servo system.
在步驟S405中,伺服系統在另一時間也取得第二電子裝置傳送的立體空間資訊,這時,根據立體空間資訊可以定位第二電子裝置,如步驟S407,根據數據庫中的資料識別出這是與第一電子裝置在某時刻傳送的信息所建立定位點為同一立體空間,經比對後,可先過濾不必要或是重複的信息後,如步驟S409,得出新的一或多個定位點,並建立新的定位點識別碼,使得儲存在數據庫中可以識別各定位點所屬的立體空間與位置。在實施例中,可反覆以上流程,最後,伺服系統可以通過不同時間與裝置的信息形成同一立體空間中用以描述立體空間的定位點(步驟S411)。In step S405, the servo system also obtains the three-dimensional space information transmitted by the second electronic device at another time. At this time, the second electronic device can be located according to the three-dimensional space information. In step S407, according to the data in the database, it is identified that this is related to the The positioning points established by the information transmitted by the first electronic device at a certain time are the same three-dimensional space. After comparison, unnecessary or repeated information can be filtered first, as in step S409, to obtain one or more new positioning points , and establish a new positioning point identification code, so that the three-dimensional space and position to which each positioning point belongs can be identified in the database. In an embodiment, the above process can be repeated, and finally, the servo system can form positioning points in the same three-dimensional space for describing the three-dimensional space through different time and device information (step S411 ).
值得一提的是,在伺服系統中,數據庫利用索引資料識別各處立體空間的定位點信息,包括定位點識別碼(anchor ID)和感測器信息,使得雲端系統可以利用每個立體空間中多個定位點彼此的相對位置,以此描述立體空間的空間資訊準確定位出進入此立體空間的裝置定理位置資訊。It is worth mentioning that in the servo system, the database uses the index data to identify the anchor point information in the three-dimensional space, including the anchor ID and sensor information, so that the cloud system can use the information in each three-dimensional space. The relative positions of the multiple positioning points are used to describe the spatial information of the three-dimensional space to accurately locate the theorem position information of the device entering the three-dimensional space.
所述系統通過電子裝置建立描述各立體空間的定位點,另一方面,系統也可以根據這些定位點定位出電子裝置,在圖5顯示的實施例中,電子裝置51中執行一軟體程序,可以是一個與伺服系統100連線執行定位的專屬程式,其中功能可以建立定位點以及執行定位。其中,通過軟體程序,電子裝置51切換為一編輯模式,通過電子裝置51中的感測電路產生提供伺服系統100對各立體空間建立一或多個定位點數據的感測信息,並將感測訊息儲存在定位點的後設資料(metadata)內(步驟S501)。當切換為一掃描模式,可通過電子裝置51中的感測電路產生提供至伺服系統100執行定位的感測信息(步驟S503),並於伺服系統100匹配得出電子裝置51所處立體空間的定位點時,可以判斷出電子裝置51的位置,相關定位信息可回傳至電子裝置51(步驟S505)。The system establishes positioning points describing each three-dimensional space through the electronic device. On the other hand, the system can also locate the electronic device according to these positioning points. In the embodiment shown in FIG. 5, a software program is executed in the
圖6接著顯示種立體空間中定位方法的實施例流程圖,此定位方法基於伺服系統中數據庫所記載一或多個立體空間中的各立體空間中的一或多個定位點數據。FIG. 6 then shows a flowchart of an embodiment of a positioning method in a three-dimensional space. The positioning method is based on one or more positioning point data in each of one or more three-dimensional spaces recorded in a database in a servo system.
在此實施例流程中,一開始如步驟S601,伺服系統接收電子裝置傳送的感測信息,這些感測信息可以出自電子裝置在一個立體空間中一或多個位置的各種可用於定位的信息,包括通訊電路產生的無線通訊的信息,也可以是影像數據。之後,如步驟S603,伺服系統解析所接收的感測信息,解析出每筆感測信息的來源電子裝置,以及其中可用於定位與匹配定位點的位置資訊,位置資訊主要關於電子裝置與一立體空間的空間關係。In the process of this embodiment, at the beginning, as in step S601, the servo system receives the sensing information transmitted by the electronic device, and the sensing information can come from various information that can be used for positioning at one or more positions of the electronic device in a three-dimensional space, The information including the wireless communication generated by the communication circuit may also be image data. Then, in step S603, the servo system parses the received sensing information, parses out the source electronic device of each sensing information, and the position information which can be used to locate and match the positioning point. The position information mainly relates to the electronic device and a stereo Spatial relationship of space.
之後,在伺服系統中,可先利用環境特徵信息過濾再查詢數據庫中的定位點數據,以匹配立體空間中的一或多個定位點數據,進而判斷電子裝置所處的立體空間(步驟S605),並對應得到立體空間中的定位點數據(步驟S607),之後,以得出的一或多個定位點數據映射電子裝置的位置資訊(步驟S609),並產生定位信息(步驟S611)。After that, in the servo system, the environment feature information can be used to filter the positioning point data in the database first, so as to match one or more positioning point data in the three-dimensional space, and then determine the three-dimensional space where the electronic device is located (step S605 ). , and correspondingly obtain the positioning point data in the three-dimensional space (step S607 ), and then map the position information of the electronic device with the obtained one or more positioning point data (step S609 ), and generate positioning information (step S611 ).
進一步地,當伺服系統接收電子裝置於某一立體空間中在多個不同位置產生的感測信息,使得伺服系統產生多筆定位信息,可形成一移動軌跡,示意圖如圖7所示,並參考圖8顯示通過定位方法在立體空間中形成移動軌跡的實施例流程圖。Further, when the servo system receives the sensing information generated by the electronic device at a plurality of different positions in a certain three-dimensional space, so that the servo system generates multiple pieces of positioning information, a movement trajectory can be formed, as shown in Figure 7, and refer to FIG. 8 shows a flowchart of an embodiment of forming a movement trajectory in a three-dimensional space by a positioning method.
當電子裝置70通過軟體程序相關通訊電路連線伺服系統,可將產生的感測信息傳送到伺服系統,如圖所示,伺服系統將接收電子裝置70在某一位置(如此例的第一位置(x’1, y’1, z’1))傳送的感測信息(步驟S801),通過以上實施例描述的立體空間中定位方法,經解析得到電子裝置70的位置資訊,伺服系統通過軟體手段可以先查詢得出數據庫中的定位點數據,判斷出所在的立體空間,再根據各定位點與電子裝置70位置之間的空間關係,可映射定位點數據以定位得出這個立體空間的第一位置(x’1, y’1, z’1) (步驟S803)。When the
之後,伺服系統繼續接收電子裝置70在另一位置(此例為第二位置(x’2, y’2, z’2))傳送的感測信息(步驟S805),同樣解析得到電子裝置70的位置資訊,再繼續映射定位點數據以定位相同立體空間的第二位置(x’2, y’2, z’2) (步驟S807)。After that, the servo system continues to receive the sensing information transmitted by the
伺服系統繼續接收電子裝置70在另一不同位置(此例為第三位置(x’3, y’3, z’3))傳送的感測信息(步驟S809),繼續映射定位點數據以定位第三位置(x’3, y’3, z’3) (步驟S811),同理,伺服系統再接收電子裝置70在最後的位置(此例為第四位置(x’4, y’4, z’4))傳送的感測信息(步驟S813),再映射定位點數據以定位第四位置(x’4, y’4, z’4) (步驟S815)。最後,伺服系統根據第一位置至第四位置的關係得出電子裝置70在立體空間中的移動軌跡700(步驟S817)。The servo system continues to receive the sensing information transmitted by the
值得一提的是,當電子裝置進入某一立體空間時,伺服系統將根據電子裝置的各種信息判斷所處的立體空間,可以參考圖9示意顯示電子裝置在立體空間與各定位點的空間關係。It is worth mentioning that when the electronic device enters a certain three-dimensional space, the servo system will determine the three-dimensional space it is located in according to various information of the electronic device. You can refer to Figure 9 to illustrate the spatial relationship between the electronic device and each positioning point in the three-dimensional space. .
在伺服系統中,可以應用電子裝置90所傳送的各種通訊信息,如在立體空間中接收到的無線通訊信號,其中將攜帶特定識別資訊(如無線區域網路封包、藍牙通訊封包、信標信息、GPS信息等),使得伺服系統可以對照數據庫中的定位點(第一定位點T1、第二定位點T2、第三定位點T3)數據判斷出電子裝置90所處的立體空間。In the servo system, various communication information transmitted by the
這時,伺服系統可以進行一個座標轉換,將定義電子裝置90位置的座標系轉換到包含多個定位點(T1, T2, T3)的立體空間的座標系,因此可以得出電子裝置90與各定位點(T1, T2, T3)之間的空間關係。舉例來說,可應用訊號強度、影像特徵判斷出電子裝置90與各定位點(T1, T2, T3)之間的距離,再執行後續定位流程。At this time, the servo system can perform a coordinate transformation to convert the coordinate system defining the position of the
上述實施例所描述匹配出特定立體空間中定位點的可參考圖10所示的實施例流程圖。For matching the positioning points in a specific three-dimensional space described in the above embodiments, reference may be made to the flowchart of the embodiment shown in FIG. 10 .
伺服系統接收電子裝置產生的影像信息(步驟S101),這時,伺服系統可以利用影像處理的智能手段學習出其中的影像特徵(步驟S103),接著根據這些影像特徵,可以學習得出空間特徵(步驟S105),其中通過影像處理技術可取得各位置的影像特徵,並判斷立體空間的空間特徵,包括深度,並辨識與分類其中物件。The servo system receives the image information generated by the electronic device (step S101 ). At this time, the servo system can use the intelligent means of image processing to learn the image features (step S103 ), and then according to these image features, it can learn to obtain spatial features (step S103 ). S105 ), wherein the image features of each position can be obtained through the image processing technology, and the spatial features of the three-dimensional space, including the depth, can be determined, and the objects therein can be identified and classified.
舉例來說,智能手段可以得出電子裝置與立體空間的牆、地板等的深度,與在此空間內的各種物件。當伺服系統已經取得立體空間中的一或多個定位點數據,其中可以涵蓋立體空間的環境資訊,或包括其中物件的影像資訊,經智能手段處理後,可以得出電子裝置在此立體空間中的深度與相關物件等資訊。For example, the intelligent means can obtain the depth of the wall, floor, etc. of the electronic device and the three-dimensional space, and various objects in the space. When the servo system has obtained one or more positioning point data in the three-dimensional space, which can cover the environmental information of the three-dimensional space, or include the image information of the objects in the three-dimensional space, after processing by intelligent means, it can be concluded that the electronic device is in the three-dimensional space. The depth and related objects and other information.
接著,將從電子裝置感測信息判斷的影像特徵,比對伺服系統的數據庫關聯此立體空間的一或多個定位點數據的特徵,可以演算影像特徵與各定位點之間的空間特徵的相似度(步驟S107),再根據相似度匹配出關聯的定位點,其中方法是根據相似度估算出電子裝置與各定位點的匹配機率(步驟S109),接著是根據匹配機率得出匹配立體空間的一或多個定位點數據(步驟S111)。其中,根據一實施例,伺服系統可以通過同步定位與地圖構建演算法(SLAM)定位(Localization)技術,經比對特徵信息和物件偵測相似數目,能估算匹配的機率分佈,透過此分佈電子裝置傳送的信息即可匹配數據庫中定位點,其中可以設有門檻,當匹配率高於此門檻時,即匹配得出的定位點,最終,系統根據電子裝置的位置資訊與這些定位點的資訊即可完成定位(步驟S113)。Next, the image features determined from the sensing information of the electronic device are compared with the features of one or more positioning point data associated with the three-dimensional space in the database of the servo system, and the similarity between the image features and the spatial features between the positioning points can be calculated. degree (step S107 ), and then match the associated anchor points according to the similarity, wherein the method is to estimate the matching probability between the electronic device and each anchor point according to the similarity (step S109 ), and then obtain the matching three-dimensional space according to the matching probability. One or more anchor point data (step S111 ). Among them, according to an embodiment, the servo system can estimate the probability distribution of matching by comparing the feature information and the similar number of object detections through the simultaneous localization and map construction algorithm (SLAM) localization technology. The information transmitted by the device can be matched with the positioning points in the database, and a threshold can be set in it. When the matching rate is higher than this threshold, the positioning points obtained are matched. Finally, the system based on the position information of the electronic device and the information of these positioning points The positioning can be completed (step S113 ).
應用上述實施例所描述的建立定位點以及利用定位點執行定位的方法實現了通過稀疏點雲的空間資訊進行空間定位的目的,可參考圖11所示的實施例圖。The purpose of spatial positioning by sparse point cloud spatial information is achieved by applying the methods for establishing positioning points and using positioning points to perform positioning described in the above embodiments, and reference may be made to the embodiment diagram shown in FIG. 11 .
圖中顯示使用者攜帶著電子裝置120進入一個立體空間200中,並在多個位置(如使用者位置151, 152, 153)之間移動,此時,電子裝置120的感測電路開始產生感測信息,可以通過其中特定應用程式(如APP)將感測信息通過網路11傳送到伺服系統110。The figure shows that the user carries the
當伺服系統110中的特定程序接收到有電子裝置120傳送了信息,可以從其中記載的資訊取得電子裝置120的識別資訊。舉例來說,包括使用者識別碼(user ID)、裝置識別碼(device ID),還包括感測信息中取得有關立體空間200中的資訊,如位置信息、空間資訊,或者還包括影像信息等,這些信息提供給伺服系統110中的定位演算單元(如圖1,105),使之可以根據電子裝置120提供的信息查詢數據庫(如圖1,101),可以得出立體空間200的空間識別碼(space ID),識別出電子裝置120所處的立體空間200,並查詢出在此立體空間200中已經完成建立的一或多個定位點(定位點識別碼,anchor ID),其中包括可以環境特徵信息過濾出有效的定位點,如圖中顯示的定位點111, 112, 113, 114。而本次自電子裝置120接收到的信息經驗證可用時亦可形成定位點。這些定位點即建立了所述稀疏點雲特徵(sparse point cloud)。When a specific program in the
如此,當使用者攜帶電子裝置120進入此立體空間200,與伺服系統110隨時連線與傳送感測信息,使得伺服系統110中的軟體程序可以比對定位點111, 112, 113, 114後得出使用者位置,如圖中顯示的幾個移動到的使用者位置151, 152, 153。在另一實施例中,電子裝置120亦可以自伺服系統110載入目前立體空間200中的定位點111, 112, 113, 114的資訊,因此同樣可以定位出電子裝置120的位置,以至於可以演算出電子裝置120的移動軌跡。In this way, when the user enters the three-
更者,伺服系統110中的數據庫記載了定位點111, 112, 113, 114資訊外,還可包括影像資訊,因此可通過影像特徵判讀立體空間中還有物件115, 116,還可從影像特徵中取得更多空間資訊,如深度資訊、牆、角落、地面等資訊。What's more, the database in the
綜上所述,根據所述立體空間的定位方法與系統的實施例,系統根據終端的電子裝置上傳的各種數據建立用於描述立體空間的定位點(anchor),所述方法並不需要進行環景掃描或建置如信標(Beacon)這類的定位裝置,只需依賴電子裝置在不同位置的特定角度中取得的環境特徵,並結合視覺慣性推算航位,即將不同位置的點雲特徵串連達到描述空間訊息和定位目的。To sum up, according to the embodiments of the three-dimensional space positioning method and system, the system establishes an anchor for describing the three-dimensional space according to various data uploaded by the electronic device of the terminal, and the method does not require looping. Scene scanning or the construction of positioning devices such as beacons, only need to rely on the environmental features obtained by the electronic device at specific angles at different positions, and combine the visual inertia to calculate the dead position, that is, the point cloud feature string at different positions. It can even achieve the purpose of describing spatial information and positioning.
以上所公開的內容僅為本發明的優選可行實施例,並非因此侷限本發明的申請專利範圍,所以凡是運用本發明說明書及圖式內容所做的等效技術變化,均包含於本發明的申請專利範圍內。The contents disclosed above are only preferred feasible embodiments of the present invention, and are not intended to limit the scope of the present invention. Therefore, any equivalent technical changes made by using the contents of the description and drawings of the present invention are included in the application of the present invention. within the scope of the patent.
10:網路
100:伺服系統
101:數據庫
103:立體空間描述單元
105:定位演算單元
12:立體空間一
121, 141:電子裝置
14:立體空間二
107:通訊單元
20:電子裝置
201:控制器
203:感測器一
205:感測器二
207:定位單元
209:攝影單元
211:通訊單元
22:伺服系統
30:立體空間
T1:第一定位點
T2:第二定位點
T3:第三定位點
51:電子裝置
70:電子裝置
700:移動軌跡
90:電子裝置
11:網路
110:伺服系統
120:電子裝置
200:立體空間
111, 112, 113, 114:定位點
115, 116:物件
151, 152, 153:使用者位置
步驟S401~S411:建立定位點流程
步驟S501~S505:編輯模式與掃描模式流程
步驟S601~S611:立體空間中定位流程
步驟S801~S817:形成移動軌跡的流程
步驟S101~S113:立體空間中定位流程
10: Internet
100: Servo system
101: Database
103: Three-dimensional space description unit
105: Positioning calculation unit
12: Three-dimensional space one
121, 141: Electronic Devices
14: Stereoscopic space II
107: Communication unit
20: Electronics
201: Controller
203: Sensor One
205: Sensor 2
207: Positioning unit
209: Photography Unit
211: Communication unit
22: Servo system
30: Stereoscopic space
T1: The first positioning point
T2: The second anchor point
T3: The third anchor point
51: Electronic Devices
70: Electronics
700: Movement track
90: Electronics
11: Internet
110: Servo system
120: Electronic Devices
200:
圖1顯示實現立體空間中定位方法的系統架構實施例圖;FIG. 1 shows an embodiment diagram of a system architecture for realizing a positioning method in a three-dimensional space;
圖2顯示定位系統中電子裝置的電路元件實施例示意圖;FIG. 2 shows a schematic diagram of an embodiment of circuit elements of an electronic device in the positioning system;
圖3顯示在一立體空間中建立多個定位點的實施例圖;FIG. 3 shows an embodiment diagram of establishing a plurality of anchor points in a three-dimensional space;
圖4顯示在立體空間中建立定位點的實施例流程圖;FIG. 4 shows an embodiment flow chart of establishing an anchor point in a three-dimensional space;
圖5示意表示電子裝置的編輯模式與掃描模式實施例示意圖;FIG. 5 schematically shows a schematic diagram of an embodiment of an editing mode and a scanning mode of an electronic device;
圖6顯示種立體空間中定位方法的實施例流程圖;6 shows a flow chart of an embodiment of a method for positioning in a three-dimensional space;
圖7顯示通過定位方法在立體空間中形成移動軌跡的實施例圖;FIG. 7 shows an embodiment diagram of forming a movement track in a three-dimensional space by a positioning method;
圖8顯示形成移動軌跡的定位方法實施例流程圖;8 shows a flowchart of an embodiment of a positioning method for forming a movement track;
圖9顯示電子裝置在立體空間與各定位點的空間關係的實施例圖;FIG. 9 shows an embodiment diagram of the spatial relationship between the electronic device and each positioning point in a three-dimensional space;
圖10顯示通過智能演算實現立體空間中定位方法的實施例流程圖;以及FIG. 10 shows a flowchart of an embodiment of a method for positioning in a three-dimensional space through intelligent calculation; and
圖11顯示電子裝置在立體空間中與其中物件關係的實施例示意圖。FIG. 11 shows a schematic diagram of an embodiment of the relationship between the electronic device and the objects in the three-dimensional space.
S601:接收電子裝置傳送的感測信息 S601: Receive the sensing information transmitted by the electronic device
S603:解析感測信息以得出其中的位置資訊 S603: Parse the sensing information to obtain location information therein
S605:判斷電子裝置所處的立體空間 S605: Determine the three-dimensional space where the electronic device is located
S607:取得立體空間中的定位點數據 S607: Obtain the positioning point data in the three-dimensional space
S609:以定位點數據映射電子裝置的位置資訊 S609: Map the position information of the electronic device with the positioning point data
S611:產生定位信息 S611: Generate positioning information
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110106039A TWI768724B (en) | 2021-02-22 | 2021-02-22 | Method for positioning in a three-dimensional space and positioning system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110106039A TWI768724B (en) | 2021-02-22 | 2021-02-22 | Method for positioning in a three-dimensional space and positioning system |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI768724B true TWI768724B (en) | 2022-06-21 |
TW202234347A TW202234347A (en) | 2022-09-01 |
Family
ID=83104042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110106039A TWI768724B (en) | 2021-02-22 | 2021-02-22 | Method for positioning in a three-dimensional space and positioning system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI768724B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201724028A (en) * | 2015-12-31 | 2017-07-01 | 台灣國際物業管理顧問有限公司 | Continuous space positioning system for buildings |
CN109059895A (en) * | 2018-03-28 | 2018-12-21 | 南京航空航天大学 | A kind of multi-modal indoor ranging and localization method based on mobile phone camera and sensor |
CN109141433A (en) * | 2018-09-20 | 2019-01-04 | 江阴市雷奥机器人技术有限公司 | A kind of robot indoor locating system and localization method |
US20200300612A1 (en) * | 2016-10-13 | 2020-09-24 | Six Degrees Space Ltd | Method and apparatus for indoor positioning |
-
2021
- 2021-02-22 TW TW110106039A patent/TWI768724B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201724028A (en) * | 2015-12-31 | 2017-07-01 | 台灣國際物業管理顧問有限公司 | Continuous space positioning system for buildings |
US20200300612A1 (en) * | 2016-10-13 | 2020-09-24 | Six Degrees Space Ltd | Method and apparatus for indoor positioning |
CN109059895A (en) * | 2018-03-28 | 2018-12-21 | 南京航空航天大学 | A kind of multi-modal indoor ranging and localization method based on mobile phone camera and sensor |
CN109141433A (en) * | 2018-09-20 | 2019-01-04 | 江阴市雷奥机器人技术有限公司 | A kind of robot indoor locating system and localization method |
Also Published As
Publication number | Publication date |
---|---|
TW202234347A (en) | 2022-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107990899B (en) | Positioning method and system based on SLAM | |
CN108885459B (en) | Navigation method, navigation system, mobile control system and mobile robot | |
US11529739B2 (en) | Robot and operation method therefor | |
US20190355173A1 (en) | Leveraging crowdsourced data for localization and mapping within an environment | |
KR101947619B1 (en) | Slam on a mobile device | |
CN108548300B (en) | Air supply method and device of air conditioner and electronic equipment | |
KR20220028042A (en) | Pose determination method, apparatus, electronic device, storage medium and program | |
CN109671118A (en) | A kind of more people's exchange methods of virtual reality, apparatus and system | |
WO2018076777A1 (en) | Robot positioning method and device, and robot | |
Ye et al. | 6-DOF pose estimation of a robotic navigation aid by tracking visual and geometric features | |
TW202115366A (en) | System and method for probabilistic multi-robot slam | |
JP2020534198A (en) | Control methods, equipment and systems for mobile objects | |
WO2019001237A1 (en) | Mobile electronic device, and method in mobile electronic device | |
CN106289263A (en) | Indoor navigation method and device | |
KR102190743B1 (en) | AUGMENTED REALITY SERVICE PROVIDING APPARATUS INTERACTING WITH ROBOT and METHOD OF THEREOF | |
CN114612786A (en) | Obstacle detection method, mobile robot and machine-readable storage medium | |
CN112991440A (en) | Vehicle positioning method and device, storage medium and electronic device | |
WO2021093703A1 (en) | Interaction method and system based on optical communication apparatus | |
WO2023088127A1 (en) | Indoor navigation method, server, apparatus and terminal | |
TWI768724B (en) | Method for positioning in a three-dimensional space and positioning system | |
CN114935341B (en) | Novel SLAM navigation computation video identification method and device | |
TWI788217B (en) | Method for positioning in a three-dimensional space and positioning system | |
He et al. | Portable 3D visual sensor based indoor localization on mobile device | |
TW202234023A (en) | Method for depicting three-dimensional space by creating positioning points and system thereof | |
US20180241916A1 (en) | 3d space rendering system with multi-camera image depth |