TW201924594A - Moving devices and controlling methods thereof - Google Patents

Moving devices and controlling methods thereof Download PDF

Info

Publication number
TW201924594A
TW201924594A TW106143139A TW106143139A TW201924594A TW 201924594 A TW201924594 A TW 201924594A TW 106143139 A TW106143139 A TW 106143139A TW 106143139 A TW106143139 A TW 106143139A TW 201924594 A TW201924594 A TW 201924594A
Authority
TW
Taiwan
Prior art keywords
charging station
mobile device
feature point
sensor
initial position
Prior art date
Application number
TW106143139A
Other languages
Chinese (zh)
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 宏碁股份有限公司
Priority to TW106143139A priority Critical patent/TW201924594A/en
Publication of TW201924594A publication Critical patent/TW201924594A/en

Links

Abstract

A controlling method applied to a moving device is provided, wherein the moving device has a sensor. The controlling method includes the following steps: defining an initial position corresponding to a dock, wherein when the moving device is in the initial position, an auto-docking operation can be enabled; moving the moving device to a first position and obtaining identification information including a plurality of characteristic points of the dock through the sensor; comparing the identification data with a plurality of predetermined characteristic point information corresponding to the dock to generate a comparison result; obtaining a direction toward the initial position from the first position that the moving device locates as a correction direction according to the comparison result; and enabling the moving device to move from the first position toward the correction direction to move the moving device to the initial position and enable the auto-docking operation.

Description

移動裝置及其控制方法 Mobile device and control method thereof

本發明係有關於一種移動裝置及其控制方法,特別是有關於一種具有自動停靠充電站能力之移動裝置及其返回充電站之控制方法。 The present invention relates to a mobile device and a control method therefor, and more particularly to a mobile device having the capability of automatically docking a charging station and a control method thereof.

近年來,隨著科技日新月異,使得許多具有自主移動能力的移動裝置(例如掃地機器人)愈來愈普遍。舉例來說,家庭主婦可藉由一些具自動清潔功能的機器人如掃地機器人來進行地板的自動清潔作業,而掃地機器人可於設定後自動行走於地板上,並且藉由其清潔模組來進行自動清潔作業如地板清潔工作,使得居家清潔工作變得更為容易。目前的掃地機器人在完成掃地任務或電力不足時,掃地機器人的導航系統需要執行自動停靠充電站程序(Auto-Docking),以返回到充電站(Dock)停泊或進行充電。目前,一種返回充電站的方法是,掃地機器人先沿著充電站所發出之射線而會到充電站附近的一個有效區內,再透過測距紅外線或超音波來偵測充電站的距離與位置,透過不斷判讀及修正角度完成自動停靠充電站的動作。 In recent years, with the rapid development of technology, many mobile devices with autonomous mobility (such as sweeping robots) have become more and more popular. For example, a housewife can automatically clean the floor by using a robot with an automatic cleaning function such as a sweeping robot, and the sweeping robot can automatically walk on the floor after setting and automatically perform the cleaning module. Cleaning operations such as floor cleaning make home cleaning easier. When the current sweeping robot completes the sweeping task or the power is insufficient, the sweeping robot's navigation system needs to execute the automatic docking charging station program (Auto-Docking) to return to the charging station (Dock) to park or charge. At present, a method of returning to the charging station is that the sweeping robot first moves along the radiation emitted by the charging station to an effective area near the charging station, and then detects the distance and position of the charging station through the ranging infrared or ultrasonic waves. The automatic stop charging station is completed by continuously interpreting and correcting the angle.

然而,上述習知的自動停靠充電站方法設計上必 須使得掃地機器人出現在充電站的有效區內如正前方一定角度範圍內才能順利完成,而掃地機器人的導航系統對於到達終點的條件存在一定程度的容許誤差,有可能掃地機器人一直在充電站的有效區之外移動,因此常常發生不容易或無法完成自動停靠充電站的現象。此外,當掃地機器人不在充電站的有效區內或是其移動方向不是朝向充電站時,導航系統需要透過重複偵測物體及嘗試例如不斷的直行、偵測碰撞並根據偵測結果改變方向以將掃地機器人導引至有效區內來啟動自動停靠充電站程序,有可能造成掃地機器人尚未回到有效區即耗光電力或需要花費很長時間才能回到充電站的情形發生。 However, the above conventional automatic docking charging station method is designed to be The sweeping robot must be present in the effective area of the charging station as long as it is within a certain angle of the front, and the navigation system of the sweeping robot has a certain tolerance for the condition of reaching the end point. It is possible that the sweeping robot has been at the charging station. Moving outside the active area, it is often not easy or impossible to complete the automatic docking of the charging station. In addition, when the cleaning robot is not in the effective area of the charging station or its moving direction is not toward the charging station, the navigation system needs to repeatedly detect the object and try to, for example, continuously go straight, detect the collision and change the direction according to the detection result. The sweeping robot is guided into the effective area to start the automatic docking charging station program, which may cause the cleaning robot to return to the effective area, that is, the power consumption or take a long time to return to the charging station.

因此,需要一種可以提高完成自動停靠充電站的機會的移動裝置及其控制方法,能使移動裝置較快速且有效的返回充電站。 Accordingly, there is a need for a mobile device and control method thereof that can increase the chances of completing an automatic docking charging station, enabling the mobile device to return to the charging station more quickly and efficiently.

有鑑於此,本發明提供一種移動裝置及其控制方法。 In view of this, the present invention provides a mobile device and a control method thereof.

本發明實施例提供一種控制方法,適用於一移動裝置,其中移動裝置具有一用以偵測與一充電站之間的相對距離與方位之感測器。控制方法包括下列步驟:定義相應一充電站之一初始位置,其中,當移動裝置位於初始位置時,可致能自動停靠充電站的操作;使移動裝置移動至一第一位置並透過感測器取得包含充電站之複數特徵點之一辨識資料;比對辨識資料與對應於充電站之複數既定特徵點資訊,產生一比對結果;根據比對結果來獲得由移動裝置所在之第一位置指向初始 位置的方向以作為一修正方向;以及使移動裝置由第一位置朝修正方向移動,以使移動裝置移動至初始位置並致能自動停靠充電站的操作。 Embodiments of the present invention provide a control method suitable for a mobile device, wherein the mobile device has a sensor for detecting a relative distance and an orientation with a charging station. The control method comprises the steps of: defining an initial position of a corresponding charging station, wherein when the mobile device is in the initial position, enabling automatic operation of the charging station; moving the mobile device to a first position and transmitting the sensor Obtaining identification data including one of the plurality of characteristic points of the charging station; comparing the identification data with the plurality of predetermined feature point information corresponding to the charging station, generating a comparison result; obtaining the first position pointed by the mobile device according to the comparison result initial The direction of the position acts as a correcting direction; and the movement of the mobile device from the first position toward the correcting direction to move the mobile device to the initial position and enable automatic docking of the charging station.

本發明另一實施例提供一種移動裝置,其包括一感測器、一移動構件、一儲存裝置以及一處理器。感測器用以偵測與一充電站之間的相對距離與方位。移動構件包括複數滾輪。儲存裝置儲存對應於充電站之複數既定特徵點資訊。處理器係耦接感測器以及儲存裝置,用以定義相應充電站之一初始位置,控制移動構件使移動裝置移動至一第一位置並透過感測器取得包含充電站之複數特徵點之一辨識資料,比對辨識資料與既定特徵點資訊,產生一比對結果,根據比對結果來獲得由第一位置指向初始位置的方向以作為一修正方向,並控制移動構件使移動裝置由第一位置朝修正方向移動,以使移動裝置移動至初始位置並致能一自動停靠充電站的操作。 Another embodiment of the present invention provides a mobile device including a sensor, a moving component, a storage device, and a processor. The sensor is used to detect the relative distance and orientation between a charging station and a charging station. The moving member includes a plurality of rollers. The storage device stores a plurality of predetermined feature point information corresponding to the charging station. The processor is coupled to the sensor and the storage device for defining an initial position of the corresponding charging station, controlling the moving component to move the mobile device to a first position, and obtaining one of the plurality of characteristic points including the charging station through the sensor Identifying the data, comparing the identification data with the predetermined feature point information, generating a comparison result, obtaining a direction from the first position to the initial position as a correction direction according to the comparison result, and controlling the moving component to make the mobile device first The position is moved in the correcting direction to move the mobile device to the initial position and enable an automatic docking operation of the charging station.

關於本發明其他附加的特徵與優點,此領域之熟習技術人士,在不脫離本發明之精神和範圍內,當可根據本案實施方法中所揭露之移動裝置及其相關控制方法做些許的更動與潤飾而得到。 With regard to other additional features and advantages of the present invention, those skilled in the art can make some modifications to the mobile device and related control method disclosed in the implementation method of the present invention without departing from the spirit and scope of the present invention. Retouched and got.

100‧‧‧移動裝置 100‧‧‧Mobile devices

110‧‧‧感測器 110‧‧‧ Sensor

120‧‧‧處理器 120‧‧‧ processor

130‧‧‧儲存裝置 130‧‧‧Storage device

140‧‧‧導航模組 140‧‧‧Navigation module

150‧‧‧移動構件 150‧‧‧moving components

200‧‧‧充電站 200‧‧‧Charging station

TA、LA、RA‧‧‧區域 TA, LA, RA‧‧‧ areas

A、A1、A2、A3‧‧‧既定特徵點資訊 A, A1, A2, A3‧‧‧definite feature point information

S302、S304、S306、S308‧‧‧步驟 S302, S304, S306, S308‧‧‧ steps

O、P1、P2‧‧‧位置 O, P1, P2‧‧‧ position

d1、d2‧‧‧距離 d 1 , d 2 ‧‧‧ distance

θ a θ b θ c ‧‧‧角度 θ a , θ b , θ c ‧‧‧ angle

X1、X2、Y1、Y2‧‧‧座標 X 1 , X 2 , Y 1 , Y 2 ‧‧‧ coordinates

401、402、403‧‧‧射線 401, 402, 403‧‧‧ rays

S502、S504、S506、S508、S510、S512‧‧‧步驟 S502, S504, S506, S508, S510, S512‧‧‧ steps

第1A圖與第1B圖顯示本發明實施例所述之移動裝置之示意圖。 1A and 1B are schematic views showing a mobile device according to an embodiment of the present invention.

第2A圖顯示本發明一實施例所述之充電站之外觀示意圖。 2A is a schematic view showing the appearance of a charging station according to an embodiment of the present invention.

第2B圖至第2E圖係顯示對應於第2A圖之實施例之既定特 徵點資訊之示意圖。 2B to 2E show the established special corresponding to the embodiment of FIG. 2A A schematic diagram of the information.

第3圖顯示依據本發明一實施例之控制方法的流程圖。 Figure 3 is a flow chart showing a control method in accordance with an embodiment of the present invention.

第4A圖至第4C圖係顯示依據本發明實施例之坐標系轉換與初始位置計算之示意圖。 4A to 4C are diagrams showing coordinate system conversion and initial position calculation according to an embodiment of the present invention.

第5圖顯示依據本發明另一實施例之控制方法的流程圖。 Figure 5 is a flow chart showing a control method in accordance with another embodiment of the present invention.

為使本發明之上述和其他目的、特徵、和優點能更明顯易懂,下文特舉出較佳實施例,並配合所附圖式,作詳細說明如下。注意的是,本章節所敘述的是實施本發明之最佳方式,目的在於說明本發明之精神而非用以限定本發明之保護範圍,應理解下列實施例可經由軟體、硬體、韌體、或上述任意組合來實現。 The above and other objects, features and advantages of the present invention will become more <RTIgt; It is to be understood that the following description of the preferred embodiments of the present invention is intended to illustrate the spirit of the present invention and is not intended to limit the scope of the present invention. It is understood that the following embodiments may be via software, hardware, and firmware. Or in any combination of the above.

本發明實施例提供一種可以提高完成自動停靠充電站的機會的移動裝置及其控制方法,能夠在移動裝置需要返回充電站時,利用感測器測得充電站與移動裝置之間的相對距離與方位,訂出一個可以致能自動停靠充電站程序(Auto-Docking)的最佳返回位置,並使移動裝置往最佳返回位置移動,可有效提升移動裝置在充電站的有效區外自動停靠充電站的成功率,同時縮短移動裝置於有效區外尋找充電站有效區所需的時間,可使移動裝置較快速且有效的返回充電站停靠並能讓使用者獲得較好的使用者體驗。 The embodiment of the invention provides a mobile device and a control method thereof, which can improve the chance of completing the automatic stop charging station, and can measure the relative distance between the charging station and the mobile device by using the sensor when the mobile device needs to return to the charging station. Orientation, set an optimal return position that can enable Auto-Docking, and move the mobile device to the optimal return position, which can effectively improve the automatic stop charging of the mobile device outside the effective area of the charging station. The success rate of the station, while shortening the time required for the mobile device to find the effective area of the charging station outside the effective area, enables the mobile device to stop at a faster and more efficient returning charging station and allows the user to obtain a better user experience.

第1A圖顯示本發明一實施例所述之移動裝置100之示意圖。如第1A圖所示,移動裝置100可為任何具有自主移動能力與導航功能的行動裝置,例如一掃地機器人(cleaning robot)或其他機器人,其可隨意移動或者依既定路線移動,且可於完成任務或電力不足時返回充電站200停泊或進行充電。參閱第1A圖與第1B圖,移動裝置100包括一或多個感測器110、處理器120、儲存裝置130、導航模組140、以及移動構件150。感測器110可為任何可用以偵測移動裝置100所在的環境中的物體如充電站200或其他障礙物與移動裝置100之間的相對距離與方位之感測器,例如是光達(Lidar)、影像感測器(例如景深相機)、超音波(Ultrasound)感測器、雷射(Laser)感測器或者是前述多種元件的組合,但本發明不限於此。在一些實施例中,感測器110可更包括一紅外線感測器,可用以接收充電站200發射的紅外線訊號來輔助確認充電站200所在的位置。 FIG. 1A is a schematic diagram showing a mobile device 100 according to an embodiment of the present invention. As shown in FIG. 1A, the mobile device 100 can be any mobile device with autonomous mobility and navigation functions, such as a cleaning robot (cleaning) A robot or other robot that can move freely or move according to a predetermined route, and can return to the charging station 200 to park or charge when the task or power is insufficient. Referring to FIGS. 1A and 1B , the mobile device 100 includes one or more sensors 110 , a processor 120 , a storage device 130 , a navigation module 140 , and a moving member 150 . The sensor 110 can be any sensor that can be used to detect the relative distance and orientation between an object in the environment in which the mobile device 100 is located, such as the charging station 200 or other obstacle and the mobile device 100, such as Lida (Lidar) ), an image sensor (for example, a depth of field camera), an Ultrasound sensor, a laser sensor, or a combination of the foregoing various elements, but the invention is not limited thereto. In some embodiments, the sensor 110 can further include an infrared sensor that can be used to receive the infrared signal emitted by the charging station 200 to assist in confirming the location of the charging station 200.

在一實施例中,感測器110可設置於移動裝置100的上方,其可360度轉動以對移動裝置100的周圍環境的物體如障礙物或充電站200等進行掃描,並取得物體的特徵點資訊,但本發明並不限於此。明確來說,感測器110可以移動裝置100為基準對四周進行距離感測,以不間斷地採集其周圍環境,並提供環境相關的各種感測器資訊給處理器120,以供判斷是否有障礙物或充電站以及兩者之間相對的距離與方位。舉例來說,以感測器110為光達為例,移動裝置100可透過光達發射1束或多束雷射光掃描周圍環境及接收物體的反射訊號並進行解析,測量光脈衝的飛行時間,進而判斷移動裝置100和物體之間的相對距離與方位角度,掌握移動裝置100的四周是否有物體,並根據移動裝置100與物體的相對距離與方位,產生物體的特徵點資訊。其中,某一物體的特徵點資訊可用以表示該 物體的外觀的特徵,係由感測器110掃描物體時根據反射訊號產生。明確來說,上述物體為環境中的立體物件,感測器110會發出訊號(例如:雷射光等)掃描一定角度,當感測器110發出訊號(例如:雷射光等)掃描周圍環境而掃描訊號接觸到某一物體表面時,隨著物體的外觀的不同,感測器110可在不同的角度與距離接收到一些反射訊號,因此,掃描器110便可依據接收到這些反射訊號時的相對角度與距離資訊產生表示該物體的外觀特徵的特徵點資訊。 In an embodiment, the sensor 110 can be disposed above the mobile device 100, and can be rotated 360 degrees to scan an object such as an obstacle or a charging station 200 of the environment of the mobile device 100, and obtain characteristics of the object. Point information, but the invention is not limited thereto. Specifically, the sensor 110 can perform distance sensing on the periphery of the mobile device 100 to continuously collect the surrounding environment, and provide environment-related various sensor information to the processor 120 for judging whether Obstacle or charging station and the relative distance and orientation between the two. For example, taking the sensor 110 as a light source, the mobile device 100 can scan and analyze the reflection signals of the surrounding environment and the receiving object by transmitting one or more laser beams, and measure the flight time of the light pulse. Further, the relative distance and the azimuth angle between the mobile device 100 and the object are determined, and whether there is an object around the mobile device 100 is grasped, and the feature point information of the object is generated according to the relative distance and orientation of the mobile device 100 and the object. Where the feature point information of an object can be used to indicate the The appearance of the object is generated by the sensor 110 when the object is scanned according to the reflected signal. Specifically, the object is a three-dimensional object in the environment, and the sensor 110 emits a signal (for example, laser light, etc.) to scan a certain angle, and when the sensor 110 sends a signal (for example, laser light, etc.) to scan the surrounding environment and scans. When the signal contacts the surface of an object, the sensor 110 can receive some reflection signals at different angles and distances according to the appearance of the object. Therefore, the scanner 110 can be based on the relative when receiving the reflected signals. The angle and distance information produces feature point information indicative of the appearance characteristics of the object.

在一些實施例中,感測器110也可包括用以偵測移動裝置100的方位資訊的感測器,可提供移動裝置100的行進方位資訊,並且還可協助移動裝置100辨識轉向時的轉向角度等,例如是電子羅盤(Electronic Compass)、陀螺儀(Gyroscope)或其他慣性量測裝置等,但本發明並不限於此。 In some embodiments, the sensor 110 can also include a sensor for detecting the orientation information of the mobile device 100, can provide the traveling orientation information of the mobile device 100, and can also assist the mobile device 100 in recognizing the steering when steering. The angle or the like is, for example, an electronic compass, a gyroscope, or other inertial measurement device, but the present invention is not limited thereto.

儲存裝置130可為非揮發性儲存媒體(例如:唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟、光碟等)、揮發性儲存媒體(例如:隨機存取記憶體(Radom Access Memory,RAM))、或兩者之任意組合,用以儲存相關資料,例如運算過程中的中間資料及執行結果資料等。儲存裝置130也可用以儲存可供處理器120執行之指令集及/或程式碼程式模組。一般而言,程式模組包含常序(routines)、程式(program)、物件(object)、元件(component)等。儲存裝置130可更儲存有運算所需的各項資料,例如:圖資、感測器資訊或關於充電站及/或障礙物的多個預設特徵點資訊等等。儲存裝置130中可更包括一待比對資料庫(未繪示),待比 對資料庫中可儲存有充電站200對應的既定特徵點資訊及/或充電站200附近的障礙物的既定特徵點資訊。在本文中,一物體的既定特徵點資訊表示當移動裝置100的感測器110對該物體進行特徵點偵測時所偵測到的物體的特徵點相關資訊,其中物體的特徵點相關資訊可表示所偵測的物體的特徵點與移動裝置100之間的相對距離與角度。舉例來說,假使以感測器110為光達且物體為充電站200為例進行說明,感測器110可發射雷射光波至充電站200,當雷射光波打到充電站200的表面上時,會隨著移動裝置100與充電站200的相對距離與角度差異而偵測到充電站200的局部或全部外觀,因此可以取得固定間隔的不同特徵點資訊。舉例來說,假使物體具有一線條時,其對應的特徵點資訊則包含數個在同一直線上的特徵點。在一些實施例中,充電站200可具有一特定外觀特徵,例如充電站200可在一側面外型設計有一特殊形狀或線條。參閱第2A圖。第2A圖顯示本發明一實施例所述之充電站200之外觀示意圖。如第2A圖所示,在本實施例中,充電站200的側面設計有兩個直角,其間距與兩個直角延伸出的線條互相平行。可理解的是,第2A圖的充電站200之外觀僅用以說明目的,本發明並不限定於充電站200的外觀形式僅止於此。換句話說,本發明適用於任何可以明顯辨識其為充電站200的外觀形狀。 The storage device 130 can be a non-volatile storage medium (for example, Read-Only Memory (ROM), Flash memory, hard disk, CD, etc.), volatile storage media (for example: random A random access memory (RAM), or any combination of the two, for storing related data, such as intermediate data and execution result data in the operation process. The storage device 130 can also be used to store a set of instructions and/or code program modules executable by the processor 120. Generally, a program module includes a routine, a program, an object, a component, and the like. The storage device 130 can further store various items required for the operation, such as: graphic information, sensor information, or a plurality of preset feature point information about the charging station and/or the obstacle, and the like. The storage device 130 may further include a database to be compared (not shown), to be compared The predetermined feature point information corresponding to the charging station 200 and/or the predetermined feature point information of the obstacle near the charging station 200 may be stored in the database. In this context, the information of a feature point of an object indicates information about a feature point of an object detected by the sensor 110 of the mobile device 100 when the feature point is detected by the object, wherein the feature point related information of the object may be Indicates the relative distance and angle between the feature points of the detected object and the mobile device 100. For example, if the sensor 110 is light and the object is the charging station 200, the sensor 110 can emit laser light to the charging station 200 when the laser light hits the surface of the charging station 200. At the same time, the partial or total appearance of the charging station 200 is detected as the relative distance and angle difference between the mobile device 100 and the charging station 200, so that different feature point information of a fixed interval can be obtained. For example, if an object has a line, its corresponding feature point information contains several feature points on the same line. In some embodiments, charging station 200 can have a particular appearance feature, such as charging station 200 can be designed with a particular shape or line on a side profile. See Figure 2A. FIG. 2A is a schematic diagram showing the appearance of a charging station 200 according to an embodiment of the present invention. As shown in Fig. 2A, in the present embodiment, the side surface of the charging station 200 is designed with two right angles, the pitch of which is parallel to the lines extending at two right angles. It can be understood that the appearance of the charging station 200 of FIG. 2A is for illustrative purposes only, and the present invention is not limited to the appearance of the charging station 200. In other words, the present invention is applicable to any appearance shape that can be clearly recognized as the charging station 200.

在一實施例中,既定特徵點資料係表示控制裝置100由預設的一初始位置出發,透過感測器110以不同角度掃描充電站200所獲得的特徵點資訊。此初始位置表示移動裝置100可以回到充電站200的最佳點所在的位置。在一實施例中,初 始位置設為充電站200的正前方的一定角度範圍內的位置(例如:正前方50公分處)。 In an embodiment, the predetermined feature point data indicates that the control device 100 starts from a preset initial position, and scans the feature point information obtained by the charging station 200 through the sensor 110 at different angles. This initial position represents the location at which the mobile device 100 can return to the optimal point of the charging station 200. In an embodiment, initially The start position is set to a position within a certain angle range directly in front of the charging station 200 (for example, 50 cm in front).

參閱第2B圖至第2E圖,係顯示對應於第2A圖之充電站200的外觀之既定特徵點資訊之示意圖。第2B圖係顯示對應於第2A圖之充電站200的外觀之既定特徵點資訊A,其中既定特徵點資訊A包含對應於第2A圖的充電站200的兩側的兩個直角的特徵點。請同時參閱第1A圖。第2C圖係顯示本發明一實施例之當移動裝置100位在充電站200的正前方的一目標區域內(如第1A圖所示的區域TA)時感測器110所偵測到的既定特徵點資訊A1之示意圖,第2D圖係顯示本發明一實施例之當移動裝置100位在充電站200的目標區域之外的左側區域(如第1A圖所示的LA)時感測器110所偵測到的特徵點資訊A2之示意圖,以及第2E圖係顯示本發明一實施例之當移動裝置100位在充電站200的目標區域之外的右側區域(如第1A圖所示的RA))時感測器110所偵測到的特徵點資訊A3之示意圖。其中,目標區域TA定義為可以致能移動裝置100的自動停靠充電站程序的區域範圍,例如可為充電站200正前方一定角度範圍內。也就是說,當移動裝置100位在目標區域TA內時,移動裝置100的自動停靠充電站程序將可被致能並可順利停靠至充電站200。如第2C圖所示,當移動裝置100位在充電站200的正前方的目標區域TA內時,此時感測器110大致上可以偵測到充電站200的兩側所有特徵點資訊,因此既定特徵點資訊A1包含兩側兩個直角的特徵點。當移動裝置100位在充電站200的目標區域之外的左側區域LA時,此時感測器110只能偵測到充電站200的左半部特徵 點,所偵測到的特徵點資訊只包含左半部的局部特徵點,因此既定特徵點資訊A2包含左側的兩個直角的特徵點,如第2D圖所示。類似地,當移動裝置100位在充電站200的目標區域之外的右側區域RA時,此時感測器110只能偵測到充電站200的右半部特徵點,所偵測到的特徵點資訊只包含右半部的局部特徵點,因此既定特徵點資訊A3包含右側的的兩個直角的特徵點,如第2E圖所示。由第2D圖以及第2E圖可知,雖然特徵點資訊只包含充電站200的局部特徵點資訊,然而這些特徵點資訊中都可以看出其側面包含兩個直角的外觀特徵。因此,之後,當處理器120得到未知物體的待辨識特徵點資訊時,可以將待辨識特徵點資訊與待比對資料庫中的這些既定特徵點資訊進行特徵點匹配,根據特徵點排列是否具有一特定外觀來判斷該物體是否為充電站200。 Referring to FIGS. 2B to 2E, there are shown schematic diagrams of predetermined feature point information corresponding to the appearance of the charging station 200 of FIG. 2A. Fig. 2B shows a predetermined feature point information A corresponding to the appearance of the charging station 200 of Fig. 2A, wherein the predetermined feature point information A includes two right angle feature points corresponding to both sides of the charging station 200 of Fig. 2A. Please also refer to Figure 1A. 2C is a diagram showing the predetermined detection by the sensor 110 when the mobile device 100 is located in a target area directly in front of the charging station 200 (such as the area TA shown in FIG. 1A) according to an embodiment of the present invention. Schematic diagram of the feature point information A1, which shows the sensor 110 when the mobile device 100 is located in the left region outside the target area of the charging station 200 (such as the LA shown in FIG. 1A) according to an embodiment of the present invention. A schematic diagram of the detected feature point information A2, and a second E-picture showing a right side region of the mobile device 100 outside the target area of the charging station 200 according to an embodiment of the present invention (such as the RA shown in FIG. 1A) )) A schematic diagram of the feature point information A3 detected by the sensor 110. The target area TA is defined as a range of areas in which the automatic stop charging station program of the mobile device 100 can be enabled, for example, within a certain angle range directly in front of the charging station 200. That is, when the mobile device 100 is in the target area TA, the automatic stop charging station program of the mobile device 100 will be enabled and can be docked to the charging station 200. As shown in FIG. 2C, when the mobile device 100 is located in the target area TA directly in front of the charging station 200, the sensor 110 can substantially detect all the feature point information on both sides of the charging station 200. The predetermined feature point information A1 includes feature points of two right angles on both sides. When the mobile device 100 is located in the left area LA outside the target area of the charging station 200, the sensor 110 can only detect the left half of the charging station 200 at this time. Point, the detected feature point information only contains the local feature points in the left half, so the predetermined feature point information A2 includes the two right-angle feature points on the left side, as shown in the 2D figure. Similarly, when the mobile device 100 is located in the right area RA outside the target area of the charging station 200, the sensor 110 can only detect the right half feature point of the charging station 200, and the detected features. The point information only contains the local feature points of the right half, so the predetermined feature point information A3 contains the two right-angle feature points on the right side, as shown in FIG. 2E. It can be seen from FIG. 2D and FIG. 2E that although the feature point information only includes the local feature point information of the charging station 200, it can be seen that the feature point information includes two right-angle appearance features on the side. Therefore, after the processor 120 obtains the feature point information of the unknown object to be identified, the feature point information to be identified may be matched with the feature point information in the database to be compared, and according to whether the feature point arrangement has A particular appearance is used to determine if the object is a charging station 200.

處理器120係耦接至感測器110、儲存裝置130、導航模組140、以及移動構件150,可從儲存裝置130中載入並執行指令集及/或程式碼,以控制感測器110、儲存裝置130、導航模組140以及移動構件150之運作來執行本發明所述之控制方法。上述之控制方法包括以下步驟:在需要返回充電站200停靠時,先判斷目前所在的第一位置是否在定義好的初始位置或對應初始位置的目標區域,當判定第一位置位在目標區域內時,致能自動停靠充電站200的操作,使移動裝置100返回充電站200停泊或進行充電;而當判定第一位置位於目標區域外時,透過感測器110取得充電站200的複數特徵點的一辨識資料,比對辨識資料與相應充電站200的複數既定特徵點資訊, 產生一比對結果,根據比對結果來獲得由移動裝置100所在的第一位置指向目標區域中的指定位置的方向以作為一修正方向,並使移動裝置100由第一位置朝修正方向移動,以使移動裝置100移動至指定位置並致能自動停靠充電站的操作,其細節將於後進行說明。處理器120可為通用處理器、中央處理單元(Central Processing Unit,CPU)、微處理器(Micro-Control Unit,MCU)、圖形處理器(Graphics Processing Unit,GPU)或數位訊號處理器(Digital Signal Processor,DSP)等,用以提供資料分析、處理及運算之功能。 The processor 120 is coupled to the sensor 110, the storage device 130, the navigation module 140, and the moving component 150. The instruction set and/or the code may be loaded and executed from the storage device 130 to control the sensor 110. The storage device 130, the navigation module 140, and the moving member 150 operate to perform the control method of the present invention. The above control method includes the following steps: when it is required to return to the charging station 200 to stop, first determine whether the first position currently located is at a defined initial position or a target area corresponding to the initial position, and when determining that the first position is within the target area When it is enabled to automatically stop the operation of the charging station 200, the mobile device 100 returns to the charging station 200 to park or charge; and when it is determined that the first position is outside the target area, the complex feature point of the charging station 200 is obtained through the sensor 110. An identification data, comparing the identification data with a plurality of predetermined feature point information of the corresponding charging station 200, Generating a comparison result, obtaining a direction from the first position where the mobile device 100 is located to the designated position in the target area as a correction direction according to the comparison result, and moving the mobile device 100 from the first position toward the correction direction, The operation of moving the mobile device 100 to a designated location and enabling automatic docking of the charging station will be described later. The processor 120 can be a general-purpose processor, a central processing unit (CPU), a microprocessor (Micro-Control Unit (MCU), a graphics processing unit (GPU), or a digital signal processor (Digital Signal). Processor, DSP, etc., to provide data analysis, processing and calculation functions.

導航模組140可根據移動裝置100的目前位置以及一目的地,進行一路徑規劃,從而得到一規劃路徑,處理器120可控制導航模組140進行一導航,使移動裝置100可以依據規劃路徑前進至目的地。於一些實施例中,導航模組140可更包括一全域規劃器(global planner)(未繪示)以及一區域規劃器(local planner)(未繪示),用以產生一條到目的地的規劃路徑並適合進行避障以進行導航。其中全域規劃器負責進行從移動裝置100的到指定地點的最佳全局路徑的規劃,而區域規劃器(local planner)負責根據移動裝置100所在現實環境的周遭資訊,配合全域規劃器(global planner)所提供的全局路徑,規劃出最佳的局部路徑與進行動態避障操作,最後處理器120控制移動構件150驅動移動裝置100依據規劃的路徑開始行走,以完成導航。舉例來說,全域規劃器可根據目的地以及事先建好的環境2D地圖(Global map),產生一條不會碰到地圖中障礙物的軌跡,也就是到指定地點的最佳全域路徑(Global Path)。然而, 若只有此最佳全域路徑,移動裝置100就只能在靜態環境中進行導航,因為只要場景跟地圖不一樣,原先規劃好的最佳全域路徑就可能會撞到障礙物。因此,區域規劃器可根據感測器110的感測結果得到環境的周遭資訊,配合全域規劃器所提供的全局路徑,規劃出最佳的局部路徑以動態的避開障礙物。也就是說,導航模組140可以透過全域規劃器規劃一條從目前位置到指定地點(目的地)的一條全局路徑,並透過區域規劃器來動態避障產生局部路徑以避開所規劃的全局路徑中的障礙物,以完成導航。 The navigation module 140 can perform a path planning according to the current location of the mobile device 100 and a destination, thereby obtaining a planning path, and the processor 120 can control the navigation module 140 to perform navigation, so that the mobile device 100 can advance according to the planned path. To the destination. In some embodiments, the navigation module 140 can further include a global planner (not shown) and a local planner (not shown) for generating a plan to the destination. The path is also suitable for obstacle avoidance for navigation. The global planner is responsible for planning the best global path from the mobile device 100 to the designated location, and the local planner is responsible for the global planner according to the surrounding information of the real environment of the mobile device 100. The global path is provided, the optimal local path is planned and the dynamic obstacle avoidance operation is performed. Finally, the processor 120 controls the moving component 150 to drive the mobile device 100 to start walking according to the planned path to complete the navigation. For example, the Global Planner can generate a trajectory that does not touch obstacles in the map, that is, the best global path to the designated location, based on the destination and the pre-built global map. ). however, If there is only this optimal global path, the mobile device 100 can only navigate in a static environment, because as long as the scene is different from the map, the originally planned best global path may hit the obstacle. Therefore, the regional planner can obtain the surrounding information of the environment according to the sensing result of the sensor 110, and cooperate with the global path provided by the global planner to plan an optimal local path to dynamically avoid the obstacle. That is to say, the navigation module 140 can plan a global path from the current location to the designated location (destination) through the global planner, and dynamically avoid obstacles through the regional planner to generate a local path to avoid the planned global path. The obstacles in the to complete the navigation.

移動構件150可為滾輪、履帶或類似的元件。移動裝置100可藉由移動構件150而可以移動於環境之中,處理器120可透過控制移動構件150來控制移動裝置100的行進路線,根據規劃路徑進行導航,以將移動裝置100導航至目的地。 The moving member 150 can be a roller, a track or the like. The mobile device 100 can be moved into the environment by the moving component 150. The processor 120 can control the traveling route of the mobile device 100 by controlling the moving component 150, and navigate according to the planned path to navigate the mobile device 100 to the destination. .

可理解的是,上述各元件或模組係為一具有對應功能的裝置,可具有適當的硬體電路或元件以執行對應功能,然而,該裝置並不以具有實體為限,其亦得為一虛擬的具有對應功能的程式、軟體,或是具有處理、運行該程式、軟體能力的裝置。而上述各元件運作的方式,可進一步的參閱以下對應之方法之說明。 It can be understood that each of the above components or modules is a device having a corresponding function, and may have appropriate hardware circuits or components to perform corresponding functions. However, the device is not limited to having a physical entity, and A virtual program, software, or device that handles, runs, or software. For the manner in which the above components operate, the following description of the corresponding method can be further referred to.

第3圖顯示依據本發明一實施例之控制方法的流程圖。依據本發明實施例之控制方法可以適用於第1A圖與第1B圖中所示的移動裝置100。舉例來說,方法可由第1A圖與第1B圖中所示的移動裝置100的處理器120來執行。請同時參照第1A圖、第1B圖與第2A圖至第2E圖。在此實施例中,假設移動 裝置100事先定義了充電站200的正前方的一預設距離的位置作為相應充電站200的一初始位置且儲存裝置130中已經事先儲存有包括如第2B圖至第2E圖所示的充電站200的既定特徵點資訊。其中,當移動裝置100位於初始位置O時,可致能自動停靠充電站200的操作且目標區域(例如:第1A圖所示的TA)可根據初始位置的一既定範圍來定義。 Figure 3 is a flow chart showing a control method in accordance with an embodiment of the present invention. The control method according to an embodiment of the present invention can be applied to the mobile device 100 shown in FIGS. 1A and 1B. For example, the method can be performed by the processor 120 of the mobile device 100 shown in FIGS. 1A and 1B. Please refer to FIG. 1A, FIG. 1B and FIGS. 2A to 2E simultaneously. In this embodiment, it is assumed to move The device 100 defines in advance a position of a predetermined distance directly in front of the charging station 200 as an initial position of the corresponding charging station 200 and the charging device including the charging stations as shown in FIGS. 2B to 2E has been stored in the storage device 130 in advance. 200 characteristic feature point information. Wherein, when the mobile device 100 is in the initial position O, the operation of automatically stopping the charging station 200 can be enabled and the target area (for example, the TA shown in FIG. 1A) can be defined according to a predetermined range of the initial position.

首先,當移動裝置100於完成任務或電力不足時需要返回充電站200停泊或進行充電時,如步驟S302,處理器120使移動裝置100先移動至一第一位置並致能感測器110進行充電站200的特徵點偵測,透過感測器110取得充電站200的多個特徵點的辨識資料。在此步驟中,感測器110可在移動至第一位置之後對充電站200的外觀特徵點進行特徵點偵測,透過偵測充電站200的外觀的特徵點,可以取得對應於充電站200與移動裝置100之間的相對距離與方位的特徵點偵測結果,而處理器120根據感測器110的特徵點偵測結果,取得關於充電站200的特徵點資訊的一辨識資料。藉由物體的特徵點資訊,處理器120可對特別的動態或靜態的環境或物體(如充電站、障礙物或人)進行識別,並可據此判斷出充電站200的所在位置。 First, when the mobile device 100 needs to return to the charging station 200 to park or charge when the task is completed or the power is insufficient, the processor 120 moves the mobile device 100 to a first position and enables the sensor 110 to perform the first step. The feature point detection of the charging station 200 is performed by the sensor 110 to obtain identification data of a plurality of feature points of the charging station 200. In this step, the sensor 110 can perform feature point detection on the appearance feature point of the charging station 200 after moving to the first position, and can obtain the corresponding charging station 200 by detecting the feature point of the appearance of the charging station 200. The feature point detection result of the relative distance and the orientation with the mobile device 100, and the processor 120 obtains an identification data about the feature point information of the charging station 200 according to the feature point detection result of the sensor 110. Through the feature point information of the object, the processor 120 can identify a particular dynamic or static environment or object (such as a charging station, an obstacle or a person), and can determine the location of the charging station 200 accordingly.

在一些實施例中,假使環境中除了充電站200之外,尚包括其他物體如桌子等障礙物,則感測器110可能同時取得多個物體的待辨識資料,需要判斷何者為充電站200。因此,處理器120透過感測器110取得充電站200的特徵點的辨識資料的步驟可更包括以下步驟:透過感測器110,取得一物體的一待辨識資料,其中待辨識資料包括關於該物體的複數特徵 點的特徵點資訊;判斷待辨識資料是否具有一既定特徵點排列;若待辨識資料不具有既定特徵點排列,判定物體為一障礙物;以及若待辨識資料具有既定特徵點排列,判定物體為充電站200並以物體的待辨識資料作為辨識資料。舉例來說,在一實施例中,充電站200可有一特定外觀特徵例如在側面外型設計有一特殊形狀或線條(如第2A圖所示),而處理器120判斷待辨識資料是否具有既定特徵點排列係判斷待辨識資料中的特徵點的排列是否符合充電站200的既定特徵點資料中的特定外觀特徵。也就是說,處理器120可以根據辨識資料,判斷物體的待辨識資料中的特徵點的排列是否符合此特殊形狀或線條的特定外觀特徵(如第2B圖所示),當偵測到的特徵點資訊符合/具有特殊形狀或線條時,表示此物體的側面具有指定的特殊形狀或線條,因此便可判定此物體為充電站200。反之,若待辨識資料不具有既定特徵點排列,則判定物體為一障礙物。 In some embodiments, if an obstacle such as a table is included in addition to the charging station 200 in the environment, the sensor 110 may simultaneously acquire the data to be identified of the plurality of objects, and it is necessary to determine which is the charging station 200. Therefore, the step of the processor 120 obtaining the identification data of the feature points of the charging station 200 through the sensor 110 may further include: acquiring, by the sensor 110, a to-be-identified data of an object, wherein the to-be-identified data includes Complex feature of an object Point feature point information; determine whether the data to be identified has a predetermined feature point arrangement; if the data to be identified does not have a predetermined feature point arrangement, determine that the object is an obstacle; and if the data to be identified has a predetermined feature point arrangement, the determination object is The charging station 200 uses the data to be identified of the object as identification data. For example, in one embodiment, the charging station 200 can have a particular appearance feature such as a special shape or line on the side profile (as shown in FIG. 2A), and the processor 120 determines whether the data to be identified has a predetermined feature. The dot arrangement determines whether the arrangement of the feature points in the data to be identified conforms to a specific appearance feature in the predetermined feature point data of the charging station 200. That is, the processor 120 can determine, according to the identification data, whether the arrangement of the feature points in the object to be identified conforms to the specific appearance of the particular shape or line (as shown in FIG. 2B), when the detected feature When the point information conforms/has a special shape or line, it indicates that the side of the object has a specified special shape or line, so that the object can be determined to be the charging station 200. On the other hand, if the data to be identified does not have a predetermined feature point arrangement, the object is determined to be an obstacle.

在取得充電站200的辨識資料之後,如步驟S304,處理器120比對其辨識資料與相應充電站200的複數既定特徵點資訊,產生一比對結果並且如步驟S306,根據比對結果來獲得由移動裝置100所在的第一位置指向初始位置的方向以作為一修正方向。明確來說,每個既定特徵點資訊可以對應於一偏移方向,而處理器120可將辨識資料與相應充電站的各既定特徵點資訊(例如:第2B圖至第2E圖所示的既定特徵點資訊A、A1、A2與A3)進行一一比對並根據比對結果,從待比對資料庫中找出最符合的一第一既定特徵點資訊,再根據第一既定特徵點資訊所對應的第一偏移方向來決定修正方向。修正方向可為 第一偏移方向的相反方向。 After obtaining the identification data of the charging station 200, in step S304, the processor 120 generates a comparison result based on the plurality of predetermined feature point information of the identification data and the corresponding charging station 200, and obtains a comparison result according to the comparison result according to step S306. The direction in which the first position where the mobile device 100 is located points to the initial position as a correction direction. Specifically, each predetermined feature point information may correspond to an offset direction, and the processor 120 may set the identification data and each of the predetermined feature point information of the corresponding charging station (for example, the presets shown in FIG. 2B to FIG. 2E). The feature point information A, A1, A2 and A3) are compared one by one and according to the comparison result, the first predetermined feature point information is found from the to-be-matched database, and then according to the first predetermined feature point information. The corresponding first offset direction determines the correction direction. Correction direction can be The opposite direction of the first offset direction.

換句話說,處理器120可根據感應器110所偵測到的對應於充電站200的辨識資料來判斷移動裝置100是否偏離了指定的初始位置。假使處理器120監測到移動裝置100偏離了初始位置而朝一偏移方向移動時,移動構件150則驅動移動裝置100由偏移方向轉回修正方向並朝向修正方向持續移動。舉例來說,當辨識資料類似於第2D圖的既定特徵點資訊A2時,處理器120可根據比對結果判定移動裝置100可能位在目標區域的左側區域,表示移動裝置100可能向左偏移,此時應該使移動裝置100向右移動才會回到目標區域,因此判定偏移方向為向左偏,修正方向為向右。類似地,當辨識資料類似於第2E圖的既定特徵點資訊A3時,處理器120可根據比對結果判定移動裝置100可能位在目標區域的右側區域,表示移動裝置100可能向右偏移,此時應該使移動裝置100向左移動才會回到目標區域,因此判定偏移方向為向右偏,修正方向為向左。可理解的是,由於既定特徵點資訊係在一預設距離下(例如:預設距離為充電站200正前方的50公分)產生的,假使移動裝置100所在的第一位置並非在預設距離時,則所獲得的既定特徵點資訊不會完全匹配,此時,處理器110可以透過平移或移動特定角度等特徵匹配方式來獲得兩者之間的相對角度。 In other words, the processor 120 can determine whether the mobile device 100 deviates from the specified initial position according to the identification data corresponding to the charging station 200 detected by the sensor 110. In case the processor 120 detects that the mobile device 100 has moved away from the initial position and moves in an offset direction, the moving member 150 drives the mobile device 100 to switch back from the offset direction to the correction direction and continuously to the correction direction. For example, when the identification data is similar to the predetermined feature point information A2 of the 2D map, the processor 120 may determine that the mobile device 100 may be located in the left area of the target area according to the comparison result, indicating that the mobile device 100 may be shifted to the left. At this time, the mobile device 100 should be moved to the right to return to the target area, so that the offset direction is determined to be leftward and the correction direction is to the right. Similarly, when the identification data is similar to the predetermined feature point information A3 of FIG. 2E, the processor 120 may determine that the mobile device 100 may be located in the right area of the target area according to the comparison result, indicating that the mobile device 100 may be shifted to the right. At this time, the mobile device 100 should be moved to the left to return to the target area, so that the offset direction is determined to be rightward and the correction direction is leftward. It can be understood that, since the predetermined feature point information is generated under a preset distance (for example, the preset distance is 50 cm directly in front of the charging station 200), if the first position where the mobile device 100 is located is not at the preset distance. The obtained feature point information is not completely matched. At this time, the processor 110 can obtain the relative angle between the two by performing a feature matching such as shifting or moving a specific angle.

注意的是,在一些實施例中,由於第2C圖的既定特徵資訊A1表示當移動裝置100在目標區域TA內的充電站200對應的特徵點資訊,則當比對結果表示辨識資料所對應的第一既定特徵點資訊即為既定特徵資訊A1時,表示移動裝置100未 偏移,此時可將其偏移方向設為直行。 It is noted that, in some embodiments, since the predetermined feature information A1 of the FIG. 2C indicates the feature point information corresponding to the charging station 200 of the mobile device 100 in the target area TA, when the comparison result indicates the identification data corresponds to When the first predetermined feature point information is the predetermined feature information A1, it indicates that the mobile device 100 is not Offset, you can set its offset direction to straight.

在一些實施例中,處理器120可進一步利用充電站200的特徵點中的一指定的第一特徵點與移動裝置100的目前位置之間的相對座標資訊,計算出初始位置相對於控制裝置100的座標位置。其中,初始位置表示移動裝置100可以回到充電站200的最佳點所在的位置,指定的第一特徵點為可辨識出充電站200的外觀的特徵點。在一實施例中,初始位置設為充電站200的正前方的一定角度範圍內的位置。接著,處理器120利用座標系轉換之原理計算出初始位置的方向與距離,使移動裝置100能有效的移動至初始位置並順利完成自動停靠充電站的動作。 In some embodiments, the processor 120 may further calculate the initial position relative to the control device 100 by using the relative coordinate information between a specified first feature point of the charging station 200 and the current position of the mobile device 100. Coordinate position. The initial position indicates that the mobile device 100 can return to the position where the optimal point of the charging station 200 is located, and the designated first feature point is a feature point that can recognize the appearance of the charging station 200. In an embodiment, the initial position is set to a position within a certain angular range directly in front of the charging station 200. Then, the processor 120 calculates the direction and distance of the initial position by using the principle of coordinate system conversion, so that the mobile device 100 can effectively move to the initial position and smoothly complete the action of automatically stopping the charging station.

第4A圖至第4C圖係顯示依據本發明實施例之坐標系轉換與初始位置計算之示意圖,其中,第4A圖係顯示對應於移動裝置100的第一座標系統與充電站特徵點P1之間的相對座標之示意圖,第4B圖係顯示對應於充電站200的特徵點P1的第二座標系統與初始位置P2的相對座標示意圖,第4C圖係顯示初始位置P2對應於第一座標系統的相對座標示意圖。如第4A圖所示,假設相應於移動裝置100的第一座標系統係以移動裝置100的感測器110目前所在的第一位置O的座標為原點(0,0),移動裝置100與充電站200中指定的第一特徵點(以下稱充電站特徵點)P1的相對距離為d1,d1與通過移動裝置100的感測器110的射線401的第一夾角為θ a 且充電站特徵點P1相對於第一座標系統的第一坐標位置為(X1,Y1)時,則處理器120可經由下列公式(1)求得充電站特徵點P1在第一座標系統中相對於移動裝置100的 第一坐標位置(X1,Y1):X 1=cos(θ a d 1;以及Y 1=sin(θ a d 1................(1)。 4A to 4C are diagrams showing coordinate system conversion and initial position calculation according to an embodiment of the present invention, wherein FIG. 4A shows a relationship between the first coordinate system corresponding to the mobile device 100 and the charging station feature point P1. A schematic diagram of the relative coordinates, FIG. 4B shows a relative coordinate diagram of the second coordinate system corresponding to the feature point P1 of the charging station 200 and the initial position P2, and FIG. 4C shows that the initial position P2 corresponds to the relative coordinate of the first coordinate system. Schematic diagram of the coordinates. As shown in FIG. 4A, it is assumed that the first coordinate system corresponding to the mobile device 100 is based on the coordinates of the first position O where the sensor 110 of the mobile device 100 is currently located as the origin (0, 0), and the mobile device 100 is The relative distance of the first feature point (hereinafter referred to as charging station feature point) P1 specified in the charging station 200 is d 1 , and the first angle between the d 1 and the ray 401 passing through the sensor 110 of the mobile device 100 is θ a and is charged. When the first coordinate position of the station feature point P1 relative to the first coordinate system is (X 1 , Y 1 ), the processor 120 can determine that the charging station feature point P1 is relatively in the first coordinate system via the following formula (1). At a first coordinate position (X 1 , Y 1 ) of the mobile device 100: X 1 =cos( θ a d 1 ; and Y 1 =sin( θ a d 1 ......... .......(1).

接著,如第4B圖所示,在對應於充電站特徵點P1的第二座標系統中,以充電站特徵點P1的座標為原點(0,0)且其角度值0,初始位置P2預設為充電站200正前方的目標區域的中心位置的點,射線402為通過初始位置P2且垂直於充電站200的假想射線,充電站特徵點P1與初始位置P2的相對距離為d2,充電站特徵點P1到射線402的相對距離為y2,則在第二座標系統中,初始位置P2的座標可表示為(-x2,-y2),處理器120可以根據初始位置P2的座標得到以下公式(2):d 2 2=x 2 2+y 2 2;以及 其中θ b 為射線402與通過充電站特徵點P1與初始位置P2的假想射線403之間的第二夾角,用以表示充電站特徵點P1與初始位置P2的相對方位。 Next, as shown in FIG. 4B, in the second coordinate system corresponding to the charging station feature point P1, the coordinate of the charging station feature point P1 is taken as the origin (0, 0) and its angle value is 0, and the initial position P2 is pre- A point at which the center position of the target area directly in front of the charging station 200 is set, the ray 402 is a virtual ray passing through the initial position P2 and perpendicular to the charging station 200, and the relative distance between the charging station characteristic point P1 and the initial position P2 is d 2 , charging The relative distance of the station feature point P1 to the ray 402 is y 2 , then in the second coordinate system, the coordinates of the initial position P2 can be expressed as (-x 2 , -y 2 ), and the processor 120 can be based on the coordinates of the initial position P2. The following formula (2) is obtained: d 2 2 = x 2 2 + y 2 2 ; Where θ b is the second angle between the ray 402 and the imaginary ray 403 passing through the charging station feature point P1 and the initial position P2 to indicate the relative orientation of the charging station feature point P1 and the initial position P2.

接著,處理器120可以利用座標轉換,將初始位置P2以第一座標系統為基準,經由下列公式(3)計算出初始位置P2相對於第一座標系統的第三座標位置(X2,Y2):X 2=X 1-cos(θ b +θ c );以及Y 2=Y 1-sin(θ b +θ c )................(3),其中θ c 為充電站特徵點P1的對應角度,用以表示第一座標系統與第二座標系統的相對方位,如第4C圖所示。藉此,處理器120 便可根據上述座標轉換,獲得由移動裝置100所在的第一位置O指向初始位置P2的方向與距離以作為修正方向與距離,使移動裝置100能夠正確移動至初始位置P2。 Next, the processor 120 may calculate the initial position P2 relative to the third coordinate position of the first coordinate system (X 2 , Y 2 ) by using the coordinate conversion to calculate the initial position P2 based on the first coordinate system and the following formula (3). ): X 2 = X 1 -cos( θ b + θ c ); and Y 2 = Y 1 -sin( θ b + θ c )................(3 Where θ c is the corresponding angle of the charging station feature point P1 to indicate the relative orientation of the first coordinate system and the second coordinate system, as shown in FIG. 4C. Thereby, the processor 120 can obtain the direction and distance from the first position O where the mobile device 100 is located to the initial position P2 as the correction direction and distance according to the coordinate conversion, so that the mobile device 100 can correctly move to the initial position P2. .

請再參閱第3圖,得到修正方向之後,如步驟S308,處理器120控制移動構件150,使移動裝置100由目前所在的第一位置朝修正方向移動,以使移動裝置100移動至初始位置並且致能自動停靠充電站的操作。明確來說,處理器120可根據初始位置以及算出的修正方向進行一路徑規劃,並透過控制移動構件150來控制控制裝置的行進路線,根據規劃路徑或指示的修正方向進行導航,使移動裝置100朝向初始位置前進,以將移動裝置100導航至充電站200的目標區域之內。舉例而言,處理器120控制移動構件150的滾輪轉速及轉向,用以控制移動裝置100的運行,如直行、迴轉或避障等,以使移動裝置100朝向初始位置前進。在本發明實施例中,由於初始位置是設定為一定可以致能移動裝置100的自動停靠充電站的操作的位置,因此當移動裝置100移動至初始位置之後,移動裝置100便可成功地返回充電站200停靠或充電。 Referring to FIG. 3 again, after obtaining the correction direction, in step S308, the processor 120 controls the moving member 150 to move the mobile device 100 from the currently located first position toward the correction direction to move the mobile device 100 to the initial position and Enable automatic docking of the charging station. Specifically, the processor 120 may perform a path planning according to the initial position and the calculated correction direction, and control the traveling path of the control device by controlling the moving member 150, and navigate according to the planned path or the corrected direction of the indication, so that the mobile device 100 Advancing toward the initial position to navigate the mobile device 100 into the target area of the charging station 200. For example, the processor 120 controls the wheel speed and steering of the moving member 150 to control the operation of the mobile device 100, such as straight, swivel or obstacle avoidance, to advance the mobile device 100 toward the initial position. In the embodiment of the present invention, since the initial position is a position that can be set to enable the operation of the automatic stop charging station of the mobile device 100, the mobile device 100 can successfully return to the charging after the mobile device 100 moves to the initial position. Station 200 is docked or charged.

因此,處理器120可於移動裝置100完成任務或電力不足需要返回充電站200停泊或進行充電時,自動執行本案之控制方法,以使移動裝置100即使在定義好的目標區域外時都有機會回到目標區域內的一指定位置,以順利致能自動停靠充電站的操作,使移動裝置100能夠成功返回充電站200。 Therefore, the processor 120 can automatically execute the control method of the present case when the mobile device 100 completes the task or the power shortage needs to return to the charging station 200 to park or charge, so that the mobile device 100 has an opportunity even when the target area is outside the defined target area. Returning to a designated location within the target area to successfully enable automatic docking of the charging station, enabling the mobile device 100 to successfully return to the charging station 200.

在一些實施例中,充電站200可具有可致能自動停靠充電站程序的一目標區域,而移動裝置100在充電站200的目 標區域內可自動致能上述自動停靠充電站程序。因此,移動裝置100可在透過感測器110取得包含充電站200的辨識資料之前,先判斷移動裝置100所在的第一位置是否在目標區域內。當判定第一位置係在目標區域內時,表示無須感測器110掃描,移動裝置100致能自動停靠充電站的操作,使控制裝置110停靠至充電站200。當判定第一位置位於目標區域外時,表示需要感測器110掃描,此時移動裝置100再透過感測器110偵測充電站200的外觀,根據偵測結果取得充電站200的特徵點資訊,並根據特徵點資訊判斷充電站200與移動裝置100之間的相對距離與方位,藉此計算出充電站200的目標區域之內的一目標位置(即:上述初始位置),並驅動移動裝置100移動至目標位置,使移動裝置100移動至目標區域之內,從而啟動/致能自動停靠充電站程序。 In some embodiments, charging station 200 can have a target area that can enable automatic docking of the charging station program, while mobile device 100 is at the destination of charging station 200. The above automatic stop charging station program can be automatically enabled in the marked area. Therefore, before the mobile device 100 obtains the identification data of the charging station 200, the mobile device 100 determines whether the first location where the mobile device 100 is located is within the target area. When it is determined that the first position is within the target area, indicating that the sensor 110 is not scanned, the mobile device 100 enables automatic operation of the charging station to cause the control device 110 to dock to the charging station 200. When it is determined that the first location is outside the target area, it indicates that the sensor 110 is required to scan. At this time, the mobile device 100 detects the appearance of the charging station 200 through the sensor 110, and obtains the feature point information of the charging station 200 according to the detection result. And determining the relative distance and orientation between the charging station 200 and the mobile device 100 according to the feature point information, thereby calculating a target position (ie, the initial position) within the target area of the charging station 200, and driving the mobile device 100 moves to the target location to move the mobile device 100 into the target area, thereby enabling/enabling the automatic docking of the charging station program.

第5圖顯示依據本發明另一實施例之控制方法的流程圖。依據本發明實施例之控制方法可以適用於第1A圖與第1B圖中所示的移動裝置100。舉例來說,方法可由第1A圖與第1B圖中所示的移動裝置100的處理器120來執行。請同時參照第1A圖、第1B圖與第2A圖至第2E圖。在此實施例中,假設移動裝置100事先定義了充電站200的正前方的一預設距離的位置作為相應充電站200的一初始位置且儲存裝置130中已經事先儲存有包括如第2B圖至第2E圖所示的充電站200的既定特徵點資訊。其中,當移動裝置100位於初始位置時,可致能自動停靠充電站200的操作且目標區域(例如:第1A圖所示的TA)可根據指定位置的一既定範圍來定義。在本實施例中,感測器110 可包括用以接收充電站200的一發射訊號的一接收裝置。舉例來說,充電站200可具有一紅外線發射器,用以發射一紅外線訊號,感測器110則包括一紅外線感測器/接收器,用以接收充電站200所發射的紅外線訊號。 Figure 5 is a flow chart showing a control method in accordance with another embodiment of the present invention. The control method according to an embodiment of the present invention can be applied to the mobile device 100 shown in FIGS. 1A and 1B. For example, the method can be performed by the processor 120 of the mobile device 100 shown in FIGS. 1A and 1B. Please refer to FIG. 1A, FIG. 1B and FIGS. 2A to 2E simultaneously. In this embodiment, it is assumed that the mobile device 100 defines a position of a preset distance directly in front of the charging station 200 as an initial position of the corresponding charging station 200 and the storage device 130 has been stored in advance including the image as shown in FIG. 2B. The predetermined feature point information of the charging station 200 shown in Fig. 2E. Wherein, when the mobile device 100 is in the initial position, the operation of the charging station 200 can be automatically stopped and the target area (for example, the TA shown in FIG. 1A) can be defined according to a predetermined range of the specified position. In this embodiment, the sensor 110 A receiving device for receiving a transmit signal from the charging station 200 can be included. For example, the charging station 200 can have an infrared emitter for transmitting an infrared signal, and the sensor 110 includes an infrared sensor/receiver for receiving the infrared signal emitted by the charging station 200.

首先,如步驟S502,處理器120判斷目前位置是否落在充電站200的目標區域之內。在一些實施例中,充電站200可發射一紅外線訊號,而處理器120判斷目前位置是否位在充電站200的目標區域之內係根據是否接收到充電站200所發出的紅外線訊號來決定。當處理器120有收到充電站200所發出的紅外線訊號時,表示移動裝置100的目前位置位在充電站200的目標區域之內。當處理器120收不到充電站200所發出的紅外線訊號時,表示移動裝置100的目前位置位在充電站200的目標區域之外。 First, in step S502, the processor 120 determines whether the current location falls within the target area of the charging station 200. In some embodiments, the charging station 200 can transmit an infrared signal, and the processor 120 determines whether the current location is within the target area of the charging station 200, depending on whether an infrared signal emitted by the charging station 200 is received. When the processor 120 receives the infrared signal from the charging station 200, it indicates that the current location of the mobile device 100 is within the target area of the charging station 200. When the processor 120 does not receive the infrared signal from the charging station 200, it indicates that the current location of the mobile device 100 is outside the target area of the charging station 200.

當處理器120判定移動裝置100的目前位置位在充電站的目標區域之內時(步驟S502的是),則處理器120自動觸發並執行自動停靠充電站程序(步驟S512)。自動停靠充電站程序將引導移動裝置100回到充電站200。 When the processor 120 determines that the current location of the mobile device 100 is within the target area of the charging station (YES in step S502), the processor 120 automatically triggers and executes the automatic docking charging station program (step S512). The automatic docking charging station program will direct the mobile device 100 back to the charging station 200.

相反地,當處理器120判定目前位置位在充電站200的目標區域之外時(步驟S502的否),如步驟S504,此時移動裝置100無法觸發自動停靠充電站程序,則處理器120致能感測器110進行充電站200的特徵點偵測,透過感測器110取得充電站200的多個特徵點的辨識資料。在此步驟中,感測器110可對充電站200的外觀特徵點進行特徵點偵測,而處理器120根據感測器110的特徵點偵測結果,取得關於充電站200的特徵點資 訊,並據此判斷出充電站200的所在位置。舉例而言,充電站200可在一側面外型設計有一特殊形狀或線條(如第2A圖所示的兩個直角),而處理器120可以根據偵測結果,判斷偵測到的特徵點資訊是否符合特殊形狀或線條的特徵點資訊(如第2A圖所示特徵點所連成之兩個直角,其間距與兩個直角延伸出的線條互相平行等...),當偵測到的特徵點資訊符合特殊形狀或線條的特徵點資訊時,表示此物體的側面具有指定的特殊形狀或線條,因此便可判定此物體為充電站200。 Conversely, when the processor 120 determines that the current location is outside the target area of the charging station 200 (NO in step S502), in step S504, when the mobile device 100 cannot trigger the automatic docking charging station procedure, the processor 120 causes The sensor 110 performs feature point detection of the charging station 200, and acquires identification data of a plurality of feature points of the charging station 200 through the sensor 110. In this step, the sensor 110 can perform feature point detection on the appearance feature points of the charging station 200, and the processor 120 obtains the feature points about the charging station 200 according to the feature point detection result of the sensor 110. And, according to this, the location of the charging station 200 is judged. For example, the charging station 200 can be designed with a special shape or line on one side (such as two right angles shown in FIG. 2A), and the processor 120 can determine the detected feature point information according to the detection result. Whether it meets the characteristic point information of a special shape or line (such as the two right angles of the feature points shown in Figure 2A, the spacing is parallel to the lines extending at two right angles, etc.), when detected When the feature point information conforms to the feature point information of a special shape or line, it indicates that the side of the object has a specified special shape or line, so that the object can be determined to be the charging station 200.

在取得充電站200的辨識資料之後,如步驟S506,處理器120比對其辨識資料與相應充電站200的既定特徵點資訊,產生一比對結果並且如步驟S508,根據比對結果來獲得由移動裝置100所在的第一位置指向初始位置的方向以作為一修正方向。在步驟S508中,處理器120也可進一步根據充電站200的指定特徵點與移動裝置100的目前位置之間的相對座標資訊,經由上述公式(1)至公式(3)的座標系轉換,計算出初始位置的相對距離與方位,據此獲得修正方向與修正角度。初始位置表示移動裝置100可以回到充電站200的目標區域內的最佳點所在的位置。在一實施例中,初始位置係設為充電站200的正前方的一定角度範圍(例如:充電站200的正前方50公分正負30度的扇形範圍)內的位置。 After obtaining the identification data of the charging station 200, in step S506, the processor 120 generates a comparison result based on the identification data of the identification data and the corresponding feature point information of the corresponding charging station 200, and obtains a comparison result according to the comparison result according to step S508. The first position where the mobile device 100 is located points in the direction of the initial position as a correction direction. In step S508, the processor 120 may further calculate the coordinate information between the specified feature points of the charging station 200 and the current position of the mobile device 100 via the coordinate system conversion of the above formulas (1) to (3). The relative distance and orientation of the initial position are obtained, and the correction direction and the correction angle are obtained accordingly. The initial position indicates that the mobile device 100 can return to the location of the best point within the target area of the charging station 200. In one embodiment, the initial position is set to a position within a range of angles directly in front of the charging station 200 (eg, a sector range of plus or minus 50 degrees directly 50 degrees from the front of the charging station 200).

處理器120計算出初始位置的相對座標或得到修正方向之後,如步驟S510,處理器120使移動裝置100由目前所在的第一位置朝修正方向移動,以使移動裝置100移動至初始位置並且如步驟S512,於移動到初始位置後自動觸發並執行自 動停靠充電站程序。如前述,處理器120可根據感應器110所偵測到的對應於充電站200的辨識資料來判斷移動裝置100是否偏離了指定的初始位置。假使處理器120監測到移動裝置100偏離了初始位置而朝一偏移方向移動時,移動構件150則驅動移動裝置100由偏移方向轉回修正方向並朝向修正方向持續移動。其中,步驟S504、S506、S508及S510係類似於步驟S302、S304、S306及S308,相關實施細節可參考上述對應段落內容,故其細節不在此贅述。 After the processor 120 calculates the relative coordinates of the initial position or obtains the corrected direction, in step S510, the processor 120 moves the mobile device 100 from the currently located first position toward the correcting direction to move the mobile device 100 to the initial position and Step S512, automatically triggering and executing self after moving to the initial position Stop the charging station program. As described above, the processor 120 can determine whether the mobile device 100 deviates from the specified initial position according to the identification data corresponding to the charging station 200 detected by the sensor 110. In case the processor 120 detects that the mobile device 100 has moved away from the initial position and moves in an offset direction, the moving member 150 drives the mobile device 100 to switch back from the offset direction to the correction direction and continuously to the correction direction. The steps S504, S506, S508, and S510 are similar to the steps S302, S304, S306, and S308. For related implementation details, reference may be made to the corresponding paragraphs, and details are not described herein.

因此,依據本發明之移動裝置及其控制方法,可於移動裝置需要返回充電站且位在充電站的有效區之外時,利用感測器測得充電站與移動裝置之間的相對距離與方位,訂出一個可以致能自動停靠充電站程序的最佳返回位置,並使移動裝置往最佳返回位置移動,可防止移動裝置一直在充電站的有效區之外移動而造成尚未回到有效區即耗光電力或需要花費很長時間才能回到充電站的情形發生,有效提升移動裝置在充電站的有效區外自動停靠充電站的成功率,同時縮短移動裝置於有效區外尋找充電站有效區所需的時間。 Therefore, the mobile device and the control method thereof according to the present invention can measure the relative distance between the charging station and the mobile device by using the sensor when the mobile device needs to return to the charging station and is located outside the effective area of the charging station. Orientation, setting an optimal return position that enables the automatic docking of the charging station program, and moving the mobile device to the optimal return position, preventing the mobile device from moving outside the active area of the charging station, resulting in not yet returning to the effective position The area is the power consumption or takes a long time to return to the charging station, effectively improving the success rate of the mobile device automatically stopping the charging station outside the effective area of the charging station, and shortening the mobile device to find the charging station outside the effective area. The time required for the active area.

本發明之方法,或特定型態或其部份,可以以程式碼的型態存在。程式碼可以包含於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,亦或不限於外在形式之電腦程式產品,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之裝置。程式碼也可透過一些傳送媒體,如電線或電纜線、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦 接收、載入且執行時,此機器變成用以參與本發明之裝置。當在一般用途處理單元實作時,程式碼結合處理單元提供一操作類似於應用特定邏輯電路之獨特裝置。 The method of the invention, or a particular type or portion thereof, may exist in the form of a code. The code may be included in a physical medium such as a floppy disk, a CD, a hard disk, or any other machine readable (such as computer readable) storage medium, or is not limited to an external computer program product, wherein When the code is loaded and executed by a machine, such as a computer, the machine becomes a device for participating in the present invention. The code can also be transmitted via some transmission medium, such as a wire or cable, fiber optics, or any transmission type, where the code is used by a machine, such as a computer. Upon receipt, loading, and execution, the machine becomes a device for participating in the present invention. When implemented in a general purpose processing unit, the code combination processing unit provides a unique means of operation similar to application specific logic.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中包括通常知識者,在不脫離本發明之精神與範圍內,當可作些許之更動與潤飾。舉例來說,本發明實施例所述之系統以及方法可以硬體、軟體或硬體以及軟體的組合的實體實施例加以實現。因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can be modified and modified without departing from the spirit and scope of the invention. . For example, the systems and methods described in the embodiments of the present invention can be implemented in physical embodiments of hardware, software, or a combination of hardware and software. Therefore, the scope of the invention is defined by the scope of the appended claims.

Claims (16)

一種控制方法,適用於一移動裝置,該移動裝置具有一用以偵測與一充電站之間的相對距離與方位之感測器,該方法包括下列步驟:定義相應一充電站之一初始位置,其中,當該移動裝置位於該初始位置時,可致能自動停靠該充電站的操作;使該移動裝置移動至一第一位置並透過該感測器取得包含該充電站之複數特徵點之一辨識資料;比對該辨識資料與對應於該充電站之複數既定特徵點資訊,產生一比對結果;根據該比對結果來獲得由該移動裝置所在之該第一位置指向該初始位置的方向以作為一修正方向;以及使該移動裝置由該第一位置朝該修正方向移動,以使該移動裝置移動至該初始位置並致能該自動停靠該充電站的操作。 A control method for a mobile device having a sensor for detecting a relative distance and orientation with a charging station, the method comprising the steps of: defining an initial position of a corresponding one of the charging stations When the mobile device is in the initial position, the operation of the charging station can be automatically stopped; the mobile device is moved to a first position and the plurality of feature points including the charging station are obtained through the sensor. An identification data; generating a comparison result according to the identification data and a plurality of predetermined feature point information corresponding to the charging station; and obtaining, by the comparison result, the first position where the mobile device is located to point to the initial position The direction acts as a correcting direction; and moving the mobile device from the first position toward the correcting direction to move the mobile device to the initial position and enable the automatic docking operation of the charging station. 如申請專利範圍第1項所述之控制方法,其中該透過該感測器取得該充電站之複數特徵點之該辨識資料之步驟更包括:透過該感測器,取得一物體之一待辨識資料,其中該待辨識資料包括關於該物體之複數特徵點之資料;判斷該待辨識資料是否具有一既定特徵點排列;若該待辨識資料不具有該既定特徵點排列,判定該物體為一障礙物;以及若該待辨識資料具有該既定特徵點排列,判定該物體為該充電站並以該物體之該待辨識資料作為該辨識資料。 The control method of claim 1, wherein the step of obtaining the identification data of the plurality of feature points of the charging station through the sensor further comprises: obtaining, by the sensor, one of the objects to be identified Data, wherein the to-be-identified data includes data about a plurality of feature points of the object; determining whether the to-be-identified data has a predetermined feature point arrangement; and if the to-be-identified data does not have the predetermined feature point arrangement, determining the object as an obstacle And if the to-be-identified data has the predetermined feature point arrangement, determining that the object is the charging station and using the to-be-identified data of the object as the identification data. 如申請專利範圍第2項所述之控制方法,其中該充電站具有一特定外觀特徵且該判斷該待辨識資料是否具有該既定特徵點排列係判斷該待辨識資料中之該等特徵點的排列是否符合該特定外觀特徵。 The control method of claim 2, wherein the charging station has a specific appearance feature and the determining whether the to-be-identified data has the predetermined feature point arrangement determines an arrangement of the feature points in the to-be-identified data. Whether this particular appearance feature is met. 如申請專利範圍第1項所述之控制方法,更包括:定義對應於該初始位置之一目標區域;以及在透過該感測器取得包含該充電站之該等特徵點之該辨識資料之前,判斷該移動裝置所在之該第一位置是否在該目標區域內;當判定該第一位置係在該目標區域內時,致能該自動停靠該充電站的操作,使該控制裝置停靠至該充電站;以及當判定該第一位置位於該目標區域外時,透過該感測器取得該充電站之該等特徵點之該辨識資料。 The control method of claim 1, further comprising: defining a target area corresponding to the initial position; and before obtaining the identification data including the feature points of the charging station through the sensor, Determining whether the first location where the mobile device is located is within the target area; and when determining that the first location is within the target area, enabling the operation of automatically stopping the charging station, causing the control device to stop to the charging And determining, when the first location is outside the target area, obtaining the identification data of the feature points of the charging station through the sensor. 如申請專利範圍第4項所述之控制方法,其中該移動裝置更包括用以接收該充電站之一發射訊號之一接收裝置並且該判斷該移動裝置所在之該第一位置是否在該目標區域內係根據該接收裝置在第一位置是否收到該充電站之該發射訊號來決定,其中當該接收裝置在第一位置收到該充電站之該發射訊號時,判定該第一位置位在該目標區域內。 The control method of claim 4, wherein the mobile device further comprises receiving means for receiving one of the charging signals of the charging station and determining whether the first location of the mobile device is in the target area Determining, according to whether the receiving device receives the transmitting signal of the charging station in the first location, wherein when the receiving device receives the transmitting signal of the charging station in the first location, determining that the first location is Within the target area. 如申請專利範圍第1項所述之控制方法,其中該等既定特徵點資料係表示該控制裝置由該初始位置出發以不同角度掃描該充電站所獲得的特徵點資訊。 The control method of claim 1, wherein the predetermined feature point data indicates that the control device scans the feature point information obtained by the charging station at different angles from the initial position. 如申請專利範圍第1項所述之控制方法,其中每一該等既定特徵點資訊對應一偏移方向,並且該根據該比對結果來獲 得由該移動裝置所在之該第一位置指向該初始位置的方向以作為該修正方向之步驟更包括:根據該比對結果,自該等既定特徵點資訊中選擇一第一既定特徵點資訊;根據該第一既定特徵點資訊,得到一第一偏移方向;以及根據該第一偏移方向,獲得該修正方向。 The control method of claim 1, wherein each of the predetermined feature point information corresponds to an offset direction, and the obtained result is obtained according to the comparison result The step of pointing the first position of the mobile device to the initial position as the correction direction further comprises: selecting a first predetermined feature point information from the predetermined feature point information according to the comparison result; Obtaining a first offset direction according to the first predetermined feature point information; and obtaining the correction direction according to the first offset direction. 如申請專利範圍第1項所述之控制方法,其中,該初始位置係位於該充電站的正前方的一預設距離的位置,且該目標區域係根據該指定位置的一既定範圍來定義。 The control method of claim 1, wherein the initial position is a position of a predetermined distance directly in front of the charging station, and the target area is defined according to a predetermined range of the specified position. 如申請專利範圍第1項所述之控制方法,其中,該感測器係根據當該移動裝置感測到該充電站時該感測器與該充電站的該等特徵點之間的相對距離與方位角度來獲得該辨識資料。 The control method of claim 1, wherein the sensor is based on a relative distance between the sensor and the feature points of the charging station when the mobile device senses the charging station. Obtain the identification data with the azimuth angle. 一種移動裝置,包括:一感測器,用以偵測與一充電站之間的相對距離與方位;一移動構件,包括複數滾輪;一儲存裝置,儲存對應於該充電站之複數既定特徵點資訊;以及一處理器,耦接該感測器以及該儲存裝置,定義相應該充電站之一初始位置,控制該移動構件使該移動裝置移動至一第一位置並透過該感測器取得包含該充電站之複數特徵點之一辨識資料,比對該辨識資料與該等既定特徵點資訊,產生一比對結果,根據該比對結果來獲得由該第一位置指向該初始位置的方向以作為一修正方向,並控制該移動構件使該移動裝置由 該第一位置朝該修正方向移動,以使該移動裝置移動至該初始位置並致能一自動停靠該充電站的操作。 A mobile device includes: a sensor for detecting a relative distance and an orientation with a charging station; a moving member including a plurality of rollers; and a storage device for storing a plurality of predetermined feature points corresponding to the charging station And a processor coupled to the sensor and the storage device, defining an initial position of the charging station, controlling the moving component to move the mobile device to a first position and obtaining the inclusion through the sensor One of the plurality of characteristic points of the charging station identifies the data, and the comparison data is compared with the predetermined feature point information to generate a comparison result, and the direction from the first position to the initial position is obtained according to the comparison result. As a correcting direction, and controlling the moving member to make the mobile device The first position is moved in the correcting direction to move the mobile device to the initial position and to enable an automatic docking operation of the charging station. 如申請專利範圍第10項所述之移動裝置,其中該處理器更透過該感測器,取得一物體之一待辨識資料,其中該待辨識資料包括關於該物體之複數特徵點之資料,並判斷該待辨識資料是否具有一既定特徵點排列,其中若該待辨識資料不具有該既定特徵點排列,該處理器判定該物體為一障礙物以及若該待辨識資料具有該既定特徵點排列,該處理器判定該物體為該充電站並以該物體之該待辨識資料作為該辨識資料。 The mobile device of claim 10, wherein the processor further obtains, by the sensor, an object to be identified, wherein the data to be identified includes information about a plurality of feature points of the object, and Determining whether the to-be-identified data has a predetermined feature point arrangement, wherein if the to-be-identified data does not have the predetermined feature point arrangement, the processor determines that the object is an obstacle and if the to-be-identified data has the predetermined feature point arrangement, The processor determines that the object is the charging station and uses the to-be-identified data of the object as the identification data. 如申請專利範圍第11項所述之移動裝置,其中該充電站具有一特定外觀特徵且該處理器判斷該待辨識資料是否具有該既定特徵點排列係判斷該待辨識資料中之該等特徵點的排列是否符合該特定外觀特徵。 The mobile device of claim 11, wherein the charging station has a specific appearance feature and the processor determines whether the to-be-identified data has the predetermined feature point arrangement and determines the feature points in the to-be-identified data. Whether the arrangement matches the particular appearance feature. 如申請專利範圍第10項所述之移動裝置,其中該處理器更定義對應於該初始位置之一目標區域,並且在透過該感測器取得包含該充電站之該等特徵點之該辨識資料之前,判斷該移動裝置所在之該第一位置是否在該目標區域內,其中當判定該第一位置係在該目標區域內時,該處理器致能該自動停靠該充電站的操作,使該控制裝置停靠至該充電站,而當判定該第一位置位於該目標區域外時,該處理器透過該感測器取得該充電站之該等特徵點之該辨識資料。 The mobile device of claim 10, wherein the processor further defines a target area corresponding to the initial position, and obtains the identification data including the feature points of the charging station through the sensor. Before determining whether the first location of the mobile device is in the target area, when determining that the first location is within the target area, the processor enables the operation of automatically stopping the charging station, so that the The control device is docked to the charging station, and when it is determined that the first location is outside the target area, the processor obtains the identification data of the feature points of the charging station through the sensor. 如申請專利範圍第13項所述之移動裝置,更包括用以接收該充電站之一發射訊號之一接收裝置並且該處理器判斷該移動裝置所在之該第一位置是否在該目標區域內係根據該 接收裝置在第一位置是否收到該充電站之該發射訊號來決定,其中當該接收裝置在第一位置收到該充電站之該發射訊號時,該處理器判定該第一位置位在該目標區域內。 The mobile device of claim 13, further comprising receiving means for receiving one of the charging signals of the charging station, and the processor determining whether the first location of the mobile device is within the target area According to the Determining whether the receiving device receives the transmitting signal of the charging station in the first location, wherein when the receiving device receives the transmitting signal of the charging station in the first location, the processor determines that the first location is in the Within the target area. 如申請專利範圍第10項所述之移動裝置,其中每一該等既定特徵點資訊對應一偏移方向,並且該處理器更根據該比對結果,自該等既定特徵點資訊中選擇一第一既定特徵點資訊,根據該第一既定特徵點資訊,得到一第一偏移方向,並且根據該第一偏移方向,獲得該修正方向。 The mobile device of claim 10, wherein each of the predetermined feature point information corresponds to an offset direction, and the processor further selects one of the predetermined feature point information according to the comparison result. A predetermined feature point information is obtained according to the first predetermined feature point information, and a first offset direction is obtained, and the correction direction is obtained according to the first offset direction. 如申請專利範圍第10項所述之移動裝置,其中,該感測器係為一光達。 The mobile device of claim 10, wherein the sensor is a light.
TW106143139A 2017-12-08 2017-12-08 Moving devices and controlling methods thereof TW201924594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106143139A TW201924594A (en) 2017-12-08 2017-12-08 Moving devices and controlling methods thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106143139A TW201924594A (en) 2017-12-08 2017-12-08 Moving devices and controlling methods thereof

Publications (1)

Publication Number Publication Date
TW201924594A true TW201924594A (en) 2019-07-01

Family

ID=68048726

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106143139A TW201924594A (en) 2017-12-08 2017-12-08 Moving devices and controlling methods thereof

Country Status (1)

Country Link
TW (1) TW201924594A (en)

Similar Documents

Publication Publication Date Title
US20240118700A1 (en) Mobile robot and control method of mobile robot
JP2501010B2 (en) Mobile robot guidance device
US11320536B2 (en) Imaging device and monitoring device
US20190202067A1 (en) Method and device for localizing robot and robot
US20140012434A1 (en) Sensor location method and system
US8676429B2 (en) Autonomous mobile device
JP6724439B2 (en) Autonomous mobile device, autonomous mobile system, autonomous mobile method and program
JP5276931B2 (en) Method for recovering from moving object and position estimation error state of moving object
JP4822926B2 (en) Method, program and system for estimating three-dimensional position of radio transmitter
US10860033B2 (en) Movable object and method for controlling the same
CN109917788B (en) Control method and device for robot to walk along wall
JP2007310866A (en) Robot using absolute azimuth and map creation method using it
US11428801B2 (en) Moving device and object detection method thereof
JP2007078476A (en) Object location detection device, method, and program, mapping system, and autonomous transfer equipment
CN106537185B (en) Device for detecting obstacles by means of intersecting planes and detection method using said device
CN112346453A (en) Automatic robot recharging method and device, robot and storage medium
CN111694358B (en) Method and device for controlling transfer robot, and storage medium
CN108544494B (en) Positioning device, method and robot based on inertia and visual characteristics
US20160231744A1 (en) Mobile body
US10794999B2 (en) Method for detecting edge of object by laser ranging device
KR100544445B1 (en) A Method of Static and Moving Obstacles Detection and Avoidance using Optical Flow for Moving Mobile Robots
TW201924594A (en) Moving devices and controlling methods thereof
US20220100201A1 (en) Information processing device and mobile robot
TWI687706B (en) Positioning system of mobile device
JP6863049B2 (en) Autonomous mobile robot