WO2022213749A1 - Method and apparatus for controlling movement, cleaning robot, and storage medium - Google Patents

Method and apparatus for controlling movement, cleaning robot, and storage medium Download PDF

Info

Publication number
WO2022213749A1
WO2022213749A1 PCT/CN2022/079029 CN2022079029W WO2022213749A1 WO 2022213749 A1 WO2022213749 A1 WO 2022213749A1 CN 2022079029 W CN2022079029 W CN 2022079029W WO 2022213749 A1 WO2022213749 A1 WO 2022213749A1
Authority
WO
WIPO (PCT)
Prior art keywords
cleaning robot
base station
identification area
scanning
determined
Prior art date
Application number
PCT/CN2022/079029
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 美智纵横科技有限责任公司
Publication of WO2022213749A1 publication Critical patent/WO2022213749A1/en

Links

Images

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
    • 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
    • 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
    • A47L11/4011Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor
    • 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
    • A47L11/4061Steering means; Means for avoiding obstacles; Details related to the place where the driver is accommodated
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L9/00Details or accessories of suction cleaners, e.g. mechanical means for controlling the suction or for effecting pulsating action; Storing devices specially adapted to suction cleaners or parts thereof; Carrying-vehicles specially adapted for suction cleaners

Definitions

  • the present application relates to the field of computer technology, and in particular, to a movement control method, a device, a cleaning robot, and a storage medium.
  • embodiments of the present application provide a movement control method, device, cleaning robot, and storage medium.
  • the embodiment of the present application provides a movement control method, including:
  • a first position of the identification area on the base station relative to the cleaning robot is determined; and based on the image data, a second position of the identification area relative to the cleaning robot is determined; the identification area is contains reflective material;
  • the cleaning robot is controlled to move toward the base station, so that the cleaning robot returns to the base station position.
  • the scanning data includes the reflective intensity information of multiple scanning points; the identification area includes at least two kinds of reflective materials with different reflective intensities; and the identification area on the base station is determined based on the scanning data relative to all the reflective materials.
  • a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
  • the first location is determined based on the determined plurality of first target scan points.
  • the scan data further includes distance information between a plurality of scanning points and the cleaning robot; at least two reflective materials in the marking area are not located on the same plane; the plurality of first target scanning points determined based on , determining the first position, including:
  • a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot and its own distance The difference between the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and less than or equal to the third threshold;
  • the first position is determined.
  • determining the second position of the identification area relative to the cleaning robot based on the image data includes:
  • the second position is determined based on the image data and in combination with preset appearance feature data of the identification area.
  • controlling the cleaning robot to move to the base station based on the first position and the second position includes:
  • the compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
  • the method when controlling the cleaning robot to move to the base station, the method further includes:
  • the cleaning robot is controlled to move toward the base station.
  • the method also includes:
  • the embodiment of the present application also provides a mobile control device, including:
  • an acquisition unit configured to acquire scanning data of the laser radar of the cleaning robot and image data collected by the image acquisition unit of the cleaning robot;
  • the first processing unit is configured to determine the first position of the identification area on the base station relative to the cleaning robot based on the scan data; and determine the first position of the identification area relative to the cleaning robot based on the image data. two positions; the marking area contains reflective material;
  • the second processing unit is configured to control the cleaning robot to move toward the base station based on the first position and the second position, so that the cleaning robot returns to the base station position.
  • Embodiments of the present application also provide a cleaning robot, comprising: a processor and a memory configured to store a computer program that can be executed on the processor,
  • the processor is configured to execute the steps of any of the above methods when running the computer program.
  • Embodiments of the present application further provide a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any of the foregoing methods.
  • the movement control method, device, cleaning robot, and storage medium acquire scanning data of the laser radar of the cleaning robot and image data collected by the image acquisition unit of the cleaning robot; the first position of the identification area relative to the cleaning robot; and based on the image data, determine the second position of the identification area relative to the cleaning robot; the identification area contains reflective material; based on the first position position and the second position, control the cleaning robot to move toward the base station, so that the cleaning robot returns to the base station position.
  • the solution of the embodiment of the present application is based on the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit, determines the position of the identification area containing the reflective material on the base station relative to the cleaning robot, and controls the cleaning robot based on the determined position.
  • the base station moves; in this way, the cleaning robot can detect the base station and automatically return to the base station position when it needs to return to the base station position, so as to improve the user experience; at the same time, the process of the cleaning robot returning to the base station position automatically does not require the guidance of the base station. In other words, there is no need to install a signal emitting sensor on the base station, so that the production cost of the base station for the cleaning robot can be reduced.
  • FIG. 1 is a schematic flowchart of a movement control method according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of an identification area according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the variation of the reflected light intensity of the scanning point according to the embodiment of the present application.
  • FIG. 4 is another schematic structural diagram of the identification area according to the embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a mobile control device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a cleaning robot according to an embodiment of the present application.
  • product identifiers such as barcodes and QR codes
  • product identifications can contain obvious appearance features and rich product information, they are usually easy to identify and have a very low false detection rate. Limited by the capability and measurement range, the implementation of the above scheme is relatively difficult.
  • the cleaning robot can detect the position of the base station relative to itself based on the geometric characteristics of the base station (ie the shape of the base station).
  • the scanning data of the scanning data determines the position of the base station relative to itself.
  • the cleaning robot can determine a plane, and when an arc can be determined based on the obtained scanning data, the cleaning robot can determine a curved surface.
  • the cleaning robot since the cleaning robot may be in a relatively complex environment, the accuracy of detecting the position of the base station relative to itself using the above solution may be low.
  • infrared sensors on the cleaning robot and the base station respectively, and guide the cleaning robot to dock with the base station through the interaction of infrared signals between the cleaning robot and the base station, that is, guide the cleaning robot to return to the base station.
  • infrared signals between the cleaning robot and the base station, that is, guide the cleaning robot to return to the base station.
  • a laser radar and an image acquisition unit are installed in the cleaning robot, and based on the scanning data of the laser radar and the image data collected by the image acquisition unit, it is determined that the identification area containing the reflective material on the base station is relatively locate the cleaning robot, and control the cleaning robot to move to the base station based on the determined position; in this way, the cleaning robot can detect the base station and automatically return to the base station position when it needs to return to the base station position, thereby improving user experience; at the same time, The process of automatically returning the cleaning robot to the position of the base station does not require the guidance of the base station, in other words, there is no need to install a signal transmitting sensor on the base station, thereby reducing the production cost of the base station for the cleaning robot.
  • An embodiment of the present application provides a mobile control method, as shown in FIG. 1 , the method includes:
  • Step 101 acquiring the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit of the cleaning robot;
  • Step 102 Based on the scan data, determine the first position of the identification area on the base station relative to the cleaning robot; and determine the second position of the identification area relative to the cleaning robot based on the image data;
  • the marking area includes a reflective material
  • Step 103 Based on the first position and the second position, control the cleaning robot to move toward the base station, so that the cleaning robot returns to the base station position.
  • the base station may perform maintenance on the cleaning robot, which may specifically include at least one of the following:
  • the manner of maintaining the cleaning robot may also be other manners, which are not limited in this embodiment of the present application.
  • the cleaning robot may be a sweeper, a mop, or the like.
  • the position can be understood as a coordinate in the lidar coordinate system, which is expressed as a two-dimensional space pose (x, y, theta); of course, it can also be other
  • the coordinates of the map set in the cleaning robot, the coordinates of the map generated by the cleaning robot, and other information that can represent the location, are not limited in this embodiment of the present application.
  • the laser radar may be a single-line laser radar
  • the image acquisition unit may be a camera.
  • lidars eg, multi-line lidars
  • image acquisition units eg, three-dimensional (3D) cameras
  • the cleaning robot can scan the environment in 360 degrees through the lidar to obtain the scan data; and can control the image acquisition unit to collect a panoramic view of the environment in which it is located when it controls its own rotation. image to obtain the image data.
  • the scan data can also be acquired first, and after the first position is determined based on the scan data, the cleaning robot is controlled to adjust the pose based on the first position, so that the cleaning robot can pass the
  • the image acquisition unit acquires the image data including the image information of the base station, acquires the image data, and determines the second position based on the image data.
  • the structure of the identification area and the type of reflective material contained may be based on the appearance and material of the base station, the application scenario of the cleaning robot, the laser radar and image acquisition of the cleaning robot The characteristics of the unit (ie type) and other requirements are set. For example, in order to improve the accuracy of the determined first position, in the case that the casing of the base station contains a first reflective material, a second reflective material may be provided at intervals in the marking area.
  • the second reflective material The reflective intensity of the material is higher than the reflective intensity of the first reflective material; in the case that the shell of the base station contains the second reflective material, the first reflective material may be arranged at intervals in the identification area; In the case where the casing of the base station contains a third reflective material, the first reflective material and the second reflective material may be arranged at intervals in the marking area, where the reflective intensity of the third reflective material is higher than that of the The first reflective material is lower than the second reflective material.
  • a waterproof reflective material needs to be provided in the marking area.
  • the shape and size of the reflective material can also be set according to the size of the base station, the characteristics (ie types) of the laser radar and the image acquisition unit of the cleaning robot and other requirements.
  • squares of the first reflective material and the second reflective material may be arranged at intervals in the marking area, and the widths of each square piece of reflective material may be the same or different.
  • the scan data may include reflective intensity information of multiple scanning points; the identification area may include at least two reflective materials with different reflective intensities;
  • the determining, based on the scan data, the first position of the identification area on the base station relative to the cleaning robot may include:
  • a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
  • the first location is determined based on the determined plurality of first target scan points.
  • the scanning points refer to all the points scanned by the lidar in the environment where the cleaning robot is located, in other words, the scanning points refer to objects in the environment where the cleaning robot is located A point on a surface that reflects laser light.
  • the difference between the reflective intensity of each first target scanning point and the reflective intensity of its next scanning point is greater than or equal to the first threshold, which can be understood as: the difference between the at least two reflective materials included in the marking area.
  • the reflected light intensity difference is greater than or equal to the first threshold.
  • the first target scanning point can be understood as a scanning point on the boundary of each reflective material in the marking area.
  • the first threshold can be set according to requirements.
  • a preset pattern matching algorithm can be used to detect the changing edge of the reflective intensity of each scanning point in the scanning data from strong to weak and the changing edge from weak to strong, that is, to obtain the plurality of first target scan point.
  • the horizontal axis may represent the index of the scanning point
  • the vertical axis may represent the reflective intensity of the scanning point.
  • four changing edges of the reflective intensity can be determined, namely, four first target scan point.
  • the position of each first target scanning point relative to the cleaning robot can be determined, and then the position of each first target scanning point relative to the cleaning robot can be determined. , to determine the first position.
  • At least two kinds of reflective materials with different reflective intensities contained in the identification area can also be arranged on different planes, in other words, at the base station.
  • the at least two reflective materials are staggered in the horizontal depth direction.
  • the first reflective material and the second reflective material in squares may be arranged at intervals in the marking area. It can be seen from the front view of the marking area that each square
  • the width of the reflective material may be the same or different; it can be seen from the top view of the marking area that the first reflective material and the second reflective material are not on the same plane.
  • the distance between the scanning point corresponding to the second reflective material and the cleaning robot is greater than the distance between the scanning point corresponding to the first reflective material and the cleaning robot.
  • the scan data may further include distance information between a plurality of scan points and the cleaning robot; at least two reflective materials in the identification area are not located on the same plane;
  • the determining the first position based on the determined multiple first target scanning points may include:
  • a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot and its own distance The difference between the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and less than or equal to the third threshold;
  • the first position is determined.
  • the A first target scan point determines the first position. If it is determined according to the scanning data that the at least two reflective materials in the marking area are not located on the same plane, that is, it is determined that the distance between each first target scanning point and the cleaning robot is different, then it is necessary to measure the plurality of first targets. Accuracy verification is performed on the scanning points, that is, a plurality of second target scanning points are determined.
  • the second target scanning point can also be understood as a scanning point on the boundary of each reflective material in the marking area.
  • the plurality of first target scanning points and the plurality of first target scanning points The two target scanning points are the same.
  • it indicates that there is an error in the calculation therefore, it is necessary to combine the plurality of first target scanning points and the plurality of target scanning points. a second target scan point to determine the first position.
  • the difference between the distance between each second target scanning point and the cleaning robot and the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and is less than or equal to the third threshold, which can be It is understood that the distance difference between the at least two reflective materials included in the marking area and the cleaning robot is greater than or equal to the second threshold and less than or equal to the third threshold.
  • the second threshold and the third threshold can be set according to requirements.
  • the position of the robot is determined to determine the third position; then based on the position of each second target scanning point relative to the cleaning robot, the fourth position is determined; finally, using the third position and the fourth position,
  • the first position is determined in combination with a pre-trained deep learning model, a pre-set filtering algorithm, averaging, and the like.
  • the geometric features of the identification area may also be extracted based on the scan data, such as width information; then determine the sixth position of the identification area relative to the cleaning robot based on the geometric features of the identification area, and use the third position, the fourth position and the sixth position, combined with pre-training A good deep learning model, a preset filtering algorithm, averaging, etc. are used to determine the first position.
  • the appearance feature data of the identified area may be preset in the cleaning robot, and the second position may be determined based on the appearance feature data.
  • the determining the second position of the identification area relative to the cleaning robot based on the image data may include:
  • the second position is determined based on the image data and in combination with preset appearance feature data of the identification area.
  • a deep learning model can be trained by using the image data of the marked area (which may include data such as the shape and color of each reflective material), and the appearance feature data of the marked area can be obtained based on the deep learning model.
  • image data of the marked area which may include data such as the shape and color of each reflective material
  • appearance feature data of the marked area can be obtained based on the deep learning model.
  • other methods may also be used to determine the appearance feature data of the identification area according to requirements, which is not limited in this embodiment of the present application.
  • the second position may be determined based on the image data and the preset appearance feature data of the identification area by using a pre-trained deep learning model, a preset feature matching algorithm, or the like.
  • the location where the identification area is set at the base station may correspond to the geometric center of the base station, in other words, the identification area may Based on a central axis of the casing of the base station, the base station is centered and symmetrically arranged.
  • the first position and the second position can be directly used, combined with a pre-trained deep learning model, a preset filtering algorithm, and an average and so on, determine the fifth position of the base station (that is, the geometric center of the base station) relative to the cleaning robot, and use the fifth position to control the cleaning robot to move toward the base station; in other words, due to The identification area is centered and symmetrical based on a central axis of the shell of the base station, and the first position and the second position can be directly used to control the cleaning robot to precisely dock with the base station, that is, to control the cleaning The robot returns exactly to the base station location.
  • the identification area may not be centrally and symmetrically arranged based on a central axis of the casing of the base station, but may be arranged at other positions that can be scanned by the lidar and do not correspond to the geometric center of the base station. (For example, it is set asymmetrically based on a central axis of the casing of the base station).
  • it is necessary to compensate the geometric center of the identification area relative to the geometric center of the base station. Offset of the center.
  • controlling the cleaning robot to move to the base station based on the first position and the second position may include:
  • the compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
  • the position of the base station relative to itself can be detected in real time, so that the base station The position relative to itself is always updated and converged to a more stable result, so as to control the cleaning robot to dock with the base station more accurately.
  • the method when controlling the cleaning robot to move toward the base station, the method may further include:
  • the cleaning robot is controlled to move toward the base station.
  • the period for acquiring the scanning data of the lidar and the image data collected by the image acquisition unit may be set according to requirements, for example, 100 milliseconds (mm).
  • the cleaning robot when the identification area is centered and symmetrical based on a central axis of the shell of the base station, the cleaning robot is controlled to the base station based on the updated first position and the second position.
  • the movement may include: using the updated first position and the second position, combined with a pre-trained deep learning model, a preset filtering algorithm, averaging, etc., to determine the updated fifth position, and use the updated fifth position.
  • the fifth position controls the cleaning robot to move toward the base station.
  • the controlling the cleaning robot to move to the base station based on the updated first position and the second position may include: based on the updated first position and the second position The updated first position and the second position are combined with a preset compensation function to determine an updated fifth position, and use the updated fifth position to control the cleaning robot to move toward the base station.
  • the cleaning robot may determine a moving path by using a preset path planning algorithm, and move to the base station based on the determined moving path.
  • an obstacle avoidance algorithm can be preset based on the shell shape of the base station (such as a base station with a U-shaped shell), and the cleaning robot can be controlled to move to the base station based on the obstacle avoidance algorithm, so that the cleaning robot can move towards the base station based on the obstacle avoidance algorithm.
  • the robot can fine-tune the docking direction with the base station left and right to avoid colliding with the edge of the base station and causing damage or failure of the base station casing.
  • the base station may have faults such as loose sockets, and the cleaning robot cannot be maintained. Whether the base station is faulty.
  • the method may further include:
  • the method for determining the successful docking of the cleaning robot with the base station can be set according to requirements.
  • sensors such as laser radar and image acquisition unit are used to determine the successful docking between the cleaning robot and the base station. Not limited.
  • the method of detecting whether the cleaning robot is in a charging state can also be set according to requirements, such as detecting whether the battery of the cleaning robot has an input current, which is not limited in this embodiment of the present application.
  • the fault information can be sent to the user terminal to prompt the user that the base station has a fault; of course, the fault information can also be sent to the indicator light control unit of the cleaning robot, and prompted in the form of an indicator light.
  • the base station described by the user is faulty.
  • the specific device for receiving the fault information may be set according to requirements, which is not limited in this embodiment of the present application.
  • other signal emission sensors such as infrared sensors
  • the cleaning robot can be controlled to return to the base station position in combination with other installed signal emission sensors.
  • the cleaning robot determines that the entire process of returning to the base station has not received the signal sent by the base station (for example, Infrared signal)
  • the base station for example, Infrared signal
  • the movement control method provided in the embodiment of the present application acquires the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit of the cleaning robot; a first position of the robot; and based on the image data, determine a second position of the identification area relative to the cleaning robot; the identification area contains a reflective material; based on the first position and the second position, The cleaning robot is controlled to move toward the base station, so that the cleaning robot returns to the position of the base station.
  • the solution of the embodiment of the present application is based on the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit, determines the position of the identification area containing the reflective material on the base station relative to the cleaning robot, and controls the cleaning robot based on the determined position.
  • the base station moves; in this way, the cleaning robot can detect the base station and automatically return to the base station position when it needs to return to the base station position, so as to improve the user experience; at the same time, the process of the cleaning robot returning to the base station position automatically does not require the guidance of the base station.
  • it is not necessary to install a signal emitting sensor on the base station only to set a marking area containing a low-cost reflective material on the base station, so that the cleaning robot can automatically return to the position of the base station. Therefore, the production cost of the base station of the cleaning robot can be reduced.
  • the reflective material is not easily damaged, the damage rate of the marking area can be reduced, thereby prolonging the service life of the base station of the cleaning robot and further improving the user experience.
  • the movement control method provided by the embodiment of the present application can enable the cleaning robot to identify different types of base stations (different types of base stations can be set with different identification areas).
  • the cleaning robot moves to the base station based on the preset path planning algorithm and obstacle avoidance algorithm, and can dock with the base station accurately, smoothly, and without collision (ie, return to the base station position successfully).
  • the cleaning robot can detect whether it is receiving the maintenance of the base station, so as to determine whether the base station is faulty.
  • the embodiment of the present application further provides a movement control device, which is arranged on the cleaning robot. As shown in FIG. 5 , the device includes:
  • an acquisition unit 501 configured to acquire scanning data of the laser radar of the cleaning robot and image data collected by an image acquisition unit of the cleaning robot;
  • the first processing unit 502 is configured to, based on the scan data, determine a first position of the identification area on the base station relative to the cleaning robot; and based on the image data, determine the position of the identification area relative to the cleaning robot. the second position; the marking area includes a reflective material;
  • the second processing unit 503 is configured to control the cleaning robot to move toward the base station based on the first position and the second position, so that the cleaning robot returns to the base station position.
  • the scanning data includes reflective intensity information of multiple scanning points; the marking area includes at least two reflective materials with different reflective intensities; the first processing unit 502 is configured to:
  • a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
  • the first location is determined based on the determined plurality of first target scan points.
  • the scan data further includes distance information between a plurality of scan points and the cleaning robot; at least two reflective materials in the marking area are not located on the same plane; the first processing unit 502 is configured to: :
  • a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot and its own distance The difference between the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and less than or equal to the third threshold;
  • the first position is determined.
  • the first processing unit 502 is configured to determine the second position based on the image data and in combination with preset appearance feature data of the identification area.
  • the second processing unit 503 is configured as:
  • the compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
  • the acquisition unit 501 is configured to periodically acquire the scanning data of the lidar and the image acquisition unit. collected image data;
  • the first processing unit 502 is configured to update the first position based on the acquired scan data; and update the second position based on the acquired image data;
  • the second processing unit 503 is configured to control the cleaning robot to move toward the base station based on the updated first position and the second position.
  • the apparatus further includes:
  • a detection unit configured to detect whether the cleaning robot is in a charging state after determining that the cleaning robot is successfully connected to the base station
  • a sending unit configured to determine that the base station is faulty when the detection unit detects that the cleaning robot is not in a charging state; and send fault information; the fault information is used to prompt that the base station is faulty.
  • the acquiring unit 501, the first processing unit 502, the second processing unit 503 and the detection unit may be implemented by a processor in the mobile control device; the sending unit may be implemented by a processor in the mobile control device.
  • the processor is implemented in conjunction with a communication interface.
  • the movement control device when the movement control device provided in the above embodiment controls the movement of the cleaning robot, only the division of the above program modules is used as an example for illustration. In practical application, the above processing can be allocated to different program modules as required. , that is, dividing the internal structure of the device into different program modules to complete all or part of the above-described processing.
  • the mobility control device and the mobility control method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
  • the embodiment of the present application further provides a cleaning robot.
  • the cleaning robot 600 includes:
  • the processor 602 is connected to the communication interface 601 to realize information interaction with other electronic devices, and is configured to execute the method provided by one or more of the above technical solutions when running a computer program;
  • the memory 603 stores computer programs that can run on the processor 602 .
  • the processor 602 is configured as:
  • the cleaning robot 600 is controlled to move toward the base station, so that the cleaning robot 600 returns to the base station position.
  • the scan data includes reflective intensity information of multiple scanning points; the identification area includes at least two reflective materials with different reflective intensities; the processor 602 is configured to:
  • a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
  • the first location is determined based on the determined plurality of first target scan points.
  • the scan data further includes distance information between a plurality of scan points and the cleaning robot 600; at least two reflective materials in the marking area are not located on the same plane; the processor 602 is configured to:
  • a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot 600 sums The difference between the distance between its next scanning point and the cleaning robot 600 is greater than or equal to the second threshold, and less than or equal to the third threshold;
  • the first position is determined.
  • the processor 602 is configured to determine the second position based on the image data and in combination with preset appearance feature data of the identification area.
  • the processor 602 is configured to:
  • the compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
  • the processor 602 is configured to:
  • the cleaning robot 600 is controlled to move toward the base station.
  • the processor 602 is configured to:
  • the cleaning robot 600 When it is detected that the cleaning robot 600 is not in a charging state, it is determined that the base station is faulty; and fault information is sent through the communication interface 601; the fault information is used to prompt that the base station is faulty.
  • bus system 604 the various components in the cleaning robot 600 are coupled together through the bus system 604 .
  • the bus system 604 is used to implement connection communication between these components.
  • the bus system 604 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled as bus system 604 in FIG. 6 .
  • the memory 603 in the embodiment of the present application is used to store various types of data to support the operation of the cleaning robot 600 .
  • Examples of such data include: any computer program used to operate on cleaning robot 600 .
  • the methods disclosed in the above embodiments of the present application may be applied to the processor 602 or implemented by the processor 602 .
  • the processor 602 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method may be completed by an integrated logic circuit of hardware in the processor 602 or an instruction in the form of software.
  • the above-mentioned processor 602 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the processor 602 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application.
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in the memory 603, and the processor 602 reads the information in the memory 603, and completes the steps of the foregoing method in combination with its hardware.
  • the cleaning robot 600 may be implemented by one or more Application Specific Integrated Circuit (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD) , Complex Programmable Logic Device), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic Element implementation for performing the aforementioned method.
  • ASIC Application Specific Integrated Circuit
  • DSP Programmable Logic Device
  • PLD Programmable Logic Device
  • CPLD Complex Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • MCU microcontroller
  • Microcontroller Micro Controller Unit
  • Microprocessor Microprocessor
  • the memory 603 in this embodiment of the present application may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-only memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be disk memory or tape memory.
  • RAM Random Access Memory
  • SRAM Static Random Access Memory
  • SSRAM Synchronous Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Enhanced Type Synchronous Dynamic Random Access Memory
  • SLDRAM Synchronous Link Dynamic Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • an embodiment of the present application further provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, for example, including a memory 603 for storing a computer program, and the above-mentioned computer program can be processed by the cleaning robot 600
  • the device 602 is executed to complete the steps of the aforementioned method.
  • the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

Landscapes

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

Abstract

The present application discloses a method and apparatus for controlling movement, a cleaning robot, and a storage medium. The method comprises: acquiring scan data of a lidar of a cleaning robot as well as image data collected by an image collection unit of the cleaning robot; determining, on the basis of the scan data, a first location relative to the cleaning robot in an identification area on a base station; and determining, on the basis of the image data, a second location relative to the cleaning robot in the identification area, the identification area containing a reflective material; and on the basis of the first location and the second location, controlling the cleaning robot to move to the base station, so that the cleaning robot returns to the position of the base station.

Description

移动控制方法、装置、清洁机器人及存储介质Movement control method, device, cleaning robot and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202110384482.5、申请日为2021年04月09日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110384482.5 and the filing date of April 9, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种移动控制方法、装置、清洁机器人及存储介质。The present application relates to the field of computer technology, and in particular, to a movement control method, a device, a cleaning robot, and a storage medium.
背景技术Background technique
随着科技的发展,一些移动机器人存在自动返回至基站位置的需求,比如扫地机、拖地机等清洁机器人。因此,如何使清洁机器人能够检测到基站并自动返回至基站位置成为亟待解决的问题。With the development of science and technology, some mobile robots need to automatically return to the base station, such as cleaning robots such as sweepers and moppers. Therefore, how to enable the cleaning robot to detect the base station and automatically return to the base station has become an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
为解决相关技术问题,本申请实施例提供一种移动控制方法、装置、清洁机器人及存储介质。To solve related technical problems, embodiments of the present application provide a movement control method, device, cleaning robot, and storage medium.
本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:
本申请实施例提供了一种移动控制方法,包括:The embodiment of the present application provides a movement control method, including:
获取清洁机器人的激光雷达的扫描数据及所述清洁机器人的图像采集单元采集的图像数据;acquiring the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit of the cleaning robot;
基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置;所述标识区域包含反光材料;Based on the scan data, a first position of the identification area on the base station relative to the cleaning robot is determined; and based on the image data, a second position of the identification area relative to the cleaning robot is determined; the identification area is contains reflective material;
基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,以使所述清洁机器人返回至所述基站位置。Based on the first position and the second position, the cleaning robot is controlled to move toward the base station, so that the cleaning robot returns to the base station position.
上述方案中,所述扫描数据包含多个扫描点的反光强度信息;所述标识区域包含反光强度不同的至少两种反光材料;所述基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置,包括:In the above solution, the scanning data includes the reflective intensity information of multiple scanning points; the identification area includes at least two kinds of reflective materials with different reflective intensities; and the identification area on the base station is determined based on the scanning data relative to all the reflective materials. Describe the first position of the cleaning robot, including:
基于所述多个扫描点的反光强度信息,从所述多个扫描点中确定多个第一目标扫描点;每个第一目标扫描点的反光强度与自身的下一个扫描点 的反光强度之差大于或等于第一阈值;Based on the reflective intensity information of the plurality of scanning points, a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
基于确定的多个第一目标扫描点,确定所述第一位置。The first location is determined based on the determined plurality of first target scan points.
上述方案中,所述扫描数据还包含多个扫描点与所述清洁机器人的距离信息;所述标识区域的至少两种反光材料不位于同一平面;所述基于确定的多个第一目标扫描点,确定所述第一位置,包括:In the above solution, the scan data further includes distance information between a plurality of scanning points and the cleaning robot; at least two reflective materials in the marking area are not located on the same plane; the plurality of first target scanning points determined based on , determining the first position, including:
基于所述多个第一目标扫描点,确定所述标识区域相对于所述清洁机器人的第三位置;determining a third position of the identification area relative to the cleaning robot based on the plurality of first target scanning points;
基于所述多个扫描点与所述清洁机器人的距离信息,从所述多个扫描点中确定多个第二目标扫描点;每个第二目标扫描点与所述清洁机器人的距离和自身的下一个扫描点与所述清洁机器人的距离之差大于或等于第二阈值,且小于或等于第三阈值;Based on the distance information between the plurality of scanning points and the cleaning robot, a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot and its own distance The difference between the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and less than or equal to the third threshold;
基于所述多个第二目标扫描点,确定所述标识区域相对于所述清洁机器人的第四位置;determining a fourth position of the identification area relative to the cleaning robot based on the plurality of second target scanning points;
利用所述第三位置和所述第四位置,确定所述第一位置。Using the third position and the fourth position, the first position is determined.
上述方案中,所述基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置,包括:In the above solution, determining the second position of the identification area relative to the cleaning robot based on the image data includes:
基于所述图像数据,结合预设的所述标识区域的外观特征数据,确定所述第二位置。The second position is determined based on the image data and in combination with preset appearance feature data of the identification area.
上述方案中,所述基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,包括:In the above solution, the controlling the cleaning robot to move to the base station based on the first position and the second position includes:
基于所述第一位置和所述第二位置,结合预设的补偿函数,确定所述基站相对于所述清洁机器人的第五位置;Based on the first position and the second position, combined with a preset compensation function, determine a fifth position of the base station relative to the cleaning robot;
利用所述第五位置控制所述清洁机器人向所述基站移动;其中,Using the fifth position to control the cleaning robot to move toward the base station; wherein,
所述补偿函数是利用所述标识区域的几何中心与所述基站的几何中心的相对位置关系生成的。The compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
上述方案中,控制所述清洁机器人向所述基站移动时,所述方法还包括:In the above solution, when controlling the cleaning robot to move to the base station, the method further includes:
周期性地获取所述激光雷达的扫描数据及所述图像采集单元采集的图像数据;Periodically acquire the scanning data of the lidar and the image data collected by the image acquisition unit;
基于获取的扫描数据,更新所述第一位置;并基于获取的图像数据,更新所述第二位置;updating the first position based on the acquired scan data; and updating the second position based on the acquired image data;
基于更新后的第一位置和第二位置,控制所述清洁机器人向所述基站移动。Based on the updated first position and the second position, the cleaning robot is controlled to move toward the base station.
上述方案中,所述方法还包括:In the above scheme, the method also includes:
确定所述清洁机器人与所述基站成功对接后,检测所述清洁机器人是否处于充电状态;After determining that the cleaning robot is successfully connected with the base station, detect whether the cleaning robot is in a charging state;
检测到所述清洁机器人未处于充电状态时,确定所述基站故障;并发出故障信息;所述故障信息用于提示所述基站出现故障。When it is detected that the cleaning robot is not in the charging state, it is determined that the base station is faulty; and fault information is sent; the fault information is used to prompt that the base station is faulty.
本申请实施例还提供了一种移动控制装置,包括:The embodiment of the present application also provides a mobile control device, including:
获取单元,配置为获取清洁机器人的激光雷达的扫描数据及所述清洁机器人的图像采集单元采集的图像数据;an acquisition unit, configured to acquire scanning data of the laser radar of the cleaning robot and image data collected by the image acquisition unit of the cleaning robot;
第一处理单元,配置为基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置;所述标识区域包含反光材料;The first processing unit is configured to determine the first position of the identification area on the base station relative to the cleaning robot based on the scan data; and determine the first position of the identification area relative to the cleaning robot based on the image data. two positions; the marking area contains reflective material;
第二处理单元,配置为基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,以使所述清洁机器人返回至所述基站位置。The second processing unit is configured to control the cleaning robot to move toward the base station based on the first position and the second position, so that the cleaning robot returns to the base station position.
本申请实施例还提供了一种清洁机器人,包括:处理器和配置为存储能够在处理器上运行的计算机程序的存储器,Embodiments of the present application also provide a cleaning robot, comprising: a processor and a memory configured to store a computer program that can be executed on the processor,
其中,所述处理器配置为运行所述计算机程序时,执行上述任一方法的步骤。Wherein, the processor is configured to execute the steps of any of the above methods when running the computer program.
本申请实施例还提供了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法的步骤。Embodiments of the present application further provide a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any of the foregoing methods.
本申请实施例提供的移动控制方法、装置、清洁机器人及存储介质,获取清洁机器人的激光雷达的扫描数据及所述清洁机器人的图像采集单元采集的图像数据;基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置;所述标识区域包含反光材料;基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,以使所述清洁机器人返回至所述基站位置。本申请实施例的方案,基于清洁机器人的激光雷达的扫描数据及图像采集单元采集的图像数据,确定基站上包含反光材料的标识区域相对于清洁机器人的位置,并基于确定的位置控制清洁机器人向所述基站移动;如此,清洁机器人在需要返回至基站位置时能够检测到基站并自动返回至基站位置,从而能够提升用户体验;同时,清洁机器人自动返回至基站位置的过程无需基站的指引,换句话说,无需在基站上安装信号发射传感器,从而能够降低清洁机器人的基站的生产成本。The movement control method, device, cleaning robot, and storage medium provided by the embodiments of the present application acquire scanning data of the laser radar of the cleaning robot and image data collected by the image acquisition unit of the cleaning robot; the first position of the identification area relative to the cleaning robot; and based on the image data, determine the second position of the identification area relative to the cleaning robot; the identification area contains reflective material; based on the first position position and the second position, control the cleaning robot to move toward the base station, so that the cleaning robot returns to the base station position. The solution of the embodiment of the present application is based on the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit, determines the position of the identification area containing the reflective material on the base station relative to the cleaning robot, and controls the cleaning robot based on the determined position. The base station moves; in this way, the cleaning robot can detect the base station and automatically return to the base station position when it needs to return to the base station position, so as to improve the user experience; at the same time, the process of the cleaning robot returning to the base station position automatically does not require the guidance of the base station. In other words, there is no need to install a signal emitting sensor on the base station, so that the production cost of the base station for the cleaning robot can be reduced.
附图说明Description of drawings
图1为本申请实施例移动控制方法的流程示意图;1 is a schematic flowchart of a movement control method according to an embodiment of the present application;
图2为本申请实施例标识区域的一种结构示意图;FIG. 2 is a schematic structural diagram of an identification area according to an embodiment of the present application;
图3为本申请实施例扫描点的反光强度变化示意图;FIG. 3 is a schematic diagram of the variation of the reflected light intensity of the scanning point according to the embodiment of the present application;
图4为本申请实施例标识区域的另一种结构示意图;FIG. 4 is another schematic structural diagram of the identification area according to the embodiment of the present application;
图5为本申请实施例移动控制装置的结构示意图;5 is a schematic structural diagram of a mobile control device according to an embodiment of the present application;
图6为本申请实施例清洁机器人的结构示意图。FIG. 6 is a schematic structural diagram of a cleaning robot according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图及实施例对本申请再作进一步详细的描述。The present application will be further described in detail below with reference to the accompanying drawings and embodiments.
为了使清洁机器人能够检测到基站并自动返回至基站位置,可以考虑在基站上设置条形码、二维码等产品标识,清洁机器人可以在需要返回至基站位置时,通过检测产品标识确定基站相对于自身的位置,并自动向基站移动。然而,虽然条形码、二维码等产品标识能够包含明显的外观特征和丰富的产品信息,通常容易被识别,且误检率极低,但受清洁机器人的结构、清洁机器人所安装的传感器的分辨能力和测量范围所限制,上述方案的实现难度较高。In order to enable the cleaning robot to detect the base station and automatically return to the base station location, it can be considered to set product identifiers such as barcodes and QR codes on the base station. position and automatically move to the base station. However, although product identifications such as barcodes and QR codes can contain obvious appearance features and rich product information, they are usually easy to identify and have a very low false detection rate. Limited by the capability and measurement range, the implementation of the above scheme is relatively difficult.
实际应用时,还可以考虑使清洁机器人基于基站的几何特征(即基站的形状)对基站相对于自身的位置进行检测,比如,清洁机器人可以通过激光雷达对自身所处的环境进行扫描,基于得到的扫描数据确定基站相对于自身的位置,基于得到的扫描数据能够确定直线时,清洁机器人能够确定一个平面,基于得到的扫描数据能够确定圆弧时,清洁机器人能够确定一个曲面。然而,由于清洁机器人可能处于较复杂的环境中,采用上述方案检测基站相对于自身的位置的准确率可能较低。In practical application, it can also be considered that the cleaning robot can detect the position of the base station relative to itself based on the geometric characteristics of the base station (ie the shape of the base station). The scanning data of the scanning data determines the position of the base station relative to itself. When a straight line can be determined based on the obtained scanning data, the cleaning robot can determine a plane, and when an arc can be determined based on the obtained scanning data, the cleaning robot can determine a curved surface. However, since the cleaning robot may be in a relatively complex environment, the accuracy of detecting the position of the base station relative to itself using the above solution may be low.
实际应用时,还可以考虑在清洁机器人和基站上分别安装红外传感器,通过清洁机器人和基站之间红外信号的交互,引导清洁机器人与基站对接,即引导清洁机器人返回至基站位置。然而,红外传感器之间在生产过程中的一致性、稳定性以及在安装过程中的一致性都难以保障;并且,在使用过程中,红外信号易发生干扰、反射等异常情况,同时,器件损坏风险较高。In practical applications, it can also be considered to install infrared sensors on the cleaning robot and the base station respectively, and guide the cleaning robot to dock with the base station through the interaction of infrared signals between the cleaning robot and the base station, that is, guide the cleaning robot to return to the base station. However, it is difficult to guarantee the consistency, stability and consistency of the infrared sensors during the production process and during the installation process; moreover, during the use process, the infrared signal is prone to abnormal situations such as interference and reflection, and at the same time, the device is damaged. Higher risk.
基于此,在本申请的各种实施例中,在清洁机器人中安装激光雷达和图像采集单元,基于激光雷达的扫描数据及图像采集单元采集的图像数据,确定基站上包含反光材料的标识区域相对于清洁机器人的位置,并基于确定的位置控制清洁机器人向所述基站移动;如此,清洁机器人在需要返回至基站位置时能够检测到基站并自动返回至基站位置,从而能够提升用户体验;同时,清洁机器人自动返回至基站位置的过程无需基站的指引,换句话说,无需在基站上安装信号发射传感器,从而能够降低清洁机器人的基站的生产成本。Based on this, in various embodiments of the present application, a laser radar and an image acquisition unit are installed in the cleaning robot, and based on the scanning data of the laser radar and the image data collected by the image acquisition unit, it is determined that the identification area containing the reflective material on the base station is relatively locate the cleaning robot, and control the cleaning robot to move to the base station based on the determined position; in this way, the cleaning robot can detect the base station and automatically return to the base station position when it needs to return to the base station position, thereby improving user experience; at the same time, The process of automatically returning the cleaning robot to the position of the base station does not require the guidance of the base station, in other words, there is no need to install a signal transmitting sensor on the base station, thereby reducing the production cost of the base station for the cleaning robot.
本申请实施例提供一种移动控制方法,如图1所示,该方法包括:An embodiment of the present application provides a mobile control method, as shown in FIG. 1 , the method includes:
步骤101:获取清洁机器人的激光雷达的扫描数据及所述清洁机器人的图像采集单元采集的图像数据;Step 101 : acquiring the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit of the cleaning robot;
步骤102:基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置;Step 102: Based on the scan data, determine the first position of the identification area on the base station relative to the cleaning robot; and determine the second position of the identification area relative to the cleaning robot based on the image data;
这里,所述标识区域包含反光材料;Here, the marking area includes a reflective material;
步骤103:基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,以使所述清洁机器人返回至所述基站位置。Step 103: Based on the first position and the second position, control the cleaning robot to move toward the base station, so that the cleaning robot returns to the base station position.
这里,所述清洁机器人返回至所述基站位置后,所述基站可以对所述清洁机器人进行维护,具体可以包含以下至少之一:Here, after the cleaning robot returns to the location of the base station, the base station may perform maintenance on the cleaning robot, which may specifically include at least one of the following:
为所述清洁机器人充电;charging the cleaning robot;
对所述清洁机器人进行故障检测;Perform fault detection on the cleaning robot;
对所述清洁机器人进行故障修复;Perform fault repair on the cleaning robot;
对所述清洁机器人进行清洁;cleaning the cleaning robot;
为所述清洁机器人替换指定部件。Replace specified parts for the cleaning robot.
当然,实际应用时,对所述清洁机器人进行维护的方式还可以是其他方式,本申请实施例对此不作限定。Of course, in practical application, the manner of maintaining the cleaning robot may also be other manners, which are not limited in this embodiment of the present application.
实际应用时,所述清洁机器人可以是扫地机、拖地机等。In practical application, the cleaning robot may be a sweeper, a mop, or the like.
另外,需要说明的是,在本申请的各种实施例中,位置可以理解为激光雷达坐标系中的坐标,表示为二维空间位姿(x,y,theta);当然,也可以是其他设置在所述清洁机器人中的地图的坐标、所述清洁机器人生成的地图的坐标等能够表示位置的信息,本申请实施例对此不作限定。In addition, it should be noted that in various embodiments of the present application, the position can be understood as a coordinate in the lidar coordinate system, which is expressed as a two-dimensional space pose (x, y, theta); of course, it can also be other The coordinates of the map set in the cleaning robot, the coordinates of the map generated by the cleaning robot, and other information that can represent the location, are not limited in this embodiment of the present application.
在步骤101中,实际应用时,所述激光雷达可以是单线激光雷达,所述图像采集单元可以是摄像头。当然,可以根据需求设置其他类型的激光雷达(比如多线激光雷达)和图像采集单元(比如三维(3D)相机),本申请实施例对此不作限定。In step 101, in practical application, the laser radar may be a single-line laser radar, and the image acquisition unit may be a camera. Of course, other types of lidars (eg, multi-line lidars) and image acquisition units (eg, three-dimensional (3D) cameras) may be set according to requirements, which are not limited in this embodiment of the present application.
实际应用时,所述清洁机器人可以通过激光雷达对所处环境进行360度的扫描,得到所述扫描数据;并可以在控制自身原地旋转时控制所述图像采集单元采集自身所处环境的全景图像,得到所述图像数据。In practical application, the cleaning robot can scan the environment in 360 degrees through the lidar to obtain the scan data; and can control the image acquisition unit to collect a panoramic view of the environment in which it is located when it controls its own rotation. image to obtain the image data.
实际应用时,也可以先获取所述扫描数据,基于所述扫描数据确定所述第一位置后,基于所述第一位置控制所述清洁机器人调整位姿,使所述清洁机器人能够通过所述图像采集单元采集到包含所述基站的图像信息的所述图像数据,再获取所述图像数据,并基于所述图像数据确定所述第二位置。In practical applications, the scan data can also be acquired first, and after the first position is determined based on the scan data, the cleaning robot is controlled to adjust the pose based on the first position, so that the cleaning robot can pass the The image acquisition unit acquires the image data including the image information of the base station, acquires the image data, and determines the second position based on the image data.
在步骤102中,实际应用时,所述标识区域的结构以及包含的反光材料的类型可以根据所述基站的外观和材料、所述清洁机器人的应用场景、所述清洁机器人的激光雷达与图像采集单元的特点(即类型)等需求设置。比如,为了提高确定的所述第一位置的准确率,在所述基站的外壳包含第一反光材料的情况下,可以在所述标识区域间隔设置第二反光材料,这里,所述第二反光材料的反光强度高于所述第一反光材料的反光强度;在所述基站的外壳包含所述第二反光材料的情况下,可以在所述标识区域间隔设置所述第一反光材料;在所述基站的外壳包含第三反光材料的情况下,可以在所述标识区域间隔设置所述第一反光材料和所述第二反光材料,这里,所述第三反光材料的反光强度高于所述第一反光材料,且低于所述第二反 光材料。再比如,在所述清洁机器人为拖地机的情况下,需要在所述标识区域设置防水的反光材料。In step 102, in practical application, the structure of the identification area and the type of reflective material contained may be based on the appearance and material of the base station, the application scenario of the cleaning robot, the laser radar and image acquisition of the cleaning robot The characteristics of the unit (ie type) and other requirements are set. For example, in order to improve the accuracy of the determined first position, in the case that the casing of the base station contains a first reflective material, a second reflective material may be provided at intervals in the marking area. Here, the second reflective material The reflective intensity of the material is higher than the reflective intensity of the first reflective material; in the case that the shell of the base station contains the second reflective material, the first reflective material may be arranged at intervals in the identification area; In the case where the casing of the base station contains a third reflective material, the first reflective material and the second reflective material may be arranged at intervals in the marking area, where the reflective intensity of the third reflective material is higher than that of the The first reflective material is lower than the second reflective material. For another example, in the case where the cleaning robot is a mopping machine, a waterproof reflective material needs to be provided in the marking area.
实际应用时,所述反光材料的形状和尺寸也可以根据所述基站的尺寸、所述清洁机器人的激光雷达与图像采集单元的特点(即类型)等需求设置。示例性地,如图2所示,可以在所述标识区域间隔设置方形的所述第一反光材料和所述第二反光材料,每块方形的反光材料的宽度可以相同或不同。In practical application, the shape and size of the reflective material can also be set according to the size of the base station, the characteristics (ie types) of the laser radar and the image acquisition unit of the cleaning robot and other requirements. Exemplarily, as shown in FIG. 2 , squares of the first reflective material and the second reflective material may be arranged at intervals in the marking area, and the widths of each square piece of reflective material may be the same or different.
基于此,在一实施例中,所述扫描数据可以包含多个扫描点的反光强度信息;所述标识区域可以包含反光强度不同的至少两种反光材料;Based on this, in an embodiment, the scan data may include reflective intensity information of multiple scanning points; the identification area may include at least two reflective materials with different reflective intensities;
相应地,所述基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置,可以包括:Correspondingly, the determining, based on the scan data, the first position of the identification area on the base station relative to the cleaning robot may include:
基于所述多个扫描点的反光强度信息,从所述多个扫描点中确定多个第一目标扫描点;每个第一目标扫描点的反光强度与自身的下一个扫描点的反光强度之差大于或等于第一阈值;Based on the reflective intensity information of the plurality of scanning points, a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
基于确定的多个第一目标扫描点,确定所述第一位置。The first location is determined based on the determined plurality of first target scan points.
这里,所述扫描点是指所述激光雷达在所述清洁机器人所处的环境中扫描到的全部的点,换句话说,所述扫描点是指所述清洁机器人所处的环境中的物体表面能够反射激光的点。Here, the scanning points refer to all the points scanned by the lidar in the environment where the cleaning robot is located, in other words, the scanning points refer to objects in the environment where the cleaning robot is located A point on a surface that reflects laser light.
实际应用时,每个第一目标扫描点的反光强度与自身的下一个扫描点的反光强度之差大于或等于第一阈值,可以理解为:所述标识区域包含的至少两种反光材料之间的反光强度差大于或等于第一阈值。换句话说,所述第一目标扫描点可以理解为所述标识区域中各反光材料的边界上的扫描点。In practical application, the difference between the reflective intensity of each first target scanning point and the reflective intensity of its next scanning point is greater than or equal to the first threshold, which can be understood as: the difference between the at least two reflective materials included in the marking area. The reflected light intensity difference is greater than or equal to the first threshold. In other words, the first target scanning point can be understood as a scanning point on the boundary of each reflective material in the marking area.
实际应用时,所述第一阈值可以根据需求设置。In practical application, the first threshold can be set according to requirements.
实际应用时,可以利用预设的模式匹配算法等方式检测所述扫描数据中各扫描点的反光强度由强变弱的变化沿及由弱变强的变化沿,即得到所述多个第一目标扫描点。示例性地,如图3所示,其中,横轴可以表示扫描点的索引,纵轴可以表示扫描点的反光强度,在图3中能够确定4个反光强度变化沿,即确定4个第一目标扫描点。In practical application, a preset pattern matching algorithm can be used to detect the changing edge of the reflective intensity of each scanning point in the scanning data from strong to weak and the changing edge from weak to strong, that is, to obtain the plurality of first target scan point. Exemplarily, as shown in FIG. 3 , the horizontal axis may represent the index of the scanning point, and the vertical axis may represent the reflective intensity of the scanning point. In FIG. 3 , four changing edges of the reflective intensity can be determined, namely, four first target scan point.
实际应用时,确定多个第一目标扫描点后,可以确定每个第一目标扫描点相对于所述清洁机器人的位置,进而能够根据每个第一目标扫描点相对于所述清洁机器人的位置,确定所述第一位置。In practical applications, after determining a plurality of first target scanning points, the position of each first target scanning point relative to the cleaning robot can be determined, and then the position of each first target scanning point relative to the cleaning robot can be determined. , to determine the first position.
实际应用时,为了进一步提高确定的所述第一位置的准确率,还可以将所述标识区域包含的反光强度不同的至少两种反光材料设置在不同的平面,换句话说,在所述基站的水平进深方向上交错设置所述至少两种反光材料。示例性地,如图4所示,可以在所述标识区域间隔设置方形的所述第一反光材料和所述第二反光材料,从所述标识区域的正视图可以看出,每块方形的反光材料的宽度可以相同或不同;从所述标识区域的俯视图可以看出,所述第一反光材料和所述第二反光材料不在同一平面。此时,在 所述扫描数据中,所述第二反光材料对应的扫描点与所述清洁机器人的距离大于所述第一反光材料对应的扫描点与所述清洁机器人的距离。In practical application, in order to further improve the accuracy of the determined first position, at least two kinds of reflective materials with different reflective intensities contained in the identification area can also be arranged on different planes, in other words, at the base station. The at least two reflective materials are staggered in the horizontal depth direction. Exemplarily, as shown in FIG. 4 , the first reflective material and the second reflective material in squares may be arranged at intervals in the marking area. It can be seen from the front view of the marking area that each square The width of the reflective material may be the same or different; it can be seen from the top view of the marking area that the first reflective material and the second reflective material are not on the same plane. At this time, in the scan data, the distance between the scanning point corresponding to the second reflective material and the cleaning robot is greater than the distance between the scanning point corresponding to the first reflective material and the cleaning robot.
基于此,在一实施例中,所述扫描数据还可以包含多个扫描点与所述清洁机器人的距离信息;所述标识区域的至少两种反光材料不位于同一平面;Based on this, in an embodiment, the scan data may further include distance information between a plurality of scan points and the cleaning robot; at least two reflective materials in the identification area are not located on the same plane;
所述基于确定的多个第一目标扫描点,确定所述第一位置,可以包括:The determining the first position based on the determined multiple first target scanning points may include:
基于所述多个第一目标扫描点,确定所述标识区域相对于所述清洁机器人的第三位置;determining a third position of the identification area relative to the cleaning robot based on the plurality of first target scanning points;
基于所述多个扫描点与所述清洁机器人的距离信息,从所述多个扫描点中确定多个第二目标扫描点;每个第二目标扫描点与所述清洁机器人的距离和自身的下一个扫描点与所述清洁机器人的距离之差大于或等于第二阈值,且小于或等于第三阈值;Based on the distance information between the plurality of scanning points and the cleaning robot, a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot and its own distance The difference between the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and less than or equal to the third threshold;
基于所述多个第二目标扫描点,确定所述标识区域相对于所述清洁机器人的第四位置;determining a fourth position of the identification area relative to the cleaning robot based on the plurality of second target scanning points;
利用所述第三位置和所述第四位置,确定所述第一位置。Using the third position and the fourth position, the first position is determined.
实际应用时,如果根据所述扫描数据确定所述标识区域的至少两种反光材料位于同一平面,即确定每个第一目标扫描点与所述清洁机器人的距离相同,则可以直接利用所述多个第一目标扫描点确定所述第一位置。如果根据所述扫描数据确定所述标识区域的至少两种反光材料不位于同一平面,即确定每个第一目标扫描点与所述清洁机器人的距离不同,则需要对所述多个第一目标扫描点进行准确性验证,即确定多个第二目标扫描点。In practical application, if it is determined according to the scanning data that at least two reflective materials in the marking area are located on the same plane, that is, it is determined that the distance between each first target scanning point and the cleaning robot is the same, the A first target scan point determines the first position. If it is determined according to the scanning data that the at least two reflective materials in the marking area are not located on the same plane, that is, it is determined that the distance between each first target scanning point and the cleaning robot is different, then it is necessary to measure the plurality of first targets. Accuracy verification is performed on the scanning points, that is, a plurality of second target scanning points are determined.
这里,所述第二目标扫描点也可以理解为所述标识区域中各反光材料的边界上的扫描点,在计算准确的情况下,所述多个第一目标扫描点与所述多个第二目标扫描点相同。而在所述多个第一目标扫描点与所述多个第二目标扫描点不完全相同的情况下,说明计算存在误差,因此,需要结合所述多个第一目标扫描点与所述多个第二目标扫描点,确定所述第一位置。Here, the second target scanning point can also be understood as a scanning point on the boundary of each reflective material in the marking area. In the case of accurate calculation, the plurality of first target scanning points and the plurality of first target scanning points The two target scanning points are the same. However, in the case where the plurality of first target scanning points and the plurality of second target scanning points are not identical, it indicates that there is an error in the calculation, therefore, it is necessary to combine the plurality of first target scanning points and the plurality of target scanning points. a second target scan point to determine the first position.
实际应用时,每个第二目标扫描点与所述清洁机器人的距离和自身的下一个扫描点与所述清洁机器人的距离之差大于或等于第二阈值,且小于或等于第三阈值,可以理解为:所述标识区域包含的至少两种反光材料之间与所述清洁机器人的距离差大于或等于第二阈值,且小于或等于第三阈值。In practical application, the difference between the distance between each second target scanning point and the cleaning robot and the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and is less than or equal to the third threshold, which can be It is understood that the distance difference between the at least two reflective materials included in the marking area and the cleaning robot is greater than or equal to the second threshold and less than or equal to the third threshold.
实际应用时,所述第二阈值和所述第三阈值可以根据需求设置。In practical application, the second threshold and the third threshold can be set according to requirements.
实际应用时,在结合所述多个第一目标扫描点与所述多个第二目标扫描点确定所述第一位置的过程中,可以先基于每个第一目标扫描点相对于所述清洁机器人的位置,确定所述第三位置;再基于每个第二目标扫描点相对于所述清洁机器人的位置,确定所述第四位置;最后利用所述第三位置和所述第四位置,结合预先训练好的深度学习模型、预先设置的滤波算法、求平均数等方式,确定所述第一位置。In practical application, in the process of determining the first position in combination with the plurality of first target scanning points and the plurality of second target scanning points, relative to the cleaning The position of the robot is determined to determine the third position; then based on the position of each second target scanning point relative to the cleaning robot, the fourth position is determined; finally, using the third position and the fourth position, The first position is determined in combination with a pre-trained deep learning model, a pre-set filtering algorithm, averaging, and the like.
实际应用时,为了进一步提高确定的所述第一位置的准确率,在确定所述第三位置和所述第四位置后,还可以基于所述扫描数据提取所述标识区域的几何特征,比如宽度信息;再基于所述标识区域的几何特征确定所述标识区域相对于所述清洁机器人的第六位置,利用所述第三位置、所述第四位置和所述第六位置,结合预先训练好的深度学习模型、预先设置的滤波算法、求平均数等方式,确定所述第一位置。In practical applications, in order to further improve the accuracy of the determined first position, after the third position and the fourth position are determined, the geometric features of the identification area may also be extracted based on the scan data, such as width information; then determine the sixth position of the identification area relative to the cleaning robot based on the geometric features of the identification area, and use the third position, the fourth position and the sixth position, combined with pre-training A good deep learning model, a preset filtering algorithm, averaging, etc. are used to determine the first position.
实际应用时,可以在所述清洁机器人中预先设置所述标识区域的外观特征数据,基于所述外观特征数据确定所述第二位置。In practical application, the appearance feature data of the identified area may be preset in the cleaning robot, and the second position may be determined based on the appearance feature data.
基于此,在一实施例中,所述基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置,可以包括:Based on this, in an embodiment, the determining the second position of the identification area relative to the cleaning robot based on the image data may include:
基于所述图像数据,结合预设的所述标识区域的外观特征数据,确定所述第二位置。The second position is determined based on the image data and in combination with preset appearance feature data of the identification area.
实际应用时,可以利用所述标识区域的图像数据(可以包含各反光材料的形状、颜色等数据)训练深度学习模型,并基于所述深度学习模型得到所述标识区域的外观特征数据。当然,也可以根据需求采用其他方式确定所述标识区域的外观特征数据,本申请实施例对此不作限定。In practical application, a deep learning model can be trained by using the image data of the marked area (which may include data such as the shape and color of each reflective material), and the appearance feature data of the marked area can be obtained based on the deep learning model. Of course, other methods may also be used to determine the appearance feature data of the identification area according to requirements, which is not limited in this embodiment of the present application.
实际应用时,可以利用预先训练的深度学习模型、预先设置的特征匹配算法等方式,基于所述图像数据,结合预设的所述标识区域的外观特征数据,确定所述第二位置。In practical application, the second position may be determined based on the image data and the preset appearance feature data of the identification area by using a pre-trained deep learning model, a preset feature matching algorithm, or the like.
在步骤103中,实际应用时,所述标识区域设置在所述基站的位置(即所述标识区域的几何中心)可能与所述基站的几何中心相对应,换句话说,所述标识区域可以基于所述基站的外壳的一条中心轴居中对称设置。此时,确定所述第一位置和所述第二位置后,可以直接利用所述第一位置和所述第二位置,结合预先训练好的深度学习模型、预先设置的滤波算法、求平均数等方式,确定所述基站(即所述基站的几何中心)相对于所述清洁机器人的第五位置,并利用所述第五位置控制所述清洁机器人向所述基站移动;换句话说,由于所述标识区域基于所述基站的外壳的一条中心轴居中对称设置,直接利用所述第一位置和所述第二位置就可以控制所述清洁机器人与所述基站精准对接,即控制所述清洁机器人准确地返回至所述基站位置。In step 103, in practical application, the location where the identification area is set at the base station (that is, the geometric center of the identification area) may correspond to the geometric center of the base station, in other words, the identification area may Based on a central axis of the casing of the base station, the base station is centered and symmetrically arranged. At this time, after the first position and the second position are determined, the first position and the second position can be directly used, combined with a pre-trained deep learning model, a preset filtering algorithm, and an average and so on, determine the fifth position of the base station (that is, the geometric center of the base station) relative to the cleaning robot, and use the fifth position to control the cleaning robot to move toward the base station; in other words, due to The identification area is centered and symmetrical based on a central axis of the shell of the base station, and the first position and the second position can be directly used to control the cleaning robot to precisely dock with the base station, that is, to control the cleaning The robot returns exactly to the base station location.
实际应用时,所述标识区域可能未基于所述基站的外壳的一条中心轴居中对称设置,而是设置在其他能被所述激光雷达扫描到的不与所述基站的几何中心相对应的位置(比如基于所述基站的外壳的一条中心轴不对称地设置),此时,在控制所述清洁机器人向所述基站移动时,需要补偿所述标识区域的几何中心相对于所述基站的几何中心的偏移。In practical application, the identification area may not be centrally and symmetrically arranged based on a central axis of the casing of the base station, but may be arranged at other positions that can be scanned by the lidar and do not correspond to the geometric center of the base station. (For example, it is set asymmetrically based on a central axis of the casing of the base station). At this time, when controlling the cleaning robot to move to the base station, it is necessary to compensate the geometric center of the identification area relative to the geometric center of the base station. Offset of the center.
基于此,在一实施例中,所述基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,可以包括:Based on this, in an embodiment, the controlling the cleaning robot to move to the base station based on the first position and the second position may include:
基于所述第一位置和所述第二位置,结合预设的补偿函数,确定所述 基站相对于所述清洁机器人的第五位置;Based on the first position and the second position, combined with a preset compensation function, determine the fifth position of the base station relative to the cleaning robot;
利用所述第五位置控制所述清洁机器人向所述基站移动;其中,Using the fifth position to control the cleaning robot to move toward the base station; wherein,
所述补偿函数是利用所述标识区域的几何中心与所述基站的几何中心的相对位置关系生成的。The compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
实际应用时,为了提高所述清洁机器人与所述基站对接的准确率,在所述清洁机器人向所述基站移动的过程中,可以实时地检测所述基站相对于自身的位置,使得所述基站相对于自身的位置一直更新并收敛到一个较稳定的结果,以控制所述清洁机器人与所述基站更精准地对接。In practical application, in order to improve the accuracy of docking between the cleaning robot and the base station, during the movement of the cleaning robot to the base station, the position of the base station relative to itself can be detected in real time, so that the base station The position relative to itself is always updated and converged to a more stable result, so as to control the cleaning robot to dock with the base station more accurately.
基于此,在一实施例中,控制所述清洁机器人向所述基站移动时,所述方法还可以包括:Based on this, in an embodiment, when controlling the cleaning robot to move toward the base station, the method may further include:
周期性地获取所述激光雷达的扫描数据及所述图像采集单元采集的图像数据;Periodically acquire the scanning data of the lidar and the image data collected by the image acquisition unit;
基于获取的扫描数据,更新所述第一位置;并基于获取的图像数据,更新所述第二位置;updating the first position based on the acquired scan data; and updating the second position based on the acquired image data;
基于更新后的第一位置和第二位置,控制所述清洁机器人向所述基站移动。Based on the updated first position and the second position, the cleaning robot is controlled to move toward the base station.
实际应用时,获取所述激光雷达的扫描数据及所述图像采集单元采集的图像数据的周期可以根据需求设置,比如100毫秒(mm)。In practical application, the period for acquiring the scanning data of the lidar and the image data collected by the image acquisition unit may be set according to requirements, for example, 100 milliseconds (mm).
具体地,实际应用时,当所述标识区域基于所述基站的外壳的一条中心轴居中对称设置时,所述基于更新后的第一位置和第二位置,控制所述清洁机器人向所述基站移动,可以包括:利用更新后的第一位置和第二位置,结合预先训练好的深度学习模型、预先设置的滤波算法、求平均数等方式,确定更新后的第五位置,并利用更新后的第五位置控制所述清洁机器人向所述基站移动。当所述标识区域未基于所述基站的外壳的一条中心轴居中对称设置时,所述基于更新后的第一位置和第二位置,控制所述清洁机器人向所述基站移动,可以包括:基于更新后的第一位置和第二位置,结合预设的补偿函数,确定更新后的第五位置,并利用更新后的第五位置控制所述清洁机器人向所述基站移动。Specifically, in practical application, when the identification area is centered and symmetrical based on a central axis of the shell of the base station, the cleaning robot is controlled to the base station based on the updated first position and the second position. The movement may include: using the updated first position and the second position, combined with a pre-trained deep learning model, a preset filtering algorithm, averaging, etc., to determine the updated fifth position, and use the updated fifth position. The fifth position controls the cleaning robot to move toward the base station. When the identification area is not centrally and symmetrically set based on a central axis of the casing of the base station, the controlling the cleaning robot to move to the base station based on the updated first position and the second position may include: based on the updated first position and the second position The updated first position and the second position are combined with a preset compensation function to determine an updated fifth position, and use the updated fifth position to control the cleaning robot to move toward the base station.
实际应用时,确定所述第五位置后,所述清洁机器人可以利用预设的路径规划算法,确定移动路径;并基于确定的移动路径向所述基站移动。In practical application, after the fifth position is determined, the cleaning robot may determine a moving path by using a preset path planning algorithm, and move to the base station based on the determined moving path.
实际应用时,可以基于所述基站的外壳形状(比如U形外壳的基站),预先设置避障算法,并控制所述清洁机器人基于所述避障算法向所述基站移动,以使得所述清洁机器人能够左右微调与基站的对接方向,避免碰撞基站的边缘而导致基站外壳损坏或发生故障。In practical application, an obstacle avoidance algorithm can be preset based on the shell shape of the base station (such as a base station with a U-shaped shell), and the cleaning robot can be controlled to move to the base station based on the obstacle avoidance algorithm, so that the cleaning robot can move towards the base station based on the obstacle avoidance algorithm. The robot can fine-tune the docking direction with the base station left and right to avoid colliding with the edge of the base station and causing damage or failure of the base station casing.
实际应用时,所述基站可能出现插座松动等故障,无法对所述清洁机器人进行维护,所述清洁机器人可以通过对自身状态的检测,确定自身是否在接受所述基站的维护,从而判断所述基站是否发生故障。In practical application, the base station may have faults such as loose sockets, and the cleaning robot cannot be maintained. Whether the base station is faulty.
基于此,在一实施例中,所述方法还可以包括:Based on this, in an embodiment, the method may further include:
确定所述清洁机器人与所述基站成功对接后,检测所述清洁机器人是否处于充电状态;After determining that the cleaning robot is successfully connected with the base station, detect whether the cleaning robot is in a charging state;
检测到所述清洁机器人未处于充电状态时,确定所述基站故障;并发出故障信息;所述故障信息用于提示所述基站出现故障。When it is detected that the cleaning robot is not in the charging state, it is determined that the base station is faulty; and fault information is sent; the fault information is used to prompt that the base station is faulty.
实际应用时,确定所述清洁机器人与所述基站成功对接的方式可以根据需求设置,比如通过激光雷达、图像采集单元等传感器确定所述清洁机器人与所述基站成功对接,本申请实施例对此不作限定。In practical application, the method for determining the successful docking of the cleaning robot with the base station can be set according to requirements. For example, sensors such as laser radar and image acquisition unit are used to determine the successful docking between the cleaning robot and the base station. Not limited.
实际应用时,检测所述清洁机器人是否处于充电状态的方式也可以根据需求设置,比如检测所述清洁机器人的电池是否存在输入电流,本申请实施例对此不作限定。In practical application, the method of detecting whether the cleaning robot is in a charging state can also be set according to requirements, such as detecting whether the battery of the cleaning robot has an input current, which is not limited in this embodiment of the present application.
实际应用时,所述故障信息可以发送给用户终端,以提示用户所述基站发生故障;当然,所述故障信息也可以发送给所述清洁机器人的指示灯控制单元,并以指示灯的形式提示用户所述基站发生故障。具体接收所述故障信息的设备可以根据需求设置,本申请实施例对此不作限定。In practical application, the fault information can be sent to the user terminal to prompt the user that the base station has a fault; of course, the fault information can also be sent to the indicator light control unit of the cleaning robot, and prompted in the form of an indicator light. The base station described by the user is faulty. The specific device for receiving the fault information may be set according to requirements, which is not limited in this embodiment of the present application.
实际应用时,所述清洁机器人和所述基站上也可以分别安装其他信号发射传感器,比如红外传感器,并结合安装的其他信号发射传感器控制所述清洁机器人返回至所述基站位置。当然,在所述清洁机器人基于所述扫描数据和所述图像数据与所述基站成功对接后,如果所述清洁机器人确定整个返回至基站位置的过程均未接收到所述基站发送的信号(比如红外信号),则可以确定自身和/或所述基站上的其他信号发射传感器(比如红外传感器)出现故障,并可以发出故障信息,以提示自身和/或所述基站上的其他信号发射传感器出现故障。In practical application, other signal emission sensors, such as infrared sensors, may also be installed on the cleaning robot and the base station respectively, and the cleaning robot can be controlled to return to the base station position in combination with other installed signal emission sensors. Of course, after the cleaning robot successfully docks with the base station based on the scan data and the image data, if the cleaning robot determines that the entire process of returning to the base station has not received the signal sent by the base station (for example, Infrared signal), it can be determined that itself and/or other signal emitting sensors (such as infrared sensors) on the base station are faulty, and can send fault information to prompt itself and/or other signal emitting sensors on the base station. Fault.
本申请实施例提供的移动控制方法,获取清洁机器人的激光雷达的扫描数据及所述清洁机器人的图像采集单元采集的图像数据;基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置;所述标识区域包含反光材料;基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,以使所述清洁机器人返回至所述基站位置。本申请实施例的方案,基于清洁机器人的激光雷达的扫描数据及图像采集单元采集的图像数据,确定基站上包含反光材料的标识区域相对于清洁机器人的位置,并基于确定的位置控制清洁机器人向所述基站移动;如此,清洁机器人在需要返回至基站位置时能够检测到基站并自动返回至基站位置,从而能够提升用户体验;同时,清洁机器人自动返回至基站位置的过程无需基站的指引,换句话说,无需在基站上安装信号发射传感器,仅需在基站上设置包含成本低廉的反光材料的标识区域,即可使清洁机器人自动返回至基站位置,因此,能够降低清洁机器人的基站的生产成本;另外,由于反光材料不易损坏,因此,能够降低标识区域的损坏率,从而能够延长清洁机器人的基站的使用寿命,进一步提升用户体验。The movement control method provided in the embodiment of the present application acquires the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit of the cleaning robot; a first position of the robot; and based on the image data, determine a second position of the identification area relative to the cleaning robot; the identification area contains a reflective material; based on the first position and the second position, The cleaning robot is controlled to move toward the base station, so that the cleaning robot returns to the position of the base station. The solution of the embodiment of the present application is based on the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit, determines the position of the identification area containing the reflective material on the base station relative to the cleaning robot, and controls the cleaning robot based on the determined position. The base station moves; in this way, the cleaning robot can detect the base station and automatically return to the base station position when it needs to return to the base station position, so as to improve the user experience; at the same time, the process of the cleaning robot returning to the base station position automatically does not require the guidance of the base station. In other words, it is not necessary to install a signal emitting sensor on the base station, only to set a marking area containing a low-cost reflective material on the base station, so that the cleaning robot can automatically return to the position of the base station. Therefore, the production cost of the base station of the cleaning robot can be reduced. In addition, since the reflective material is not easily damaged, the damage rate of the marking area can be reduced, thereby prolonging the service life of the base station of the cleaning robot and further improving the user experience.
另外,本申请实施例提供的移动控制方法,能够使清洁机器人对不同类型的基站进行识别(不同类型的基站可以设置不同的标识区域)。同时,所述清洁机器人基于预设的路径规划算法和避障算法向所述基站移动,能够精准、流畅、且无碰撞地与基站对接(即成功返回至基站位置)。并且,通过对自身状态的判断,清洁机器人能够检测自身是否在接受基站的维护,从而能够确定基站是否发生故障。In addition, the movement control method provided by the embodiment of the present application can enable the cleaning robot to identify different types of base stations (different types of base stations can be set with different identification areas). At the same time, the cleaning robot moves to the base station based on the preset path planning algorithm and obstacle avoidance algorithm, and can dock with the base station accurately, smoothly, and without collision (ie, return to the base station position successfully). Moreover, by judging its own state, the cleaning robot can detect whether it is receiving the maintenance of the base station, so as to determine whether the base station is faulty.
实际应用时,一些清洁机器人本身安装有激光雷达和图像采集单元,比如扫地机,本申请实施例提供的移动控制方法,无需对清洁机器人的硬件结构进行改造,节省了硬件改造成本,仅通过软件控制即可实现,方案实现简单,可扩展性极强。In practical applications, some cleaning robots themselves are equipped with laser radar and image acquisition units, such as sweepers. The mobile control method provided by the embodiment of the present application does not require modification of the hardware structure of the cleaning robot, which saves the cost of hardware modification. The control can be realized, the solution is simple to realize, and the scalability is extremely strong.
为了实现本申请实施例的方法,本申请实施例还提供了一种移动控制装置,设置在清洁机器人上,如图5所示,该装置包括:In order to realize the method of the embodiment of the present application, the embodiment of the present application further provides a movement control device, which is arranged on the cleaning robot. As shown in FIG. 5 , the device includes:
获取单元501,配置为获取清洁机器人的激光雷达的扫描数据及所述清洁机器人的图像采集单元采集的图像数据;an acquisition unit 501, configured to acquire scanning data of the laser radar of the cleaning robot and image data collected by an image acquisition unit of the cleaning robot;
第一处理单元502,配置为基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置;所述标识区域包含反光材料;The first processing unit 502 is configured to, based on the scan data, determine a first position of the identification area on the base station relative to the cleaning robot; and based on the image data, determine the position of the identification area relative to the cleaning robot. the second position; the marking area includes a reflective material;
第二处理单元503,配置为基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,以使所述清洁机器人返回至所述基站位置。The second processing unit 503 is configured to control the cleaning robot to move toward the base station based on the first position and the second position, so that the cleaning robot returns to the base station position.
其中,在一实施例中,所述扫描数据包含多个扫描点的反光强度信息;所述标识区域包含反光强度不同的至少两种反光材料;所述第一处理单元502,配置为:Wherein, in one embodiment, the scanning data includes reflective intensity information of multiple scanning points; the marking area includes at least two reflective materials with different reflective intensities; the first processing unit 502 is configured to:
基于所述多个扫描点的反光强度信息,从所述多个扫描点中确定多个第一目标扫描点;每个第一目标扫描点的反光强度与自身的下一个扫描点的反光强度之差大于或等于第一阈值;Based on the reflective intensity information of the plurality of scanning points, a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
基于确定的多个第一目标扫描点,确定所述第一位置。The first location is determined based on the determined plurality of first target scan points.
在一实施例中,所述扫描数据还包含多个扫描点与所述清洁机器人的距离信息;所述标识区域的至少两种反光材料不位于同一平面;所述第一处理单元502,配置为:In one embodiment, the scan data further includes distance information between a plurality of scan points and the cleaning robot; at least two reflective materials in the marking area are not located on the same plane; the first processing unit 502 is configured to: :
基于所述多个第一目标扫描点,确定所述标识区域相对于所述清洁机器人的第三位置;determining a third position of the identification area relative to the cleaning robot based on the plurality of first target scanning points;
基于所述多个扫描点与所述清洁机器人的距离信息,从所述多个扫描点中确定多个第二目标扫描点;每个第二目标扫描点与所述清洁机器人的距离和自身的下一个扫描点与所述清洁机器人的距离之差大于或等于第二阈值,且小于或等于第三阈值;Based on the distance information between the plurality of scanning points and the cleaning robot, a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot and its own distance The difference between the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and less than or equal to the third threshold;
基于所述多个第二目标扫描点,确定所述标识区域相对于所述清洁机器人的第四位置;determining a fourth position of the identification area relative to the cleaning robot based on the plurality of second target scanning points;
利用所述第三位置和所述第四位置,确定所述第一位置。Using the third position and the fourth position, the first position is determined.
在一实施例中,所述第一处理单元502,配置为基于所述图像数据,结合预设的所述标识区域的外观特征数据,确定所述第二位置。In an embodiment, the first processing unit 502 is configured to determine the second position based on the image data and in combination with preset appearance feature data of the identification area.
在一实施例中,所述第二处理单元503,配置为:In one embodiment, the second processing unit 503 is configured as:
基于所述第一位置和所述第二位置,结合预设的补偿函数,确定所述基站相对于所述清洁机器人的第五位置;Based on the first position and the second position, combined with a preset compensation function, determine a fifth position of the base station relative to the cleaning robot;
利用所述第五位置控制所述清洁机器人向所述基站移动;其中,Using the fifth position to control the cleaning robot to move toward the base station; wherein,
所述补偿函数是利用所述标识区域的几何中心与所述基站的几何中心的相对位置关系生成的。The compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
在一实施例中,所述第二处理单元503控制所述清洁机器人向所述基站移动时,所述获取单元501,配置为周期性地获取所述激光雷达的扫描数据及所述图像采集单元采集的图像数据;In an embodiment, when the second processing unit 503 controls the cleaning robot to move to the base station, the acquisition unit 501 is configured to periodically acquire the scanning data of the lidar and the image acquisition unit. collected image data;
所述第一处理单元502,配置为基于获取的扫描数据,更新所述第一位置;并基于获取的图像数据,更新所述第二位置;The first processing unit 502 is configured to update the first position based on the acquired scan data; and update the second position based on the acquired image data;
所述第二处理单元503,配置为基于更新后的第一位置和第二位置,控制所述清洁机器人向所述基站移动。The second processing unit 503 is configured to control the cleaning robot to move toward the base station based on the updated first position and the second position.
在一实施例中,该装置还包括:In one embodiment, the apparatus further includes:
检测单元,配置为确定所述清洁机器人与所述基站成功对接后,检测所述清洁机器人是否处于充电状态;a detection unit, configured to detect whether the cleaning robot is in a charging state after determining that the cleaning robot is successfully connected to the base station;
发送单元,配置为在所述检测单元检测到所述清洁机器人未处于充电状态时,确定所述基站故障;并发出故障信息;所述故障信息用于提示所述基站出现故障。A sending unit, configured to determine that the base station is faulty when the detection unit detects that the cleaning robot is not in a charging state; and send fault information; the fault information is used to prompt that the base station is faulty.
实际应用时,所述获取单元501、所述第一处理单元502、所述第二处理单元503和所述检测单元可由移动控制装置中的处理器实现;所述发送单元可由移动控制装置中的处理器结合通信接口实现。In practical application, the acquiring unit 501, the first processing unit 502, the second processing unit 503 and the detection unit may be implemented by a processor in the mobile control device; the sending unit may be implemented by a processor in the mobile control device. The processor is implemented in conjunction with a communication interface.
需要说明的是:上述实施例提供的移动控制装置在控制清洁机器人移动时,仅以上述各程序模块的划分进行举例说明,实际应用时,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的移动控制装置与移动控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the movement control device provided in the above embodiment controls the movement of the cleaning robot, only the division of the above program modules is used as an example for illustration. In practical application, the above processing can be allocated to different program modules as required. , that is, dividing the internal structure of the device into different program modules to complete all or part of the above-described processing. In addition, the mobility control device and the mobility control method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
基于上述程序模块的硬件实现,且为了实现本申请实施例的方法,本申请实施例还提供了一种清洁机器人,如图6所示,该清洁机器人600包括:Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a cleaning robot. As shown in FIG. 6 , the cleaning robot 600 includes:
通信接口601,能够与其他电子设备进行信息交互;A communication interface 601, capable of information interaction with other electronic devices;
处理器602,与所述通信接口601连接,以实现与其他电子设备进行信息交互,配置为运行计算机程序时,执行上述一个或多个技术方案提供的方法;The processor 602 is connected to the communication interface 601 to realize information interaction with other electronic devices, and is configured to execute the method provided by one or more of the above technical solutions when running a computer program;
存储器603,存储能够在所述处理器602上运行的计算机程序。The memory 603 stores computer programs that can run on the processor 602 .
具体地,所述处理器602,配置为:Specifically, the processor 602 is configured as:
获取清洁机器人600的激光雷达的扫描数据及所述清洁机器人600的图像采集单元采集的图像数据;acquiring the scanning data of the laser radar of the cleaning robot 600 and the image data collected by the image acquisition unit of the cleaning robot 600;
基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人600的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人600的第二位置;所述标识区域包含反光材料;Based on the scan data, a first position of the identification area on the base station relative to the cleaning robot 600 is determined; and based on the image data, a second position of the identification area relative to the cleaning robot 600 is determined; the The sign area contains reflective material;
基于所述第一位置和所述第二位置,控制所述清洁机器人600向所述基站移动,以使所述清洁机器人600返回至所述基站位置。Based on the first position and the second position, the cleaning robot 600 is controlled to move toward the base station, so that the cleaning robot 600 returns to the base station position.
其中,在一实施例中,所述扫描数据包含多个扫描点的反光强度信息;所述标识区域包含反光强度不同的至少两种反光材料;所述处理器602,配置为:Wherein, in one embodiment, the scan data includes reflective intensity information of multiple scanning points; the identification area includes at least two reflective materials with different reflective intensities; the processor 602 is configured to:
基于所述多个扫描点的反光强度信息,从所述多个扫描点中确定多个第一目标扫描点;每个第一目标扫描点的反光强度与自身的下一个扫描点的反光强度之差大于或等于第一阈值;Based on the reflective intensity information of the plurality of scanning points, a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
基于确定的多个第一目标扫描点,确定所述第一位置。The first location is determined based on the determined plurality of first target scan points.
在一实施例中,所述扫描数据还包含多个扫描点与所述清洁机器人600的距离信息;所述标识区域的至少两种反光材料不位于同一平面;所述处理器602,配置为:In one embodiment, the scan data further includes distance information between a plurality of scan points and the cleaning robot 600; at least two reflective materials in the marking area are not located on the same plane; the processor 602 is configured to:
基于所述多个第一目标扫描点,确定所述标识区域相对于所述清洁机器人600的第三位置;determining a third position of the identification area relative to the cleaning robot 600 based on the plurality of first target scanning points;
基于所述多个扫描点与所述清洁机器人600的距离信息,从所述多个扫描点中确定多个第二目标扫描点;每个第二目标扫描点与所述清洁机器人600的距离和自身的下一个扫描点与所述清洁机器人600的距离之差大于或等于第二阈值,且小于或等于第三阈值;Based on the distance information between the plurality of scanning points and the cleaning robot 600, a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot 600 sums The difference between the distance between its next scanning point and the cleaning robot 600 is greater than or equal to the second threshold, and less than or equal to the third threshold;
基于所述多个第二目标扫描点,确定所述标识区域相对于所述清洁机器人600的第四位置;determining a fourth position of the identification area relative to the cleaning robot 600 based on the plurality of second target scanning points;
利用所述第三位置和所述第四位置,确定所述第一位置。Using the third position and the fourth position, the first position is determined.
在一实施例中,所述处理器602,配置为基于所述图像数据,结合预设的所述标识区域的外观特征数据,确定所述第二位置。In an embodiment, the processor 602 is configured to determine the second position based on the image data and in combination with preset appearance feature data of the identification area.
在一实施例中,所述处理器602,配置为:In one embodiment, the processor 602 is configured to:
基于所述第一位置和所述第二位置,结合预设的补偿函数,确定所述基站相对于所述清洁机器人600的第五位置;Based on the first position and the second position, combined with a preset compensation function, determine a fifth position of the base station relative to the cleaning robot 600;
利用所述第五位置控制所述清洁机器人600向所述基站移动;其中,Using the fifth position to control the cleaning robot 600 to move toward the base station; wherein,
所述补偿函数是利用所述标识区域的几何中心与所述基站的几何中心的相对位置关系生成的。The compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
在一实施例中,所述处理器602,配置为:In one embodiment, the processor 602 is configured to:
周期性地获取所述激光雷达的扫描数据及所述图像采集单元采集的图像数据;Periodically acquire the scanning data of the lidar and the image data collected by the image acquisition unit;
基于获取的扫描数据,更新所述第一位置;并基于获取的图像数据,更新所述第二位置;updating the first position based on the acquired scan data; and updating the second position based on the acquired image data;
基于更新后的第一位置和第二位置,控制所述清洁机器人600向所述基站移动。Based on the updated first and second positions, the cleaning robot 600 is controlled to move toward the base station.
在一实施例中,所述处理器602,配置为:In one embodiment, the processor 602 is configured to:
确定所述清洁机器人600与所述基站成功对接后,检测所述清洁机器人600是否处于充电状态;After determining that the cleaning robot 600 is successfully connected with the base station, detect whether the cleaning robot 600 is in a charging state;
检测到所述清洁机器人600未处于充电状态时,确定所述基站故障;并通过所述通信接口601发出故障信息;所述故障信息用于提示所述基站出现故障。When it is detected that the cleaning robot 600 is not in a charging state, it is determined that the base station is faulty; and fault information is sent through the communication interface 601; the fault information is used to prompt that the base station is faulty.
需要说明的是:所述处理器602具体执行上述操作的过程详见方法实施例,这里不再赘述。It should be noted that: the specific process for the processor 602 to perform the above operations can be found in the method embodiments, and details are not repeated here.
当然,实际应用时,清洁机器人600中的各个组件通过总线系统604耦合在一起。可理解,总线系统604用于实现这些组件之间的连接通信。总线系统604除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统604。Of course, in practical application, the various components in the cleaning robot 600 are coupled together through the bus system 604 . It will be appreciated that the bus system 604 is used to implement connection communication between these components. In addition to the data bus, the bus system 604 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 604 in FIG. 6 .
本申请实施例中的存储器603用于存储各种类型的数据以支持清洁机器人600的操作。这些数据的示例包括:用于在清洁机器人600上操作的任何计算机程序。The memory 603 in the embodiment of the present application is used to store various types of data to support the operation of the cleaning robot 600 . Examples of such data include: any computer program used to operate on cleaning robot 600 .
上述本申请实施例揭示的方法可以应用于处理器602中,或者由处理器602实现。处理器602可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器602中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器602可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器602可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器603,处理器602读取存储器603中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the above embodiments of the present application may be applied to the processor 602 or implemented by the processor 602 . The processor 602 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method may be completed by an integrated logic circuit of hardware in the processor 602 or an instruction in the form of software. The above-mentioned processor 602 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 602 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 603, and the processor 602 reads the information in the memory 603, and completes the steps of the foregoing method in combination with its hardware.
在示例性实施例中,清洁机器人600可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the cleaning robot 600 may be implemented by one or more Application Specific Integrated Circuit (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD) , Complex Programmable Logic Device), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic Element implementation for performing the aforementioned method.
可以理解,本申请实施例的存储器603可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其他适合类型的存储器。It can be understood that the memory 603 in this embodiment of the present application may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-only memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be disk memory or tape memory. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) ). The memories described in the embodiments of the present application are intended to include, but not be limited to, these and any other suitable types of memories.
在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的存储器603,上述计算机程序可由清洁机器人600的处理器602执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, an embodiment of the present application further provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, for example, including a memory 603 for storing a computer program, and the above-mentioned computer program can be processed by the cleaning robot 600 The device 602 is executed to complete the steps of the aforementioned method. The computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.
需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present application may be combined arbitrarily unless there is a conflict.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application.

Claims (10)

  1. 一种移动控制方法,包括:A movement control method, comprising:
    获取清洁机器人的激光雷达的扫描数据及所述清洁机器人的图像采集单元采集的图像数据;acquiring the scanning data of the laser radar of the cleaning robot and the image data collected by the image acquisition unit of the cleaning robot;
    基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置;所述标识区域包含反光材料;Based on the scan data, a first position of the identification area on the base station relative to the cleaning robot is determined; and based on the image data, a second position of the identification area relative to the cleaning robot is determined; the identification area is contains reflective material;
    基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,以使所述清洁机器人返回至所述基站位置。Based on the first position and the second position, the cleaning robot is controlled to move toward the base station, so that the cleaning robot returns to the base station position.
  2. 根据权利要求1所述的方法,其中,所述扫描数据包含多个扫描点的反光强度信息;所述标识区域包含反光强度不同的至少两种反光材料;所述基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置,包括:The method according to claim 1, wherein the scanning data includes reflective intensity information of a plurality of scanning points; the identification area includes at least two kinds of reflective materials with different reflective intensities; the base station is determined based on the scanning data The first position of the identification area on the cleaning robot relative to the cleaning robot includes:
    基于所述多个扫描点的反光强度信息,从所述多个扫描点中确定多个第一目标扫描点;每个第一目标扫描点的反光强度与自身的下一个扫描点的反光强度之差大于或等于第一阈值;Based on the reflective intensity information of the plurality of scanning points, a plurality of first target scanning points are determined from the plurality of scanning points; the reflective intensity of each first target scanning point and the reflective intensity of its own next scanning point are combined The difference is greater than or equal to the first threshold;
    基于确定的多个第一目标扫描点,确定所述第一位置。The first location is determined based on the determined plurality of first target scan points.
  3. 根据权利要求2所述的方法,其中,所述扫描数据还包含多个扫描点与所述清洁机器人的距离信息;所述标识区域的至少两种反光材料不位于同一平面;所述基于确定的多个第一目标扫描点,确定所述第一位置,包括:The method according to claim 2, wherein the scanning data further includes distance information between a plurality of scanning points and the cleaning robot; at least two reflective materials in the identification area are not located on the same plane; A plurality of first target scanning points to determine the first position, including:
    基于所述多个第一目标扫描点,确定所述标识区域相对于所述清洁机器人的第三位置;determining a third position of the identification area relative to the cleaning robot based on the plurality of first target scanning points;
    基于所述多个扫描点与所述清洁机器人的距离信息,从所述多个扫描点中确定多个第二目标扫描点;每个第二目标扫描点与所述清洁机器人的距离和自身的下一个扫描点与所述清洁机器人的距离之差大于或等于第二阈值,且小于或等于第三阈值;Based on the distance information between the plurality of scanning points and the cleaning robot, a plurality of second target scanning points are determined from the plurality of scanning points; the distance between each second target scanning point and the cleaning robot and its own distance The difference between the distance between the next scanning point and the cleaning robot is greater than or equal to the second threshold, and less than or equal to the third threshold;
    基于所述多个第二目标扫描点,确定所述标识区域相对于所述清洁机器人的第四位置;determining a fourth position of the identification area relative to the cleaning robot based on the plurality of second target scanning points;
    利用所述第三位置和所述第四位置,确定所述第一位置。Using the third position and the fourth position, the first position is determined.
  4. 根据权利要求1所述的方法,其中,所述基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置,包括:The method of claim 1, wherein the determining, based on the image data, the second position of the identified area relative to the cleaning robot comprises:
    基于所述图像数据,结合预设的所述标识区域的外观特征数据,确定所述第二位置。The second position is determined based on the image data and in combination with preset appearance feature data of the identification area.
  5. 根据权利要求1至4任一项所述的方法,其中,所述基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,包括:The method according to any one of claims 1 to 4, wherein the controlling the cleaning robot to move to the base station based on the first position and the second position comprises:
    基于所述第一位置和所述第二位置,结合预设的补偿函数,确定所述基站相对于所述清洁机器人的第五位置;Based on the first position and the second position, combined with a preset compensation function, determine a fifth position of the base station relative to the cleaning robot;
    利用所述第五位置控制所述清洁机器人向所述基站移动;其中,Using the fifth position to control the cleaning robot to move toward the base station; wherein,
    所述补偿函数是利用所述标识区域的几何中心与所述基站的几何中心的相对位置关系生成的。The compensation function is generated by using the relative positional relationship between the geometric center of the identification area and the geometric center of the base station.
  6. 根据权利要求1至4任一项所述的方法,其中,控制所述清洁机器人向所述基站移动时,所述方法还包括:The method according to any one of claims 1 to 4, wherein when controlling the cleaning robot to move toward the base station, the method further comprises:
    周期性地获取所述激光雷达的扫描数据及所述图像采集单元采集的图像数据;Periodically acquire the scanning data of the lidar and the image data collected by the image acquisition unit;
    基于获取的扫描数据,更新所述第一位置;并基于获取的图像数据,更新所述第二位置;updating the first position based on the acquired scan data; and updating the second position based on the acquired image data;
    基于更新后的第一位置和第二位置,控制所述清洁机器人向所述基站移动。Based on the updated first position and the second position, the cleaning robot is controlled to move toward the base station.
  7. 根据权利要求1至4任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    确定所述清洁机器人与所述基站成功对接后,检测所述清洁机器人是否处于充电状态;After determining that the cleaning robot is successfully connected with the base station, detect whether the cleaning robot is in a charging state;
    检测到所述清洁机器人未处于充电状态时,确定所述基站故障;并发出故障信息;所述故障信息用于提示所述基站出现故障。When it is detected that the cleaning robot is not in the charging state, it is determined that the base station is faulty; and fault information is sent; the fault information is used to prompt that the base station is faulty.
  8. 一种移动控制装置,包括:A mobile control device, comprising:
    获取单元,配置为获取清洁机器人的激光雷达的扫描数据及所述清洁机器人的图像采集单元采集的图像数据;an acquisition unit, configured to acquire scanning data of the laser radar of the cleaning robot and image data collected by the image acquisition unit of the cleaning robot;
    第一处理单元,配置为基于所述扫描数据,确定基站上的标识区域相对于所述清洁机器人的第一位置;并基于所述图像数据,确定所述标识区域相对于所述清洁机器人的第二位置;所述标识区域包含反光材料;The first processing unit is configured to determine the first position of the identification area on the base station relative to the cleaning robot based on the scan data; and determine the first position of the identification area relative to the cleaning robot based on the image data. two positions; the marking area contains reflective material;
    第二处理单元,配置为基于所述第一位置和所述第二位置,控制所述清洁机器人向所述基站移动,以使所述清洁机器人返回至所述基站位置。The second processing unit is configured to control the cleaning robot to move toward the base station based on the first position and the second position, so that the cleaning robot returns to the base station position.
  9. 一种清洁机器人,包括:处理器和配置为存储能够在处理器上运行的计算机程序的存储器,A cleaning robot comprising: a processor and a memory configured to store a computer program executable on the processor,
    其中,所述处理器配置为运行所述计算机程序时,执行权利要求1至7任一项所述方法的步骤。Wherein, the processor is configured to execute the steps of the method of any one of claims 1 to 7 when running the computer program.
  10. 一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至7任一项所述方法的步骤。A storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
PCT/CN2022/079029 2021-04-09 2022-03-03 Method and apparatus for controlling movement, cleaning robot, and storage medium WO2022213749A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110384482.5 2021-04-09
CN202110384482.5A CN115191884A (en) 2021-04-09 2021-04-09 Movement control method and device, cleaning robot and storage medium

Publications (1)

Publication Number Publication Date
WO2022213749A1 true WO2022213749A1 (en) 2022-10-13

Family

ID=83545138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/079029 WO2022213749A1 (en) 2021-04-09 2022-03-03 Method and apparatus for controlling movement, cleaning robot, and storage medium

Country Status (2)

Country Link
CN (1) CN115191884A (en)
WO (1) WO2022213749A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104848851A (en) * 2015-05-29 2015-08-19 山东鲁能智能技术有限公司 Transformer substation patrol robot based on multi-sensor data fusion picture composition and method thereof
CN207718228U (en) * 2018-02-02 2018-08-10 福建(泉州)哈工大工程技术研究院 A kind of reliable indoor omni-directional mobile robots recharging system
CN110000784A (en) * 2019-04-09 2019-07-12 深圳市远弗科技有限公司 A kind of robot recharges positioning navigation method, system, equipment and storage medium
CN110221617A (en) * 2019-07-16 2019-09-10 昆山市工研院智能制造技术有限公司 Robot cradle, robot recharge system and automatic recharging method automatically
US20200019169A1 (en) * 2018-07-10 2020-01-16 Neato Robotics, Inc. Automatic Recognition of Multiple Floorplans by Cleaning Robot

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108065866A (en) * 2017-11-07 2018-05-25 郑州谦贤科技有限公司 A kind of automatic pointing sweeping machine and method
CN110946513B (en) * 2018-09-27 2021-08-06 广东美的生活电器制造有限公司 Control method and device of sweeping robot
CN110967703A (en) * 2018-09-27 2020-04-07 广东美的生活电器制造有限公司 Indoor navigation method and indoor navigation device using laser radar and camera
CN109674402B (en) * 2019-01-04 2021-09-07 云鲸智能科技(东莞)有限公司 Information processing method and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104848851A (en) * 2015-05-29 2015-08-19 山东鲁能智能技术有限公司 Transformer substation patrol robot based on multi-sensor data fusion picture composition and method thereof
CN207718228U (en) * 2018-02-02 2018-08-10 福建(泉州)哈工大工程技术研究院 A kind of reliable indoor omni-directional mobile robots recharging system
US20200019169A1 (en) * 2018-07-10 2020-01-16 Neato Robotics, Inc. Automatic Recognition of Multiple Floorplans by Cleaning Robot
CN110000784A (en) * 2019-04-09 2019-07-12 深圳市远弗科技有限公司 A kind of robot recharges positioning navigation method, system, equipment and storage medium
CN110221617A (en) * 2019-07-16 2019-09-10 昆山市工研院智能制造技术有限公司 Robot cradle, robot recharge system and automatic recharging method automatically

Also Published As

Publication number Publication date
CN115191884A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
EP3349041B1 (en) Object detection system
WO2021189468A1 (en) Attitude correction method, apparatus and system for laser radar
KR102326077B1 (en) Method of identifying movable obstacle in 3-dimensional space and robot implementing thereof
CN109490825B (en) Positioning navigation method, device, equipment, system and storage medium
JP2018526748A (en) System having an autonomous mobile robot and an autonomous mobile robot base station, an autonomous mobile robot base station, a method for an autonomous mobile robot, and an automatic docking method for an autonomous mobile robot to a base station
CN107742304B (en) Method and device for determining movement track, mobile robot and storage medium
KR20230137395A (en) 3D map construction method and device
CN111258320A (en) Robot obstacle avoidance method and device, robot and readable storage medium
CN110850859B (en) Robot and obstacle avoidance method and obstacle avoidance system thereof
JP6649743B2 (en) Matching evaluation device and matching evaluation method
CN110471086B (en) Radar fault detection system and method
US20240042621A1 (en) Autonomous working system, method and computer readable recording medium
US20190293423A1 (en) Movable marking system, controlling method for movable marking apparatus, and computer readable recording medium
US10902610B2 (en) Moving object controller, landmark, and moving object control method
US11460855B1 (en) Systems and methods for sensor calibration
CN113768419B (en) Method and device for determining sweeping direction of sweeper and sweeper
EP4033325A1 (en) Robot movement limiting frame working starting point determining method and movement control method
WO2022213749A1 (en) Method and apparatus for controlling movement, cleaning robot, and storage medium
CN113741447B (en) Robot charging pile alignment method and device, terminal equipment and storage medium
CN115587603A (en) Robot and method and system for identifying workstation thereof, storage medium and workstation
CN114661048A (en) Mobile robot docking method and device and electronic equipment
Barai et al. Path following of autonomous mobile robot using passive rfid tags
CN116400371B (en) Indoor reflective transparent object position identification method and system based on three-dimensional point cloud
CN115542890A (en) Robot, docking charging seat method thereof, control device and storage medium
KR102442448B1 (en) Coordinates recognition apparatus of multiple automatic guided vehicle and method thereof

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

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

Country of ref document: EP

Kind code of ref document: A1