Control method and control device of cleaning robot and cleaning robot system
By detecting and adjusting the angle between the cleaning robot and the import and export, the problem of the cleaning robot being trapped is solved, ensuring that it can perform normal charging, cleaning mop and other operations, improving work efficiency and system reliability.
Patent Information
- Application Number
- CN202210825742.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2042-07-14
AI Technical Summary
The cleaning robot is trapped in the robot docking space due to walking errors or sensor failures, and cannot charge, clean the mop, replace the mop tray or move out of the docking space, affecting its work.
By detecting the actual angle between the direction of the cleaning robot and the inlet and outlet, if the angle is greater than or equal to the preset threshold, the robot is controlled to rotate to adjust the angle so that it is consistent with the orientation of the inlet and outlet, thereby ensuring that the robot can charge and clean the mop smoothly , replace the mop tray or remove the docking space.
It effectively avoids the trap of cleaning robots, ensures that they can perform normal operations such as charging, cleaning mop, replacing mop trays, etc., and improves the reliability and working efficiency of the robot system.
Smart Images

Figure CN115191887B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of household intelligent devices, and in particular to a control method and a control device of a cleaning robot and a cleaning robot system. Background Art
[0002] Home smart devices are playing an increasingly important role in people's lives. As a result, more and more home smart devices are appearing in people's lives. Among them, cleaning robots are a relatively common type of home smart device. The cleaning robot is equipped with a cleaning base station, which has a robot docking space. The cleaning robot can dock in the robot docking space to perform operations such as charging, cleaning the mop, and replacing the mop tray.
[0003] The robot docking space has an entrance and exit, and the cleaning robot enters or moves out of the robot docking space through the entrance and exit. With the advancement of technology, the cleaning robots involved in the relevant technology will autonomously enter and exit the robot docking space according to demand. However, considering the walking error or sensor failure of the cleaning robot, in some cases, the cleaning robot will be trapped in the robot docking space, resulting in the cleaning robot being unable to perform related operations such as charging, cleaning the mop, replacing the mop plate, or moving out of the robot docking space through the entrance and exit in the robot docking space, which ultimately causes the cleaning robot to toss around in the robot docking space, thereby affecting its subsequent work. Summary of the invention
[0004] The present invention discloses a control method and a control device of a cleaning robot and a cleaning robot system, so as to solve the problem that the cleaning robot is trapped in a robot docking space and cannot perform related operations such as charging, cleaning the mop, replacing the mop plate or moving out of the robot docking space through an entrance and exit in the robot docking space.
[0005] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:
[0006] In a first aspect, the present application discloses a control method for a cleaning robot, wherein the cleaning robot can cooperate with a cleaning base station, and the cleaning base station is provided with a robot docking space and an entrance and exit connected to the robot docking space, and the control method comprises:
[0007] When the cleaning robot is in the robot docking space, detecting an actual angle between the orientation of the cleaning robot and the orientation of the entrance and exit;
[0008] When the actual angle is greater than or equal to the preset angle threshold, the cleaning robot is controlled to rotate in a direction approaching the entrance or exit so that the cleaning robot rotates by the actual angle.
[0009] In a second aspect, the present application further discloses a control device for a cleaning robot. The cleaning robot can cooperate with a cleaning base station. The cleaning base station is provided with a robot docking space and an entrance and exit connected to the robot docking space. The control device includes:
[0010] A first detection module is used to detect an actual angle between the orientation of the cleaning robot and the orientation of the entrance and exit when the cleaning robot is in the robot docking space;
[0011] The second control module controls the cleaning robot to rotate in a direction close to the entrance or exit so that the cleaning robot rotates by the actual angle when the actual angle is greater than or equal to a preset angle threshold.
[0012] In the third aspect, the present application also discloses a cleaning robot system, comprising a cleaning robot and a cleaning base station, characterized in that the cleaning base station is provided with a robot docking space and an entrance and exit connected to the robot docking space, and the cleaning robot comprises the control device of the cleaning robot described in the second aspect.
[0013] The technical solution adopted by the present invention can achieve the following technical effects:
[0014] In the embodiments disclosed in the present application, when it is detected that the actual angle is less than the preset angle threshold, the cleaning robot can normally perform related operations such as charging, cleaning the mop, replacing the mop plate, or moving out of the robot docking space through the entrance and exit in the robot docking space without being blocked, so there is no need to adjust the angle of the cleaning robot. When the actual angle is greater than or equal to the preset angle threshold, the cleaning robot is controlled to rotate the actual angle in the direction of the entrance and exit, so that the angle between the direction of the cleaning robot and the direction of the entrance and exit is less than the preset angle threshold, so that the cleaning robot can smoothly perform related operations such as charging, cleaning the mop, replacing the mop plate, or moving out of the robot docking space through the entrance and exit, thereby avoiding the problem that the cleaning robot is trapped in the robot docking space and cannot perform related operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of a cleaning robot according to an embodiment of the present invention docked in a robot docking space;
[0016] Figure 2 The direction of the cleaning robot ( Figure 2 Schematic diagram of the case where the longer tip of the middle triangle points in the same direction as the inlet and outlet;
[0017] Figure 3 is a schematic diagram when the angle between the direction of the cleaning robot and the direction of the entrance and exit is greater than the preset angle threshold, that is, Figure 3The angle α in is greater than a preset angle threshold;
[0018] Figure 4 This is a flow chart of a first control method of a cleaning robot disclosed in an embodiment of the present invention;
[0019] Figure 5 This is a flow chart of a second control method of the cleaning robot disclosed in an embodiment of the present invention;
[0020] Figure 6 Flow chart of the third control method of the cleaning robot disclosed in the embodiment of the present invention
[0021] Figure 7 It is a schematic diagram of the structure of the control device of the cleaning robot disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0023] The technical solutions disclosed in various embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
[0024] Please refer to Figures 1 to 7 , the embodiment of the present invention discloses a control method for a cleaning robot, the disclosed cleaning robot can cooperate with a cleaning base station, and the cleaning robot and the cleaning base station constitute a cleaning robot system. The cleaning base station is provided with a robot docking space, and an entrance and exit connected to the robot docking space, and the cleaning robot can enter or leave the robot docking space from the entrance and exit, so that the cleaning robot enters or leaves the robot docking space. The cleaning robot can charge, clean the mop, add cleaning fluid, etc. in the robot docking space, and of course it can also be simply docked in the robot docking space. When the cleaning robot is charging, cleaning the mop, replacing the mop plate, or moving outside the robot docking space through the entrance and exit in the robot docking space, the relative position of the cleaning robot in the robot docking space needs to meet certain requirements. This application uses the angle between the direction of the cleaning robot and the direction of the entrance and exit as the basis for judging whether the relative position of the cleaning robot in the robot docking space meets the requirements. Of course, judging whether the relative position of the cleaning robot in the robot docking space meets the requirements can also be other bases, which are not limited here.
[0025] The orientation of the cleaning robot may refer to the direction in which the center of the cleaning robot points to the center of the front side of the cleaning robot, or may refer to the extension direction from the rear end to the front end of the cleaning robot. The orientation of the inlet and outlet may refer to the direction in which the center of the cleaning base station points to the center of the inlet and outlet. When the cleaning robot is docked in the robot docking space, the center of the cleaning robot may coincide with the center of the cleaning base station. When the orientation of the cleaning robot deviates from the orientation of the inlet and outlet by a large angle, when the cleaning robot is charging, cleaning the mop, replacing the mop plate, or moving outside the robot docking space through the inlet and outlet, etc. in the robot docking space, the cleaning robot will not be able to perform related operations smoothly due to the angle deviation.
[0026] The control method disclosed in the present application includes:
[0027] S101: Determine whether the cleaning robot is in the robot docking space.
[0028] Specifically, a detection device, such as a limit switch, an infrared detection device, etc., may be provided in the docking space, and the detection device may be used to detect whether the cleaning robot is docked in the robot docking space.
[0029] S102: When the cleaning robot is in the robot docking space, detect an actual angle between the orientation of the cleaning robot and the orientation of the entrance and exit.
[0030] The actual angle between the direction of the cleaning robot and the direction of the entrance and exit can be the angle between the direction from the center of the cleaning base station pointing to the center of the entrance and exit and the direction from the center of the cleaning robot pointing to the center of the front side of the cleaning robot, or it can be the angle between the direction from the center of the cleaning base station pointing to the center of the entrance and exit and the extension direction from the rear end to the front end of the cleaning robot.
[0031] Of course, the orientation of the cleaning robot and the orientation of the entrance and exit can also be set according to other criteria. The angle between the orientation of the cleaning robot and the orientation of the entrance and exit can be detected by an infrared sensor or a magnetic induction sensor to detect the corresponding orientation, and then the actual angle between the orientation of the cleaning robot and the orientation of the entrance and exit can be calculated.
[0032] S103: Determine whether the actual angle is less than a preset angle threshold.
[0033] The preset angle threshold is an angle value set by the system, and the preset angle threshold can be obtained based on experiments. When the actual angle between the direction of the cleaning robot and the direction of the entrance and exit is less than the preset angle threshold, the cleaning robot can smoothly carry out related operations such as charging, cleaning the mop, replacing the mop plate, or moving to the outside of the robot's docking space. Since the charging connection part of the cleaning robot and the charging connection part of the cleaning base station have a certain size, when the actual angle is less than the preset angle threshold, the charging connection part of the cleaning robot and the charging connection part of the cleaning base station can be electrically connected. When the actual angle is greater than or equal to the preset angle threshold, the charging connection part of the cleaning robot and the charging connection part of the cleaning base station will be misaligned and disconnected from the electrical connection, thereby causing the recharging of the cleaning robot to fail. The size of the entrance and exit is generally large, which is convenient for the cleaning robot to enter and exit. Therefore, when the actual angle is less than the preset angle threshold, the cleaning robot can still move out of the cleaning base station by moving forward. When the actual angle is greater than or equal to the preset angle threshold, the cleaning robot may be blocked when moving outward from the robot's docking space and cannot successfully move to the outside of the robot's docking space. When the actual angle is greater than or equal to the preset angle threshold, the cleaning robot will be hindered from cleaning the mop and replacing the mop plate.
[0034] When the cleaning robot needs to charge, clean the mop, replace the mop plate or move out of the robot docking space, and the actual angle is less than the preset angle threshold, the cleaning robot can be controlled to charge, clean the mop, replace the mop plate or move out of the robot docking space through the entrance and exit.
[0035] Referring to the above, in this case, since the actual angle is less than the preset angle threshold, the cleaning robot does not have difficulty in exiting the station, so it is sufficient to directly control the cleaning robot to move outside the robot docking space through the entrance and exit.
[0036] S104: When the actual angle is greater than or equal to a preset angle threshold, the cleaning robot is controlled to rotate in a direction approaching the entrance or exit so that the cleaning robot rotates by the actual angle.
[0037] After the cleaning robot rotates to an actual angle, the cleaning robot can be controlled to charge, clean the mop, replace the mop plate, or be driven through the entrance and exit to move outside the robot docking space.
[0038] Specifically, when the actual angle is greater than or equal to the preset angle threshold, the cleaning robot may be controlled to rotate the actual angle in the direction of the entrance or exit. When the cleaning robot rotates, the cleaning robot may rotate around its center by differential motion, thereby preventing the cleaning robot from colliding with other components of the cleaning base station when rotating.
[0039] In the embodiments disclosed in the present application, when it is detected that the actual angle is less than the preset angle threshold, the cleaning robot can normally perform related operations such as charging, cleaning the mop, replacing the mop plate, or moving out of the robot docking space through the entrance and exit in the robot docking space without being blocked, so there is no need to adjust the angle of the cleaning robot. When the actual angle is greater than or equal to the preset angle threshold, the cleaning robot is controlled to rotate the actual angle in the direction of the entrance and exit, so that the angle between the direction of the cleaning robot and the direction of the entrance and exit is less than the preset angle threshold, so that the cleaning robot can smoothly perform related charging, cleaning the mop, replacing the mop plate, and moving out of the robot docking space through the entrance and exit, thereby avoiding the problem that the cleaning robot is trapped in the robot docking space and cannot perform related operations.
[0040] Specifically, in the disclosed control method, detecting the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet includes: periodically detecting the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet.
[0041] For example, the direction of the cleaning robot and the direction of the entrance and exit are detected every 10 seconds until the cleaning robot can smoothly perform related operations such as charging, cleaning the mop, changing the mop plate, or moving through the entrance and exit to outside the robot's docking space. Of course, the interval time can be set according to actual conditions. By periodically detecting the actual angle between the direction of the cleaning robot and the direction of the entrance and exit, the actual angle between the direction of the cleaning robot and the direction of the entrance and exit can be periodically adjusted multiple times, and of course, excessive losses caused by continuous detection can be avoided.
[0042] In an optional embodiment, the cleaning robot may include a non-contact obstacle avoidance sensor. The non-contact obstacle avoidance sensor is a sensor used to avoid collision when the cleaning robot moves outside the robot's docking space, such as an infrared sensor. Since the robot's docking space is limited, the signal emitted by the non-contact obstacle avoidance sensor may propagate within the robot's docking space and interfere with the detection of the angle between the direction of the cleaning robot and the direction of the entrance and exit. Therefore, before controlling the cleaning robot to rotate in a direction close to the entrance and exit so that the cleaning robot rotates an actual angle, the disclosed control method also includes:
[0043] S201: Turn off the non-contact obstacle avoidance sensor.
[0044] By turning off the non-contact obstacle avoidance sensor before controlling the cleaning robot to turn in the direction close to the entrance and exit so that the cleaning robot can turn the actual angle, the interference of the non-contact obstacle avoidance sensor on the cleaning robot can be avoided, and related operations such as charging, cleaning the mop, replacing the mop plate, or moving through the entrance and exit to outside the robot's docking space can be carried out smoothly.
[0045] In some cases, the cleaning robot includes a mop tray, which is used to install a mop so that the cleaning robot can perform corresponding cleaning operations. A mop cleaning groove may be provided on the inner side of the robot docking space away from the entrance and exit, and the mop cleaning groove is where the cleaning robot moves to the robot docking space to clean the mop. In order to avoid the problem that the cleaning robot is blocked from rotating due to friction with the mop cleaning groove when the cleaning robot rotates in the robot docking space, optionally, before controlling the cleaning robot to rotate in a direction close to the entrance and exit so that the cleaning robot rotates an actual angle, the disclosed control method also includes:
[0046] S301: Detecting the actual distance between the front side of the cleaning robot and the opposing area of the inner wall of the robot docking space.
[0047] S302: Control the cleaning robot to walk a preset distance towards the relative area, where the preset distance is smaller than the actual distance.
[0048] By controlling the cleaning robot to move a certain distance away from the cleaning tank before controlling the cleaning robot to rotate toward the entrance to achieve the actual rotation angle, the problem of the cleaning robot being blocked by the mop cleaning tank during rotation can be avoided.
[0049] In a specific implementation process, detecting the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet includes:
[0050] Step A1, determining the actual area where the inner wall of the robot parking space is opposite to the center of the front side of the cleaning robot.
[0051] A camera may be installed at the center of the front side of the cleaning robot, and the image captured by the camera is compared with the image of the preset robot docking space to confirm the actual area of the inner wall of the robot docking space relative to the center of the front side of the cleaning robot. Of course, the cleaning robot may also detect the actual area through an infrared sensor. Since the actual area is the area relative to the center of the front side of the cleaning robot, the actual area is a relatively small area.
[0052] Step A2, detecting the actual distance between the actual area and the center line of the inlet and outlet.
[0053] Since the actual area is the area corresponding to the center of the front side of the cleaning robot, the actual area is relatively small, and the actual distance between the actual area and the center line of the inlet and outlet can be directly detected within the error range. After determining the actual area, the system can determine the actual distance between the actual area and the center line of the inlet and outlet based on the positional relationship between the actual area and the inlet and outlet.
[0054] Step A3, determining the actual angle relative to the actual distance based on the correspondence between the distance and the angle.
[0055] After the actual distance is determined, the actual angle relative to the actual distance can be determined based on the correspondence between the distance and the angle set by the system, thereby realizing the detection of the actual angle between the direction of the cleaning robot and the direction of the entrance and exit. The correspondence can be determined in advance by statistics or experiments.
[0056] An optional embodiment, detecting the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet, comprises:
[0057] Step B1, detecting the first coordinate of the center of the front side of the cleaning robot.
[0058] Step B2, detecting the second coordinate of the center of the inlet and outlet.
[0059] The cleaning robot system may be provided with a position detection module, through which the first coordinate of the center of the front side of the cleaning robot and the second coordinate of the center of the entrance and exit may be detected. Specifically, a certain point may be identified as the origin in the robot's docking space, and a coordinate system may be established, wherein the first coordinate and the second coordinate are coordinates in the same coordinate system. The position detection module may include a camera, and the first coordinate and the second coordinate may be acquired by photographing the center of the front side of the cleaning robot and the center of the entrance and exit with the camera. Of course, the position detection module may also be a magnetic induction module, and in the coordinates of the cleaning base station, the first coordinate of the center of the front side of the cleaning robot may be acquired according to the electromagnetic induction between the first electromagnet on the front side of the cleaning robot and the corresponding second electromagnet in the robot's docking space, and the second actual coordinate of the center of the entrance and exit is relatively fixed in the coordinate system of the cleaning base station.
[0060] Step B3, calculating the actual angle between the orientation of the front side surface and the orientation of the inlet and outlet according to the first coordinate and the second coordinate.
[0061] The embodiment disclosed in the present application calculates the actual angle detection between the orientation of the cleaning robot and the orientation of the entrance and exit through the first coordinate of the center of the front side of the cleaning robot and the second coordinate of the center of the entrance and exit, so that the detected actual angle is relatively more accurate.
[0062] In an optional embodiment, the cleaning robot may further include an image acquisition device, which is disposed at the center of the front side of the cleaning robot. The image acquisition device may include components such as a camera. After controlling the cleaning robot to rotate in a direction close to the entrance or exit so that the cleaning robot rotates an actual angle, the disclosed control method further includes:
[0063] Step C1, controlling the image acquisition device to capture the actual image.
[0064] Step C2: when the actual image is consistent with the preset inlet and outlet image, confirm that the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet is less than the preset angle threshold.
[0065] When the actual image captured by the image acquisition module is compared with the preset inlet and outlet image, the position of the cleaning robot can be further verified when the actual image is consistent with the preset inlet and outlet image, thereby making the position detection of the cleaning robot more accurate.
[0066] The present application discloses a control device for a cleaning robot. The cleaning robot can cooperate with a cleaning base station. The cleaning base station is provided with a robot docking space and an entrance and exit connected to the robot docking space. The disclosed control device includes: a first detection module 401 and a second control module 403, wherein:
[0067] The first detection module 401 is used to detect the actual angle between the direction of the cleaning robot and the direction of the entrance and exit when the cleaning robot is in the robot docking space.
[0068] The second control module 403 controls the cleaning robot to rotate in a direction close to the entrance or exit so that the cleaning robot rotates the actual angle when the actual angle is greater than or equal to a preset angle threshold, and controls the cleaning robot to charge, clean the mop, replace the mop plate, or drive the cleaning robot through the entrance or exit to move outside the robot docking space after the cleaning robot rotates the actual angle.
[0069] The functions performed by the various modules included in the control device of the cleaning robot disclosed in the embodiment of the present application are the same or similar to the steps in the control method of the cleaning robot disclosed in the above embodiment, and they can be referenced to each other and will not be repeated here.
[0070] In some embodiments, the control device also includes a first control module, which is used to control the cleaning robot to charge, clean the mop, replace the mop plate or move out of the robot docking space through the entrance and exit when the cleaning robot needs to charge, clean the mop, replace the mop plate or exit the robot docking space and when the actual angle is less than a preset angle threshold.
[0071] Specifically, the first detection module 401 may be used to periodically detect the actual angle between the orientation of the cleaning robot and the orientation of the entrance and exit when the cleaning robot is in the robot docking space.
[0072] In order to avoid obstacles during the operation of the cleaning robot, the cleaning robot involved in the related art may include a non-contact obstacle avoidance sensor. The disclosed control device also includes a fourth control module, which can be used to turn off the non-contact obstacle avoidance sensor before controlling the cleaning robot to rotate in a direction close to the entrance or exit so that the cleaning robot rotates an actual angle.
[0073] In an optional embodiment, a mop cleaning tank may be provided on the inner side of the robot docking space away from the entrance and exit, and the disclosed control device further includes a second detection module and a third control module, wherein:
[0074] The second detection module is used to detect the actual distance between the front side of the cleaning robot and the relative area of the inner wall of the robot parking space before controlling the cleaning robot to rotate in the direction close to the entrance and exit so that the cleaning robot rotates an actual angle.
[0075] The third control module is used to control the cleaning robot to walk a preset distance toward the relative area, and the preset distance is smaller than the actual distance.
[0076] In an optional embodiment, the first detection module 401 may include: a first determination module, a second determination module and a first sub-detection module, wherein the first determination module is used to determine the actual area relative to the center of the front side of the cleaning robot and the inner wall of the robot docking space. The first sub-detection module is used to detect the actual distance between the actual area and the center line of the entrance and exit. The second determination module is used to determine the actual angle relative to the actual distance based on the correspondence between the distance and the angle.
[0077] In an optional embodiment, the first detection module 401 may include a second sub-detection module, a third sub-detection module and a first calculation module, wherein the second sub-detection module is used to detect the first coordinate of the center of the front side of the cleaning robot, the third sub-detection module is used to detect the second coordinate of the center of the inlet and outlet, and the first calculation module is used to calculate the actual angle between the orientation of the front side and the orientation of the inlet and outlet based on the first coordinate and the second coordinate.
[0078] Optionally, the cleaning robot may further include an image acquisition device, which is disposed at the center of the front side of the cleaning robot. The disclosed control device may further include a fifth control module and a first confirmation module, wherein the fifth control module is used to control the image acquisition device to capture an actual image after controlling the cleaning robot to rotate in a direction close to the inlet and outlet so that the cleaning robot rotates an actual angle. The first confirmation module is used to confirm that the actual angle between the direction of the cleaning robot and the direction of the inlet and outlet is less than a preset angle threshold when the actual image is consistent with the preset inlet and outlet image.
[0079] In this article, during the recharging process of the cleaning robot, if the actual angle is less than the preset angle threshold, it means that there is no deviation in the cleaning robot returning to the station. At this time, the cleaning robot can directly dock and charge in the robot docking space. If the actual angle is greater than or equal to the preset angle threshold, the cleaning robot can be rotated to the actual angle, and then the cleaning robot can be first allowed to exit the cleaning base station through the entrance and exit, and then the cleaning robot can be controlled to re-enter the robot docking space through the entrance and exit for charging. Since the direction has been adjusted, the next re-entry can achieve charging alignment. This recharging method of allowing the cleaning robot to exit the station first and then enter the station facilitates further more accurate posture adjustment of the cleaning robot. Of course, if the ultimate goal of the cleaning robot is not to recharge, but to exit the station, the cleaning robot can directly exit from the entrance and exit to the outside of the robot docking space after rotating the actual angle, and then perform subsequent cleaning operations. At this time, the cleaning robot is no longer controlled to enter the station through the entrance and exit again.
[0080] The present application also discloses a cleaning robot system, which includes a cleaning robot and a cleaning base station. The cleaning base station is provided with a robot docking space and an entrance and exit connected to the robot docking space, and the cleaning robot includes the control device of the cleaning robot disclosed in the above embodiment.
[0081] The functions performed by the various modules included in the control device of the cleaning robot disclosed in the embodiment of the present application are the same or similar to the steps in the control method of the cleaning robot disclosed in the above embodiment, and they can be referenced to each other and will not be repeated here.
[0082] The above embodiments of the present invention focus on the differences between the various embodiments. As long as the different optimization features between the various embodiments are not contradictory, they can be combined to form a better embodiment. Considering the simplicity of the text, they will not be repeated here.
[0083] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A control method for a cleaning robot, wherein the cleaning robot can cooperate with a cleaning base station, the cleaning base station is provided with a robot docking space and an entrance and exit connected to the robot docking space, and a mop cleaning groove is provided on the inner side of the robot docking space away from the entrance and exit, characterized in that: The control method comprises: When the cleaning robot is in the robot docking space, detecting an actual distance between a front side of the cleaning robot and a relative area of an inner wall of the robot docking space; Control the cleaning robot to walk a preset distance toward the relative area, wherein the preset distance is smaller than the actual distance; Detecting an actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet; When the actual angle is greater than or equal to the preset angle threshold, the cleaning robot is controlled to rotate in a direction approaching the inlet and outlet so that the cleaning robot rotates by the actual angle.
2. The control method according to claim 1, characterized in that: The detecting the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet comprises: The actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet is periodically detected.
3. The control method according to claim 1, characterized in that: The cleaning robot includes a non-contact obstacle avoidance sensor; Before controlling the cleaning robot to rotate in a direction close to the inlet and outlet so that the cleaning robot rotates by the actual angle, the control method further includes: The non-contact obstacle avoidance sensor is turned off.
4. The control method according to claim 1, characterized in that: The detecting the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet comprises: Determine an actual area where an inner wall of the robot docking space is opposite to a center of a front side of the cleaning robot; detecting an actual distance between the actual area and a center line of the inlet and outlet; According to the corresponding relationship between the distance and the angle, the actual angle relative to the actual distance is determined.
5. The control method according to claim 1, characterized in that: The detecting the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet comprises: Detecting a first coordinate of a center of a front side of the cleaning robot; detecting a second coordinate of a center of the inlet and outlet; The actual angle between the orientation of the front side surface and the orientation of the inlet and outlet is calculated according to the first coordinate and the second coordinate.
6. The control method according to claim 1, characterized in that: The cleaning robot further comprises an image acquisition device, which is disposed at a central position of a front side of the cleaning robot; After controlling the cleaning robot to rotate in a direction close to the inlet and outlet so that the cleaning robot rotates by the actual angle, the control method further includes: Controlling the image acquisition device to capture an actual image; When the actual image is consistent with the preset inlet and outlet image, it is confirmed that the actual angle between the orientation of the cleaning robot and the orientation of the inlet and outlet is smaller than the preset angle threshold.
7. A control device for a cleaning robot, wherein the cleaning robot can cooperate with a cleaning base station, the cleaning base station is provided with a robot docking space and an entrance and exit connected to the robot docking space, and a mop cleaning groove is provided on the inner side of the robot docking space away from the entrance and exit, characterized in that: The control device comprises: A first detection module, configured to detect an actual angle between a direction of the cleaning robot and a direction of the inlet and outlet when the cleaning robot is in the robot docking space; a second detection module, detecting an actual distance between a front side surface of the cleaning robot and a relative area of an inner wall of a parking space of the robot; A third control module is used to control the cleaning robot to walk a preset distance towards the relative area, where the preset distance is smaller than the actual distance; The second control module controls the cleaning robot to rotate in a direction approaching the entrance or exit so that the cleaning robot rotates by the actual angle when the actual angle is greater than or equal to the preset angle threshold.
8. A cleaning robot system, comprising a cleaning robot and a cleaning base station, characterized in that: The cleaning base station is provided with a robot docking space and an entrance and exit connected to the robot docking space, and the cleaning robot comprises the control device of the cleaning robot according to claim 7.
Citation Information
Patent Citations
Indoor security robot capable of automatically returning to charge base and method of returning indoor security robot to charge base
CN101923352A
Self-propelled electronic device
CN106455888A
Positioning method for inspection robot suitable for changing of charging room door
CN109324610A
Robot recharging method based on visual identity and chip
CN109669457A
Charge-back butt joint method of cleaning equipment with laser radar and charge-back butt joint system of cleaning equipment with laser radar
CN110495817A
