TW202012884A - Route-teaching module of movable carrier that comprises a visual sensing element and a receiver, a computing device, and a storage - Google Patents

Route-teaching module of movable carrier that comprises a visual sensing element and a receiver, a computing device, and a storage Download PDF

Info

Publication number
TW202012884A
TW202012884A TW108133575A TW108133575A TW202012884A TW 202012884 A TW202012884 A TW 202012884A TW 108133575 A TW108133575 A TW 108133575A TW 108133575 A TW108133575 A TW 108133575A TW 202012884 A TW202012884 A TW 202012884A
Authority
TW
Taiwan
Prior art keywords
storage
mobile vehicle
path
receiver
arithmetic unit
Prior art date
Application number
TW108133575A
Other languages
Chinese (zh)
Other versions
TWI728469B (en
Inventor
張國文
何彥緯
Original Assignee
台灣塔奇恩科技股份有限公司
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 台灣塔奇恩科技股份有限公司 filed Critical 台灣塔奇恩科技股份有限公司
Publication of TW202012884A publication Critical patent/TW202012884A/en
Application granted granted Critical
Publication of TWI728469B publication Critical patent/TWI728469B/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0217Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with energy consumption, time reduction or distance reduction criteria
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0246Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
    • G05D1/0251Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means extracting 3D information from a plurality of images taken from different locations, e.g. stereo vision

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Electromagnetism (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Image Analysis (AREA)

Abstract

Disclosed is a route-teaching module of a movable carrier. The movable carrier can be a movable robot or a vehicle. The module comprises a visual sensing element and a receiver, a computing device, and a storage. The receiver receives an instruction command issued from a remote site to teach the movable carrier to move along an indicated route. The visual sensing element functions for photographing an image, and photographs successively the images of the route that the movable carrier moves along, and transmits the data of the successively photographed images to the computing device. The computing device calculates the route to provide an instructed route to the storage. The storage provides the instructed route to the movable carrier, so that the movable carrier may make movement.

Description

移動載具之教導路徑模組 Teaching path module of mobile vehicle

本發明作為移動載具之教導路徑模組,是指可設於移動載具上的模組,所述移動載具包括移動式機器人或是車體,該模組是作為移動載具位移到目的位置的路徑的指導模組,模組的數據計算方法是運用拍攝連續擷取之影像運算出特徵點,再由運算器以該特徵點計算出到達目的地行走路徑,藉此提供移動載具位移的方向路徑。 The present invention, as a teaching path module of a mobile vehicle, refers to a module that can be installed on a mobile vehicle. The mobile vehicle includes a mobile robot or a car body. The module is used as a mobile vehicle to move to a destination Guidance module of the path of the position. The data calculation method of the module is to calculate the feature points using the continuously captured images, and then use the feature points to calculate the walking path to the destination, thereby providing the displacement of the moving vehicle Direction path.

現有在工廠或高爾夫球場或餐廳等,已有需要利用移動載具來替代人類載運貨品或巡邏監視等工作,目前這些區域所使用的移動載具的行走路徑模組設有感應元件,是藉由在路徑的轉向重點位置上設有多個感測器或紅外線或者是QR Cod等對應元件,藉此以提供移動載具的行走路徑上由感應元件與對應元件進行信息配對以進行固定路徑的位移,然而這樣的指引路徑的對應元件必須要設在所有必要轉折位置上,因此所需的對應元件數量眾多,如該對應元件其中有一個故障,則該移動載具就無法進行移動。 Existing in factories, golf courses, restaurants, etc., there is a need to use mobile vehicles to replace humans to carry goods or patrol and monitor work. At present, the walking path modules of mobile vehicles used in these areas are equipped with sensing elements. There are multiple sensors or infrared or QR Cod corresponding components on the key point of the path, so as to provide information matching between the sensing component and the corresponding component on the moving path of the moving vehicle to perform the fixed path displacement However, the corresponding elements of such a guide path must be set at all necessary turning positions, so the number of corresponding elements required is large. If one of the corresponding elements fails, the moving vehicle cannot move.

以及,當這些工作區域遇到火災時,或者是工作區環境路徑變更,則所述對應元件無法與移動載具的感應元件達成配對;以及,這些感應元件必須設置在固定位置上,若移動載具 變更執行環境位置,則必須重新建置這些感應元件於相對應的位置上。 And, when these work areas encounter a fire, or the environment path of the work area changes, the corresponding element cannot be paired with the sensing element of the moving vehicle; and, these sensing elements must be set at a fixed position. If the position of the execution environment is changed, these sensing elements must be rebuilt at the corresponding positions.

亦有運用GPS進行路徑導航,但GPS的定位精度約在數公尺範圍,且如果機器人在室內移動工作,甚至穿梭於建築物內外或樓層之間,這些GPS無法精確提供移動載具移動並執行工作。 GPS is also used for path navigation, but the positioning accuracy of GPS is about a few meters, and if the robot moves indoors, even shuttles between the inside and outside of the building or between floors, these GPS cannot accurately provide mobile vehicle movement and execution jobs.

為此,本創作為改良習知的缺點,運用攝影取得影像建立特徵點影像,以取得導航路徑,以影像特徵點計算指導路徑,不需要強大的運算與大型儲存器,可以達到運算快速的需求。 To this end, this work is to improve the shortcomings of conventional knowledge, use photography to obtain images to create feature point images, to obtain navigation paths, and use image feature points to calculate guidance paths, without the need for powerful calculations and large storage, which can meet the needs of fast calculations .

本發明運用視覺圖像的方式來建立起教導路徑的資料,所儲存資料為視覺圖像特徵點產生的固定路徑,只儲存特徵點產生的路徑資料使數據資訊量最小化為目的。 The invention uses visual images to establish the data of the teaching path. The stored data is a fixed path generated by the feature points of the visual image, and only the path data generated by the feature points is stored for the purpose of minimizing the amount of data information.

本發明移動載具之位置確認模組,採取一種指導路徑定位目的地的方式,其利於快速儲存及讀取後可以快速比對;以及,提供運算器快速地將儲存器內舊有資料進行比對,來更新儲存器,以產生最新的路徑更新。 The position confirmation module of the mobile vehicle of the present invention adopts a way of guiding the path to locate the destination, which is convenient for fast storage and quick comparison after reading; and, provides an arithmetic unit to quickly compare the old data in the storage Yes, to update the memory to generate the latest path update.

本發明移動載具之教導路徑模組,該移動載具設有一驅動裝置與一控制器,該教導路徑模組以電路或是以無線傳輸的方式連接組裝於移動載具的該控制器;所述教導路徑模組包括:一視覺感測元件與一接收器與一運算器及一儲存器,該接收器為接收遠端發送教導路徑的訊息,並提供給移動載具進行移動 的行走方向;以及,該視覺感測元件電路連接運算器,該運算器連結該儲存器,該儲存體係供作儲存記錄路徑資料的回存與提取;以及,該視覺感測元件包括一個攝像鏡頭;以及,該視覺感測元件作為配置於該移動載具的任意表面上;以及,該視覺感測元件藉由該攝像鏡頭將接收器接收指引移動載具行走路徑進行連續拍攝影像,並提供將得到多張影像傳輸給該運算器,該運算器將多張影像取得的特徵點計算,以取得指導路徑,並將該指導路徑儲存到儲存器,這個運算指導路徑特定流程包括以FAST、HARRIS、GFTT、SIFT等適當方法,藉由該方法取出照片中的二維特徵點,並使用如Fundamental Matrix投影幾何方法,利用二維特徵點在不同照片中的視差,計算出特徵點在三維中的位置,稱為三維特徵點和移動載具所在地的位姿,如此該移動載具的位姿與當時的二維特徵點與該二維特徵點對應的該三維特徵點,將建構起對應的關係,將該關係路徑資料一併存入儲存於儲存器中,將可供後續使用;以及,該儲存器僅記錄由影像輪廓產生的二維特徵點、三維特徵點與移動載具的進行行走的路徑關係資料,因此儲存資料空間很小,因該路徑關係資料比全息影像資料更直覺簡單,所以當重新載入時能快速的比對出移動載具目前的位置,讓移動載具能快速取得所在位置,並因此依照指導路徑定位並被教導進行下一步行走路徑以達到目的地;又,該指導路徑資料建立所需的儲存器儲存空間較少,因此在進行讀取儲存器快速,所以進行比對移動載具 當下定位時能有最快的搜尋指導路徑及較準確的定位精度。 The teaching path module of the mobile vehicle of the present invention is provided with a driving device and a controller. The teaching path module is connected to the controller assembled on the mobile vehicle by circuit or wireless transmission; The teaching path module includes: a visual sensing element, a receiver and an arithmetic unit, and a memory. The receiver receives the message of the teaching path sent by the remote end and provides the moving direction for the moving vehicle to move; And, the visual sensing element circuit is connected to an arithmetic unit, the arithmetic unit is connected to the storage, the storage system is used for storing and extracting the recording path data; and, the visual sensing element includes a camera lens; and, the The visual sensing element is disposed on any surface of the mobile vehicle; and the visual sensing element receives the receiver through the camera lens to guide the moving path of the mobile vehicle to continuously capture images, and provides multiple images It is transmitted to the arithmetic unit, which calculates the feature points obtained from multiple images to obtain the guidance path, and stores the guidance path to the storage. The specific process of this operation guidance path includes FAST, HARRIS, GFTT, SIFT, etc. Appropriate method, take out the 2D feature points in the photo by this method, and use the geometrical method such as Fundamental Matrix projection to calculate the position of the feature point in 3D using the parallax of the 2D feature point in different photos. Feature point and posture of the location of the mobile vehicle, so that the posture of the mobile vehicle and the two-dimensional feature point at that time and the three-dimensional feature point corresponding to the two-dimensional feature point, a corresponding relationship will be constructed, and the relationship path The data is stored in the storage together, which will be available for subsequent use; and, the storage only records the two-dimensional feature points generated by the image contour, the three-dimensional feature points and the path relationship data of the moving vehicle, so it is stored The data space is small, because the path relationship data is more intuitive and simple than the holographic image data, so when reloading, the current position of the mobile vehicle can be quickly compared, so that the mobile vehicle can quickly obtain the location, and therefore according to Guide the path positioning and be taught to take the next walking path to reach the destination; in addition, the guide path data creation requires less storage space in the memory, so the reading of the memory is fast, so the comparison is carried out now. It can have the fastest search guidance path and more accurate positioning accuracy when positioning.

1‧‧‧視覺感測元件 1‧‧‧Visual sensing element

2‧‧‧接收器 2‧‧‧Receiver

3‧‧‧運算器 3‧‧‧Calculator

4‧‧‧儲存器 4‧‧‧storage

P1、P2‧‧‧特徵點 P1, P2‧‧‧Feature points

Pi‧‧‧三維特徵點 Pi‧‧‧3D feature points

O1、O2‧‧‧位姿 O1, O2‧‧‧ pose

第一圖 為本創作之模組運作流程。 The first picture is the operation process of the created module.

第二圖 為本創作實施利方塊圖。 The second picture is a block diagram of the implementation of this creation.

第三圖 為本創作特徵點對應關係圖。 The third picture is the corresponding map of the characteristic points of the creation.

本發明移動載具之教導路徑模組,請參閱第一圖所示,所述移動載具A包含移動式機器人或運輸機具,所述教導路徑模組B是作為組裝於移動載具A的內建電子元件內,其提供移動載具A所在位置辨識與姿態的教導功能元件,該教導路徑模組B包括一視覺感測元件1與一接收器2及一運算器3與一儲存器4,該視覺感測元件1電子線路連結該接收器2與該運算器3,該運算器3電子線路連接該儲存器4;以及,其連接方法可為直接電路連接電路板上的線路,或網路無線連結,或其它的通訊連結;所述無線連接的實施是指該運算器3可為設於模組之外,如第二圖所示,該運算器3設置於一控制主機端C,藉由無線發送或網路雲端,將運算器3的計算路徑訊息傳送到該接收器2,再由該接收器2將路徑訊息儲存到儲存器4,藉此該儲存器4提供存取路徑資訊,待移動載具欲進行移動時,再由接收器2經由儲存器4取得的以儲存預定的路徑資訊提供給移動載具,以供移動載具B依照指定路徑進行移動; 以及,該視覺感測元件1包括一鏡頭,該攝影鏡頭裝設於移動載具A之任一表面位置處,作為拍攝該載具所在的環境的景物功能,該攝影鏡頭連續拍攝數張影像,並將所得影像傳到該運算器3,所述運算器3從該視覺感測元件1拍攝之二維影像中,擷取出離散的二維特徵點,並依據該連續取得影像的特徵找出同一個空間點位在不同影像上的二維座標,由於移動載具的在移動位置影像產生視差,這些二維特徵點在每一張影像上的二維座標會因此改變,並以該連續取得的二維特徵點數據利用投影的方法計算出特徵點在空間中的真實三維空間位置與移動載具本身的位姿,所述位姿是指移動載具在三維空間中朝向的方向,常用數學表達方向方式有歐拉角、三維正交矩陣、單位四元數;以及,該視覺感測元件的相機模組在工作時,會持續拍攝移動載具當下環境的影像,並將拍攝數據傳給運算器,並重覆依上述方法計算出新的二維特徵點與三維特徵點與移動載具新的位姿,並將這些數據與關係的資料儲存入所述的儲存器中更新,而不需要重新建立整個儲存器4。 For the teaching path module of the mobile vehicle of the present invention, please refer to the first figure. The mobile vehicle A includes a mobile robot or a transport tool. The teaching path module B is assembled in the mobile vehicle A Built-in electronic components, which provide teaching function components of the position recognition and posture of the mobile vehicle A. The teaching path module B includes a visual sensing element 1 and a receiver 2 and an arithmetic unit 3 and a storage 4, The visual sensing element 1 electronic circuit connects the receiver 2 and the arithmetic unit 3, and the arithmetic circuit 3 electronic circuit is connected to the storage 4; and, the connection method may be direct circuit connection to the circuit board circuit, or network Wireless connection, or other communication connection; the implementation of wireless connection means that the arithmetic unit 3 can be located outside the module. As shown in the second figure, the arithmetic unit 3 is located on a control host C, by By wireless transmission or network cloud, the computing path information of the computing unit 3 is transmitted to the receiver 2, and then the receiver 2 stores the path information to the storage 4, whereby the storage 4 provides access path information, When the mobile vehicle wants to move, the receiver 2 obtains the storage path information from the storage 4 to provide the mobile vehicle with the predetermined path information for the mobile vehicle B to move according to the designated path; and, the visual sensing The element 1 includes a lens, which is installed at any surface position of the moving vehicle A as a scene function for shooting the environment where the vehicle is located. The photographic lens continuously shoots several images and transmits the resulting images to The arithmetic unit 3, the arithmetic unit 3 extracts discrete two-dimensional feature points from the two-dimensional image captured by the visual sensing element 1, and finds out that the same spatial point is different according to the characteristics of the continuously acquired image The two-dimensional coordinates on the image, due to the parallax of the moving position image of the moving vehicle, the two-dimensional coordinates of these two-dimensional feature points on each image will change accordingly, and use the continuously obtained two-dimensional feature point data to use The projection method calculates the true three-dimensional position of the feature point in space and the posture of the mobile vehicle itself. The posture refers to the direction that the mobile vehicle faces in three-dimensional space. The commonly used mathematical expression direction is Euler angle , Three-dimensional orthogonal matrix, unit quaternion; and, when the camera module of the visual sensing element is working, it will continue to take images of the current environment of the mobile vehicle, and pass the shooting data to the arithmetic unit, and repeat the above The method calculates new two-dimensional feature points and three-dimensional feature points and the new pose of the moving vehicle, and stores these data and relationship information into the storage for updating without rebuilding the entire storage 4.

該運算器3分析若在一位置附近有大量類似或重覆的特徵點時,經連結該儲存器的資料比對後,則會自動將部份相似或重疊的特徵點或位姿關係等資訊從儲存器中刪除,以降低資料佔據儲存器空間。 The calculator 3 analyzes that if there are a large number of similar or overlapping feature points near a location, after comparing the data connected to the storage, it will automatically compare some similar or overlapping feature points or posture relations and other information Delete from the memory to reduce the data to occupy the memory space.

該視覺感測元件能透過電路、網路、行動通訊等方式,取得影像資料傳輸給運算器。 The visual sensing element can obtain image data and transmit it to the arithmetic unit through circuits, networks, mobile communications and the like.

以上運算器3取得影像資訊,包括:特徵點描述、特徵點在影像中的二維座標、特徵點在空間的三維座標、移動載具曾經走過的位置與當時的姿態等,運算器3將資訊組合成路徑檔案並預存於儲存器4,在移動載具A暫停或重新啟動或失去位置時,運算器3可根據此儲存器4的內容來比對當下拍到影像中取出的二維特徵點,藉此計算出移動載具A當下所在的路徑位置,並將該路徑位置訊息傳送給移動載具A的驅動裝置以供其繼續移動工作。 The above operator 3 obtains image information, including: feature point description, two-dimensional coordinates of the feature point in the image, three-dimensional coordinates of the feature point in space, the position the mobile vehicle has traveled and the posture at that time, etc. The information is combined into a path file and pre-stored in the storage 4. When the moving vehicle A pauses or restarts or loses its position, the arithmetic unit 3 can compare the two-dimensional features extracted from the current captured image according to the content of the storage 4 Click to calculate the current path position of the mobile vehicle A, and send the path position information to the driving device of the mobile vehicle A to continue its movement.

又,該視覺感測元件1與該接收器2及該運算器3與該儲存器4,可為一個以上。 Moreover, the visual sensing element 1 and the receiver 2 and the arithmetic unit 3 and the storage 4 may be more than one.

又,該儲存器4設於教導路徑模組B亦可設於網路雲端或外接於一電腦主機的記憶體;以及,該儲存器4的資料提供被移動載具A直接使用,或是傳到另一個移動載具A使用,該儲存器4可提供將檔案傳到另一儲存體備存。 In addition, the storage 4 is provided in the teaching path module B, and can also be provided in the network cloud or externally connected to the memory of a computer host; and, the data of the storage 4 is provided to be directly used by the mobile vehicle A, or transmitted When it is used by another mobile vehicle A, the storage 4 can provide files for transfer to another storage body for storage.

實施本發明模組的運算器3計算方法如以下舉例所述,首先,因拍攝的相機其光學成像或多或少都會產生像差,這些相差會導致空間位置計算錯誤;甚至讓計算結果發散;因此在位置計算前運算器3要根據所搭載相機的光學特性校正影像的像差(例如:image sensor的像素尺寸、像素長寬比、光學鏡頭的paraxial焦距、垂直與水平焦距差異、畸變等),還原出特徵點在影像上的真實投影位置。 The calculation method of the arithmetic unit 3 implementing the module of the present invention is as described in the following example. First, the optical imaging of the camera will more or less cause aberrations, and these phase differences will cause calculation errors in the spatial position; or even let the calculation results diverge; Therefore, before calculating the position, the arithmetic unit 3 must correct the aberration of the image according to the optical characteristics of the camera (for example: the pixel size of the image sensor, the pixel aspect ratio, the paraxial focal length of the optical lens, the difference between the vertical and horizontal focal lengths, distortion, etc.) To restore the true projection position of the feature point on the image.

繼續,實施計算配對方法,一開始先由使用者在近端操 作移動載具進行移動,依照所要行走的路徑,遙控移動載具行走一遍該指定路徑,在移動載具開始移動當下起,該視覺感測元件1被啟動,因此開始進行連續拍攝,並將連續拍攝的影像提供給運算器3,該運算器3中找出二維特徵點,該每兩張影像的二維特徵點找出相同的特徵點配對,運用fundamental matrix及多組特徵點匹配,通常是8組但不限,還原出機器人位姿與配對特徵點的三維位置,並利用此幾何關係將影像中所有的特徵點都計算出在空間中的位置。 Continue to implement the calculation and matching method. At the beginning, the user operates the mobile vehicle at the near end to move. According to the path to be traveled, the remote mobile vehicle walks the specified path once. When the mobile vehicle starts to move, the vision The sensing element 1 is activated, so continuous shooting is started, and the continuously shot images are provided to the arithmetic unit 3, the two-dimensional feature points are found in the arithmetic unit 3, and the two-dimensional feature points of each two images are found to be the same Feature point matching, using a fundamental matrix and multiple sets of feature point matching, usually 8 groups but not limited, to restore the three-dimensional position of the robot's pose and paired feature points, and use this geometric relationship to calculate all the feature points in the image Out of position in space.

又,如第二圖所示,使用者可在遠端的控制主機端C以無線發送操控訊號給該接收器2,該接收器2將操控訊息提供給移動載具A的內建的驅動元件(圖面未示),進而驅動元件驅使移動載具A依照遠端控制進行移動,藉此移動載具A行走一遍該指定路徑,在移動載具開始移動當下起,該視覺感測元件1被啟動,因此開始進行連續拍攝,並將連續拍攝得影像提供給運算器3,該運算器3則將該影像資料計算出路徑資料檔案,並將路徑資料檔案儲存到儲存器4內。 Moreover, as shown in the second figure, the user can wirelessly send a control signal to the receiver 2 at the remote control host C, and the receiver 2 provides the control message to the built-in driving element of the mobile vehicle A (Not shown), and then the driving element drives the moving vehicle A to move according to the remote control, thereby moving the vehicle A to walk the specified path once, and when the moving vehicle begins to move, the visual sensing element 1 is Start up, so start continuous shooting, and provide the continuously shot images to the arithmetic unit 3, the arithmetic unit 3 calculates the image data into a path data file, and stores the path data file in the storage 4.

如第三圖所示,從每兩張影像I1、l2中找出的眾多特徵點配對中,當空間中一個特徵點Pi被兩張影像I1、l2看到時,此時相機中心分別在位姿O1和位姿O2,當相機在位姿O1時可以看到三維特徵點Pi的投影在特徵點p1;以及,當相機在位姿O2時三維特徵點Pi的投影在特徵點p2,第二張影像l2的相機中心投影至第一張影像l1時的投影稱為極點(epipole)e1,反之位姿O1投影到 l2上的極點為e2,,任一配對的特徵點P1與P2都能對應該真實空間中的三維特徵點Pi,特徵點三維座標為[x,y,z]t,利用多個三維特徵點投影即可算出機器人的位姿O1與位姿O2,其關係為:O2=O1.[(R‧f)]其中,

Figure 108133575-A0101-12-0008-1
亦可簡化表示如下:[x,y,z,ψ,θ,φ] As shown in the third figure, from the many feature point pairs found in each of the two images I1, l2, when a feature point Pi in space is seen by the two images I1, l2, the camera center is in position Pose O1 and Pose O2, when the camera is in Pose O1, you can see the projection of the three-dimensional feature point Pi on the feature point p1; and, when the camera is in the Pose O2, the projection of the three-dimensional feature point Pi on the feature point p2, the second The projection of the center of the camera of the image l2 to the first image l1 is called the epipole e1. On the contrary, the pole of the pose O1 projected on l2 is e2, and any paired feature points P1 and P2 can be matched. It should be a three-dimensional feature point Pi in real space. The three-dimensional coordinate of the feature point is [x, y, z] t. The projection of multiple three-dimensional feature points can be used to calculate the pose O1 and pose O2 of the robot. The relationship is: O2= O1. [(R‧f)] Among them,
Figure 108133575-A0101-12-0008-1
It can also be simplified as follows: [x,y,z,ψ,θ,φ]

其中x,y,z是三維位置座標,ψ,θ,φ則表示yaw,pitch,roll三個旋轉角度;藉以表示載具在空間中的姿態,運算順序是先轉yaw(ψ),其次是pitch(θ),最後是roll(φ) Where x, y, z are the three-dimensional position coordinates, ψ , θ , φ represent the three rotation angles of yaw, pitch, and roll; to indicate the attitude of the vehicle in space, the order of operation is to turn yaw( ψ ) first, followed by pitch( θ ), finally roll( φ )

當連續拍攝的影像中,任二張均可透過以上方式取得一定數量的特徵點匹配,與推算出來的特徵點空間位置,以及拍攝這二張影像時模組的相對位置及位姿,這些資料可以連續地建構成一個有結構性的資料檔案,並放置入儲存器4,以檔案的型態儲存,將來能被重覆使用。 When two consecutive images are taken, any two of them can be matched with a certain number of feature points through the above methods, and the calculated spatial location of the feature points, as well as the relative position and posture of the module when shooting these two images. It can be continuously constructed as a structured data file and placed in the storage 4 to be stored in the form of a file, which can be reused in the future.

通常使用方式如下:該視覺感測元件1將持續擷取景物影像傳給該運算器3,並由該運算器3解析成為一個或一個以上的二維特徵點,通常至少10個特徵點,再將二維特徵點與一個 或一個以上的儲存器內的二維特徵點比較,藉此得到最接近儲存器內儲存最接近的二維特徵點,並據此得到當時載具的位置與姿態,用來初步定位目前的位姿,再將新拍攝的影像中擷取出的二維特徵點與儲存器內的二維特徵點及儲存器內的特徵點三維空間位置進行運算及分析,可以得到移動載具A所在的路徑的當下位置,為此移動載具A就能依據此資訊來繼續進行移動工作,亦可將此儲存器4內的指導路徑檔案傳送給任何一個移動載具A,讓其它的移動載具A可重覆使用此儲存器4檔案,以利於進行工作,或是將該儲存器4內的指導路徑檔案上傳,當有其它移動載具A需要相同場地工作時即可藉由遠端或近端傳送儲存器4內的指導路徑檔案到另一台移動載具A的教導路徑模組內的儲存器4,藉此提供另一台移動載具A可行走與相同的指導路徑。 The usual usage is as follows: The visual sensing element 1 transmits the continuously captured scene image to the arithmetic unit 3, and the arithmetic unit 3 parses it into one or more two-dimensional feature points, usually at least 10 feature points, and then Compare the two-dimensional feature points with the two-dimensional feature points in one or more storages, so as to obtain the closest two-dimensional feature points stored in the storage, and obtain the position and posture of the vehicle at that time, It is used to initially locate the current pose, and then calculate and analyze the two-dimensional feature points extracted from the newly captured image and the two-dimensional feature points in the memory and the three-dimensional spatial position of the feature points in the memory, and can be moved. The current position of the path where the vehicle A is located. For this reason, the mobile vehicle A can continue to move based on this information. It can also send the guidance path file in the storage 4 to any mobile vehicle A for other The mobile vehicle A can reuse the file of this storage 4 to facilitate work, or upload the guidance path file in the storage 4, when other mobile vehicles A need to work in the same venue Send the guidance path file in the storage 4 remotely or proximally to the storage 4 in the teaching path module of another mobile vehicle A, thereby providing another mobile vehicle A to walk with the same guidance path .

本方法另一實施,為可以結合其它感測器作為輔助位姿資料獲取路徑位置資料來源,藉以整合成更可靠的位置推估,例如:當環境的影像特徵稀少時,上述方法計算出來的結果誤差較大,若能從其它感測器獲取路徑位置資料,將有助於修正影像計算位姿的誤差;其優點為: Another implementation of this method is that it can be combined with other sensors as auxiliary posture data acquisition path position data sources, so as to integrate into a more reliable position estimation, for example: when the image features of the environment are scarce, the result calculated by the above method The error is large. If the path position data can be obtained from other sensors, it will help to correct the error of the image calculation posture; its advantages are:

1.在一個特定區域內,可以在儲存器4上建立一個指導路徑檔案,該指導路徑檔案為一個以上的檔案資料夾,或是將檔案資料夾分散建在不同的儲存器4上。 1. In a specific area, a guidance path file can be created on the storage 4, the guidance path file is more than one file folder, or the file folder can be distributed and built on different storages 4.

2.儲存器4能被儲存成指導路徑檔案,將來能被其它移動載具A直 接使用,或是傳到另一個移動載具A使用。 2. The storage 4 can be stored as a guide path file, which can be directly used by other mobile vehicles A in the future, or transferred to another mobile vehicle A for use.

3.當環境改變時,儲存器4內的指導路徑檔案能被更新。 3. When the environment changes, the guidance path file in the storage 4 can be updated.

4.當移動載具A指導路徑檔案超出原本儲存器4的儲存容納範圍時,儲存器4能被擴充。 4. When the guidance file of the mobile vehicle A exceeds the original storage range of the storage 4, the storage 4 can be expanded.

5.當有相當類似的特徵或位姿在儲存器4中時,經由分析後,運算器4會將一些特徵點資訊從儲存器4中移出。 5. When there are quite similar features or poses in the memory 4, after analysis, the arithmetic unit 4 will remove some feature point information from the memory 4.

6.運算器3會因不同時間,因光影、環境…等造成的不同特徵變化的特徵點資料進行計算,並隨時由儲存器4進行存取重新計算特徵點。 6. The arithmetic unit 3 will calculate the feature point data of different feature changes caused by different time, light and shadow, environment, etc., and access the memory 4 to recalculate the feature point at any time.

綜上所述,僅為本發明較佳實施例而已,並非用來限定本發明實施之範圍,即凡依本發明申請專利範圍所做之均等變化與修飾,皆為本發明專利範圍所涵蓋。 In summary, these are only preferred embodiments of the present invention, and are not intended to limit the scope of implementation of the present invention, that is, all changes and modifications made in accordance with the patent application scope of the present invention are covered by the patent scope of the present invention.

1‧‧‧視覺感測元件 1‧‧‧Visual sensing element

2‧‧‧接收器 2‧‧‧Receiver

3‧‧‧運算器 3‧‧‧Calculator

4‧‧‧儲存器 4‧‧‧storage

Claims (11)

一種移動載具之教導路徑模組,該移動載具包含移動式機器人或運輸機具,該教導路徑模組是作為組裝於移動載具的內建電子元件內,該教導路徑模組包括一視覺感測元件與一接收器及一運算器與一儲存器,該視覺感測元件電子線路連結該接收器與該運算器,該運算器電子線路連接該儲存器;以及,該視覺感測元件包括一鏡頭,該攝影鏡頭裝設於移動載具之任一表面位置處,作為拍攝該載具所在的環境的景物功能,並將所得影像傳到該運算器,所述運算器從該視覺感測元件拍攝之二維影像中,擷取出離散的二維特徵點,並依據該連續取得影像的特徵找出同一個空間點位在不同影像上的二維座標,由於移動載具的在移動位置影像產生視差,移動載具的在移動位置影像的二維特徵點在每一張影像上的二維座標會因此改變,並以該連續取得的二維特徵點數據利用投影的方法計算出特徵點在空間中的真實三維空間位置與移動載具本身的位姿,所述位姿是指移動載具在三維空間中朝向的方向,常用數學表達方向方式有歐拉角、三維正交矩陣、單位四元數;以及,該視覺感測元件的相機模組會持續拍攝移動載具當下環境的影像,並將拍攝數據傳給運算器,並重覆依上述方法計算出新的二維特徵點與三維特徵點與移動載具新的位姿,並將這些數據與關係的資料儲存入所述的儲存器中更新,而不需要重新建立整個儲存器;以及,該接收器為接收遠端的一控制主機端以無線發送操控訊號給該接收器,該接收器將操控訊息提供給移 動載具的內建的驅動元件,進而驅動元件驅使移動載具依照遠端控制進行移動,藉此移動載具行走指定路徑,在移動載具開始啟動當下起,該視覺感測元件被啟動,因此開始進行連續拍攝,並將連續拍攝得影像提供給運算器,該運算器則將該指定路徑拍攝的影像資料計算出路徑資料檔案,並將路徑資料檔案儲存到儲存器內。 A teaching path module for a mobile vehicle, the mobile vehicle includes a mobile robot or a transport tool, the teaching path module is assembled in a built-in electronic component of the mobile vehicle, the teaching path module includes a visual sense A measuring element and a receiver and a computing element and a storage, the visual sensing element electronic circuit connects the receiver and the computing element, the computing element electronic circuit connects to the memory; and, the visual sensing element includes a A lens, the photographic lens is installed at any surface position of the moving vehicle, and serves as a scene function for shooting the environment where the vehicle is located, and transmits the obtained image to the arithmetic unit, and the arithmetic unit receives the visual sensing element In the two-dimensional images taken, discrete two-dimensional feature points are extracted, and the two-dimensional coordinates of the same spatial point on different images are found according to the characteristics of the continuously obtained images, due to the image generated at the moving position of the moving vehicle Parallax, the two-dimensional coordinates of the two-dimensional feature points of the moving vehicle in the moving position image on each image will change accordingly, and the continuous acquisition of the two-dimensional feature point data is used to calculate the feature point in the space by projection The actual three-dimensional space position and the posture of the mobile vehicle itself, the posture refers to the direction that the mobile vehicle faces in three-dimensional space, and the commonly used mathematical expressions include Euler angle, three-dimensional orthogonal matrix, and unit quaternion And the camera module of the visual sensing element will continue to take images of the current environment of the mobile vehicle, and pass the shooting data to the arithmetic unit, and repeatedly calculate new 2D feature points and 3D feature points according to the above method New position and pose with the mobile vehicle, and store these data and relationship information in the storage to update, without the need to re-create the entire storage; and, the receiver is a remote control host Wirelessly send a control signal to the receiver, the receiver provides the control message to the built-in driving element of the mobile vehicle, and then the driving element drives the mobile vehicle to move according to the remote control, thereby the mobile vehicle walks the designated path , From the moment when the mobile vehicle starts to start, the visual sensing element is activated, so continuous shooting is started, and the continuously shot images are provided to the arithmetic unit, and the arithmetic unit calculates the path of the image data shot by the specified path Data file, and save the path data file to the storage. 如申請專利範圍第1項所述之移動載具之教導路徑模組,該接收器與運算器連接方法可為直接電路連接電路板上的線路,或網路無線連結,或其它的通訊連結;所述無線連接的實施是指該運算器可為設於模組之外的一控制主機端,藉由無線發送或網路雲端,將運算器的計算路徑訊息傳送到該接收器,再由該接收器將路徑訊息儲存到儲存器,藉此該儲存器提供存取路徑資訊,待移動載具欲進行移動時,再由接收器經由儲存器取得的以儲存預定的路徑資訊提供給移動載具,以供移動載具依照指定路徑進行移動。 As the teaching path module of the mobile vehicle described in item 1 of the patent application scope, the connection method of the receiver and the arithmetic unit may be a direct circuit connection to a circuit on the circuit board, or a wireless network connection, or other communication connection; The implementation of the wireless connection means that the arithmetic unit can be a control host located outside the module, by wireless transmission or network cloud, the calculation path information of the arithmetic unit is transmitted to the receiver, and then the The receiver stores the path information to a storage, whereby the storage provides access path information, and when the mobile vehicle wants to move, the receiver obtains the storage through the storage to store the predetermined path information and provides it to the mobile vehicle For the mobile vehicle to move according to the specified path. 如申請專利範圍第1項所述之移動載具之教導路徑模組,該儲存器一個特定區域內,可以在儲存器上建立一個以上的指導路徑檔案,或是將檔案資料夾分散建在不同的儲存器上。 As the teaching path module of the mobile vehicle described in item 1 of the patent application scope, more than one guidance path file can be created on the storage in a specific area of the storage, or the file folder can be distributed and built in different On the storage. 如申請專利範圍第1項所述之移動載具之教導路徑模組,該儲存器能儲存多個指導路徑檔案,將來能被其它移動載具直接使用,或是傳到另一個移動載具使用。 As the teaching path module of the mobile vehicle described in item 1 of the patent scope, the storage can store multiple guidance path files, which can be used directly by other mobile vehicles in the future, or transferred to another mobile vehicle for use . 如申請專利範圍第1項所述之移動載具之教導路徑模組,該儲存 器在環境改變時,儲存器內的指導路徑檔案能被更新。 According to the teaching path module of the mobile vehicle described in item 1 of the patent application scope, the guidance path file in the storage can be updated when the storage environment changes. 如申請專利範圍第1項所述之移動載具之教導路徑模組,該儲存器在當移動載具指導路徑檔案超出原本儲存器的儲存容納範圍時,儲存器能被擴充。 According to the teaching path module of the mobile vehicle described in item 1 of the patent application scope, the storage can be expanded when the mobile vehicle guidance path file exceeds the storage storage range of the original storage. 如申請專利範圍第1項所述之移動載具之教導路徑模組,該儲存器在有相當類似的特徵或位姿在儲存器中時,經由分析後,運算器會將一些特徵點資訊從儲存器中移出。 According to the teaching path module of the mobile vehicle as described in item 1 of the patent application scope, when the memory has quite similar features or poses in the memory, after analysis, the operator will transfer some feature point information from Remove from the storage. 如申請專利範圍第1項所述之移動載具之教導路徑模組,該運算器會因不同時間,因光影、環境…等造成的不同特徵變化的特徵點資料進行計算,並隨時由儲存器進行存取重新計算特徵點。 As the teaching path module of the mobile vehicle described in item 1 of the patent application scope, the arithmetic unit will calculate the characteristic point data of different characteristic changes caused by different time, light and shadow, environment, etc., and it will be calculated from the storage at any time Perform access to recalculate feature points. 如申請專利範圍第1項所述之移動載具之教導路徑模組,該視覺感測元件與該接收器及該運算器與該儲存器,可為一個以上。 According to the teaching path module of the mobile vehicle described in item 1 of the patent application scope, there may be more than one visual sensing element, the receiver, the arithmetic unit, and the memory. 一種移動載具之教導路徑模組,該移動載具包含移動式機器人或運輸機具,該教導路徑模組是作為組裝於移動載具的內建電子元件內,該教導路徑模組包括一視覺感測元件與一運算器與一儲存器,該視覺感測元件電子線路連結該接收器與該運算器,該運算器電子線路連接該儲存器;以及,該視覺感測元件包括一鏡頭,該攝影鏡頭裝設於移動載具之任一表面位置處,作為拍攝該載具所在的環境的景物功能,並將所得影像傳到該運算器,所述運算器從該視覺感測元件拍攝之二維影像中,擷取出離散的二維特徵點,並依據該連續取得影像的特徵找出同一個空間點位在不同影像上的二維座標,由於移動載具的在移動位置影像產生視差,這 些二維特徵點在每一張影像上的二維座標會因此改變,並以該連續取得的二維特徵點數據利用投影的方法計算出特徵點在空間中的真實三維空間位置與移動載具本身的位姿,所述位姿是指移動載具在三維空間中朝向的方向,常用數學表達方向方式有歐拉角、三維正交矩陣、單位四元數;以及,該視覺感測元件的相機模組會持續拍攝移動載具當下環境的影像,並將拍攝數據傳給運算器,並重覆依上述方法計算出新的二維特徵點與三維特徵點與移動載具新的位姿,並將這些數據與關係的資料儲存入所述的儲存器中更新,而不需要重新建立整個儲存器;在移動載具開始啟動當下起,該視覺感測元件被啟動,因此開始進行連續拍攝,並將連續拍攝得影像提供給運算器,該運算器則將該指定路徑拍攝的影像資料計算出路徑資料檔案,並將路徑資料檔案儲存到儲存器內。 A teaching path module for a mobile vehicle, the mobile vehicle includes a mobile robot or a transport tool, the teaching path module is assembled in a built-in electronic component of the mobile vehicle, the teaching path module includes a visual sense A measuring element and an arithmetic unit and a storage, the visual sensing element electronic circuit is connected to the receiver and the arithmetic unit, the arithmetic electronic circuit is connected to the storage; and, the visual sensing element includes a lens and the camera The lens is installed at any surface position of the moving vehicle, as a function of shooting the scenery of the environment in which the vehicle is located, and transmits the obtained image to the arithmetic unit, which calculates the two-dimensional image taken from the visual sensing element In the image, the discrete two-dimensional feature points are extracted, and the two-dimensional coordinates of the same spatial point on different images are found according to the characteristics of the continuously obtained image. Due to the parallax of the moving position image of the moving vehicle, these two The two-dimensional coordinates of the one-dimensional feature point on each image will change accordingly, and the continuous three-dimensional feature point data is used to calculate the true three-dimensional space position of the feature point in space and the moving vehicle itself by using the projection method. Posture, the posture refers to the direction that the moving vehicle faces in three-dimensional space, and the commonly used mathematical expressions include Euler angle, three-dimensional orthogonal matrix, and unit quaternion; and the camera model of the visual sensing element The team will continue to take images of the current environment of the mobile vehicle, and pass the shooting data to the calculator, and repeatedly calculate the new 2D feature points and 3D feature points and the new pose of the mobile vehicle according to the above method, and use these The data of the data and the relationship are stored and updated in the aforementioned storage without rebuilding the entire storage; the visual sensing element is activated from the moment the mobile vehicle starts to be activated, so continuous shooting is started and the continuous The captured image is provided to an arithmetic unit, and the arithmetic unit calculates a path data file of the image data captured by the specified path, and stores the path data file in the storage. 如申請專利範圍第10項所述之移動載具之教導路徑模組,該模組設有一接收器,該接收器連結該視覺感測元件與該運算器;以及,該接收器可以外接組裝於移動載具的驅動元件;以及,接收遠端的一控制主機端以無線發送操控訊號給該接收器,該接收器將操控訊息提供給移動載具的內建的驅動元件,進而驅動元件驅使移動載具依照遠端控制進行移動,藉此移動載具被遙控行走指定路徑,並將視覺感測元件拍攝的影像傳送給運算器。 The teaching path module of the mobile vehicle as described in item 10 of the patent application scope, the module is provided with a receiver, which connects the visual sensing element and the arithmetic unit; and, the receiver can be externally assembled in The driving component of the mobile vehicle; and, a remote control host receives wirelessly sending the control signal to the receiver, the receiver provides the control message to the built-in driving component of the mobile vehicle, and then the driving component drives the movement The vehicle moves according to the remote control, so that the moving vehicle is remotely walked to the designated path, and the image captured by the visual sensing element is transmitted to the arithmetic unit.
TW108133575A 2018-09-27 2019-09-18 Teaching path module for mobile vehicles TWI728469B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW107134105 2018-09-27
TW107134105 2018-09-27

Publications (2)

Publication Number Publication Date
TW202012884A true TW202012884A (en) 2020-04-01
TWI728469B TWI728469B (en) 2021-05-21

Family

ID=69976281

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108133575A TWI728469B (en) 2018-09-27 2019-09-18 Teaching path module for mobile vehicles

Country Status (2)

Country Link
CN (1) CN110955237A (en)
TW (1) TWI728469B (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200604555A (en) * 2004-07-16 2006-02-01 Univ Feng Chia Moving carrier tracking management system
KR100855657B1 (en) * 2006-09-28 2008-09-08 부천산업진흥재단 System for estimating self-position of the mobile robot using monocular zoom-camara and method therefor
KR100922494B1 (en) * 2007-07-19 2009-10-20 삼성전자주식회사 Method for measuring pose of a mobile robot and method and apparatus for measuring position of the mobile robot using the method
CN101726296B (en) * 2009-12-22 2013-10-09 哈尔滨工业大学 Vision measurement, path planning and GNC integrated simulation system for space robot
CN102435188B (en) * 2011-09-15 2013-10-02 南京航空航天大学 Monocular vision/inertia autonomous navigation method for indoor environment
JP5832341B2 (en) * 2012-03-09 2015-12-16 株式会社トプコン Movie processing apparatus, movie processing method, and movie processing program
CN204131634U (en) * 2014-07-15 2015-01-28 深圳奇沃智联科技有限公司 The robot surveillance of tool image identification and automatically patrol path setting
CN104408719B (en) * 2014-11-24 2017-07-28 中国航空工业集团公司洛阳电光设备研究所 A kind of conllinear three characteristic points monocular vision space-location method
CN105760894A (en) * 2016-03-16 2016-07-13 哈尔滨伟方智能科技开发有限责任公司 Robot navigation method based on machine vision and machine learning
US9946264B2 (en) * 2016-03-22 2018-04-17 Sharp Laboratories Of America, Inc. Autonomous navigation using visual odometry
CN107357286A (en) * 2016-05-09 2017-11-17 两只蚂蚁公司 Vision positioning guider and its method
US20180068459A1 (en) * 2016-09-08 2018-03-08 Ford Global Technologies, Llc Object Distance Estimation Using Data From A Single Camera
TW201814246A (en) * 2016-09-26 2018-04-16 劉建良 Image recognition coordinate confirmation and navigation device in which an image stored in an image coordinate database and an image processed by an image processing unit are used in the image recognition unit to determine a coordinate for a CPU to plan a navigation path
CN108074251A (en) * 2016-11-14 2018-05-25 广东技术师范学院 Mobile Robotics Navigation control method based on monocular vision

Also Published As

Publication number Publication date
CN110955237A (en) 2020-04-03
TWI728469B (en) 2021-05-21

Similar Documents

Publication Publication Date Title
JP5992184B2 (en) Image data processing apparatus, image data processing method, and image data processing program
JP5222971B2 (en) Walking robot apparatus and control program therefor
US9020301B2 (en) Method and system for three dimensional mapping of an environment
JP6943988B2 (en) Control methods, equipment and systems for movable objects
CN111127524A (en) Method, system and device for tracking trajectory and reconstructing three-dimensional image
CN110827353B (en) Robot positioning method based on monocular camera assistance
TW201904643A (en) Control device, flight vehicle and recording medium
CN113124883A (en) Off-line punctuation method based on 3D panoramic camera
WO2022052409A1 (en) Automatic control method and system for multi-camera filming
CN112762929B (en) Intelligent navigation method, device and equipment
WO2018121794A1 (en) Control method, electronic device and storage medium
TWI726536B (en) Image capturing method and image capturing apparatus
CN113034347A (en) Oblique photographic image processing method, device, processing equipment and storage medium
JP6725736B1 (en) Image specifying system and image specifying method
TWI728469B (en) Teaching path module for mobile vehicles
WO2023273427A1 (en) Speed measurement method and apparatus based on multiple cameras
KR102516450B1 (en) Method of generating map and visual localization system using the map
JP5885974B2 (en) Corresponding point setting method, corresponding point setting device, and corresponding point setting program for aerial photo image data
CN111788457A (en) Shape estimation device, shape estimation method, program, and recording medium
JP2010146303A (en) Three-dimensional object attitude/position detecting device, method, and program
CN113465600B (en) Navigation method and device, electronic equipment and storage medium
JP7467206B2 (en) Video management support system and video management support method
KR102520189B1 (en) Method and system for generating high-definition map based on aerial images captured from unmanned air vehicle or aircraft
TWI738315B (en) Automatic tracking photographic system based on light label
WO2023070441A1 (en) Movable platform positioning method and apparatus