WO2019109229A1 - Indoor area dividing method and sweeping robot - Google Patents

Indoor area dividing method and sweeping robot Download PDF

Info

Publication number
WO2019109229A1
WO2019109229A1 PCT/CN2017/114506 CN2017114506W WO2019109229A1 WO 2019109229 A1 WO2019109229 A1 WO 2019109229A1 CN 2017114506 W CN2017114506 W CN 2017114506W WO 2019109229 A1 WO2019109229 A1 WO 2019109229A1
Authority
WO
WIPO (PCT)
Prior art keywords
cleaning
magnetic strip
virtual boundary
magnetic
area
Prior art date
Application number
PCT/CN2017/114506
Other languages
French (fr)
Chinese (zh)
Inventor
张立新
周毕兴
周平
Original Assignee
深圳市沃特沃德股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市沃特沃德股份有限公司 filed Critical 深圳市沃特沃德股份有限公司
Priority to PCT/CN2017/114506 priority Critical patent/WO2019109229A1/en
Publication of WO2019109229A1 publication Critical patent/WO2019109229A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Definitions

  • the invention relates to the field of area recognition, in particular to an indoor area dividing method and a cleaning robot.
  • the sweeping robot also known as the robot vacuum cleaner, uses the fan mounted on the fuselage to suck the ground garbage into the dust box and move it autonomously through the walking wheel to achieve the purpose of automatically cleaning the room.
  • the sweeping robot needs to divide the indoor environment.
  • the first one is to divide the environment into several parts according to the fixed size according to the position information of the robot.
  • This method cannot adapt to the different characteristics of different environments, and it is easy to have an unreasonable division of regions.
  • the second is to provide guidance and restrictions through external devices, such as IRobot's virtual beacon technology.
  • the cost of the virtual lighthouse is relatively high. If the user needs to divide the room into multiple areas, the virtual lighthouse needs to be purchased, which greatly increases the use cost. In addition, the virtual lighthouse is too large, for example, it will affect the normal use of the door. The user needs to set the display when it is used, and it needs to be put away when it is used up. The operation is cumbersome.
  • the main object of the present invention is to provide a lower cost indoor area dividing method and a cleaning robot.
  • the invention provides a method for dividing an indoor area, comprising the following steps:
  • the sweeping robot detects a magnetic strip pre-set on the floor of the door using a magnetic field sensor installed at the bottom thereof;
  • the determining the position of the magnetic strip in the environment map, and determining the virtual boundary position between the two cleaning regions according to the position of the magnetic strip includes:
  • the spatial coordinate position of the magnetic stripe in the environment map is calculated and saved, and the spatial coordinate position is the coordinate position of a point in the magnetic stripe;
  • the virtual boundary position between the two cleaning regions is determined according to a plurality of spatial coordinate positions.
  • step of determining the virtual boundary position between the two cleaning regions according to the plurality of spatial coordinate positions comprises:
  • the recorded spatial coordinate positions are clustered, the length of the magnetic stripe and the position of the magnetic stripe in the environment map are determined, and the magnetic stripe position is saved and set as a virtual boundary between the two cleaning areas.
  • the step of clustering the recorded spatial coordinate positions, determining the length of the magnetic strip and the position in the environment map, and setting the magnetic strip position to the virtual boundary between the two cleaning regions includes:
  • the magnetic stripe position is saved and it is determined that the cleaning area on the other side of the virtual boundary is not cleaned.
  • the method further includes:
  • the step of the cleaning robot includes:
  • the sweeping robot When the cleaning area has not been cleaned, the sweeping robot encounters the virtual boundary to take the avoidance measure; when the cleaning area has finished cleaning, the sweeping robot crosses the virtual boundary and enters the adjacent cleaning area.
  • the avoidance measure is to retreat and turn to ensure that the sweeping robot does not cross the virtual boundary.
  • the invention also provides a sweeping robot, which adopts the above indoor area dividing method, the sweeping robot includes a detecting module and a judging module; the detecting module is configured to detect a magnetic strip pre-set on the floor of the door door by using a magnetic field sensor installed at the bottom thereof The judging module is configured to determine the position of the magnetic stripe in the environment map, and determine the virtual boundary position between the two cleaning areas according to the position of the magnetic strip.
  • the determining module includes a positioning sub-module and a fixed-edge sub-module; the positioning sub-module is configured to calculate the magnetic stripe in the environment map according to the position of the sweeping robot in the environment map and the preset structure information of the sweeping robot when the magnetic field signal is detected
  • the spatial coordinate position is saved and the spatial coordinate position is the coordinate position of a point in the magnetic strip; the fixed edge sub-module is used to determine the virtual boundary position between the two cleaning regions according to the plurality of spatial coordinate positions.
  • the fixed edge sub-module includes a clustering unit; the clustering unit is configured to cluster the recorded spatial coordinate positions, determine the length of the magnetic stripe and the magnetic stripe position in the environment map, and save and set the magnetic stripe position. The virtual boundary between the two cleaning areas.
  • the fixed edge sub-module further includes a comparison unit and a determination unit; the comparison unit is configured to compare the magnetic strip position with the recorded magnetic strip position to determine whether the magnetic strip is newly discovered; and the determining unit is configured to determine the new discovery When the magnetic strip is used, the position of the magnetic strip is saved, and it is determined that the cleaning area on the other side of the virtual boundary is not cleaned.
  • the fixed edge sub-module further includes a distinguishing unit; the distinguishing unit is configured to determine, according to the cleaned area record in the environment map, whether the cleaning area on the other side of the magnetic strip position has been cleaned when determining that the magnetic strip is not newly discovered magnetic strip .
  • the cleaning robot further includes a avoidance judgment module; the avoidance judgment module is configured to take the avoidance measure when the cleaning robot encounters the virtual boundary when the cleaning area is not completed; when the cleaning area has been cleaned, the sweeping robot crosses the virtual boundary to enter the adjacent Area.
  • the avoidance measure is to retreat and turn to ensure that the sweeping robot does not cross the virtual boundary.
  • the indoor area dividing method adopts a magnetic strip as a marking auxiliary for determining a virtual boundary, not only the area division is reasonable, but also the magnetic strip is smaller in size, and can be set for a long time, avoiding frequent moving of the boundary and reducing artificial Participation, operation is more convenient, and the use of virtual lighthouses can be compared to reduce costs.
  • FIG. 1 is a schematic diagram showing the steps of an embodiment of the indoor area dividing method of the present invention.
  • step S2 is a schematic diagram showing the steps of an embodiment of step S2 in the indoor area dividing method of the present invention
  • step S22 in the indoor area dividing method of the present invention
  • step S22 is a schematic diagram showing the steps of another embodiment of step S22 in the indoor area dividing method of the present invention.
  • Figure 5 is a schematic diagram showing the steps of another embodiment of the indoor area dividing method of the present invention.
  • FIG. 6 is a schematic structural view of an embodiment of the cleaning robot of the present invention.
  • FIG. 7 is a schematic structural view of an embodiment of a judging module in the cleaning robot of the present invention.
  • FIG. 8 is a schematic structural view of an embodiment of a fixed edge submodule in the cleaning robot of the present invention.
  • FIG. 9 is a schematic structural view of another embodiment of a fixed edge submodule in the cleaning robot of the present invention.
  • Figure 10 is a schematic view showing the structure of another embodiment of the cleaning robot of the present invention.
  • the indoor area dividing method of the present invention includes the following steps:
  • the sweeping robot detects the magnetic strip pre-set on the floor of the door by using a magnetic field sensor installed at the bottom thereof.
  • the magnetic strip is disposed at the doorway; the flat shape can be set for a long time without affecting the opening and closing of the door, which is easy to move, reduces human intervention, is more convenient, has a better user experience, and the cost of the magnetic stripe. Lower cost can reduce the user's cost of use.
  • the environment map is a map acquired by the sweeping robot through the existing SLAM technical means, including room boundary, position and size of the object, space coordinate system, etc.; the whole can be cleaned by the magnetic stripe
  • the space is divided into various areas, especially in a house with multiple rooms. Each room can be divided separately to prevent the sweeping robot from working in different rooms without planning. The user experience is better, and the magnetic stripe position is a virtual boundary. Divide two adjacent cleaning areas.
  • the magnetic strip is attached to the door opening and is disposed parallel to the width direction of the closed door.
  • step S2 includes:
  • the cleaning robot obtains a spatial coordinate position of the magnetic stripe in the environment map according to one or more pieces of information in the preset structure information.
  • the magnetic field sensor that detects the magnetic strip is located at the position of the sweeping robot and the sweeping robot The position of the point corresponding to the position is displayed in the environment map, and the position of the magnetic stripe in the environment map can be obtained by combining the position of the sweeping robot in the environment map. .
  • the preset structure information includes the length and width of the cleaning robot, the position of the magnetic field sensor at the position of the cleaning robot, and the position of the position corresponding to the position of the cleaning robot in the environment map.
  • the magnetic field sensor is provided with a plurality of It is located at the edge of the sweeping robot.
  • each magnetic stripe position corresponds to one virtual boundary, and one cleaning area may have a plurality of virtual boundaries.
  • the step S22 includes:
  • S221 Cluster the recorded spatial coordinate positions, determine the length of the magnetic stripe and the position of the magnetic stripe in the environment map, and save and set the magnetic stripe position as a virtual boundary between the two cleaning regions.
  • the clustering includes, but is not limited to, the method of extracting line segments, classifying different spatial coordinate positions, obtaining the general length of the magnetic strip and the position of the entire magnetic strip in the environment map through a plurality of spatial coordinate positions, and the whole
  • the position of the magnetic strip in the environment map is the position of the magnetic strip, and the position of the magnetic strip is a virtual boundary.
  • the step S22 further includes:
  • the comparison is the entire magnetic stripe contrast, that is, the positional comparison of the virtual boundary.
  • step S223 if it is a newly discovered magnetic strip, it means that there is a virtual boundary and a cleaning area existing on both sides of the magnetic strip, and the cleaning is opposite to the cleaning area where the cleaning robot is located, bounded by the virtual boundary where the magnetic strip is located. The area has not been cleaned.
  • the method includes:
  • step S224 if it is determined that the magnetic strip is not newly found, it is necessary to confirm whether the adjacent cleaning area is the covered area on the environmental map by the magnetic strip position, and if the adjacent cleaning area has been cleaned, if not, the phase is indicated.
  • the cleaning area of the neighborhood is not cleaned.
  • the cleaned area is the covered area, and the coverage is displayed in the environment map.
  • the method includes:
  • step S3 when the cleaning area is not cleaned, the cleaning robot encounters the virtual boundary to take the avoidance measure; when it is determined that the cleaning area has completed the cleaning, when the cleaning robot encounters the virtual boundary, no reaction measures are taken, and the virtual boundary is directly crossed.
  • Enter the adjacent uncleaned sweep area When there are a plurality of unswept and adjacent cleaning regions, the order of entering the adjacent cleaning regions may be based on the principle of proximity, that is, when there are a plurality of uncleaned adjacent cleaning regions, the first distance is the closest to the cleaning robot. The uncleaned adjacent cleaning area, the sweeping robot automatically enters the adjacent area from the nearest channel according to the coordinate positioning.
  • the avoidance measure is a back-off, turn-by-turn guarantee that the sweeping robot will not cross the virtual boundary.
  • the edge of the sweeping robot is determined by information such as the length and width of the sweeping robot in the preset structure information, the position of the magnetic field sensor at the position of the sweeping robot, and the position of the point corresponding to the position of the sweeping robot in the environment map. Reach the virtual boundary.
  • the present invention further provides a cleaning robot, which adopts the above-mentioned indoor area dividing method.
  • the cleaning robot includes a detecting module 1 and a determining module 2; the detecting module 1 is configured to detect a preset in the room by using a magnetic field sensor installed at the bottom thereof.
  • the magnetic strip on the ground of the door; the judging module 2 is for determining the position of the magnetic strip in the environment map, and determining the virtual boundary position between the two cleaning areas according to the position of the magnetic strip.
  • the magnetic strip is arranged at the door; the flat shape can be set for a long time without affecting the opening and closing of the door, so that it is easy to move, reducing human intervention, more convenient, better user experience, and magnetic stripe
  • the lower cost can reduce the user's use cost.
  • the environment map is a map acquired by the sweeping robot through the existing SLAM technical means during the work process, including room boundaries, position and size of the objects, space coordinate system, etc.;
  • the entire space to be cleaned is divided into various areas, especially in a house with multiple rooms, each room can be divided separately to prevent the sweeping robot from working in different rooms without planning, the user experience is better, the magnetic strip position Divide the adjacent two cleaning areas for the virtual boundary.
  • the cleaned area is the covered area, and the coverage is displayed in the environment map.
  • the area on the other side of the virtual boundary is not covered, it can be determined that there is an uncleaned cleaning area. .
  • the magnetic strip is disposed parallel to the width direction of the door when closed.
  • the magnetic strip is less than or equal to the width of the door.
  • the determining module 2 includes a positioning sub-module 21 and a fixed-edge sub-module 22; the positioning sub-module 21 is configured to calculate the magnetic position according to the position of the cleaning robot in the environment map and the preset structure information of the cleaning robot according to the detection of the magnetic field signal.
  • the strip is stored in the space coordinate position in the environment map, and the space coordinate position is the coordinate position of a point in the magnetic strip; the fixed edge sub-module 22 is configured to determine the virtual boundary position between the two cleaning areas according to the plurality of spatial coordinate positions.
  • the preset structure information includes the length and width of the cleaning robot, the position of the magnetic field sensor at the cleaning robot, and the position of the position corresponding to the position of the cleaning robot in the environment map. And respectively disposed at an edge position of the cleaning robot; the cleaning robot obtains a spatial coordinate position of the magnetic stripe in the environment map according to one or more pieces of information in the preset structure information.
  • the magnetic field of the magnetic strip is detected The position of the sensor located at the position of the sweeping robot and the position corresponding to the position of the sweeping robot in the environment map can be combined with the position of the sweeping robot in the environment map to obtain the spatial coordinate position of the magnetic stripe in the environment map. .
  • each magnetic stripe position corresponds to one virtual boundary, and one cleaning area may have multiple virtual boundaries.
  • the fixed edge sub-module 22 includes a clustering unit 221; the clustering unit 221 is configured to cluster the recorded spatial coordinate positions, determine the length of the magnetic stripe and the position of the magnetic stripe in the environment map, and position the magnetic stripe Save and set as the virtual boundary between the two sweep areas.
  • the clustering includes, but is not limited to, the method of extracting line segments to classify different spatial coordinate positions, and obtain the general length of the magnetic strip and the position of the entire magnetic strip in the environment map through multiple spatial coordinate positions.
  • the position of the entire magnetic stripe in the environment map is the position of the magnetic stripe, and the position of the magnetic stripe is a virtual boundary.
  • the fixed edge sub-module 22 further includes a comparison unit 222 and a determination unit 223; the comparison unit 222 is configured to compare the magnetic strip position with the already recorded magnetic strip position to determine whether it is a newly discovered magnetic strip; the determining unit 223 is configured to determine When the magnetic strip is newly discovered, the magnetic strip position is saved, and it is determined that the cleaning area on the other side of the virtual boundary is not cleaned.
  • the comparison is the entire magnetic stripe contrast, which is the positional comparison of the virtual boundary.
  • the determining unit 223 if it is a newly discovered magnetic strip, it means that there is a virtual boundary and a cleaning area existing on both sides of the magnetic strip, and the virtual boundary where the magnetic strip is located is bounded, and the cleaning area where the cleaning robot is located is opposite to the cleaning area where the cleaning robot is located. The cleaning area has not been cleaned.
  • the fixed edge sub-module 22 further includes a distinguishing unit 224.
  • the distinguishing unit 224 is configured to determine the cleaning of the other side of the magnetic stripe position according to the cleaned area record in the environment map when it is determined that the magnetic stripe is not newly discovered. Whether the area has been cleaned.
  • the distinguishing unit 224 if it is determined that the magnetic strip is not newly found, it is necessary to confirm whether the adjacent cleaning area is the covered area by the position of the magnetic stripe in the environment map, and if the adjacent cleaning area has been cleaned, No, it means that the adjacent cleaning area is not cleaned.
  • the environment map after cleaning the cleaning area, the cleaned area is the covered area, and the coverage is displayed in the environment map. When the cleaning area on the other side of the virtual boundary is not covered, it can be determined that the cleaning area is not cleaned.
  • the cleaning robot further includes a avoidance judging module 3; the avoidance judging module 3 is configured to take a avoidance measure when the cleaning robot encounters a virtual boundary when the cleaning area is not completed; and the sweeping robot crosses the virtual boundary when the cleaning area has been cleaned Enter the adjacent area.
  • the avoidance judgment module 3 when the cleaning area is not cleaned, the sweeping robot encounters the virtual boundary to take the avoidance measure; when it is determined that the cleaning area has been cleaned, when the sweeping robot encounters the virtual boundary, no response measures are taken, directly Cross the virtual boundary into the adjacent unswept sweep area.
  • the order of entering the adjacent cleaning regions may be based on the principle of proximity, that is, when there are a plurality of uncleaned adjacent cleaning regions, the first distance is the closest to the cleaning robot. The uncleaned adjacent cleaning area, the sweeping robot automatically enters the adjacent area from the nearest channel according to the coordinate positioning.
  • the avoidance measure is to retreat and turn to ensure that the sweeping robot does not cross the virtual boundary.
  • the edge of the sweeping robot is determined by information such as the length and width of the sweeping robot in the preset structure information, the position of the magnetic field sensor at the position of the sweeping robot, and the position of the point corresponding to the position of the sweeping robot in the environment map. Reach the virtual boundary.
  • the indoor area dividing method uses the magnetic strip as the marking auxiliary for determining the virtual boundary, not only the area division is reasonable, but also the magnetic strip has a smaller volume, which can be set for a long time, avoiding frequent moving of the boundary and reducing Human participation, more convenient operation, and comparison of the use of virtual lighthouses can also reduce costs.

Abstract

Provided are an indoor area dividing method and a sweeping robot. The indoor area dividing method comprises: the sweeping robot detects a magnetic strip pre-set on the floor of a door using a magnetic field sensor installed at the bottom thereof (S1); and determining a position of the magnetic strip in an environment map, and determining a virtual boundary position between two cleaning areas according to the position of the magnetic strip (S2). With the magnetic strip positioning, the area division is reasonable, the magnetic strip is smaller in size, can be set for a long time, the operation is more convenient, and the cost is also reduced.

Description

室内区域划分方法及扫地机器人Indoor area division method and sweeping robot 技术领域Technical field
本发明涉及到区域识别领域,特别是涉及到一种室内区域划分方法及扫地机器人。The invention relates to the field of area recognition, in particular to an indoor area dividing method and a cleaning robot.
背景技术Background technique
随着技术的发展与人们生活水平的提高,具有自主移动功能的扫地机器人已经得到了极大的普及。扫地机器人又称机器人吸尘器,利用机身上搭载的风机将地面的垃圾吸入灰尘盒中,并通过行走轮进行自主移动,以实现自动打扫房间的目的。With the development of technology and the improvement of people's living standards, sweeping robots with autonomous mobile functions have been greatly popularized. The sweeping robot, also known as the robot vacuum cleaner, uses the fan mounted on the fuselage to suck the ground garbage into the dust box and move it autonomously through the walking wheel to achieve the purpose of automatically cleaning the room.
为了更有效地进行打扫,扫地机器人需要对室内环境进行区域划分。目前主要的区域划分方式有两种:第一种为根据机器人的位置信息按照固定大小将环境划分为几个部分依次打扫。但是这种方式不能适应不同的环境的不同特点,很容易出现区域划分不合理的现象。第二种是通过外部装置提供引导与限制,如IRobot公司的虚拟灯塔技术。然而虚拟灯塔成本较高,如果用户需要将房间划分为多个区域则需要额外购买虚拟灯塔,大大增加了使用成本;此外,虚拟灯塔体积太大,比如放在门边就会影响门的正常使用,用户需要在使用的时候进行摆放设置,用完还要将其收起来,操作比较繁琐。In order to perform cleaning more effectively, the sweeping robot needs to divide the indoor environment. At present, there are two main ways of dividing the area: the first one is to divide the environment into several parts according to the fixed size according to the position information of the robot. However, this method cannot adapt to the different characteristics of different environments, and it is easy to have an unreasonable division of regions. The second is to provide guidance and restrictions through external devices, such as IRobot's virtual beacon technology. However, the cost of the virtual lighthouse is relatively high. If the user needs to divide the room into multiple areas, the virtual lighthouse needs to be purchased, which greatly increases the use cost. In addition, the virtual lighthouse is too large, for example, it will affect the normal use of the door. The user needs to set the display when it is used, and it needs to be put away when it is used up. The operation is cumbersome.
发明内容Summary of the invention
本发明的主要目的为提供一种成本更低的室内区域划分方法及扫地机器人。The main object of the present invention is to provide a lower cost indoor area dividing method and a cleaning robot.
本发明提出一种室内区域的划分方法,包括如下步骤:The invention provides a method for dividing an indoor area, comprising the following steps:
扫地机器人利用安装在其底部的磁场传感器检测预先设置在房门口地面上的磁条;The sweeping robot detects a magnetic strip pre-set on the floor of the door using a magnetic field sensor installed at the bottom thereof;
确定磁条在环境地图中的位置,根据磁条的位置确定两个清扫区域间的虚拟边界位置。Determine the position of the magnetic stripe in the environment map, and determine the virtual boundary position between the two sweeping areas according to the position of the magnetic stripe.
进一步地,确定磁条在环境地图中的位置,根据磁条的位置确定两个清扫区域间的虚拟边界位置的步骤包括:Further, the determining the position of the magnetic strip in the environment map, and determining the virtual boundary position between the two cleaning regions according to the position of the magnetic strip includes:
根据探测到磁场信号时扫地机器人在环境地图中的位置以及扫地机器人的预设结构信息推算出磁条在环境地图中的空间坐标位置并保存,空间坐标位置为磁条中某点的坐标位置;According to the position of the sweeping robot in the environment map and the preset structure information of the sweeping robot when the magnetic field signal is detected, the spatial coordinate position of the magnetic stripe in the environment map is calculated and saved, and the spatial coordinate position is the coordinate position of a point in the magnetic stripe;
根据多个空间坐标位置,确定两个清扫区域间的虚拟边界位置。The virtual boundary position between the two cleaning regions is determined according to a plurality of spatial coordinate positions.
进一步地,根据多个空间坐标位置,确定两个清扫区域间的虚拟边界位置的步骤包括:Further, the step of determining the virtual boundary position between the two cleaning regions according to the plurality of spatial coordinate positions comprises:
将记录的空间坐标位置进行聚类,确定磁条的长度及在环境地图中的磁条位置,将磁条位置保存并设定为两个清扫区域间的虚拟边界。The recorded spatial coordinate positions are clustered, the length of the magnetic stripe and the position of the magnetic stripe in the environment map are determined, and the magnetic stripe position is saved and set as a virtual boundary between the two cleaning areas.
进一步地,将记录的空间坐标位置进行聚类,确定磁条的长度及在环境地图中的位置,将磁条位置设定为两个清扫区域间的虚拟边界的步骤之后包括:Further, the step of clustering the recorded spatial coordinate positions, determining the length of the magnetic strip and the position in the environment map, and setting the magnetic strip position to the virtual boundary between the two cleaning regions includes:
将磁条位置与已经记载的磁条位置作对比,判断磁条是否为新发现磁条;Comparing the position of the magnetic strip with the position of the magnetic strip already recorded to determine whether the magnetic strip is a newly discovered magnetic strip;
若是,则保存该磁条位置,且确定虚拟边界另一侧的清扫区域未清扫。If so, the magnetic stripe position is saved and it is determined that the cleaning area on the other side of the virtual boundary is not cleaned.
进一步地,将磁条位置与已经记载的磁条位置作对比,判断磁条是否为新发现磁条的步骤之后,还包括:Further, after comparing the position of the magnetic strip with the position of the magnetic strip already recorded, and determining whether the magnetic strip is a newly discovered magnetic strip, the method further includes:
若否,则根据环境地图中已清扫区域记录,判定磁条位置另一侧的清扫区域是否已清扫。If not, it is determined whether the cleaning area on the other side of the magnetic stripe position has been cleaned based on the cleared area record in the environment map.
进一步地,确定磁条在环境地图中的位置,根据磁条的位置确定两个清扫区域间的虚拟边界位置扫地机器人的步骤之后,包括:Further, after determining the position of the magnetic strip in the environment map, determining the virtual boundary position between the two cleaning areas according to the position of the magnetic strip, the step of the cleaning robot includes:
在清扫区域未完成打扫时,扫地机器人遇到虚拟边界采取避让措施;在清扫区域已完成打扫时,扫地机器人越过虚拟边界进入相邻的清扫区域。When the cleaning area has not been cleaned, the sweeping robot encounters the virtual boundary to take the avoidance measure; when the cleaning area has finished cleaning, the sweeping robot crosses the virtual boundary and enters the adjacent cleaning area.
进一步地,避让措施为后退、转弯保证扫地机器人不会越过虚拟边界。Further, the avoidance measure is to retreat and turn to ensure that the sweeping robot does not cross the virtual boundary.
本发明还提出了一种扫地机器人,采用上述的室内区域划分方法,扫地机器人包括探测模块和判断模块;探测模块用于利用安装在其底部的磁场传感器检测预先设置在房门口地面上的磁条;判断模块用于确定磁条在环境地图中的位置,根据磁条的位置确定两个清扫区域间的虚拟边界位置。The invention also provides a sweeping robot, which adopts the above indoor area dividing method, the sweeping robot includes a detecting module and a judging module; the detecting module is configured to detect a magnetic strip pre-set on the floor of the door door by using a magnetic field sensor installed at the bottom thereof The judging module is configured to determine the position of the magnetic stripe in the environment map, and determine the virtual boundary position between the two cleaning areas according to the position of the magnetic strip.
进一步地,判断模块包括定位子模块和定边子模块;定位子模块用于根据探测到磁场信号时扫地机器人在环境地图中的位置以及扫地机器人的预设结构信息推算出磁条在环境地图中的空间坐标位置并保存,空间坐标位置为磁条中某点的坐标位置;定边子模块用于根据多个空间坐标位置,确定两个清扫区域间的虚拟边界位置。Further, the determining module includes a positioning sub-module and a fixed-edge sub-module; the positioning sub-module is configured to calculate the magnetic stripe in the environment map according to the position of the sweeping robot in the environment map and the preset structure information of the sweeping robot when the magnetic field signal is detected The spatial coordinate position is saved and the spatial coordinate position is the coordinate position of a point in the magnetic strip; the fixed edge sub-module is used to determine the virtual boundary position between the two cleaning regions according to the plurality of spatial coordinate positions.
进一步地,定边子模块包括聚类单元;聚类单元用于将记录的空间坐标位置进行聚类,确定磁条的长度及在环境地图中的磁条位置,将磁条位置保存并设定为两个清扫区域间的虚拟边界。Further, the fixed edge sub-module includes a clustering unit; the clustering unit is configured to cluster the recorded spatial coordinate positions, determine the length of the magnetic stripe and the magnetic stripe position in the environment map, and save and set the magnetic stripe position. The virtual boundary between the two cleaning areas.
进一步地,定边子模块还包括对比单元和判定单元;对比单元用于将磁条位置与已经记载的磁条位置作对比,确定是否为新发现磁条;判定单元用于在确定为新发现磁条时,保存该磁条位置,且确定虚拟边界另一侧的清扫区域未清扫。Further, the fixed edge sub-module further includes a comparison unit and a determination unit; the comparison unit is configured to compare the magnetic strip position with the recorded magnetic strip position to determine whether the magnetic strip is newly discovered; and the determining unit is configured to determine the new discovery When the magnetic strip is used, the position of the magnetic strip is saved, and it is determined that the cleaning area on the other side of the virtual boundary is not cleaned.
进一步地,定边子模块还包括区分单元;区分单元用于在确定磁条不为新发现磁条时,根据环境地图中已清扫区域记录,判定磁条位置另一侧的清扫区域是否已清扫。Further, the fixed edge sub-module further includes a distinguishing unit; the distinguishing unit is configured to determine, according to the cleaned area record in the environment map, whether the cleaning area on the other side of the magnetic strip position has been cleaned when determining that the magnetic strip is not newly discovered magnetic strip .
进一步地,扫地机器人还包括避让判断模块;避让判断模块用于在清扫区域未完成打扫时,扫地机器人遇到虚拟边界采取避让措施;在清扫区域已完成打扫时,扫地机器人越过虚拟边界进入相邻的区域。Further, the cleaning robot further includes a avoidance judgment module; the avoidance judgment module is configured to take the avoidance measure when the cleaning robot encounters the virtual boundary when the cleaning area is not completed; when the cleaning area has been cleaned, the sweeping robot crosses the virtual boundary to enter the adjacent Area.
进一步地,避让措施为后退、转弯保证扫地机器人不会越过虚拟边界。Further, the avoidance measure is to retreat and turn to ensure that the sweeping robot does not cross the virtual boundary.
有益效果Beneficial effect
本发明室内区域划分方法及扫地机器人,室内区域划分方法采用磁条为确定虚拟边界的标记辅助物,不但区域划分合理,而且磁条体积更小,可以长时间设置,避免经常移动边界,减少人为参与,操作更加的方便,对比虚拟灯塔的使用,还能减少成本。The indoor area dividing method and the sweeping robot of the present invention, the indoor area dividing method adopts a magnetic strip as a marking auxiliary for determining a virtual boundary, not only the area division is reasonable, but also the magnetic strip is smaller in size, and can be set for a long time, avoiding frequent moving of the boundary and reducing artificial Participation, operation is more convenient, and the use of virtual lighthouses can be compared to reduce costs.
附图说明DRAWINGS
图1 是本发明室内区域划分方法一实施例的步骤示意图;1 is a schematic diagram showing the steps of an embodiment of the indoor area dividing method of the present invention;
图2 是本发明室内区域划分方法中步骤S2一实施例的步骤示意图;2 is a schematic diagram showing the steps of an embodiment of step S2 in the indoor area dividing method of the present invention;
图3 是本发明室内区域划分方法中步骤S22一实施例的步骤示意图;3 is a schematic diagram showing the steps of an embodiment of step S22 in the indoor area dividing method of the present invention;
图4 是本发明室内区域划分方法中步骤S22另一实施例的步骤示意图;4 is a schematic diagram showing the steps of another embodiment of step S22 in the indoor area dividing method of the present invention;
图5 是本发明室内区域划分方法另一实施例的步骤示意图;Figure 5 is a schematic diagram showing the steps of another embodiment of the indoor area dividing method of the present invention;
图6 是本发明扫地机器人一实施例的结构示意图;6 is a schematic structural view of an embodiment of the cleaning robot of the present invention;
图7 是本发明扫地机器人中判断模块一实施例的结构示意图;7 is a schematic structural view of an embodiment of a judging module in the cleaning robot of the present invention;
图8是本发明扫地机器人中定边子模块一实施例的结构示意图;8 is a schematic structural view of an embodiment of a fixed edge submodule in the cleaning robot of the present invention;
图9是本发明扫地机器人中定边子模块另一实施例的结构示意图;9 is a schematic structural view of another embodiment of a fixed edge submodule in the cleaning robot of the present invention;
图10 是本发明扫地机器人另一实施例的结构示意图。Figure 10 is a schematic view showing the structure of another embodiment of the cleaning robot of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参照图1,本发明室内区域划分方法,包括如下步骤:Referring to FIG. 1, the indoor area dividing method of the present invention includes the following steps:
S1、扫地机器人利用安装在其底部的磁场传感器检测预先设置在房门口地面上的磁条。S1. The sweeping robot detects the magnetic strip pre-set on the floor of the door by using a magnetic field sensor installed at the bottom thereof.
S2、确定磁条在环境地图中的位置,根据磁条的位置确定两个清扫区域间的虚拟边界位置。S2. Determine the position of the magnetic stripe in the environment map, and determine the virtual boundary position between the two cleaning areas according to the position of the magnetic strip.
在上述步骤S1中,磁条设置在门口处;扁平的形状可以长时间设置而不影响房门开启和关闭,轻易不用挪动,减少人为干预,更方便,用户体验更好,而且磁条的成本较低廉,可以降低用户的使用成本。In the above step S1, the magnetic strip is disposed at the doorway; the flat shape can be set for a long time without affecting the opening and closing of the door, which is easy to move, reduces human intervention, is more convenient, has a better user experience, and the cost of the magnetic stripe. Lower cost can reduce the user's cost of use.
在上述步骤S2中,环境地图为扫地机器人通过现有SLAM技术手段在工作过程中获取的地图,包括房间边界、摆放物位置及大小、空间坐标系等信息;可以通过磁条将整个要打扫的空间分成各个区域,特别是在有多个房间的房屋内,可以把每个房间独立划分,防止扫地机器人无规划地往返于不同的房间工作,用户的体验更好,磁条位置为虚拟边界划分相邻的两个清扫区域。In the above step S2, the environment map is a map acquired by the sweeping robot through the existing SLAM technical means, including room boundary, position and size of the object, space coordinate system, etc.; the whole can be cleaned by the magnetic stripe The space is divided into various areas, especially in a house with multiple rooms. Each room can be divided separately to prevent the sweeping robot from working in different rooms without planning. The user experience is better, and the magnetic stripe position is a virtual boundary. Divide two adjacent cleaning areas.
在一些实施例中,磁条贴设于房门口处,且平行于闭合时的房门的宽度方向设置。In some embodiments, the magnetic strip is attached to the door opening and is disposed parallel to the width direction of the closed door.
参照图2,步骤S2包括:Referring to FIG. 2, step S2 includes:
S21、根据探测到磁场信号时扫地机器人在环境地图中的位置以及扫地机器人的预设结构信息推算出磁条在环境地图中的空间坐标位置并保存,空间坐标位置为磁条中某点的坐标位置;扫地机器人根据预设结构信息中的一个或多个信息得到磁条在环境地图中的空间坐标位置,在本实施例中,通过探测到磁条的磁场传感器位于扫地机器人的位置以及扫地机器人在环境地图中显示位置所对应的点的位置,结合扫地机器人在环境地图中的位置可以得出磁条在环境地图中的空间坐标位置。。S21. Calculate and save the space coordinate position of the magnetic stripe in the environment map according to the position of the sweeping robot in the environment map and the preset structure information of the sweeping robot when the magnetic field signal is detected, and the space coordinate position is the coordinates of a point in the magnetic stripe. a position; the cleaning robot obtains a spatial coordinate position of the magnetic stripe in the environment map according to one or more pieces of information in the preset structure information. In the embodiment, the magnetic field sensor that detects the magnetic strip is located at the position of the sweeping robot and the sweeping robot The position of the point corresponding to the position is displayed in the environment map, and the position of the magnetic stripe in the environment map can be obtained by combining the position of the sweeping robot in the environment map. .
S22、根据多个空间坐标位置,确定两个清扫区域间的虚拟边界位置。S22. Determine a virtual boundary position between the two cleaning regions according to the plurality of spatial coordinate positions.
在上述步骤S21中,预设结构信息包括扫地机器人的长度、宽度高度、磁场传感器位于扫地机器人的位置以及扫地机器人在环境地图中显示位置所对应的点的位置,磁场传感器设有多个,分别设于扫地机器人的边缘位置。In the above step S21, the preset structure information includes the length and width of the cleaning robot, the position of the magnetic field sensor at the position of the cleaning robot, and the position of the position corresponding to the position of the cleaning robot in the environment map. The magnetic field sensor is provided with a plurality of It is located at the edge of the sweeping robot.
在上述步骤S22中,每个磁条位置对应一个虚拟边界,一个清扫区域可以有多个虚拟边界。In the above step S22, each magnetic stripe position corresponds to one virtual boundary, and one cleaning area may have a plurality of virtual boundaries.
参照图3、所述步骤S22包括:Referring to FIG. 3, the step S22 includes:
S221、将记录的空间坐标位置进行聚类,确定磁条的长度及在环境地图中的磁条位置,将磁条位置保存并设定为两个清扫区域间的虚拟边界。S221: Cluster the recorded spatial coordinate positions, determine the length of the magnetic stripe and the position of the magnetic stripe in the environment map, and save and set the magnetic stripe position as a virtual boundary between the two cleaning regions.
在上述步骤S221中,聚类包括但不限于提取线段的方法将不同的空间坐标位置分类,通过多个空间坐标位置获得磁条的大体长度及整条磁条在环境地图中的位置,整条磁条在环境地图中的位置为磁条位置,并以磁条位置为虚拟边界。In the above step S221, the clustering includes, but is not limited to, the method of extracting line segments, classifying different spatial coordinate positions, obtaining the general length of the magnetic strip and the position of the entire magnetic strip in the environment map through a plurality of spatial coordinate positions, and the whole The position of the magnetic strip in the environment map is the position of the magnetic strip, and the position of the magnetic strip is a virtual boundary.
所述步骤S22还包括:The step S22 further includes:
S222、将磁条位置与已经记载的磁条位置作对比,判断磁条是否为新发现磁条。S222: Compare the position of the magnetic strip with the position of the magnetic strip that has been recorded to determine whether the magnetic strip is a newly discovered magnetic strip.
S223、若是,则保存该磁条位置,且确定虚拟边界另一侧的清扫区域未清扫。S223. If yes, save the magnetic stripe position, and determine that the cleaning area on the other side of the virtual boundary is not cleaned.
在上述步骤S222中,对比为整条磁条对比,即为虚拟边界的位置对比。In the above step S222, the comparison is the entire magnetic stripe contrast, that is, the positional comparison of the virtual boundary.
在上述步骤S223中,若为新发现的磁条,即表示存在虚拟边界和存在于磁条两侧的清扫区域,以磁条所在的虚拟边界为界,与清扫机器人所在的清扫区域相对的清扫区域未被清扫。In the above step S223, if it is a newly discovered magnetic strip, it means that there is a virtual boundary and a cleaning area existing on both sides of the magnetic strip, and the cleaning is opposite to the cleaning area where the cleaning robot is located, bounded by the virtual boundary where the magnetic strip is located. The area has not been cleaned.
参照图4、步骤S222之后,包括:Referring to FIG. 4 and after step S222, the method includes:
S224、若否,则根据环境地图中已清扫区域记录,判定磁条位置另一侧的清扫区域是否已清扫。S224. If not, it is determined whether the cleaning area on the other side of the magnetic stripe position has been cleaned according to the cleaned area record in the environment map.
在上述步骤S224中,若确定不是新发现磁条,则需要通过磁条位置在环境地图确认相邻的清扫区域是否是被覆盖区域,若是表示相邻的清扫区域已清扫,若否,表示相邻的清扫区域未清扫。在环境地图中,打扫完清扫区域后,打扫过的区域为已覆盖区域,在环境地图中显示已覆盖,在虚拟边界另一侧的清扫区域未覆盖时,则可以判定该清扫区域未打扫。In the above step S224, if it is determined that the magnetic strip is not newly found, it is necessary to confirm whether the adjacent cleaning area is the covered area on the environmental map by the magnetic strip position, and if the adjacent cleaning area has been cleaned, if not, the phase is indicated. The cleaning area of the neighborhood is not cleaned. In the environment map, after cleaning the cleaning area, the cleaned area is the covered area, and the coverage is displayed in the environment map. When the cleaning area on the other side of the virtual boundary is not covered, it can be determined that the cleaning area is not cleaned.
参照图5、步骤S2之后,包括:Referring to FIG. 5 and after step S2, the method includes:
S3、在清扫区域未完成打扫时,扫地机器人遇到虚拟边界采取避让措施;在清扫区域已完成打扫时,扫地机器人越过虚拟边界进入相邻的清扫区域。S3. When the cleaning area is not cleaned, the sweeping robot encounters the virtual boundary to take the avoidance measure; when the cleaning area has finished cleaning, the sweeping robot crosses the virtual boundary and enters the adjacent cleaning area.
在上述步骤S3中,在清扫区域未完成打扫时,扫地机器人遇到虚拟边界采取避让措施;在判定清扫区域已完成打扫时,扫地机器人遇到虚拟边界时,不采取反应措施,直接越过虚拟边界进入相邻的未打扫的清扫区域。在具有多个未打扫的且相邻的清扫区域时,进入相邻的清扫区域的顺序可以采用就近原则,即在有多个未打扫的相邻的清扫区域时最先进入距扫地机器人距离最近的未打扫的相邻的清扫区域,扫地机器人根据坐标定位自动由就近通道进入邻近的区域。In the above step S3, when the cleaning area is not cleaned, the cleaning robot encounters the virtual boundary to take the avoidance measure; when it is determined that the cleaning area has completed the cleaning, when the cleaning robot encounters the virtual boundary, no reaction measures are taken, and the virtual boundary is directly crossed. Enter the adjacent uncleaned sweep area. When there are a plurality of unswept and adjacent cleaning regions, the order of entering the adjacent cleaning regions may be based on the principle of proximity, that is, when there are a plurality of uncleaned adjacent cleaning regions, the first distance is the closest to the cleaning robot. The uncleaned adjacent cleaning area, the sweeping robot automatically enters the adjacent area from the nearest channel according to the coordinate positioning.
在一些实施例中,避让措施为后退、转弯保证扫地机器人不会越过虚拟边界。In some embodiments, the avoidance measure is a back-off, turn-by-turn guarantee that the sweeping robot will not cross the virtual boundary.
在避让措施中需要通过预设结构信息中的扫地机器人的长度、宽度高度、磁场传感器位于扫地机器人的位置以及扫地机器人在环境地图中显示位置所对应的点的位置等信息判断扫地机器人的边缘是否到达虚拟边界。In the avoidance measure, it is necessary to determine whether the edge of the sweeping robot is determined by information such as the length and width of the sweeping robot in the preset structure information, the position of the magnetic field sensor at the position of the sweeping robot, and the position of the point corresponding to the position of the sweeping robot in the environment map. Reach the virtual boundary.
参照图6,本发明还提出一种扫地机器人,采用上述的室内区域划分方法,扫地机器人包括探测模块1、判断模块2;探测模块1用于利用安装在其底部的磁场传感器检测预先设置在房门口地面上的磁条;判断模块2用于确定磁条在环境地图中的位置,根据磁条的位置确定两个清扫区域间的虚拟边界位置。Referring to FIG. 6, the present invention further provides a cleaning robot, which adopts the above-mentioned indoor area dividing method. The cleaning robot includes a detecting module 1 and a determining module 2; the detecting module 1 is configured to detect a preset in the room by using a magnetic field sensor installed at the bottom thereof. The magnetic strip on the ground of the door; the judging module 2 is for determining the position of the magnetic strip in the environment map, and determining the virtual boundary position between the two cleaning areas according to the position of the magnetic strip.
在探测模块1工作过程中,磁条设置在门口处;扁平的形状可以长时间设置而不影响房门开启和关闭,轻易不用挪动,减少人为干预,更方便,用户体验更好,而且磁条的成本较低廉,可以降低用户的使用成本。During the operation of the detection module 1, the magnetic strip is arranged at the door; the flat shape can be set for a long time without affecting the opening and closing of the door, so that it is easy to move, reducing human intervention, more convenient, better user experience, and magnetic stripe The lower cost can reduce the user's use cost.
在判断模块2工作过程中,环境地图为扫地机器人通过现有SLAM技术手段在工作过程中获取的地图,包括房间边界、摆放物位置及大小、空间坐标系等等信息;可以通过磁条将整个要打扫的空间分成各个区域,特别是在有多个房间的房屋内,可以把每个房间独立划分,防止扫地机器人无规划地往返于不同的房间工作,用户的体验更好,磁条位置为虚拟边界划分相邻的两个清扫区域。During the operation of the judgment module 2, the environment map is a map acquired by the sweeping robot through the existing SLAM technical means during the work process, including room boundaries, position and size of the objects, space coordinate system, etc.; The entire space to be cleaned is divided into various areas, especially in a house with multiple rooms, each room can be divided separately to prevent the sweeping robot from working in different rooms without planning, the user experience is better, the magnetic strip position Divide the adjacent two cleaning areas for the virtual boundary.
在环境地图中,打扫完清扫区域后,打扫过的区域为已覆盖区域,在环境地图中显示已覆盖,在判定虚拟边界另一侧的区域未覆盖时,则可以判定有未打扫的清扫区域。In the environment map, after cleaning the cleaning area, the cleaned area is the covered area, and the coverage is displayed in the environment map. When the area on the other side of the virtual boundary is not covered, it can be determined that there is an uncleaned cleaning area. .
在本实施例中磁条平行于闭合时的房门的宽度方向设置。磁条小于等于房门的宽度。In the present embodiment, the magnetic strip is disposed parallel to the width direction of the door when closed. The magnetic strip is less than or equal to the width of the door.
参照图7,判断模块2包括定位子模块21和定边子模块22;定位子模块21用于根据探测到磁场信号时扫地机器人在环境地图中的位置以及扫地机器人的预设结构信息推算出磁条在环境地图中的空间坐标位置并保存,空间坐标位置为磁条中某点的坐标位置;定边子模块22用于根据多个空间坐标位置,确定两个清扫区域间的虚拟边界位置。Referring to FIG. 7, the determining module 2 includes a positioning sub-module 21 and a fixed-edge sub-module 22; the positioning sub-module 21 is configured to calculate the magnetic position according to the position of the cleaning robot in the environment map and the preset structure information of the cleaning robot according to the detection of the magnetic field signal. The strip is stored in the space coordinate position in the environment map, and the space coordinate position is the coordinate position of a point in the magnetic strip; the fixed edge sub-module 22 is configured to determine the virtual boundary position between the two cleaning areas according to the plurality of spatial coordinate positions.
在定位子模块21工作过程中,预设结构信息包括扫地机器人的长度、宽度高度、磁场传感器位于扫地机器人的位置以及扫地机器人在环境地图中显示位置所对应的点的位置,磁场传感器设有多个,分别设于扫地机器人的边缘位置;扫地机器人根据预设结构信息中的一个或多个信息得到磁条在环境地图中的空间坐标位置,在本实施例中,通过探测到磁条的磁场传感器位于扫地机器人的位置以及扫地机器人在环境地图中显示位置所对应的点的位置,结合扫地机器人在环境地图中的位置可以得出磁条在环境地图中的空间坐标位置。。During the operation of the positioning sub-module 21, the preset structure information includes the length and width of the cleaning robot, the position of the magnetic field sensor at the cleaning robot, and the position of the position corresponding to the position of the cleaning robot in the environment map. And respectively disposed at an edge position of the cleaning robot; the cleaning robot obtains a spatial coordinate position of the magnetic stripe in the environment map according to one or more pieces of information in the preset structure information. In this embodiment, the magnetic field of the magnetic strip is detected The position of the sensor located at the position of the sweeping robot and the position corresponding to the position of the sweeping robot in the environment map can be combined with the position of the sweeping robot in the environment map to obtain the spatial coordinate position of the magnetic stripe in the environment map. .
在定边子模块22工作过程中,每个磁条位置对应一个虚拟边界,一个清扫区域可以有多个虚拟边界。During the operation of the fixed edge sub-module 22, each magnetic stripe position corresponds to one virtual boundary, and one cleaning area may have multiple virtual boundaries.
参照图8,定边子模块22包括聚类单元221;聚类单元221用于将记录的空间坐标位置进行聚类,确定磁条的长度及在环境地图中的磁条位置,将磁条位置保存并设定为两个清扫区域间的虚拟边界。Referring to FIG. 8, the fixed edge sub-module 22 includes a clustering unit 221; the clustering unit 221 is configured to cluster the recorded spatial coordinate positions, determine the length of the magnetic stripe and the position of the magnetic stripe in the environment map, and position the magnetic stripe Save and set as the virtual boundary between the two sweep areas.
在聚类单元221工作过程中,聚类包括但不限于提取线段的方法将不同的空间坐标位置分类,通过多个空间坐标位置获得磁条的大体长度及整条磁条在环境地图中的位置,整条磁条在环境地图中的位置为磁条位置,并以磁条位置为虚拟边界。During the working process of the clustering unit 221, the clustering includes, but is not limited to, the method of extracting line segments to classify different spatial coordinate positions, and obtain the general length of the magnetic strip and the position of the entire magnetic strip in the environment map through multiple spatial coordinate positions. The position of the entire magnetic stripe in the environment map is the position of the magnetic stripe, and the position of the magnetic stripe is a virtual boundary.
定边子模块22还包括对比单元222和判定单元223;对比单元222用于将磁条位置与已经记载的磁条位置作对比,确定是否为新发现磁条;判定单元223用于在确定为新发现磁条时,保存该磁条位置,且确定虚拟边界另一侧的清扫区域未清扫。The fixed edge sub-module 22 further includes a comparison unit 222 and a determination unit 223; the comparison unit 222 is configured to compare the magnetic strip position with the already recorded magnetic strip position to determine whether it is a newly discovered magnetic strip; the determining unit 223 is configured to determine When the magnetic strip is newly discovered, the magnetic strip position is saved, and it is determined that the cleaning area on the other side of the virtual boundary is not cleaned.
在对比单元222工作过程中,对比为整条磁条对比,即为虚拟边界的位置对比。During the operation of the comparison unit 222, the comparison is the entire magnetic stripe contrast, which is the positional comparison of the virtual boundary.
在判定单元223工作过程中,若为新发现的磁条,即表示存在虚拟边界和存在于磁条两侧的清扫区域,以磁条所在的虚拟边界为界,与清扫机器人所在的清扫区域相对的清扫区域未被清扫。During the operation of the determining unit 223, if it is a newly discovered magnetic strip, it means that there is a virtual boundary and a cleaning area existing on both sides of the magnetic strip, and the virtual boundary where the magnetic strip is located is bounded, and the cleaning area where the cleaning robot is located is opposite to the cleaning area where the cleaning robot is located. The cleaning area has not been cleaned.
参照图9,定边子模块22还包括区分单元224;区分单元224用于在确定磁条不为新发现磁条时,根据环境地图中已清扫区域记录,判定磁条位置另一侧的清扫区域是否已清扫。Referring to FIG. 9, the fixed edge sub-module 22 further includes a distinguishing unit 224. The distinguishing unit 224 is configured to determine the cleaning of the other side of the magnetic stripe position according to the cleaned area record in the environment map when it is determined that the magnetic stripe is not newly discovered. Whether the area has been cleaned.
在区分单元224工作过程中,若确定不是新发现磁条,则需要通过磁条位置在环境地图中位置确认相邻的清扫区域是否是被覆盖区域,若是表示相邻的清扫区域已清扫,若否,表示相邻的清扫区域未清扫。在环境地图中,打扫完清扫区域后,打扫过的区域为已覆盖区域,在环境地图中显示已覆盖,在虚拟边界另一侧的清扫区域未覆盖时,则可以判定该清扫区域未打扫。During the operation of the distinguishing unit 224, if it is determined that the magnetic strip is not newly found, it is necessary to confirm whether the adjacent cleaning area is the covered area by the position of the magnetic stripe in the environment map, and if the adjacent cleaning area has been cleaned, No, it means that the adjacent cleaning area is not cleaned. In the environment map, after cleaning the cleaning area, the cleaned area is the covered area, and the coverage is displayed in the environment map. When the cleaning area on the other side of the virtual boundary is not covered, it can be determined that the cleaning area is not cleaned.
参照图10,扫地机器人还包括避让判断模块3;避让判断模块3用于在清扫区域未完成打扫时,扫地机器人遇到虚拟边界采取避让措施;在清扫区域已完成打扫时,扫地机器人越过虚拟边界进入相邻的区域。Referring to FIG. 10, the cleaning robot further includes a avoidance judging module 3; the avoidance judging module 3 is configured to take a avoidance measure when the cleaning robot encounters a virtual boundary when the cleaning area is not completed; and the sweeping robot crosses the virtual boundary when the cleaning area has been cleaned Enter the adjacent area.
在避让判断模块3工作过程中,在清扫区域未完成打扫时,扫地机器人遇到虚拟边界采取避让措施;在判定清扫区域已完成打扫时,扫地机器人遇到虚拟边界时,不采取反应措施,直接越过虚拟边界进入相邻的未打扫的清扫区域。在具有多个未打扫的且相邻的清扫区域时,进入相邻的清扫区域的顺序可以采用就近原则,即在有多个未打扫的相邻的清扫区域时最先进入距扫地机器人距离最近的未打扫的相邻的清扫区域,扫地机器人根据坐标定位自动由就近通道进入邻近的区域。During the operation of the avoidance judgment module 3, when the cleaning area is not cleaned, the sweeping robot encounters the virtual boundary to take the avoidance measure; when it is determined that the cleaning area has been cleaned, when the sweeping robot encounters the virtual boundary, no response measures are taken, directly Cross the virtual boundary into the adjacent unswept sweep area. When there are a plurality of unswept and adjacent cleaning regions, the order of entering the adjacent cleaning regions may be based on the principle of proximity, that is, when there are a plurality of uncleaned adjacent cleaning regions, the first distance is the closest to the cleaning robot. The uncleaned adjacent cleaning area, the sweeping robot automatically enters the adjacent area from the nearest channel according to the coordinate positioning.
避让措施为后退、转弯保证扫地机器人不会越过虚拟边界。The avoidance measure is to retreat and turn to ensure that the sweeping robot does not cross the virtual boundary.
在避让措施中需要通过预设结构信息中的扫地机器人的长度、宽度高度、磁场传感器位于扫地机器人的位置以及扫地机器人在环境地图中显示位置所对应的点的位置等信息判断扫地机器人的边缘是否到达虚拟边界。In the avoidance measure, it is necessary to determine whether the edge of the sweeping robot is determined by information such as the length and width of the sweeping robot in the preset structure information, the position of the magnetic field sensor at the position of the sweeping robot, and the position of the point corresponding to the position of the sweeping robot in the environment map. Reach the virtual boundary.
本发明室内区域划分方法及扫地机器人,室内区域划分方法采用磁条为确定虚拟边界的标记辅助物,不但区域划分合理,而且磁条的体积更小,可以长时间设置,避免经常移动边界,减少人为参与,操作更加的方便,对比虚拟灯塔的使用,还能减少成本。The indoor area dividing method and the sweeping robot of the present invention, the indoor area dividing method uses the magnetic strip as the marking auxiliary for determining the virtual boundary, not only the area division is reasonable, but also the magnetic strip has a smaller volume, which can be set for a long time, avoiding frequent moving of the boundary and reducing Human participation, more convenient operation, and comparison of the use of virtual lighthouses can also reduce costs.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the 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 directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.

Claims (14)

  1. 一种室内区域的划分方法,其特征在于,包括如下步骤:A method for dividing an indoor area, comprising the steps of:
    扫地机器人利用安装在其底部的磁场传感器检测预先设置在房门口地面上的磁条;The sweeping robot detects a magnetic strip pre-set on the floor of the door using a magnetic field sensor installed at the bottom thereof;
    确定所述磁条在环境地图中的位置,根据所述磁条的位置确定两个清扫区域间的虚拟边界位置。Determining the position of the magnetic strip in the environment map, and determining a virtual boundary position between the two cleaning regions according to the position of the magnetic strip.
  2. 根据权利要求1所述的室内区域划分方法,其特征在于,所述确定所述磁条在环境地图中的位置,根据所述磁条的位置确定两个清扫区域间的虚拟边界位置的步骤包括:The indoor area dividing method according to claim 1, wherein the determining the position of the magnetic strip in the environment map, and determining the virtual boundary position between the two cleaning areas according to the position of the magnetic strip comprises: :
    根据探测到磁场信号时所述扫地机器人在环境地图中的位置以及所述扫地机器人的预设结构信息推算出所述磁条在环境地图中的空间坐标位置并保存,所述空间坐标位置为磁条中某点的坐标位置;Calculating and storing the spatial coordinate position of the magnetic stripe in the environment map according to the position of the sweeping robot in the environment map and the preset structure information of the sweeping robot when the magnetic field signal is detected, and the space coordinate position is magnetic The coordinate position of a point in the bar;
    根据多个所述空间坐标位置,确定两个清扫区域间的虚拟边界位置。A virtual boundary position between the two cleaning regions is determined based on the plurality of spatial coordinate positions.
  3. 根据权利要求2所述的室内区域划分方法,其特征在于,所述根据多个所述空间坐标位置,确定两个清扫区域间的虚拟边界位置的步骤包括:The indoor area dividing method according to claim 2, wherein the determining the virtual boundary position between the two cleaning areas according to the plurality of the spatial coordinate positions comprises:
    将保存的所述磁条位置空间坐标位置进行聚类,确定整个所述磁条的长度及在所述环境地图中的磁条位置,将所述磁条位置保存并设定为两个清扫区域间的虚拟边界。And storing the saved magnetic strip position space coordinate positions, determining the length of the entire magnetic strip and the magnetic strip position in the environment map, and saving and setting the magnetic strip position as two cleaning regions The virtual boundary between.
  4. 根据权利要求3所述的室内区域划分方法,其特征在于,所述将记录的所述空间坐标位置进行聚类,确定整个所述磁条的长度及在所述环境地图中的位置,将所述磁条位置设定为两个清扫区域间的虚拟边界的步骤之后包括:The indoor area dividing method according to claim 3, wherein the spatial coordinate positions of the records are clustered, and the length of the entire magnetic strip and the position in the environmental map are determined. After the step of setting the magnetic strip position to the virtual boundary between the two cleaning areas, the method includes:
    将所述磁条位置与已经记载的磁条位置作对比,判断所述磁条是否为新发现磁条;Comparing the magnetic strip position with the recorded magnetic strip position to determine whether the magnetic strip is a newly discovered magnetic strip;
    若是,则保存该磁条位置,且确定所述虚拟边界另一侧的清扫区域未清扫。If so, the magnetic stripe position is saved and it is determined that the cleaning area on the other side of the virtual boundary is not cleaned.
  5. 根据权利要求4所述的室内区域划分方法,其特征在于,所述将所述磁条位置与已经记载的磁条位置作对比,判断所述磁条是否为新发现磁条的步骤之后,还包括:The indoor area dividing method according to claim 4, wherein the step of comparing the magnetic strip position with the recorded magnetic strip position to determine whether the magnetic strip is a newly discovered magnetic strip is further include:
    若否,则根据所述环境地图中已清扫区域记录,判定所述磁条位置另一侧的清扫区域是否已清扫。If not, it is determined whether the cleaning area on the other side of the magnetic stripe position has been cleaned according to the cleaned area record in the environment map.
  6. 根据权利要求1-5中任一项所述的室内区域划分方法,其特征在于,所述确定所述磁条在环境地图中的位置,根据所述磁条的位置确定两个清扫区域间的虚拟边界位置扫地机器人的步骤之后,包括:The indoor area dividing method according to any one of claims 1 to 5, wherein the determining the position of the magnetic strip in the environment map determines the between the two cleaning areas according to the position of the magnetic strip After the steps of the virtual boundary position sweeping robot, include:
    在所述清扫区域未完成打扫时,所述扫地机器人遇到所述虚拟边界采取避让措施;在所述清扫区域已完成打扫时,所述扫地机器人越过所述虚拟边界进入相邻的清扫区域。When the cleaning area is not cleaned, the cleaning robot encounters the virtual boundary to take evasive measures; when the cleaning area has finished cleaning, the cleaning robot crosses the virtual boundary to enter an adjacent cleaning area.
  7. 根据权利要求6所述的室内区域划分方法,其特征在于,所述避让措施为后退、转弯保证所述扫地机器人不会越过所述虚拟边界。The indoor area dividing method according to claim 6, wherein the avoiding measure is backwarding and turning to ensure that the cleaning robot does not cross the virtual boundary.
  8. 一种扫地机器人,采用权利要求1所述的室内区域划分方法,其特征在于,所述扫地机器人包括:A cleaning robot using the indoor area dividing method according to claim 1, wherein the cleaning robot comprises:
    探测模块,用于利用安装在其底部的磁场传感器检测预先设置在房门口地面上的磁条;a detecting module for detecting a magnetic strip pre-set on the floor of the door door by using a magnetic field sensor installed at the bottom thereof;
    判断模块,用于确定所述磁条在环境地图中的位置,根据所述磁条的位置确定两个清扫区域间的虚拟边界位置。The determining module is configured to determine a position of the magnetic strip in the environment map, and determine a virtual boundary position between the two cleaning regions according to the position of the magnetic strip.
  9. 根据权利要求8所述的扫地机器人,其特征在于,所述判断模块包括:The cleaning robot according to claim 8, wherein the determining module comprises:
    定位子模块,用于根据探测到磁场信号时所述扫地机器人在环境地图中的位置以及所述扫地机器人的预设结构信息推算出所述磁条在环境地图中的空间坐标位置并保存,所述空间坐标位置为磁条中某点的坐标位置;a positioning sub-module, configured to calculate a spatial coordinate position of the magnetic stripe in the environment map according to a position of the sweeping robot in the environment map and a preset structure information of the sweeping robot when the magnetic field signal is detected, and save The spatial coordinate position is a coordinate position of a point in the magnetic stripe;
    定边子模块,用于根据多个所述空间坐标位置,确定两个清扫区域间的虚拟边界位置。The fixed edge sub-module is configured to determine a virtual boundary position between the two cleaning regions according to the plurality of the spatial coordinate positions.
  10. 根据权利要求9所述的扫地机器人,其特征在于,所述定边子模块包括:The cleaning robot according to claim 9, wherein the fixed edge submodule comprises:
    聚类单元,用于将记录的所述空间坐标位置进行聚类,确定所述磁条的长度及在所述环境地图中的磁条位置,将所述磁条位置保存并设定为两个清扫区域间的虚拟边界。a clustering unit, configured to cluster the recorded spatial coordinate positions, determine a length of the magnetic stripe and a magnetic stripe position in the environment map, and save and set the magnetic stripe position to two Clean the virtual boundaries between the areas.
  11. 根据权利要求10所述的扫地机器人,其特征在于,所述定边子模块还包括:The cleaning robot according to claim 10, wherein the fixed edge sub-module further comprises:
    对比单元,用于将所述磁条位置与已经记载的磁条位置作对比,确定是否为新发现磁条;a comparing unit, configured to compare the magnetic strip position with the recorded magnetic strip position to determine whether the magnetic strip is newly found;
    判定单元,用于在确定为新发现磁条时,保存该磁条位置,且确定所述虚拟边界另一侧的清扫区域未清扫。The determining unit is configured to save the magnetic strip position when it is determined to be a newly discovered magnetic strip, and determine that the cleaning area on the other side of the virtual boundary is not cleaned.
  12. 根据权利要求11所述的扫地机器人,其特征在于,所述定边子模块还包括:The cleaning robot according to claim 11, wherein the fixed edge sub-module further comprises:
    区分单元,用于在确定所述磁条不为新发现磁条时,根据所述环境地图中已清扫区域记录,判定所述磁条位置另一侧的清扫区域是否已清扫。And a distinguishing unit, configured to determine, according to the cleaned area record in the environment map, whether the cleaning area on the other side of the magnetic stripe position has been cleaned when determining that the magnetic strip is not a newly discovered magnetic strip.
  13. 根据权利要求8所述的扫地机器人,其特征在于,还包括:The cleaning robot according to claim 8, further comprising:
    避让判断模块,用于在所述清扫区域未完成打扫时,所述扫地机器人遇到所述虚拟边界采取避让措施;在所述清扫区域已完成打扫时,所述扫地机器人越过所述虚拟边界进入相邻的区域。a avoidance judging module, configured to: when the cleaning area is not finished cleaning, the sweeping robot encounters the virtual boundary to adopt a avoidance measure; when the cleaning area has completed cleaning, the sweeping robot enters the virtual boundary Adjacent area.
  14. 根据权利要求13所述的扫地机器人,其特征在于,所述避让措施为后退、转弯保证所述扫地机器人不会越过所述虚拟边界。The cleaning robot according to claim 13, wherein the avoidance measure is a back-off, turning to ensure that the cleaning robot does not cross the virtual boundary.
PCT/CN2017/114506 2017-12-04 2017-12-04 Indoor area dividing method and sweeping robot WO2019109229A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/114506 WO2019109229A1 (en) 2017-12-04 2017-12-04 Indoor area dividing method and sweeping robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/114506 WO2019109229A1 (en) 2017-12-04 2017-12-04 Indoor area dividing method and sweeping robot

Publications (1)

Publication Number Publication Date
WO2019109229A1 true WO2019109229A1 (en) 2019-06-13

Family

ID=66750747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114506 WO2019109229A1 (en) 2017-12-04 2017-12-04 Indoor area dividing method and sweeping robot

Country Status (1)

Country Link
WO (1) WO2019109229A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111551169A (en) * 2020-05-15 2020-08-18 广州支点创新科技有限责任公司 Robot map construction and positioning method and robot
CN112634402A (en) * 2020-12-30 2021-04-09 苏州三六零机器人科技有限公司 Sweeper area setting method, sweeper area setting device, sweeper area setting equipment and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480795A (en) * 2008-01-11 2009-07-15 三星电子株式会社 Method and apparatus for planning path of mobile robot
CN201378281Y (en) * 2009-01-16 2010-01-06 泰怡凯电器(苏州)有限公司 Robot restricting system
US20140005873A1 (en) * 2012-07-02 2014-01-02 Agait Technology Corporation Autonomous mobile device, method of restraining movement range thereof, and autonomous mobile device system
CN106272420A (en) * 2016-08-30 2017-01-04 北京小米移动软件有限公司 Robot and robot control method
CN107102294A (en) * 2017-06-19 2017-08-29 安徽味唯网络科技有限公司 A kind of method in sweeping robot intelligent planning path
CN107997690A (en) * 2017-12-04 2018-05-08 深圳市沃特沃德股份有限公司 Room area division methods and sweeping robot

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480795A (en) * 2008-01-11 2009-07-15 三星电子株式会社 Method and apparatus for planning path of mobile robot
CN201378281Y (en) * 2009-01-16 2010-01-06 泰怡凯电器(苏州)有限公司 Robot restricting system
US20140005873A1 (en) * 2012-07-02 2014-01-02 Agait Technology Corporation Autonomous mobile device, method of restraining movement range thereof, and autonomous mobile device system
CN106272420A (en) * 2016-08-30 2017-01-04 北京小米移动软件有限公司 Robot and robot control method
CN107102294A (en) * 2017-06-19 2017-08-29 安徽味唯网络科技有限公司 A kind of method in sweeping robot intelligent planning path
CN107997690A (en) * 2017-12-04 2018-05-08 深圳市沃特沃德股份有限公司 Room area division methods and sweeping robot

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111551169A (en) * 2020-05-15 2020-08-18 广州支点创新科技有限责任公司 Robot map construction and positioning method and robot
CN111551169B (en) * 2020-05-15 2021-12-07 广州支点创新科技有限责任公司 Robot map construction and positioning method and robot
CN112634402A (en) * 2020-12-30 2021-04-09 苏州三六零机器人科技有限公司 Sweeper area setting method, sweeper area setting device, sweeper area setting equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN107997690B (en) Indoor area dividing method and sweeping robot
CN107981790B (en) Indoor area dividing method and sweeping robot
CN109947109B (en) Robot working area map construction method and device, robot and medium
US11628569B2 (en) Self-movement robot, map invoking method, and combined robot
US20230225576A1 (en) Obstacle avoidance method and apparatus for self-walking robot, robot, and storage medium
US20210041871A1 (en) Along-edge Walking Control Method for Autonomous Mobile Robot
CN104898660B (en) A kind of indoor map construction method for improving robot path planning's efficiency
US7916931B2 (en) Apparatus, method, and medium for dividing regions by using feature points and mobile robot using the same
US20180210448A1 (en) Method of identifying functional region in 3-dimensional space, and robot implementing the method
CN110874101B (en) Method and device for generating cleaning path of robot
CA3190361A1 (en) Method and apparatus for detecting obstacle, self-moving robot, and storage medium
CN104858871A (en) Robot system and map self-building and navigation method thereof
CN104825101A (en) Robot cleaner and controlling method thereof
CN106541407A (en) Clean robot and its control method
CN109000649A (en) A kind of all directionally movable robot pose calibration method based on right angle bend feature
CN110412619B (en) Region traversing method of laser robot and laser main control chip
WO2019109229A1 (en) Indoor area dividing method and sweeping robot
CN113331743A (en) Method for cleaning floor by cleaning robot and cleaning robot
CN110906946A (en) Service robot navigation planning method for distinguishing personnel influence
CN112347876A (en) Obstacle identification method based on TOF camera and cleaning robot
CN112015187A (en) Semantic map construction method and system for intelligent mobile robot
CN109978173B (en) Machine learning DIY method for indoor surveying and mapping and positioning
CN205721357U (en) A kind of domestic two-layer based on self-defined map work sweeping robot
CN114047753A (en) Obstacle recognition and avoidance method of sweeping robot based on depth vision
KR101970191B1 (en) Apparatus and method for controlling cleaning function and robotic cleaner with the apparatus

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: 17934263

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: 17934263

Country of ref document: EP

Kind code of ref document: A1