Method and device for controlling cleaning device, cleaning device, and storage medium
The cleaning device optimizes collision sensing and obstacle navigation through a trigger member and detection system, reducing collisions and enhancing cleaning efficiency by adjusting its path to cover unswept areas effectively.
Patent Information
- Application Number
- JP2024518193
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-12-08
- Filing Date
- 2022-09-14
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-09-14
AI Technical Summary
Existing cleaning devices, particularly non-circular ones, face challenges in minimizing collisions with obstacles, leading to unswept areas on adjacent floors and walls, and inefficient cleaning due to suboptimal collision sensing and obstacle navigation.
The cleaning device employs a trigger member, first and second detection members, and a control method that includes obtaining sensing information to determine movement distances and angles, allowing it to move backward, rotate, and adjust its path to avoid obstacles, optimizing collision sensing and obstacle proximity operations.
This approach reduces the number of collisions, enhances cleaning efficiency by minimizing unswept areas, and improves user satisfaction by ensuring thorough coverage of floor and wall surfaces.
Smart Images

Figure 2024534557000001
Abstract
Description
[Technical field]
[0001] (Related Applications) This disclosure claims priority to Chinese Patent Application No. 202122503365.4, filed on October 18, 2021, and Chinese Patent Application No. 202111492870.1, filed on December 08, 2021, the entire disclosures of which are incorporated herein by reference as part of this application.
[0002] The present disclosure relates to the technical field of intelligent control, and in particular to a cleaning device control method, device, cleaning device and storage medium, and a cleaning device with front bumper bounce applied. [Background technology]
[0003] Current cleaning devices, such as self-propelled cleaning robots, can generally travel automatically through a certain area to be cleaned and complete the cleaning operation without user intervention. During the cleaning process, the cleaning device encounters an obstacle, and when the cleaning device moves along the obstacle, it can clean the surface to be cleaned and the adjacent part of the obstacle; Furthermore, due to the particularity of its configuration, a cleaning device, especially a non-circular cleaning device, will inevitably have specific differences in its model-specific behavior from that of a circular cleaning device, and during the process of avoiding obstacles or moving along walls, the collision-sensing member needs to have corresponding structural components to better respond to its triggering and bouncing. Summary of the Invention
[0004] In view of this, the embodiments of the present disclosure provide a control method, device, cleaning device, and storage medium for a cleaning device, which can minimize the number of collisions of the cleaning device with an obstacle again, enable the cleaning device to travel quickly along the obstacle, and reduce the problem of leaving adjacent parts of the floor and the wall uncleaned; The present disclosure further provides a cleaning apparatus that optimizes the triggering and bouncing of the collision sensing member to some extent to achieve a sensitive response of the collision sensor and accurate alignment after bouncing.
[0005] An embodiment of a first aspect of the present disclosure provides a control method for a cleaning device, the cleaning device comprising: a device body; and a trigger member, a first detection member, and a second detection member provided on the device body, the trigger member being configured to be triggered when the cleaning device collides with an obstacle, the first detection member being configured to detect an obstacle on a periphery of the device body, and the second detection member being provided on one side of the device body and configured to detect an obstacle on a side of the device body, the control method comprising: The method includes acquiring first detection information of a first detection member in response to the trigger member being triggered, determining a first movement distance in response at least to the acquired first detection information, controlling the cleaning device to move backward by the first movement distance, and then performing a first obstacle approach operation based on the first detection information, acquiring second detection information of a second detection member, and controlling the cleaning device to perform an obstacle-following operation based on the second detection information.
[0006] Further, the first detection information includes at least a first angle between the equipment body and the obstacle, a vertical distance between the equipment body and the obstacle, a horizontal distance between the equipment body and the target end of the obstacle, and the target end of the obstacle is located on a side away from the second detection member in front of the cleaning device, wherein determining the first moving distance based on the acquired first detection information includes determining the first moving distance based on the first angle, the vertical distance between the equipment body and the obstacle, and the horizontal distance between the equipment body and the target end of the obstacle.
[0007] Furthermore, performing a first obstacle approach operation based on the first detection information includes: The method includes determining a first rotation angle based on the first angle, controlling the cleaning device to rotate away from the second detection member by the first rotation angle, and controlling the cleaning device to move forward based on the horizontal distance between the device body and the target end of the obstacle.
[0008] Further, controlling the cleaning device to move forward based on the horizontal distance between the device body and the target end of the obstacle includes controlling the cleaning device to move forward based on the horizontal distance between the device body and the target end of the obstacle being greater than or equal to a predetermined value, determining a second angle between the device body and the obstacle at the current position based on the trigger member being triggered again, determining a second rotation angle based on the second angle, and controlling the cleaning device to rotate by the second rotation angle away from the second detection member.
[0009] Furthermore, determining the second rotation angle based on the second angle specifically includes determining the second rotation angle based on the second angle and an installation position of the second detection member relative to the device body.
[0010] Further, the control to move the cleaning device forward based on the horizontal distance between the device body and the target end of the obstacle is Based on the horizontal distance between the device body and the target end of the obstacle being less than a predetermined value, the cleaning device is moved away from the second detection member at a first linear velocity and a first angular velocity, and in response to the trigger member not being triggered when a predetermined time has elapsed, the cleaning device is controlled to perform an obstacle search operation.
[0011] Furthermore, the control method for the cleaning device further includes controlling the cleaning device to move backward a first predetermined distance and rotate a second predetermined angle away from the second detection member based on the first detection information not being acquired, and then perform an obstacle search operation.
[0012] Furthermore, the obstacle searching operation includes controlling the cleaning device to move and rotate in a direction toward the side where the second detection member is provided at an obstacle searching linear velocity and an obstacle searching angular velocity until the trigger member is triggered.
[0013] An embodiment of a second aspect of the present disclosure provides a control device for a cleaning device, the cleaning device comprising: an equipment body; and a trigger member, a first detection member, and a second detection member provided on the equipment body, the trigger member being configured to be triggered when the cleaning device collides with an obstacle, the first detection member being configured to detect an obstacle on a periphery of the equipment body, the second detection member being provided on one side of the equipment body and configured to detect an obstacle on a side of the equipment body, the control device comprising: The cleaning device includes a first acquisition module configured to acquire first detection information of a first detection member based on the trigger member being triggered, a first determination module configured to determine a first movement distance based on at least the acquired first detection information, a first processing module configured to control the cleaning device to move backward by the first movement distance and then perform a first obstacle approach operation based on the first detection information, a second acquisition module configured to acquire second detection information of a second detection member, and a second processing module configured to control the cleaning device to perform an obstacle-following operation based on the second detection information.
[0014] Further, the first detection information includes at least a first angle between the equipment body and the obstacle, a vertical distance between the equipment body and the obstacle, a horizontal distance between the equipment body and the target end of the obstacle, and the equipment body and the target end of the obstacle are located on a side away from the second detection member in front of the cleaning apparatus, where the first determination module includes a first determination unit configured to determine a first movement distance based on the first angle, the vertical distance between the equipment body and the obstacle, and the horizontal distance between the equipment body and the target end of the obstacle.
[0015] Furthermore, the first processing module The cleaning device includes a second determination unit configured to determine a first rotation angle based on the first angle, a first processing unit configured to control the cleaning device to rotate away from the second detection member by the first rotation angle, and a second processing unit configured to control the cleaning device to move forward based on the horizontal distance between the device body and the target end of the obstacle.
[0016] Further, the second processing unit includes a first processing subunit configured to control the cleaning device to move forward based on the horizontal distance between the equipment body and the target end of the obstacle being greater than or equal to a predetermined value, a first acquisition submodule configured to acquire a second angle between the equipment body and the obstacle at the current position based on the trigger member being triggered again, a first determination subunit configured to determine a second rotation angle based on the second angle, and a second processing subunit configured to rotate the cleaning device away from the second detection member by the second rotation angle.
[0017] Further, the first determining subunit specifically includes determining a second rotation angle based on the second angle and an installation position of the second detection member relative to the device body.
[0018] Furthermore, the second processing unit further includes a third processing subunit configured to control the cleaning device to move at a first linear velocity and a first angular velocity toward a side away from the second detection member based on the horizontal distance between the appliance body and the target end of the obstacle being less than a predetermined value, and to control the cleaning device to perform an obstacle search operation based on the trigger member not being triggered when a predetermined time has elapsed.
[0019] Furthermore, the control device of the cleaning device further includes a third processing module configured to control the cleaning device to move backward a first predetermined distance and rotate away from the second detection member by a second predetermined angle based on the first detection information not being acquired, and then perform an obstacle search operation.
[0020] Furthermore, the obstacle searching operation includes controlling the cleaning device to move and rotate in a direction toward the side where the second detection member is provided at an obstacle searching linear velocity and an obstacle searching angular velocity until the trigger member is triggered.
[0021] An embodiment of a third aspect of the present disclosure provides a cleaning device comprising a processor and a memory, the memory configured for storing operation instructions, and the processor configured for executing the cleaning device control method of any one of the first aspects above by invoking the operation instructions.
[0022] An embodiment of a fourth aspect of the present disclosure provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the cleaning device control method of any one of the first aspects above.
[0023] An embodiment of a fifth aspect of the present disclosure provides a cleaning device, the cleaning device comprising: A rack having a rectangular front portion and a semicircular rear portion; a front bumper connected to a front portion of the rack and movable relative to the rack; a collision sensor provided at a rectangular front end and / or both sides of a front part of the rack, or at an inner wall at the front end and / or an inner wall of the front bumper; The vehicle further includes at least one rebound member connected to the rack and / or the front bumper, and when the front bumper is not triggered, a predetermined gap is formed between a contact portion of the rebound member and an inner wall of the front bumper, or between the contact portion and a front portion of the rack.
[0024] Furthermore, the rebound member includes a resilient arm, and when the front bumper is biased, the resilient force of the resilient arm is overcome when the front bumper moves relative to the rack, providing a rebound force for the recovery of the front bumper.
[0025] Furthermore, a recovery arm and a fixed arm are provided at both ends of the elastic arm, respectively, the displacement of the recovery arm corresponds to the displacement stroke of the front bumper, and the bouncing member is connected to the rack and / or the front bumper via the fixed wall.
[0026] Additionally, the resilient arm forms an acute bend with the recovery arm, the apex of the bend forming the contact portion.
[0027] Further, a recovery hook is provided at the other end of the recovery arm substantially perpendicular to the recovery arm, and the recovery hook is fitted to a corresponding position on the rack or front bumper to limit the rebound stroke of the elastic arm.
[0028] Furthermore, a fixing hook is provided at one end of the fixing arm, and the fixing hook is fitted to the fixing arm to fixedly connect the rebound member to a corresponding position on the rack or the front bumper.
[0029] Further, there are two of the bounce members, which are symmetrically provided on the front part of the rack or on the front end inner wall of the front bumper.
[0030] Further, the collision sensors include a first front collision sensor and a second front collision sensor symmetrically arranged on the front of the rack or on the front end inner wall of the front bumper, and a first side collision sensor and a second side collision sensor symmetrically arranged on both front sides of the rack or on the inner wall of the front bumper, respectively.
[0031] Furthermore, each of the collision sensors is provided near the front of the rack or near a corner of the front bumper.
[0032] Furthermore, the two rebound members are provided farther from the front of the rack or the corners of the front bumper than the collision sensor.
[0033] In order to more clearly describe the embodiments of the present disclosure or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art are briefly described below. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and those skilled in the art can obtain other drawings based on these drawings without creative labor. [Brief description of the drawings]
[0034] [Figure 1] FIG. 1 is a structural schematic diagram of a cleaning device provided according to an embodiment of the present disclosure; [Diagram 2] 2 is a structural schematic diagram of a certain viewing angle of the embodiment shown in FIG. [Figure 3a] FIG. 1 is a schematic diagram of a right side of a bumper of a cleaning device provided according to an embodiment of the present disclosure colliding with an obstacle; [Figure 3b] FIG. 3b is a schematic diagram of the cleaning device moving backward a first distance based on the position of FIG. 3a; [Figure 4a] FIG. 1 is a schematic diagram of a left side of a bumper of a cleaning device provided in accordance with an embodiment of the present disclosure colliding with an obstacle; [Figure 4b] FIG. 4b is a schematic diagram of the cleaning device moving backward by a first moving distance based on the position of FIG. 4a; [Figure 4c] FIG. 4B is a schematic diagram of the cleaning device after it has rotated a first rotation angle based on the attitude of FIG. [Figure 4d] 4c : A schematic diagram of the cleaning device after moving forward until it collides with an obstacle again based on the attitude of FIG. [Figure 4e] FIG. 4D is a schematic diagram of the cleaning device after it has rotated a second rotation angle based on the attitude of FIG. [Figure 4f] 4e is a schematic diagram of the cleaning device moving along an obstacle based on the posture of FIG. [Figure 4g] FIG. 4C is a schematic diagram showing a case where the cleaning device rotates and travels beyond the target obstacle approach position based on the attitude of FIG. [Figure 5a] FIG. 13 is a schematic diagram of a left side of a buffer of a cleaning device provided in accordance with another embodiment of the present disclosure colliding with an obstacle; [Figure 5b] FIG. 5b is a schematic diagram of the cleaning device moving backward a second distance based on the position of FIG. 5a; [Figure 5c] FIG. 5B is a schematic diagram of the cleaning device after it has rotated a second rotation angle based on the attitude of FIG. [Figure 5d] 5c , the cleaning device moves forward again until it collides with an obstacle. [Figure 5e]FIG. 5C is a schematic diagram of the cleaning device moving backward a third distance based on the attitude of FIG. 5D; [Figure 5f] FIG. 5E is a schematic diagram of the cleaning device after it has rotated a third rotation angle based on the attitude of FIG. [Figure 6] 1 is a flow diagram of a method for controlling a cleaning device provided in accordance with an embodiment of the present disclosure; [Figure 7] FIG. 1 is a schematic diagram illustrating the electronic structure of a cleaning device provided in accordance with an embodiment of the present disclosure. [Figure 8] FIG. 1 is a schematic block diagram of a control device for a cleaning device provided in accordance with an embodiment of the present disclosure. [Figure 9] FIG. 1 is a cross-sectional view of a cleaning device provided in accordance with an embodiment of the present disclosure; [Figure 10] FIG. 1 is a partial cross-sectional view of part A of a cleaning device provided in accordance with an embodiment of the present disclosure; [Figure 11] FIG. 1 illustrates a generalized cleaning device provided in accordance with an embodiment of the present disclosure. [Figure 12] FIG. 1 is a first perspective view of a rebound member provided in accordance with an embodiment of the present disclosure; [Figure 13] FIG. 2 is a second perspective view of a rebound member provided in accordance with an embodiment of the present disclosure; [Figure 14] FIG. 1 is a top view of a rebound member provided in accordance with an embodiment of the present disclosure; [Explanation of symbols]
[0035] 11 1st Front Crash Sensor 12 2nd Front Crash Sensor 13 1st Side Impact Sensor 14 2nd Side Impact Sensor 2. Rebound members 21 Elastic Arm 22 Contact part 23 Healing Arm 24 Healing Hook 25 Fixed Arm 26 Fixed hook 3. Front bumper 100 Cleaning equipment 110 Device body 111 Front part 112 Rear part 120 Sensing System 121 Positioning device 122 Buffer 130 Drive System 131 Drive Wheel 132 Driven Wheel 133 1st driving wheel 134 2nd drive wheel 140 Cleaning System 141 Dry Cleaning System 142 Wet Cleaning System 143 Side Brush 200 Obstacles 701 Processing equipment 702 ROM 703 RAM 704 Bus 705 I / O Interface 706 Input Device 707 Output Device 708 Storage device 709 Communication Equipment 800 Control Device 810 First Acquisition Module 820 First Decision Module 830 First Processing Module 840 Second Acquisition Module 850 Second Processing Module DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0036] Hereinafter, the embodiments of the present disclosure will be described in detail, examples of which are shown in the accompanying drawings, and the same or similar reference numerals always refer to the same or similar devices or devices having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are used only for the purpose of describing the present disclosure, and are not to be construed as limiting the present disclosure.
[0037] It will be understood by those skilled in the art that the singular forms "a," "one," "said," and "the" as used herein include the plural, unless otherwise specified. It should be further understood that the term "comprising" as used in the specification of this application means the presence of the above features, integers, steps, operations, devices, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, devices, components, and / or combinations thereof. It should be further understood that when a device is "connected" or "coupled" to another device, it may be directly connected or coupled to the other device, or may be connected through an intermediate device. Furthermore, "connected" or "coupled" as used herein includes wireless connection or wireless closeness. The term "and / or" as used herein includes all or any unit and all combinations of one or more associated listed items.
[0038] In order to make the objectives, technical solutions and advantages of the present application clearer, the following describes the embodiments of the present application in more detail with reference to the accompanying drawings.
[0039] The embodiments of the present disclosure provide possible application scenarios, including a cleaning device, where the cleaning device includes a self-propelled cleaning robot, such as a floor sweeping robot, a mopping robot, a vacuum cleaner, a weeder, etc. In some embodiments, as shown in FIG. 1 and FIG. 2, a household floor sweeping robot is taken as an example to explain, and the floor sweeping robot can clean according to a preset path or an automatically planned path in its working process, but will inevitably collide with an obstacle 200, such as a wall or a cabinet. At the same time, when the floor sweeping robot moves a small distance along the wall, it can clean the adjacent part of the floor surface and the wall, which contributes to improving the cleaning ability. Therefore, when the cleaning device moves a small distance along the wall more quickly after colliding with the obstacle 200, the cleaning efficiency of the cleaning device can be greatly improved, the problem of leaving the adjacent part of the floor surface and the wall can be effectively reduced, and the user's satisfaction with the use can be improved.
[0040] In an embodiment provided by the present disclosure, as shown in FIGS. 1 and 2, the cleaning apparatus includes an equipment body 110, a sensing system 120, a control system, a driving system 130, a cleaning system 140, an energy system and a man-machine interaction system.
[0041] The machine body 110 includes a front part 111 and a rear part 112, and has a substantially D-shaped shape with a rectangular front part and a circular rear part, i.e., the front part is substantially rectangular and the rear part is substantially circular, that is, the cleaning device can be a D-shaped floor sweeping robot. Of course, the machine body 110 can also be other shapes, such as a triangle, a rectangle, etc.
[0042] As shown in FIG. 2, the sensing system 120 includes a trigger member, a first detection member and a second detection member provided on the equipment body, where the trigger member is configured to be triggered by the cleaning device colliding with an obstacle 200, for example, the trigger member may be a collision sensor provided on a buffer 122 of the front portion 111 of the equipment body 110, a proximity sensor, or other structure that meets the requirements.
[0043] The first detection member is configured to sense an obstacle 200 around the device body, and for example, the first detection member includes a positioning device 121 provided on the upper part of the device body, where the positioning device 121 includes, but is not limited to, a camera and a laser distance sensor (LDS), and the laser distance sensor is located at the top end of the device body and rotates 360 degrees to emit laser light, and the reflected laser light can determine the direction of the obstacle 200 and the distance relationship between the obstacle 200 and the device body.
[0044] The second detection member is provided on one side of the device body and configured to detect an obstacle 200 on the side of the device body 110. For example, the second detection member may be a wall sensor or a small laser distance measuring device provided on the left or right side of the device body 110, and the second detection member can accurately detect the distance between a point on the side of the device body 110 and the device body 110. Specifically, if the second detection member can detect information about a wall, the control system can control the cleaning device to move along the wall at a small distance from the wall.
[0045] Furthermore, the sensing system 120 includes a cliff sensor provided at the bottom of the device body 110, and sensing devices such as a magnetometer, an accelerometer, a gyroscope (Gyro), and an odometer (ODO, odograph) provided inside the device body 110, and is configured to provide various position information and motion status information of the device to the control system.
[0046] As shown in Figures 1 and 2, the front part 111 of the equipment body 110 can carry a buffer 122, and during the cleaning process, when the driving wheel 131 propels the robot to run on the floor surface, the buffer 122 detects one or more events in the running path of the cleaning device through a trigger member, such as an infrared sensor, provided thereon, and the cleaning device controls the driving wheel 131 module to make the cleaning device respond to the event detected by the buffer 122, such as an obstacle 200, a wall, for example, to move away from the obstacle 200, to pass over the obstacle 200.
[0047] The control system is provided on a circuit board in the device body 110, and includes a computing processor, such as a central processing unit and an application processor, which communicates with a non-transitory memory, such as a hard disk, a flash memory, and a random access memory. The application processor draws a real-time map of the environment in which the robot is located by a positioning algorithm, such as SLAM (Simultaneous Localization And Mapping), based on the information of the obstacles 200 fed back by the laser distance measuring device. Then, in combination with the distance information and speed information fed back from the sensing devices, such as the sensor, cliff sensor, magnetometer, accelerometer, gyroscope, and odometer, provided on the buffer 122, the current working state, current position, and current attitude of the floor sweeper, such as exceeding the threshold 170, located on a cliff, stuck above or below, the dust box is full, lifted, etc., are comprehensively determined, and specific next operation strategies are given according to different situations, so that the work of the robot can better meet the requirements of the owner and obtain a better user experience.
[0048] As shown in FIG. 1 and FIG. 2, the drive system 130 can steer the robot to run across a floor surface based on a drive command including distance and angle information (e.g., x, y, and o components). The drive system 130 includes a drive wheel 131 and a drive module, and the drive module can simultaneously control the left drive wheel and the right drive wheel, and preferably the drive module includes a left drive wheel module and a right drive wheel module, respectively, in order to more accurately control the equipment movement. The left and right drive wheel modules are opposed along a lateral axis defined by the body 110. In order for the robot to move more stably on the floor surface or have a higher movement ability, the robot includes one or more driven wheels 132, and the driven wheels 132 include, but are not limited to, universal wheels. The drive module includes a drive motor and a control circuit for controlling the drive motor, and a circuit for measuring the drive current and an odometer may be further connected to the drive module. The drive module may be detachably connected to the body 110 for easy attachment, detachment, and maintenance. The drive wheels 131 may include an offset drop suspension system, being movably fixed, e.g., rotatably attached to the robot body 110, and receiving a downward offset and a spring offset that offsets away from the robot body 110. The spring offset allows the drive wheels 131 to maintain contact and traction with the floor surface with a constant landing force, while the cleaning device of the automatic cleaning apparatus also contacts the floor surface with a constant pressure.
[0049] Additionally, the cleaning device can march across a floor surface through various combinations of movement about three mutually perpendicular axes defined by the machine body: the front-to-rear axis X, the lateral axis Y, and the central vertical axis Z. The forward drive direction along the front-to-rear axis X is labeled "forward" and the rearward drive direction along the front-to-rear axis X is labeled "rear." The direction of the lateral axis Y is substantially the direction in which the axis center defined by the center point of the drive wheel 131 module extends between the right and left wheels of the robot.
[0050] Here, the cleaning device can rotate around the Y axis. When the front part 111 of the automatic cleaning device tilts upward and the rear part 112 tilts downward, this is called "pitch up", and when the front part 111 of the automatic cleaning device tilts downward and the rear part 112 tilts upward, this is called "pitch down". The robot can also rotate around the Z axis. When the automatic cleaning device tilts to the right of the X axis in front of the automatic cleaning device, this is called "right turn", and when the automatic cleaning device tilts to the left of the X axis, this is called "left turn". Here, the X axis and the Y axis are indicated by arrows in FIG. 1.
[0051] As shown in FIG. 1 and FIG. 2, the cleaning system 140 includes a dry cleaning system. As the dry cleaning system 141, the main cleaning function comes from the cleaning system composed of a roller brush, a dust box, a blower, an air outlet and the connecting members between them. The roller brush, which has some interference with the floor surface, sweeps up the debris on the floor surface to the front of the dust suction port between the roller brush and the dust box, and sucks it into the dust box through the suction gas generated by the blower that passes through the dust box. The dry cleaning system 141 may further include a side brush 143 having a rotating shaft, which is at a certain angle with respect to the floor surface and is configured to move the debris to the roller brush area of the cleaning system 140. Furthermore, the side brush 143 is located on the side of the equipment body 110 closer to the second detection member, and when the side of the cleaning device 10 where the second detection member is provided runs along the wall at a small distance from the wall, the side brush 143 can move debris in the corners and gaps between the floor surface and the wall to the roller brush area of the cleaning system 140, further realizing cleaning of the adjacent areas between the floor surface and the wall and achieving good cleaning efficiency.
[0052] It should be understood that the cleaning system may be a wet cleaning system, and the wet cleaning system 142 includes a cleaning head, a driving unit, a water supply mechanism, a liquid storage tank, etc. Here, the cleaning head may be provided below the liquid storage tank, and the cleaning liquid inside the liquid storage tank is transferred to the cleaning head through the water supply mechanism, so that the cleaning head can wet clean the surface to be cleaned. In another embodiment, the cleaning liquid inside the liquid storage tank may be directly sprayed onto the surface to be cleaned, and the cleaning head may evenly apply the cleaning liquid to achieve cleaning of the surface. Of course, the cleaning head may be a roller brush that has a water storage capacity, and the cleaning head stores water in a base station and then leaves the base station to perform wet cleaning. Here, the cleaning head is configured to clean the surface to be cleaned, and the driving unit is configured to drive the cleaning head to basically reciprocate along the target surface, and the target surface is a part of the surface to be cleaned. The cleaning head reciprocates along the surface to be cleaned, and a cleaning cloth or cleaning plate is provided on the contact surface of the cleaning head with the surface to be cleaned, and the reciprocating motion generates high-frequency friction with the surface to be cleaned to remove dirt on the surface to be cleaned.
[0053] Here, the energy system includes rechargeable batteries such as nickel-metal hydride batteries and lithium batteries. The rechargeable batteries are connected to a charging control circuit, a battery pack charging temperature detection circuit, and a battery voltage drop monitoring circuit, which are connected to a microcomputer control circuit. The host computer is connected to the charging pile for charging through a charging electrode provided on the side or bottom of the main body. If dust adheres to the exposed charging electrode, the plastic body around the electrode will melt and deform due to the cumulative effect of electric charge during the charging process, and the electrode itself will deform, making it impossible to continue normal charging.
[0054] The man-machine interaction system may include keys on a host panel, the keys being available to the user for function selection, and may further include a display screen and / or indicator lights and / or a speaker, the display screen, the indicator lights and the speaker being capable of displaying the current status or function options of the device to the user, and may further include a sub-machine client program. In the case of a route navigation type automatic cleaning device, the sub-machine client may display to the user a map of the environment in which the device is installed and the location of the device, providing the user with more abundant and user-friendly function items.
[0055] According to the control method of the cleaning device provided by the embodiment of the present disclosure, after the cleaning device collides with an obstacle 200 such as a wall or a cabinet during traveling, the number of collisions can be reduced as much as possible, and the cleaning device can quickly move along the wall or cabinet in a short distance, further improving the cleaning efficiency, effectively reducing the problem of leaving the adjacent area between the floor and the wall uncleaned, and improving the user experience.
[0056] As an embodiment of the present disclosure, as shown in FIG. 6, an embodiment of the present disclosure provides a method for controlling a cleaning device, including the following method steps.
[0057] Step S602: First detection information of the first detection member is obtained based on the triggering of the trigger member.
[0058] Here, when the trigger member is triggered, the cleaning device 100 collides with an obstacle 200 during forward movement, for example, when the buffer 122 of the cleaning device 100 collides with a wall, the operation of the collision sensor is triggered, i.e., the trigger member is triggered, and further, based on the information of the trigger member, it is possible to grasp the approximate position of the wall relative to the cleaning device 100 and the collision position of the device body 110 of the cleaning device 100. As shown in FIG. 4a, when the right side of the front part 111 of the cleaning device 100 collides with a wall, the trigger member can grasp that the wall is located to the right front of the cleaning device 100, as shown in FIG. 3a, when the left side of the front part 111 of the cleaning device 100 collides with a wall, the trigger member can grasp that the wall is located to the left front of the cleaning device 100, and when the middle position of the front part 111 of the cleaning device 100 collides with the wall, the trigger member can grasp that the wall is located in front of the cleaning device 100.
[0059] Since the first detection member is configured to sense information of the obstacle 200 around the cleaning device 100, and the second detection member is configured to sense information of the obstacle 200 on the cleaning device 100 side, the detection range of the second detection member is limited, and the obstacle 200 may be out of the detection range of the second detection member, that is, the control system may not be able to obtain the second detection information, that is, the cleaning device 100 may not be able to perform the obstacle-following operation. In a normal case, taking the cleaning device 100 as an example of a D-shaped device, the buffer 122 includes a front lateral segment and two side segments, and generally, the front lateral segment is provided with two collision sensors, i.e., two trigger members, and the two side segments are each provided with a collision sensor, i.e., the two side segments are each provided with a trigger member, so that when the cleaning device 100 collides with the obstacle 200, the position of the obstacle 200 relative to the device body 110 can be roughly confirmed based on a combination signal of one collision sensor or multiple collision sensors. In other words, after the trigger member is triggered, the relative positions of the cleaning device 100 and the obstacle 200 can be grasped by obtaining the detection information of the first detection member, which is convenient for guiding the subsequent operation of the cleaning device 100.
[0060] Specifically, the trigger member may be a collision sensor, for example, an optical cutoff switch type sensor or a Hall type sensor. After the trigger member of the cleaning device 100 is triggered, collision position information about the collision position of the cleaning device 100 can be sent to the control system via the collision sensor, so that the collision position of the cleaning device 100 can be determined, and the orientation of the obstacle 200 relative to the cleaning device 100 can be confirmed.
[0061] The first detection member may be a laser ranging sensor of the cleaning device 100, which is located at the upper end of the device body 110, emits laser light while rotating 360 degrees, and determines the distance and direction of the obstacle 200 relative to the cleaning device 100 based on the reflected laser light, and further determines the first detection information based on the above information.
[0062] Step S604: Determine a first moving distance based on at least the acquired first detection information. Step S606: After controlling the cleaning device to move backward by a first moving distance, a first obstacle approach operation is performed based on the first detection information.
[0063] Here, by determining the first movement distance based on at least the acquired first detection information, the first movement distance matches the relative positions of the obstacle 200 and the cleaning device 100, and the cleaning device 100 is moved backward by the first movement distance, whereby the cleaning device 100 is separated from the obstacle 200, the trigger state of the trigger member is released, and smooth movement of the cleaning device 100 can be ensured. By performing the first obstacle approaching operation based on the first detection information, different first obstacle approaching operations can be performed according to different first detection information, and further the number of times the cleaning device 100 collides with the obstacle 200 again can be reduced as much as possible, and the problem of leaving the adjacent part of the floor surface and the wall uncleaned can be reduced, which can contribute to improving the cleaning efficiency and cleaning effect.
[0064] It should be understood that the first movement distance can be determined by combining the self-structural parameters of the cleaning device 100 with the acquired first detection information. Here, the self-structural parameters of the cleaning device 100 may include a positional relationship of the geometric center of the second detection member with respect to the device body 110 of the cleaning device 100, a distance between the geometric center of the device body 110 of the cleaning device 100 and the collision position, etc.
[0065] Here, controlling the cleaning device 100 to move backward means controlling the cleaning device 100 to move backward while maintaining the posture of the cleaning device 100 colliding with the obstacle 200. That is, in the process of the cleaning device 100 moving backward, the cleaning device 100 moves backward along a straight line without rotating. Specifically, as shown in FIG. 3b and FIG. 4b, here, FIG. 3b is a schematic diagram of the cleaning device 100 moving backward by a first moving distance based on the posture of FIG. 3a, and FIG. 4b is a schematic diagram of the cleaning device 100 moving backward by the first moving distance based on the posture of FIG. 4a. Here, the first moving distance is indicated by D1 in FIG. 3b and FIG. 4b, here, in FIG. 3b and FIG. 4b, O1 is the geometric center when the cleaning device 100 collides with the obstacle 200, and O2 is the geometric center after the cleaning device 100 moves backward by the first moving distance D1.
[0066] Step S608: The second detection information of the second detection member is obtained. Step S610: Control the cleaning device to perform an obstacle-following operation based on the second detection information.
[0067] Here, after the cleaning device 100 performs the first obstacle approaching operation, the side of the cleaning device 100 where the second detection member is provided approaches the obstacle 200, and the second detection member can sense the obstacle 200, and thus the positional relationship between the cleaning device 100 and the obstacle 200, for example, the positional relationship between the cleaning device 100 and the wall, can be relatively accurately grasped by obtaining the second detection information of the second detection member, and further, the cleaning device 100 is made to perform an obstacle-following operation based on the second detection information, for example, the cleaning device 100 is controlled to move along the wall at a small distance from the wall. Note that in this case, the side brush 143 can move debris on the adjacent area between the floor surface and the wall to the roller brush area of the cleaning system, and further cleaning of the adjacent area between the floor surface and the wall can be realized.
[0068] Here, the first obstacle approach operation refers to an operation of moving one side of the cleaning device closer to an obstacle, and the obstacle-following operation refers to an operation of moving the cleaning device along the obstacle while maintaining a constant distance from the obstacle.
[0069] Here, the second detection member may be a small laser distance sensor provided on the side of the device body 110, for example, the second detection member is provided on the right side of the device body 110, and can accurately detect the distance between one point on the obstacle 200 on the right side of the device body 110 and the device body 110. The first detection member detects the distance between the obstacle 200 around the device body 110 and the device body 110, but the accuracy is somewhat low. That is, the first detection member is mainly configured to determine the position of the wall, the length of the wall, and the relative position between the wall and the device body 110, and the first detection member is rotatably provided on the device body 110. The second detection member is configured to receive and transmit a reflected signal from the side of the device body 110 in a certain direction, and when the device body 110 is parallel to the wall surface, a high-precision distance sensor such as the second detection member realizes running along the wall at the millimeter level. That is, when the second detection member can detect the information of the wall, the control system controls the cleaning device 100 to move along the wall at a small distance from the wall.
[0070] That is, in the control method of the cleaning device 100 provided by the embodiment of the present disclosure, when the cleaning device 100 collides with the obstacle 200 during forward movement and the operation of the trigger member is triggered, the positional relationship of the obstacle 200 with respect to the cleaning device 100 can be grasped, and the first movement distance can be determined by obtaining the first detection information of the first detection member, and the cleaning device 100 is controlled to move backward by the first distance, so that the cleaning device 100 is separated from the obstacle 200 and the smooth movement of the cleaning device 100 can be ensured. Next, by performing a different first obstacle approach operation based on the different first detection information, the number of times the cleaning device 100 collides again with the obstacle 200 can be reduced as much as possible, and at the same time, the second detection member detects the obstacle 200 and causes the cleaning device 100 to perform an obstacle along-travel operation based on the second detection information, so that the cleaning device 100 can quickly travel along the obstacle, and the problem of leaving the adjacent part of the floor and the wall uncleaned can be reduced, the cleaning efficiency can be greatly improved, and a good cleaning effect can be ensured.
[0071] Furthermore, the first detection information includes at least a first angle between the device body and the obstacle, a vertical distance between the device body and the obstacle, and a horizontal distance between the device body and the target end of the obstacle, where the target end of the obstacle is located on the front side of the cleaning device away from the second detection member, i.e., the target end of the obstacle is an end reached before the cleaning device performs the obstacle-along-travel operation. Note that the first detection information may be other parameters that meet the requirements, which are configured to characterize the positional relationship between the device body and the obstacle and the positional relationship between the target end of the obstacle and the device body that triggers the operation of the trigger member.
[0072] Here, as shown in Figures 3a and 4a, the first angle β1 between the device body 110 and the obstacle 200 may be the angle between the front-to-rear center line m1 of the device body 110 and the horizontal plane projection of the surface of the obstacle 200, where the first angle is indicated by β1, as shown by the straight line m1 in Figures 3a and 4a.
[0073] The vertical distance d between the device body 110 and the obstacle 200 may be the vertical distance between the geometric center O of the projection of the device body 110 in a horizontal plane and the surface of the obstacle 200, where the geometric center O of the projection of the device body 110 in a horizontal plane may be the intersection of the front-to-back center line m1 and the left-to-right center line m2 of the device body 110.
[0074] The horizontal distance L between the equipment body 110 and the target end Q of the obstacle 200 may be the horizontal distance between the horizontal projection of the geometric center O of the equipment body 110 on the obstacle 200 and the target end Q of the obstacle 200, where the target end Q of the obstacle 200 is the end reached before the cleaning device 100 performs the obstacle-along-travel operation. The target end of the obstacle 200 is indicated by the letter Q, where the target end Q of the obstacle 200 is located on the front side of the cleaning device 100 away from the second detection member, and the horizontal distance L between the device body 110 and the target end Q of the obstacle 200 can determine whether the first obstacle approach operation of the cleaning device 100 can be completed smoothly. For example, as shown in FIG. 4g, if the horizontal distance L between the device body 110 and the target end Q of the obstacle 200 is short, the first obstacle approach operation cannot be completed, the wall length is insufficient, and the second detection member on the side of the device body 110 cannot detect the wall, and the obstacle along travel operation cannot be performed smoothly, or the device body 110 cannot trigger the trigger member again in the obstacle approach operation, and the subsequent obstacle following operation cannot be completed. Therefore, the horizontal distance L between the device body 110 and the target end Q of the obstacle 200 plays an important role in the execution of the subsequent obstacle approach operation. Specifically, the horizontal distance L between the device body 110 and the target end Q of the obstacle 200 is indicated by L in FIG. 3a and FIG. 4a.
[0075] In the above embodiment, step S604 includes the following method steps:
[0076] Step S604-2: Determine a first moving distance based on the first angle, the vertical distance between the device body and the obstacle, and the horizontal distance between the device body and the target end of the obstacle.
[0077] The first angle β1, the vertical distance d between the device body 110 and the obstacle 200, and the horizontal distance L between the device body 110 and the target end Q of the obstacle 200 can reflect the specific positional relationship between the cleaning device 100 and the obstacle 200 and between the cleaning device 100 and the target end Q of the obstacle 200. Therefore, by determining the first moving distance D1 based on the first angle β1, the vertical distance d between the device body 110 and the obstacle 200, and the horizontal distance L between the device body 110 and the target end Q of the obstacle 200, after the cleaning device 100 moves backward by the first moving distance D1, in the process of performing the first obstacle approach operation based on the first detection information, the possibility that the trigger member operation will be triggered again can be reduced, that is, the number of collisions between the cleaning device 100 and the obstacle 200 can be reduced as much as possible, and at the same time, the area left unswept can be reduced and the cleaning efficiency can be improved.
[0078] Specifically, during the backward movement of the cleaning device 100, it is possible to ensure that the cleaning device 100 moves backward a correct distance in the current posture using data from the odometer of the driving wheel 131. That is, during the backward movement of the cleaning device 100, when the change information of the odometer matches the first movement distance D1, the backward movement of the cleaning device 100 is stopped, and at this time, it is possible to ensure that the backward movement distance of the cleaning device 100 is the first movement distance D1.
[0079] In some possible embodiments provided by the present disclosure, step S610: controlling the cleaning device to perform an obstacle-following operation based on the second detection information includes the following method steps:
[0080] Step S610-2: Determine a first rotation angle based on the first angle. Step S610-4: The cleaning device is controlled to rotate by a first rotation angle in a direction away from the second detection member. Step S610-6: The cleaning device is controlled to move forward based on the horizontal distance between the device body and the target end of the obstacle.
[0081] In this embodiment, the first angle β1 can characterize the tilt position of the cleaning device 100 relative to the obstacle 200, so that the first rotation angle α1 is determined based on the first angle β1, so that the first rotation angle is associated with the current tilt state of the cleaning device 100 relative to the obstacle 200, and then, as shown in FIG. 4c, the cleaning device 100 is controlled to rotate away from the second detection member by the first rotation angle α1, so that the forward direction of the cleaning device 100 after rotation is maintained within a good angle range relative to the obstacle 200, and the cleaning device 100 can move quickly near the obstacle 200, so that the second detection member approaches toward the obstacle 200, and the second detection member obtains the second detection information early, and the cleaning device 100 can perform the obstacle-following operation. Here, FIG. 4c is a schematic diagram of the cleaning device 100 after rotating at the first rotation angle based on the posture of FIG. 4b, where the first rotation angle is indicated by α1 in FIG. 4c.
[0082] Specifically, a preferred obstacle approach angle θ of the cleaning device 100 can be calculated based on the first angle β1, the vertical distance d between the device body 110 and the obstacle 200, and the horizontal distance L between the device body 110 and the target end Q of the obstacle 200, where the obstacle approach angle θ refers to the angle between the center line of the device body 110 of the cleaning device 100 in the front-rear direction and the horizontal plane projection of the surface of the obstacle 200 when the cleaning device 100 performs the first obstacle approach operation, and is indicated by θ in FIG. 4c. Usually, the preferred obstacle approach angle θ is less than 45°. Then, a first rotation angle α1 can be determined based on the calculated preferred obstacle approach angle θ and the first angle β1, that is, the first rotation angle α1 is understood to be the difference between the first angle β1 and the preferred obstacle approach angle θ. Here, by monitoring the data of the gyroscope to control the differential rotation of the left and right wheels, it is possible to realize the cleaning device 100 to rotate on-site by the first rotation angle α1 to the side away from the second detection member.
[0083] In some possible implementations provided by the present disclosure, step S610-6 includes the following method steps:
[0084] Step S610-6-11: Based on the fact that the horizontal distance between the device body and the target end of the obstacle is equal to or greater than a predetermined value, the cleaning device is controlled to move forward. Step S610-6-12: Based on the trigger member being triggered again, a second angle between the device body and the obstacle at the current position is obtained. Step S610-6-13: A second rotation angle is determined based on the second angle. Step S610-6-14: The cleaning device is controlled to rotate by a second rotation angle in a direction away from the second detection member.
[0085] Here, the predetermined value refers to a value of the horizontal distance for adjusting the cleaning device 100 to a state in which the second detection member can detect information of the obstacle 200 and the cleaning device 100 can stably travel along the obstacle after the cleaning device 100 smoothly completes the first obstacle approaching operation with respect to the obstacle 200. For example, a target obstacle entry position of the cleaning device 100 is set in the extension direction of the obstacle 200, and the target obstacle entry position is indicated by the letter P, and the target obstacle entry position P is located on the front side of the cleaning device 100 away from the second detection member, and the target obstacle entry position P can be a position relative to the obstacle 200 when the cleaning device 100 switches from the first obstacle approaching operation to the obstacle along-traveling operation, i.e., after the cleaning device 100 passes the target obstacle entry position P, the cleaning device can be controlled to perform the obstacle along-traveling operation based on the information of the obstacle detected by the second detection member. Here, the predetermined value is the horizontal distance between the projection of the geometric center of the device body 110 of the cleaning device 100 onto the obstacle and the target obstacle approach position P, which is indicated by H in Figs. 4d and 4g.
[0086] Specifically, the predetermined value may be preset in the system, or may be calculated by the system based on the attitude and position of the cleaning device 100 when it collides with the obstacle 200, and the structural parameters of the cleaning device 100 itself. For example, the system calculates a reasonable predetermined value based on parameters such as the first angle between the device body 110 and the obstacle 200 in the first detection information, the vertical distance between the device body 110 and the obstacle 200, the horizontal distance between the device body 110 and the target end Q of the obstacle 200, the distance between the geometric center of the device body 110 of the cleaning device 100 and the collision position, and the relative position of the geometric center of the device body 110 and the second detection member, so as to ensure that after the cleaning device 100 smoothly completes the first obstacle approach operation with respect to the obstacle 200, the cleaning device performs the obstacle-following operation when the second detection member can detect the information of the obstacle 200.
[0087] In this embodiment, as shown in Figures 4d and 4e, when the horizontal distance L between the device body 110 and the target end Q of the obstacle 200 is equal to or greater than a predetermined value H, it means that the obstacle 200 is long enough and the cleaning device 100 can smoothly complete the first obstacle approaching operation, that is, after the cleaning device 100 performs the first obstacle approaching operation, the second detection member can detect the information of the obstacle, and the cleaning device 100 can perform the obstacle following operation based on the obstacle 200. Therefore, as shown in Figures 4c and 4d, the cleaning device 100 is controlled to move forward, that is, the cleaning device 100 moves forward in the direction approaching the obstacle 200 at a preferred obstacle approach angle θ, and when the trigger member is triggered again, the cleaning device 100 collides with the obstacle 200 again. At this time, a second angle β2 between the device body 110 and the obstacle 200 at the current position is obtained, where the second angle β2 is the angle between the center line of the device body 110 in the forward / rearward direction under the current attitude and the surface of the obstacle 200. Then, a second rotation angle α2 is determined based on the second angle β2, and the cleaning device 100 is rotated away from the second detection member by the second angle α2, as shown in FIG. 4e, so that the trigger member is released, that is, the buffer 122 of the cleaning device 100 is separated from the obstacle 200, and the second detection member can sense the obstacle 200, that is, the second detection member can feed back the second detection information. Therefore, as shown in FIG. 4f, the control system can control the cleaning device 100 to run along the obstacle based on the second detection information.
[0088] In the above embodiment, determining the second rotation angle based on the second angle specifically includes: Determining a second rotation angle based on the second angle and an installation position of the second detection member relative to the device body.
[0089] Since the cleaning device 100 needs to be controlled to perform the obstacle-following operation based on the second detection information of the second detection member, the second detection member can detect the obstacle 200 early during the traveling process of the cleaning device 100, and the cleaning device 100 can perform the obstacle-following operation early. If the installation position of the second detection member with respect to the device body 110 is different and the cleaning device 100 rotates at different angles in the same posture, the second detection member can detect the obstacle 200. Therefore, by determining the second rotation angle α2 based on the second angle β2 and the installation position of the second detection member relative to the equipment body 110, after the cleaning device 100 rotates away from the second detection member by the second rotation angle α2, the trigger member is released, and at the same time, the second detection member can sense the obstacle 200, i.e., the second detection member can feed back the second detection information, and by rotating two or more times more, the trigger member is avoided from being released and the second detection member can sense the obstacle 200, thereby greatly improving the efficiency of the cleaning device 100 performing the obstacle-following operation.
[0090] Specifically, the second detection member is provided on the right side of the device body 110, and the distance between the second detection member and the front end of the device body 110 is a fixed value, for example, 9 cm to 15 cm, and the distance between the second detection member and the front end of the device body 110 may be, for example, 9 cm, 11 cm, 13 cm, 15 cm, or other values that meet the requirements, and the distance between the second detection member and the front end of the device body 110 has a proportional relationship with the size of the device body 110 in the front-rear direction, for example, the distance between the second detection member and the front end of the device body 110 may be 0.3 times, 0.4 times, 0.6 times the size of the device body 110 in the front-rear direction, or other values that meet the requirements, and is not specifically limited in the present disclosure. As a result, the second detection member can sense the obstacle 200 only when the angle between the cleaning device 100 and the obstacle 200 reaches a certain range. For example, if the distance between the second detection member and the front end of the device body 110 is 11 cm, the second detection member can only detect the wall when the angle between the device body 110 and the wall surface is within a certain angle range, for example, 27°, and therefore, in order to realize the obstacle-following operation, the cleaning device 100 needs to be rotated within the angle range early. Therefore, by determining the second rotation angle α2 based on the second angle β2 and 27°, after the cleaning device 100 rotates to the left by the second rotation angle α2, the trigger member is released and the second detection member can detect the wall.
[0091] In some possible implementations provided by the present disclosure, step S610-6 includes the following method steps:
[0092] S610-6-21: Based on the fact that the horizontal distance between the device body and the target end of the obstacle is less than a predetermined value, the cleaning device is controlled to move away from the second detection member at a first linear velocity and a first angular velocity, and if the trigger member is not triggered when a predetermined time has elapsed, the cleaning device is controlled to perform an obstacle search operation.
[0093] In this embodiment, as shown in FIG. 4g, when the horizontal distance L between the device body 110 and the target end Q of the obstacle 200 is less than a predetermined value H, i.e., the obstacle 200 is short, the cleaning device 100 cannot smoothly complete the first obstacle approach operation, and the combination of various sensors of the cleaning device 100 cannot realize the stable obstacle along-travel operation of the cleaning device 100. Therefore, as shown in FIG. 4g, the cleaning device 100 is controlled to move away from the second detection member at a first linear velocity and a first angular velocity, i.e., the cleaning device 100 is tilted as a whole to approach the obstacle 200, greatly increasing the cleaning area and achieving full cleaning as much as possible, and this traveling state is maintained. If the trigger member is not triggered after a predetermined time has elapsed, it means that the front part 111 of the cleaning device 100 has passed the obstacle 200, and then the cleaning device 100 is controlled to perform an obstacle search operation to search for a new obstacle 200 and realize the obstacle along-travel operation.
[0094] Here, the predetermined time may be 400 ms, 500 ms, 600 ms, or other time that meets the requirements, and the predetermined time is within a reasonable range to ensure that the front part 112 of the cleaning device 100 passes the target end Q of the obstacle 200, such as a wall corner, and further to avoid the cleaning device 100 colliding with the wall corner and wasting time in the process of performing the obstacle searching operation.
[0095] Specifically, the first linear velocity and the first angular velocity may be predetermined values of the control system. For example, in the case where the second detection member is provided on the right side of the device body 110 of the cleaning device 100, when the horizontal distance between the target obstacle entry position and the device body 110 is less than a predetermined value, the cleaning device 100 is controlled to rotate and move leftward at the first linear velocity and the first angular velocity.
[0096] In the above embodiment, the obstacle searching operation includes controlling the cleaning apparatus to move at an obstacle searching linear velocity and an obstacle searching angular velocity towards the side where the second detection member is provided until the trigger member is triggered.
[0097] In this embodiment, in order for the second detection member to detect the obstacle 200 early and for the cleaning device 100 to perform the obstacle-following operation to clean the adjacent area between the floor surface and the wall, the cleaning device 100 should be controlled to rotate and move toward the side where the second detection member is installed until the trigger member is triggered, which means that the cleaning device 100 collides with the obstacle 200, i.e., the obstacle 200 is found and the obstacle search operation is completed.
[0098] Here, by controlling the cleaning device 100 to rotate and move toward the side where the second detection member is provided, the probability that the second detection member will detect the obstacle 200 during the process of moving the cleaning device 100 until the trigger member is triggered is increased, which is advantageous in improving the efficiency with which the cleaning device 100 detects the appearance of the obstacle 200 or performs the operation of traveling along the obstacle.
[0099] Specifically, the cleaning device 100 is controlled to move to the side where the second detection member is provided at an obstacle search linear velocity and an obstacle search angular velocity, where the obstacle search linear velocity and the obstacle search angular velocity may be predetermined values of the control system. Taking the case where the second detection member is provided on the right side of the device body 110 of the cleaning device 100 as an example, as shown in FIG. 4g, when the horizontal distance between the device body 110 and the target end Q of the obstacle 200 is less than a predetermined value, the cleaning device 100 is controlled to rotate and move to the left at a first linear velocity and a first angular velocity. When the trigger member is not triggered after a predetermined time has elapsed, it means that the trigger member has passed the target obstacle entry position P, and then the cleaning device 100 is controlled to move to the right at the obstacle search linear velocity and the obstacle search angular velocity, that is, to move forward while rotating to the right along the arrow in FIG. 4g. At this time, the cleaning device 100 does not collide with the target end Q of the obstacle 200, and the second detection member can sense the vertical wall connected to the wall just after it has been passed, and the cleaning device 100 can quickly perform the obstacle-following operation to realize cleaning of the adjacent partial area of the floor surface and the new wall.
[0100] In some possible embodiments provided by the present disclosure, the control method further includes the following steps: Step S612: Based on the fact that the first detection information has not been acquired, the cleaning device is controlled to move backward a first predetermined distance and rotate a second predetermined angle away from the second detection member, and then an obstacle search operation is performed.
[0101] In this embodiment, as shown in FIG. 5a, when the trigger member is triggered and the first detection information is not obtained, for example, after the cleaning device 100 collides with an obstacle 200, the first detection member fails to sense, for example, the height of the obstacle 200 is too low for the first detection member to sense, or the obstacle 200 is a light absorbing material so that the second detection member cannot receive a return signal of sufficient strength. At this time, as shown in FIG. 5b, the control system controls the cleaning device 100 to retreat a first predetermined distance D01, so that the cleaning device 100 is separated from the obstacle 200 and the trigger state of the trigger member is released, thereby realizing smooth movement of the cleaning device 100. Then, as shown in FIG. 5c, the cleaning device 100 is rotated a second predetermined angle δ1 away from the second detection member, and then an obstacle search operation is performed to search for a new obstacle 200. In the process of moving the cleaning device 100 until the trigger member is triggered again, the probability that the second detection member will detect the obstacle 200 is increased, and further the efficiency of the cleaning device 100 in finding the obstacle 200 or performing the obstacle-following operation can be improved.
[0102] Here, the obstacle search operation includes controlling the cleaning device 100 to rotate toward the side where the second detection member is provided until the trigger member is triggered. For example, when the cleaning device 100 is moved toward the side where the second detection member is provided at an obstacle search linear velocity and an obstacle search angular velocity until it collides with the obstacle 200 and the trigger member is triggered, it means that the cleaning device 100 has found the obstacle 200 again, and the obstacle 200 may be a reference when the cleaning device 100 performs the obstacle-following operation, i.e., when the second detection member detects the obstacle 200, the cleaning device 100 can perform the obstacle-following operation.
[0103] Here, the second predetermined angle δ1 may be a predetermined value of the control system, and by moving the cleaning device 100 backward by the first predetermined distance D01 and then rotating it by the second predetermined angle δ1 away from the second detection member, it is possible to avoid a situation in which the first detection member still cannot detect the obstacle 200 after the cleaning device 100 moves forward again in the current posture and collides with the obstacle 200, and by controlling the cleaning device 100 to perform an obstacle search operation after rotating by the second angle δ1, it is possible to improve the possibility that the first detection member can detect the obstacle 200 after the cleaning device 100 collides with the obstacle 200 again, which in turn increases the probability of the second detection member detecting the obstacle 200 and further improves the efficiency of the cleaning device 100 in performing the obstacle-following operation.
[0104] Furthermore, if, after the cleaning device 100 has been moved backward a first predetermined distance D01 and rotated a second predetermined angle δ1 away from the second detection member and an obstacle search operation has been performed to search for the obstacle 200, if the control system still cannot obtain the first detection information, i.e., the first detection member still cannot sense the obstacle 200, then, as shown in Figures 5d and 5e, the cleaning device 100 can be controlled to be moved backward again a third predetermined distance D02 and rotated a third predetermined angle δ2 away from the detection member, and then the obstacle search operation can be performed.
[0105] As shown in FIG. 8 , an embodiment of the second aspect of the present disclosure provides a control device 800 for a cleaning device, the cleaning device including a device body, a trigger member, a first detection member, and a second detection member provided on the device body, the trigger member is configured to be triggered when the cleaning device collides with an obstacle, the first detection member is configured to detect an obstacle on the periphery of the device body, the second detection member is provided on one side of the device body and configured to detect an obstacle on the side of the device body, and the control device 800 includes: The cleaning device includes a first acquisition module 810 configured to acquire first detection information of a first detection member based on the trigger member being triggered, a first determination module 820 configured to determine a first movement distance based on at least the acquired first detection information, a first processing module 830 configured to control the cleaning device to move backward by the first movement distance and then perform a first obstacle approach operation based on the first detection information, a second acquisition module 840 configured to acquire second detection information of a second detection member, and a second processing module 850 configured to control the cleaning device to perform an obstacle-following operation based on the second detection information.
[0106] The cleaning device control device 800 provided by the present disclosure can grasp the positional relationship of the obstacle 200 relative to the cleaning device 100 when the cleaning device collides with an obstacle during forward movement and triggers the operation of the trigger member, and can determine a first movement distance by acquiring first detection information of the first detection member by a first acquisition module 810, and can further control the first processing module 830 to move the cleaning device backward by the first distance and separate the cleaning device from the obstacle, thereby ensuring smooth movement of the cleaning device. Then, the first processing module 830 can perform a different first obstacle approach operation based on the different first detection information, so as to reduce the number of times the cleaning device collides with the obstacle again as much as possible; at the same time, the second detection member can sense the obstacle, the second acquisition module 840 can acquire the second detection information, and the second processing module 850 can control the cleaning device to perform an obstacle-following operation based on the second detection information, so that the cleaning device can quickly run along the obstacle, and the problem of leaving the adjacent parts of the floor and the wall uncleaned can be reduced, the cleaning efficiency can be greatly improved, and a good cleaning effect can be ensured.
[0107] As an example, the first detection information includes at least a first angle between the equipment body and the obstacle, a vertical distance between the equipment body and the obstacle, a horizontal distance between the equipment body and the target end of the obstacle, and the target end of the obstacle is located on a side away from the second detection member in front of the cleaning apparatus, where the first determination module 820 includes a first determination unit configured to determine a first movement distance based on the first angle, the vertical distance between the equipment body and the obstacle, and the horizontal distance between the equipment body and the target end of the obstacle.
[0108] As an example, the first processing module 830 includes a second determination unit configured to determine a first rotation angle based on the first angle, a first processing unit configured to rotate the cleaning device away from the second detection member by the first rotation angle, and a second processing unit configured to control the cleaning device to move forward based on the horizontal distance between the equipment body and the target end of the obstacle.
[0109] As an example, the second processing unit includes a first processing subunit configured to control the cleaning device to move forward based on the horizontal distance between the equipment body and the target end of the obstacle being greater than or equal to a predetermined value, a first acquisition submodule configured to control the cleaning device to acquire a second angle between the equipment body and the obstacle at the current position based on the trigger member being triggered again, a first determination subunit configured to determine a second rotation angle based on the second angle, and a second processing subunit configured to control the cleaning device to rotate by the second rotation angle away from the second detection member.
[0110] As an example, the first determining subunit specifically includes determining a second rotation angle based on the second angle and an installation position of the second detection member relative to the device body.
[0111] As an example, the second processing unit includes a third processing subunit configured to control the cleaning device to move away from the second detection member at a first linear velocity and a first angular velocity based on the horizontal distance between the device body and the target end of the obstacle being less than a predetermined value, and to control the cleaning device to perform an obstacle search operation if the trigger member is not triggered after a predetermined time has elapsed.
[0112] As an example, the control device 800 of the cleaning device further includes a third processing module configured to control the cleaning device to move backward a first predetermined distance and rotate a second predetermined angle away from the second detection member based on the first detection information not being obtained, and then perform an obstacle search operation.
[0113] As an example, the obstacle-seeking operation includes controlling the cleaning device to move and rotate in a direction toward the side where the second detection member is provided at an obstacle-seeking linear velocity and an obstacle-seeking angular velocity until the trigger member is triggered.
[0114] An embodiment of the present disclosure provides a cleaning device having a processor and a memory, wherein the memory stores computer program instructions executable by the processor, and when the processor executes the computer program instructions, the steps of the cleaning device control method of any embodiment are realized.
[0115] As shown in Fig. 7, the cleaning device includes a processing unit 701 (e.g., a central processor, a graphic processor, etc.) for implementing various suitable operations and processes by executing programs in a read only memory (ROM 702) or programs loaded from a storage device 708 into a random access memory (RAM 703). In the RAM 703, various programs and data required for the operation of the electronic robot are stored. The processing unit 701, the ROM 702 and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface is also connected to the bus 704.
[0116] Typically, input devices 706 including a touch screen, touch pad, keyboard, mouse, camera, microphone, sensing device, etc., output devices 707 including a liquid crystal display (LCD), speaker, vibrator, etc., storage devices 708 including a hard disk, etc., and communication devices 709 are connected to the I / O interface 705. The communication devices 709 enable the cleaning robot to communicate wirelessly or wired with other base stations to exchange data, for example, the communication devices 709 can realize communication between the cleaning robot and a base station or a remote mobile device. Although FIG. 7 illustrates a cleaning device with various devices, it should be understood that it is not necessary to implement or include all the devices illustrated. More or less devices may alternatively be implemented or included.
[0117] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowcharts may be implemented as a robot software program. For example, an embodiment of the present disclosure includes a robot software program product, which includes a computer program carried on a readable medium, the computer program including a program code of the method shown in the flowchart of FIG. 6. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device 709, or may be installed from a storage device 708, or may be installed from a ROM 702. When the computer program is executed by the processing device 701, it performs the functions defined in the method of the embodiment of the present disclosure.
[0118] It should be noted that the computer readable medium described in this disclosure may be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium may be, for example, but is not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of the computer readable storage medium include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM 703), a read only memory (ROM 702), an erasable programmable read only memory (EPROM 702 or flash), an optical fiber, a portable compact disk read only memory (CD-ROM 702), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, the computer readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus or device. In this disclosure, the computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying the computer readable program code. Such propagated data signals include, but are not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that transmits, propagates, or transmits a program that may be used by or in combination with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted over any suitable medium, including, but not limited to, electrical wire, optical cable, RF (radio frequency), or the like, or any suitable combination of the foregoing.
[0119] The computer-readable medium may be included in the robot, or may exist independently without being incorporated in the robot.
[0120] Computer program code for carrying out the operations of the present disclosure can be written in one or more program design languages or a combination thereof, including object oriented program design languages such as Java, Smalltalk, C++, and traditional procedural program design languages such as "c" or similar program design languages. The program code may run entirely on the user's computer, partially on the user's computer, as one separate software packet, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
[0121] In the case of a remote computer, the remote computer may be connected to the user computer via any type of network, such as a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).
[0122] The flowcharts and block diagrams in the accompanying drawings illustrate possible architectures, functions and operations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams represents a module, program segment or part of code, which includes one or more executable instructions for implementing a certain logical function. It should be noted that in alternative implementations, the functions shown in the blocks may occur in a different order than that shown in the accompanying drawings. For example, it should be noted that two connected blocks may be executed substantially in parallel or in reverse order depending on the related functions. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts may be implemented by a dedicated hardware-based system for executing a certain function or operation, or by a combination of dedicated hardware and computer instructions.
[0123] The present disclosure further provides a cleaning device for front bumper bounce.
[0124] FIG. 11 is a top view of a cleaning device for front bumper bounce, the cleaning device as a whole is divided into two parts, front and rear, the front part is approximately rectangular / square configuration, the front bumper 3 is provided outside the square configuration of the cleaning device, the front bumper 3 is divided into a front straight segment and a side straight segment, forming approximately rounded corners at the junction of the front straight segment and the side straight segments on both sides, the front shape of the cleaning device rack corresponds to the shape of the front bumper 3. It should be understood that in the process of running the cleaning device, when the front part collides, the front bumper 3 moves relative to the rack along a direction perpendicular to the front straight segment of the cleaning device, and when the side part collides, the front bumper 3 moves relative to the rack along a direction perpendicular to the side straight segment of the cleaning device. The rear part of the cleaning device is approximately circular configuration. With such a setting, a cleaning member is provided at the bottom of the rack of the front square configuration of the cleaning device, the cleaning member is substantially across the width of the front part, closer to the front of the device travel direction, and in the process of cleaning the surface to be cleaned, the corner cleaning can be more effectively achieved.
[0125] In FIG. 9, at least one collision sensor is provided on the front and side of the cleaning device rack, which can send response data or signals to the control unit in response to a collision during the traveling process of the cleaning device, and the control unit can further control the drive wheels and cleaning unit of the cleaning device to achieve the purpose of obstacle avoidance or changing the cleaning characteristics. The obstacle avoidance can be an operation to go around an obstacle or move away from an obstacle, and the change of the cleaning characteristics can be a change of the working mode of the cleaning unit (such as the output of the side brush, main brush, mopping member, dust suction blower, etc.). Of course, the collision sensor can be provided on the front end inner wall and / or side wall of the front bumper, and its working mode is similar to the setting on the rack described above, except that in the actual design, wiring is also involved, and the setting on the rack contributes to the installation of wiring, so this embodiment will be described by taking the case where the collision sensor is provided on the rack as an example.
[0126] In order to optimize the detection of obstacles, two front collision sensors may be symmetrically provided at the front and one side collision sensor each at the side, i.e., a first front collision sensor 11, a second front collision sensor 12, a first side collision sensor 13, and a second side collision sensor 14 as shown in Fig. 9 may be provided. Of course, the specific settings are not limited to the positions and numbers described in the embodiment, and are not specifically limited in this embodiment.
[0127] According to the above setting, when the front straight segment of the front bumper 3 collides with an obstacle, the front bumper 3 moves along a direction perpendicular to the front straight segment relative to the rack, and when it moves a certain distance, the two collision sensors installed at the front are triggered. In addition, during the collision process, the front bumper 3 does not move strictly in a direction perpendicular to the front straight segment, and the movement of the front bumper 3 in that direction is distorted to a certain extent depending on the collision position, and the occurrence of distortion is understandable. For example, when it collides exactly at the location of one collision sensor, the corresponding position of the front bumper 3 is directly urged to move relative to the rack, and the entire front bumper 3 is driven to move relative to the rack, that is, the movement of the front bumper 3 is such that when the collision point is pressed by an external collision object, the point moves, and other points on the front bumper 3 that are far from the point move and are driven to be displaced. At this time, the collision sensor closer to the collision point is triggered before other collision sensors that are far from the collision point, and based on this principle, it is possible to identify a specific collision point based on the trigger order or time of multiple sensors. The side straight segments are shorter than the front straight segments, and the requirement can be met by providing only one collision sensor on the side, and the number and position of the collision sensor are not limited, of course.
[0128] The front bumper 3 needs to recover after being hit and moving relative to the rack so that it can handle the next collision. For this reason, the rack can be provided with multiple bounce members or recovery mechanisms to achieve recovery of the front bumper 3, and in the case of the irregular cleaning device described in this embodiment, particularly the cleaning device with a square front structure, it is also necessary to effectively position the recovery of the front bumper 3. Of course, the bounce members may be provided on the inner wall of the front bumper, but due to space limitations, this embodiment will specifically describe the case where the bounce members are provided on the rack, but does not exclude the case where the bounce members are provided on the front bumper. As shown in Figure 10, a rebound member 2 is provided on the rack, and the rebound member 2 has each part shown in Figures 13 to 15, which is an elastic arm 21, a recovery arm 23 and a fixed arm 25 provided at both ends of the elastic arm 21, the elastic arm 21 and the recovery arm 23 forming an acute angle, a recovery hook 24 provided at the other end of the recovery arm 23 and a fixed hook 26 provided at one end of the fixed arm 25, and a contact part 22 formed at the intersection of the elastic arm 21 and the recovery arm 23.
[0129] The rack is provided with corresponding structures for the fixed arms 25 and fixed hooks 26, and in order to more stably and fixedly connect the bouncing member 1 to the rack, there are two fixed arms 25, which are arranged symmetrically parallel to the elastic arm 21, and the fixed hooks 26 are hooked onto corresponding structures on the rack, thereby restricting the displacement of the bouncing member 2 relative to the rack along the moving direction of the elastic arm 21, i.e., the bouncing member is fixed to the rack by the fixed arms 25, the fixed hooks 26 and the corresponding fixing structures on the rack.
[0130] The recovery hook 24 can limit the rebound stroke of the elastic arm 21 by a corresponding structure provided on the rack. When the elastic arm 21 is pressed by the front bumper 3 and elastically deformed, the recovery arm 23 moves the recovery hook 24 in the pressing direction. At this time, the corresponding structure inside the rack does not limit the movement of the recovery arm 23 and the recovery hook 24. However, when the pressure of the front bumper 3 is removed, the elastic arm 21 rebounds to the initial position, and the corresponding structure on the rack hooks the recovery hook 24 so that it cannot move beyond the initial position. The initial position is set to limit the rebound position of the elastic arm 21. In the initial position, the front bumper 3 is in a natural state, that is, in a state where it has not been hit, and there is a predetermined gap between the contact portion 22 and the inner wall of the front bumper 3, and the value of the predetermined gap may be set between 0.3 mm and 2 mm, for example. Therefore, in the initial stage of the front bumper 3's frontal collision, the inner wall of the front bumper 3 moves at least the above-mentioned predetermined gap and then contacts the contact portion 22, and moves further to elastically deform the elastic arm 21, and the recovery arm 23 drives the recovery hook 24 away from the initial position, and when the frontal collision is eliminated, the elastic arm 21 recovers the front bumper 3. Due to the setting of the above-mentioned predetermined gap, when the front bumper 3 collides sideways, the side collision sensor is triggered, but during the entire side collision process, the front inner wall of the front bumper 3 does not contact the contact portion 22, that is, in the case of a simple side collision, the rebound member 2 has no effect on the front bumper 3, and therefore the side collision of the front bumper 3 can be more accurately fed back.
[0131] As described above, the front bumper 3 has two substantially rounded corners, and when a collision occurs in the rounded corner area, for example when the front bumper is configured to move along a wall, both the front and side collision sensors of the rack may be triggered, and at this time, due to the setting of the above-mentioned predetermined gap, the lateral displacement of the front bumper 3 is not affected by the rebound member 2 in the initial stage before the contact portion 22 contacts the inner wall of the front bumper 3. The subsequent lateral displacement is more or less affected by the friction force between the contact portion 22 and the inner wall of the front bumper 3, but at this time the side collision sensor is already triggered, and the influence of the friction force is further reduced.
[0132] In addition to the bouncing of the bouncing member 2 against the front bumper 3 in a direction perpendicular to the front straight segment as described above, another bouncing alignment member is further provided on the front side edge of the rack, which actively recovers the lateral movement of the front bumper 3 and aligns the lateral recovery of the front bumper 3, the specific setting manner of which is described in other patent applications and will not be repeated here.
[0133] In order to optimize the interaction between the front bumper 3, the collision sensor and the bounce member 2, in this embodiment, two bounce members 2 are symmetrically provided on the front straight segment of the rack, and the two bounce members 2 are farther away from the two rounded corners than the first and second front collision sensors, that is, the distance between the two bounce members 2 is smaller than the distance between the two collision sensors. The two front collision sensors and the collision sensors on both sides are both close to or located in the rounded corner area, which has the advantage that the front or side frontal collision is less sensitive to the specific position of the sensor, so that the collision in the corner area is more accurately fed back, but the collision in the corner area brings more calculation processing steps due to the complexity of the angle and size of the external collision, which can improve the subsequent processing flow and processing speed of the control system to a certain extent.
[0134] Compared with the prior art, the embodiments of the present disclosure have the following technical effects: a rebound member that does not contact the front bumper in a natural state is provided on the rack of the cleaning device provided by the present disclosure, and only when the left and right sides of the front bumper are biased, there is a certain gap between the rebound member and the front bumper, which ensures that when the front bumper is laterally displaced left and right, the rebound member does not interfere with the lateral displacement of the front bumper and does not affect the high trigger sensitivity of the collision sensors on the left and right sides of the rack, and facilitates more accurate rebound alignment of the front bumper after displacement.
[0135] The above-mentioned embodiment of the device is merely illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed among multiple network units. According to actual needs, some or all of these modules may be selected to achieve the purpose of the embodiment. Those skilled in the art can understand and implement it without creative labor.
[0136] Finally, the above embodiments are not limiting and are only used to illustrate the technical solutions of the present disclosure. Although the present disclosure has been described in detail with reference to the above embodiments, those skilled in the art may modify the technical solutions described in the above embodiments or replace some technical features with equivalents, and such modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A method for controlling a cleaning device, the cleaning device comprising: a device body; and a trigger member, a first detection member, and a second detection member provided on the device body, the trigger member being configured to be triggered when the cleaning device collides with an obstacle, the first detection member being configured to detect an obstacle on a peripheral side of the device body, and the second detection member being provided on one side of the device body and used to detect an obstacle on a side of the device body, the method for controlling the cleaning device comprising: acquiring first detection information of the first detection member in response to the trigger member being triggered; determining a first travel distance at least in response to the obtained first detection information; performing a first obstacle approach operation based on the first detection information after controlling the cleaning device to move backward by the first movement distance; Obtaining second detection information of the second detection member; and controlling the cleaning device to perform an obstacle-following travel operation based on the second detection information.
2. 2. The method for controlling a cleaning device according to claim 1, wherein the first detection information includes at least a first angle between the device body and the obstacle, a vertical distance between the device body and the obstacle, and a horizontal distance between the device body and a target end of the obstacle, the target end of the obstacle being located on a side of the front of the cleaning device away from the second detection member.
3. Controlling the cleaning device to perform an obstacle-following travel operation based on the second detection information includes: determining a first rotation angle based on the first angle; Controlling the cleaning device to rotate by the first rotation angle to a side away from the second detection member; 3. The method of claim 2, further comprising: controlling the cleaning device to move forward based on the horizontal distance between the device body and the target end of the obstacle.
4. The control to move the cleaning device forward based on the horizontal distance between the device body and the target end of the obstacle includes: In response to the horizontal distance between the device body and the target end of the obstacle being equal to or greater than a predetermined value, control is performed to move the cleaning device forward; acquiring a second angle between the device body and the obstacle at a current position in response to the trigger member being triggered again; determining a second rotation angle based on the second angle; The method of claim 3 , further comprising: controlling the cleaning device so as to rotate the cleaning device by the second rotation angle in a direction away from the second detection member.
5. Determining the second rotation angle based on the second angle includes: The method of claim 4 , further comprising: determining the second rotation angle based on the second angle and an installation position of the second detection member relative to the device body.
6. The control to move the cleaning device forward based on the horizontal distance between the target obstacle position and the device body includes:
4. The method of claim 3, further comprising: controlling the cleaning device to move away from the second detection member at a first linear velocity and a first angular velocity in response to a horizontal distance between the device body and a target end of the obstacle being less than a predetermined value; and controlling the cleaning device to perform an obstacle search operation if the trigger member is not triggered when a predetermined time has elapsed.
7. The method for controlling a cleaning device according to any one of claims 1 to 6, further comprising: in response to the first detection information not being acquired, controlling the cleaning device to move backward by a first predetermined distance, rotate by a second predetermined angle away from the second detection member, and then perform an obstacle search operation.
8. The obstacle detection operation includes: The method for controlling a cleaning device according to claim 7, further comprising controlling the cleaning device to move and rotate in a direction toward the side where the second detection member is provided at an obstacle searching linear velocity and an obstacle searching angular velocity until the trigger member is triggered.
9. A control device for a cleaning device, the cleaning device comprising: a device body; and a trigger member, a first detection member, and a second detection member provided on the device body, the trigger member being configured to be triggered when the cleaning device collides with an obstacle, the first detection member being configured to detect an obstacle on a periphery of the device body, the second detection member being provided on one side of the device body and used to detect an obstacle on a side of the device body, the control device comprising: a first acquisition module configured to acquire first detection information of the first detection member in response to the trigger member being triggered; a first determination module configured to determine a first movement distance at least in response to the obtained first detection information; a first processing module that controls the cleaning device to perform a first obstacle approach operation based on the first detection information after the cleaning device is moved backward by the first moving distance; a second acquisition module configured to acquire second detection information of the second detection member; a second processing module configured to control the cleaning device to perform an obstacle-following operation based on the second detection information.
10. The first detection information includes at least a first angle between the device body and the obstacle, a vertical distance between the device body and the obstacle, and a horizontal distance between the device body and a target end of the obstacle, the target end of the obstacle being located on a front side of the cleaning device away from the second detection member, and the first determination module: The control device of claim 9, further comprising a first determination unit configured to determine the first movement distance based on the first angle, a vertical distance between the device body and the obstacle, and a horizontal distance between the device body and a target end of the obstacle.
11. The first processing module includes: a second determination unit configured to determine a first rotation angle based on the first angle; a first processing unit configured to control the cleaning device to rotate by the first rotation angle away from the second detection member; The control device for a cleaning device according to claim 10 , further comprising: a second processing unit configured to control the cleaning device to move forward based on a horizontal distance between the device body and a target end of the obstacle.
12. The second processing unit is A first processing subunit configured to control the cleaning device to move forward in response to a horizontal distance between the device body and a target end of the obstacle being equal to or greater than a predetermined value; a first acquisition sub-module configured to acquire a second angle between the device body and the obstacle at a current position in response to the trigger member being triggered again; a first determination subunit configured to determine a second rotation angle based on the second angle; and a second processing subunit configured to rotate the cleaning device away from the second detection member by the second rotation angle.
13. The first determination subunit: The control device for the cleaning device according to claim 12 , configured to determine the second rotation angle based on the second angle and an installation position of the second detection member relative to the device body.
14. The second processing unit is 12. The control device for a cleaning device according to claim 11, further comprising a third processing subunit that controls the cleaning device to move away from the second detection member at a first linear velocity and a first angular velocity in response to a horizontal distance between the device body and the target end of the obstacle being less than a predetermined value, and controls the cleaning device to perform an obstacle search operation if the trigger member is not triggered when a predetermined time has elapsed.
15. The control device for a cleaning device according to any one of claims 9 to 14, further comprising a third processing module that, in response to the first detection information not being acquired, controls the cleaning device to move backward by a first predetermined distance, rotate by a second predetermined angle away from the second detection member, and then perform an obstacle search operation.
16. The obstacle detection operation includes: The control device for a cleaning device according to claim 15, further comprising control for moving and rotating the cleaning device in a direction toward the side where the second detection member is provided at an obstacle searching linear velocity and an obstacle searching angular velocity until the trigger member is triggered.
17. A cleaning robot comprising a processor and a memory, the memory is adapted to store operating instructions; The cleaning robot, wherein the processor is used to execute the cleaning device control method according to any one of claims 1 to 8 by calling up the operation command.
18. A computer-readable storage medium storing a computer program, the computer-readable storage medium executing the cleaning device control method according to any one of claims 1 to 8 when the program is executed by a processor.
Citation Information
Patent Citations
Self-propelled cleaning device and method for establishing indoor map
CN108567380A
Along-obstacle cleaning method of cleaning robot, cleaning robot and storage medium
CN110477820A
Robot cleaner and method of controlling the same
CN111557618A
Autonomous travel type vacuum cleaner
JP2021112419A
Robot cleaner and method for controlling the same
US20190246857A1
