TW202300082A - Method, mobile device and cleaning robot for specifying cleaning areas - Google Patents
Method, mobile device and cleaning robot for specifying cleaning areas Download PDFInfo
- Publication number
- TW202300082A TW202300082A TW110123721A TW110123721A TW202300082A TW 202300082 A TW202300082 A TW 202300082A TW 110123721 A TW110123721 A TW 110123721A TW 110123721 A TW110123721 A TW 110123721A TW 202300082 A TW202300082 A TW 202300082A
- Authority
- TW
- Taiwan
- Prior art keywords
- mobile terminal
- sweeping robot
- cleaning
- indoor
- cleaning area
- Prior art date
Links
- 238000004140 cleaning Methods 0.000 title claims abstract description 126
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000010408 sweeping Methods 0.000 claims description 107
- 238000004891 communication Methods 0.000 claims description 35
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000003032 molecular docking Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)
Abstract
Description
本發明是有關於機器人技術領域,尤其涉及一種清掃區域指定方法、移動終端及掃地機器人。The invention relates to the technical field of robots, in particular to a method for specifying a cleaning area, a mobile terminal and a sweeping robot.
現有掃地機器人的控制方法中,可以在移動終端安裝應用程式,經由應用程式在掃地機器人預先構建的室內地圖上指定某一區域,控制掃地機器人僅對該區域進行清掃工作。然而,此種控制方式只適用在安裝有應用程式的移動終端,且僅能在室內地圖上劃分指定區域,並不便於家中所有成員使用。In the existing control method of the sweeping robot, an application program can be installed on the mobile terminal, and a certain area can be designated on the indoor map pre-built by the sweeping robot through the application program, and the sweeping robot can be controlled to only clean the area. However, this control method is only applicable to mobile terminals installed with applications, and can only divide designated areas on the indoor map, which is not convenient for all members of the family to use.
因此,如何讓沒有安裝應用程式的移動終端也可以控制掃地機器人於指定區域進行清掃工作成為一個問題。Therefore, how to make the mobile terminal without installing the application program can also control the sweeping robot to perform cleaning work in the designated area has become a problem.
有鑑於此,本發明的目的在於提供一種清掃區域指定方法、移動終端及掃地機器人,可以方便使用者設置指定區域控制掃地機器人進行清掃工作。In view of this, the purpose of the present invention is to provide a cleaning area designation method, mobile terminal and sweeping robot, which can facilitate the user to set a designated area to control the sweeping robot to perform cleaning work.
本發明一實施例提供一種清掃區域指定方法,其中在於,所述方法包括:移動終端的攝像頭擷取停駐於充電座的掃地機器人頂部的二維碼標籤的圖像;所述移動終端根據所述圖像,獲得所述移動終端與所述掃地機器人之間的相對位置關係,其中,所述相對位置關係包括水平距離及角度;所述移動終端根據所述相對位置關係判斷所述移動終端於所述掃地機器人的室內二維地圖上初始位置的位置資訊;所述移動終端傳送所述初始位置的位置資訊給所述掃地機器人,並啟動所述掃地機器人的跟隨模式;所述移動終端的攝像頭拍攝清掃區域,並經由所述移動終端的觸控顯示屏幕接收使用者於所述清掃區域的清掃範圍的圈選輸入;所述移動終端獲取所述清掃範圍於所述室內二維地圖的多個座標資料;以及所述移動終端傳送所述多個座標資料給所述掃地機器人,並啟動所述掃地機器人的清掃模式。An embodiment of the present invention provides a cleaning area designation method, wherein the method includes: the camera of the mobile terminal captures the image of the two-dimensional code label on the top of the sweeping robot parked on the charging stand; the mobile terminal according to the The image is used to obtain the relative positional relationship between the mobile terminal and the sweeping robot, wherein the relative positional relationship includes a horizontal distance and an angle; the mobile terminal judges that the mobile terminal is at The position information of the initial position on the indoor two-dimensional map of the sweeping robot; the mobile terminal transmits the position information of the initial position to the sweeping robot, and starts the following mode of the sweeping robot; the camera of the mobile terminal Taking pictures of the cleaning area, and receiving the user's circle selection input in the cleaning area of the cleaning area through the touch display screen of the mobile terminal; coordinate data; and the mobile terminal transmits the plurality of coordinate data to the sweeping robot, and activates a cleaning mode of the sweeping robot.
本發明一實施例還提供了一種清掃區域指定方法,其中在於,所述方法包括:掃地機器人的頂部設置二維碼標籤,其中,所述二維碼標籤的二維碼承載資訊包括所述掃地機器人的識別資訊及無線通訊建立方式;所述掃地機器人與所述移動終端根據所述識別資訊及所述無線通訊建立方式建立無線通訊連接;所述掃地機器人傳送包括座標原點位置資訊的室內二維地圖給所述移動終端,其中,位置資訊包括X軸座標值、Y軸座標值及地圖角度值;所述掃地機器人獲取所述移動終端於所述室內二維地圖的初始位置資訊;所述掃地機器人根據所述移動終端的跟隨指令及所述初始位置資訊啟動跟隨模式;所述掃地機器人接收所述移動終端傳送的對應於所述室內二維地圖的多個座標資料;以及,所述掃地機器人根據所述移動終端的清掃指令啟動清掃模式,移動至所述多個座標資料對應的區域進行清掃。An embodiment of the present invention also provides a method for specifying a cleaning area, wherein the method includes: setting a two-dimensional code label on the top of the sweeping robot, wherein the two-dimensional code carrying information of the two-dimensional code label includes the sweeping area The robot’s identification information and wireless communication establishment method; the sweeping robot establishes a wireless communication connection with the mobile terminal according to the identification information and the wireless communication establishment method; A two-dimensional map is given to the mobile terminal, wherein the location information includes X-axis coordinate values, Y-axis coordinate values, and map angle values; the sweeping robot obtains the initial location information of the mobile terminal on the indoor two-dimensional map; the The sweeping robot starts the following mode according to the following instruction of the mobile terminal and the initial position information; the sweeping robot receives a plurality of coordinate data corresponding to the indoor two-dimensional map sent by the mobile terminal; and, the sweeping robot The robot starts a cleaning mode according to the cleaning instruction of the mobile terminal, and moves to the area corresponding to the plurality of coordinate data for cleaning.
本發明一實施例還提供了一種清掃區域指定的移動終端,其中在於,所述移動終端包括處理器和記憶體,所述記憶體用於存儲至少一個指令,所述處理器用於執行所述至少一個指令實現如下步驟:擷取停駐於充電座的掃地機器人頂部的二維碼標籤的圖像;根據所述圖像,獲得所述移動終端與所述掃地機器人之間的相對位置關係,其中,所述相對位置關係包括水平距離及角度;所述相對位置關係判斷所述移動終端於所述掃地機器人的室內二維地圖上初始位置的位置資訊;傳送所述初始位置的位置資訊給所述掃地機器人,並啟動所述掃地機器人的跟隨模式;拍攝清掃區域,並經由所述移動終端的觸控顯示屏幕接收使用者於所述清掃區域的清掃範圍的圈選輸入;獲取所述清掃範圍於所述室內二維地圖的多個座標資料;以及,傳送所述多個座標資料給所述掃地機器人,並啟動所述掃地機器人的清掃模式。An embodiment of the present invention also provides a mobile terminal for specifying a cleaning area, wherein the mobile terminal includes a processor and a memory, the memory is used to store at least one instruction, and the processor is used to execute the at least An instruction implements the following steps: capture the image of the two-dimensional code label on the top of the sweeping robot parked on the charging stand; according to the image, obtain the relative positional relationship between the mobile terminal and the sweeping robot, wherein , the relative positional relationship includes horizontal distance and angle; the relative positional relationship determines the positional information of the initial position of the mobile terminal on the indoor two-dimensional map of the sweeping robot; transmits the positional information of the initial position to the sweeping robot, and start the following mode of the sweeping robot; photograph the cleaning area, and receive the user’s circle selection input in the cleaning range of the cleaning area through the touch display screen of the mobile terminal; obtain the cleaning range in A plurality of coordinate data of the indoor two-dimensional map; and, transmitting the plurality of coordinate data to the sweeping robot, and starting a cleaning mode of the sweeping robot.
本發明一實施例還提供了一種清掃區域指定的掃地機器人,其中在於,所述掃地機器人的頂部設置二維碼標籤,其中,所述二維碼標籤的二維碼承載資訊包括所述掃地機器人的識別資訊及無線通訊建立方式,所述掃地機器人還包括處理器和記憶體,所述記憶體用於存儲至少一個指令,所述處理器用於執行所述至少一個指令實現如下步驟:根據所述識別資訊及所述無線通訊建立方式與移動終端建立無線通訊連接;傳送包括座標原點位置資訊的室內二維地圖給所述移動終端,其中,位置資訊包括X軸座標值、Y軸座標值及地圖角度值;獲取所述移動終端於所述室內二維地圖的初始位置資訊;根據所述移動終端的跟隨指令及所述初始位置資訊啟動跟隨模式;接收所述移動終端傳送的對應於所述室內二維地圖的多個座標資料;以及,根據所述移動終端的清掃指令啟動清掃模式,移動至所述多個座標資料對應的區域進行清掃。An embodiment of the present invention also provides a sweeping robot with a designated cleaning area, wherein a two-dimensional code label is set on the top of the sweeping robot, wherein the two-dimensional code carrying information of the two-dimensional code label includes the sweeping robot The identification information and wireless communication establishment method, the sweeping robot also includes a processor and a memory, the memory is used to store at least one instruction, and the processor is used to execute the at least one instruction to implement the following steps: according to the Identify information and the wireless communication establishment method to establish a wireless communication connection with the mobile terminal; transmit an indoor two-dimensional map including coordinate origin position information to the mobile terminal, wherein the position information includes X-axis coordinate value, Y-axis coordinate value and map angle value; obtain the initial position information of the mobile terminal on the indoor two-dimensional map; start the following mode according to the follow instruction of the mobile terminal and the initial position information; receive the corresponding information sent by the mobile terminal a plurality of coordinate data of the indoor two-dimensional map; and, start the cleaning mode according to the cleaning instruction of the mobile terminal, and move to the area corresponding to the plurality of coordinate data for cleaning.
請參閱圖1,所示為本發明一實施例的清掃區域指定方法中移動終端的流程圖。在本實施例中,所述清掃區域指定方法可以應用於移動終端中。需要說明的是,移動終端可以是手機、平板電腦等終端裝置。如圖1所示,所述清掃區域指定方法具體包括以下步驟,根據不同的需求,該流程圖中步驟的順序可以改變,某些步驟可以省略或增加。Please refer to FIG. 1 , which shows a flowchart of a mobile terminal in a method for specifying a cleaning area according to an embodiment of the present invention. In this embodiment, the method for specifying a cleaning area can be applied to a mobile terminal. It should be noted that the mobile terminal may be a terminal device such as a mobile phone or a tablet computer. As shown in FIG. 1 , the method for specifying the cleaning area specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted or added.
可以理解的是,當首次使用掃地機器人時,掃地機器人以充電座的當前位置作為座標原點O建立坐標系,並在完成多次清掃任務後,建立室內二維地圖。It is understandable that when the sweeping robot is used for the first time, the sweeping robot establishes a coordinate system with the current position of the charging stand as the coordinate origin O, and builds an indoor two-dimensional map after completing multiple cleaning tasks.
在一實施例中,掃地機器人建立室內二維地圖的同時,選取多個參考點並記錄多個參考點的位置資訊,其中,多個參考點的選取原則為包括:狹小通道處、障礙物轉彎處以及必經通道處。在本實施例中,掃地機器人的頂部靠近充電座對接元件處還設置二維碼標籤,其中,二維碼標籤包括掃地機器人的識別資訊。在本實施例中,位置資訊包括X軸座標值、Y軸座標值及地圖角度值,例如,掃地機器人於充電座(座標原點O)充電及/或停駐時的位置資訊標記為 。其中,二維碼包括快速回應矩陣圖碼。快速回應矩陣碼的特點是在二維碼的三個角落上,存在3個像回字的圖案,可以用於唯一確定二維碼的角度,如圖2所示。在本實施例中,以掃地機器人停駐於充電座時二維碼的零度方向作為地圖的零度方向,亦即, 。 In one embodiment, while the sweeping robot builds the indoor two-dimensional map, it selects multiple reference points and records the location information of the multiple reference points, wherein the selection principles of the multiple reference points include: narrow passages, obstacles turning places and necessary passageways. In this embodiment, a two-dimensional code label is provided on the top of the sweeping robot near the docking element of the charging stand, wherein the two-dimensional code label includes identification information of the sweeping robot. In this embodiment, the location information includes the X-axis coordinate value, the Y-axis coordinate value and the map angle value. For example, the location information of the sweeping robot when it is charging and/or parked on the charging stand (coordinate origin O) is marked as . Wherein, the two-dimensional code includes a quick response matrix image code. The characteristic of the quick response matrix code is that there are three patterns resembling Chinese characters on the three corners of the two-dimensional code, which can be used to uniquely determine the angle of the two-dimensional code, as shown in Figure 2. In this embodiment, the zero-degree direction of the two-dimensional code when the sweeping robot is parked on the charging stand is used as the zero-degree direction of the map, that is, .
步驟S102,移動終端的攝像頭擷取停駐於充電座的掃地機器人頂部的二維碼標籤的圖像,與掃地機器人建立無線通訊連接,獲取室內二維地圖。Step S102, the camera of the mobile terminal captures the image of the two-dimensional code label on the top of the sweeping robot parked on the charging stand, establishes a wireless communication connection with the sweeping robot, and obtains an indoor two-dimensional map.
在本實施例中,使用者手持移動終端,經由移動終端的攝像頭對停駐於充電座的掃地機器人頂部的二維碼標籤進行掃描,移動終端的攝像頭擷取包含二維碼標籤的圖像並經由圖像演算法識別二維碼標籤的二維碼,獲取二維碼承載資訊,其中,二維碼承載資訊包括掃地機器人的識別資訊及無線通訊建立方式。In this embodiment, the user holds the mobile terminal and scans the two-dimensional code label on the top of the sweeping robot parked on the charging stand through the camera of the mobile terminal. The camera of the mobile terminal captures the image containing the two-dimensional code label and The two-dimensional code of the two-dimensional code label is recognized through an image algorithm to obtain information carried by the two-dimensional code, wherein the information carried by the two-dimensional code includes identification information of the sweeping robot and a wireless communication establishment method.
在一實施例中,移動終端根據掃地機器人的識別資訊、無線通訊建立方式與掃地機器人建立無線通訊連接,並獲取掃地機器人的室內二維地圖。其中,所述無線通訊建立方式包括藍牙及WiFi等。In one embodiment, the mobile terminal establishes a wireless communication connection with the sweeping robot according to the identification information of the sweeping robot and a wireless communication establishment method, and acquires an indoor two-dimensional map of the sweeping robot. Wherein, the wireless communication establishment method includes bluetooth, WiFi and the like.
步驟S104,移動終端根據擷取的圖像,獲得移動終端與掃地機器人之間的相對位置關係,判斷移動終端於室內二維地圖上初始位置的初始位置資訊。Step S104, the mobile terminal obtains the relative positional relationship between the mobile terminal and the sweeping robot according to the captured image, and determines the initial position information of the mobile terminal's initial position on the indoor two-dimensional map.
具體的,移動終端利用攝像頭透鏡原理或其它測距演算法可以計算出攝像頭與二維碼標籤之間的距離,該距離相當於移動終端與掃地機器人之間的距離,根據移動終端與掃地機器人之間的距離可以計算出移動終端與掃地機器人之間的水平距離,根據移動終端與掃地機器人之間的水平距離、擷取圖像中的二維碼角度可以獲得移動終端與掃地機器人之間的相對位置關係,並根據該相對位置關係判斷移動終端於室內二維地圖上的初始位置資訊。Specifically, the mobile terminal can use the camera lens principle or other ranging algorithms to calculate the distance between the camera and the two-dimensional code label, which is equivalent to the distance between the mobile terminal and the sweeping robot. According to the distance between the mobile terminal and the sweeping robot The horizontal distance between the mobile terminal and the sweeping robot can be calculated according to the distance between the mobile terminal and the sweeping robot. According to the horizontal distance between the mobile terminal and the sweeping robot and the angle of the QR code in the captured image, the relative distance between the mobile terminal and the sweeping robot can be obtained. positional relationship, and determine the initial positional information of the mobile terminal on the indoor two-dimensional map according to the relative positional relationship.
如圖3a所示,移動終端301首先利用攝像頭焦距推算移動終端301與掃地機器人302之間的距離D。其次,
為移動終端301相對於Z軸的傾斜角度,因此,利用二維碼標籤到攝像頭中心的連線會垂直於移動終端301,可以計算取得
=90度-Ө
1,利用D、
及下列公式可以計算出移動終端301與掃地機器人302之間的水平距離
:
As shown in FIG. 3 a , the
利用移動終端的陀螺儀感測器獲取移動終端的旋轉角度,根據移動終端的旋轉角度及擷取圖像中的二維碼角度可以計算移動終端與掃地機器人之間的角度 。 Use the gyro sensor of the mobile terminal to obtain the rotation angle of the mobile terminal, and calculate the angle between the mobile terminal and the sweeping robot according to the rotation angle of the mobile terminal and the angle of the QR code in the captured image .
根據移動終端301與掃地機器人302之間的水平距離
、移動終端301與掃地機器人302之間的角度
等相對位置關係,可以計算移動終端於室內二維地圖上的初始位置303的X軸座標值
及Y軸座標值
,取得移動終端於室內二維地圖上初始位置的初始位置資訊(
,
,
)。
According to the horizontal distance between the
步驟S106,傳送所述初始位置資訊給掃地機器人並啟動掃地機器人的跟隨模式。Step S106, sending the initial position information to the cleaning robot and starting the following mode of the cleaning robot.
在一實施例中,二維碼承載資訊還包括網頁連結資訊,移動終端連接至網頁經由網頁操作啟動掃地機器人的跟隨模式。In one embodiment, the information carried by the two-dimensional code further includes webpage link information, and the mobile terminal connects to the webpage to activate the following mode of the sweeping robot through webpage operations.
步驟S108,移動終端定期紀錄移動終端相對於初始位置的移動距離及轉動角度並通知掃地機器人。Step S108, the mobile terminal regularly records the moving distance and rotation angle of the mobile terminal relative to the initial position and notifies the sweeping robot.
在一實施例中,移動終端利用慣性測量單元獲取移動終端在移動過程中的移動距離及轉動角度,並根據初始位置資訊定期通知掃地機器人移動距離 及轉動角度 ,掃地機器人根據接收到的移動距離( 及轉動角度 及室內二維地圖執行障礙物迴避的跟隨模式。 In one embodiment, the mobile terminal uses the inertial measurement unit to obtain the moving distance and rotation angle of the mobile terminal during the movement process, and periodically notifies the sweeping robot of the moving distance according to the initial position information and rotation angle , the sweeping robot according to the received moving distance ( and rotation angle And indoor two-dimensional map to implement the following mode of obstacle avoidance.
在一實施例中,移動終端還根據初始位置資訊、移動距離及轉動角度更新移動終端的當前位置資訊。In one embodiment, the mobile terminal also updates the current location information of the mobile terminal according to the initial location information, the moving distance and the rotation angle.
在一實施例中,掃地機器人還利用多個參考點的位置資訊,在移動過程中,校正移動終端的即時位置資訊,並通知移動終端校正位置誤差。In one embodiment, the cleaning robot also uses the position information of multiple reference points to correct the real-time position information of the mobile terminal during the movement process, and notifies the mobile terminal to correct the position error.
步驟S110,使用者利用移動終端的攝像頭拍攝清掃區域,並在移動終端的觸控顯示屏幕圈選欲清掃範圍。Step S110 , the user uses the camera of the mobile terminal to photograph the cleaning area, and circles the area to be cleaned on the touch display screen of the mobile terminal.
步驟S112,移動終端判斷清掃區域中心點於室內二維地圖的座標,獲取使用者圈選清掃範圍的多個座標資料。Step S112, the mobile terminal determines the coordinates of the center point of the cleaning area on the indoor two-dimensional map, and obtains a plurality of coordinate data of the cleaning area circled by the user.
具體的,移動終端利用攝像頭透鏡原理或其它測距演算法可以計算出攝像頭與拍攝區域中心點之間的距離,該距離相當於移動終端與清掃區域中心點之間的距離,根據移動終端與清掃區域中心點之間的距離可以計算出移動終端與清掃區域中心點之間的水平距離,根據移動終端與清掃區域中心點之間的水平距離、移動終端紀錄的累積轉動角度以及移動終端對應於地圖零度的轉動角度,移動終端可以獲取移動終端與清掃區域中心點之間的相對位置關係,並根據該相對位置關係及所述移動終端的當前位置資訊判斷清掃區域中心點於室內二維地圖上的座標。根據清掃區域中心點的座標、拍攝焦距與拍攝照片,可以獲取使用者圈選清掃範圍對應於室內二維地圖的多個座標資料 、 、…、 。 Specifically, the mobile terminal can use the camera lens principle or other ranging algorithms to calculate the distance between the camera and the center point of the shooting area, which is equivalent to the distance between the mobile terminal and the center point of the cleaning area. The distance between the center point of the area can calculate the horizontal distance between the mobile terminal and the center point of the cleaning area, according to the horizontal distance between the mobile terminal and the center point of the cleaning area, the cumulative rotation angle recorded by the mobile terminal and the corresponding map of the mobile terminal With a rotation angle of zero degrees, the mobile terminal can obtain the relative positional relationship between the mobile terminal and the center point of the cleaning area, and judge the position of the center point of the cleaning area on the indoor two-dimensional map according to the relative positional relationship and the current position information of the mobile terminal. coordinate. According to the coordinates of the center point of the cleaning area, the focal length of the shooting and the photos taken, multiple coordinate data corresponding to the indoor two-dimensional map of the user's circled cleaning area can be obtained , ,..., .
步驟S114,移動終端將清掃範圍的多個座標資料通知掃地機器人,同時啟動掃地機器人的清掃模式。In step S114, the mobile terminal notifies the sweeping robot of multiple coordinate data of the cleaning range, and at the same time starts the cleaning mode of the sweeping robot.
掃地機器人接收到清掃範圍的多個座標資料後,根據室內二維地圖,前往使用者指定的清掃區域進行清掃模式。如圖4所示,使用者可以在移動終端400的觸控顯示屏幕上圈選清掃範圍401。After receiving multiple coordinate data of the cleaning range, the sweeping robot goes to the cleaning area designated by the user to perform cleaning mode according to the indoor two-dimensional map. As shown in FIG. 4 , the user can circle the
請參閱圖5,所示為本發明一實施例的清掃區域指定方法中掃地機器人的流程圖。在本實施例中,所述清掃區域指定方法可以應用於掃地機器人中。如圖5所示,所述清掃區域指定方法具體包括以下步驟,根據不同的需求,該流程圖中步驟的順序可以改變,某些步驟可以省略或增加。Please refer to FIG. 5 , which shows a flow chart of the cleaning robot in the cleaning area designation method according to an embodiment of the present invention. In this embodiment, the method for specifying a cleaning area can be applied to a sweeping robot. As shown in FIG. 5 , the method for specifying the cleaning area specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted or added.
步驟S502,掃地機器人與移動終端建立無線通訊連接並傳送包含座標原點位置資訊的室內二維地圖。In step S502, the sweeping robot establishes a wireless communication connection with the mobile terminal and transmits an indoor two-dimensional map including coordinate origin location information.
步驟S504,獲取移動終端於室內二維地圖的初始位置資訊,並根據移動終端的跟隨指令及所述初始位置資訊啟動跟隨模式。Step S504, acquiring the initial location information of the mobile terminal on the indoor two-dimensional map, and starting the follow mode according to the following instruction of the mobile terminal and the initial location information.
在跟隨模式中,掃地機器人定期接收移動終端傳送的移動距離及轉動角度,並根據所述移動距離、轉動角度及室內二維地圖執行障礙物迴避的跟隨模式。In the following mode, the sweeping robot regularly receives the moving distance and rotation angle transmitted by the mobile terminal, and executes the following mode of obstacle avoidance according to the moving distance, rotation angle and indoor two-dimensional map.
步驟S506,掃地機器人判斷移動終端的使用者是否通過多個參考點之一。當判斷使用者通過多個參考點之一時,執行步驟S508;當判斷使用者未通過多個參考點之一時,執行步驟S510。Step S506, the cleaning robot judges whether the user of the mobile terminal passes one of the multiple reference points. When it is determined that the user has passed one of the multiple reference points, step S508 is performed; when it is determined that the user has not passed one of the multiple reference points, step S510 is performed.
在一實施例中,掃地機器人包括拍攝單元,用於擷取環境圖像。掃地機器人可以根據擷取的環境圖像,判斷使用者是否通過多個參考點之一。In one embodiment, the cleaning robot includes a photographing unit for capturing environmental images. The sweeping robot can judge whether the user has passed one of multiple reference points according to the captured environment image.
步驟S508,利用使用者通過的參考點座標,校正所述移動終端的當前位置資訊,並將校正資訊通知移動終端。Step S508, using the coordinates of the reference point passed by the user to correct the current location information of the mobile terminal, and notify the mobile terminal of the correction information.
步驟S510,掃地機器人接收對應於室內二維地圖的多個座標資料,根據移動終端的清掃指令啟動清掃模式,移動至多個座標資料對應的區域進行清掃。Step S510, the sweeping robot receives a plurality of coordinate data corresponding to the indoor two-dimensional map, starts the cleaning mode according to the cleaning instruction of the mobile terminal, and moves to the area corresponding to the plurality of coordinate data for cleaning.
請參閱圖6,所示為本發明一實施例的移動終端600的方塊圖。Please refer to FIG. 6 , which is a block diagram of a
所述移動終端600包括至少一個處理器602、記憶體604、通信單元606、攝像頭608、顯示器610以及感測器單元612。本領域技術人員應該瞭解,圖6示出的移動終端600的組成並不構成本申請實施例的限定。所述移動終端600還可以包括比圖示更多或更少的其他硬體或者軟體,或者不同的元件佈置。The
在一實施例中,所述至少一個處理器602可以由積體電路組成,例如可以由單個封裝的積體電路所組成,也可以是由多個相同功能或不同功能封裝的積體電路所組成,包括一個或者多個中央處理器(Central Processing unit,CPU)、微處理器、數文書處理晶片、圖形處理器及各種控制晶片的組合等。所述至少一個處理器602是所述移動終端600的控制核心(Control Unit),利用各種介面和線路連接移動終端600的各個部件,通過運行或執行存儲在所述記憶體604內的程式或者模組,以及調用存儲在所述記憶體604內的資料,以執行所述移動終端600的各種功能和處理資料,例如執行清掃區域指定功能。處理器602還用於與其它元件進行交互。In an embodiment, the at least one
所述記憶體604用於存儲程式碼和各種資料,並在移動終端600的運行過程中實現高速、自動地完成程式或資料的存取。所述記憶體604包括唯讀記憶體(Read-Only Memory,ROM)、可程式設計唯讀記憶體(Programmable Read-Only Memory,PROM)、可擦除可程式設計唯讀記憶體(Erasable Programmable Read-Only Memory,EPROM)、一次可程式設計唯讀記憶體(One-time Programmable Read-Only Memory,OTPROM)、電子擦除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、唯讀光碟(Compact Disc Read-Only Memory,CD-ROM)或其他光碟記憶體、磁碟記憶體、磁帶記憶體、或者能夠用於攜帶或存儲資料的電腦可讀的任何其他存儲介質。The
所述記憶體604存儲有程式碼,且所述至少一個處理器602可調用所述記憶體604中存儲的程式碼以執行相關的功能。例如,圖1的方法流程的程式碼,並由所述至少一個處理器602所執行,從而實現所述各個模組的功能以達到指定清掃區域的目的。The
在一實施例中,所述記憶體604存儲一個或多個指令(即至少一個指令),所述至少一個指令被所述至少一個處理器602所執行以實現指定清掃區域的目的,具體參閱圖1所示。In one embodiment, the
所述通信單元606用於移動終端600和其它設備之間有線或無線方式的通信。移動終端600可以經由通信單元606接入基於通信標準的無線網路,如WiFi、2G、3G、4G或5G,或它們的組合。在一實施例中,所述通信單元606還包括近距離通信技術的近場通信(NFC)、射頻識別(RFID)、超寬頻(UWB)、藍牙(BT)等技術。The
所述攝像頭608用於擷取圖像。The
所述顯示器610包括觸控顯示屏幕,用於接收使用者指令並顯示操作資訊及擷取的圖像,包括接收來自使用者的觸控輸入。The display 610 includes a touch display screen for receiving user instructions and displaying operation information and captured images, including receiving touch input from the user.
所述感測器單元612包括慣性測量單元,用於感知移動終端600的狀態資訊,包括移動終端在移動過程中的加速度、角速度、磁力和壓力等資料。The
請參閱圖7,所示為本發明一實施例的掃地機器人700的方塊圖。Please refer to FIG. 7 , which is a block diagram of a
所述掃地機器人700包括至少一個處理器702、記憶體704、通信單元706、拍攝單元708、感測器單元710以及電源單元712。本領域技術人員應該瞭解,圖7示出的掃地機器人700的組成並不構成本申請實施例的限定。所述掃地機器人700還可以包括比圖示更多或更少的其他硬體或者軟體,或者不同的元件佈置。The cleaning
在一實施例中,所述至少一個處理器702可以由積體電路組成,例如可以由單個封裝的積體電路所組成,也可以是由多個相同功能或不同功能封裝的積體電路所組成,包括一個或者多個中央處理器(Central Processing unit,CPU)、微處理器、數文書處理晶片、圖形處理器及各種控制晶片的組合等。所述至少一個處理器702是所述掃地機器人的控制核心(Control Unit),利用各種介面和線路連接掃地機器人700的各個部件,通過運行或執行存儲在所述記憶體704內的程式或者模組,以及調用存儲在所述記憶體704內的資料,以執行所述掃地機器人700的各種功能和處理資料,例如執行清掃區域指定功能。處理器702還用於與其它元件進行交互。In an embodiment, the at least one
所述記憶體704用於存儲程式碼和各種資料,並在掃地機器人700的運行過程中實現高速、自動地完成程式或資料的存取。所述記憶體704包括唯讀記憶體(Read-Only Memory,ROM)、可程式設計唯讀記憶體(Programmable Read-Only Memory,PROM)、可擦除可程式設計唯讀記憶體(Erasable Programmable Read-Only Memory,EPROM)、一次可程式設計唯讀記憶體(One-time Programmable Read-Only Memory,OTPROM)、電子擦除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、唯讀光碟(Compact Disc Read-Only Memory,CD-ROM)或其他光碟記憶體、磁碟記憶體、磁帶記憶體、或者能夠用於攜帶或存儲資料的電腦可讀的任何其他存儲介質。The
所述記憶體704存儲有程式碼,且所述至少一個處理器702可調用所述記憶體704中存儲的程式碼以執行相關的功能。例如,圖5的方法流程的程式碼,並由所述至少一個處理器702所執行,從而實現所述各個模組的功能以達到指定清掃區域的目的。The
在一實施例中,所述記憶體704存儲一個或多個指令(即至少一個指令),所述至少一個指令被所述至少一個處理器702所執行以實現指定清掃區域的目的,具體參閱圖5所示。In one embodiment, the
所述通信單元706用於掃地機器人700和其它設備之間無線方式的通信。掃地機器人700可以經由通信單元706接入基於通信標準的無線網路,如WiFi、2G、3G、4G或5G,或它們的組合。在一實施例中,所述通信單元706還包括近距離通信技術的近場通信(NFC)、射頻識別(RFID)、超寬頻(UWB)、藍牙(BT)等技術。The
所述拍攝單元708用於擷取環境的圖像。The photographing unit 708 is used to capture images of the environment.
所述感測器單元710包括測距感測器和碰撞感測器,用於檢測與障礙物之間的距離及碰撞。The sensor unit 710 includes a distance sensor and a collision sensor for detecting distance and collision with obstacles.
所述電源單元712包括可對接到充電座的充電座對接元件,用於供應掃地機器人700各元件電力。The
總結來說,本發明的清掃區域指定方法、移動終端及掃地機器人利用移動終端的攝像頭拍攝清掃區域並指定清掃範圍,通知掃地機器人即時前往打掃。To sum up, the method for specifying the cleaning area, the mobile terminal and the sweeping robot of the present invention use the camera of the mobile terminal to photograph the cleaning area and specify the cleaning range, and notify the sweeping robot to go to clean immediately.
值得注意的是,以上實施例僅用以說明本發明的技術方案而非限制,儘管參照較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神和範圍。It is worth noting that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation, although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be carried out Modification or equivalent replacement without departing from the spirit and scope of the technical solutions of the present invention.
301、400、600:移動終端
302、700:掃地機器人
303:初始位置
401:清掃範圍
602、702:處理器
604、704:記憶體
606、706:通信單元
608:攝像頭
610:顯示器
612、710:感測器單元
712:電源單元
301, 400, 600:
圖1為根據本發明一實施例的清掃區域指定方法中移動終端的流程圖。 圖2為根據本發明一實施例的二維碼角度的示意圖。 圖3A為根據本發明一實施例的移動終端與掃地機器人間相對位置的示意圖。 圖3B為根據本發明一實施例的獲取移動終端位置資訊的示意圖。 圖4為根據本發明一實施例的圈選清掃範圍的示意圖。 圖5為根據本發明一實施例的清掃區域指定方法中掃地機器人的流程圖。 圖6為根據本發明一實施例的移動終端的方塊圖。 圖7為根據本發明一實施例的掃地機器人的方塊圖。 Fig. 1 is a flowchart of a mobile terminal in a method for specifying a cleaning area according to an embodiment of the present invention. FIG. 2 is a schematic diagram of an angle of a two-dimensional code according to an embodiment of the present invention. Fig. 3A is a schematic diagram of relative positions between a mobile terminal and a cleaning robot according to an embodiment of the present invention. FIG. 3B is a schematic diagram of acquiring location information of a mobile terminal according to an embodiment of the present invention. FIG. 4 is a schematic diagram of a circled cleaning area according to an embodiment of the present invention. Fig. 5 is a flow chart of a cleaning robot in a method for specifying a cleaning area according to an embodiment of the present invention. FIG. 6 is a block diagram of a mobile terminal according to an embodiment of the present invention. FIG. 7 is a block diagram of a cleaning robot according to an embodiment of the present invention.
藉由以下對具體實施例詳細的描述結合附圖,將可輕易的瞭解上述內容及此項發明之諸多優點。Through the following detailed description of the specific embodiments combined with the accompanying drawings, the above contents and many advantages of the present invention can be easily understood.
無none
S102~S114:步驟 S102~S114: steps
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW110123721A TWI772079B (en) | 2021-06-29 | 2021-06-29 | Method, mobile device and cleaning robot for specifying cleaning areas |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW110123721A TWI772079B (en) | 2021-06-29 | 2021-06-29 | Method, mobile device and cleaning robot for specifying cleaning areas |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI772079B TWI772079B (en) | 2022-07-21 |
| TW202300082A true TW202300082A (en) | 2023-01-01 |
Family
ID=83439719
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110123721A TWI772079B (en) | 2021-06-29 | 2021-06-29 | Method, mobile device and cleaning robot for specifying cleaning areas |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI772079B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117808632B (en) * | 2024-02-29 | 2024-05-24 | 南京市金地物业有限责任公司 | Processing method for property cleaning management system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205671994U (en) * | 2015-12-16 | 2016-11-09 | 小米科技有限责任公司 | Automatic cleaning equipment |
| US20180344116A1 (en) * | 2017-06-02 | 2018-12-06 | Irobot Corporation | Scheduling and control system for autonomous robots |
| KR102309303B1 (en) * | 2019-10-07 | 2021-10-06 | 엘지전자 주식회사 | Robot Cleaner and Controlling Method for the same |
-
2021
- 2021-06-29 TW TW110123721A patent/TWI772079B/en active
Also Published As
| Publication number | Publication date |
|---|---|
| TWI772079B (en) | 2022-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12080027B2 (en) | Article position managing apparatus, article position management system, article position managing method, and program | |
| US8265895B2 (en) | Interactive sensor systems and methods for dimensioning | |
| JP6462183B2 (en) | Imaging apparatus and focus control method | |
| TWI400940B (en) | Handheld device and method for controlling orbit cameras remotely | |
| US10356301B2 (en) | Imaging system, angle-of-view adjustment method, and angle-of-view adjustment program | |
| WO2003102706A1 (en) | Remotely-operated robot, and robot self position identifying method | |
| WO2019019819A1 (en) | Mobile electronic device and method for processing tasks in task region | |
| CN113052919A (en) | Calibration method and device of visual sensor, electronic equipment and storage medium | |
| US20200023523A1 (en) | Robot control system, robot apparatus, and non-transitory computer readable medium | |
| KR20200005060A (en) | A method for image searching using an captured image based on guidelines and an apparatus therefor | |
| JP2021127186A (en) | Article position management device, article position management system, article position management method and program | |
| US20140292636A1 (en) | Head-Worn Infrared-Based Mobile User-Interface | |
| CN108801259A (en) | A kind of indoor navigation method, device and mobile terminal | |
| TWI772079B (en) | Method, mobile device and cleaning robot for specifying cleaning areas | |
| JP2013085200A (en) | Image processing device, image processing method, and program | |
| US11243674B2 (en) | Display apparatus and image processing method | |
| US11991481B2 (en) | Display method, information processing device, and non-transitory computer-readable storage medium storing program | |
| JP7012485B2 (en) | Image information processing device and image information processing method | |
| US20230229158A1 (en) | Method, mobile device and cleaning robot for specifying cleaning areas | |
| CN115530672A (en) | Cleaning area designation method, mobile terminal, and sweeping robot | |
| WO2025167810A1 (en) | Positioning method, apparatus, device, and system | |
| US9654686B2 (en) | Location information designating device, location information designating method, and non-transitory storage medium in which location information designating program is stored | |
| JP7527190B2 (en) | Equipment and materials management system | |
| WO2019178764A1 (en) | Multi-rocker control method, gimbal and system | |
| JP7743784B2 (en) | Augmented reality display device, method, and program |