Slip state detection method, device and storage medium

By combining the odometer and lidar in the automatic cleaning equipment to obtain the measurement distance value and frame point cloud, and using similarity matching technology to quickly detect the slip state, it solves the problem that the automatic cleaning equipment takes a long time to detect the slip state when encountering obstacles, and improves improve detection accuracy and user experience.

WO2024140376A9PCT designated stage expired Publication Date: 2024-08-29BEIJING ROBOROCK INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/140348
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-12-30
Filing Date
2023-12-20
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Automatic cleaning equipment is prone to slipping when encountering scenes such as thresholds or fan bases, which affects the user experience. Existing technologies such as the SLAM algorithm require high positioning coordinate accuracy and the matching process takes a long time, making it impossible to quickly and accurately detect the slipping state.

Method used

During the walking process of the automatic cleaning equipment, the odometer is used to obtain the measurement distance value, and the laser radar is used to obtain multiple frame point clouds. Combined with similarity matching technology, it can quickly identify whether the automatic cleaning equipment is in a slipping state, reducing the amount of data processing and Matching complexity.

Benefits of technology

The sensing efficiency and detection sensitivity of the system are improved, and the slip state of the automatic cleaning equipment can be quickly and accurately detected, thereby improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023140348_29082024_PF_FP_ABST
    Figure CN2023140348_29082024_PF_FP_ABST
Patent Text Reader

Abstract

A slip state detection method, a device, and a storage medium. The slip state detection method comprises: during a walking process of an automatic cleaning device, acquiring a measurement distance value and a plurality of frame point clouds within a preset detection time period (S101); and quickly and accurately determining that the automatic cleaning device is in a slip state by means of the measurement distance value and the plurality of frame point clouds (S102). The present disclosure improves system sensing efficiency and detection sensitivity, thus improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Slip state detection method, device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to Chinese patent application No. 202211729463.2 filed in China on December 30, 2022, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the technical field of automatic cleaning equipment, and in particular to a method, equipment and storage medium for detecting a slipping state. Background Art

[0004] With the development of intelligent technology, the application of automatic cleaning equipment, such as sweeping robots, is becoming more and more widespread. In the user environment, sweeping robots are prone to slipping when encountering scenes such as door thresholds and fan bases, affecting user experience.

[0005] Summary of the Invention

[0006] The purpose of this disclosure is to provide a method, device and storage medium for detecting a slip state. The specific solution is as follows:

[0007] According to a specific embodiment of the present disclosure, in a first aspect, the present disclosure provides a method for detecting a slipping state, comprising:

[0008] During the movement of the automatic cleaning device, within a preset detection time period, a metered distance value is obtained by the odometer, and multiple frame point clouds are obtained by the laser radar, wherein the metered distance value represents the rotation distance value of the drive wheel assembly;

[0009] It is determined that the automatic cleaning device is in a slipping state based on the metering distance value and the multiple frame point clouds.

[0010] Optionally, determining that the automatic cleaning device is in a slipping state based on the metered distance value and the plurality of frame point clouds includes:

[0011] When the metered distance value is greater than a preset metered distance threshold, determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds;

[0012] When it is determined that the position of the automatic cleaning device has not changed, it is determined that the automatic cleaning device is in a slipping state.

[0013] Optionally, determining that the automatic cleaning device is in a slipping state based on the metered distance value and the plurality of frame point clouds comprises the following steps:

[0014] determining whether a position change occurs to the automatic cleaning device based on the plurality of frame point clouds;

[0015] When it is determined based on the plurality of frame point clouds that the automatic cleaning device has not changed its position, determining whether the metering distance value is greater than a preset metering distance threshold;

[0016] When the metering distance value is greater than a preset metering distance threshold, it is determined that the automatic cleaning device is in a slipping state.

[0017] Optionally, each frame point cloud includes multiple point data;

[0018] Accordingly, determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds includes:

[0019] Allocating the multiple frame point clouds to a first point cloud set or a second point cloud set, respectively, wherein the first point cloud set includes multiple first frame point clouds, and the second point cloud set includes multiple second frame point clouds;

[0020] Performing similarity matching based on the plurality of first frame point clouds and the plurality of second frame point clouds to obtain a similarity matching result;

[0021] It is determined whether the position of the automatic cleaning device changes based on the similarity matching result.

[0022] Optionally, allocating the plurality of frame point clouds to the first point cloud set or the second point cloud set respectively includes:

[0023] Dividing the preset detection time period into a first detection time period and a second detection time period;

[0024] The plurality of frame point clouds within the first detection time period are respectively allocated to a first point cloud set, and the plurality of frame point clouds within the second detection time period are respectively allocated to a second point cloud set.

[0025] Optionally, the processor is configured to allocate the plurality of frame point clouds to the first point cloud set or the second point cloud set respectively, including:

[0026] Dividing the preset detection time period into a first detection time period and a second detection time period;

[0027] The plurality of frame point clouds within the first detection time period are respectively allocated to a first point cloud set, and the plurality of frame point clouds within the second detection time period are respectively allocated to a second point cloud set.

[0028] Optionally, performing similarity matching based on the plurality of first frame point clouds and the plurality of second frame point clouds to obtain a similarity matching result includes:

[0029] Projecting the two-dimensional position of each point data in each first frame point cloud onto a preset plane to obtain a first plane map, and projecting the two-dimensional position of each point data in each second frame point cloud onto a preset plane to obtain a second plane map, wherein the first plane map includes a plurality of first projection positions, and the second plane map includes a plurality of second projection positions;

[0030] Similarity matching is performed based on the plurality of first projection positions in the first planar map and the plurality of second projection positions in the second planar map to obtain a similarity matching result.

[0031] Optionally, the preset plane includes a preset grid plane;

[0032] The first planar map includes a first grid planar map; the plurality of grids in the first grid planar map include a plurality of first occupied grids, and each of the first occupied grids includes at least one first projection position;

[0033] The second plan map includes a second grid plan map; the plurality of grids of the second grid plan map include a plurality of second occupied grids, and each second occupied grid includes at least one second projection position;

[0034] Accordingly, performing similarity matching based on the plurality of first projection positions in the first planar map and the plurality of second projection positions in the second planar map to obtain a similarity matching result includes:

[0035] A similarity matching result is obtained based on performing grid similarity matching on the at least one first projection position in each first occupied grid of the first grid plane map and the at least one second projection position in each second occupied grid of the second grid plane map.

[0036] Optionally, performing grid similarity matching on the at least one first projection position in each first occupied grid of the first grid plane map and the at least one second projection position in each second occupied grid of the second grid plane map to obtain a similarity matching result includes:

[0037] Obtaining a first position normalized value corresponding to a first occupied grid based on the at least one first projected position in each first occupied grid of the first grid plane map, and obtaining a second position normalized value corresponding to a second grid based on the at least one second projected position in each second grid of the second grid plane map;

[0038] Grid similarity matching is performed based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result.

[0039] Optionally, performing grid similarity matching based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result includes:

[0040] When traversing any first occupied grid in the first grid plane map, the first calculation parameter value is increased by 1;

[0041] When the first position normalized value of any first occupied grid and the second position normalized value of the grid corresponding to any first occupied grid in the second grid plane map meet the same preset condition, the second calculation parameter value is increased by 1;

[0042] After the traversal is completed, the quotient of the second calculation parameter value and the first calculation parameter value is calculated to obtain a first similarity matching result.

[0043] Optionally, performing grid similarity matching based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result includes:

[0044] When traversing any second occupied grid in the second grid plane map, the third calculation parameter value is increased by 1;

[0045] When the second position normalized value of any second occupied grid and the first position normalized value of the grid corresponding to any second occupied grid in the first grid plane map meet the same preset condition, the fourth calculation parameter value is increased by 1;

[0046] After the traversal is completed, the quotient of the fourth calculation parameter value and the third calculation parameter value is calculated to obtain a second similarity matching result.

[0047] Optionally, the obtaining a first position normalized value corresponding to the first occupied grid based on the at least one first projection position in each first occupied grid of the first grid plane map, and obtaining a second position normalized value corresponding to the second grid based on the at least one second projection position in each second grid of the second grid plane map, includes:

[0048] determining a first position normalized value of 1 for each first occupied grid based on the at least one first projection position in each first occupied grid of the first grid plane map, wherein an initial position normalized value of each grid in the first grid plane map before similarity matching is zero, and

[0049] Based on the at least one first projection position in each second grid of the second grid plane map, a second position normalized value of the corresponding second grid is determined to be 1, wherein an initial position normalized value of each grid in the second grid plane map before similarity matching is zero.

[0050] Optionally, determining whether the position of the automatic cleaning device changes based on the similarity matching result includes:

[0051] When the first similarity matching result and / or the second similarity matching result is greater than or equal to a preset proportion threshold, it is determined that the position of the automatic cleaning device has not changed.

[0052] Optionally, determining whether the position of the automatic cleaning device changes based on the similarity matching result includes:

[0053] When the first similarity matching result and / or the second similarity matching result is smaller than a preset proportion threshold, it is determined that the position of the automatic cleaning device has changed.

[0054] According to a specific embodiment of the present disclosure, in a second aspect, the present disclosure provides a device for detecting a slipping state, comprising: an odometer, a laser radar, and a processor;

[0055] an odometer configured to obtain a metered distance value, wherein the metered distance value represents a rotation distance value of the drive wheel assembly;

[0056] a laser radar configured to obtain a frame point cloud during the walking process of the autonomous cleaning device;

[0057] A processor is communicatively connected to the odometer and the lidar, and the processor is configured to:

[0058] During the movement of the automatic cleaning device, within a preset detection time period, a metered distance value is obtained by the odometer, and multiple frame point clouds are obtained by the laser radar, wherein the metered distance value represents the rotation distance value of the drive wheel assembly;

[0059] It is determined that the automatic cleaning device is in a slipping state based on the metering distance value and the multiple frame point clouds.

[0060] Optionally, the processor is configured to determine that the automatic cleaning device is in a slipping state based on the metered distance value and the plurality of frame point clouds, including:

[0061] When the metered distance value is greater than a preset metered distance threshold, determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds;

[0062] When it is determined that the position of the automatic cleaning device has not changed, it is determined that the automatic cleaning device is in a slipping state.

[0063] Optionally, the processor is configured to determine that the automatic cleaning device is in a slipping state based on the metered distance value and the plurality of frame point clouds, including:

[0064] determining whether a position change occurs to the automatic cleaning device based on the plurality of frame point clouds;

[0065] When it is determined based on the plurality of frame point clouds that the automatic cleaning device has not changed its position, determining whether the metering distance value is greater than a preset metering distance threshold;

[0066] When the metering distance value is greater than a preset metering distance threshold, it is determined that the automatic cleaning device is in a slipping state.

[0067] Optionally, each frame point cloud includes multiple point data;

[0068] Accordingly, the processor is configured to determine whether the position of the automatic cleaning device changes based on the multiple frame point clouds, including:

[0069] Allocating the multiple frame point clouds to a first point cloud set or a second point cloud set, respectively, wherein the first point cloud set includes multiple first frame point clouds, and the second point cloud set includes multiple second frame point clouds;

[0070] Performing similarity matching based on the plurality of first frame point clouds and the plurality of second frame point clouds to obtain a similarity matching result;

[0071] It is determined whether the position of the automatic cleaning device changes based on the similarity matching result.

[0072] Optionally, the processor is configured to perform similarity matching based on the multiple first frame point clouds and the multiple second frame point clouds to obtain a similarity matching result, including:

[0073] Projecting the two-dimensional position of each point data in each first frame point cloud onto a preset plane to obtain a first plane map, and projecting the two-dimensional position of each point data in each second frame point cloud onto a preset plane to obtain a second plane map, wherein the first plane map includes a plurality of first projection positions, and the second plane map includes a plurality of second projection positions;

[0074] Similarity matching is performed based on the plurality of first projection positions in the first planar map and the plurality of second projection positions in the second planar map to obtain a similarity matching result.

[0075] Optionally, the preset plane includes a preset grid plane;

[0076] The first planar map includes a first grid planar map; the plurality of grids in the first grid planar map include a plurality of first occupied grids, and each of the first occupied grids includes at least one first projection position;

[0077] The second plan map includes a second grid plan map; the plurality of grids of the second grid plan map include a plurality of second occupied grids, and each second occupied grid includes at least one second projection position;

[0078] Accordingly, the processor is configured to perform similarity matching based on the plurality of first projection positions in the first planar map and the plurality of second projection positions in the second planar map to obtain a similarity matching result, including:

[0079] A similarity matching result is obtained based on performing grid similarity matching on the at least one first projection position in each first occupied grid of the first grid plane map and the at least one second projection position in each second occupied grid of the second grid plane map.

[0080] Optionally, the processor is configured to perform grid similarity matching based on the at least one first projection position in each first occupied grid of the first grid plane map and the at least one second projection position in each second occupied grid of the second grid plane map to obtain a similarity matching result, including:

[0081] Obtaining a first position normalized value corresponding to a first occupied grid based on the at least one first projected position in each first occupied grid of the first grid plane map, and obtaining a second position normalized value corresponding to a second grid based on the at least one second projected position in each second grid of the second grid plane map;

[0082] Grid similarity matching is performed based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result.

[0083] Optionally, the processor is configured to perform grid similarity matching based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result, including:

[0084] When traversing any first occupied grid in the first grid plane map, the first calculation parameter value is increased by 1;

[0085] When the first position normalized value of any first occupied grid and the second position normalized value of the grid corresponding to any first occupied grid in the second grid plane map meet the same preset condition, the second calculation parameter value is increased by 1;

[0086] After the traversal is completed, the quotient of the second calculation parameter value and the first calculation parameter value is calculated to obtain a first similarity matching result.

[0087] Optionally, the processor is configured to perform grid similarity matching based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result, including:

[0088] When traversing any second occupied grid in the second grid plane map, the third calculation parameter value is increased by 1;

[0089] When the second position normalized value of any second occupied grid and the first position normalized value of the grid corresponding to any second occupied grid in the first grid plane map meet the same preset condition, the fourth calculation parameter value is increased by 1;

[0090] After the traversal is completed, the quotient of the fourth calculation parameter value and the third calculation parameter value is calculated to obtain a second similarity matching result.

[0091] Optionally, the processor is configured to obtain a first position normalized value corresponding to the first occupied grid based on the at least one first projection position in each first occupied grid of the first grid plane map, and obtain a second position normalized value corresponding to the second grid based on the at least one second projection position in each second grid of the second grid plane map, including:

[0092] determining a first position normalized value of 1 for each first occupied grid based on the at least one first projection position in each first occupied grid of the first grid plane map, wherein an initial position normalized value of each grid in the first grid plane map before similarity matching is zero, and

[0093] Based on the at least one first projection position in each second grid of the second grid plane map, a second position normalized value of the corresponding second grid is determined to be 1, wherein an initial position normalized value of each grid in the second grid plane map before similarity matching is zero.

[0094] Optionally, the processor is configured to determine whether the position of the automatic cleaning device changes based on the similarity matching result, including:

[0095] When the first similarity matching result and / or the second similarity matching result is greater than or equal to a preset proportion threshold, it is determined that the position of the automatic cleaning device has not changed.

[0096] Optionally, the processor is further configured to determine whether the position of the automatic cleaning device changes based on the similarity matching result, including:

[0097] When the first similarity matching result and / or the second similarity matching result is smaller than a preset proportion threshold, it is determined that the position of the automatic cleaning device has changed.

[0098] An embodiment of the present disclosure provides an automatic cleaning device, including a processor and a memory, wherein the memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, any of the method steps described above is implemented.

[0099] An embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer program instructions, which implement any of the above method steps when called and executed by a processor.

[0100] The above solution of the embodiment of the present disclosure has at least the following beneficial effects:

[0101] This disclosure provides a method, device, and storage medium for detecting a slipping state. This method obtains measured distance values ​​and multiple frame point clouds within a preset detection time period during the movement of an automatic cleaning device. These values ​​and multiple frame point clouds can be used to quickly and accurately determine whether the automatic cleaning device is in a slipping state. This improves the system's perception efficiency and detection sensitivity, enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0102] FIG1 shows a schematic diagram of the overall structure of an automatic cleaning device according to some embodiments of the present disclosure;

[0103] FIG2 is a bottom view schematic diagram of the automatic cleaning device according to some embodiments of the present disclosure;

[0104] FIG3 shows a flow chart of a method for detecting a slip state according to an embodiment of the present disclosure;

[0105] FIG4 shows a schematic diagram of a grid plane map according to an embodiment of the present disclosure;

[0106] FIG5 shows a block diagram of a unit of an automatic cleaning device according to some embodiments;

[0107] FIG6 shows a schematic structural diagram of an automatic cleaning device according to some embodiments. DETAILED DESCRIPTION

[0108] To make the objectives, technical solutions, and advantages of the present disclosure more clear, the present disclosure will be further described in detail below with reference to the accompanying drawings. It is apparent that the embodiments described are only a portion of the embodiments of the present disclosure, rather than all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present disclosure without creative effort are intended to fall within the scope of protection of the present disclosure.

[0109] The terms used in the embodiments of the present disclosure are for the purpose of describing specific embodiments only and are not intended to limit the present disclosure. The singular forms "a," "an," "the," and "the" used in the embodiments of the present disclosure and the appended claims are also intended to include plural forms, and unless the context clearly indicates otherwise, "a plurality" generally includes at least two.

[0110] It should be understood that the term "and / or" as used herein is merely a description of the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0111] It should be understood that although the terms first, second, third, etc. may be used to describe in the embodiments of the present disclosure, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, the first can also be referred to as the second, and similarly, the second can also be referred to as the first without departing from the scope of the embodiments of the present disclosure.

[0112] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.

[0113] It should also be noted that the terms "include," "comprises," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a product or device comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such product or device. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the product or device comprising the element.

[0114] It should be noted in particular that any symbols and / or numbers in the specification that are not marked in the accompanying drawings are not drawing marks.

[0115] Optional embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0116] As shown in Figures 1 and 2, the automatic cleaning device can be a vacuum cleaning robot, a sweeping / mopping / brushing / sweeping and mopping robot, etc. The automatic cleaning device can include a mobile platform 100, a perception system 120, a processor 130, a drive system 140, a cleaning module, an energy system 160, and a human-computer interaction system 170. Among them:

[0117] The mobile platform 100 can be configured to automatically move along the target direction on the operating surface. The operating surface can be the surface to be cleaned by the automatic cleaning device. In some embodiments, the automatic cleaning device can be a self-moving robot such as a mopping robot, a sweeping robot, a sweeping and mopping robot, etc., and the automatic cleaning device works on the ground, and the ground can also be any operating surface, such as a desktop, a roof, a platform, etc.; the automatic cleaning device can also be a window cleaning robot, and the automatic cleaning device works on the outer glass surface of the building, and the glass is the operating surface; the automatic cleaning device can also be a self-moving robot for pipes, and the automatic cleaning device works on the inner surface of the pipe, and the inner surface of the pipe is the operating surface. Purely for the purpose of demonstration, the following description in this disclosure takes a mopping robot as an example.

[0118] In some embodiments, the mobile platform 100 can be an autonomous mobile platform 100 or a non-autonomous mobile platform 100. The autonomous mobile platform 100 refers to the mobile platform 100 itself that can automatically and adaptively make operational decisions based on unexpected environmental inputs; the non-autonomous mobile platform 100 itself cannot adaptively make operational decisions based on unexpected environmental inputs, but can execute established programs or operate according to certain logic. Accordingly, when the mobile platform 100 is an autonomous mobile platform 100, the target direction can be determined autonomously by the automatic cleaning device; when the mobile platform 100 is a non-autonomous mobile platform 100, the target direction can be set by the system or manually. When the mobile platform 100 is an autonomous mobile platform 100, the mobile platform 100 includes a forward part 111 and a backward part 110.

[0119] The perception system 120 includes a posture determination device 121 located on the mobile platform 100, a buffer 122 located on the forward part 111 of the mobile platform 100, a cliff sensor 123 located at the bottom of the mobile platform 100, a light detection component 180, a color detection component 190, and sensing devices such as a magnetometer, an accelerometer, a gyroscope, and an odometer 131, which provide the processor 130 with various position information and motion status information of the machine.

[0120] In order to more clearly describe the behavior of the automatic cleaning device, the following directions are defined: the automatic cleaning device can move on the ground by various combinations of movements relative to the following three mutually perpendicular axes defined by the mobile platform 100: the lateral axis x, the front-to-back axis y, and the central vertical axis z. The forward drive direction along the front-to-back axis y is marked as "forward", and the rearward drive direction along the front-to-back axis y is marked as "rearward". The lateral axis x essentially extends between the right wheel and the left wheel of the automatic cleaning device along the axis defined by the center point of the drive wheel assembly 141 in the drive system 140. Among them, the automatic cleaning device can rotate around the x-axis. When the forward part 111 of the automatic cleaning device is tilted upward and the rear part 110 is tilted downward, it is "pitching up", and when the forward part 111 of the automatic cleaning device is tilted downward and the rear part 110 is tilted upward, it is "pitching down". In addition, the automatic cleaning device can rotate around the z-axis. In the forward direction of the automatic cleaning device, when the automatic cleaning device is tilted to the right of the y-axis, it is "turning right", and when the automatic cleaning device is tilted to the left of the y-axis, it is "turning left".

[0121] As shown in FIG2 , cliff sensors 123 are provided on the bottom of the mobile platform 100, in front of and behind the drive wheel assembly 141. These cliff sensors 123 are used to prevent the automatic cleaning device from falling when it is moving forward or backward, thereby preventing the automatic cleaning device from being damaged. The aforementioned "front" refers to the side with the same direction of travel as the automatic cleaning device, and the aforementioned "rear" refers to the side opposite to the direction of travel of the automatic cleaning device.

[0122] The posture determination device 121 includes but is not limited to cameras, laser radars 132 (LDS), line structured light devices, ODO sensors and other devices that can determine the position or posture of the automatic cleaning device. The posture determination device 121 is not limited to being located on the top of the automatic cleaning device. For example, cameras and line structured light devices can be set at any position in front of or on the side of the automatic cleaning device as needed; the ODO sensor can be set inside the automatic cleaning device.

[0123] The various components of the perception system 120 can operate independently or in conjunction to more accurately achieve their intended functions. The signals received by the light detection component 180 and the color detection component 190 are used to identify the surface to be cleaned, thereby determining the physical characteristics of the surface to be cleaned, including the material type and color grade of the surface. This in turn determines the operating mode of the automatic cleaning device.

[0124] The forward portion 111 of the mobile platform 100 is provided with a buffer 122. During the cleaning process, when the driving wheel assembly 141 propels the automatic cleaning device to walk on the ground, the buffer 122 detects one or more events (or objects) in the driving path of the automatic cleaning device through a sensor system, such as a light detection assembly 180 and a color detection assembly 190. The automatic cleaning device can control the driving wheel assembly 141 to respond to the event (or object), such as an obstacle or a wall, detected by the buffer 122, so that the automatic cleaning device can move away from the obstacle.

[0125] The processor 130 is set on the circuit motherboard in the mobile platform 100, and includes a computing processor, such as a central processing unit, an application processor, which communicates with a non-temporary memory, such as a hard disk, a flash memory, or a random access memory. The application processor is configured to receive the environmental information sensed by the multiple sensors transmitted by the perception system 120, and use a positioning algorithm, such as SLAM, based on the obstacle information fed back by the laser radar 132 to draw a real-time map of the environment in which the automatic cleaning device is located, and autonomously determine the driving path based on the environmental information and the environmental map, and then control the drive system 140 to perform forward, backward and / or steering operations based on the autonomously determined driving path. Furthermore, the processor 130 can also decide whether to start the cleaning module to perform the cleaning operation based on the environmental information and the environmental map.

[0126] Specifically, the processor 130 can combine the distance information and speed information fed back by the sensor devices such as the buffer 122, the cliff sensor 123, the light detection component 180, the color detection component 190, the magnetometer, the accelerometer, the gyroscope, and the odometer 131 to comprehensively judge the current working state of the sweeper, such as crossing the threshold, getting on the carpet, being on the cliff, being stuck above or below, the dust box is full, being picked up, etc., and will also give specific next action strategies for different situations, so that the work of the automatic cleaning device is more in line with the owner's requirements and has a better user experience. Furthermore, the processor 130 can plan the most efficient and reasonable cleaning path and cleaning method based on the real-time map information drawn by SLAM, greatly improving the cleaning efficiency of the automatic cleaning device.

[0127] The drive system 140 can execute drive commands based on specific distance and angle information, such as x, y and θ components, to manipulate the automatic cleaning device to travel across the ground. The drive system 140 includes a drive wheel assembly 141, and the drive system 140 can control the left and right wheels at the same time. In order to enable the automatic cleaning device to move more stably on the ground or have stronger movement capabilities, the automatic cleaning device may include one or more steering assemblies 142. The steering assembly 142 may be a driven wheel or a driving wheel, and its structural form includes but is not limited to a universal wheel. The steering assembly 142 may be located in front of the drive wheel assembly 141.

[0128] Energy system 160 includes rechargeable batteries, such as nickel-metal hydride batteries and lithium batteries. These rechargeable batteries can be connected to a charging control circuit, a battery pack charging temperature detection circuit, and a battery undervoltage monitoring circuit. These circuits are then connected to the microcontroller control circuit. The automatic cleaning device is charged via charging electrodes located on the side or bottom of the device.

[0129] The human-computer interaction system 170 includes buttons on the panel of the automatic cleaning device for the user to select functions; it may also include a display screen and / or indicator lights and / or a speaker to display the current status of the automatic cleaning device or function options to the user; it may also include a mobile client program. For route-guided automatic cleaning devices, the mobile client can display a map of the environment in which the automatic cleaning device is located and the location of the automatic cleaning device to the user, providing the user with a richer and more user-friendly function list, and the user can configure the cleaning parameters of the automatic cleaning device through the mobile client.

[0130] The cleaning module may include a dry cleaning module 151 and / or a wet cleaning module 400. As shown in FIG2 , the dry cleaning module 151 includes a roller brush, a dust box, a fan, and an air outlet. The roller brush, which has a certain interference with the ground, sweeps up the garbage on the ground and rolls it to the front of the dust suction port between the roller brush and the dust box, and then the suction gas generated by the fan and passing through the dust box is sucked into the dust box. The dust removal capacity of the automatic cleaning equipment can be characterized by the dust pickup efficiency DPU (Dust pickup efficiency). The cleaning efficiency DPU is affected by the structure and material of the roller brush, the wind utilization rate of the air duct formed by the dust suction port, dust box, fan, air outlet and the connecting parts between the four, and the type and power of the fan. It is a complex system design issue. Compared with ordinary plug-in vacuum cleaners, the improvement of dust removal capacity is more meaningful for automatic cleaning equipment with limited energy. Because the improvement in dust removal capacity directly and effectively reduces the energy requirements, that is to say, a machine that can clean 80 square meters of ground on a single charge can be evolved to clean 180 square meters or even more on a single charge. In addition, the service life of the battery will be greatly increased by reducing the number of charging times, so that the frequency of battery replacement by users will also be reduced accordingly. More intuitively and importantly, the improvement in dust removal capacity is the most obvious and important user experience, and users will directly draw conclusions on whether the sweeping / wiping is clean. The dry cleaning module 151 may also include a side brush 152 with a rotating shaft, and the rotating shaft is at a certain angle relative to the ground to move debris into the roller brush area of ​​the dry cleaning module 151.

[0131] The wet cleaning module 400 provided in this embodiment is configured to clean at least a portion of the operating surface using a wet cleaning method; wherein, the wet cleaning module 400 includes a cleaning head 410 and a driving unit, wherein the cleaning head 410 is used to clean at least a portion of the operating surface, and the driving unit is used to drive the cleaning head 410 to reciprocate along the surface to be cleaned, and the surface to be cleaned is a portion of the operating surface. The cleaning head 410 reciprocates along the surface to be cleaned, and the cleaning head 410 is provided with a cleaning cloth or a cleaning plate on the contact surface with the surface to be cleaned, and generates high-frequency friction with the surface to be cleaned through reciprocating motion, thereby removing stains on the surface to be cleaned. The cleaning head 410 includes an active area 412 and a fixed area 411, and the active area 412 is arranged at a roughly central position of the cleaning head 410.

[0132] Currently, the SLAM algorithm is mainly used to determine the slipping state of the sweeping robot, and then the sweeping robot is controlled to release the stuck state by turning on the spot, moving backward, etc.

[0133] However, the SLAM algorithm requires high accuracy for positioning coordinates. It obtains its position by matching it with an electronic map, and determines whether the robot vacuum is slipping based on changes in positioning. Because matching with the electronic map is time-consuming, the processing time is long, often exceeding 10 seconds, and in extreme cases, even exceeding 20 seconds, exceeding user acceptance.

[0134] To this end, the present disclosure provides an embodiment, namely, an embodiment of a method for detecting a slipping state.

[0135] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0136] As shown in FIG3 and FIG4 , the present disclosure provides a method for detecting a slipping state, comprising the following steps:

[0137] Step S101 , during the movement of the automatic cleaning device, within a preset detection time period, a measurement distance value is obtained through the odometer 131 , and a plurality of frame point clouds are obtained through the laser radar 132 .

[0138] The metered distance value represents the rotation distance value of the driving wheel assembly.

[0139] Under the condition of no obstacle, the metering distance value of the odometer 131 is equal to the travel distance of the automatic cleaning device. However, when the automatic cleaning device slips, although the metering distance value of the odometer 131 changes, the travel distance of the automatic cleaning device does not change.

[0140] The laser radar 132 is configured to use laser to detect and measure the distance outside the automatic cleaning device.

[0141] Point cloud (full name in English: point cloud data) refers to a collection of massive point data that represents the surface characteristics of a target in a two-dimensional coordinate system. Each point data includes a set of vectors.

[0142] When the laser radar 132 strikes an object's surface, the reflected laser light carries information such as direction and distance. If the laser beam is scanned along a specific trajectory, the reflected laser point information (point data) is recorded as it scans. Because the scanning is extremely precise, a large number of laser points can be obtained, forming a point cloud. Each point data contains the two-dimensional position of the laser reflection point.

[0143] The frame point cloud is a point cloud obtained after the laser radar 132 scans the surrounding environment for a cycle. The frame point cloud includes multiple point data.

[0144] The present invention obtains the measured distance value and multiple frame point clouds within a preset detection time period in order to analyze a certain amount of data, clearly identify the differences between the previous and subsequent data, and improve the accuracy of the detection.

[0145] Step S102: determining whether the automatic cleaning device is in a slipping state based on the measured distance value and the plurality of frame point clouds.

[0146] The disclosed embodiment obtains measured distance values ​​and multiple frame point clouds within a preset detection time period during the movement of the automatic cleaning device. These values ​​and multiple frame point clouds can quickly and accurately determine whether the automatic cleaning device is in a slipping state. This improves the system's perception efficiency and detection sensitivity, enhancing the user experience.

[0147] In some specific embodiments, determining that the automatic cleaning device is in a slipping state based on the metered distance value and the plurality of frame point clouds comprises the following steps:

[0148] Step S102a-1: When the metering distance value of the automatic cleaning device is greater than a preset metering distance threshold, determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds.

[0149] If the metered distance value is too small, it indicates that the drive wheel assembly is not operating, meaning the automatic cleaning device is in an active stop state or in the process of entering an active stop state. This situation does not indicate a slipping state. Therefore, the present disclosure uses a preset metered distance threshold to identify the state of the automatic cleaning device that generates the metered distance value, excluding this situation from detecting a slipping state. Only when the metered distance value of the automatic cleaning device exceeds the preset metered distance threshold will the automatic cleaning device detect whether a position change has occurred. This reduces the number of slipping state detections and improves the system's perception efficiency.

[0150] In some specific embodiments, each frame point cloud includes a plurality of point data.

[0151] Accordingly, determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds includes the following steps:

[0152] Step S102a-1-1: assign the multiple frame point clouds to the first point cloud set or the second point cloud set respectively.

[0153] The multiple frame point clouds include multiple first frame point clouds 31 and multiple second frame point clouds 32 .

[0154] The first point cloud set includes a plurality of first frame point clouds 31 , and the second point cloud set includes a plurality of second frame point clouds 32 .

[0155] During allocation, the multiple frame point clouds obtained within the preset detection time period can be allocated in a random order without affecting the detection of whether the automatic cleaning device is in a slipping state. The present disclosure does not limit the number of the multiple first frame point clouds 31 or the number of the multiple second frame point clouds 32. The total number of the multiple first frame point clouds 31 and the multiple second frame point clouds 32 can be equal to or less than the number of the multiple second frame point clouds 32.

[0156] In some specific embodiments, assigning the plurality of frame point clouds to the first point cloud set or the second point cloud set respectively includes the following steps:

[0157] Step S102a-1-1-1, dividing the preset detection time period into a first detection time period and a second detection time period.

[0158] Step S102a-1-1-2: assign multiple frame point clouds within the first detection time period to a first point cloud set, and assign multiple frame point clouds within the second detection time period to a second point cloud set.

[0159] In this specific embodiment, the preset detection time period is divided into a first detection time period and a second detection time period in a sequential order. Multiple frame point clouds obtained within the preset detection time period are then allocated to a first point cloud set or a second point cloud set based on the time of acquisition. The first point cloud set contains the frame point clouds obtained during the first detection time period (i.e., multiple first frame point clouds 31); the second point cloud set contains the frame point clouds obtained during the second detection time period (i.e., multiple second frame point clouds 32).

[0160] This specific implementation can clearly reflect the position difference of the automatic cleaning device in different time periods through the frame point cloud obtained in the previous and next time periods, so as to facilitate the detection of whether the automatic cleaning device has moved based on the previous and next position difference. For example, based on the first detection time period and the second detection time period occurring in time sequence, only the first frame point cloud obtained in the first detection time period is allocated to the first point cloud set, and only the last frame point cloud obtained in the second detection time period is allocated to the second point cloud set; during the normal movement of the automatic cleaning device, the first frame point cloud and the last frame point cloud can clearly reflect the maximum position difference of the automatic cleaning device, that is, the maximum displacement that matches the measured distance value can be obtained through the first frame point cloud and the last frame point cloud in the preset detection time period; if the maximum displacement that matches the measured distance value cannot be obtained, the automatic cleaning device is in abnormal movement in the preset detection time period.

[0161] Step S102a-1-2: performing similarity matching based on the multiple first frame point clouds and the multiple second frame point clouds to obtain a similarity matching result.

[0162] In some specific embodiments, performing similarity matching based on the plurality of first frame point clouds and the plurality of second frame point clouds to obtain a similarity matching result includes the following steps:

[0163] Step S102a-1-2-1, project the two-dimensional position of each point data in each first frame point cloud into a preset plane to obtain a first plane map, and project the two-dimensional position of each point data in each second frame point cloud into a preset plane to obtain a second plane map.

[0164] The first plane map includes a plurality of first projection positions, and the second plane map includes a plurality of second projection positions.

[0165] Step S102a-1-2-2: performing similarity matching based on the multiple first projection positions in the first plane map and the multiple second projection positions in the second plane map to obtain a similarity matching result.

[0166] This specific embodiment converts the 2D position of each point data point in each first frame of the point cloud to a 2D position in a preset plane to generate a first plane map. The 2D position of each point data point in each second frame of the point cloud is converted to a 2D position in the same preset plane to generate a second plane map. Matching the first and second plane maps on the same preset plane simplifies computation, reduces matching complexity, and improves matching efficiency.

[0167] In some specific embodiments, the preset plane includes a preset grid plane.

[0168] The first plane map includes a first grid plane map 33 ; the multiple grids of the first grid plane map 33 include multiple first occupied grids 331 , and each first occupied grid 331 includes at least one first projection position.

[0169] The second plan map includes a second grid plan map 34 ; the plurality of grids of the second grid plan map 34 include a plurality of second occupied grids 341 , and each second occupied grid 341 includes at least one second projection position.

[0170] The two-dimensional position of each point data in each first frame point cloud 31 is projected into the preset grid plane to obtain a first grid plane map 33, and the two-dimensional position of each point data in each second frame point cloud 32 is projected into the preset grid plane to obtain a second grid plane map 34.

[0171] A plurality of grids arranged in an array are divided on a preset grid plane. The two-dimensional position of each point data in each first frame point cloud 31 of the first point cloud set is projected onto the preset grid plane to obtain a first grid plane map 33. The two-dimensional position of each point data in each second frame point cloud 32 of the second point cloud set is projected onto the preset grid plane to obtain a second grid plane map 34.

[0172] As shown in FIG4 , the first grid plane map 33 includes a plurality of grids arranged in an array; the second grid plane map 34 also includes a plurality of grids arranged in an array.

[0173] The multiple grids of the first grid plane map 33 include multiple first occupied grids 331, and each first occupied grid 331 includes at least one first projection position; the multiple grids of the second grid plane map 34 include multiple second occupied grids 341, and each second occupied grid 341 includes at least one second projection position.

[0174] It can be understood that when any grid in the first grid plane map 33 includes at least one first projection position, the grid is referred to as a first occupied grid 331; when any grid in the first grid plane map 33 does not include any first projection position, the grid is referred to as a first unoccupied grid. When any grid in the second grid plane map 34 includes at least one second projection position, the grid is referred to as a second occupied grid 341; when any grid in the second grid plane map 34 does not include any second projection position, the grid is referred to as a second unoccupied grid.

[0175] Each first projection position has a one-to-one correspondence with the two-dimensional position of a point in the multiple first frame point clouds 31; each second projection position has a one-to-one correspondence with the two-dimensional position of a point in the multiple second frame point clouds 32.

[0176] This specific embodiment converts the two-dimensional position of the point data in the frame point cloud into a two-dimensional position in a preset grid plane, which simplifies the amount of calculation, reduces the complexity of matching, and improves the efficiency of matching.

[0177] Accordingly, performing similarity matching based on the plurality of first projection positions in the first planar map and the plurality of second projection positions in the second planar map to obtain a similarity matching result includes the following steps:

[0178] Step S102a-1-2-2a, performing grid similarity matching based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33 and the at least one second projection position in each second occupied grid 341 of the second grid plane map 34, to obtain a similarity matching result.

[0179] Because both the first grid map 33 and the second grid map 34 are generated on a preset grid plane, each grid in the first grid map 33 has a corresponding grid in the second grid map 34. This specific embodiment uses the grid as the unit for similarity matching, comparing the grids in the first grid map 33 and the second grid map 34 one by one to ultimately obtain a similarity matching result. The similarity matching result is used to measure the similarity between the first grid map 33 and the second grid map 34.

[0180] In some specific embodiments, performing grid similarity matching based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33 and the at least one second projection position in each second occupied grid 341 of the second grid plane map 34 to obtain a similarity matching result includes the following steps:

[0181] Step S102a-1-2-2a1, obtain a first position normalized value corresponding to the first occupied grid 331 based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33, and obtain a second position normalized value corresponding to the second grid based on the at least one second projection position in each second grid of the second grid plane map 34.

[0182] The position normalization value is a unique value that characterizes the positional characteristics of all projected positions within an occupied grid. For example, the position normalization value includes the average distribution position of all projected positions within the occupied grid. For example, if there are three projected positions (x1, y1), (x2, y2), and (x3, y3) in an occupied grid, the average distribution position of the occupied grid is (xn, yn), where xn = (x1 + x2 + x3) / 3 and yn = (y1 + y2 + y3) / 3. Using the average distribution position as the position normalization value can improve the accuracy of grid similarity matching and detection.

[0183] The first position normalized value and the second position normalized value are both position normalized values.

[0184] In some other specific embodiments, obtaining a first position normalized value corresponding to the first occupied grid 331 based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33, and obtaining a second position normalized value corresponding to the second grid based on the at least one second projection position in each second grid of the second grid plane map 34, includes the following steps:

[0185] Step S102a-1-2-2a-1a, based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33, determining the first position normalized value corresponding to the first occupied grid 331 is 1, wherein the initial position normalized value of each grid in the first grid plane map 33 before similarity matching is zero, and, based on the at least one first projection position in each second grid of the second grid plane map 34, determining the second position normalized value corresponding to the second grid is 1, wherein the initial position normalized value of each grid in the second grid plane map 34 before similarity matching is zero.

[0186] In this specific embodiment, the position normalization values ​​of all occupied grids are set to 1, and the position normalization values ​​of unoccupied grids are set to 0, thereby simplifying the process of calculating the average distribution position and improving the efficiency of detecting the slip state.

[0187] Step S102a-1-2-2a-2, performing grid similarity matching based on the first position normalized value of each first occupied grid 331 in the first grid plane map 33 and the second position normalized value of each second occupied grid 341 in the second grid plane map 34, to obtain a similarity matching result.

[0188] This specific embodiment reduces the complexity of projection position matching, simplifies the amount of calculation, and improves the matching efficiency by uniquely representing the position features of all projection positions in the occupied grid through position normalization values.

[0189] In some specific embodiments, performing grid similarity matching based on the first position normalized value of each first occupied grid 331 in the first grid plane map 33 and the second position normalized value of each second occupied grid 341 in the second grid plane map 34 to obtain a similarity matching result includes the following steps:

[0190] Step S102a-1-2-2a-2a-1: when traversing any first occupied grid 331 in the first grid plane map 33, the first calculation parameter value is increased by 1.

[0191] The first calculation parameter value is initially set to zero before traversal.

[0192] For example, as shown in Figure 4, the first grid plane map 33 includes 25 grids (5×5), of which 10 shaded grids are first occupied grids 331. When traversing the first occupied grids 331 in the first grid plane map 33, the first calculation parameter value is increased by 1 each time a first occupied grid 331 is visited, and the first calculation parameter value after traversal is 10.

[0193] Step S102a-1-2-2a-2a-2, when the first position normalized value of any first occupied grid 331 and the second position normalized value of the grid corresponding to any first occupied grid 331 in the second grid plane map 34 meet the same preset conditions, the second calculation parameter value is increased by 1.

[0194] The initial value of the second calculation parameter value is set to zero before traversal.

[0195] The grid corresponding to any one of the first occupied grids 331 in the second grid plane map 34 refers to the grid at the same position in the preset grid plane. For example, as shown in Figure 4, the grid in the first arrangement position in the first grid plane map 33 is the first occupied grid 331, and the grid corresponding to the first occupied grid 331 is the first arrangement position in the second grid plane map 34 (occupied grid); the grid in the third arrangement position in the first grid plane map 33 is the first occupied grid 331, and the grid corresponding to the first occupied grid 331 is the third arrangement position in the second grid plane map 34 (unoccupied grid); and so on.

[0196] The preset identical condition means that the absolute value or distance between the difference between the first position normalized value and the second position normalized value is less than or equal to a preset difference threshold. For example, when the first position normalized values ​​of all first occupied grids 331 and the second position normalized values ​​of all second occupied grids 341 are both 1, the preset identical condition means that the absolute value of the difference between the first position normalized value and the second position normalized value is equal to zero. When the first position normalized value and the second position normalized value of two grids at the same arrangement position in the first grid plane map 33 and the second grid plane map 34 are both 1, the two grids are identical. When the first position normalized values ​​of all first occupied grids 331 and the second position normalized values ​​of all second occupied grids 341 are expressed as average distribution positions, the preset identical condition means that the distance between the average distribution positions of two grids at the same arrangement position in the first grid plane map 33 and the second grid plane map 34 is less than or equal to the preset difference threshold, the two grids are identical.

[0197] If two grids at the same arrangement position in first grid map 33 and second grid map 34 are identical, the second calculation parameter value is incremented by 1. For example, as shown in FIG4 , second grid map 34 includes 25 grids (5×5) corresponding to first grid map 33 , including 7 second occupied grids 341 . By comparison, the position normalized values ​​of the grids at the first, fifth, tenth, fifteenth, and twenty-first arrangement positions in first grid map 33 and second grid map 34 meet the same preset condition, and therefore the second calculation parameter value is 5.

[0198] Step S102a-1-2-2a-2a-3: After the traversal is complete, the quotient of the second calculation parameter value and the first calculation parameter value is calculated to obtain a first similarity matching result. For example, continuing with the above example, after the traversal is complete, the second calculation parameter value is 5 and the first calculation parameter value is 10, then the first similarity matching result = 5 / 10 = 50%.

[0199] In some other specific embodiments, performing grid similarity matching based on the first position normalized value of each first occupied grid 331 in the first grid plane map 33 and the second position normalized value of each second occupied grid 341 in the second grid plane map 34 to obtain a similarity matching result includes the following steps:

[0200] Step S102a-1-2-2a-2b-1: when traversing any second occupied grid 341 in the second grid plane map 34, the third calculation parameter value is increased by 1.

[0201] The initial value of the third calculation parameter value is set to zero before traversal.

[0202] For example, as shown in Figure 4, the second grid plane map 34 includes 25 grids (5×5), of which there are 7 second occupied grids 341. When traversing the second occupied grids 341 in the second grid plane map 34, the third calculation parameter value is increased by 1 each time a second occupied grid 341 is visited. After traversal, the third calculation parameter value is 7.

[0203] Step S102a-1-2-2a-2b-2, when the second position normalized value of any second occupied grid 341 and the first position normalized value of the grid corresponding to any second occupied grid 341 in the first grid plane map 33 meet the same preset conditions, the fourth calculation parameter value is increased by 1.

[0204] The initial value of the fourth calculation parameter value before traversal is set to zero.

[0205] The grid corresponding to any one of the second occupied grids 341 in the first grid plane map 33 refers to a grid at the same position in the preset grid plane.

[0206] If two grids at the same arrangement position in the first grid plane map 33 and the second grid plane map 34 are identical, the fourth calculation parameter value is incremented by 1. For example, as shown in FIG4 , by comparison, the position normalization values ​​of the grids at the first arrangement position, the fifth arrangement position, the tenth arrangement position, the fifteenth arrangement position, and the twenty-first arrangement position in the first grid plane map 33 and the second grid plane map 34 meet the same preset condition, and therefore the fourth calculation parameter value is 5.

[0207] Step S102a-1-2-2a-2b-3: After the traversal is completed, the quotient of the fourth calculation parameter value and the third calculation parameter value is calculated to obtain a second similarity matching result.

[0208] For example, continuing with the above example, after the traversal is completed, the fourth calculation parameter value is 5, and the third calculation parameter value is 7, then the second similarity matching result = 5 / 7 = 71.4%.

[0209] Step S102a-1-3: Determine whether the position of the automatic cleaning device has changed based on the similarity matching result.

[0210] In some specific embodiments, determining whether the position of the automatic cleaning device has changed based on the similarity matching result includes the following steps:

[0211] Step S102a-1-3a: when the first similarity matching result and / or the second similarity matching result is greater than or equal to a preset proportion threshold, it is determined that the position of the automatic cleaning device has not changed.

[0212] For example, continuing with the above example, the preset proportion threshold is 50%, and the first similarity matching result is 50%, which is equal to the preset proportion threshold. Therefore, it is determined that the position of the automatic cleaning device has not changed.

[0213] For example, continuing with the above example, the preset proportion threshold is 50%, and the second similarity matching result is 71.4%, which is greater than the preset proportion threshold. Therefore, it is determined that the position of the automatic cleaning device has not changed.

[0214] For example, continuing with the above example, the preset proportion threshold is 50%, the first similarity matching result is 50%, which is equal to the preset proportion threshold; the second similarity matching result is 71.4%, and both the first similarity matching result and the second similarity matching result are greater than the preset proportion threshold. Therefore, it is determined that the position of the automatic cleaning device has not changed.

[0215] When the first similarity match or the second similarity match is greater than or equal to the preset proportion threshold, it indicates that the first grid plane map 33 or the second grid plane map 34 may be similar. However, since the traversal is based on the first occupied grids 331 in the first grid plane map 33 as the main access line, and ignores the existence of the second occupied grids 341 in the second grid plane map 34, in order to ensure the accuracy of the similarity matching results, this specific embodiment provides a method based on the second occupied grids 341 in the second grid plane map 34 as the main access line. When both the first similarity match and the second similarity match are greater than or equal to the preset proportion threshold, it is determined that the position of the automatic cleaning device has not changed. The accuracy of the match is guaranteed.

[0216] In some other specific embodiments, determining whether the position of the automatic cleaning device has changed based on the similarity matching result includes the following steps:

[0217] Step S102a-1-3b: When the first similarity matching result and / or the second similarity matching result is less than a preset proportion threshold, it is determined that the position of the automatic cleaning device has changed.

[0218] For example, the preset proportion threshold is 50%. If the first similarity matching result is 45%, which is less than the preset proportion threshold of 50%, it is determined that the position of the automatic cleaning device has changed.

[0219] For example, the preset proportion threshold is 50%. If the second similarity matching result is 48%, which is less than the preset proportion threshold of 50%, it is determined that the position of the automatic cleaning device has changed.

[0220] For example, the preset proportion threshold is 50%. If the first similarity matching result is 45% and the second similarity matching result is 48%, both the first similarity matching result and the second similarity matching result are less than the preset proportion threshold of 50%. Therefore, it is determined that the position of the automatic cleaning device has changed.

[0221] The present application distributes the point data of multiple frame point clouds to the first point cloud set or the second point cloud set respectively, and then projects the two-dimensional position of each point data in the first point cloud set and the second point cloud set to the preset grid plane, and generates the first grid plane map 33 and the second grid plane map 34 respectively. Through the similarity matching results of the first grid plane map 33 and the second grid plane map 34, it is determined whether the position of the automatic cleaning device has changed, and whether the automatic cleaning device is in a slipping state. The process of map matching and positioning with a complex two-dimensional electronic map is avoided. In the process of grid similarity matching, the two-dimensional position of the point data in the frame point cloud is converted to the two-dimensional position in the occupied grid in the preset grid plane by gradient descent, and the two-dimensional position in the occupied grid is converted into the position normalization value of the occupied grid, which reduces the data processing amount and matching complexity and improves the matching efficiency.

[0222] Step S102a-2: When it is determined that the position of the automatic cleaning device has not changed, it is determined that the automatic cleaning device is in a slipping state.

[0223] In some other specific examples, determining that the automatic cleaning device is in a slipping state based on the metered distance value and the plurality of frame point clouds includes the following steps:

[0224] Step S102b-1, determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds;

[0225] Step S102b-2: When it is determined based on the multiple frame point clouds that the position of the automatic cleaning device has not changed, determine whether the metering distance value is greater than a preset metering distance threshold.

[0226] Step S102b-3: When the metering distance value is greater than a preset metering distance threshold, it is determined that the automatic cleaning device is in a slipping state.

[0227] The specific implementation method of the steps described in this specific embodiment is the same as that of the above embodiment, and will not be repeated again. Please refer to the above embodiment.

[0228] During the movement of the automatic cleaning device, the disclosed embodiment obtains the metered distance value and multiple frame point clouds of the automatic cleaning device within a preset detection time period. By identifying the metered distance value, the active stop state of the automatic cleaning device within the preset detection time period is excluded from the detection of the slip state, thereby reducing the number of times the slip state is detected and improving the perception efficiency of the system. When detecting the slip state, the matching relationship between the point data of multiple frame point clouds is used to determine whether the position of the automatic cleaning device has changed, and then determine that the automatic cleaning device is in a slip state. This reduces the amount of data processing and the complexity of matching, improves the efficiency of matching, can quickly and accurately detect the slip state, improves the sensitivity of detection, and improves the user experience.

[0229] The present disclosure also provides an automatic cleaning device embodiment that is consistent with the above embodiment, which is used to implement the method steps described in the above embodiment. The explanation based on the same name meaning is the same as the above embodiment, and has the same technical effect as the above embodiment, which will not be repeated here.

[0230] As shown in FIG5 , the present disclosure provides an automatic cleaning device, including: a processor 130 , an odometer 131 , and a laser radar 132 ;

[0231] an odometer 131 configured to obtain a metered distance value, wherein the metered distance value represents a rotation distance value of the driving wheel assembly;

[0232] a laser radar 132 configured to obtain a frame point cloud during the movement of the automatic cleaning device;

[0233] The processor 130 is communicatively connected to the odometer 131 and the laser radar 132, respectively. The processor 130 is configured to:

[0234] During the movement of the automatic cleaning device, within a preset detection time period, a metered distance value is obtained by the odometer, and multiple frame point clouds are obtained by the laser radar, wherein the metered distance value represents the rotation distance value of the drive wheel assembly;

[0235] It is determined that the automatic cleaning device is in a slipping state based on the metering distance value and the multiple frame point clouds.

[0236] Optionally, the processor is configured to determine that the automatic cleaning device is in a slipping state based on the metered distance value and the plurality of frame point clouds, including:

[0237] When the metered distance value is greater than a preset metered distance threshold, determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds;

[0238] When it is determined that the position of the automatic cleaning device has not changed, it is determined that the automatic cleaning device is in a slipping state.

[0239] Optionally, each frame point cloud includes multiple point data;

[0240] Accordingly, the processor 130 is configured to determine whether the position of the automatic cleaning device changes based on the multiple frame point clouds, including:

[0241] Assigning the plurality of frame point clouds to a first point cloud set or a second point cloud set, respectively, wherein the first point cloud set includes a plurality of first frame point clouds 31, and the second point cloud set includes a plurality of second frame point clouds 32;

[0242] Performing similarity matching based on the plurality of first frame point clouds 31 and the plurality of second frame point clouds 32 to obtain a similarity matching result;

[0243] It is determined whether the position of the automatic cleaning device changes based on the similarity matching result.

[0244] Optionally, the processor 130 is configured to perform similarity matching based on the multiple first frame point clouds 31 and the multiple second frame point clouds 32 to obtain a similarity matching result, including:

[0245] Projecting the two-dimensional position of each point data in each first frame point cloud 31 onto a preset plane to obtain a first plane map, and projecting the two-dimensional position of each point data in each second frame point cloud 32 onto a preset plane to obtain a second plane map, wherein the first plane map includes a plurality of first projection positions, and the second plane map includes a plurality of second projection positions;

[0246] Similarity matching is performed based on the plurality of first projection positions in the first planar map and the plurality of second projection positions in the second planar map to obtain a similarity matching result.

[0247] Optionally, the preset plane includes a preset grid plane;

[0248] The first plan map includes a first grid plan map 33; the plurality of grids in the first grid plan map 33 include a plurality of first occupied grids 331, and each first occupied grid 331 includes at least one first projection position;

[0249] The second plane map 34 includes a second grid plane map 34; the plurality of grids of the second grid plane map 34 include a plurality of second occupied grids 341, and each second occupied grid 341 includes at least one second projection position;

[0250] Accordingly, the processor 130 is configured to perform similarity matching based on the plurality of first projection positions in the first planar map and the plurality of second projection positions in the second planar map to obtain a similarity matching result, including:

[0251] A similarity matching result is obtained based on grid similarity matching performed on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33 and the at least one second projection position in each second occupied grid 341 of the second grid plane map 34.

[0252] Optionally, the processor 130 is configured to perform grid similarity matching based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33 and the at least one second projection position in each second occupied grid 341 of the second grid plane map 34, to obtain a similarity matching result, including:

[0253] Obtaining a first position normalized value corresponding to the first occupied grid 331 based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33, and obtaining a second position normalized value corresponding to the second grid based on the at least one second projection position in each second grid of the second grid plane map 34;

[0254] A grid similarity matching is performed based on the first position normalized value of each first occupied grid 331 in the first grid plane map 33 and the second position normalized value of each second occupied grid 341 in the second grid plane map 34 to obtain a similarity matching result.

[0255] Optionally, the processor 130 is configured to perform grid similarity matching based on the first position normalized value of each first occupied grid 331 in the first grid plane map 33 and the second position normalized value of each second occupied grid 341 in the second grid plane map 34, to obtain a similarity matching result, including:

[0256] When traversing any first occupied grid 331 in the first grid plane map 33, the first calculation parameter value is increased by 1;

[0257] When the first position normalized value of any of the first occupied grids 331 and the second position normalized value of the grid corresponding to any of the first occupied grids 331 in the second grid plane map 34 meet the same preset condition, the second calculation parameter value is increased by 1;

[0258] After the traversal is completed, the quotient of the second calculation parameter value and the first calculation parameter value is calculated to obtain a first similarity matching result.

[0259] Optionally, the processor 130 is configured to perform grid similarity matching based on the first position normalized value of each first occupied grid 331 in the first grid plane map 33 and the second position normalized value of each second occupied grid in the second grid plane map 34, to obtain a similarity matching result, including:

[0260] When traversing any second occupied grid 341 in the second grid plane map 34, the third calculation parameter value is increased by 1;

[0261] When the second position normalized value of any second occupied grid 341 and the first position normalized value of the grid corresponding to any second occupied grid 341 in the first grid plane map 33 meet the same preset condition, the fourth calculation parameter value is increased by 1;

[0262] After the traversal is completed, the quotient of the fourth calculation parameter value and the third calculation parameter value is calculated to obtain a second similarity matching result.

[0263] Optionally, the processor 130 is configured to obtain a first position normalized value corresponding to the first occupied grid 331 based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33, and obtain a second position normalized value corresponding to the second grid based on the at least one second projection position in each second grid of the second grid plane map 34, including:

[0264] determining a first position normalized value of 1 for each first occupied grid 331 based on the at least one first projection position in each first occupied grid 331 of the first grid plane map 33, wherein an initial position normalized value of each grid in the first grid plane map 33 before similarity matching is zero, and

[0265] Based on the at least one first projection position in each second grid of the second grid plane map 34, the second position normalization value of the corresponding second grid is determined to be 1, wherein the initial position normalization value of each grid in the second grid plane map 34 before similarity matching is zero.

[0266] Optionally, the processor 130 is configured to allocate the plurality of frame point clouds to the first point cloud set or the second point cloud set respectively, including:

[0267] Dividing the preset detection time period into a first detection time period and a second detection time period;

[0268] The plurality of frame point clouds within the first detection time period are respectively allocated to a first point cloud set, and the plurality of frame point clouds within the second detection time period are respectively allocated to a second point cloud set.

[0269] Optionally, the processor 130 is configured to determine whether the position of the automatic cleaning device changes based on the similarity matching result, including:

[0270] When the first similarity matching result and / or the second similarity matching result is greater than or equal to a preset proportion threshold, it is determined that the position of the automatic cleaning device has not changed.

[0271] Optionally, the processor 130 is further configured to determine whether the position of the automatic cleaning device changes based on the similarity matching result, including:

[0272] When the first similarity matching result and / or the second similarity matching result is smaller than a preset proportion threshold, it is determined that the position of the automatic cleaning device has changed.

[0273] Optionally, the processor 130 is configured to determine, based on the metered distance value and the plurality of frame point clouds, that the automatic cleaning device is in a slipping state, including:

[0274] determining whether a position change occurs to the automatic cleaning device based on the plurality of frame point clouds;

[0275] When it is determined based on the plurality of frame point clouds that the automatic cleaning device has not changed its position, determining whether the metering distance value is greater than a preset metering distance threshold;

[0276] When the metering distance value is greater than a preset metering distance threshold, it is determined that the automatic cleaning device is in a slipping state.

[0277] During the movement of the automatic cleaning device, the disclosed embodiment obtains the metered distance value and multiple frame point clouds of the automatic cleaning device within a preset detection time period. By identifying the metered distance value, the active stop state of the automatic cleaning device within the preset detection time period is excluded from the detection of the slip state, thereby reducing the number of times the slip state is detected and improving the perception efficiency of the system. When detecting the slip state, the matching relationship between the point data of multiple frame point clouds is used to determine whether the position of the automatic cleaning device has changed, and then determine that the automatic cleaning device is in a slip state. This reduces the amount of data processing and the complexity of matching, improves the efficiency of matching, can quickly and accurately detect the slip state, improves the sensitivity of detection, and improves the user experience.

[0278] An embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer program instructions, which implement any of the above method steps when called and executed by a processor.

[0279] An embodiment of the present disclosure provides an automatic cleaning device, including a processor and a memory, wherein the memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, the method steps of any of the aforementioned embodiments are implemented.

[0280] As shown in Figure 6, the automatic cleaning device may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In RAM 603, various programs and data required for the operation of the automatic cleaning device are also stored. The processing device 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0281] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a hard disk; and a communication device 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 6 illustrates an electronic device having various devices, it should be understood that not all of the illustrated devices are required to be implemented or present. More or fewer devices may alternatively be implemented or present.

[0282] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0283] Finally, it should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. References to the common and similar parts between the various embodiments will be sufficient. For the systems or devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, their descriptions are relatively simple; for relevant details, refer to the descriptions of the methods.

[0284] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present disclosure.

Claims

1. A method for detecting a slipping state, comprising: During the walking process of the automatic cleaning device, within a preset detection time period, a metered distance value is obtained through an odometer, and multiple frame point clouds are obtained through a laser radar, wherein the metered distance value represents a rotation distance value of the driving wheel assembly; It is determined that the automatic cleaning device is in a slipping state based on the metering distance value and the multiple frame point clouds.

2. The method according to claim 1, wherein: The determining that the automatic cleaning device is in a slipping state based on the metering distance value and the plurality of frame point clouds comprises: When the metering distance value is greater than a preset metering distance threshold, determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds; When it is determined that the position of the automatic cleaning device has not changed, it is determined that the automatic cleaning device is in a slipping state.

3. The method according to claim 1, wherein: The method of determining that the automatic cleaning device is in a slipping state based on the metering distance value and the plurality of frame point clouds comprises the following steps: Determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds; When it is determined based on the plurality of frame point clouds that the automatic cleaning device has not changed its position, determining whether the metering distance value is greater than a preset metering distance threshold; When the metering distance value is greater than a preset metering distance threshold, it is determined that the automatic cleaning device is in a slipping state.

4. The method according to claim 2 or 3, wherein: Each frame point cloud includes multiple point data; The determining whether the position of the automatic cleaning device changes based on the multiple frame point clouds includes: Allocate the multiple frame point clouds to a first point cloud set or a second point cloud set respectively, wherein the first point cloud set includes multiple first frame point clouds, and the second point cloud set includes multiple second frame point clouds; Perform similarity matching based on the multiple first frame point clouds and the multiple second frame point clouds to obtain a similarity matching result; It is determined whether the position of the automatic cleaning device changes based on the similarity matching result.

5. The method according to claim 4, wherein: The step of respectively allocating the plurality of frame point clouds to the first point cloud set or the second point cloud set comprises: Dividing the preset detection time period into a first detection time period and a second detection time period; The plurality of frame point clouds within the first detection time period are respectively allocated to a first point cloud set, and the plurality of frame point clouds within the second detection time period are respectively allocated to a second point cloud set.

6. The method according to claim 4, wherein: The performing similarity matching based on the plurality of first frame point clouds and the plurality of second frame point clouds to obtain a similarity matching result includes: The two-dimensional position of each point data in each first frame point cloud is projected onto a preset plane to obtain a first plane map, and the two-dimensional position of each point data in each second frame point cloud is projected onto a preset plane to obtain a second plane map, wherein the first plane map includes a plurality of first projection positions, and the second plane map includes a plurality of second projection positions; Similarity matching is performed based on the plurality of first projection positions in the first plane map and the plurality of second projection positions in the second plane map to obtain a similarity matching result.

7. The method according to claim 6, wherein: The preset plane includes a preset grid plane; The first plane map includes a first grid plane map; the plurality of grids of the first grid plane map include a plurality of first occupied grids, and each of the first occupied grids includes at least one first projection position; The second plane map includes a second grid plane map; the plurality of grids of the second grid plane map include a plurality of second occupied grids, and each second occupied grid includes at least one second projection position; The performing similarity matching based on the plurality of first projection positions in the first plane map and the plurality of second projection positions in the second plane map to obtain a similarity matching result includes: A similarity matching result is obtained based on grid similarity matching of the at least one first projection position in each first occupied grid of the first grid plane map and the at least one second projection position in each second occupied grid of the second grid plane map.

8. The method according to claim 7, wherein: The performing grid similarity matching based on the at least one first projection position in each first occupied grid of the first grid plane map and the at least one second projection position in each second occupied grid of the second grid plane map to obtain a similarity matching result includes: Obtaining a first position normalized value corresponding to a first occupied grid based on the at least one first projection position in each first occupied grid of the first grid plane map, and obtaining a second position normalized value corresponding to a second grid based on the at least one second projection position in each second grid of the second grid plane map; A grid similarity matching is performed based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result.

9. The method according to claim 8, wherein: The performing grid similarity matching based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result includes: When traversing any first occupied grid in the first grid plane map, the first calculation parameter value is increased by 1; When the first position normalized value of any first occupied grid and the second position normalized value of the grid corresponding to any first occupied grid in the second grid plane map meet the same preset condition, the second calculation parameter value is increased by 1; After the traversal is completed, the quotient of the second calculation parameter value and the first calculation parameter value is calculated to obtain a first similarity matching result.

10. The method according to claim 9, wherein: The performing grid similarity matching based on the first position normalized value of each first occupied grid in the first grid plane map and the second position normalized value of each second occupied grid in the second grid plane map to obtain a similarity matching result includes: When traversing any second occupied grid in the second grid plane map, the third calculation parameter value is increased by 1; When the second position normalized value of any second occupied grid and the first position normalized value of the grid corresponding to any second occupied grid in the first grid plane map meet the same preset condition, the fourth calculation parameter value is increased by 1; After the traversal is completed, the quotient of the fourth calculation parameter value and the third calculation parameter value is calculated to obtain a second similarity matching result.

11. The method according to claim 8, wherein: The obtaining a first position normalized value corresponding to the first occupied grid based on the at least one first projection position in each first occupied grid of the first grid plane map, and obtaining a second position normalized value corresponding to the second grid based on the at least one second projection position in each second grid of the second grid plane map, comprises: Determining a first position normalized value of the corresponding first occupied grid based on the at least one first projection position in each first occupied grid of the first grid plane map as 1, wherein an initial position normalized value of each grid in the first grid plane map before similarity matching is zero, and, Based on the at least one first projection position in each second grid of the second grid plane map, a second position normalized value of the corresponding second grid is determined to be 1, wherein an initial position normalized value of each grid in the second grid plane map before similarity matching is zero.

12. The method according to claim 10, wherein: The determining whether the position of the automatic cleaning device changes based on the similarity matching result includes: When the first similarity matching result and / or the second similarity matching result is greater than or equal to a preset proportion threshold, it is determined that the position of the automatic cleaning device has not changed.

13. The method according to claim 10, wherein: The determining whether the position of the automatic cleaning device changes based on the similarity matching result includes: When the first similarity matching result and / or the second similarity matching result is less than a preset proportion threshold, it is determined that a position change occurs in the automatic cleaning device.

14. An automatic cleaning device comprising: Odometer, LiDAR and processor; An odometer configured to obtain a metered distance value, wherein the metered distance value represents a rotation distance value of the driving wheel assembly; A laser radar configured to obtain a frame point cloud during the walking process of the automatic cleaning device; A processor is respectively connected to the odometer and the laser radar for communication, and the processor is configured as follows: During the walking process of the automatic cleaning device, within a preset detection time period, a metered distance value is obtained through an odometer, and multiple frame point clouds are obtained through a laser radar, wherein the metered distance value represents a rotation distance value of the driving wheel assembly; It is determined that the automatic cleaning device is in a slipping state based on the metering distance value and the multiple frame point clouds.

15. An automatic cleaning device, comprising a processor and a memory, wherein: The memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, the method steps according to any one of claims 1 to 13 are implemented.

16. A non-transitory computer-readable storage medium storing computer program instructions, wherein the computer program instructions implement the method steps according to any one of claims 1 to 13 when called and executed by a processor.