WO2019210566A1 - Control method and system for robotic vacuum cleaner - Google Patents
Control method and system for robotic vacuum cleaner Download PDFInfo
- Publication number
- WO2019210566A1 WO2019210566A1 PCT/CN2018/093458 CN2018093458W WO2019210566A1 WO 2019210566 A1 WO2019210566 A1 WO 2019210566A1 CN 2018093458 W CN2018093458 W CN 2018093458W WO 2019210566 A1 WO2019210566 A1 WO 2019210566A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- area
- virtual wall
- cleaning
- wall device
- restriction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000004140 cleaning Methods 0.000 claims abstract description 109
- 238000010408 sweeping Methods 0.000 claims description 43
- 230000031700 light absorption Effects 0.000 claims description 29
- 238000013507 mapping Methods 0.000 description 6
- 230000004807 localization Effects 0.000 description 4
- 239000011358 absorbing material Substances 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0234—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using optical markers or beacons
- G05D1/0236—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using optical markers or beacons in combination with a laser
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0221—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0257—Control of position or course in two dimensions specially adapted to land vehicles using a radar
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0276—Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
Definitions
- the invention relates to the technical field of smart home appliances, in particular to a control method and system for a sweeping robot.
- Sweeping robot also known as automatic sweeping machine, intelligent vacuuming, robot vacuum cleaner, etc.
- intelligent vacuuming robot vacuum cleaner, etc.
- the brush and vacuum method is adopted, and the ground debris is first absorbed into its own garbage storage box, thereby completing the function of ground cleaning.
- the robot that completes cleaning, vacuuming, and wiping the ground is also classified as a sweeping robot.
- the user can set a “virtual wall” to limit the sweeping range of the sweeping robot.
- the magnetic strip is laid on the ground and surrounded by magnetic strips.
- the Hall sensor is installed on the sweeping machine to identify the restricted area enclosed by the magnetic strip.
- laying the magnetic strip on the ground affects the appearance and brings a lot of inconveniences. For example, it is difficult to flatten the magnetic strip after curling. The user is prone to tripping, and the Hall sensor needs to be installed on the machine to increase the cost.
- the present invention provides a method and system for controlling a cleaning robot, which obtains restriction information by identifying a tag, and then performs restriction marking on the grid map according to the restriction information, and forms a restriction cleaning area according to the restriction mark, aiming at solving the problem.
- the existing method of controlling the sweeping robot is to lay a magnetic strip on the ground, and use a magnetic strip to enclose a restricted area. Due to the use of the magnetic strip, the magnetic strip is difficult to be flattened after being curled, and the user is likely to trip over.
- a method of controlling a sweeping robot comprising:
- the sweeping robot is controlled to perform a sweeping task according to the current raster map.
- the method includes:
- the method includes:
- the method includes:
- the grid map is restricted according to the restriction information and the position of the virtual wall device at the grid map.
- the method includes:
- the invention also provides a control system for a cleaning robot, the system comprising:
- An identification module for identifying a label on the virtual wall device
- An obtaining module configured to parse the label, and obtain restriction information
- a marking module configured to limit the grid map according to the restriction information
- a limit setting module configured to set the area of the limit mark to limit the cleaning area
- the first control module is configured to control the cleaning robot to perform a cleaning task according to the current raster map.
- the identification module includes:
- a first sub-identification module configured to identify a label arranged in a phase between the light absorption area and the reflective area
- a first sub-acquisition module configured to obtain a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area;
- a second sub-acquisition module configured to acquire a restriction manner of the label setting according to a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area.
- the identification module obtains different restrictions on the labels of the front and back sides of the virtual wall device by identifying the labels on the front and back sides of the virtual wall device.
- the marking module comprises:
- a first sub-marking module configured to mark a location of the virtual wall device on the grid map
- a second sub-marking module configured to perform restriction marking on the grid map according to the restriction information and a location of the virtual wall device in the grid map.
- system includes:
- the second control module is configured to control the sweeping robot to perform a planned cleaning task.
- the invention obtains the restriction information by acquiring the restriction information by the identification tag, and then performing the restriction mark on the grid map according to the restriction information, forming the restriction cleaning area according to the restriction mark, and after forming the restriction cleaning area, according to the updated
- the grid map controls the sweeping robot to perform the cleaning task.
- the existing method for controlling the sweeping robot is to lay the magnetic strip on the ground and use the magnetic strip to enclose the restricted area. Due to the use of the magnetic strip, the magnetic strip is curled and flattened. Difficulties and problems that users can easily stumble.
- FIG. 1 is a flowchart of a control method of a cleaning robot according to an embodiment of the present invention
- FIG. 2 is a functional block diagram of a control system of a cleaning robot according to an embodiment of the present invention.
- an embodiment of the present invention provides a method for controlling a cleaning robot, and the method includes the following steps:
- Step S101 Identify a label on the virtual wall device.
- the virtual wall device is a slat, and a label is disposed on the slat.
- the virtual wall device is placed in the need to limit the cleaning area for the sweeping robot to scan the label for identification. Place the virtual wall device in the uncleaned area, specifically, the virtual wall device at the wall.
- the cleaning robot is a laser radar cleaning robot.
- Lidar sweeping robots use lidar to scan labels without the need for additional scanning equipment.
- the virtual wall device is used to limit the sweeping robot cleaning area.
- step S101 the method includes:
- the tags on the virtual wall device are identified by scanning.
- the method includes:
- the scan function is turned on, and scanning is performed while performing the cleaning. If the label on the virtual wall device is scanned, the identification is performed.
- step S101 the method includes:
- the label includes a light absorbing region and a light reflecting region, and the light absorbing region and the light reflecting region are arranged to be spaced apart from each other.
- the light absorbing area and the light reflecting area in the label are different, and the manner of restricting the control of the sweeping machine is different.
- Different limiting methods are set according to the ratio of the light absorbing area to the light reflecting area and the length of the light absorbing area and the light reflecting area.
- the label light absorbing area and the light reflecting area are, in order, the light absorbing area A, the light reflecting area B, and the light absorbing area C, wherein the length of the light absorbing area A is 3L, the length of the light reflecting area B is L, and the length of the light absorbing area C is 2L.
- the restriction mode is set according to the length of the light absorption region and the light reflection region being 5 L, and the ratio of the light absorption region to the light reflection region being 2:1. Specifically, the ratio of the light absorbing area to the light reflecting area and the length of the light absorbing area and the light reflecting area are sequentially encoded in a predetermined arrangement manner, and different limiting modes are set by different encoding methods. The above information is obtained when the sweeping robot scans the tag.
- the light absorbing area of the label is a black light absorbing material area
- the reflective area of the label is a white reflective material area
- the label on the virtual wall device is defined by the location and the limit of the virtual wall device.
- the limitation of the label on the virtual wall device includes the virtual wall device as the center and the radius of the preset length. Qualified, or defined by the area of the virtual wall device, extending outward according to the preset length and width.
- step S101 the method includes:
- the virtual wall device has a front and a back side, and the front and back sides of the virtual wall device are provided with labels of different restriction modes.
- the virtual wall device is a virtual wall device of a passive category.
- Step S102 Parse the tag and obtain the restriction information.
- the tag is parsed and the restriction information is obtained.
- the restriction information is calculated based on the ratio of the light absorption region to the light reflection region and the length of the light absorption region and the light reflection region, and the restriction information is formed based on the analyzed restriction method to acquire the restriction information.
- Step S103 Perform a restriction mark on the raster map according to the restriction information.
- the grid map is restricted according to the restriction information.
- the restriction information includes a restriction method, and the grid map is restricted according to the restriction method and the position of the virtual wall device on the grid map.
- the limit mark is to mark the grid that needs to be restricted on the grid map, and the red mark grid indicates that the sweeping robot is prohibited from entering.
- step S103 the method includes:
- the raster map is restricted based on the restriction information and the location of the virtual wall device in the raster map.
- SLAM Simultaneous Localization And Mapping, also known as CML. (Concurrent Mapping and Localization), real-time positioning and map construction, or concurrent mapping and positioning.
- CML Simultaneous Localization And Mapping
- SLAM has to deal with can be described as: putting a robot into an unknown location in an unknown environment, is there a way for the robot to gradually draw a complete map of the environment, the so-called a consistent map means no obstacles Go to every corner where the room can enter.
- a raster map is a raster map that generates an indoor environment through the SLAM algorithm.
- the virtual wall device is marked on the raster map, and the position of the virtual wall device is marked on the raster map.
- the raster map is restricted based on the restriction information and the position of the virtual wall device in the raster map.
- step S104 the area of the restriction mark is set to limit the cleaning area.
- the grid of the limit mark forms an area of the limit mark, and the area of the limit mark is set.
- the area of the limit mark is set to limit the cleaning area, that is, When the cleaning robot performs the cleaning task, the restriction of the cleaning area prohibits the entry of the cleaning robot, and the cleaning robot does not clean the restricted cleaning area.
- Step S105 Control the cleaning robot to perform a cleaning task according to the current raster map.
- the sweeping robot is controlled to perform the cleaning task according to the grid map after the limit cleaning area is set on the raster map. If the cleaning robot is performing the cleaning task before the identification of the label, the cleaning robot is controlled to continue the execution of the previously unfinished cleaning task according to the restricted cleaning area. If the cleaning robot is not performing the cleaning task before the label is recognized, the cleaning robot is controlled to perform the cleaning task according to the restricted cleaning area.
- the restriction information is acquired by the identification tag, and the restriction mark is performed on the grid map according to the restriction information, and the restriction cleaning area is formed according to the restriction mark, and after the restriction cleaning area is formed, the cleaning of the ground is controlled according to the updated raster map.
- the robot performs the cleaning task, aiming at solving the existing method of controlling the sweeping robot.
- the magnetic strip is laid on the ground, and the magnetic strip is used to enclose the restricted area. Due to the use of the magnetic strip, the magnetic strip is flattened after being curled, and the user is easily tripped. The problem.
- the convenience of setting up a virtual wall by the user can be improved, the interference to the user caused by setting up the virtual wall can be reduced, the user experience can be improved, and the laser radar can be scanned. No additional sensors are added to the robot, reducing the cost of the robot and the assembly complexity during production.
- an embodiment of the present invention further provides a control system 1 for a cleaning robot.
- the system 1 includes an identification module 11, an acquisition module 12, a marking module 13, a restriction setting module 14, and a first control module 15.
- the identification module 11 is configured to identify a label on the virtual wall device.
- the virtual wall device is a slat, and a label is disposed on the slat.
- the virtual wall device is placed in the need to limit the cleaning area for the sweeping robot to scan the label for identification. Place the virtual wall device in the uncleaned area, specifically, the virtual wall device at the wall.
- the cleaning robot is a laser radar cleaning robot.
- Lidar sweeping robots use lidar to scan labels without the need for additional scanning equipment.
- the virtual wall device is used to limit the sweeping robot cleaning area.
- the identification module 11 includes:
- the tags on the virtual wall device are identified by scanning.
- the system includes:
- the second control module is configured to control the sweeping robot to perform a planned cleaning task.
- the scan function is turned on, and scanning is performed while performing the cleaning. If the label on the virtual wall device is scanned, the identification is performed.
- the identification module 11 includes:
- a first sub-identification module configured to identify a label arranged in a phase between the light absorption area and the reflective area
- a first sub-acquisition module configured to obtain a ratio of the light absorption area and the light reflection area, and a length of the light absorption area and the light reflection area;
- the second sub-acquisition module is configured to obtain a restriction mode of the label setting according to the ratio of the light absorption area to the reflection area and the length of the light absorption area and the reflection area.
- the label includes a light absorbing region and a light reflecting region, and the light absorbing region and the light reflecting region are arranged to be spaced apart from each other.
- the light absorbing area and the light reflecting area in the label are different, and the manner of restricting the control of the sweeping machine is different.
- Different limiting methods are set according to the ratio of the light absorbing area to the light reflecting area and the length of the light absorbing area and the light reflecting area.
- the label light absorbing area and the light reflecting area are, in order, the light absorbing area A, the light reflecting area B, and the light absorbing area C, wherein the length of the light absorbing area A is 3L, the length of the light reflecting area B is L, and the length of the light absorbing area C is 2L.
- the restriction mode is set according to the length of the light absorption region and the light reflection region being 5 L, and the ratio of the light absorption region to the light reflection region being 2:1. Specifically, the ratio of the light absorbing area to the light reflecting area and the length of the light absorbing area and the light reflecting area are sequentially encoded in a predetermined arrangement manner, and different limiting modes are set by different encoding methods. The above information is obtained when the sweeping robot scans the tag.
- the light absorbing area of the label is a black light absorbing material area
- the reflective area of the label is a white reflective material area
- the label on the virtual wall device is defined by the location and the limit of the virtual wall device.
- the limitation of the label on the virtual wall device includes the virtual wall device as the center and the radius of the preset length. Qualified, or defined by the area of the virtual wall device, extending outward according to the preset length and width.
- the identification module 11 obtains different restrictions on the labels of the front and back sides of the virtual wall device by identifying the labels on the front and back sides of the virtual wall device.
- the virtual wall device has a front and a back side, and the front and back sides of the virtual wall device are provided with labels of different restriction modes.
- the virtual wall device is a virtual wall device of a passive category.
- the obtaining module 12 is configured to parse the label and obtain the restriction information.
- the tag is parsed and the restriction information is obtained.
- the restriction information is calculated based on the ratio of the light absorption region to the light reflection region and the length of the light absorption region and the light reflection region, and the restriction information is formed based on the analyzed restriction method to acquire the restriction information.
- the marking module 13 is configured to limit the grid map according to the restriction information.
- the grid map is restricted according to the restriction information.
- the restriction information includes a restriction method, and the grid map is restricted according to the restriction method and the position of the virtual wall device on the grid map.
- the limit mark is to mark the grid that needs to be restricted on the grid map, and the red mark grid indicates that the sweeping robot is prohibited from entering.
- the marking module 13 includes:
- a first sub-marking module for marking a location of the virtual wall device on the grid map
- the second sub-marking module is configured to limit the grid map according to the restriction information and the position of the virtual wall device in the grid map.
- SLAM English full name is Simultaneous Localization And Mapping, also known as CML (Concurrent Mapping and Localization), real-time location and map construction, or concurrent mapping and positioning.
- CML Current Mapping and Localization
- the problem that SLAM has to deal with can be described as: putting a robot into an unknown location in an unknown environment, is there a way for the robot to gradually draw a complete map of the environment, the so-called a consistent map means no obstacles Go to every corner where the room can enter.
- a raster map is a raster map that generates an indoor environment through the SLAM algorithm.
- the virtual wall device is marked on the raster map, and the position of the virtual wall device is marked on the raster map.
- the raster map is restricted based on the restriction information and the position of the virtual wall device in the raster map.
- the restriction setting module 14 is configured to set the area of the restriction mark to limit the cleaning area.
- the grid of the limit mark forms an area of the limit mark, and the area of the limit mark is set.
- the area of the limit mark is set to limit the cleaning area, that is, When the cleaning robot performs the cleaning task, the restriction of the cleaning area prohibits the entry of the cleaning robot, and the cleaning robot does not clean the restricted cleaning area.
- the first control module 15 is configured to control the cleaning robot to perform a cleaning task according to the current raster map.
- the sweeping robot is controlled to perform the cleaning task according to the grid map after the limit cleaning area is set on the raster map. If the cleaning robot is performing the cleaning task before the identification of the label, the cleaning robot is controlled to continue the execution of the previously unfinished cleaning task according to the restricted cleaning area. If the cleaning robot is not performing the cleaning task before the label is recognized, the cleaning robot is controlled to perform the cleaning task according to the restricted cleaning area.
- the restriction information is acquired by the identification tag, and the restriction mark is performed on the grid map according to the restriction information, and the restriction cleaning area is formed according to the restriction mark, and after the restriction cleaning area is formed, the cleaning of the ground is controlled according to the updated raster map.
- the robot performs the cleaning task, aiming at solving the existing method of controlling the sweeping robot.
- the magnetic strip is laid on the ground, and the magnetic strip is used to enclose the restricted area. Due to the use of the magnetic strip, the magnetic strip is flattened after being curled, and the user is easily tripped. The problem.
- the convenience of setting up a virtual wall by the user can be improved, the interference to the user caused by setting up the virtual wall can be reduced, the user experience can be improved, and the laser radar can be scanned. No additional sensors are added to the robot, reducing the cost of the robot and the assembly complexity during production.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Aviation & Aerospace Engineering (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Optics & Photonics (AREA)
- Electromagnetism (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Manipulator (AREA)
Abstract
A control method and system for a robotic vacuum cleaner, the control method comprising: identifying a tag on a virtual wall device; parsing the tag to obtain restriction information; making a restriction mark on a grid map according to the restriction information; configuring a zone with a restriction mark to be a cleaning restricted zone; and controlling, according to the current grid map, the robotic vacuum cleaner to perform a cleaning task. The present invention acquires restriction information by identifying a tag, makes a restriction mark on a grid map according to the restriction information, forms a cleaning restricted zone according to the restriction mark, and after forming the cleaning restricted zone, according to the updated grid map, controls a robotic vacuum cleaner to perform a cleaning task, thereby solving the problem that existing methods of controlling a robotic vacuum cleaner generally use magnetic stripes laid on the ground to enclose a restricted zone, however, as it is difficult to lay curved magnetic stripes flat, users easily stumble.
Description
本发明涉及智能家电技术领域,特别涉及一种扫地机器人的控制方法及系统。The invention relates to the technical field of smart home appliances, in particular to a control method and system for a sweeping robot.
扫地机器人,又称自动打扫机、智能吸尘、机器人吸尘器等,是智能家用电器的一种,能凭借一定的人工智能,自动在房间内完成地板清理工作。一般采用刷扫和真空方式,将地面杂物先吸纳进入自身的垃圾收纳盒,从而完成地面清理的功能。一般来说,将完成清扫、吸尘、擦地工作的机器人,也统一归为扫地机器人。Sweeping robot, also known as automatic sweeping machine, intelligent vacuuming, robot vacuum cleaner, etc., is a kind of smart household appliances, which can automatically complete the floor cleaning work in the room with certain artificial intelligence. Generally, the brush and vacuum method is adopted, and the ground debris is first absorbed into its own garbage storage box, thereby completing the function of ground cleaning. Generally speaking, the robot that completes cleaning, vacuuming, and wiping the ground is also classified as a sweeping robot.
扫地机器人进行室内清扫时,有些区域用户不希望扫地机器人清扫,此时,用户可以通过设立一道“虚拟墙”用来限制扫地机器人的清扫范围,通常通过在地面铺设磁条,利用磁条围成限制区域,在扫地机器上安装霍尔传感器对磁条围成的限制区域进行识别,而在地面铺设磁条影响美观的同时也会带来许多不便之处,例如,磁条卷曲后铺平困难、用户容易绊倒、机器上需要安装霍尔传感器增加成本等。When the sweeping robot performs indoor cleaning, some users do not want the sweeping robot to clean. At this time, the user can set a “virtual wall” to limit the sweeping range of the sweeping robot. Usually, the magnetic strip is laid on the ground and surrounded by magnetic strips. In the restricted area, the Hall sensor is installed on the sweeping machine to identify the restricted area enclosed by the magnetic strip. However, laying the magnetic strip on the ground affects the appearance and brings a lot of inconveniences. For example, it is difficult to flatten the magnetic strip after curling. The user is prone to tripping, and the Hall sensor needs to be installed on the machine to increase the cost.
针对现有技术不足,本发明提出一种扫地机器人的控制方法及系统,通过识别标签获取限制信息,再根据限制信息在栅格地图上进行限制标记,根据限制标记形成限制清扫区域,旨在解决现有的控制扫地机器人的方式都是在地面铺设磁条,利用磁条围成限制区域,由于使用磁条,导致磁条卷曲后铺平困难、用户容易绊倒的问题。In view of the deficiencies of the prior art, the present invention provides a method and system for controlling a cleaning robot, which obtains restriction information by identifying a tag, and then performs restriction marking on the grid map according to the restriction information, and forms a restriction cleaning area according to the restriction mark, aiming at solving the problem. The existing method of controlling the sweeping robot is to lay a magnetic strip on the ground, and use a magnetic strip to enclose a restricted area. Due to the use of the magnetic strip, the magnetic strip is difficult to be flattened after being curled, and the user is likely to trip over.
本发明提出的技术方案是:The technical solution proposed by the invention is:
一种扫地机器人的控制方法,所述方法包括:A method of controlling a sweeping robot, the method comprising:
识别虚拟墙设备上的标签;Identify tags on virtual wall devices;
解析所述标签,获取限制信息;Parsing the tag to obtain restriction information;
根据所述限制信息,对栅格地图进行限制标记;Restricting the grid map according to the restriction information;
将所述限制标记的区域设置为限制清扫区域;Setting the area of the restriction mark to limit the cleaning area;
根据当前的栅格地图,控制扫地机器人执行清扫任务。The sweeping robot is controlled to perform a sweeping task according to the current raster map.
进一步地,在所述识别虚拟墙设备上的标签的步骤中,包括:Further, in the step of identifying the label on the virtual wall device, the method includes:
识别吸光区域和反光区域相间分布排列的标签;Identifying labels that are arranged between the light absorbing region and the reflective region;
获得所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度;Obtaining a ratio of the light absorbing region to the light reflecting region, and a length of the light absorbing region and the light reflecting region;
根据所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度,获取所述标签设定的限制方式。And obtaining a restriction mode of the label setting according to a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area.
进一步地,在所述识别虚拟墙设备上的标签的步骤中,包括:Further, in the step of identifying the label on the virtual wall device, the method includes:
通过识别虚拟墙设备的正反侧的标签,获取虚拟墙设备的正反侧的标签不同限制方式。By identifying the labels on the front and back sides of the virtual wall device, different restrictions on the labels of the front and back sides of the virtual wall device are obtained.
进一步地,在所述根据所述限制信息,对栅格地图进行限制标记的步骤中,包括:Further, in the step of performing restriction marking on the grid map according to the restriction information, the method includes:
通过SLAM算法生成室内环境的栅格地图;Generating a raster map of the indoor environment by the SLAM algorithm;
在所述栅格地图上标记所述虚拟墙设备的位置;Marking the location of the virtual wall device on the grid map;
根据所述限制信息和所述虚拟墙设备在所述栅格地图的位置,对所述栅格地图进行限制标记。The grid map is restricted according to the restriction information and the position of the virtual wall device at the grid map.
进一步地,在所述识别虚拟墙设备上的标签的步骤之前,所述方法包括:Further, before the step of identifying the label on the virtual wall device, the method includes:
控制扫地机器人执行规划式清扫任务。Control the sweeping robot to perform a planned cleaning task.
本发明还提供一种扫地机器人的控制系统,所述系统包括:The invention also provides a control system for a cleaning robot, the system comprising:
识别模块,用于识别虚拟墙设备上的标签;An identification module for identifying a label on the virtual wall device;
获取模块,用于解析所述标签,获取限制信息;An obtaining module, configured to parse the label, and obtain restriction information;
标记模块,用于根据所述限制信息,对栅格地图进行限制标记;a marking module, configured to limit the grid map according to the restriction information;
限制设置模块,用于将所述限制标记的区域设置为限制清扫区域;a limit setting module, configured to set the area of the limit mark to limit the cleaning area;
第一控制模块,用于根据当前的栅格地图,控制扫地机器人执行清扫任务。The first control module is configured to control the cleaning robot to perform a cleaning task according to the current raster map.
进一步地,所述识别模块包括:Further, the identification module includes:
第一子识别模块,用于识别吸光区域和反光区域相间分布排列的标签;a first sub-identification module, configured to identify a label arranged in a phase between the light absorption area and the reflective area;
第一子获取模块,用于获得所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度;a first sub-acquisition module, configured to obtain a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area;
第二子获取模块,用于根据所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度,获取所述标签设定的限制方式。And a second sub-acquisition module, configured to acquire a restriction manner of the label setting according to a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area.
进一步地,所述识别模块通过识别虚拟墙设备的正反侧的标签,获取虚拟墙设备的正反侧的标签不同限制方式。Further, the identification module obtains different restrictions on the labels of the front and back sides of the virtual wall device by identifying the labels on the front and back sides of the virtual wall device.
进一步地,所述标记模块包括:Further, the marking module comprises:
生成子模块,用于通过SLAM算法生成室内环境的栅格地图;Generating a sub-module for generating a raster map of the indoor environment by using the SLAM algorithm;
第一子标记模块,用于在所述栅格地图上标记所述虚拟墙设备的位置;a first sub-marking module, configured to mark a location of the virtual wall device on the grid map;
第二子标记模块,用于根据所述限制信息和所述虚拟墙设备在所述栅格地图的位置,对所述栅格地图进行限制标记。a second sub-marking module, configured to perform restriction marking on the grid map according to the restriction information and a location of the virtual wall device in the grid map.
进一步地,所述系统包括:Further, the system includes:
第二控制模块,用于控制扫地机器人执行规划式清扫任务。The second control module is configured to control the sweeping robot to perform a planned cleaning task.
根据上述的技术方案,本发明有益效果:通过识别标签获取限制信息,再根据限制信息在栅格地图上进行限制标记,根据限制标记形成限制清扫区域,在形成限制清扫区域之后,根据更新后的栅格地图,控制扫地机器人执行清扫任务,旨在解决现有的控制扫地机器人的方式都是在地面铺设磁条,利用磁条围成限制区域,由于使用磁条,导致磁条卷曲后铺平困难、用户容易绊倒的问题。According to the above technical solution, the invention obtains the restriction information by acquiring the restriction information by the identification tag, and then performing the restriction mark on the grid map according to the restriction information, forming the restriction cleaning area according to the restriction mark, and after forming the restriction cleaning area, according to the updated The grid map controls the sweeping robot to perform the cleaning task. The existing method for controlling the sweeping robot is to lay the magnetic strip on the ground and use the magnetic strip to enclose the restricted area. Due to the use of the magnetic strip, the magnetic strip is curled and flattened. Difficulties and problems that users can easily stumble.
图1是应用本发明实施例提供的一种扫地机器人的控制方法的流程图;1 is a flowchart of a control method of a cleaning robot according to an embodiment of the present invention;
图2是应用本发明实施例提供的一种扫地机器人的控制系统的功能模块图。2 is a functional block diagram of a control system of a cleaning robot according to an embodiment of the present invention.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,本发明实施例提出一种扫地机器人的控制方法,所述方法包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a method for controlling a cleaning robot, and the method includes the following steps:
步骤S101、识别虚拟墙设备上的标签。Step S101: Identify a label on the virtual wall device.
在本实施例中,虚拟墙设备为一板条,在板条上设有标签。在使用该虚拟墙设备时,将虚拟墙设备放置在需要限制清扫区域中,供扫地机器人扫描标签进行识别。在不清扫区域放置虚拟墙设备,具体地,将虚拟墙设备放置在墙边。In this embodiment, the virtual wall device is a slat, and a label is disposed on the slat. When using the virtual wall device, the virtual wall device is placed in the need to limit the cleaning area for the sweeping robot to scan the label for identification. Place the virtual wall device in the uncleaned area, specifically, the virtual wall device at the wall.
在本实施例中,扫地机器人为激光雷达扫地机器人。激光雷达扫地机器人使用激光雷达进行扫描标签,并不需要额外增加扫描装置。In this embodiment, the cleaning robot is a laser radar cleaning robot. Lidar sweeping robots use lidar to scan labels without the need for additional scanning equipment.
在本实施例中,虚拟墙设备用于限制扫地机器人清扫区域。In this embodiment, the virtual wall device is used to limit the sweeping robot cleaning area.
在步骤S101中,包括:In step S101, the method includes:
通过扫描方式对虚拟墙设备上的标签进行识别。The tags on the virtual wall device are identified by scanning.
在步骤S101之前,所述方法包括:Before step S101, the method includes:
控制扫地机器人执行规划式清扫任务。Control the sweeping robot to perform a planned cleaning task.
在扫地机器人执行规划式清扫任务时,打开扫描功能,在执行清扫的同时进行扫描,若扫描到虚拟墙设备上的标签,则进行识别。When the sweeping robot performs the scheduled cleaning task, the scan function is turned on, and scanning is performed while performing the cleaning. If the label on the virtual wall device is scanned, the identification is performed.
在步骤S101中,包括:In step S101, the method includes:
识别吸光区域和反光区域相间分布排列的标签;Identifying labels that are arranged between the light absorbing region and the reflective region;
获得所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度;Obtaining a ratio of the light absorbing region to the light reflecting region, and a length of the light absorbing region and the light reflecting region;
根据所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度,获取所述标签设定的限制方式。And obtaining a restriction mode of the label setting according to a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area.
在本实施例中,标签包括吸光区域和反光区域,由吸光区域和反光区域相间分布排列。标签中的吸光区域和反光区域不同,其对扫地机器的控制的限制方式不同。根据吸光区域与反光区域的比例,以及吸光区域与反光区域的长度,设定不同的限制方式。例如,标签吸光区域和反光区域依次为吸光区域A、反光区域B和吸光区域C,其中,吸光区域A的长度为3L,反光区域B的长度为L,吸光区域C的长度为2L。根据吸光区域与反光区域的长度为5L,以及吸光区域与所述反光区域的比例为2:1,设定限制方式。具体地,吸光区域与反光区域的比例以及吸光区域与反光区域的长度依次预设排布方式进行编码,通过不同的编码方式设定不同的限制方式。在扫地机器人扫描该标签时,获得上述的信息。In this embodiment, the label includes a light absorbing region and a light reflecting region, and the light absorbing region and the light reflecting region are arranged to be spaced apart from each other. The light absorbing area and the light reflecting area in the label are different, and the manner of restricting the control of the sweeping machine is different. Different limiting methods are set according to the ratio of the light absorbing area to the light reflecting area and the length of the light absorbing area and the light reflecting area. For example, the label light absorbing area and the light reflecting area are, in order, the light absorbing area A, the light reflecting area B, and the light absorbing area C, wherein the length of the light absorbing area A is 3L, the length of the light reflecting area B is L, and the length of the light absorbing area C is 2L. The restriction mode is set according to the length of the light absorption region and the light reflection region being 5 L, and the ratio of the light absorption region to the light reflection region being 2:1. Specifically, the ratio of the light absorbing area to the light reflecting area and the length of the light absorbing area and the light reflecting area are sequentially encoded in a predetermined arrangement manner, and different limiting modes are set by different encoding methods. The above information is obtained when the sweeping robot scans the tag.
在本实施例中,标签的吸光区域是黑色的吸光材质区域,标签的反光区域是白色的反光材质区域。In this embodiment, the light absorbing area of the label is a black light absorbing material area, and the reflective area of the label is a white reflective material area.
在本实施例中,虚拟墙设备上的标签是以虚拟墙设备的位置和限制方式进行限定,虚拟墙设备上的标签的限制方式包括以虚拟墙设备为圆心,按预设长度为半径的范围限定,或者,以虚拟墙设备为中心,按预设的长宽向外延伸的区域限定。In this embodiment, the label on the virtual wall device is defined by the location and the limit of the virtual wall device. The limitation of the label on the virtual wall device includes the virtual wall device as the center and the radius of the preset length. Qualified, or defined by the area of the virtual wall device, extending outward according to the preset length and width.
在步骤S101中,包括:In step S101, the method includes:
通过识别虚拟墙设备的正反侧的标签,获取虚拟墙设备的正反侧的标签不同限制方式。By identifying the labels on the front and back sides of the virtual wall device, different restrictions on the labels of the front and back sides of the virtual wall device are obtained.
在本实施例中,虚拟墙设备具有正反侧,虚拟墙设备的正反侧设有不同限制方式的标签。In this embodiment, the virtual wall device has a front and a back side, and the front and back sides of the virtual wall device are provided with labels of different restriction modes.
在本实施例中,虚拟墙设备为无源类别的虚拟墙设备。In this embodiment, the virtual wall device is a virtual wall device of a passive category.
步骤S102、解析标签,获取限制信息。Step S102: Parse the tag and obtain the restriction information.
在识别到标签之后,解析标签,获取限制信息。根据吸光区域与反光区域的比例,以及吸光区域与反光区域的长度,解析出其所设定的限制方式,根据解析出的限制方式形成限制信息,从而获取限制信息。After the tag is identified, the tag is parsed and the restriction information is obtained. The restriction information is calculated based on the ratio of the light absorption region to the light reflection region and the length of the light absorption region and the light reflection region, and the restriction information is formed based on the analyzed restriction method to acquire the restriction information.
步骤S103、根据限制信息,对栅格地图进行限制标记。Step S103: Perform a restriction mark on the raster map according to the restriction information.
在获取限制信息之后,根据限制信息,对栅格地图进行限制标记。限制信息中包括限制方式,根据限制方式及虚拟墙设备在栅格地图上的位置,对栅格地图进行限制标记。限制标记是将在栅格地图上需要限制的栅格进行标红,标红的栅格表示禁止扫地机器人进入。After obtaining the restriction information, the grid map is restricted according to the restriction information. The restriction information includes a restriction method, and the grid map is restricted according to the restriction method and the position of the virtual wall device on the grid map. The limit mark is to mark the grid that needs to be restricted on the grid map, and the red mark grid indicates that the sweeping robot is prohibited from entering.
在步骤S103中,包括:In step S103, the method includes:
通过SLAM算法生成室内环境的栅格地图;Generating a raster map of the indoor environment by the SLAM algorithm;
在栅格地图上标记虚拟墙设备的位置;Mark the location of the virtual wall device on the raster map;
根据限制信息和虚拟墙设备在栅格地图的位置,对栅格地图进行限制标记。The raster map is restricted based on the restriction information and the location of the virtual wall device in the raster map.
SLAM
英文全称是Simultaneous Localization And Mapping,也称为CML
(Concurrent Mapping and Localization), 即时定位与地图构建,或并发建图与定位。SLAM所要处理的问题可以描述为:将一个机器人放入未知环境中的未知位置,是否有办法让机器人一边逐步描绘出此环境完全的地图,所谓完全的地图(a consistent map)是指不受障碍行进到房间可进入的每个角落。SLAM
The English full name is Simultaneous Localization And Mapping, also known as CML.
(Concurrent Mapping and Localization), real-time positioning and map construction, or concurrent mapping and positioning. The problem that SLAM has to deal with can be described as: putting a robot into an unknown location in an unknown environment, is there a way for the robot to gradually draw a complete map of the environment, the so-called a consistent map means no obstacles Go to every corner where the room can enter.
栅格地图是通过SLAM算法生成室内环境的栅格地图,在识别虚拟墙设备上的标签时,在栅格地图上对虚拟墙设备进行标记,在栅格地图上标记虚拟墙设备的位置,在栅格地图上完成对虚拟墙设备标记之后,根据限制信息和虚拟墙设备在栅格地图的位置,对栅格地图进行限制标记。A raster map is a raster map that generates an indoor environment through the SLAM algorithm. When identifying a label on a virtual wall device, the virtual wall device is marked on the raster map, and the position of the virtual wall device is marked on the raster map. After the virtual wall device is marked on the raster map, the raster map is restricted based on the restriction information and the position of the virtual wall device in the raster map.
步骤S104、将限制标记的区域设置为限制清扫区域。In step S104, the area of the restriction mark is set to limit the cleaning area.
在栅格地图完成限制标记之后,限制标记的栅格形成限制标记的区域,再对限制标记的区域进行设置,在本实施例中,将限制标记的区域设置为限制清扫区域,也就是说,在扫地机器人执行清扫任务时,限制清扫区域是禁止扫地机器人进入,扫地机器人对限制清扫区域不进行清扫。After the grid map completes the restriction mark, the grid of the limit mark forms an area of the limit mark, and the area of the limit mark is set. In this embodiment, the area of the limit mark is set to limit the cleaning area, that is, When the cleaning robot performs the cleaning task, the restriction of the cleaning area prohibits the entry of the cleaning robot, and the cleaning robot does not clean the restricted cleaning area.
步骤S105、根据当前的栅格地图,控制扫地机器人执行清扫任务。Step S105: Control the cleaning robot to perform a cleaning task according to the current raster map.
根据当前的栅格地图,即是根据在栅格地图上设置限制清扫区域之后的栅格地图,控制扫地机器人执行清扫任务。若在识别标签之前,扫地机器人是在执行清扫任务,则控制扫地机器人根据限制清扫区域继续执行之前未完成的清扫任务。若在识别标签之前,扫地机器人不是在执行清扫任务,则控制扫地机器人根据限制清扫区域执行清扫任务。According to the current raster map, the sweeping robot is controlled to perform the cleaning task according to the grid map after the limit cleaning area is set on the raster map. If the cleaning robot is performing the cleaning task before the identification of the label, the cleaning robot is controlled to continue the execution of the previously unfinished cleaning task according to the restricted cleaning area. If the cleaning robot is not performing the cleaning task before the label is recognized, the cleaning robot is controlled to perform the cleaning task according to the restricted cleaning area.
综上所述,通过识别标签获取限制信息,再根据限制信息在栅格地图上进行限制标记,根据限制标记形成限制清扫区域,在形成限制清扫区域之后,根据更新后的栅格地图,控制扫地机器人执行清扫任务,旨在解决现有的控制扫地机器人的方式都是在地面铺设磁条,利用磁条围成限制区域,由于使用磁条,导致磁条卷曲后铺平困难、用户容易绊倒的问题。In summary, the restriction information is acquired by the identification tag, and the restriction mark is performed on the grid map according to the restriction information, and the restriction cleaning area is formed according to the restriction mark, and after the restriction cleaning area is formed, the cleaning of the ground is controlled according to the updated raster map. The robot performs the cleaning task, aiming at solving the existing method of controlling the sweeping robot. The magnetic strip is laid on the ground, and the magnetic strip is used to enclose the restricted area. Due to the use of the magnetic strip, the magnetic strip is flattened after being curled, and the user is easily tripped. The problem.
另外,通过此方法对激光雷达扫地机器人的清扫区域进行限制,能够提升用户设立虚拟墙的便捷性,降低因设立虚拟墙而带来的对用户的干扰,提升用户体验,并且在对激光雷达扫地机器人上无需额外增加传感器,降低机器人成本以及生产时的组装复杂度。In addition, by limiting the cleaning area of the lidar cleaning robot by this method, the convenience of setting up a virtual wall by the user can be improved, the interference to the user caused by setting up the virtual wall can be reduced, the user experience can be improved, and the laser radar can be scanned. No additional sensors are added to the robot, reducing the cost of the robot and the assembly complexity during production.
如图2所示,本发明实施例还提出一种扫地机器人的控制系统1,所述系统1包括识别模块11、获取模块12、标记模块13、限制设置模块14和第一控制模块15。As shown in FIG. 2, an embodiment of the present invention further provides a control system 1 for a cleaning robot. The system 1 includes an identification module 11, an acquisition module 12, a marking module 13, a restriction setting module 14, and a first control module 15.
识别模块11,用于识别虚拟墙设备上的标签。The identification module 11 is configured to identify a label on the virtual wall device.
在本实施例中,虚拟墙设备为一板条,在板条上设有标签。在使用该虚拟墙设备时,将虚拟墙设备放置在需要限制清扫区域中,供扫地机器人扫描标签进行识别。在不清扫区域放置虚拟墙设备,具体地,将虚拟墙设备放置在墙边。In this embodiment, the virtual wall device is a slat, and a label is disposed on the slat. When using the virtual wall device, the virtual wall device is placed in the need to limit the cleaning area for the sweeping robot to scan the label for identification. Place the virtual wall device in the uncleaned area, specifically, the virtual wall device at the wall.
在本实施例中,扫地机器人为激光雷达扫地机器人。激光雷达扫地机器人使用激光雷达进行扫描标签,并不需要额外增加扫描装置。In this embodiment, the cleaning robot is a laser radar cleaning robot. Lidar sweeping robots use lidar to scan labels without the need for additional scanning equipment.
在本实施例中,虚拟墙设备用于限制扫地机器人清扫区域。In this embodiment, the virtual wall device is used to limit the sweeping robot cleaning area.
识别模块11包括:The identification module 11 includes:
通过扫描方式对虚拟墙设备上的标签进行识别。The tags on the virtual wall device are identified by scanning.
所述系统包括:The system includes:
第二控制模块,用于控制扫地机器人执行规划式清扫任务。The second control module is configured to control the sweeping robot to perform a planned cleaning task.
在扫地机器人执行规划式清扫任务时,打开扫描功能,在执行清扫的同时进行扫描,若扫描到虚拟墙设备上的标签,则进行识别。When the sweeping robot performs the scheduled cleaning task, the scan function is turned on, and scanning is performed while performing the cleaning. If the label on the virtual wall device is scanned, the identification is performed.
识别模块11包括:The identification module 11 includes:
第一子识别模块,用于识别吸光区域和反光区域相间分布排列的标签;a first sub-identification module, configured to identify a label arranged in a phase between the light absorption area and the reflective area;
第一子获取模块,用于获得吸光区域与反光区域的比例,以及吸光区域与反光区域的长度;a first sub-acquisition module, configured to obtain a ratio of the light absorption area and the light reflection area, and a length of the light absorption area and the light reflection area;
第二子获取模块,用于根据吸光区域与反光区域的比例,以及吸光区域与反光区域的长度,获取标签设定的限制方式。The second sub-acquisition module is configured to obtain a restriction mode of the label setting according to the ratio of the light absorption area to the reflection area and the length of the light absorption area and the reflection area.
在本实施例中,标签包括吸光区域和反光区域,由吸光区域和反光区域相间分布排列。标签中的吸光区域和反光区域不同,其对扫地机器的控制的限制方式不同。根据吸光区域与反光区域的比例,以及吸光区域与反光区域的长度,设定不同的限制方式。例如,标签吸光区域和反光区域依次为吸光区域A、反光区域B和吸光区域C,其中,吸光区域A的长度为3L,反光区域B的长度为L,吸光区域C的长度为2L。根据吸光区域与反光区域的长度为5L,以及吸光区域与所述反光区域的比例为2:1,设定限制方式。具体地,吸光区域与反光区域的比例以及吸光区域与反光区域的长度依次预设排布方式进行编码,通过不同的编码方式设定不同的限制方式。在扫地机器人扫描该标签时,获得上述的信息。In this embodiment, the label includes a light absorbing region and a light reflecting region, and the light absorbing region and the light reflecting region are arranged to be spaced apart from each other. The light absorbing area and the light reflecting area in the label are different, and the manner of restricting the control of the sweeping machine is different. Different limiting methods are set according to the ratio of the light absorbing area to the light reflecting area and the length of the light absorbing area and the light reflecting area. For example, the label light absorbing area and the light reflecting area are, in order, the light absorbing area A, the light reflecting area B, and the light absorbing area C, wherein the length of the light absorbing area A is 3L, the length of the light reflecting area B is L, and the length of the light absorbing area C is 2L. The restriction mode is set according to the length of the light absorption region and the light reflection region being 5 L, and the ratio of the light absorption region to the light reflection region being 2:1. Specifically, the ratio of the light absorbing area to the light reflecting area and the length of the light absorbing area and the light reflecting area are sequentially encoded in a predetermined arrangement manner, and different limiting modes are set by different encoding methods. The above information is obtained when the sweeping robot scans the tag.
在本实施例中,标签的吸光区域是黑色的吸光材质区域,标签的反光区域是白色的反光材质区域。In this embodiment, the light absorbing area of the label is a black light absorbing material area, and the reflective area of the label is a white reflective material area.
在本实施例中,虚拟墙设备上的标签是以虚拟墙设备的位置和限制方式进行限定,虚拟墙设备上的标签的限制方式包括以虚拟墙设备为圆心,按预设长度为半径的范围限定,或者,以虚拟墙设备为中心,按预设的长宽向外延伸的区域限定。In this embodiment, the label on the virtual wall device is defined by the location and the limit of the virtual wall device. The limitation of the label on the virtual wall device includes the virtual wall device as the center and the radius of the preset length. Qualified, or defined by the area of the virtual wall device, extending outward according to the preset length and width.
识别模块11通过识别虚拟墙设备的正反侧的标签,获取虚拟墙设备的正反侧的标签不同限制方式。The identification module 11 obtains different restrictions on the labels of the front and back sides of the virtual wall device by identifying the labels on the front and back sides of the virtual wall device.
在本实施例中,虚拟墙设备具有正反侧,虚拟墙设备的正反侧设有不同限制方式的标签。In this embodiment, the virtual wall device has a front and a back side, and the front and back sides of the virtual wall device are provided with labels of different restriction modes.
在本实施例中,虚拟墙设备为无源类别的虚拟墙设备。In this embodiment, the virtual wall device is a virtual wall device of a passive category.
获取模块12,用于解析标签,获取限制信息。The obtaining module 12 is configured to parse the label and obtain the restriction information.
在识别到标签之后,解析标签,获取限制信息。根据吸光区域与反光区域的比例,以及吸光区域与反光区域的长度,解析出其所设定的限制方式,根据解析出的限制方式形成限制信息,从而获取限制信息。After the tag is identified, the tag is parsed and the restriction information is obtained. The restriction information is calculated based on the ratio of the light absorption region to the light reflection region and the length of the light absorption region and the light reflection region, and the restriction information is formed based on the analyzed restriction method to acquire the restriction information.
标记模块13,用于根据限制信息,对栅格地图进行限制标记。The marking module 13 is configured to limit the grid map according to the restriction information.
在获取限制信息之后,根据限制信息,对栅格地图进行限制标记。限制信息中包括限制方式,根据限制方式及虚拟墙设备在栅格地图上的位置,对栅格地图进行限制标记。限制标记是将在栅格地图上需要限制的栅格进行标红,标红的栅格表示禁止扫地机器人进入。After obtaining the restriction information, the grid map is restricted according to the restriction information. The restriction information includes a restriction method, and the grid map is restricted according to the restriction method and the position of the virtual wall device on the grid map. The limit mark is to mark the grid that needs to be restricted on the grid map, and the red mark grid indicates that the sweeping robot is prohibited from entering.
标记模块13包括:The marking module 13 includes:
生成子模块,用于通过SLAM算法生成室内环境的栅格地图;Generating a sub-module for generating a raster map of the indoor environment by using the SLAM algorithm;
第一子标记模块,用于在栅格地图上标记虚拟墙设备的位置;a first sub-marking module for marking a location of the virtual wall device on the grid map;
第二子标记模块,用于根据限制信息和虚拟墙设备在栅格地图的位置,对栅格地图进行限制标记。The second sub-marking module is configured to limit the grid map according to the restriction information and the position of the virtual wall device in the grid map.
SLAM 英文全称是Simultaneous Localization And
Mapping,也称为CML (Concurrent Mapping and Localization), 即时定位与地图构建,或并发建图与定位。SLAM所要处理的问题可以描述为:将一个机器人放入未知环境中的未知位置,是否有办法让机器人一边逐步描绘出此环境完全的地图,所谓完全的地图(a consistent map)是指不受障碍行进到房间可进入的每个角落。SLAM English full name is Simultaneous Localization And
Mapping, also known as CML (Concurrent Mapping and Localization), real-time location and map construction, or concurrent mapping and positioning. The problem that SLAM has to deal with can be described as: putting a robot into an unknown location in an unknown environment, is there a way for the robot to gradually draw a complete map of the environment, the so-called a consistent map means no obstacles Go to every corner where the room can enter.
栅格地图是通过SLAM算法生成室内环境的栅格地图,在识别虚拟墙设备上的标签时,在栅格地图上对虚拟墙设备进行标记,在栅格地图上标记虚拟墙设备的位置,在栅格地图上完成对虚拟墙设备标记之后,根据限制信息和虚拟墙设备在栅格地图的位置,对栅格地图进行限制标记。A raster map is a raster map that generates an indoor environment through the SLAM algorithm. When identifying a label on a virtual wall device, the virtual wall device is marked on the raster map, and the position of the virtual wall device is marked on the raster map. After the virtual wall device is marked on the raster map, the raster map is restricted based on the restriction information and the position of the virtual wall device in the raster map.
限制设置模块14,用于将限制标记的区域设置为限制清扫区域。The restriction setting module 14 is configured to set the area of the restriction mark to limit the cleaning area.
在栅格地图完成限制标记之后,限制标记的栅格形成限制标记的区域,再对限制标记的区域进行设置,在本实施例中,将限制标记的区域设置为限制清扫区域,也就是说,在扫地机器人执行清扫任务时,限制清扫区域是禁止扫地机器人进入,扫地机器人对限制清扫区域不进行清扫。After the grid map completes the restriction mark, the grid of the limit mark forms an area of the limit mark, and the area of the limit mark is set. In this embodiment, the area of the limit mark is set to limit the cleaning area, that is, When the cleaning robot performs the cleaning task, the restriction of the cleaning area prohibits the entry of the cleaning robot, and the cleaning robot does not clean the restricted cleaning area.
第一控制模块15,用于根据当前的栅格地图,控制扫地机器人执行清扫任务。The first control module 15 is configured to control the cleaning robot to perform a cleaning task according to the current raster map.
根据当前的栅格地图,即是根据在栅格地图上设置限制清扫区域之后的栅格地图,控制扫地机器人执行清扫任务。若在识别标签之前,扫地机器人是在执行清扫任务,则控制扫地机器人根据限制清扫区域继续执行之前未完成的清扫任务。若在识别标签之前,扫地机器人不是在执行清扫任务,则控制扫地机器人根据限制清扫区域执行清扫任务。According to the current raster map, the sweeping robot is controlled to perform the cleaning task according to the grid map after the limit cleaning area is set on the raster map. If the cleaning robot is performing the cleaning task before the identification of the label, the cleaning robot is controlled to continue the execution of the previously unfinished cleaning task according to the restricted cleaning area. If the cleaning robot is not performing the cleaning task before the label is recognized, the cleaning robot is controlled to perform the cleaning task according to the restricted cleaning area.
综上所述,通过识别标签获取限制信息,再根据限制信息在栅格地图上进行限制标记,根据限制标记形成限制清扫区域,在形成限制清扫区域之后,根据更新后的栅格地图,控制扫地机器人执行清扫任务,旨在解决现有的控制扫地机器人的方式都是在地面铺设磁条,利用磁条围成限制区域,由于使用磁条,导致磁条卷曲后铺平困难、用户容易绊倒的问题。In summary, the restriction information is acquired by the identification tag, and the restriction mark is performed on the grid map according to the restriction information, and the restriction cleaning area is formed according to the restriction mark, and after the restriction cleaning area is formed, the cleaning of the ground is controlled according to the updated raster map. The robot performs the cleaning task, aiming at solving the existing method of controlling the sweeping robot. The magnetic strip is laid on the ground, and the magnetic strip is used to enclose the restricted area. Due to the use of the magnetic strip, the magnetic strip is flattened after being curled, and the user is easily tripped. The problem.
另外,通过此方法对激光雷达扫地机器人的清扫区域进行限制,能够提升用户设立虚拟墙的便捷性,降低因设立虚拟墙而带来的对用户的干扰,提升用户体验,并且在对激光雷达扫地机器人上无需额外增加传感器,降低机器人成本以及生产时的组装复杂度。In addition, by limiting the cleaning area of the lidar cleaning robot by this method, the convenience of setting up a virtual wall by the user can be improved, the interference to the user caused by setting up the virtual wall can be reduced, the user experience can be improved, and the laser radar can be scanned. No additional sensors are added to the robot, reducing the cost of the robot and the assembly complexity during production.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.
Claims (10)
- 一种扫地机器人的控制方法,其特征在于,所述方法包括:A method for controlling a sweeping robot, characterized in that the method comprises:识别虚拟墙设备上的标签;Identify tags on virtual wall devices;解析所述标签,获取限制信息;Parsing the tag to obtain restriction information;根据所述限制信息,对栅格地图进行限制标记;Restricting the grid map according to the restriction information;将所述限制标记的区域设置为限制清扫区域;Setting the area of the restriction mark to limit the cleaning area;根据当前的栅格地图,控制扫地机器人执行清扫任务。The sweeping robot is controlled to perform a sweeping task according to the current raster map.
- 根据权利要求1所述的一种扫地机器人的控制方法,其特征在于,在所述识别虚拟墙设备上的标签的步骤中,包括:The method for controlling a cleaning robot according to claim 1, wherein the step of identifying the label on the virtual wall device comprises:识别吸光区域和反光区域相间分布排列的标签;Identifying labels that are arranged between the light absorbing region and the reflective region;获得所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度;Obtaining a ratio of the light absorbing region to the light reflecting region, and a length of the light absorbing region and the light reflecting region;根据所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度,获取所述标签设定的限制方式。And obtaining a restriction mode of the label setting according to a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area.
- 根据权利要求2所述的一种扫地机器人的控制方法,在所述识别虚拟墙设备上的标签的步骤中,包括:The method for controlling a cleaning robot according to claim 2, wherein the step of identifying a label on the virtual wall device comprises:通过识别虚拟墙设备的正反侧的标签,获取虚拟墙设备的正反侧的标签不同限制方式。By identifying the labels on the front and back sides of the virtual wall device, different restrictions on the labels of the front and back sides of the virtual wall device are obtained.
- 根据权利要求1所述的一种扫地机器人的控制方法,在所述根据所述限制信息,对栅格地图进行限制标记的步骤中,包括:The control method of the cleaning robot according to claim 1, wherein the step of limiting the grid map according to the restriction information comprises:通过SLAM算法生成室内环境的栅格地图;Generating a raster map of the indoor environment by the SLAM algorithm;在所述栅格地图上标记所述虚拟墙设备的位置;Marking the location of the virtual wall device on the grid map;根据所述限制信息和所述虚拟墙设备在所述栅格地图的位置,对所述栅格地图进行限制标记。The grid map is restricted according to the restriction information and the position of the virtual wall device at the grid map.
- 根据权利要求1所述的一种扫地机器人的控制方法,在所述识别虚拟墙设备上的标签的步骤之前,所述方法包括:The method of controlling a cleaning robot according to claim 1, before the step of identifying a label on the virtual wall device, the method comprises:控制扫地机器人执行规划式清扫任务。Control the sweeping robot to perform a planned cleaning task.
- 一种扫地机器人的控制系统,其特征在于,所述系统包括:A control system for a sweeping robot, characterized in that the system comprises:识别模块,用于识别虚拟墙设备上的标签;An identification module for identifying a label on the virtual wall device;获取模块,用于解析所述标签,获取限制信息;An obtaining module, configured to parse the label, and obtain restriction information;标记模块,用于根据所述限制信息,对栅格地图进行限制标记;a marking module, configured to limit the grid map according to the restriction information;限制设置模块,用于将所述限制标记的区域设置为限制清扫区域;a limit setting module, configured to set the area of the limit mark to limit the cleaning area;第一控制模块,用于根据当前的栅格地图,控制扫地机器人执行清扫任务。The first control module is configured to control the cleaning robot to perform a cleaning task according to the current raster map.
- 根据权利要求6所述的一种扫地机器人的控制系统,其特征在于,所述识别模块包括:The control system of a cleaning robot according to claim 6, wherein the identification module comprises:第一子识别模块,用于识别吸光区域和反光区域相间分布排列的标签;a first sub-identification module, configured to identify a label arranged in a phase between the light absorption area and the reflective area;第一子获取模块,用于获得所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度;a first sub-acquisition module, configured to obtain a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area;第二子获取模块,用于根据所述吸光区域与所述反光区域的比例,以及所述吸光区域与所述反光区域的长度,获取所述标签设定的限制方式。And a second sub-acquisition module, configured to acquire a restriction manner of the label setting according to a ratio of the light absorption area to the light reflection area, and a length of the light absorption area and the light reflection area.
- 根据权利要求7所述的一种扫地机器人的控制系统,所述识别模块通过识别虚拟墙设备的正反侧的标签,获取虚拟墙设备的正反侧的标签不同限制方式。The control system of the cleaning robot according to claim 7, wherein the identification module acquires different restrictions on the labels of the front and back sides of the virtual wall device by identifying the labels on the front and back sides of the virtual wall device.
- 根据权利要求6所述的一种扫地机器人的控制系统,所述标记模块包括:A control system for a cleaning robot according to claim 6, wherein the marking module comprises:生成子模块,用于通过SLAM算法生成室内环境的栅格地图;Generating a sub-module for generating a raster map of the indoor environment by using the SLAM algorithm;第一子标记模块,用于在所述栅格地图上标记所述虚拟墙设备的位置;a first sub-marking module, configured to mark a location of the virtual wall device on the grid map;第二子标记模块,用于根据所述限制信息和所述虚拟墙设备在所述栅格地图的位置,对所述栅格地图进行限制标记。a second sub-marking module, configured to perform restriction marking on the grid map according to the restriction information and a location of the virtual wall device in the grid map.
- 根据权利要求6所述的一种扫地机器人的控制系统,所述系统包括:A control system for a cleaning robot according to claim 6, the system comprising:第二控制模块,用于控制扫地机器人执行规划式清扫任务。The second control module is configured to control the sweeping robot to perform a planned cleaning task.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810420674.5A CN108490955A (en) | 2018-05-04 | 2018-05-04 | A kind of control method and system of sweeping robot |
CN201810420674.5 | 2018-05-04 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019210566A1 true WO2019210566A1 (en) | 2019-11-07 |
Family
ID=63353471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/093458 WO2019210566A1 (en) | 2018-05-04 | 2018-06-28 | Control method and system for robotic vacuum cleaner |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108490955A (en) |
WO (1) | WO2019210566A1 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109276190A (en) * | 2018-10-23 | 2019-01-29 | 中国人民解放军陆军工程大学 | UWB-based floor sweeping robot monitoring method and equipment thereof |
JP2020075032A (en) * | 2018-11-09 | 2020-05-21 | 東芝ライフスタイル株式会社 | Autonomic type vacuum cleaner |
CN109459048A (en) * | 2019-01-07 | 2019-03-12 | 上海岚豹智能科技有限公司 | Map loading method and equipment for robot |
CN111493748A (en) * | 2019-01-31 | 2020-08-07 | 北京奇虎科技有限公司 | Robot cleaning execution method, device and computer readable storage medium |
CN110251000A (en) * | 2019-05-20 | 2019-09-20 | 广东宝乐机器人股份有限公司 | A method of improving sweeping robot cleaning efficiency |
CN112214010B (en) * | 2019-07-09 | 2022-01-11 | 苏州科瓴精密机械科技有限公司 | Updating method and updating system for grid map parameters |
CN110448241B (en) * | 2019-07-18 | 2021-05-18 | 华南师范大学 | Robot trapped detection and escaping method |
CN111248818B (en) * | 2020-03-05 | 2021-08-13 | 美智纵横科技有限责任公司 | State control method, sweeping robot and computer storage medium |
CN111523334B (en) * | 2020-04-09 | 2023-09-19 | 美智纵横科技有限责任公司 | Virtual exclusion zone setting method and device, terminal equipment, tag and storage medium |
CN112741562A (en) * | 2020-12-30 | 2021-05-04 | 苏州三六零机器人科技有限公司 | Sweeper control method, sweeper control device, sweeper control equipment and computer readable storage medium |
CN113465588A (en) * | 2021-06-09 | 2021-10-01 | 丰疆智能科技股份有限公司 | Automatic generation method and device of navigation virtual wall, electronic equipment and storage medium |
CN114371494B (en) * | 2022-03-22 | 2022-06-24 | 西南科技大学 | Radioactive source scene simulation method for autonomous sourcing robot |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130024025A1 (en) * | 2011-07-21 | 2013-01-24 | Harry Chia-Hung Hsu | Autonomous Robot and A Positioning Method Thereof |
CN104858871A (en) * | 2015-05-15 | 2015-08-26 | 珠海市一微半导体有限公司 | Robot system and map self-building and navigation method thereof |
US20160214258A1 (en) * | 2015-01-23 | 2016-07-28 | Jason Yan | System of confining robot movement actions and a method thereof |
CN106774294A (en) * | 2015-11-20 | 2017-05-31 | 沈阳新松机器人自动化股份有限公司 | A kind of mobile robot virtual wall method for designing |
CN106802655A (en) * | 2016-11-30 | 2017-06-06 | 北京贝虎机器人技术有限公司 | Indoor map generation method and device |
CN206780405U (en) * | 2017-05-31 | 2017-12-22 | 北京小米移动软件有限公司 | Autonomous system, autonomous mobile apparatus and virtual wall component |
CN107791251A (en) * | 2017-11-22 | 2018-03-13 | 深圳市沃特沃德股份有限公司 | robot movement control method and robot |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982303B (en) * | 2011-09-02 | 2015-04-08 | 深圳光启高等理工研究院 | A cargo recognition system based on lighting lamps |
CN102982424B (en) * | 2011-09-02 | 2017-04-26 | 深圳光启智能光子技术有限公司 | Goods entering and leaving management system based on internet of things |
CN204229229U (en) * | 2014-11-07 | 2015-03-25 | 科沃斯机器人有限公司 | Guiding virtual wall system |
EP3249419A4 (en) * | 2015-01-22 | 2018-02-28 | Guangzhou Airob Robot Technology Co., Ltd. | Color block tag-based localization and mapping method and device thereof |
CN204700886U (en) * | 2015-05-15 | 2015-10-14 | 珠海市一微半导体有限公司 | Robot system |
EP3512668B1 (en) * | 2016-09-14 | 2021-07-21 | iRobot Corporation | Systems and methods for configurable operation of a robot based on area classification |
CN107049155B (en) * | 2017-04-25 | 2020-03-03 | 北京小米移动软件有限公司 | Control method and device of sweeping robot |
-
2018
- 2018-05-04 CN CN201810420674.5A patent/CN108490955A/en active Pending
- 2018-06-28 WO PCT/CN2018/093458 patent/WO2019210566A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130024025A1 (en) * | 2011-07-21 | 2013-01-24 | Harry Chia-Hung Hsu | Autonomous Robot and A Positioning Method Thereof |
US20160214258A1 (en) * | 2015-01-23 | 2016-07-28 | Jason Yan | System of confining robot movement actions and a method thereof |
CN104858871A (en) * | 2015-05-15 | 2015-08-26 | 珠海市一微半导体有限公司 | Robot system and map self-building and navigation method thereof |
CN106774294A (en) * | 2015-11-20 | 2017-05-31 | 沈阳新松机器人自动化股份有限公司 | A kind of mobile robot virtual wall method for designing |
CN106802655A (en) * | 2016-11-30 | 2017-06-06 | 北京贝虎机器人技术有限公司 | Indoor map generation method and device |
CN206780405U (en) * | 2017-05-31 | 2017-12-22 | 北京小米移动软件有限公司 | Autonomous system, autonomous mobile apparatus and virtual wall component |
CN107791251A (en) * | 2017-11-22 | 2018-03-13 | 深圳市沃特沃德股份有限公司 | robot movement control method and robot |
Also Published As
Publication number | Publication date |
---|---|
CN108490955A (en) | 2018-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019210566A1 (en) | Control method and system for robotic vacuum cleaner | |
CN102138769B (en) | Cleaning robot and cleaning method thereby | |
CN108247647B (en) | Cleaning robot | |
US11709497B2 (en) | Method for controlling an autonomous mobile robot | |
WO2018171735A1 (en) | Virtual wall system for use in mobile device, and implementation method thereof | |
CN104737085B (en) | Robot for automatically detecting or handling ground and method | |
CN106913289B (en) | Sweeping processing method and device of sweeping robot | |
CN105259918B (en) | Automatic charging and returning method for robot dust collector | |
CN110353579A (en) | A kind of clean robot automatic path planning method | |
CN110946513B (en) | Control method and device of sweeping robot | |
CN112890680B (en) | Follow-up cleaning operation method, control device, robot and storage medium | |
CN110897567A (en) | Cleaning method based on target object recognition and cleaning robot | |
CN111568312B (en) | Object boundary extraction method and device | |
CN105629972A (en) | Guide type virtual wall system | |
CN111857156B (en) | Laser-based robot region division method, chip and robot | |
CN111061270B (en) | Full coverage method, system and operation robot | |
CN108803586A (en) | A kind of working method of sweeping robot | |
CN204229229U (en) | Guiding virtual wall system | |
CN206659754U (en) | A kind of sweeping robot navigation system based on threedimensional model positioning | |
CN110251000A (en) | A method of improving sweeping robot cleaning efficiency | |
CN110967703A (en) | Indoor navigation method and indoor navigation device using laser radar and camera | |
CN109199240A (en) | A kind of sweeping robot control method and system based on gesture control | |
CN111694360B (en) | Method and device for determining position of sweeping robot and sweeping robot | |
CN110604515B (en) | Multi-machine cooperation system and cleaning equipment | |
CN116711996A (en) | Operation method, self-mobile device, and storage medium |
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: 18917561 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: 18917561 Country of ref document: EP Kind code of ref document: A1 |