Smart cleaning robot
By using technologies such as stereo cameras, optical sensors, and laser segmentation methods on household cleaning robots to generate 3D data for navigation and obstacle avoidance, it solves the problems of poor navigation and limited mapping capabilities in the existing technology, and realizes intelligent autonomous cleaning. and even coverage.
Patent Information
- Application Number
- CN201880089768.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-10-29
- Filing Date
- 2018-12-19
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2038-12-19
AI Technical Summary
Existing home cleaning robots have limited capabilities in navigation and mapping, and cannot effectively detect obstacles on the ground, resulting in unsmooth navigation, with some areas being covered multiple times and other areas being missed.
Stereo cameras and multiple optical sensors using static projected light patterns, combined with laser segmentation methods and inertial measurement units, generate 3D data for mapping, positioning and obstacle avoidance, and achieve autonomous docking and calibration through base stations and infrared illumination patterns.
Realizing intelligent autonomous mapping and cleaning of intelligent cleaning robots in multiple rooms, it can effectively avoid obstacles, improve navigation accuracy and coverage efficiency, and ensure uniform cleaning of all areas.
Smart Images

Figure CN112004645B_ABST
Abstract
Description
[0001] Related Applications
[0002] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 607,775 filed on December 19, 2017, U.S. Provisional Patent Application No. 62 / 620,898 filed on January 23, 2018, U.S. Provisional Patent Application No. 62 / 702,656 filed on July 24, 2018, and U.S. Provisional Patent Application No. 62 / 752,052 filed on October 29, 2018. Technical Field
[0003] The presently disclosed and claimed embodiments relate to a mobile wheeled robotic vehicle designed to navigate an indoor environment, and in particular, to a vehicle that functions as an intelligent cleaning robot, and a control method thereof. Background Art
[0004] Examples of mobile cleaning robots and more specifically robots used in the home are well known in the art. Current robot models are able to traverse a room to perform vacuuming operations on carpeted surfaces or mopping operations on hard surfaces. Simple embodiments of home cleaning robots employ collision sensors and / or proximity sensors for obstacle avoidance. More advanced embodiments employ a single camera or other optical sensor for mapping the environment and determining the robot's position within the environment, typically utilizing visual simultaneous localization and mapping (SLAM) methods.
[0005] Even more advanced embodiments of home cleaning robots have several problems. One problem is that they cannot detect obstacles on the ground in order to perform obstacle avoidance without running into the obstacle, such as by bumping into the obstacle and activating a collision sensor on the device or utilizing a proximity sensor. Therefore, the navigation capabilities and mapping capabilities of current state of the art home cleaning robots are extremely limited. Given a zone, a typical home cleaning robot will traverse the zone in such a way that some areas of the zone will be covered multiple times, while other areas of the zone will be completely missed. Summary of the invention
[0006] Described herein is an intelligent autonomous cleaning robot for home use. The robot autonomously maps and cleans multiple rooms in a house in an intelligent manner. The described embodiments include hardware and software for sensing the environment, planning actions, and executing actions.
[0007] The intelligent cleaning robot uses a stereo camera with a static projected light pattern to generate 3D data for mapping, positioning, and obstacle avoidance. The system also uses optical sensors at various locations around the robot for additional sensing for mapping, positioning, and obstacle avoidance. One embodiment of the robot uses laser segmentation paired with a vertically positioned camera facing backward at the front corner of the robot (similar to the side mirrors in a car) to obtain additional 3D data for mapping, positioning, and obstacle avoidance. Another embodiment of the robot uses a downward-facing camera housed in the robot that tracks features on the ground, providing visual mileage measurements from which motion estimates independent of wheel slip can be derived.
[0008] The forward-facing stereo camera uses a static projected light pattern that is pulsed and can be alternating with a uniform light pattern. The forward-facing stereo camera can also track features to perform visual odometry and provide motion estimates independent of wheel slip. The system also uses multiple time-of-flight (ToF) laser range sensors oriented in various directions for cliff detection, wall following, obstacle detection, and general perception.
[0009] The base station for the smart cleaning robot uses beacons to allow the robot to identify the support and presence of the base. Infrared (IR) illumination patterns on the base allow the robot to identify the orientation and position of the base, which allows autonomous docking. Orientation and position are also used for mapping and positioning. The robot can also use the pattern on the base and / or the known physical shape of the base to calibrate the stereo camera. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 is a block diagram of a system layout of the embodiments described herein.
[0011] Figure 2 Shows miscellaneous functions performed by the navigation module.
[0012] Figure 3 Shown is a process for creating a point cloud.
[0013] Figure 4 Shows the behavior flow of the navigation module.
[0014] FIG. 5 shows a stereo module housing a stereo camera and a pattern projector.
[0015] FIG. 6 shows two possible form factors for an intelligent cleaning robot.
[0016] FIG. 7 shows the field of view of the side mirror cameras, front stereo camera, and range sensor.
[0017] FIG. 8 shows a docking station.
[0018] FIG. 9 shows a view of an abdominal camera.
[0019] Fig.10 is a flow chart of an imaging pipeline of an embodiment described herein.
[0020] Fig.11 An autonomous pipeline for performing obstacle detection and movement is shown.
[0021] Fig.12 is a block diagram of the local pose estimator.
[0022] Fig.13 is a data flow diagram showing the generation of a global pose estimate.
[0023] Fig.14 is a flow chart showing the global and regional mapping process.
[0024] Fig.15 is a block diagram illustrating the local mapping process.
[0025] Fig.16 Shows a map composed of multiple sub-maps or regions. DETAILED DESCRIPTION
[0026] As used herein, the term Microcontroller It may mean a dedicated hardware device, a circuit, an ASIC, an FPGA, a single or distributed microprocessor running software, or any other means known in the art. It should also be understood that the microcontroller will include connections to sensors, active light sources, motor controllers, and audio / visual output devices for receiving data, sending control signals, and providing user feedback. The present invention is not intended to be limited to one method of implementing the functions of the controller.
[0027] As used herein, the term camera and sensor Can be used interchangeably.
[0028] A robot suitable for household or commercial floor cleaning functions is described. The robot body may include a chassis having a longitudinal axis in a front / rear direction and a transverse axis oriented perpendicular to the longitudinal axis. From a top view, the body may be circular, square, or rectangular in shape, or a combination of the two. For example, the front of the robot may be square, while the rear of the robot is circular. Preferably, the profile of the robot will be as low as possible to allow it to navigate under objects such as furniture. The robot will be equipped with a power system for moving the robot generally along the longitudinal axis. The power system may include, for example, motor driven wheels mounted on opposite sides of the robot and casters supporting the front of the robot. In an alternative embodiment, the power system may include pedals (also referred to herein as wheels) mounted on opposite sides of the robot. The robot may be equipped with a vacuum system and one or more rotating brushes. The brushes may be oriented so as to rotate along an axis parallel to the transverse axis, or may be oriented so as to rotate around an axis orthogonal to both the longitudinal axis and the transverse axis. The robot may be equipped with a series of sensors of various types, as described herein, for performing positioning, object detection, mapping, etc. A microcontroller and memory for storing software and mapping data may be provided. The microcontroller can control the robot according to instructions implemented in software, including, for example, controlling the power system, determining the route, reading and processing data from sensors, etc.
[0029] Figure 1 is a block diagram of the hardware components of the device. The navigation module 100 interfaces with various components including sensors for collecting data about the environment, motor controllers for controlling the navigation and cleaning features of the robot, and audio and / or visual indicators for providing feedback and status information to the user. The navigation module 100 is also responsible for processing all sensor data collected from the robot's sensors and running all control algorithms for the robot, including mapping and localization.
[0030] A stereo camera 104 is positioned at the front of the robot, as shown in FIG5 , and can be used to collect images. The images can be used to capture 3D depth data and video about the environment, and for detecting docking. The robot can also be equipped with a pattern projector 105 to provide additional texture for stereo vision, and a visible or infrared light source 114 for illuminating the scene with diffuse IR light so that it is visible to the imager. The IR light source 114 can also be used for docking detection and for providing general scene illumination.
[0031] In a preferred embodiment, multiple camera types may be used in a stereo configuration. Preferably, the stereo camera 104 is an RGB / IR imager with pixels that are sensitive only to the visible (red, green, and blue specific pixels) spectrum and also pixels that are sensitive only to the infrared (IR specific pixels) spectrum to allow the projection of infrared patterns to be invisible to the naked eye. RGB / IR type cameras allow for simultaneous capture of color (RGB) and IR data. Preferably, the infrared pixels will be used for 3D mapping, while the RGB pixels will be used for visual odometry and other techniques that rely on visible light, such as place recognition, object velocity recognition, object classification, and floor type recognition.
[0032] In an alternative embodiment, the stereo camera 104 may also be monochrome, with pixels sensitive to both visible and IR, but not able to distinguish between the two. Additional filtering may be used to limit the sensitivity to only visible or IR. A color camera with RGB sensitive pixels may also be used. In some cases, the pixels in the color camera may also be sensitive in the transition infrared spectrum.
[0033] In a preferred embodiment, one or more laser modules are used as active stereo illuminators 105 to project a random pattern. Preferably, the one or more lasers (with diffractive optical elements) are oriented so that their combined field of view covers the entire 120° field of view. In a preferred embodiment, two lasers with a 60° field of view are used. The overlapping pattern is shown in Figure 7B , where the field of view of the left camera is shown as 708a and the field of view of the right camera is shown as 708b. The overlapping field of view 708c of the left and right cameras is the area where the 3D depth data is calculated using the stereo vision algorithm. The active stereo illuminator 105 can generate a variety of patterns, including, for example, random dot patterns, cross patterns, multi-line patterns, etc. A coarse random dot pattern projected by multiple laser modules may be preferred because it allows reliable detection of surfaces at oblique angles. Finer dot patterns are not needed because multiple dots can be seen as merged together, thus reducing texture.
[0034] In some embodiments, the robot may also be equipped with visible and / or infrared light sources 114 to illuminate the scene. Preferably, the visible and infrared light sources will be white and IR LEDs, respectively. The visible infrared light source may be housed in close proximity to the stereo camera 104 and active stereo illuminator 105, and may be positioned to point in a generally forward direction.
[0035] There are several strategies for cycling the active stereo illuminator 105 and the visible and infrared illuminators 114. In one embodiment, dot pattern projection and diffuse IR illumination can be alternated. The dot pattern enhances the scene by adding texture to the scene in the form of a random dot pattern. The diffuse IR illuminator illuminates the scene without adding features that move with the robot, which may mislead visual mileage or tracking algorithms. In an alternative embodiment, the diffuse visible / infrared illuminator 114 will be kept in a dark environment or under furniture when needed, for example, and the pattern projector 105 will be cycled on and off in a specific pattern such as an odd or even video frame. In another embodiment, the diffuse visible / infrared illuminator 114 remains on when needed, and the pattern projector 105 is cycled on or off as needed (determined by the software algorithm controlling the pattern projector) instead of cycling in a repeating pattern.
[0036] Preferably, the stereo camera 104 and the pattern projector 105 are mounted in a housing positioned at the front of the robot, as shown in FIG5 . Optionally, the visible / infrared illuminator 114 can be mounted in the same housing. Preferably, the stereo camera 104 can be covered with a lens cover transparent to visible and infrared light, and the active stereo illuminator 105 can be covered with a filter that blocks visible light and allows IR light to pass. It is also important to note that the internal side wall 504 is necessary to block reflections from the active stereo illuminator 105 to the internal cover of the stereo camera 104.
[0037] The cleaning robot can take different form factors, as shown in FIG. 6 . Fig. 6A shows a form factor having a rounded rear portion and a square front portion, while Figure 6B A form factor having a completely circular profile is shown. Note that in the case where the robot has a circular profile, a swept cover, shown as line 502 in Figure 5, can be used to cover the stereo camera 104 and active stereo illuminator 105, and optionally visible and infrared light sources 114. Other form factors are possible.
[0038] FIG7 shows the field of view of the rangefinder 106. Figure 1 As shown in , range finders 106 are distributed around the robot to provide range information for positioning, mapping, and obstacle detection. In a preferred embodiment, the range finder 106 is a time of flight (ToF) sensor. Preferably, the sensor 106 is tilted upward to mitigate sensing biased feedback from the floor. In one embodiment, there are six range sensors distributed around the robot, as described below. In an alternative embodiment, only four range sensors may be used.
[0039] Preferably, two of the range finding sensors 106 form a crossed pair at the front of the robot. These sensors can be mounted in the same housing as the stereo camera 104 and the active stereo illuminator 105, and their field of view is Fig. 7A The rangefinder 106 may provide input for wall following and side mapping, and may also act as a redundant front shock absorber.
[0040] have Fig. 7A An additional pair of rangefinders, whose fields of view are shown as 704a and 704b in FIG. 1 , may be mounted on the sides of the robot in "mirror positions", ie, pointing backwards like the side mirrors of a car.
[0041] have Fig. 7A An optional third pair of rangefinders, shown as fields of view 706a and 706b in the figure, can be provided above the wheels facing the side. These rangefinders can be used for wall or corner following.
[0042] In some embodiments, the robot may also optionally be equipped with a proximity sensor 116 for cliff detection. Fig. 9A The proximity sensor 116 shown in FIG. 1 may be a camera that tracks features on the surface to estimate movement and perform cliff detection in the event that the robot will navigate to the edge of the floor. Preferably, the camera 116 will be positioned within the body of the robot to maximize its height above the ground and will include a lens that provides a 60° to 120° horizontal field of view 1004. Fig. 9B As shown in , the proximity sensor 116 may also be provided with lighting in the form of an LED array 906 positioned to illuminate the floor surface.
[0043] In other embodiments, the robot may also optionally be equipped with a side camera, such as Fig. 6A 7 as reference numeral 610, with the fields of view of the side cameras 610 being shown as 704a and 704b in FIG. 7. The front stereo camera 105 has a sufficiently wide field of view to sense features on the sides, and is sufficient for mapping objects in front of the robot. However, tasks such as chair leg following will have to be done blindly by dead reckoning using existing map data. Preferably, the vertical field of view of the optional side cameras will be tilted downward. The optional side cameras may be used in conjunction with or in place of the side-facing rangefinders.
[0044] Preferably, the robot will be equipped with an Inertial Measurement Unit (IMU) 108 to measure the robot's motion inertially, consisting of at least 6 axes, 3 axes of gyroscopes measuring rotation and 3 axes of accelerometers measuring translation. The IMU 108 provides estimates of 3D acceleration, 3D rotation rate, and 3D magnetic field, as well as altitude. This is used to estimate attitude / orientation, and to estimate wheel slip. Optionally, an additional 3-axis magnetometer 112 can be used to measure the magnetic field. In some embodiments, the magnetometer 112 can be a Hall effect or magnetic stripe sensor and can be used to indicate the presence of a magnetic field. This can be used to identify the presence of a magnetic stripe to separate areas that the robot should not navigate.
[0045] Additional embodiments include wheel encoders 110 to measure the translational velocity of the robot. In a preferred embodiment, each wheel may be equipped with an encoder to maximize accuracy and allow direction measurement by differences in wheel velocity. The wheel encoders 110 may provide signed (usually quadrature) or unsigned tick counts of wheel or wheel motor rotation, which may be used to calculate an estimated translational velocity and to determine wheel slip.
[0046] Additional sensor data and data generated by lower level controllers are used as input to the navigation module 100 .
[0047] The collision sensors 113 provide data indicating when the robot shock absorbers are depressed, typically due to contact with an object.
[0048] The cliff sensor 116 provides data indicating vertical drops that may be dangerous to the robot. The cliff sensor 116 may be a time of flight (TOF) or proximity sensor. The cliff detection event is used as an input to the robot's map so the robot does not repeatedly get near a cliff.
[0049] Wheel drop sensors 118 provide data indicating whether a wheel (typically on a spring-loaded suspension) has moved away from the body of the robot, typically indicating that the wheel is no longer in contact with the ground.
[0050] The robot button state 120 indicates what button the user pressed on the robot, and can be used to change the state of the robot, such as from idle to cleaning, or from cleaning to docked.
[0051] The battery voltage data 122 provides data on the charge of the robot's battery. This is used to trigger the behavior of returning to the dock when the charge drops below a specified threshold. In addition, the charge can be combined with an estimate of the charge required to traverse the path back to the dock.
[0052] The current data 124 provides information about the current used by the suction, brush, and side brush motors. In some embodiments, the brush current and side brush motor current can be used to estimate the type of floor the robot is on. The current data 124 can also be used to estimate the amount of slip that the wheels may experience by correlating the current with the floor type and slip model.
[0053] The charge presence data 126 indicates whether the robot is on a docking station that provides charging for the battery. This can be used to detect that the robot has successfully docked for charging.
[0054] The IR dock receiver data 128 provides an indication of the presence of a coded IR signal emitted from a dock. This is used to approximate the location of a dock when the robot is navigating to the dock.
[0055] The commanded wheel speed data 130 includes a desired wheel speed command 146 sent by the navigation module to the lower level controller for a desired speed.
[0056] The low level error data 132 indicates whether the low level controller has detected any errors, which may include, but are not limited to, critical battery charge, over current conditions, cliff detection events, and wheel drop events.
[0057] The light ring 134 is part of the robot's user interface and is used to communicate status to the user.
[0058] The cliff escape intention data 136 allows lower-level modules to communicate intended motion for escaping a cliff event to the navigation module 100 .
[0059] Over the air (OTA) data 138 are data packets that may be received wirelessly and may be used to update low-level controller and / or navigation module software.
[0060] The commands from the application 140 allow the user to send commands to the robot, which may include (but are not limited to) cleaning, docking or stopping, as well as setting cleaning aggressiveness, querying the robot's location or querying the robot's map. The commands from the application 140 may be generated by an application running on a mobile device.
[0061] The robot map data and cleaning report data 142 provide a grid map and / or vectors describing the environment that the robot has previously mapped, cleaned, and navigated through. The robot map data and cleaning report data 142 may also contain statistics about how much area was cleaned.
[0062] The robot autonomy state 144 indicates whether the robot is cleaning, exploring, idling, docked, etc.
[0063] The desired vacuum, brush, and side brush mode data 148 allows the navigation module 100 to request a lower level controller to turn on / off or modify the intensity of the vacuum, brush, and / or side brush.
[0064] Requested audio 150 allows the navigation module 100 to request lower level modules to play audio on the robot's speakers.
[0065] Figure 2 Miscellaneous functions performed by the navigation module 100 are shown. A dirty lens detector module 202 uses the image 104 and disparity 105 and compares to the expected image and disparity at dock to try and determine if the lens or lens cover is dirty and needs cleaning. The image is typically taken at dock / undock, but can be an image of any object with repeatable / reliable appearance and / or disparity information.
[0066] The calibration correction module 204 uses the image 104 and the disparity 107 of the docking station to correct for potential errors in the calibration. The module can use the disparity data 107 to determine whether the docking station (of known size) has the expected size sensed from the disparity information. If the error is greater than a threshold, the module can use the image to adjust the principal point of each stereo imager to optimize the correlation of the feature points and match the expected geometry of the docking station. This calibration / adjustment can also occur whenever the docking station is visible regardless of any errors detected.
[0067] Figure 3 The flow of some functionality that the navigation module performs with respect to the images to generate the point cloud 199 is shown. The module uses stereo calibration and computes stereo disparity using two images 104. One image (in this case the left image) is used by a feature detector that identifies features in the image. The point cloud 199 is computed from the disparity data 107 and feature locations 109 detected at 302. It can be assumed that the feature locations 109 should have more accurate / reliable disparity information. The point cloud 199 can be computed by a variety of filters: 1x1, 2x2, 3x3, etc., or X-mode (2-1-2). The uncompensated point cloud is then adjusted at 304 using the pose information from the local pose 190. Alternatively, the point cloud 199 can be compensated during the disparity calculation by modifying the calibration with the pose from the local pose 190.
[0068] Figure 4 The behavior flow of the navigation module 100 is shown.
[0069] The wheel drop sensors 118 and current sensors 124 allow the navigation module 100 to determine if it is stranded or stuck on an object at 402. One way to detect is to observe when the motor current from the wheels becomes extremely high for a longer than normal period of time. Once detected, the navigation module 100 performs an escape motion to move away from the suspected location of the object. In addition, the navigation module 100 can add the location of the object to the robot's map as a potential obstacle. The module uses the location of the object based on the start of the interaction.
[0070] The local path planning module 404 uses the local grid map 193. The regional path planning module 406 uses the regional map 194 and the local map 193. The global path planning module 408 uses the global map 195, the regional map 194 and the local map 193.
[0071] Once the module generates the desired path 413, the motion engine module 414 sends wheel speed commands 146 to attempt to have the robot follow the desired path while using the local scroll map to avoid obstacles.
[0072] The tight space module 416 detects when the robot is in a confined space. This usually happens when the path planner cannot find a free path out of the small area. The module proceeds to use the damper sensor 113 and the range finder 106 to find a way out, interpreting the local map as untrustworthy.
[0073] The perimeter behavior module 418 controls the robot's motion to travel around the perimeter of a zone to map the zone. The behavior tends to be conservative when avoiding obstacles or following walls. This generally helps to minimize interactions with obstacles. The perimeter behavior attempts to complete the loop of the zone. When making a perimeter, the module attempts to make a perimeter only around areas that have not been cleaned previously. The module limits the size of the zone around which it makes a perimeter to a maximum size. The perimeter behavior attempts to identify the type of surface that the robot is on more frequently than when cleaning. The perimeter behavior attempts to use natural barriers (such as walls or doorways) to help define the perimeter it creates.
[0074] The cleaning behavior module 420 controls the robot's motion when cleaning a zone. The robot attempts to clean the entire zone, then explores to find other zones to clean. The cleaning behavior module 420 attempts to create a cleaning pattern consisting of parallel lines that are also parallel / perpendicular to the main direction of the zone (the result is that cleaning paths parallel to the walls are usually seen). If the robot cannot reach an area that it thinks it should be able to clean (usually due to shock absorber impacts, cliff detection, or magnetic strips), the robot marks the area as unreachable and no longer attempts to clean the area.
[0075] The lost behavior module 422 detects when the robot is lost and controls the robot's movement when lost. When lost, the robot will first try to re-establish position / localization in an appropriate location. Next, the robot will execute a path that moves the robot back and forth to try and re-establish position / localization. Finally, the lost behavior module 422 switches the robot to a behavior that attempts to re-explore the environment to try and find a resting place and then returns to the resting place.
[0076] The exploration and navigation module 424 guides the robot to areas that have not yet been cleaned or where a perimeter has been created.
[0077] The return to docking place and docking module 426 monitors the battery voltage 122 to determine whether the robot should return to the docking place based on a simple voltage threshold, or triggers the return to docking place behavior by periodically planning the path back to the docking place and estimating the amount of charge required to return to the docking place. The return to docking place and docking module 426 will plan the path back to the docking place and re-plan if necessary. If the docking place is not in the expected position, then the return to docking place and docking module 426 will control the robot to explore near the expected position in the area to try and obtain the docking position (usually using an IR docking receiver). Regardless of whether it is from the IR docking receiver or the docking place is located at the expected position, the return to the docking place and docking module 426 disconnects the projection laser projector 105 and uses the IR LED lighting 114 to illuminate the docking place, and the docking place preferably has a back-reflective label behind the IR transparent material. The return to the docking place and docking module 426 then uses the features from the label to determine the docking position, which is used to guide the robot back to the docking place. Once the charge is detected to be present 126 and consistent, the robot stops attempting to dock.
[0078] FIG8 shows a docking station for use with a robot. In addition to serving as a resting point for the robot and recharging the batteries within the robot, Fig. 8A The docking station 800 shown in FIG. 1 may also be used to calibrate certain features of the robot. For example, the stereo camera 104 may become misaligned after an event that caused the misalignment. Preferably, the docking station 800 is equipped with one or more references 802, such as AprilTags, such as Figure 8B, or other similar 2D barcodes, LED lights, text / logos, IR retro-reflective patterns, or IR backlit patterns. The preferred embodiment uses a fiducial 802 or pattern to allow the robot to identify the base 800. The fiducial 802 has the advantage of being robust and accurate, however, has the disadvantage of being unsightly. In a preferred embodiment, an IR backlight can be used to illuminate the fiducial 802. This has the advantage of being active and therefore easily detected, providing good information for calibration, and being invisible to humans. In addition, in a preferred embodiment, fiducials 802 of different sizes can be used to allow detection of fiducials 802 located at different distances. Larger targets provide information for tracking when farther away, while smaller targets provide reference points needed for higher accuracy pose estimation at distances closer to the docking station.
[0079] Figure 8C The docking station 800 is shown in exploded form. The docking station 800 can be provided with an IR backlight 804, over which a blocking mask 806 is placed to provide a robot-readable code. A clear plastic sheet 808 can be used to make the surface appear black.
[0080] The docking station 800 shown in FIG8 can be used to perform self-alignment or calibration of the camera 104 in front of the robot. Preferably, the docking station 800 will be equipped with a pattern 802 that is visible to the robot when docked. In some embodiments, the pattern 802 can be an IR backlight pattern, while in other embodiments, the pattern can be an IR reflective pattern. In either case, it is preferred that the pattern is not visible to humans. The pattern can be used to align the two cameras 104 in front of the robot, which may become misaligned in the vertical or horizontal (or both) directions over time.
[0081] In a preferred embodiment, images of the pattern 802 may be taken by either or both cameras 104 during the docking process and used by the robot to calculate the degree of misalignment of the cameras, which may then be compensated for by taking the misalignment into account when processing images from the cameras 104. In a preferred embodiment, the calculations to compensate for the misalignment may be performed while the robot is charging, based on images that would be taken as the robot is approaching the dock.
[0082] In an alternative embodiment, the docking station 800 may be passive and the robot may recognize it via scanning of a sign that appears on the docking station. Complex detection matching algorithms may be used to recognize the sign, and the sign must have prominent features, such as corners. To make the pattern easily recognizable and visible to the robot, the pattern may have a backlight or be retro-reflective. As an added feature, the pattern may be covered with an IR transparent material, making the pattern visible to humans but visible to the robot in the IR spectrum. Algorithms for recognizing the pattern are commonly available.
[0083] Fig.10A process for capturing image data is shown. Image data is captured with a ROI at 1002. Alternate frames are processed differently. For example, even frames may be processed with only IR data at 1004, while odd frames may be processed with all RGB-IR data at 1006. Both data are gamma adjusted at 1008. Histogram 1010 is used to adjust the exposure of the imager (auto exposure). The RGB-IR frame is adjusted at 1012. Corner detectors are used for feature detection and subsequent visual odometry operations. The IR frame is adjusted at 1014 and used to generate a stereo disparity image and point cloud.
[0084] Fig.11 The data pipeline is shown to allow the intelligent cleaning robot to be autonomous, that is, to be able to map its environment, perform self-positioning and perform obstacle detection without external assistance. All algorithms for performing autonomous operations are executed by the onboard processing module. As described above, sensors 104, 106, 108, 110 and 112 provide the input required for autonomous operation to the module. Obstacle detection module 1102, mapping module 1104 and positioning module 1106 provide input to control the robot to path and motion planning module 1107.
[0085] Obstacle detection performed by the obstacle detection module 1102 can be implemented with 2D and 3D data and can be calculated with data collected from the stereo camera 104 or the ToF rangefinder 106. The obstacle detection module 1102 can be used to perform identification of small objects such as ropes, Legos, pet messes, etc. by using colors and shapes. Machine learning can be used to perform identification. The system can then use room markings to change the detection threshold. For example, in the kitchen, small yellow objects can be identified as Cheerios, while small yellow objects in the bedroom can be classified as Legos. The system can adjust "shyness" or "cleaning aggressiveness" based on user settings or can be automatically defined by predefined room types. The cleaning aggressiveness setting will indicate which objects the robot 100 should pick up or leave them in place and avoid them. The cleaning aggressiveness setting can also include other features beyond the use of obstacle classification, such as modifying cleaning modes and strategies. For example, in the kitchen or entryway, the robot 100 can overlap cleaning areas to pick up more dust, while there may be little overlap in other areas to improve efficiency. The aggressiveness setting can also be used to determine, for example, to run the brush roller at a higher speed or to increase the suction power.
[0086] like Fig.11The mapping module 1104 shown in is used to perform mapping of multiple rooms and / or areas and is discussed in more detail below. The positioning module 1106 is capable of self-positioning the robot 100 within a known map provided by the mapping module 1104. The path and motion planning module 1107 plans the path for the robot to follow to provide efficient coverage of the area to be cleaned. In one embodiment, the robot runs "behaviors" (driving straight, avoiding obstacles, rastering, etc.) most of the time. Subsequently, when the robot has no areas that need to be cleaned in its immediate surroundings, the robot plans a path to the uncleaned area and resumes running behaviors to clean the uncleaned parts.
[0087] Fig.12 1206 shows how the local pose is calculated. The module uses the motor current values 124 from the brush and side brushes to estimate the type of floor on which the robot is operating. The module is trained using an SVM, but any number of corresponding / prediction tools may be used. The surface type is also represented as an estimated slip value. When the surface type changes, the module may request special movements at 1206 to better estimate the slip. The module uses the acceleration and rate gyro information from the IMU 108 in combination with current sensing from the drive motor, brush motor, and side brush motor 124 in a trained SVM to estimate when the robot is going through a hard transition (e.g., a transition bar between different floor types). The module is trained using an SVM, but any number of corresponding / prediction tools may be used.
[0088] Fig.12 A block diagram of a local pose estimator 1208 as part of a localization module is shown. The local pose estimator 1208 attempts to find corresponding estimates between input data, which may include, for example, stereo data collected from stereo cameras 104, point range data collected from range finders 106, line data collected from all cameras, and image data. The reconciled data is then used in conjunction with odometry from wheel encoders 110, data from IMU 108, visual odometry collected from cameras 104, and vision-based motion sensing collected from, for example, downward-facing belly cameras 116 to estimate the local pose of the robot. The pose may include, for example, the robot's position within a known map and its current orientation in the environment. The slip-compensated local pose estimate 1210 is then used to derive a global pose estimate.
[0089] Fig.12One or more of the sensors shown may be fused together to compute a pose. Stereo cameras 104 may be used to compute visual odometry, and visual odometry may also be run on a single camera (including downward looking camera 116). 3D data and any 3D point information may be matched to previous 3D data to compute odometry. Odometry may also be computed using wheel encoders 110 and / or IMU 108. All of these sensors may be fused together using an extended Kalman filter (EKF) at 1208 to compute a slip compensated local pose 1210.
[0090] Wheel odometry, which estimates position by measuring how far the drive wheels turn, is a common way to estimate the translation and / or rotational movement of a vehicle, and is particularly effective for differential drive vehicles, to be specific. However, various surfaces can make this measurement an inaccurate representation of the robot's posture (translation and rotation). The inaccuracy is often caused by wheel slip. For example, on a thick plush rug, wheel odometry may indicate a translation of 1.4 m for the robot, while the actual translation is only 1.0 m. Slip can be defined as the difference between the distance the wheel is believed to have traveled based on the odometry reading and the actual distance the robot has traveled. Slip often occurs on carpets or rugs when additional resistance occurs due to casters, the robot body, or wheel interactions, usually from the side when turning in place. Slip may also be caused by the need for the wheel to move the fibers of the carpet or rug. It has been found that slip on carpets or rugs is often directional. That is, the slip ratio changes depending on the direction of travel. In addition, the slip ratio varies between carpet types. The interaction of carpet fibers with wheels varies between carpet types. Independent of linear slip, some carpets have high lateral resistance, while other carpets have much lower lateral resistance.
[0091] The wheel encoders 110 that provide wheel odometry are the primary sensors for measuring linear motion, while the IMU 108 is primarily used for orientation and heading. Slippage results in inaccurate estimates of linear motion when using wheel encoders. Inaccurate estimates of linear motion result in inaccurate pose estimates, and therefore inaccurate maps, positioning, motion control, and obstacle avoidance.
[0092] One way to mitigate the effects of slip is to use other estimates of linear motion in addition to wheel odometry. Scan matching matches the point cloud 199 generated from the stereo data to a previous point cloud, typically with a lag of between 100 ms and 2,000 ms, or to an occupancy map to determine the transformation between the current position and the local map, which can serve as a linear motion estimate. After mapping, localization can provide a position estimate that helps mitigate errors caused by slip. In order to allow compensation for slip, an estimate of how much the robot slips is necessary to correct the motion estimate. Scan matching will work well independent of the surface or carpet type, but requires suitable data to match. This means that the method may not work when the robot is very close to a wall or in a large open featureless space.
[0093] Special motions can also be used at 1206 to measure slip. Rotating the robot to the appropriate position allows for differential measurement of the steering rate from the IMU 108 and the steering rate estimated by the wheels. In addition, by relating slip to heading, comparing the IMU 108 results with the wheel steering estimate produces an estimate of slip as well as the directionality of slip. A rotational slip model with directionality can be transformed into a linear slip model with directionality. The advantage of this method of estimating slip is that it will work relatively quickly in almost any position. However, the method may not be fully effective on all carpet types because some carpet types do not produce observable slip when turning. There may be significant potential changes to convert rotational slip to linear slip.
[0094] Figure-of-8 turns of the robot or turning on one wheel at various speeds is another special motion that can be used to measure slip. Using the same principle as spinning in place, spinning in a figure-of-8 or around one wheel can produce more accurate estimates of slip and directionality on various carpet types. However, this method requires more space to operate and may take more time. Aesthetically, the motion is also more noticeable to humans.
[0095] Because the robot builds a map of the environment, the robot can also build a map of the slip model using any of the previously mentioned methods. As a result, if the robot is in an area that already has a slip estimate, the robot does not need to perform any additional manipulation or matching to account for slip. However, at some point the robot will still need to estimate slip and must locate the slip estimate.
[0096] A scaling factor may be applied to the odometry measurements to correct for slip. The scaling factor may be estimated by one of the methods mentioned above. Alternatively, the scaling factor may be estimated continuously while driving over the surface using, for example, an EKF. A surface estimator sensor may be used to distinguish when the robot is on a new or different surface. As an example, measuring the current used by the brushes to detect when the robot is on a rug of varying thickness or on hardwood would be one method of determining when the robot transitions to a different surface. The method may also use vision or 3D sensors to make this determination. The surface types may be recorded on a map of the environment, and the scaling factor for each surface may be tracked for different surfaces in different parts of the map. The vehicle may continuously reference updated scaling factors from the map.
[0097] Because the robot builds a map of the environment, the robot can also use any of the above methods to build a map of the slip model. As a result, if the robot is in an area that already has a slip estimate, the robot does not need to perform additional manipulation or matching to account for slip. At 1212, the map of the slip model can be mapped to a local map 193, a regional map 194, or a global map 195.
[0098] Fig.13 The process of calculating the global pose by the navigation module is shown. Localization uses the point cloud data 199 and the TOF data 106 in a Monte Carlo localization particle filter 1302 using the global map 195. Localization 1302 can operate in multiple maps (usually multiple zone maps) at the same time to have more consistent map data. When operating on surfaces with more slip and variability, localization can also use slip-compensated local poses 1210 to increase the aggressiveness of the perturbation and solution search space. In addition, localization 1302 can use 3D stereo data from the stereo camera 104. By Fig.12 The slip-compensated local pose estimate 1210 derived by the local pose estimator shown in FIG. 1 is used as input to the EKF 1304. The results of the EKF 1304 are fed back to the localization process 1302 and also produce a global pose estimate 192.
[0099] In the case of using the MCL particle filter, the algorithm also has some features similar to outlier suppression, where after localization / tracking is established, measurements that are relatively different from a set threshold are not used in the scoring process. Another feature of the MCL process is that when tracking is lost, the EKF position of the robot (which is completely driven by the local pose once tracking is lost in MCL) brings a guess pose, which is used by the particle filter to establish tracking and localization again. Once the score from the best particle drops below a defined threshold, tracking is determined to be lost. Once the iterations for initialization are completed and the best score is above a defined threshold, tracking is determined to be established. Outlier suppression is usually not used during initialization.
[0100] Fig.14 Summarizes the mapping process for regional and global mapping, both of which are aspects of SLAM. The module accumulates global postures as tracks. When the track length exceeds a threshold, the module takes a snapshot of a local map 190. If the robot is executing the perimeter of the area, the module first checks the local snapshot to determine whether the operating space / area is small (below the threshold of size / area). If the space / area is small, the snapshot of the local map is immediately converted into a zone map using the global posture as a reference. If the area / space is not small, the module accumulates snapshots of the local map, thereby creating a graph representing the trajectory and local map snapshots of the robot. If the behavior indicates that the initial perimeter is completed, the module attempts to close the loop by performing scan matching between snapshots and other local map snapshots accumulated. If successful, the graph is updated and optimized with additional scan matching constraints. The resulting graph defines the optimized position of the local map, which balances the global posture trajectory information and the scan matching constraints. The module uses the optimized position to combine the local map into a single regional map 194. The regional map 194 is then added to the global map 195 and added to the global graph representing the regional map, its position and constraints. The global map 195 is reconstructed by combining the regional maps 194 using the updated global graph information.
[0101] If the robot is not in the perimeter map of the execution space, the module attempts to align the snapshot of the local map 193 to the current regional map 194. If the alignment is successful, the module updates the current regional map 194. If the update is in a previously visited zone and the robot has recently entered that zone, an additional constraint is created to the global graph using the alignment between the zone that was just recently exited and the zone that the module successfully aligned and updated. The global graph is then updated and the global map 195 is rebuilt by combining the regional maps 194 using the updated global graph information.
[0102] In some embodiments, the module may also match an entire region to a previous region to create constraints for the global graph.
[0103] In other embodiments, the module also calculates limits on the size of the area explored during the perimeter mapping phase. The behavior uses the limits to ensure that the robot perimeter remains within a predetermined size.
[0104] In still other embodiments, the module further calculates a combined exploration limit that combines the size limit and the area already cleaned so that the behavior explores the perimeter of the area while minimizing overlap with the area already cleaned.
[0105] Fig.15The mapping process is shown. The pose is first estimated using wheel odometry, IMU data, and visual odometry. A series of relative pose estimates (with some basic pose) and associated weighting / confidence levels represent the initial pose graph. The loop closures created, typically by map matching, are constraints on the pose graph. Constraints can also be, for example, feature point locations, unary constraints, calibration constraints, etc. The optimization process balances all constraints on the pose graph. The 3D data associated with each pose is overlaid on a grid, quadtree, octree, or voxel grid. The cells of the grid can be confidence, binary occupancy, probability function, or representative point.
[0106] The point cloud 199 is segmented into points 199a below a height threshold and points 199b above a height threshold. The low altitude point cloud 199a is used in conjunction with the TOF sensor data 106 in the ray tracer 1502, which updates the free and occupied cells in the occupancy map (at least one rolling map and one local map). The high altitude point cloud is used by the ray tracer 1504 to update the occupancy map for the high altitude local map 1506. Both ray tracing modules model the noise of the sensors when updating the occupancy map to account for the uncertainty from the different sensors. The collision sensor 113, cliff sensor 116, and Hall effect sensor 116 (detecting magnetic stripe boundaries) are also used to update the local rolling map 1508 and the low altitude local map 1510 based on the per-sensor model of estimated uncertainty.
[0107] The two height maps may be combined into a single local map 1512 representing both sets of information.
[0108] In a preferred embodiment, if the robot is trying to navigate to an area, but cannot reach it, then the area is marked as unreachable in the robot's map so the robot does not attempt to repeatedly try and clean areas it cannot reach.
[0109] like Fig.16 The example of a global map shown in can be decomposed into several regional maps 194a...194n. Preferably, each regional map 194a...194n globally references the same coordinate system so as to reference different zone maps from each other. Global path planning plans the robot's path between zones 194a...194n, while regional path planning plans the robot's path within each regional map 194a...194n. Local path planning plans the robot's path in each zone near the robot. Global planning can be achieved by combining all zone maps into a single global map 195.
[0110] In some embodiments, the map may contain additional information at different resolution levels, such as information about occupancy confidence, per-sensor occupancy confidence, virtual walls, zone markings, clean and / or covered status, dirt status, floor type, risk of getting stuck, and room labels. It should be appreciated that additional information may also be included in the map. In other embodiments, the map may also contain a path defined as a series of positions and uncertainties between positions. This is different from a grid that defines the robot's path.
[0111] Those skilled in the art of the present invention will appreciate many modifications and adaptations of the present invention. The embodiments provided herein, including embodiments using various components or component arrangements, should be considered as merely exemplary and do not wish to limit the present invention in any way. As will be appreciated by those skilled in the art, many variations of the embodiments discussed herein within the scope of the present invention are possible. Therefore, the exemplary methods and apparatus disclosed herein should not be considered as limitations of the present invention, but as illustrations of the present invention.
Claims
1. A robot comprising: a chassis defining a longitudinal axis extending from a front side to a rear side of the robot and a transverse axis perpendicular to the longitudinal axis extending from a left side to a right side of the robot; a power system for moving the robot across a surface generally along the longitudinal axis; one or more stereo cameras mounted on the front side of the chassis; an illumination source mounted on the front side of the chassis; a microcontroller and a memory mounted in the chassis; local, regional and global maps, stored in said memory; as well as software, stored in the memory and executed by the microcontroller, for controlling the robot; Wherein the software executes a perimeter behavior function to map an area by completing a ring of the area, using natural barriers, obstacles or walls to define the perimeter of the ring.
2. The robot of claim 1 , wherein the stereo camera is capable of detecting visual light and infrared light, and further wherein the illumination source comprises one or more of a visual illumination source and an infrared illumination source.
3. The robot of claim 2, wherein the infrared illumination source projects a pattern for inducing texture on a surface, and wherein detection of the pattern by the stereo camera is used for mapping and parallax calculations.
4. The robot of claim 2, wherein the detection of the lighting is used to generate visual odometry.
5. The robot of claim 2, wherein the detection of the illumination is used for location recognition.
6. The robot of claim 1 , wherein the one or more stereo cameras have a field of view, the robot further comprising a plurality of time-of-flight rangefinders mounted on the chassis, wherein one or more of the time-of-flight rangefinders have a field of view outside of the field of view of the one or more stereo cameras.
7. The robot of claim 6, wherein the plurality of rangefinders comprises a pair of rearward facing rangefinders, one rangefinder of the pair mounted on the left side of the chassis and another of the pair mounted on the right side of the chassis, the pair of rangefinders mounted forward of the lateral axis and facing in a generally rearward direction.
8. The robot of claim 6, wherein the plurality of rangefinders comprises a forward facing pair of rangefinders mounted on the chassis so as to face in a forward off-center direction.
9. The robot of claim 6, wherein the plurality of rangefinders comprises a pair of side-facing rangefinders mounted on the chassis, the pair of side-facing rangefinders facing left and right directions in a direction generally parallel to the lateral axis.
10. The robot according to claim 1, further comprising: Inertial measurement unit; and An encoder is used to provide mileage measurement from the powertrain.
11. The robot according to claim 1, further comprising: A downward-facing camera mounted on the chassis: Wherein the software uses the data provided by the downward-facing camera to calculate the speed and direction of the robot relative to the ground surface.
12. The robot of claim 1 further comprising a battery voltage or charge sensor, wherein the software performs the following functions: Estimate the charge required to perform the behavior of returning to the docking station; determining that the battery voltage or charge has dropped below a threshold that enables safe return to a docking station; and Triggers the return to dock behavior.
13. The robot according to claim 1, further comprising: one or more rotating brushes driven by one or more motors; one or more brush current sensors to sense current consumed by the one or more motors; as well as one or more wheel current sensors; Wherein data from the one or more brush current sensors is used to estimate floor type.
14. The robot of claim 13, wherein the sensed current can be related to floor type and one or more slip models used to estimate wheel slip.
15. The robot of claim 1, wherein the software performs the following functions: detecting when a lens cover covering the stereo camera requires cleaning; and The user is warned to clean the lens cover.
16. The robot of claim 15, wherein the software performs the following functions: comparing the docked image and disparity data to expected image and disparity data to determine that the lens cover is dirty; and The user is warned to clean the lens cover.
17. The robot of claim 13, further comprising one or more wheel drop sensors associated with the power system, wherein the software performs the following functions: determining when the robot is in a stranded condition based on data from the one or more wheel drop sensors and the one or more wheel current sensors.
18. The robot of claim 17, wherein the software performs the following functions: performs an escape motion to correct the grounding condition.
19. The robot of claim 1, further comprising one or more collision sensors, wherein the software performs the functions of using data from the one or more collision sensors to determine when the robot is in a tight space and to escape the tight space.
20. The robot of claim 1, wherein the software attempts to detect perimeters in areas that have not been cleaned.
21. The robot of claim 1, wherein the software performs the following functions: taking a snapshot of an area to determine if the size of the area is below a threshold, and converting a local map of the area to a regional map.
22. The robot of claim 1, wherein the software determines that an area is unreachable and marks the area as unreachable in a local, regional or global map.
23. A method for performing obstacle detection by the robot of claim 1, comprising: positioning the robot in a particular room; as well as Change the detection threshold for objects on a room-by-room basis based on cleaning aggressiveness settings.
24. The method of claim 23, wherein the cleaning aggressiveness setting is based on a user setting or based on a predefined room type.
25. The method of claim 24, further comprising changing the cleaning mode on a room-by-room basis based on the cleaning aggressiveness setting.
26. A method for mapping by the robot of claim 1, comprising: Derive a series of relative local pose estimates using odometry from the powertrain, IMU data to measure acceleration and rotation, and data from stereo camera matching; as well as overlaying data from the stereo camera and obstacle data associated with each pose estimate onto a mesh; deriving a global pose estimate from each local pose estimate; as well as A global map is constructed based on the global pose estimate.
27. A method of mitigating the effects of wheel slip in the robot of claim 1, comprising: causing the robot to perform a specific movement; comparing wheel odometry with data from the IMU to determine the amount of slip during the particular motion; as well as A slip model is created to be applied to the wheel odometry measurements to compensate for slip.
28. A method of mitigating the effects of wheel slip in the robot of claim 1, comprising: Compare wheel odometry with data from the IMU to determine the amount of slip during a particular maneuver; as well as A slip model is created to be applied to the wheel odometry measurements to compensate for slip.
29. The method of claim 27, further comprising: detecting when the robot has moved from a first surface to a second surface; as well as The slip model is applied from a slip model map for the second surface.
30. The method of claim 29, wherein movement from the first surface to the second surface can be detected using visual information from one or more of forward and downward facing cameras, measuring current used by rotating brushes on the robot, or measuring acceleration and rotational speed from an IMU indicating a transition or current draw of a motor indicating a change in surface type.
31. A method for self-calibration and alignment of the robot of claim 1, comprising: approaching a docking station, the docking station having a pattern visible and recognizable by the robot; capturing an image of the visible pattern by each of a pair of forward-facing stereo cameras as the robot approaches the docking station; estimating a misalignment of one or both of the forward-facing stereo cameras based on a comparison of the images; as well as Based on the estimation, the calibration of the stereo camera is corrected.
32. The method of claim 31, wherein the pattern is IR backlit or IR retro-reflective so as to be invisible to humans.
33. The method of claim 31 , wherein the docking station has a beacon that allows the robot to identify the presence and support of the docking station, and further wherein the pattern is also used to align the robot with the docking station when the robot approaches the docking station.
