[go: up one dir, main page]

WO2019100269A1 - Robot movement control method and system, and robot - Google Patents

Robot movement control method and system, and robot Download PDF

Info

Publication number
WO2019100269A1
WO2019100269A1 PCT/CN2017/112438 CN2017112438W WO2019100269A1 WO 2019100269 A1 WO2019100269 A1 WO 2019100269A1 CN 2017112438 W CN2017112438 W CN 2017112438W WO 2019100269 A1 WO2019100269 A1 WO 2019100269A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
robot
defined area
map
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/112438
Other languages
French (fr)
Chinese (zh)
Inventor
王声平
张立新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Water World Co Ltd
Original Assignee
Shenzhen Water World Co Ltd
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 Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to PCT/CN2017/112438 priority Critical patent/WO2019100269A1/en
Publication of WO2019100269A1 publication Critical patent/WO2019100269A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators

Definitions

  • Robot movement control method system and robot
  • the present invention relates to the field of robot technology, and in particular, to a robot movement control method, system, and robot.
  • the virtual wall method is used to limit the moving area of the robot, and a virtual wall is set as a limited area in the area where the robot is not required to enter, so that the robot can avoid the limited area.
  • trigger signals are: Magnetic field signals, which are the most common processing method by laying magnetic strips on the ground as virtual walls; infrared signals, which are emitted by one or more infrared emitting devices as virtual walls.
  • the existing robot movement control scheme realizes the limitation of the moving area of the robot, it is necessary to additionally add sensors (such as magnetic field sensors, infrared sensors, etc.) and corresponding triggering devices (such as magnetic strips, infrared emitting devices, etc.).
  • sensors such as magnetic field sensors, infrared sensors, etc.
  • triggering devices such as magnetic strips, infrared emitting devices, etc.
  • the implementation cost is greatly increased.
  • the trigger device must be manually moved, which is troublesome, and the remote control cannot be performed in this case, which limits the use scenario.
  • the existing robot mobile control scheme has higher cost, less flexibility, and poor user experience.
  • the main object of the present invention is to provide a robot movement control method, system and robot, which aim to solve the technical problem of high cost and poor flexibility of the existing robot movement control scheme.
  • an embodiment of the present invention provides a robot movement control method, where the method includes the following steps:
  • the robot sends a map to the terminal device
  • the terminal device receives the map, sets a defined area on the map, and sends setting information of the limited area to the robot;
  • the robot receives the setting information of the defined area, and avoids the defined area according to the setting information of the limited area during the moving process.
  • the step of setting a limited area on the map includes:
  • the labeling information is a defined line drawn between two points on the map boundary, and the determining the defined area according to the labeling information includes:
  • the labeling information is a closed geometric figure drawn in a blank area of the map, and the determining the defined area according to the labeling information comprises:
  • the step of avoiding the defined area according to the setting information of the defined area during the moving process includes:
  • the moving path is adjusted to avoid the defined area.
  • the step of avoiding the defined area according to the setting information of the defined area during the moving process includes:
  • the movement route is adjusted to avoid the defined area.
  • An embodiment of the present invention further provides a robot movement control method, where the method is applied to the foregoing robot, including the following steps:
  • the defined area is avoided according to the setting information of the defined area during the moving process.
  • the step of avoiding the defined area according to the setting information of the defined area during the moving process includes:
  • the moving route is adjusted to avoid the defined area.
  • the step of avoiding the defined area according to the setting information of the defined area during the moving process includes:
  • the movement route is adjusted to avoid the defined area.
  • the setting information of the defined area includes location information and contour information of the defined area.
  • Embodiments of the present invention simultaneously provide a robot movement control system, the system including a robot and a terminal device, wherein:
  • the robot is configured to send a map to the terminal device
  • the terminal device is configured to receive the map, set a defined area on the map, and send setting information of the limited area to the robot;
  • the robot is further configured to: receive setting information of the defined area, and avoid the defined area according to setting information of the defined area during the moving process.
  • the terminal device is configured to: generate annotation information on the map according to a user operation, where ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 Determine the restricted area based on the labeling information.
  • the annotation information is a defined line drawn between two points on the boundary of the map, and the terminal device is configured to:
  • One of the two areas on both sides of the defined line is selected as a defined area, and position information and defined line information of the defined area are acquired as setting information of the defined area.
  • the labeling information is a closed geometric figure drawn in a blank area of the map
  • the terminal device is configured to: select an area defined by the closed geometric figure as a defined area, and obtain the limitation
  • the location information and the outline information of the area serve as setting information of the limited area.
  • the robot is configured to: acquire a current position during the moving process; determine, according to the current position and the setting information of the defined area, whether the robot approaches the defined area; when the robot approaches When the area is defined, the movement route is adjusted to avoid the defined area.
  • the robot is configured to: mark the defined area as an obstacle on the map according to the setting information of the defined area; acquire a current position during the moving; and detect whether the current position is within a safe range Obstacle; when there is an obstacle, adjust the movement route to avoid the defined area.
  • Embodiments of the present invention simultaneously provide a robot, and the device is applied to the foregoing robot, and includes:
  • a sending module configured to send a map to the terminal device
  • a receiving module configured to receive setting information of a limited area on the map sent by the terminal device
  • the motion control module is configured to avoid the limited area according to the setting information of the limited area during the moving.
  • the motion control module includes:
  • a positioning unit configured to acquire a current position during the moving process
  • the determining unit is configured to determine, according to the current location and the setting information of the limited area, whether the robot approaches the defined area;
  • the avoidance unit is configured to adjust the movement route to avoid the defined area when the robot approaches the defined area.
  • the motion control module includes:
  • a marking unit configured to set the defined area as an obstacle object according to setting information of the defined area ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 is recorded on the map;
  • a positioning unit configured to acquire a current location during the moving process
  • the detecting unit is configured to detect whether there is an obstacle in a safe range of the current position
  • the avoidance unit is configured to adjust the movement route to avoid the defined area when there is an obstacle.
  • a robot movement control method provided by an embodiment of the present invention provides a limited area on a map by a terminal device, and sends setting information of the limited area to the robot, so that the robot can be set according to the limited area during the moving process.
  • Information avoids restricted areas. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost.
  • the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal.
  • the device is remotely set up, which extends the application scenario and greatly increases flexibility.
  • FIG. 1 is a flow chart of a first embodiment of a robot movement control method of the present invention
  • FIG. 2 is a flow chart of a second embodiment of a robot movement control method of the present invention.
  • FIG. 3 is a flowchart of a third embodiment of a robot movement control method of the present invention.
  • FIG. 4 is a block diagram showing an embodiment of a robot movement control system of the present invention.
  • FIG. 5 is a block diagram of an embodiment of a robot of the present invention.
  • FIG. 6 is a block diagram of the motion control module of FIG. 5;
  • FIG. 7 is a block diagram of still another module of the motion control module of FIG. 5.
  • the robots in the embodiments of the present invention are mainly referred to as cleaning robots, and may be other types of robots, which are not limited by the present invention.
  • a first embodiment of a robot movement control method of the present invention is proposed, and the method includes the following steps:
  • the robot sends a map to the terminal device.
  • the robot measures the target location by any one or a combination of at least two types of sensing devices such as a laser radar, a visual sensor, and the like, and draws a map of the target location.
  • the robot and the terminal device can access the local area network or the Internet through a wireless network (such as ⁇ VIFI), and establish a communication connection.
  • the robot and the terminal device can directly communicate or communicate through the server; the robot and the terminal device can also be connected through a point-to-point connection ( For example, Bluetooth establishes a communication connection, in which case the robot communicates directly with the terminal device.
  • a communication connection is established, the robot sends the drawn map to the terminal device.
  • the terminal device is preferably a mobile terminal such as a mobile phone or a tablet, and may also be a personal computer, a notebook computer, or the like. ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 Computer terminal.
  • the terminal device receives the map, sets a limited area on the map, and transmits setting information of the limited area to the robot.
  • the map is displayed on the screen, and the user can specify a limited area on the map that prohibits the robot from entering.
  • the user operates on the map, such as drawing a limit line between two points on the boundary of the map (representing that the robot cannot cross the limit line), and drawing a closed geometric figure in a blank area of the map (representing that the robot cannot enter the map) Graphic area), etc.
  • the terminal device generates annotation information on the map according to the user operation, the annotation information is a defined line drawn between two boundaries on the map, and a closed geometric figure (such as a rectangle drawn in a blank area of the map) , circle, triangle, etc.), and determine the defined area based on the annotation information.
  • the defined area may be one or at least two.
  • the contours of the aforementioned defined lines and closed geometry are user-defined virtual walls.
  • the terminal device when the annotation information is a defined line drawn between two points on the boundary of the map, the terminal device first selects one of the two areas on both sides of the defined line as the defined area, such as the user.
  • the clicked area is selected as the limited area, and the area on the other side of the area where the robot is currently located is automatically selected as the limited area, and then the position information and the outline information of the limited area are acquired as the setting information of the limited area.
  • the terminal device can alert the user to prompt the user to reselect or move the robot out of the area.
  • the position information includes position coordinates of a geometric center defining a region, position coordinates of an intersection of a defined line and a boundary, and/or position coordinates of a turning point defining a line
  • the terminal device calculates a pixel position of the defined area in the map, and Corresponding coordinate transformation is performed to convert the pixel position into the global coordinate system of the robot to obtain its position coordinates in the global coordinate system.
  • the coordinate conversion operation can also be performed on the robot side.
  • the outline information may include only the defined line information, and may also include outline contour information of the entire defined area.
  • the terminal device when the annotation information is a closed geometric figure drawn in a blank area of the map, the terminal device first selects an area defined by the closed geometric shape as the defined area, and then acquires position information and contour information of the defined area as a limitation. Setting information for the area.
  • the terminal device may also select an area other than the closed geometry as the limited area, or select the area clicked by the user as the limited area, or select an area other than the area where the robot is currently located as the limited area or the like.
  • the location ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 The information includes the position coordinates of the geometric center of the defined area and/or the vertex coordinates of the closed geometry, and the terminal device calculates the pixel position of the defined area in the map and performs corresponding Coordinate transformation, transforming the pixel position into the global coordinate system of the robot to obtain its position coordinates in the global coordinate system.
  • the coordinate conversion operation can also be performed on the robot end.
  • the contour information can be the outline of the entire limited area. That is, the outline of the closed geometry. When the closed geometry is a regular figure such as a circle, a rectangle, a triangle, etc., the outline information can also be just the type of the geometry.
  • the robot receives the setting information of the limited area, and avoids the defined area according to the setting information of the limited area during the moving.
  • the robot receives the setting information of the limited area and stores it, and in the subsequent movement, avoids the defined area according to the setting information of the limited area.
  • the robot performs positioning in real time or timing during the movement process, obtains the current position of the robot, and determines whether the user is approaching the limited area according to the current position and the setting information of the limited area, and when approaching the limited area, timely Adjust the movement route to avoid the restricted area.
  • the robot calculates the distance between the robot and the boundary of the defined area according to the current position of the location and the position information and the contour information of the limited area, and determines whether the distance is less than or equal to the threshold.
  • the threshold is less than or equal to the threshold, It is determined that it is approaching the limited area, so that the moving route bypass is adjusted in time to prevent entry into the limited area.
  • the robot when the distance is less than or equal to the threshold, the robot further determines whether its moving direction is toward the defined area, and determines that it is approaching the defined area when the moving direction is toward the defined area.
  • the robot marks the defined area as an obstacle on the map according to the setting information of the defined area, performs positioning in real time or timing during the moving process, acquires the current position of the current location, and simulates the safety of the sensor to detect the current position. Whether there are obstacles in the range, when there are obstacles, adjust the movement route to avoid the limited area.
  • the robot draws the defined area on the map according to the position information and the contour information of the defined area, and marks the defined area as an obstacle.
  • Positioning in real time or timing during the movement obtaining the current position of the location, and simulating a kind of sensor (such as laser ranging sensor, infrared ranging sensor, etc.) according to the map to the obstacles within the safe range of the current position Detect the situation and combine it with the actual sensor measurement data, and judge whether there is any safety range of the current position according to the processing result.
  • ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 Obstacle when there is an obstacle, indicating that it is about to enter the restricted area, adjust the moving route around in time to prevent entering the restricted area.
  • the terminal device may also directly send the map in which the defined area is set to the robot, that is, the setting information of the defined area is included in the map. After the robot receives the map, it acquires setting information of the limited area according to the map. In the subsequent movement, it is also possible to directly use the map in which the limited area is set to avoid the limited area.
  • the terminal device sets a limited area on the map, and sends the setting information of the limited area to the robot, so that the robot can avoid the limitation according to the setting information of the limited area during the moving process. region. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.
  • a second embodiment of the robot movement control method of the present invention is proposed.
  • the method is applied to the aforementioned robot, and the method includes the following steps:
  • the robot and the terminal device can access the local area network or the Internet through a wireless network (such as ⁇ VIFI), and establish a communication connection, at which time the robot and the terminal device can directly communicate or communicate through the server; the robot and the terminal device can also pass the peer-to-peer
  • the connection method (such as Bluetooth) establishes a communication connection, and the robot communicates directly with the terminal device.
  • the robot sends the drawn map to the terminal device.
  • the robot receives setting information of the limited area and stores the setting information.
  • the setting information includes position information and outline information of the limited area.
  • the robot performs positioning in real time or timing during the movement process, obtains the current position of the robot, and determines whether it is approaching the limited area according to the current position and the setting information of the limited area. When approaching the limited area, the time is timely. Adjust the movement route to avoid the restricted area.
  • the robot according to the current location of the location and the location information and contour information of the limited area ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 Calculate the distance between the robot and the boundary of the limited area, determine whether the distance is less than or equal to the threshold, and when it is less than or equal to the threshold, determine that you are approaching the limited area, so as to Adjusting the moving route to bypass, preventing entry into the defined area. In some embodiments, when the distance is less than or equal to the threshold, the robot further determines whether the moving direction of the robot is toward the defined area, and determines when the moving direction is toward the defined area. Approaching the restricted area by yourself.
  • the robot marks the defined area as an obstacle on the map according to the setting information of the defined area, performs positioning in real time or timing during the moving process, acquires the current position where the user is located, and simulates the safety of the sensor to detect the current position. Whether there are obstacles in the range, when there are obstacles, adjust the movement route to avoid the limited area.
  • the robot draws the defined area on the map according to the position information and the contour information of the defined area, and marks the defined area as an obstacle.
  • Positioning in real time or timing during the movement obtaining the current position of the location, and simulating a kind of sensor (such as laser ranging sensor, infrared ranging sensor, etc.) according to the map to the obstacles within the safe range of the current position Detecting the situation and integrating it with the actual sensor measurement data.
  • it is judged whether there is an obstacle in the safety range of the current position. When there is an obstacle, it indicates that the restricted area is about to enter, and then the moving route bypass is adjusted in time to prevent Enter the restricted area.
  • the robot movement control method of the embodiment transmits the map to the terminal device by the robot, and receives the setting information of the limited area set by the terminal device on the map, and the robot avoids the setting information according to the limited area during the subsequent movement.
  • Limited area Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost.
  • the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal.
  • the device is remotely set up, which extends the application scenario and greatly increases flexibility.
  • a third embodiment of the robot movement control method of the present invention is proposed.
  • the method is applied to the foregoing terminal device, and the method includes the following steps:
  • the terminal device and the robot can access the local area network or the Internet through a wireless network (such as WIFI), and establish a communication connection.
  • a wireless network such as WIFI
  • the terminal device and the robot can directly communicate or communicate through the server; the terminal device and the robot can also be connected through a point-to-point connection.
  • Way (such as Bluetooth) to establish a communication connection, at this point ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 Direct communication between the end device and the robot.
  • the robot sends a map to the terminal device, and the terminal device receives the map and saves it.
  • the terminal device displays the map on the screen, and the user can specify a limited area on the map that prohibits the robot from entering. Specifically, the user operates on the map, such as drawing a limit line between two points on the boundary of the map (representing that the robot cannot cross the limit line), and drawing a closed geometric figure in a blank area of the map (representing that the robot cannot enter the map) Graphic area), etc., the terminal device generates annotation information on the map according to the user operation, the annotation information is a defined line drawn between two boundaries on the map, and a closed geometric figure (such as a rectangle drawn in a blank area of the map) , circle, triangle, etc.), and determine the defined area based on the annotation information.
  • the defined area may be one or at least two.
  • the terminal device first selects one of the two regions on both sides of the defined line as the defined area, such as the user.
  • the clicked area is selected as the limited area, and the area on the other side of the area where the robot is currently located is automatically selected as the limited area, and then the position information and the outline information of the limited area are acquired as the setting information of the limited area.
  • the position information includes position coordinates of a geometric center defining a region, position coordinates of an intersection of a defined line and a boundary, and/or position coordinates of a turning point defining a line
  • the terminal device calculates a pixel position of the defined area in the map, and Corresponding coordinate transformation is performed to convert the pixel position into the global coordinate system of the robot to obtain its position coordinates in the global coordinate system.
  • the outline information may include only the defined line information, and may also include outline information of the entire defined area.
  • the terminal device when the annotation information is a closed geometry drawn in a blank area of the map, the terminal device first selects an area defined by the closed geometry as the defined area, and then acquires position information and contour information of the defined area as a limitation. Setting information for the area.
  • the terminal device may also select an area other than the closed geometry as the limited area, or select the area clicked by the user as the limited area, or select an area other than the area where the robot is currently located as the limited area or the like.
  • the position information includes a position coordinate of a geometric center of the defined area and/or a vertex coordinate of the closed geometry
  • the terminal device calculates a pixel position of the defined area in the map, and performs corresponding coordinate conversion to convert the pixel position to In the global coordinate system of the robot, obtain its position coordinates in the global coordinate system ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438
  • the contour information can be the contour of the entire defined area, ie the contour of the closed geometry.
  • the outline information can also be just the type of the geometric figure.
  • the terminal device directly transmits the location information of the limited area to the robot or sends the information to the robot through the server
  • the terminal device may also directly transmit the map in which the limited area is set to the robot, that is, the setting information of the defined area is included in the map.
  • the limited area is set on the map by the terminal device, and the setting information of the limited area is sent to the robot, so that the robot can avoid the limited area according to the setting information of the limited area during the moving process. . Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.
  • the defined area is avoided according to the setting information of the defined area. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.
  • the system includes a robot 10 and a terminal device 20, wherein: the robot 10 is arranged to transmit a map to the terminal device 20; the terminal device 20 is set to The map is received, a limited area is set on the map, and setting information of the limited area is transmitted to the robot 10; the robot 10 is further configured to receive setting information of the limited area, and avoid the limited area according to the setting information of the limited area during the moving.
  • the robot 10 and the terminal device 20 can access a local area network or the Internet through a wireless network (such as ⁇ VIFI), and establish a communication connection, at which time the robot 10 and the terminal device 20 can directly communicate or communicate through the server; the robot 10 and the terminal The device 20 can also establish a communication connection through a point-to-point connection (e.g., Bluetooth), at which point the robot 10 communicates directly with the terminal device 20.
  • the terminal device 20 is preferably a mobile terminal such as a mobile phone or a tablet, or may be a computer terminal such as a personal computer or a notebook computer. ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438
  • the robot 10 transmits the drawn map to the terminal device 20.
  • the terminal device 20 After the terminal device 20 receives the map, the map is displayed on the screen, and the user can designate a limited area on the map that prohibits the robot 10 from entering. Specifically, the user operates on the map, such as drawing a limit line between two points on the boundary of the map (representing that the robot 10 cannot traverse the limit line), and drawing a closed geometric figure in a blank area of the map (representing the robot 10 not Entering the graphics area, etc., the terminal device 20 generates annotation information on the map according to the user operation, where the annotation information is a defined line drawn between two boundaries on the map, and a closed geometry drawn in a blank area of the map. Graphics (such as rectangles, circles, triangles, etc.), etc., and determine the defined area based on the annotation information.
  • the defined area may be one or at least two.
  • the terminal device 20 first selects one of the two regions on both sides of the defined line as the defined region, as The area clicked by the user is selected as the limited area, the area on the other side of the area where the robot 10 is currently located is selected as the limited area, and the position information and the contour information of the limited area are acquired as the setting information of the limited area.
  • the position information includes position coordinates of a geometric center defining a region, position coordinates of an intersection of a defined line and a boundary, and/or position coordinates of a turning point defining a line
  • the terminal device 20 calculates a pixel position of the defined area in the map, Corresponding coordinate transformation is performed, and the pixel position is converted into the global coordinate system of the robot 10 to obtain the position coordinates thereof in the global coordinate system.
  • the outline information may include only the defined line information, and may also include outline information of the entire defined area.
  • the terminal device 20 when the annotation information is a closed geometry drawn in a blank area of the map, the terminal device 20 first selects an area defined by the closed geometry as the defined area, and then acquires position information and contour information of the defined area as The setting information of the limited area. In some embodiments, the terminal device 20 may select an area other than the closed geometry as the defined area, or select the area clicked by the user as the limited area, or select an area other than the area where the robot 10 is currently located as the limited area. .
  • the position information includes position coordinates of a geometric center of the defined area and/or vertex coordinates of the closed geometry, and the terminal device 20 calculates a pixel position of the defined area in the map, and performs corresponding coordinate conversion to convert the pixel position In the global coordinate system of the robot 10, its position coordinates in the global coordinate system are obtained.
  • the contour information can be the contour of the entire defined area, ie the contour of the closed geometry. ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 When the closed geometry is a regular graphic such as a circle, a rectangle, a triangle, etc., the contour information can also be just the type of the geometry.
  • the robot 10 receives the setting information of the limited area and stores it, and in the subsequent movement, the limited area is avoided according to the setting information of the limited area.
  • the robot 10 performs positioning in real time or timing during the movement process, acquires the current position where it is located, and determines whether it is approaching the limited area according to the current position and the setting information of the limited area.
  • the robot 10 calculates the distance between the robot 10 and the boundary of the defined area according to the current position of the location and the position information and the contour information of the limited area, and determines whether the distance is less than or equal to the threshold, when less than or equal to the threshold. Then, it is determined that it is approaching the limited area, so that the moving route bypass is adjusted in time to prevent entry into the limited area. In some embodiments, when the distance is less than or equal to the threshold, the robot 10 further determines whether its moving direction is toward the defined area, and determines that it is approaching the defined area when the moving direction is toward the defined area.
  • the robot 10 marks the defined area as an obstacle on the map according to the setting information of the defined area, performs positioning in real time or timing during the moving process, acquires the current position where the user is located, and simulates the current position of the sensor. Whether there are obstacles in the safe range, when there are obstacles, adjust the movement route to avoid the limited area.
  • the robot 10 draws the defined area on the map according to the position information and the outline information of the defined area, and marks the defined area as an obstacle. Positioning in real time or timing during the movement, obtaining the current position of the location, and simulating a kind of sensor (such as laser ranging sensor, infrared ranging sensor, etc.) according to the map to the obstacles within the safe range of the current position Detecting the situation and integrating it with the actual sensor measurement data. According to the processing result, it is judged whether there is an obstacle in the safety range of the current position. When there is an obstacle, it indicates that the restricted area is about to enter, and then the moving route bypass is adjusted in time to prevent Enter the restricted area.
  • a kind of sensor such as laser ranging sensor, infrared ranging sensor, etc.
  • the terminal device 20 may also directly transmit a map in which the limited area is set to the robot 10, that is, the setting information of the defined area is included in the map.
  • the blog account obtains the setting information of the limited area according to the map.
  • the map in which the limited area is set may also be directly used to avoid the limited area.
  • the robot 10 movement control system of the embodiment of the present invention sets a limited area on the map by the terminal device 20, and transmits setting information of the limited area to the robot 10, so that the robot 10 can be set according to the limited area during the moving process.
  • Information avoids restricted areas. Since the limited area is set on the map, the additional sensor and the corresponding triggering device are not needed, which greatly reduces the implementation cost.
  • the user can adjust the limited area on the map through the terminal device 20 at any time, which is very convenient and fast, and can be adopted.
  • the terminal device 20 performs remote setting, which expands the application scenario and greatly improves flexibility.
  • the robot includes a sending module 100, a receiving module 200, and a motion control module 300, where: the sending module 100 is configured to send a map to the terminal device; and the receiving module 200 And setting the receiving information of the limited area on the map sent by the terminal device; the motion control module 300 is configured to avoid the defined area according to the setting information of the limited area during the moving process.
  • the motion control module 300 includes a positioning unit 310, a determining unit 320, and an evasion unit 330, where: the positioning unit 310 is configured to perform positioning in real time or timing during the moving process, The determining unit 320 is configured to determine whether the robot approaches the defined area according to the current position and the setting information of the limited area; the avoiding unit 330 is configured to adjust the moving route to avoid the defined area when the robot approaches the defined area.
  • the determining unit 320 calculates the distance between the robot and the boundary of the defined area according to the current position of the robot and the position information and the contour information of the defined area, and determines whether the distance is less than or equal to the threshold, and when less than or equal to the threshold, determines The robot approaches the defined area, and the avoidance unit 330 adjusts the movement route bypass in time to prevent entry into the limited area. In some embodiments, when the distance is less than or equal to the threshold, the determining unit 320 further determines whether the moving direction of the self is toward the defined area, and determines that the self is approaching the defined area when the moving direction is toward the defined area.
  • the motion control module 300 includes a marking unit 340, a positioning unit 310, a detecting unit 350, and an avoiding unit 330, wherein: the marking unit 340 is configured to be defined according to setting information of the defined area. The area is marked as an obstacle on the map; the positioning unit 310 is configured to perform real-time or timed positioning during the moving process to obtain the current position where the user is located; and the detecting unit 350 is configured to detect whether the analog sensor detects the current position within the safe range.
  • the obstacle; the avoiding unit 330 is configured to adjust the moving route to avoid the defined area when there is an obstacle.
  • the marking unit 340 draws the defined area according to the position information and the contour information of the defined area. ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438 on the map, and mark the restricted area as an obstacle.
  • the positioning unit 310 performs positioning in real time or timing to obtain the current position where it is located, and the detecting unit 350
  • a sensor such as a distance measuring sensor
  • the obstacle when there is an obstacle, indicates that the restricted area is about to enter, and the avoiding unit 330 adjusts the moving route bypass in time to prevent entry into the limited area.
  • the terminal device may also directly send the map in which the limited area is set to the robot, that is, the setting information of the defined area is included in the map.
  • the receiving module 200 acquires the setting information of the limited area according to the map.
  • the motion control module 300 can also directly use the map with the defined area to avoid the defined area.
  • the robot of the embodiment of the present invention by transmitting the map to the terminal device and receiving the setting information of the limited area set by the terminal device on the map, enables the robot to avoid the limitation according to the setting information of the limited area during the subsequent moving process. region. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.
  • the embodiment of the present invention is based on the current status of the virtual wall solution, considering that mobile terminals (such as mobile phones, tablet computers, etc.) have been greatly popularized, and most of the cleaning robots have the function of data interaction with the mobile terminal.
  • a method for setting a limited area (virtual wall) for a cleaning robot through a terminal device such as a mobile terminal is proposed, which can reduce the production cost of the cleaning robot and provide a flexible setting method for the user to define a region (virtual wall). , remote settings can be made anytime, anywhere.
  • the present invention includes apparatus related to performing one or more of the operations described herein.
  • These devices may be specially designed and manufactured for the required purposes, or may also include known devices in a general purpose computer.
  • These devices have computer programs stored therein that are selectively activated or reconfigured.
  • Such computer programs may be stored in a device (eg, computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus, including but not limited to any Type of disk (including floppy disk, hard disk, CD, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory, read-only memory ⁇ 0 2019/100269 ⁇ (:17 ⁇ 2017/112438
  • RAM Random Access Memory
  • EPROM Erasable Programmable Read-Only
  • a readable medium includes any medium that is stored or transmitted by a device (e.g., a computer) in a readable form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

Disclosed are a robot movement control method and system and a robot. The method comprises the following steps: the robot sending a map to a terminal device; the terminal device receiving the map, setting a restricted area on the map, and sending setting information of the restricted area to the robot; and the robot receiving the setting information of the restricted area, and avoiding the restricted area in a moving process according to the setting information of the restricted area. Since the restricted area is set on the map, no additional sensor and corresponding triggering device is needed, greatly reducing the realization cost; and a user can adjust the restricted area on the map at any time by means of the terminal device in a very convenient and quick manner, and can remotely set the restricted area by means of the terminal device, expanding application scenarios and greatly improving flexibility.

Description

\¥0 2019/100269 卩(:17 \2017/112438  \¥0 2019/100269 卩(:17 \2017/112438

机器人移动控制方法、 系统和机器人 技术领域 Robot movement control method, system and robot

[0001] 本发明涉及机器人技术领域, 特别是涉及到一种机器人移动控制方法、 系统和 机器人。  [0001] The present invention relates to the field of robot technology, and in particular, to a robot movement control method, system, and robot.

背景技术  Background technique

[0002] 随着科技的不断发展, 清洁类机器人产品已经进入了千家万户, 给用户带来了 极大的便利。 然而在家庭清扫过程中, 由于各种因素, 会存在某些区域用户不 想让机器人进入的情形。 为了解决这个问题, 人们采用虚拟墙的方法限制机器 人的移动区域, 在不想让机器人进入的区域设置一道虚拟墙作为限定区域, 使 得机器人可以避开限定区域。  [0002] With the continuous development of technology, clean robot products have entered thousands of households, bringing great convenience to users. However, during the home cleaning process, due to various factors, there are situations in which some users do not want the robot to enter. In order to solve this problem, the virtual wall method is used to limit the moving area of the robot, and a virtual wall is set as a limited area in the area where the robot is not required to enter, so that the robot can avoid the limited area.

[0003] 现有的虚拟墙方案都是以提供某种触发信号来实现的, 当清洁机器人接收到这 种触发信号后, 就进行相应的动作, 从而避免进入限定区域。 普遍采用的触发 信号有: 磁场信号, 通过在地面上铺设磁条作为虚拟墙, 这种是最常见的处理 方式; 红外信号, 由一个或多个红外线发射装置发射红外信号作为虚拟墙。  [0003] The existing virtual wall solutions are all implemented by providing a certain trigger signal. When the cleaning robot receives the trigger signal, the corresponding action is performed to avoid entering the limited area. Commonly used trigger signals are: Magnetic field signals, which are the most common processing method by laying magnetic strips on the ground as virtual walls; infrared signals, which are emitted by one or more infrared emitting devices as virtual walls.

[0004] 现有的机器人移动控制方案虽然实现了对机器人移动区域的限制, 但是都必须 额外增加传感器 (如磁场传感器、 红外传感器等) 以及相应的触发设备 (如磁 条、 红外线发射装置等) , 大大增加了实现成本; 同时, 如果用户需要对限定 区域进行调整, 就必须人为地移动触发设备, 比较麻烦, 且此种情形下无法进 行远程控制, 限制了使用场景。  [0004] Although the existing robot movement control scheme realizes the limitation of the moving area of the robot, it is necessary to additionally add sensors (such as magnetic field sensors, infrared sensors, etc.) and corresponding triggering devices (such as magnetic strips, infrared emitting devices, etc.). The implementation cost is greatly increased. At the same time, if the user needs to adjust the limited area, the trigger device must be manually moved, which is troublesome, and the remote control cannot be performed in this case, which limits the use scenario.

[0005] 综上所述可知, 现有的机器人移动控制方案成本较高, 灵活性较差, 用户体验 不佳。  [0005] In summary, the existing robot mobile control scheme has higher cost, less flexibility, and poor user experience.

技术问题  technical problem

[0006] 本发明的主要目的为提供一种机器人移动控制方法、 系统和机器人, 旨在解决 现有的机器人移动控制方案成本高、 灵活性差的技术问题。  The main object of the present invention is to provide a robot movement control method, system and robot, which aim to solve the technical problem of high cost and poor flexibility of the existing robot movement control scheme.

问题的解决方案  Problem solution

技术解决方案 \¥0 2019/100269 卩(:17 \2017/112438 Technical solution \¥0 2019/100269 卩(:17 \2017/112438

[0007] 为达以上目的, 本发明实施例提出一种机器人移动控制方法, 所述方法包括以 下步骤: [0007] In order to achieve the above objective, an embodiment of the present invention provides a robot movement control method, where the method includes the following steps:

[0008] 机器人向终端设备发送地图;  [0008] the robot sends a map to the terminal device;

[0009] 所述终端设备接收所述地图, 在所述地图上设置限定区域, 并向所述机器人发 送所述限定区域的设置信息;  [0009] the terminal device receives the map, sets a defined area on the map, and sends setting information of the limited area to the robot;

[0010] 所述机器人接收所述限定区域的设置信息, 在移动过程中根据所述限定区域的 设置信息避开所述限定区域。  [0010] The robot receives the setting information of the defined area, and avoids the defined area according to the setting information of the limited area during the moving process.

[0011] 可选地, 所述在所述地图上设置限定区域的步骤包括:  [0011] Optionally, the step of setting a limited area on the map includes:

[0012] 根据用户操作在所述地图上生成标注信息;  [0012] generating annotation information on the map according to a user operation;

[0013] 根据所述标注信息确定限定区域。  [0013] determining a defined area according to the annotation information.

[0014] 可选地, 所述标注信息为在所述地图边界上的两个点之间绘制的限定线, 所述 根据所述标注信息确定限定区域的步骤包括:  [0014] Optionally, the labeling information is a defined line drawn between two points on the map boundary, and the determining the defined area according to the labeling information includes:

[0015] 在所述限定线两侧的两个区域中选取一个区域作为限定区域;  [0015] selecting one of the two regions on both sides of the defined line as the defined region;

[0016] 获取所述限定区域的位置信息和限定线信息作为所述限定区域的设置信息。  [0016] acquiring location information and defined line information of the defined area as setting information of the defined area.

[0017] 可选地, 所述标注信息为在所述地图的空白区域绘制的封闭几何图形, 所述根 据所述标注信息确定限定区域的步骤包括: [0017] Optionally, the labeling information is a closed geometric figure drawn in a blank area of the map, and the determining the defined area according to the labeling information comprises:

[0018] 选取所述封闭几何图形所限定的区域作为限定区域;  [0018] selecting a region defined by the closed geometry as a defined region;

[0019] 获取所述限定区域的位置信息和轮廓信息作为所述限定区域的设置信息。  [0019] acquiring position information and contour information of the defined area as setting information of the defined area.

[0020] 可选地, 所述在移动过程中根据所述限定区域的设置信息避开所述限定区域的 步骤包括:  [0020] Optionally, the step of avoiding the defined area according to the setting information of the defined area during the moving process includes:

[0021] 在移动过程中获取当前位置;  [0021] acquiring a current location during the movement;

[0022] 根据所述当前位置和所述限定区域的设置信息判断所述机器人是否逼近所述限 定区域;  [0022] determining, according to the current location and the setting information of the defined area, whether the robot approaches the limited area;

[0023] 当所述机器人逼近所述限定区域时, 调整移动路线以避开所述限定区域。  [0023] When the robot approaches the defined area, the moving path is adjusted to avoid the defined area.

[0024] 可选地, 所述在移动过程中根据所述限定区域的设置信息避开所述限定区域的 步骤包括:  [0024] Optionally, the step of avoiding the defined area according to the setting information of the defined area during the moving process includes:

[0025] 根据所述限定区域的设置信息将所述限定区域作为障碍物标记在地图上; [0025] marking the defined area as an obstacle on the map according to the setting information of the defined area;

[0026] 在移动过程中获取当前位置; \¥0 2019/100269 卩(:17 \2017/112438 Obtaining a current location during the movement; \¥0 2019/100269 卩(:17 \2017/112438

[0027] 检测当前位置的安全范围内是否有障碍物; [0027] detecting whether there is an obstacle in the safe range of the current location;

[0028] 当有障碍物时, 调整移动路线以避开所述限定区域。  [0028] When there is an obstacle, the movement route is adjusted to avoid the defined area.

[0029] 本发明实施例还提出一种机器人移动控制方法, 所述方法应用于前述机器人, 包括以下步骤:  [0029] An embodiment of the present invention further provides a robot movement control method, where the method is applied to the foregoing robot, including the following steps:

[0030] 向终端设备发送地图;  [0030] transmitting a map to the terminal device;

[0031] 接收所述终端设备发送的所述地图上的限定区域的设置信息;  [0031] receiving setting information of a limited area on the map sent by the terminal device;

[0032] 在移动过程中根据所述限定区域的设置信息避开所述限定区域。  [0032] The defined area is avoided according to the setting information of the defined area during the moving process.

[0033] 可选地, 所述在移动过程中根据所述限定区域的设置信息避开所述限定区域的 步骤包括:  [0033] Optionally, the step of avoiding the defined area according to the setting information of the defined area during the moving process includes:

[0034] 在移动过程中获取当前位置;  [0034] acquiring a current location during the movement;

[0035] 根据所述当前位置和所述限定区域的设置信息判断所述机器人是否逼近所述限 定区域;  [0035] determining, according to the current location and the setting information of the defined area, whether the robot approaches the limited area;

[0036] 当所述机器人逼近所述限定区域时, 调整移动路线以避开所述限定区域。  [0036] When the robot approaches the defined area, the moving route is adjusted to avoid the defined area.

[0037] 可选地, 所述在移动过程中根据所述限定区域的设置信息避开所述限定区域的 步骤包括:  [0037] Optionally, the step of avoiding the defined area according to the setting information of the defined area during the moving process includes:

[0038] 根据所述限定区域的设置信息将所述限定区域作为障碍物标记在地图上; [0038] marking the defined area as an obstacle on the map according to the setting information of the defined area;

[0039] 在移动过程中获取当前位置; [0039] obtaining a current location during the movement;

[0040] 检测当前位置的安全范围内是否有障碍物;  [0040] detecting whether there is an obstacle in the safe range of the current location;

[0041] 当有障碍物时, 调整移动路线以避开所述限定区域。  [0041] When there is an obstacle, the movement route is adjusted to avoid the defined area.

[0042] 可选地, 所述限定区域的设置信息包括所述限定区域的位置信息和轮廓信息。  [0042] Optionally, the setting information of the defined area includes location information and contour information of the defined area.

[0043] 本发明实施例同时提出一种机器人移动控制系统, 所述系统包括机器人和终端 设备, 其中:  [0043] Embodiments of the present invention simultaneously provide a robot movement control system, the system including a robot and a terminal device, wherein:

[0044] 所述机器人, 设置为向终端设备发送地图;  [0044] the robot is configured to send a map to the terminal device;

[0045] 所述终端设备, 设置为接收所述地图, 在所述地图上设置限定区域, 并向所述 机器人发送所述限定区域的设置信息;  [0045] the terminal device is configured to receive the map, set a defined area on the map, and send setting information of the limited area to the robot;

[0046] 所述机器人还设置为: 接收所述限定区域的设置信息, 在移动过程中根据所述 限定区域的设置信息避开所述限定区域。  [0046] The robot is further configured to: receive setting information of the defined area, and avoid the defined area according to setting information of the defined area during the moving process.

[0047] 可选地, 所述终端设备设置为: 根据用户操作在所述地图上生成标注信息, 根 \¥0 2019/100269 卩(:17 \2017/112438 据所述标注信息确定限定区域。 [0047] Optionally, the terminal device is configured to: generate annotation information on the map according to a user operation, where \¥0 2019/100269 卩(:17 \2017/112438 Determine the restricted area based on the labeling information.

[0048] 可选地, 所述标注信息为在所述地图边界上的两个点之间绘制的限定线, 所述 终端设备设置为:  [0048] Optionally, the annotation information is a defined line drawn between two points on the boundary of the map, and the terminal device is configured to:

[0049] 在所述限定线两侧的两个区域中选取一个区域作为限定区域, 获取所述限定区 域的位置信息和限定线信息作为所述限定区域的设置信息。  [0049] One of the two areas on both sides of the defined line is selected as a defined area, and position information and defined line information of the defined area are acquired as setting information of the defined area.

[0050] 可选地, 所述标注信息为在所述地图的空白区域绘制的封闭几何图形, 所述终 端设备设置为: 选取所述封闭几何图形所限定的区域作为限定区域, 获取所述 限定区域的位置信息和轮廓信息作为所述限定区域的设置信息。  [0050] Optionally, the labeling information is a closed geometric figure drawn in a blank area of the map, and the terminal device is configured to: select an area defined by the closed geometric figure as a defined area, and obtain the limitation The location information and the outline information of the area serve as setting information of the limited area.

[0051] 可选地, 所述机器人设置为: 在移动过程中获取当前位置; 根据所述当前位置 和所述限定区域的设置信息判断所述机器人是否逼近所述限定区域; 当所述机 器人逼近所述限定区域时, 调整移动路线以避开所述限定区域。  [0051] Optionally, the robot is configured to: acquire a current position during the moving process; determine, according to the current position and the setting information of the defined area, whether the robot approaches the defined area; when the robot approaches When the area is defined, the movement route is adjusted to avoid the defined area.

[0052] 可选地, 所述机器人设置为: 根据所述限定区域的设置信息将所述限定区域作 为障碍物标记在地图上; 在移动过程中获取当前位置; 检测当前位置的安全范 围内是否有障碍物; 当有障碍物时, 调整移动路线以避开所述限定区域。  [0052] Optionally, the robot is configured to: mark the defined area as an obstacle on the map according to the setting information of the defined area; acquire a current position during the moving; and detect whether the current position is within a safe range Obstacle; when there is an obstacle, adjust the movement route to avoid the defined area.

[0053] 本发明实施例同时提出一种机器人, 所述装置应用于前述机器人, 包括: [0053] Embodiments of the present invention simultaneously provide a robot, and the device is applied to the foregoing robot, and includes:

[0054] 发送模块, 设置为向终端设备发送地图; [0054] a sending module, configured to send a map to the terminal device;

[0055] 接收模块, 设置为接收所述终端设备发送的所述地图上的限定区域的设置信息  [0055] a receiving module, configured to receive setting information of a limited area on the map sent by the terminal device

[0056] 运动控制模块, 设置为在移动过程中根据所述限定区域的设置信息避开所述限 定区域。 [0056] The motion control module is configured to avoid the limited area according to the setting information of the limited area during the moving.

[0057] 可选地, 所述运动控制模块包括:  [0057] Optionally, the motion control module includes:

[0058] 定位单元, 设置为在移动过程中获取当前位置;  [0058] a positioning unit configured to acquire a current position during the moving process;

[0059] 判断单元, 设置为根据所述当前位置和所述限定区域的设置信息判断所述机器 人是否逼近所述限定区域;  [0059] the determining unit is configured to determine, according to the current location and the setting information of the limited area, whether the robot approaches the defined area;

[0060] 躲避单元, 设置为当所述机器人逼近所述限定区域时, 调整移动路线以避开所 述限定区域。  [0060] The avoidance unit is configured to adjust the movement route to avoid the defined area when the robot approaches the defined area.

[0061] 可选地, 所述运动控制模块包括:  [0061] Optionally, the motion control module includes:

[0062] 标记单元, 设置为根据所述限定区域的设置信息将所述限定区域作为障碍物标 \¥0 2019/100269 卩(:17 \2017/112438 记在地图上; [0062] a marking unit configured to set the defined area as an obstacle object according to setting information of the defined area \¥0 2019/100269 卩(:17 \2017/112438 is recorded on the map;

[0063] 定位单元, 设置为在移动过程中获取当前位置;  [0063] a positioning unit configured to acquire a current location during the moving process;

[0064] 检测单元, 设置为模检测当前位置的安全范围内是否有障碍物;  [0064] the detecting unit is configured to detect whether there is an obstacle in a safe range of the current position;

[0065] 躲避单元, 设置为当有障碍物时, 调整移动路线以避开所述限定区域。  [0065] The avoidance unit is configured to adjust the movement route to avoid the defined area when there is an obstacle.

发明的有益效果  Advantageous effects of the invention

有益效果  Beneficial effect

[0066] 本发明实施例所提供的一种机器人移动控制方法, 通过终端设备在地图上设置 限定区域, 并将限定区域的设置信息发送给机器人, 使得机器人在移动过程中 可以根据限定区域的设置信息避开限定区域。 由于限定区域是在地图上设置的 , 因此无需额外增加传感器以及相应的触发设备, 大大降低了实现成本; 同时 , 用户可以随时通过终端设备在地图上调整限定区域, 非常方便快捷, 并可以 通过终端设备进行远程设置, 扩展了应用场景, 极大的提高了灵活性。  [0066] A robot movement control method provided by an embodiment of the present invention provides a limited area on a map by a terminal device, and sends setting information of the limited area to the robot, so that the robot can be set according to the limited area during the moving process. Information avoids restricted areas. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.

对附图的简要说明  Brief description of the drawing

附图说明  DRAWINGS

[0067] 图 1是本发明的机器人移动控制方法第一实施例的流程图;  1 is a flow chart of a first embodiment of a robot movement control method of the present invention;

[0068] 图 2是本发明的机器人移动控制方法第二实施例的流程图;  2 is a flow chart of a second embodiment of a robot movement control method of the present invention;

[0069] 图 3是本发明的机器人移动控制方法第三实施例的流程图;  3 is a flowchart of a third embodiment of a robot movement control method of the present invention;

[0070] 图 4是本发明的机器人移动控制系统一实施例的模块示意图;  4 is a block diagram showing an embodiment of a robot movement control system of the present invention;

[0071] 图 5是本发明的机器人一实施例的模块示意图;  [0071] FIG. 5 is a block diagram of an embodiment of a robot of the present invention;

[0072] 图 6是图 5中的运动控制模块的模块示意图;  6 is a block diagram of the motion control module of FIG. 5;

[0073] 图 7是图 5中的运动控制模块的又一模块示意图。  7 is a block diagram of still another module of the motion control module of FIG. 5.

[0074] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。  [0074] The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings.

实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION

本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION

[0075] 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发 明。  The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0076] 下面详细描述本发明的实施例, 所述实施例的示例在附图中示出, 其中自始至 \¥0 2019/100269 卩(:17 \2017/112438 终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。 下 面通过参考附图描述的实施例是示例性的, 仅用于解释本发明, 而不能解释为 对本发明的限制。 [0076] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, \¥0 2019/100269 卩 (: 17 \ 2017/112438 The same or similar reference numerals denote the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are exemplified, only It is intended to explain the invention and is not to be construed as limiting the invention.

[0077] 本技术领域技术人员可以理解, 除非特意声明, 这里使用的单数形式“一”、 “ 一个”、 “所述”和“该”也可包括复数形式。 应该进一步理解的是, 本发明的说明 书中使用的措辞“包括”是指存在所述特征、 整数、 步骤、 操作、 元件和 /或组件 , 但是并不排除存在或添加一个或多个其他特征、 整数、 步骤、 操作、 元件、 组件和 /或它们的组。 应该理解, 当我们称元件被“连接”或“耦接”到另一元件时 , 它可以直接连接或耦接到其他元件, 或者也可以存在中间元件。 此外, 这里 使用的“连接”或“稱接”可以包括无线连接或无线耦接。 这里使用的措辞“和 /或”包 括一个或更多个相关联的列出项的全部或任一单元和全部组合。  The singular forms "a", "an", "the" It will be further understood that the phrase "comprising", used in the <RTI ID=0.0> </ RTI> <RTI ID=0.0> </ RTI> </ RTI> is intended to mean the presence of the features, integers, steps, operations, components and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, components, components, and/or their groups. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element. In addition, "connected" or "called" as used herein may include a wireless connection or a wireless coupling. The phrase "and/or" used herein includes all or any of the elements and all combinations of one or more of the associated listed.

[0078] 本技术领域技术人员可以理解, 除非另外定义, 这里使用的所有术语 (包括技 术术语和科学术语) , 具有与本发明所属领域中的普通技术人员的一般理解相 同的意义。 还应该理解的是, 诸如通用字典中定义的那些术语, 应该被理解为 具有与现有技术的上下文中的意义一致的意义, 并且除非像这里一样被特定定 义, 否则不会用理想化或过于正式的含义来解释。  [0078] Those skilled in the art will appreciate that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. It should also be understood that terms such as those defined in a general dictionary should be understood to have meaning consistent with the meaning in the context of the prior art, and will not be idealized or excessive unless specifically defined as here. The formal meaning is explained.

[0079] 本发明实施例所述的机器人, 主要指清洁类机器人, 当然也可以是其它类型的 机器人, 本发明对此不作限定。  The robots in the embodiments of the present invention are mainly referred to as cleaning robots, and may be other types of robots, which are not limited by the present invention.

[0080] 参照图 1, 提出本发明的机器人移动控制方法第一实施例, 所述方法包括以下 步骤:  [0080] Referring to FIG. 1, a first embodiment of a robot movement control method of the present invention is proposed, and the method includes the following steps:

[0081] 311、 机器人向终端设备发送地图。  [0081] 311. The robot sends a map to the terminal device.

[0082] 机器人通过激光雷达、 视觉传感器等传感设备中的任意一种或至少两种的组合 测量目标地点, 绘制出目标地点的地图。 机器人与终端设备可以通过无线网络 (如 \VIFI) 接入局域网或互联网, 并建立通信连接, 此时机器人与终端设备可 以直接通信或者通过服务器进行通信; 机器人与终端设备也可以通过点对点连 接方式 (如蓝牙) 建立通信连接, 此时机器人与终端设备之间直接通信。 当建 立通信连接后, 机器人则向终端设备发送绘制的地图。  [0082] The robot measures the target location by any one or a combination of at least two types of sensing devices such as a laser radar, a visual sensor, and the like, and draws a map of the target location. The robot and the terminal device can access the local area network or the Internet through a wireless network (such as \VIFI), and establish a communication connection. At this time, the robot and the terminal device can directly communicate or communicate through the server; the robot and the terminal device can also be connected through a point-to-point connection ( For example, Bluetooth establishes a communication connection, in which case the robot communicates directly with the terminal device. When a communication connection is established, the robot sends the drawn map to the terminal device.

[0083] 所述终端设备优选手机、 平板等移动终端, 也可以是个人电脑、 笔记本电脑等 \¥0 2019/100269 卩(:17 \2017/112438 计算机终端。 [0083] The terminal device is preferably a mobile terminal such as a mobile phone or a tablet, and may also be a personal computer, a notebook computer, or the like. \¥0 2019/100269 卩(:17 \2017/112438 Computer terminal.

[0084] 812. 终端设备接收地图, 在地图上设置限定区域, 并向机器人发送限定区域 的设置信息。  [0084] 812. The terminal device receives the map, sets a limited area on the map, and transmits setting information of the limited area to the robot.

[0085] 终端设备接收到地图后, 在屏幕上显示该地图, 用户则可以在地图上指定禁止 机器人进入的限定区域。 具体的, 用户在地图上进行操作, 如在地图边界上的 两个点之间划一条限定线 (代表机器人不可穿越该限定线) 、 在地图的空白区 域画封闭几何图形 (代表机器人不可进入该图形区域) 等, 终端设备则根据用 户操作在地图上生成标注信息, 所述标注信息即在地图上的两个边界之间绘制 的限定线、 在地图的空白区域绘制的封闭几何图形 (如矩形、 圆形、 三角形等 ) 等, 并根据标注信息确定限定区域。 所述限定区域可以为一个, 也可以至少 两个。 前述限定线、 封闭几何图形的轮廓则为用户自定义设置的虚拟墙。  [0085] After the terminal device receives the map, the map is displayed on the screen, and the user can specify a limited area on the map that prohibits the robot from entering. Specifically, the user operates on the map, such as drawing a limit line between two points on the boundary of the map (representing that the robot cannot cross the limit line), and drawing a closed geometric figure in a blank area of the map (representing that the robot cannot enter the map) Graphic area), etc., the terminal device generates annotation information on the map according to the user operation, the annotation information is a defined line drawn between two boundaries on the map, and a closed geometric figure (such as a rectangle drawn in a blank area of the map) , circle, triangle, etc.), and determine the defined area based on the annotation information. The defined area may be one or at least two. The contours of the aforementioned defined lines and closed geometry are user-defined virtual walls.

[0086] 可选地, 当标注信息为在地图边界上的两个点之间绘制的限定线时, 终端设备 首先在限定线两侧的两个区域中选取一个区域作为限定区域, 如将用户点击的 区域选取为限定区域, 将机器人当前所在的区域的另一侧的区域自动选取为限 定区域等, 然后获取限定区域的位置信息和轮廓信息作为限定区域的设置信息 。 当机器人刚好位于用户选择的区域内时, 终端设备可以对用户进行提醒, 提 示用户重新选择或将机器人移出该区域。  [0086] Optionally, when the annotation information is a defined line drawn between two points on the boundary of the map, the terminal device first selects one of the two areas on both sides of the defined line as the defined area, such as the user. The clicked area is selected as the limited area, and the area on the other side of the area where the robot is currently located is automatically selected as the limited area, and then the position information and the outline information of the limited area are acquired as the setting information of the limited area. When the robot is located within the area selected by the user, the terminal device can alert the user to prompt the user to reselect or move the robot out of the area.

[0087] 所述位置信息包括限定区域的几何中心的位置坐标、 限定线与边界的交点的位 置坐标和/或限定线的转折点的位置坐标, 终端设备计算限定区域在地图中的像 素位置, 并进行对应的坐标转换, 将像素位置转换到机器人的全局坐标系中, 获得其在全局坐标系中的位置坐标, 当然坐标转换的操作也可以在机器人端进 行。 所述轮廓信息可以仅包括限定线信息, 也可以包括整个限定区域的外形轮 廓信息。  [0087] the position information includes position coordinates of a geometric center defining a region, position coordinates of an intersection of a defined line and a boundary, and/or position coordinates of a turning point defining a line, and the terminal device calculates a pixel position of the defined area in the map, and Corresponding coordinate transformation is performed to convert the pixel position into the global coordinate system of the robot to obtain its position coordinates in the global coordinate system. Of course, the coordinate conversion operation can also be performed on the robot side. The outline information may include only the defined line information, and may also include outline contour information of the entire defined area.

[0088] 可选地, 当标注信息为在地图的空白区域绘制的封闭几何图形时, 终端设备首 先选取封闭几何图形所限定的区域作为限定区域, 然后获取限定区域的位置信 息和轮廓信息作为限定区域的设置信息。 在某些实施例中, 终端设备也可以选 取封闭几何图形以外的区域作为限定区域, 或者将用户点击的区域选取为限定 区域, 或者将机器人当前所在的区域以外的区域选取为限定区域等。 所述位置 \¥0 2019/100269 卩(:17 \2017/112438 信息包括限定区域的几何中心的位置坐标和/或封闭几何图形的顶点坐标, 终端 设备计算限定区域在地图中的像素位置, 并进行对应的坐标转换, 将像素位置 转换到机器人的全局坐标系中, 获得其在全局坐标系中的位置坐标, 当然坐标 转换的操作也可以在机器人端进行。 该轮廓信息可以为整个限定区域的外形轮 廓, 即封闭几何图形的轮廓。 当封闭几何图形为圆形、 矩形、 三角形等规则图 形时, 轮廓信息也可以只是几何图形的类型。 [0088] Optionally, when the annotation information is a closed geometric figure drawn in a blank area of the map, the terminal device first selects an area defined by the closed geometric shape as the defined area, and then acquires position information and contour information of the defined area as a limitation. Setting information for the area. In some embodiments, the terminal device may also select an area other than the closed geometry as the limited area, or select the area clicked by the user as the limited area, or select an area other than the area where the robot is currently located as the limited area or the like. The location \¥0 2019/100269 卩(:17 \2017/112438 The information includes the position coordinates of the geometric center of the defined area and/or the vertex coordinates of the closed geometry, and the terminal device calculates the pixel position of the defined area in the map and performs corresponding Coordinate transformation, transforming the pixel position into the global coordinate system of the robot to obtain its position coordinates in the global coordinate system. Of course, the coordinate conversion operation can also be performed on the robot end. The contour information can be the outline of the entire limited area. That is, the outline of the closed geometry. When the closed geometry is a regular figure such as a circle, a rectangle, a triangle, etc., the outline information can also be just the type of the geometry.

[0089] 313、 机器人接收限定区域的设置信息, 在移动过程中根据限定区域的设置信 息避开限定区域。  [0089] 313. The robot receives the setting information of the limited area, and avoids the defined area according to the setting information of the limited area during the moving.

[0090] 本步骤 313中, 机器人接收限定区域的设置信息并予以存储, 后续在移动过程 中, 则根据限定区域的设置信息避开限定区域。  [0090] In this step 313, the robot receives the setting information of the limited area and stores it, and in the subsequent movement, avoids the defined area according to the setting information of the limited area.

[0091] 可选地, 机器人在移动过程中实时或定时的进行定位, 获取自己所在的当前位 置, 根据当前位置和限定区域的设置信息判断自己是否逼近限定区域, 当逼近 限定区域时, 则及时调整移动路线以避开限定区域。  [0091] Optionally, the robot performs positioning in real time or timing during the movement process, obtains the current position of the robot, and determines whether the user is approaching the limited area according to the current position and the setting information of the limited area, and when approaching the limited area, timely Adjust the movement route to avoid the restricted area.

[0092] 具体的, 机器人根据自己所在的当前位置以及限定区域的位置信息和轮廓信息 计算出机器人与限定区域的边界的距离, 判断该距离是否小于或等于阈值, 当 小于或等于阈值时, 则判定自己逼近限定区域, 从而及时调整移动路线绕行, 防止进入该限定区域。 在某些实施例中, 当距离小于或等于阈值时, 机器人还 进一步判断自己的移动方向是否朝向限定区域, 当移动方向朝向限定区域时, 才判定自己逼近限定区域。  Specifically, the robot calculates the distance between the robot and the boundary of the defined area according to the current position of the location and the position information and the contour information of the limited area, and determines whether the distance is less than or equal to the threshold. When the threshold is less than or equal to the threshold, It is determined that it is approaching the limited area, so that the moving route bypass is adjusted in time to prevent entry into the limited area. In some embodiments, when the distance is less than or equal to the threshold, the robot further determines whether its moving direction is toward the defined area, and determines that it is approaching the defined area when the moving direction is toward the defined area.

[0093] 可选地, 机器人根据限定区域的设置信息将限定区域作为障碍物标记在地图上 , 在移动过程中实时或定时的进行定位, 获取自己所在的当前位置, 模拟传感 器检测当前位置的安全范围内是否有障碍物, 当有障碍物时, 调整移动路线以 避开限定区域。  [0093] Optionally, the robot marks the defined area as an obstacle on the map according to the setting information of the defined area, performs positioning in real time or timing during the moving process, acquires the current position of the current location, and simulates the safety of the sensor to detect the current position. Whether there are obstacles in the range, when there are obstacles, adjust the movement route to avoid the limited area.

[0094] 具体的, 机器人根据限定区域的位置信息和轮廓信息将限定区域绘制在地图上 , 并将限定区域标记为障碍物。 在移动过程中实时或定时的进行定位, 获取自 己所在的当前位置, 并根据地图模拟出一种传感器 (如激光测距传感器、 红外 测距传感器等) 对当前位置的安全范围内的障碍物的检测情况, 并与真实的传 感器测量数据进行融合处理, 根据处理结果判断当前位置的安全范围内是否有 \¥0 2019/100269 卩(:17 \2017/112438 障碍物, 当有障碍物时, 说明即将进入限定区域, 则及时调整移动路线绕行, 防止进入该限定区域。 [0094] Specifically, the robot draws the defined area on the map according to the position information and the contour information of the defined area, and marks the defined area as an obstacle. Positioning in real time or timing during the movement, obtaining the current position of the location, and simulating a kind of sensor (such as laser ranging sensor, infrared ranging sensor, etc.) according to the map to the obstacles within the safe range of the current position Detect the situation and combine it with the actual sensor measurement data, and judge whether there is any safety range of the current position according to the processing result. \¥0 2019/100269 卩(:17 \2017/112438 Obstacle, when there is an obstacle, indicating that it is about to enter the restricted area, adjust the moving route around in time to prevent entering the restricted area.

[0095] 在一些实施例中, 终端设备也可以直接将设置了限定区域的地图发送给机器人 , 即限定区域的设置信息包含在地图中。 机器人接收到地图后, 则根据该地图 获取限定区域的设置信息。 后续在移动过程中, 也可以直接利用该设置了限定 区域的地图来避开限定区域。  [0095] In some embodiments, the terminal device may also directly send the map in which the defined area is set to the robot, that is, the setting information of the defined area is included in the map. After the robot receives the map, it acquires setting information of the limited area according to the map. In the subsequent movement, it is also possible to directly use the map in which the limited area is set to avoid the limited area.

[0096] 本发明实施例的机器人移动控制方法, 通过终端设备在地图上设置限定区域, 并将限定区域的设置信息发送给机器人, 使得机器人在移动过程中可以根据限 定区域的设置信息避开限定区域。 由于限定区域是在地图上设置的, 因此无需 额外增加传感器以及相应的触发设备, 大大降低了实现成本; 同时, 用户可以 随时通过终端设备在地图上调整限定区域, 非常方便快捷, 并可以通过终端设 备进行远程设置, 扩展了应用场景, 极大的提高了灵活性。  [0096] The robot movement control method according to the embodiment of the present invention, the terminal device sets a limited area on the map, and sends the setting information of the limited area to the robot, so that the robot can avoid the limitation according to the setting information of the limited area during the moving process. region. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.

[0097] 参照图 2, 提出本发明的机器人移动控制方法第二实施例, 所述方法应用于前 述机器人, 所述方法包括以下步骤:  Referring to FIG. 2, a second embodiment of the robot movement control method of the present invention is proposed. The method is applied to the aforementioned robot, and the method includes the following steps:

[0098] 821、 向终端设备发送地图。  [0098] 821. Send a map to the terminal device.

[0099] 机器人与终端设备可以通过无线网络 (如 \VIFI) 接入局域网或互联网, 并建立 通信连接, 此时机器人与终端设备可以直接通信或者通过服务器进行通信; 机 器人与终端设备也可以通过点对点连接方式 (如蓝牙) 建立通信连接, 此时机 器人与终端设备之间直接通信。 当建立通信连接后, 机器人则向终端设备发送 绘制的地图。  [0099] The robot and the terminal device can access the local area network or the Internet through a wireless network (such as \VIFI), and establish a communication connection, at which time the robot and the terminal device can directly communicate or communicate through the server; the robot and the terminal device can also pass the peer-to-peer The connection method (such as Bluetooth) establishes a communication connection, and the robot communicates directly with the terminal device. When the communication connection is established, the robot sends the drawn map to the terminal device.

[0100] 822、 接收终端设备发送的地图上的限定区域的设置信息。  [0100] 822. Receive setting information of a limited area on a map sent by the terminal device.

[0101] 机器人接收限定区域的设置信息, 并将设置信息存储起来。 该设置信息包括限 定区域的位置信息和轮廓信息。  [0101] The robot receives setting information of the limited area and stores the setting information. The setting information includes position information and outline information of the limited area.

[0102] 323、 在移动过程中根据限定区域的设置信息避开限定区域。  [0102] 323. Avoid the defined area according to the setting information of the limited area during the moving process.

[0103] 可选地, 机器人在移动过程中实时或定时的进行定位, 获取自己所在的当前位 置, 根据当前位置和限定区域的设置信息判断自己是否逼近限定区域, 当逼近 限定区域时, 则及时调整移动路线以避开限定区域。  [0103] Optionally, the robot performs positioning in real time or timing during the movement process, obtains the current position of the robot, and determines whether it is approaching the limited area according to the current position and the setting information of the limited area. When approaching the limited area, the time is timely. Adjust the movement route to avoid the restricted area.

[0104] 具体的, 机器人根据自己所在的当前位置以及限定区域的位置信息和轮廓信息 \¥0 2019/100269 卩(:17 \2017/112438 计算出机器人与限定区域的边界的距离, 判断该距离是否小于或等于阈值, 当 小于或等于阈值时, 则判定自己逼近限定区域, 从而及时调整移动路线绕行, 防止进入该限定区域。 在某些实施例中, 当距离小于或等于阈值时, 机器人还 进一步判断自己的移动方向是否朝向限定区域, 当移动方向朝向限定区域时, 才判定自己逼近限定区域。 [0104] Specifically, the robot according to the current location of the location and the location information and contour information of the limited area \¥0 2019/100269 卩(:17 \2017/112438 Calculate the distance between the robot and the boundary of the limited area, determine whether the distance is less than or equal to the threshold, and when it is less than or equal to the threshold, determine that you are approaching the limited area, so as to Adjusting the moving route to bypass, preventing entry into the defined area. In some embodiments, when the distance is less than or equal to the threshold, the robot further determines whether the moving direction of the robot is toward the defined area, and determines when the moving direction is toward the defined area. Approaching the restricted area by yourself.

[0105] 可选地, 机器人根据限定区域的设置信息将限定区域作为障碍物标记在地图上 , 在移动过程中实时或定时的进行定位, 获取自己所在的当前位置, 模拟传感 器检测当前位置的安全范围内是否有障碍物, 当有障碍物时, 调整移动路线以 避开限定区域。  [0105] Optionally, the robot marks the defined area as an obstacle on the map according to the setting information of the defined area, performs positioning in real time or timing during the moving process, acquires the current position where the user is located, and simulates the safety of the sensor to detect the current position. Whether there are obstacles in the range, when there are obstacles, adjust the movement route to avoid the limited area.

[0106] 具体的, 机器人根据限定区域的位置信息和轮廓信息将限定区域绘制在地图上 , 并将限定区域标记为障碍物。 在移动过程中实时或定时的进行定位, 获取自 己所在的当前位置, 并根据地图模拟出一种传感器 (如激光测距传感器、 红外 测距传感器等) 对当前位置的安全范围内的障碍物的检测情况, 并与真实的传 感器测量数据进行融合处理, 根据处理结果判断当前位置的安全范围内是否有 障碍物, 当有障碍物时, 说明即将进入限定区域, 则及时调整移动路线绕行, 防止进入该限定区域。  [0106] Specifically, the robot draws the defined area on the map according to the position information and the contour information of the defined area, and marks the defined area as an obstacle. Positioning in real time or timing during the movement, obtaining the current position of the location, and simulating a kind of sensor (such as laser ranging sensor, infrared ranging sensor, etc.) according to the map to the obstacles within the safe range of the current position Detecting the situation and integrating it with the actual sensor measurement data. According to the processing result, it is judged whether there is an obstacle in the safety range of the current position. When there is an obstacle, it indicates that the restricted area is about to enter, and then the moving route bypass is adjusted in time to prevent Enter the restricted area.

[0107] 本实施例的机器人移动控制方法, 通过机器人将地图发送给终端设备, 并接收 终端设备在地图上设置的限定区域的设置信息, 后续移动过程中机器人则根据 限定区域的设置信息避开限定区域。 由于限定区域是在地图上设置的, 因此无 需额外增加传感器以及相应的触发设备, 大大降低了实现成本; 同时, 用户可 以随时通过终端设备在地图上调整限定区域, 非常方便快捷, 并可以通过终端 设备进行远程设置, 扩展了应用场景, 极大的提高了灵活性。  [0107] The robot movement control method of the embodiment transmits the map to the terminal device by the robot, and receives the setting information of the limited area set by the terminal device on the map, and the robot avoids the setting information according to the limited area during the subsequent movement. Limited area. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.

[0108] 参照图 3 , 提出本发明的机器人移动控制方法第三实施例, 所述方法应用于前 述终端设备, 所述方法包括以下步骤:  Referring to FIG. 3, a third embodiment of the robot movement control method of the present invention is proposed. The method is applied to the foregoing terminal device, and the method includes the following steps:

[0109] S31、 接收机器人发送的地图。  [0109] S31. Receive a map sent by the robot.

[0110] 终端设备与机器人可以通过无线网络 (如 WIFI) 接入局域网或互联网, 并建立 通信连接, 此时终端设备与机器人可以直接通信或者通过服务器进行通信; 终 端设备与机器人也可以通过点对点连接方式 (如蓝牙) 建立通信连接, 此时终 \¥0 2019/100269 卩(:17 \2017/112438 端设备与机器人之间直接通信。 当建立通信连接后, 机器人则向终端设备发送 的地图, 终端设备接收该地图并保存。 [0110] The terminal device and the robot can access the local area network or the Internet through a wireless network (such as WIFI), and establish a communication connection. At this time, the terminal device and the robot can directly communicate or communicate through the server; the terminal device and the robot can also be connected through a point-to-point connection. Way (such as Bluetooth) to establish a communication connection, at this point \¥0 2019/100269 卩(:17 \2017/112438 Direct communication between the end device and the robot. When the communication connection is established, the robot sends a map to the terminal device, and the terminal device receives the map and saves it.

[0111] 832. 在地图上设置限定区域。  [0111] 832. Set a limited area on the map.

[0112] 终端设备在屏幕上显示该地图, 用户则可以在地图上指定禁止机器人进入的限 定区域。 具体的, 用户在地图上进行操作, 如在地图边界上的两个点之间划一 条限定线 (代表机器人不可穿越该限定线) 、 在地图的空白区域画封闭几何图 形 (代表机器人不可进入该图形区域) 等, 终端设备则根据用户操作在地图上 生成标注信息, 所述标注信息即在地图上的两个边界之间绘制的限定线、 在地 图的空白区域绘制的封闭几何图形 (如矩形、 圆形、 三角形等) 等, 并根据标 注信息确定限定区域。 所述限定区域可以为一个, 也可以至少两个。  [0112] The terminal device displays the map on the screen, and the user can specify a limited area on the map that prohibits the robot from entering. Specifically, the user operates on the map, such as drawing a limit line between two points on the boundary of the map (representing that the robot cannot cross the limit line), and drawing a closed geometric figure in a blank area of the map (representing that the robot cannot enter the map) Graphic area), etc., the terminal device generates annotation information on the map according to the user operation, the annotation information is a defined line drawn between two boundaries on the map, and a closed geometric figure (such as a rectangle drawn in a blank area of the map) , circle, triangle, etc.), and determine the defined area based on the annotation information. The defined area may be one or at least two.

[0113] 可选地, 当标注信息为在地图边界上的两个点之间绘制的限定线时, 终端设备 首先在限定线两侧的两个区域中选取一个区域作为限定区域, 如将用户点击的 区域选取为限定区域, 将机器人当前所在的区域的另一侧的区域自动选取为限 定区域等, 然后获取限定区域的位置信息和轮廓信息作为限定区域的设置信息  [0113] Optionally, when the annotation information is a defined line drawn between two points on the boundary of the map, the terminal device first selects one of the two regions on both sides of the defined line as the defined area, such as the user. The clicked area is selected as the limited area, and the area on the other side of the area where the robot is currently located is automatically selected as the limited area, and then the position information and the outline information of the limited area are acquired as the setting information of the limited area.

[0114] 所述位置信息包括限定区域的几何中心的位置坐标、 限定线与边界的交点的位 置坐标和/或限定线的转折点的位置坐标, 终端设备计算限定区域在地图中的像 素位置, 并进行对应的坐标转换, 将像素位置转换到机器人的全局坐标系中, 获得其在全局坐标系中的位置坐标。 所述轮廓信息可以仅包括限定线信息, 也 可以包括整个限定区域的外形轮廓信息。 [0114] the position information includes position coordinates of a geometric center defining a region, position coordinates of an intersection of a defined line and a boundary, and/or position coordinates of a turning point defining a line, and the terminal device calculates a pixel position of the defined area in the map, and Corresponding coordinate transformation is performed to convert the pixel position into the global coordinate system of the robot to obtain its position coordinates in the global coordinate system. The outline information may include only the defined line information, and may also include outline information of the entire defined area.

[0115] 可选地, 当标注信息为在地图的空白区域绘制的封闭几何图形时, 终端设备首 先选取封闭几何图形所限定的区域作为限定区域, 然后获取限定区域的位置信 息和轮廓信息作为限定区域的设置信息。 在某些实施例中, 终端设备也可以选 取封闭几何图形以外的区域作为限定区域, 或者将用户点击的区域选取为限定 区域, 或者将机器人当前所在的区域以外的区域选取为限定区域等。  [0115] Optionally, when the annotation information is a closed geometry drawn in a blank area of the map, the terminal device first selects an area defined by the closed geometry as the defined area, and then acquires position information and contour information of the defined area as a limitation. Setting information for the area. In some embodiments, the terminal device may also select an area other than the closed geometry as the limited area, or select the area clicked by the user as the limited area, or select an area other than the area where the robot is currently located as the limited area or the like.

[0116] 所述位置信息包括限定区域的几何中心的位置坐标和 /或封闭几何图形的顶点 坐标, 终端设备计算限定区域在地图中的像素位置, 并进行对应的坐标转换, 将像素位置转换到机器人的全局坐标系中, 获得其在全局坐标系中的位置坐标 \¥0 2019/100269 卩(:17 \2017/112438 [0116] the position information includes a position coordinate of a geometric center of the defined area and/or a vertex coordinate of the closed geometry, and the terminal device calculates a pixel position of the defined area in the map, and performs corresponding coordinate conversion to convert the pixel position to In the global coordinate system of the robot, obtain its position coordinates in the global coordinate system \¥0 2019/100269 卩(:17 \2017/112438

。 该轮廓信息可以为整个限定区域的外形轮廓, 即封闭几何图形的轮廓。 当封 闭几何图形为圆形、 矩形、 三角形等规则图形时, 轮廓信息也可以只是几何图 形的类型。 . The contour information can be the contour of the entire defined area, ie the contour of the closed geometry. When the closed geometry is a regular graphic such as a circle, a rectangle, or a triangle, the outline information can also be just the type of the geometric figure.

[0117] 33、 向机器人发送限定区域的设置信息。  [0117] 33. Send setting information of the limited area to the robot.

[0118] 终端设备将限定区域的位置信息直接发送给机器人或通过服务器发送给机器人  [0118] The terminal device directly transmits the location information of the limited area to the robot or sends the information to the robot through the server

[0119] 在一些实施例中, 终端设备也可以直接将设置了限定区域的地图发送给机器人 , 即限定区域的设置信息包含在地图中。 [0119] In some embodiments, the terminal device may also directly transmit the map in which the limited area is set to the robot, that is, the setting information of the defined area is included in the map.

[0120] 本实施例的机器人移动控制方法, 通过终端设备在地图上设置限定区域, 并将 限定区域的设置信息发送给机器人, 使得机器人在移动过程中可以根据限定区 域的设置信息避开限定区域。 由于限定区域是在地图上设置的, 因此无需额外 增加传感器以及相应的触发设备, 大大降低了实现成本; 同时, 用户可以随时 通过终端设备在地图上调整限定区域, 非常方便快捷, 并可以通过终端设备进 行远程设置, 扩展了应用场景, 极大的提高了灵活性。  [0120] The robot movement control method of the embodiment, the limited area is set on the map by the terminal device, and the setting information of the limited area is sent to the robot, so that the robot can avoid the limited area according to the setting information of the limited area during the moving process. . Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.

[0121] 根据限定区域的设置信息避开限定区域。 由于限定区域是在地图上设置的, 因 此无需额外增加传感器以及相应的触发设备, 大大降低了实现成本; 同时, 用 户可以随时通过终端设备在地图上调整限定区域, 非常方便快捷, 并可以通过 终端设备进行远程设置, 扩展了应用场景, 极大的提高了灵活性。  [0121] The defined area is avoided according to the setting information of the defined area. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.

[0122] 参照图 4, 提出本发明的机器人 10移动控制系统一实施例, 所述系统包括机器 人 10和终端设备 20, 其中: 机器人 10设置为向终端设备 20发送地图; 终端设备 2 0设置为接收该地图, 在该地图上设置限定区域, 并向机器人 10发送限定区域的 设置信息; 机器人 10还设置为接收限定区域的设置信息, 在移动过程中根据限 定区域的设置信息避开限定区域。  Referring to FIG. 4, an embodiment of a robot 10 movement control system of the present invention is proposed. The system includes a robot 10 and a terminal device 20, wherein: the robot 10 is arranged to transmit a map to the terminal device 20; the terminal device 20 is set to The map is received, a limited area is set on the map, and setting information of the limited area is transmitted to the robot 10; the robot 10 is further configured to receive setting information of the limited area, and avoid the limited area according to the setting information of the limited area during the moving.

[0123] 机器人 10与终端设备 20可以通过无线网络 (如 \VIFI) 接入局域网或互联网, 并 建立通信连接, 此时机器人 10与终端设备 20可以直接通信或者通过服务器进行 通信; 机器人 10与终端设备 20也可以通过点对点连接方式 (如蓝牙) 建立通信 连接, 此时机器人 10与终端设备 20之间直接通信。 所述终端设备 20优选手机、 平板等移动终端, 也可以是个人电脑、 笔记本电脑等计算机终端。 \¥0 2019/100269 卩(:17 \2017/112438 [0123] The robot 10 and the terminal device 20 can access a local area network or the Internet through a wireless network (such as \VIFI), and establish a communication connection, at which time the robot 10 and the terminal device 20 can directly communicate or communicate through the server; the robot 10 and the terminal The device 20 can also establish a communication connection through a point-to-point connection (e.g., Bluetooth), at which point the robot 10 communicates directly with the terminal device 20. The terminal device 20 is preferably a mobile terminal such as a mobile phone or a tablet, or may be a computer terminal such as a personal computer or a notebook computer. \¥0 2019/100269 卩(:17 \2017/112438

[0124] 当建立通信连接后, 机器人 10则向终端设备 20发送绘制的地图。 [0124] When the communication connection is established, the robot 10 transmits the drawn map to the terminal device 20.

[0125] 终端设备 20接收到地图后, 在屏幕上显示该地图, 用户则可以在地图上指定禁 止机器人 10进入的限定区域。 具体的, 用户在地图上进行操作, 如在地图边界 上的两个点之间划一条限定线 (代表机器人 10不可穿越该限定线) 、 在地图的 空白区域画封闭几何图形 (代表机器人 10不可进入该图形区域) 等, 终端设备 2 0则根据用户操作在地图上生成标注信息, 所述标注信息即在地图上的两个边界 之间绘制的限定线、 在地图的空白区域绘制的封闭几何图形 (如矩形、 圆形、 三角形等) 等, 并根据标注信息确定限定区域。 所述限定区域可以为一个, 也 可以至少两个。  [0125] After the terminal device 20 receives the map, the map is displayed on the screen, and the user can designate a limited area on the map that prohibits the robot 10 from entering. Specifically, the user operates on the map, such as drawing a limit line between two points on the boundary of the map (representing that the robot 10 cannot traverse the limit line), and drawing a closed geometric figure in a blank area of the map (representing the robot 10 not Entering the graphics area, etc., the terminal device 20 generates annotation information on the map according to the user operation, where the annotation information is a defined line drawn between two boundaries on the map, and a closed geometry drawn in a blank area of the map. Graphics (such as rectangles, circles, triangles, etc.), etc., and determine the defined area based on the annotation information. The defined area may be one or at least two.

[0126] 可选地, 当标注信息为在地图边界上的两个点之间绘制的限定线时, 终端设备 20首先在限定线两侧的两个区域中选取一个区域作为限定区域, 如将用户点击 的区域选取为限定区域、 将机器人 10当前所在的区域的另一侧的区域选取为限 定区域等, 然后获取限定区域的位置信息和轮廓信息作为限定区域的设置信息  [0126] Optionally, when the annotation information is a defined line drawn between two points on the boundary of the map, the terminal device 20 first selects one of the two regions on both sides of the defined line as the defined region, as The area clicked by the user is selected as the limited area, the area on the other side of the area where the robot 10 is currently located is selected as the limited area, and the position information and the contour information of the limited area are acquired as the setting information of the limited area.

[0127] 所述位置信息包括限定区域的几何中心的位置坐标、 限定线与边界的交点的位 置坐标和 /或限定线的转折点的位置坐标, 终端设备 20计算限定区域在地图中的 像素位置, 并进行对应的坐标转换, 将像素位置转换到机器人 10的全局坐标系 中, 获得其在全局坐标系中的位置坐标。 所述轮廓信息可以仅包括限定线信息 , 也可以包括整个限定区域的外形轮廓信息。 [0127] the position information includes position coordinates of a geometric center defining a region, position coordinates of an intersection of a defined line and a boundary, and/or position coordinates of a turning point defining a line, and the terminal device 20 calculates a pixel position of the defined area in the map, Corresponding coordinate transformation is performed, and the pixel position is converted into the global coordinate system of the robot 10 to obtain the position coordinates thereof in the global coordinate system. The outline information may include only the defined line information, and may also include outline information of the entire defined area.

[0128] 可选地, 当标注信息为在地图的空白区域绘制的封闭几何图形时, 终端设备 20 首先选取封闭几何图形所限定的区域作为限定区域, 然后获取限定区域的位置 信息和轮廓信息作为限定区域的设置信息。 在某些实施例中, 终端设备 20也可 以选取封闭几何图形以外的区域作为限定区域, 或者将用户点击的区域选取为 限定区域, 或者将机器人 10当前所在的区域以外的区域选取为限定区域等。  [0128] Optionally, when the annotation information is a closed geometry drawn in a blank area of the map, the terminal device 20 first selects an area defined by the closed geometry as the defined area, and then acquires position information and contour information of the defined area as The setting information of the limited area. In some embodiments, the terminal device 20 may select an area other than the closed geometry as the defined area, or select the area clicked by the user as the limited area, or select an area other than the area where the robot 10 is currently located as the limited area. .

[0129] 所述位置信息包括限定区域的几何中心的位置坐标和 /或封闭几何图形的顶点 坐标, 终端设备 20计算限定区域在地图中的像素位置, 并进行对应的坐标转换 , 将像素位置转换到机器人 10的全局坐标系中, 获得其在全局坐标系中的位置 坐标。 该轮廓信息可以为整个限定区域的外形轮廓, 即封闭几何图形的轮廓。 \¥0 2019/100269 卩(:17 \2017/112438 当封闭几何图形为圆形、 矩形、 三角形等规则图形时, 轮廓信息也可以只是几 何图形的类型。 [0129] The position information includes position coordinates of a geometric center of the defined area and/or vertex coordinates of the closed geometry, and the terminal device 20 calculates a pixel position of the defined area in the map, and performs corresponding coordinate conversion to convert the pixel position In the global coordinate system of the robot 10, its position coordinates in the global coordinate system are obtained. The contour information can be the contour of the entire defined area, ie the contour of the closed geometry. \¥0 2019/100269 卩(:17 \2017/112438 When the closed geometry is a regular graphic such as a circle, a rectangle, a triangle, etc., the contour information can also be just the type of the geometry.

[0130] 机器人 10接收限定区域的设置信息并予以存储, 后续在移动过程中, 则根据限 定区域的设置信息避开限定区域。  [0130] The robot 10 receives the setting information of the limited area and stores it, and in the subsequent movement, the limited area is avoided according to the setting information of the limited area.

[0131] 可选地, 机器人 10在移动过程中实时或定时的进行定位, 获取自己所在的当前 位置, 根据当前位置和限定区域的设置信息判断自己是否逼近限定区域, 当逼 近限定区域时, 则及时调整移动路线以避开限定区域。  [0131] Optionally, the robot 10 performs positioning in real time or timing during the movement process, acquires the current position where it is located, and determines whether it is approaching the limited area according to the current position and the setting information of the limited area. When approaching the limited area, Adjust the movement route in time to avoid the restricted area.

[0132] 具体的, 机器人 10根据自己所在的当前位置以及限定区域的位置信息和轮廓信 息计算出机器人 10与限定区域的边界的距离, 判断该距离是否小于或等于阈值 , 当小于或等于阈值时, 则判定自己逼近限定区域, 从而及时调整移动路线绕 行, 防止进入该限定区域。 在某些实施例中, 当距离小于或等于阈值时, 机器 人 10还进一步判断自己的移动方向是否朝向限定区域, 当移动方向朝向限定区 域时, 才判定自己逼近限定区域。  [0132] Specifically, the robot 10 calculates the distance between the robot 10 and the boundary of the defined area according to the current position of the location and the position information and the contour information of the limited area, and determines whether the distance is less than or equal to the threshold, when less than or equal to the threshold. Then, it is determined that it is approaching the limited area, so that the moving route bypass is adjusted in time to prevent entry into the limited area. In some embodiments, when the distance is less than or equal to the threshold, the robot 10 further determines whether its moving direction is toward the defined area, and determines that it is approaching the defined area when the moving direction is toward the defined area.

[0133] 可选地, 机器人 10根据限定区域的设置信息将限定区域作为障碍物标记在地图 上, 在移动过程中实时或定时的进行定位, 获取自己所在的当前位置, 模拟传 感器检测当前位置的安全范围内是否有障碍物, 当有障碍物时, 调整移动路线 以避开限定区域。  [0133] Optionally, the robot 10 marks the defined area as an obstacle on the map according to the setting information of the defined area, performs positioning in real time or timing during the moving process, acquires the current position where the user is located, and simulates the current position of the sensor. Whether there are obstacles in the safe range, when there are obstacles, adjust the movement route to avoid the limited area.

[0134] 具体的, 机器人 10根据限定区域的位置信息和轮廓信息将限定区域绘制在地图 上, 并将限定区域标记为障碍物。 在移动过程中实时或定时的进行定位, 获取 自己所在的当前位置, 并根据地图模拟出一种传感器 (如激光测距传感器、 红 外测距传感器等) 对当前位置的安全范围内的障碍物的检测情况, 并与真实的 传感器测量数据进行融合处理, 根据处理结果判断当前位置的安全范围内是否 有障碍物, 当有障碍物时, 说明即将进入限定区域, 则及时调整移动路线绕行 , 防止进入该限定区域。  [0134] Specifically, the robot 10 draws the defined area on the map according to the position information and the outline information of the defined area, and marks the defined area as an obstacle. Positioning in real time or timing during the movement, obtaining the current position of the location, and simulating a kind of sensor (such as laser ranging sensor, infrared ranging sensor, etc.) according to the map to the obstacles within the safe range of the current position Detecting the situation and integrating it with the actual sensor measurement data. According to the processing result, it is judged whether there is an obstacle in the safety range of the current position. When there is an obstacle, it indicates that the restricted area is about to enter, and then the moving route bypass is adjusted in time to prevent Enter the restricted area.

[0135] 在一些实施例中, 终端设备 20也可以直接将设置了限定区域的地图发送给机器 人 10, 即限定区域的设置信息包含在地图中。 机器人 10接收到地图后, 贝帳据 该地图获取限定区域的设置信息。 后续在移动过程中, 也可以直接利用该设置 了限定区域的地图来避开限定区域。 \¥0 2019/100269 卩(:17 \2017/112438 [0135] In some embodiments, the terminal device 20 may also directly transmit a map in which the limited area is set to the robot 10, that is, the setting information of the defined area is included in the map. After the robot 10 receives the map, the blog account obtains the setting information of the limited area according to the map. In the subsequent movement process, the map in which the limited area is set may also be directly used to avoid the limited area. \¥0 2019/100269 卩(:17 \2017/112438

[0136] 本发明实施例的机器人 10移动控制系统, 通过终端设备 20在地图上设置限定区 域, 并将限定区域的设置信息发送给机器人 10, 使得机器人 10在移动过程中可 以根据限定区域的设置信息避开限定区域。 由于限定区域是在地图上设置的, 因此无需额外增加传感器以及相应的触发设备, 大大降低了实现成本; 同时, 用户可以随时通过终端设备 20在地图上调整限定区域, 非常方便快捷, 并可以 通过终端设备 20进行远程设置, 扩展了应用场景, 极大的提高了灵活性。 [0136] The robot 10 movement control system of the embodiment of the present invention sets a limited area on the map by the terminal device 20, and transmits setting information of the limited area to the robot 10, so that the robot 10 can be set according to the limited area during the moving process. Information avoids restricted areas. Since the limited area is set on the map, the additional sensor and the corresponding triggering device are not needed, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device 20 at any time, which is very convenient and fast, and can be adopted. The terminal device 20 performs remote setting, which expands the application scenario and greatly improves flexibility.

[0137] 参照图 5, 提出本发明的机器人一实施例, 所述机器人包括发送模块 100、 接收 模块 200和运动控制模块 300, 其中: 发送模块 100, 设置为向终端设备发送地图 ; 接收模块 200, 设置为接收终端设备发送的地图上的限定区域的设置信息; 运 动控制模块 300, 设置为在移动过程中根据限定区域的设置信息避开限定区域。  [0137] Referring to FIG. 5, an embodiment of a robot according to the present invention is provided. The robot includes a sending module 100, a receiving module 200, and a motion control module 300, where: the sending module 100 is configured to send a map to the terminal device; and the receiving module 200 And setting the receiving information of the limited area on the map sent by the terminal device; the motion control module 300 is configured to avoid the defined area according to the setting information of the limited area during the moving process.

[0138] 可选地, 运动控制模块 300如图 6所示, 包括定位单元 310、 判断单元 320和躲避 单元 330, 其中: 定位单元 310, 设置为在移动过程中实时或定时的进行定位, 获取自己所在的当前位置; 判断单元 320, 设置为根据当前位置和限定区域的设 置信息判断机器人是否逼近限定区域; 躲避单元 330, 设置为当机器人逼近限定 区域时, 调整移动路线以避开限定区域。  [0138] Optionally, the motion control module 300, as shown in FIG. 6, includes a positioning unit 310, a determining unit 320, and an evasion unit 330, where: the positioning unit 310 is configured to perform positioning in real time or timing during the moving process, The determining unit 320 is configured to determine whether the robot approaches the defined area according to the current position and the setting information of the limited area; the avoiding unit 330 is configured to adjust the moving route to avoid the defined area when the robot approaches the defined area.

[0139] 判断单元 320根据机器人所在的当前位置以及限定区域的位置信息和轮廓信息 计算出机器人与限定区域的边界的距离, 判断该距离是否小于或等于阈值, 当 小于或等于阈值时, 则判定机器人逼近限定区域, 躲避单元 330则及时调整移动 路线绕行, 防止进入该限定区域。 在某些实施例中, 当距离小于或等于阈值时 , 判断单元 320还进一步判断自己的移动方向是否朝向限定区域, 当移动方向朝 向限定区域时, 才判定自己逼近限定区域。  [0139] The determining unit 320 calculates the distance between the robot and the boundary of the defined area according to the current position of the robot and the position information and the contour information of the defined area, and determines whether the distance is less than or equal to the threshold, and when less than or equal to the threshold, determines The robot approaches the defined area, and the avoidance unit 330 adjusts the movement route bypass in time to prevent entry into the limited area. In some embodiments, when the distance is less than or equal to the threshold, the determining unit 320 further determines whether the moving direction of the self is toward the defined area, and determines that the self is approaching the defined area when the moving direction is toward the defined area.

[0140] 可选地, 运动控制模块 300如图 7所示, 包括标记单元 340、 定位单元 310、 检测 单元 350和躲避单元 330, 其中: 标记单元 340, 设置为根据限定区域的设置信息 将限定区域作为障碍物标记在地图上; 定位单元 310, 设置为在移动过程中实时 或定时的进行定位, 获取自己所在的当前位置; 检测单元 350, 设置为模拟传感 器检测当前位置的安全范围内是否有障碍物; 躲避单元 330, 设置为当有障碍物 时, 调整移动路线以避开限定区域。  [0140] Optionally, the motion control module 300, as shown in FIG. 7, includes a marking unit 340, a positioning unit 310, a detecting unit 350, and an avoiding unit 330, wherein: the marking unit 340 is configured to be defined according to setting information of the defined area. The area is marked as an obstacle on the map; the positioning unit 310 is configured to perform real-time or timed positioning during the moving process to obtain the current position where the user is located; and the detecting unit 350 is configured to detect whether the analog sensor detects the current position within the safe range. The obstacle; the avoiding unit 330 is configured to adjust the moving route to avoid the defined area when there is an obstacle.

[0141] 具体的, 标记单元 340根据限定区域的位置信息和轮廓信息将限定区域绘制在 \¥0 2019/100269 卩(:17 \2017/112438 地图上, 并将限定区域标记为障碍物。 在移动过程中定位单元 310实时或定时的 进行定位, 获取自己所在的当前位置, 检测单元 350根据地图模拟出一种传感器 (如测距传感器) 对当前位置的安全范围内的障碍物的检测情况, 并与真实的 传感器测量数据进行融合处理, 根据处理结果判断当前位置的安全范围内是否 有障碍物, 当有障碍物时, 说明即将进入限定区域, 躲避单元 330则及时调整移 动路线绕行, 防止进入该限定区域。 [0141] Specifically, the marking unit 340 draws the defined area according to the position information and the contour information of the defined area. \¥0 2019/100269 卩(:17 \2017/112438 on the map, and mark the restricted area as an obstacle. During the movement, the positioning unit 310 performs positioning in real time or timing to obtain the current position where it is located, and the detecting unit 350 According to the map, a sensor (such as a distance measuring sensor) simulates the detection of obstacles in the safe range of the current position, and integrates with the actual sensor measurement data, and judges whether there is any safety range of the current position according to the processing result. The obstacle, when there is an obstacle, indicates that the restricted area is about to enter, and the avoiding unit 330 adjusts the moving route bypass in time to prevent entry into the limited area.

[0142] 在一些实施例中, 终端设备也可以直接将设置了限定区域的地图发送给机器人 , 即限定区域的设置信息包含在地图中。 接收模块 200接收到地图后, 则根据该 地图获取限定区域的设置信息。 后续在移动过程中, 运动控制模块 300也可以直 接利用该设置了限定区域的地图来避开限定区域。  [0142] In some embodiments, the terminal device may also directly send the map in which the limited area is set to the robot, that is, the setting information of the defined area is included in the map. After receiving the map, the receiving module 200 acquires the setting information of the limited area according to the map. Subsequent to the moving process, the motion control module 300 can also directly use the map with the defined area to avoid the defined area.

[0143] 本发明实施例的机器人, 通过将地图发送给终端设备, 并接收终端设备在地图 上设置的限定区域的设置信息, 使得机器人在后续移动过程中可以根据限定区 域的设置信息避开限定区域。 由于限定区域是在地图上设置的, 因此无需额外 增加传感器以及相应的触发设备, 大大降低了实现成本; 同时, 用户可以随时 通过终端设备在地图上调整限定区域, 非常方便快捷, 并可以通过终端设备进 行远程设置, 扩展了应用场景, 极大的提高了灵活性。  The robot of the embodiment of the present invention, by transmitting the map to the terminal device and receiving the setting information of the limited area set by the terminal device on the map, enables the robot to avoid the limitation according to the setting information of the limited area during the subsequent moving process. region. Since the limited area is set on the map, there is no need to additionally add sensors and corresponding triggering devices, which greatly reduces the implementation cost. At the same time, the user can adjust the limited area on the map through the terminal device at any time, which is very convenient and fast, and can be passed through the terminal. The device is remotely set up, which extends the application scenario and greatly increases flexibility.

[0144] 本发明实施例基于目前虚拟墙方案的现状, 考虑到移动终端 (如手机、 平板电 脑等) 已经得到极大的普及, 且大部分清洁类机器人已经具备与移动终端进行 数据交互的功能, 提出一种通过移动终端等终端设备为清洁类机器人设置限定 区域 (虚拟墙) 的方法, 可减少清洁类机器人的生产成本, 并为用户提供一种 限定区域 (虚拟墙) 的灵活的设置方式, 可随时随地进行远程设置。  [0144] The embodiment of the present invention is based on the current status of the virtual wall solution, considering that mobile terminals (such as mobile phones, tablet computers, etc.) have been greatly popularized, and most of the cleaning robots have the function of data interaction with the mobile terminal. A method for setting a limited area (virtual wall) for a cleaning robot through a terminal device such as a mobile terminal is proposed, which can reduce the production cost of the cleaning robot and provide a flexible setting method for the user to define a region (virtual wall). , remote settings can be made anytime, anywhere.

[0145] 本领域技术人员可以理解, 本发明包括涉及用于执行本申请中所述操作中的一 项或多项的设备。 这些设备可以为所需的目的而专门设计和制造, 或者也可以 包括通用计算机中的已知设备。 这些设备具有存储在其内的计算机程序, 这些 计算机程序选择性地激活或重构。 这样的计算机程序可以被存储在设备 (例如 , 计算机) 可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何 类型的介质中, 所述计算机可读介质包括但不限于任何类型的盘 (包括软盘、 硬盘、 光盘、 CD-ROM、 和磁光盘) 、 ROM (Read-Only Memory, 只读存储器 \¥0 2019/100269 卩(:17 \2017/112438 [0145] Those skilled in the art will appreciate that the present invention includes apparatus related to performing one or more of the operations described herein. These devices may be specially designed and manufactured for the required purposes, or may also include known devices in a general purpose computer. These devices have computer programs stored therein that are selectively activated or reconfigured. Such computer programs may be stored in a device (eg, computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus, including but not limited to any Type of disk (including floppy disk, hard disk, CD, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory, read-only memory \¥0 2019/100269 卩(:17 \2017/112438

) 、 RAM (Random Access Memory, 随机存储器) 、 EPROM (Erasable Programmable Read-Only ), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only)

Memory , 可擦写可编程只读存储器) 、 EEPROM (Electrically Erasable Programmable Read-Only Memory , 电可擦可编程只读存储器) 、 闪存、 磁性卡 片或光线卡片。 也就是, 可读介质包括由设备 (例如, 计算机) 以能够读的形 式存储或传输信息的任何介质。  Memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card. That is, a readable medium includes any medium that is stored or transmitted by a device (e.g., a computer) in a readable form.

[0146] 本技术领域技术人员可以理解, 本发明中已经讨论过的各种操作、 方法、 流程 中的步骤、 措施、 方案可以被交替、 更改、 组合或删除。 进一步地, 具有本发 明中已经讨论过的各种操作、 方法、 流程中的其他步骤、 措施、 方案也可以被 交替、 更改、 重排、 分解、 组合或删除。 进一步地, 现有技术中的具有与本发 明中公开的各种操作、 方法、 流程中的步骤、 措施、 方案也可以被交替、 更改 、 重排、 分解、 组合或删除。  [0146] Those skilled in the art can understand that the various operations, methods, and steps, measures, and solutions in the present invention may be alternated, changed, combined, or deleted. Further, various operations, methods, and other steps, measures, and arrangements in the process of the present invention may be alternated, changed, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and solutions in the various operations, methods, and processes disclosed in the prior art may be alternated, changed, rearranged, decomposed, combined, or deleted.

[0147] 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利 用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运 用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。  The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are used directly or indirectly. Other related technical fields are equally included in the scope of patent protection of the present invention.

Claims

\¥0 2019/100269 卩(:17 \2017/112438 权利要求书 \¥0 2019/100269 卩(:17 \2017/112438 Claims [权利要求 1] 一种机器人移动控制方法, 包括以下步骤:  [Claim 1] A robot movement control method comprising the following steps: 机器人向终端设备发送地图;  The robot sends a map to the terminal device; 所述终端设备接收所述地图, 在所述地图上设置限定区域, 并向所述 机器人发送所述限定区域的设置信息;  Receiving, by the terminal device, the map, setting a defined area on the map, and transmitting setting information of the limited area to the robot; 所述机器人接收所述限定区域的设置信息, 在移动过程中根据所述限 定区域的设置信息避开所述限定区域。  The robot receives the setting information of the defined area, and avoids the defined area according to the setting information of the limited area during the moving. [权利要求 2] 根据权利要求 1所述的机器人移动控制方法, 其中, 所述在所述地图 上设置限定区域的步骤包括:  [Claim 2] The robot movement control method according to claim 1, wherein the step of setting a limited area on the map includes: 根据用户操作在所述地图上生成标注信息;  Generating annotation information on the map according to user operations; 根据所述标注信息确定限定区域。  A defined area is determined based on the annotation information. [权利要求 3] 根据权利要求 2所述的机器人移动控制方法, 其中, 所述标注信息为 在所述地图边界上的两个点之间绘制的限定线, 所述根据所述标注信 息确定限定区域的步骤包括:  [Claim 3] The robot movement control method according to claim 2, wherein the annotation information is a defined line drawn between two points on the map boundary, and the determination is determined according to the annotation information. The steps of the area include: 在所述限定线两侧的两个区域中选取一个区域作为限定区域; 获取所述限定区域的位置信息和限定线信息作为所述限定区域的设置 信息。  One of the two areas on both sides of the defined line is selected as a defined area; position information and defined line information of the defined area are acquired as setting information of the defined area. [权利要求 4] 根据权利要求 2所述的机器人移动控制方法, 其中, 所述标注信息为 在所述地图的空白区域绘制的封闭几何图形, 所述根据所述标注信息 确定限定区域的步骤包括:  [Claim 4] The robot movement control method according to claim 2, wherein the annotation information is a closed geometric figure drawn in a blank area of the map, and the step of determining a defined area according to the annotation information includes : 选取所述封闭几何图形所限定的区域作为限定区域;  Selecting an area defined by the closed geometry as a defined area; 获取所述限定区域的位置信息和轮廓信息作为所述限定区域的设置信 息。  Position information and outline information of the defined area are acquired as setting information of the defined area. [权利要求 5] 根据权利要求 1所述的机器人移动控制方法, 其中, 所述在移动过程 中根据所述限定区域的设置信息避开所述限定区域的步骤包括: 在移动过程中获取当前位置;  [Claim 5] The robot movement control method according to claim 1, wherein the step of avoiding the defined area according to the setting information of the defined area during the moving process comprises: acquiring the current position during the moving process ; 根据所述当前位置和所述限定区域的设置信息判断所述机器人是否逼 近所述限定区域; \¥0 2019/100269 卩(:17 \2017/112438 当所述机器人逼近所述限定区域时, 调整移动路线以避开所述限定区 域。 Determining whether the robot approaches the defined area according to the current position and the setting information of the defined area; \¥0 2019/100269 卩 (: 17 \2017/112438 When the robot approaches the defined area, the moving route is adjusted to avoid the defined area. [权利要求 6] 根据权利要求 1所述的机器人移动控制方法, 其中, 所述在移动过程 中根据所述限定区域的设置信息避开所述限定区域的步骤包括: 根据所述限定区域的设置信息将所述限定区域作为障碍物标记在地图 上;  [Claim 6] The robot movement control method according to claim 1, wherein the step of avoiding the defined area according to the setting information of the limited area during the moving process comprises: setting according to the limited area Information marks the defined area as an obstacle on the map; 在移动过程中获取当前位置;  Get the current location during the move; 检测当前位置的安全范围内是否有障碍物;  Check for obstacles within the safe range of the current location; 当有障碍物时, 调整移动路线以避开所述限定区域。  When there is an obstacle, adjust the movement route to avoid the defined area. [权利要求 7] 一种机器人移动控制方法, 包括:  [Claim 7] A robot movement control method, comprising: 向终端设备发送地图;  Sending a map to the terminal device; 接收所述终端设备发送的所述地图上的限定区域的设置信息; 在移动过程中根据所述限定区域的设置信息避开所述限定区域。  Receiving setting information of the limited area on the map sent by the terminal device; avoiding the defined area according to the setting information of the limited area during the moving process. [权利要求 8] 根据权利要求 7所述的机器人移动控制方法, 其中, 所述在移动过程 中根据所述限定区域的设置信息避开所述限定区域的步骤包括: 在移动过程中获取当前位置;  [Claim 8] The robot movement control method according to claim 7, wherein the step of avoiding the defined area according to the setting information of the defined area during the moving comprises: acquiring the current position during the moving ; 根据所述当前位置和所述限定区域的设置信息判断所述机器人是否逼 近所述限定区域;  Determining whether the robot approaches the defined area according to the current position and the setting information of the defined area; 当所述机器人逼近所述限定区域时, 调整移动路线以避开所述限定区 域。  When the robot approaches the defined area, the movement path is adjusted to avoid the defined area. [权利要求 9] 根据权利要求 7所述的机器人移动控制方法, 其中, 所述在移动过程 中根据所述限定区域的设置信息避开所述限定区域的步骤包括: 根据所述限定区域的设置信息将所述限定区域作为障碍物标记在地图 上;  [Claim 9] The robot movement control method according to claim 7, wherein the step of avoiding the defined area according to the setting information of the defined area during the moving process comprises: setting according to the limited area Information marks the defined area as an obstacle on the map; 在移动过程中获取当前位置;  Get the current location during the move; 检测当前位置的安全范围内是否有障碍物;  Check for obstacles within the safe range of the current location; 当有障碍物时, 调整移动路线以避开所述限定区域。  When there is an obstacle, adjust the movement route to avoid the defined area. [权利要求 10] 根据权利要求 7所述的机器人移动控制方法, 其中, 所述限定区域的 \¥0 2019/100269 卩(:17 \2017/112438 设置信息包括所述限定区域的位置信息和轮廓信息。 [Claim 10] The robot movement control method according to claim 7, wherein the defined area \¥0 2019/100269 卩(:17 \2017/112438 The setting information includes position information and outline information of the limited area. [权利要求 11] 一种机器人移动控制系统, 包括机器人和终端设备, 其中:  [Claim 11] A robot movement control system comprising a robot and a terminal device, wherein: 所述机器人, 设置为向终端设备发送地图;  The robot is configured to send a map to the terminal device; 所述终端设备, 设置为接收所述地图, 在所述地图上设置限定区域, 并向所述机器人发送所述限定区域的设置信息; 所述机器人还设置为: 接收所述限定区域的设置信息, 在移动过程中 根据所述限定区域的设置信息避开所述限定区域。  The terminal device is configured to receive the map, set a defined area on the map, and send setting information of the limited area to the robot; the robot is further configured to: receive setting information of the limited area And the defined area is avoided according to the setting information of the limited area during the moving. [权利要求 12] 根据权利要求 11所述的机器人移动控制系统, 其中, 所述终端设备设 置为: 根据用户操作在所述地图上生成标注信息, 根据所述标注信息 确定限定区域。  [Claim 12] The robot movement control system according to claim 11, wherein the terminal device is configured to: generate annotation information on the map according to a user operation, and determine a limited area based on the annotation information. [权利要求 13] 根据权利要求 12所述的机器人移动控制系统, 其中, 所述标注信息为 在所述地图边界上的两个点之间绘制的限定线, 所述终端设备设置为 在所述限定线两侧的两个区域中选取一个区域作为限定区域, 获取所 述限定区域的位置信息和限定线信息作为所述限定区域的设置信息。  [Claim 13] The robot movement control system according to claim 12, wherein the annotation information is a defined line drawn between two points on the map boundary, and the terminal device is set to be in the One of the two areas on both sides of the defined line is selected as the defined area, and the position information and the defined line information of the defined area are acquired as the setting information of the defined area. [权利要求 14] 根据权利要求 12所述的机器人移动控制系统, 其中, 所述标注信息为 在所述地图的空白区域绘制的封闭几何图形, 所述终端设备设置为: 选取所述封闭几何图形所限定的区域作为限定区域, 获取所述限定区 域的位置信息和轮廓信息作为所述限定区域的设置信息。  [Claim 14] The robot movement control system according to claim 12, wherein the annotation information is a closed geometric figure drawn in a blank area of the map, and the terminal device is configured to: select the closed geometric figure The defined area is used as a defined area, and position information and outline information of the defined area are acquired as setting information of the limited area. [权利要求 15] 根据权利要求 11所述的机器人移动控制系统, 其中, 所述机器人设置 为: 在移动过程中获取当前位置; 根据所述当前位置和所述限定区域 的设置信息判断所述机器人是否逼近所述限定区域; 当所述机器人逼 近所述限定区域时, 调整移动路线以避开所述限定区域。  [Claim 15] The robot movement control system according to claim 11, wherein the robot is configured to: acquire a current position during the moving; and determine the robot according to the current position and the setting information of the limited area Whether to approach the defined area; when the robot approaches the defined area, the moving path is adjusted to avoid the defined area. [权利要求 16] 根据权利要求 11所述的机器人移动控制系统, 其中, 所述机器人设置 为: 根据所述限定区域的设置信息将所述限定区域作为障碍物标记在 地图上; 在移动过程中获取当前位置; 检测当前位置的安全范围内是 否有障碍物; 当有障碍物时, 调整移动路线以避开所述限定区域。  [Claim 16] The robot movement control system according to claim 11, wherein the robot is configured to: mark the limited area as an obstacle on a map according to setting information of the limited area; Get the current position; Detect whether there is an obstacle in the safe range of the current position; When there is an obstacle, adjust the moving route to avoid the defined area. [权利要求 17] 一种机器人, 包括: \¥0 2019/100269 卩(:17 \2017/112438 发送模块, 设置为向终端设备发送地图; [Claim 17] A robot comprising: \¥0 2019/100269 卩(:17 \2017/112438 Sending module, set to send a map to the terminal device; 接收模块, 设置为接收所述终端设备发送的所述地图上的限定区域的 设置信息;  a receiving module, configured to receive setting information of a limited area on the map sent by the terminal device; 运动控制模块, 设置为在移动过程中根据所述限定区域的设置信息避 开所述限定区域。  The motion control module is configured to avoid the defined area according to the setting information of the defined area during the moving. [权利要求 18] 根据权利要求 17所述的机器人, 其中, 所述运动控制模块包括: 定位单元, 设置为在移动过程中获取当前位置; 判断单元, 设置为根据所述当前位置和所述限定区域的设置信息判断 所述机器人是否逼近所述限定区域;  [Claim 18] The robot according to claim 17, wherein the motion control module includes: a positioning unit configured to acquire a current position during the moving; a determining unit configured to be based on the current position and the limit Setting information of the area determines whether the robot approaches the defined area; 躲避单元, 设置为当所述机器人逼近所述限定区域时, 调整移动路线 以避开所述限定区域。  The avoidance unit is configured to adjust the movement route to avoid the defined area when the robot approaches the defined area. [权利要求 19] 根据权利要求 17所述的机器人, 其中, 所述运动控制模块包括: 标记单元, 设置为根据所述限定区域的设置信息将所述限定区域作为 障碍物标记在地图上;  [Claim 19] The robot according to claim 17, wherein the motion control module includes: a marking unit configured to mark the defined area as an obstacle on a map according to setting information of the defined area; 定位单元, 设置为在移动过程中获取当前位置; 检测单元, 设置为检测当前位置的安全范围内是否有障碍物; 躲避单元, 设置为当有障碍物时, 调整移动路线以避开所述限定区域  a positioning unit, configured to acquire a current position during the moving process; the detecting unit is configured to detect whether there is an obstacle in a safe range of the current position; the avoiding unit is configured to adjust the moving route to avoid the limitation when there is an obstacle Area [权利要求 20] 根据权利要求 17所述的机器人, 其中, 所述限定区域的设置信息包括 所述限定区域的位置信息和轮廓信息。 [Claim 20] The robot according to claim 17, wherein the setting information of the defined area includes position information and outline information of the defined area.
PCT/CN2017/112438 2017-11-22 2017-11-22 Robot movement control method and system, and robot Ceased WO2019100269A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/112438 WO2019100269A1 (en) 2017-11-22 2017-11-22 Robot movement control method and system, and robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/112438 WO2019100269A1 (en) 2017-11-22 2017-11-22 Robot movement control method and system, and robot

Publications (1)

Publication Number Publication Date
WO2019100269A1 true WO2019100269A1 (en) 2019-05-31

Family

ID=66630418

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/112438 Ceased WO2019100269A1 (en) 2017-11-22 2017-11-22 Robot movement control method and system, and robot

Country Status (1)

Country Link
WO (1) WO2019100269A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898652A (en) * 2011-01-28 2015-09-09 英塔茨科技公司 Interfacing with a mobile telepresence robot
WO2015169382A1 (en) * 2014-05-08 2015-11-12 Alfred Kärcher Gmbh & Co. Kg Self-propelled and self-steering floor cleaning device and method for cleaning a floor surface
CN106527424A (en) * 2016-09-20 2017-03-22 深圳市银星智能科技股份有限公司 Mobile robot and navigation method of mobile robot
CN106598052A (en) * 2016-12-14 2017-04-26 南京阿凡达机器人科技有限公司 Robot security inspection method based on environment map and robot thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898652A (en) * 2011-01-28 2015-09-09 英塔茨科技公司 Interfacing with a mobile telepresence robot
WO2015169382A1 (en) * 2014-05-08 2015-11-12 Alfred Kärcher Gmbh & Co. Kg Self-propelled and self-steering floor cleaning device and method for cleaning a floor surface
CN106527424A (en) * 2016-09-20 2017-03-22 深圳市银星智能科技股份有限公司 Mobile robot and navigation method of mobile robot
CN106598052A (en) * 2016-12-14 2017-04-26 南京阿凡达机器人科技有限公司 Robot security inspection method based on environment map and robot thereof

Similar Documents

Publication Publication Date Title
KR101857952B1 (en) Apparatus and System for Remotely Controlling a Robot Cleaner and Method thereof
US8463541B2 (en) Camera-based indoor position recognition apparatus and method
KR102277503B1 (en) Terminal devicem, service server and method for indoor positioning based on object detection
CN103245345B (en) A kind of indoor navigation system based on image sensing technology and navigation, searching method
CN105136144A (en) Mall navigation system and mall navigation method
RU2744226C1 (en) Method and device for unmanned aircraft flight area planning and remote control panel
US20160298969A1 (en) Graceful sensor domain reliance transition for indoor navigation
KR102214253B1 (en) Method, system, terminal, and map server for displaying a map
CN104284419A (en) An iBeacon-based indoor positioning and auxiliary navigation method, device and system
CN105518415A (en) Flight path setting method and apparatus
CN105283775A (en) Mobile robot and sound source position estimation system
EP2930959B1 (en) Locating method, drive test terminal and hand-held terminal
CN105578417A (en) Indoor positioning method for moving person
CN111272172A (en) Unmanned aerial vehicle indoor navigation method, device, equipment and storage medium
US20160356889A1 (en) Laser Measuring System and Method
CN111516690A (en) Control method and device of intelligent automobile and storage medium
CN103063207B (en) A kind of method of rapid navigation, Apparatus and system
CN103472472B (en) A kind of navigation locating method and device
CN108627176A (en) Screen brightness adjustment method and related products
CN108801259B (en) Indoor navigation method and device and mobile terminal
CN102650883A (en) System and method for controlling unmanned aerial vehicle
CN103675803A (en) Positioning method and positioning device
WO2023202141A1 (en) Display method, control device and computer storage medium
CN104634341A (en) Parking position reminding device for outdoor parking lot and method thereof
CN106200654A (en) The control method of unmanned plane during flying speed and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17932933

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17932933

Country of ref document: EP

Kind code of ref document: A1