Cleaning method of a cleaning machine and cleaning machine
By detecting carpet edges using visual and linear laser sensors, the cleaning machine moves along the outer edge of the carpet to clean it. Combined with shape and thickness adjustment strategies, this solves the problems of the cleaning machine getting stuck at the carpet edge and incomplete cleaning, thus improving cleaning efficiency and cleanliness.
Patent Information
- Application Number
- CN202510665754.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2026-11-24
AI Technical Summary
Cleaning machines are prone to getting stuck at the edges of carpets, causing the carpet to roll up, and making it difficult to thoroughly clean certain edge areas, which affects cleaning efficiency and the degree of cleanliness.
The cleaning machine detects carpet edges using visual and line laser sensors, controls the machine's profile to fit or be positioned outside the carpet edges, and uses dry and wet cleaning modules to move and clean along the outer edges of the carpet, adjusting the cleaning strategy based on the carpet's shape and thickness.
It improves the cleaning efficiency of the cleaning machine and the cleanliness of the carpet edges, avoids jamming and carpet rolling, and ensures thorough cleaning of the carpet edges.
Smart Images

Figure CN123147808A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of robotics, and more particularly to a cleaning method and a cleaning machine. Background Technology
[0002] In related technologies, when a cleaning machine cleans along a carpet, it often uses a single-point ultrasonic sensor to clean along the carpet's edge. This results in the cleaning machine being half on the carpet and half off. On one hand, the edges are the most prone to getting stuck, and cleaning along the edges increases the probability of the cleaning machine getting stuck and the carpet being rolled up, thus affecting cleaning efficiency. On the other hand, to avoid wetting the carpet, cleaning along the edges requires lifting the mop, which can easily lead to missed areas. Finally, debris tends to accumulate at the edges, making it difficult to clean thoroughly with just a roller brush.
[0003] It is evident that improving the cleaning efficiency of cleaning machines and enhancing the cleanliness of carpet edges is a technical issue worthy of attention. Summary of the Invention
[0004] In view of this, in order to solve some or all of the above-mentioned technical problems, this application provides a cleaning method and a cleaning machine.
[0005] In a first aspect, embodiments of this application provide a cleaning method for a cleaning machine, the method comprising:
[0006] Control the cleaning machine to clean the target area;
[0007] When carpet is detected in the target area, the cleaning machine is controlled to detect the carpet edge.
[0008] The cleaning machine is controlled to move and clean along the edge of the carpet outside the carpet, wherein, during the process of the cleaning machine moving and cleaning along the edge of the carpet outside the carpet, the outline of the cleaning machine is in contact with the edge of the carpet or is located outside the edge of the carpet.
[0009] In some possible implementations, the above method further includes:
[0010] Determine whether carpet cleaning is necessary;
[0011] When carpet cleaning is to be performed, the cleaning machine is controlled to clean the carpet within the carpet area. During the carpet cleaning process, the body outline of the cleaning machine is in contact with or located inside the edge of the carpet.
[0012] In some possible implementations, controlling the cleaning machine to perform carpet cleaning within the carpet area includes:
[0013] The wet cleaning module of the aforementioned cleaning machine is controlled to be in a raised state in order to control the cleaning machine to perform carpet cleaning in the carpet area.
[0014] In some possible implementations, the above-described determination of whether to perform carpet cleaning includes:
[0015] Control the carpet thickness detected by the aforementioned cleaning machine;
[0016] Based on the carpet thickness mentioned above, determine whether carpet cleaning is necessary.
[0017] In some possible implementations,
[0018] The number of carpet thicknesses mentioned above is multiple; and
[0019] The above determination of whether carpet cleaning is necessary based on the carpet thickness includes:
[0020] Determine a plurality of target parameters for the carpet thicknesses, wherein the target parameters are determined based on at least one of the mean of the plurality of carpet thicknesses and the variance of the plurality of carpet thicknesses.
[0021] Determine the relationship between the target parameters and the preset parameter thresholds;
[0022] Based on the above size relationship, determine whether carpet cleaning is necessary.
[0023] In some possible implementations, the above method further includes:
[0024] Determine the shape of the carpet;
[0025] Based on the carpet shape described above, the cleaning strategy of the cleaning machine in the carpet area is determined.
[0026] Following the cleaning strategy described above, control the cleaning machine to clean the carpet.
[0027] In some possible implementations, the above-described cleaning strategy for the cleaning machine within the carpet area, based on the carpet shape, includes:
[0028] If the carpet is not rectangular, control the cleaning machine to move along the edge of the carpet and then control the cleaning machine to clean in a straight line within the carpet area; or, control the cleaning machine to clean in a straight line within the carpet area and then control the cleaning machine to move along the edge of the carpet.
[0029] When the carpet is rectangular, the cleaning machine is controlled to clean the carpet area in a straight line, moving back and forth.
[0030] In some possible implementations, the body outline of the cleaning machine is spaced at a predetermined distance from the edge of the carpet.
[0031] In some possible implementations, the cleaning machine detects the presence of carpet in the target area using a visual sensor and / or an ultrasonic sensor.
[0032] The aforementioned visual sensor is located on the front side of the cleaning machine body, and the aforementioned ultrasonic sensor is located on the bottom of the cleaning machine body.
[0033] In some possible implementations, the cleaning machine detects the edge of the carpet using a line laser sensor;
[0034] The aforementioned line laser sensor is located on the right side of the cleaning machine's body.
[0035] In some possible implementations, the cleaning machine includes a dry cleaning module and a wet cleaning module, and controlling the cleaning machine to move and clean along the edge of the carpet outside the carpet includes:
[0036] The dry cleaning module and the wet cleaning module are controlled to move and clean along the edge of the carpet outside the carpet.
[0037] In some possible implementations, controlling the cleaning machine to detect carpet edges includes:
[0038] Get the thickness of the current carpet edge;
[0039] The height of the detected object above the ground is used to determine whether the detected object is the edge of the carpet, based on the thickness of the current carpet edge and the height of the detected object above the ground.
[0040] Secondly, embodiments of this application provide a cleaning machine, comprising:
[0041] body;
[0042] A walking mechanism, connected to the machine body, is used to drive the cleaning machine to move within the target area;
[0043] A cleaning module, connected to the body, is used to clean the target area; and
[0044] A processing unit, connected to the walking mechanism and the cleaning module, is configured to implement the cleaning method of any embodiment of the cleaning machine as described in the first aspect above.
[0045] Thirdly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the cleaning method of any embodiment of the cleaning machine as described in the first aspect above.
[0046] Fourthly, embodiments of this application provide a computer program product comprising computer-readable code that, when executed on a device, causes a processor in the device to implement the cleaning method of any embodiment of the cleaning machine described in the first aspect above.
[0047] The cleaning method of the cleaning machine provided in this application embodiment involves controlling the cleaning machine to clean a target area. Then, when carpet is detected within the target area, the cleaning machine is controlled to detect the carpet edge. Next, the cleaning machine is controlled to move along the carpet edge outside the carpet area for cleaning. During this movement, the machine's body outline is either in contact with or outside the carpet edge. This allows for carpet detection while cleaning the target area, and upon detection, the cleaning machine can simultaneously detect and clean the carpet edge, improving cleaning efficiency and the cleanliness of the carpet edge. Furthermore, since the cleaning machine does not need to ride on the carpet edge to detect and clean it, situations where the cleaning machine gets stuck or the carpet is rolled up can be avoided. Attached Figure Description
[0048] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0049] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0050] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0051] Figure 1 A schematic flowchart of a cleaning method for a cleaning machine provided in an embodiment of this application;
[0052] Figure 2A schematic flowchart illustrating another cleaning method for a cleaning machine provided in an embodiment of this application;
[0053] Figure 3A This is a schematic diagram illustrating the cleaning method of a cleaning machine according to an embodiment of this application, targeting different carpet thicknesses.
[0054] Figure 3B This is a schematic diagram illustrating the cleaning of a non-rectangular carpet area in a cleaning method using a cleaning machine provided in an embodiment of this application.
[0055] Figure 4 This is a schematic diagram of the structure of a cleaning machine provided in an embodiment of this application. Detailed Implementation
[0056] Various exemplary embodiments of this application will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of this application.
[0057] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of this application are only used to distinguish different steps, devices or modules, and do not represent any specific technical meaning, nor do they indicate the logical order between them.
[0058] It should also be understood that in this embodiment, "multiple" can refer to two or more, and "at least one" can refer to one, two or more.
[0059] It should also be understood that any component, data or structure mentioned in the embodiments of this application can generally be understood as one or more unless explicitly defined or given contrary guidance in the context.
[0060] Furthermore, the term "and / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this application generally indicates that the preceding and following related objects have an "or" relationship.
[0061] It should also be understood that the description of the various embodiments in this application emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.
[0062] The following description of at least one exemplary embodiment is merely illustrative and is not intended to limit the scope of this application or its application or use.
[0063] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0064] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0065] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. To facilitate understanding of the embodiments of this application, the application will be described in detail below with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0066] In order to solve the technical problem of how to improve the cleanliness of cleaning in the prior art, this application provides a cleaning method and a cleaning machine that can improve the cleanliness of cleaning.
[0067] Figure 1 This is a flowchart illustrating a cleaning method for a cleaning machine provided in an embodiment of this application. This method can be applied to electronic devices such as cleaning machines. Furthermore, the executing entity of this method can be hardware or software. When the executing entity is hardware, it can be one or more of the aforementioned electronic devices. For example, a single electronic device can execute this method, or multiple electronic devices can cooperate with each other to execute this method. When the executing entity is software, this method can be implemented as multiple software programs or software modules, or as a single software program or software module. No specific limitations are made here.
[0068] like Figure 1 As shown, the method specifically includes:
[0069] Step 101: Control the cleaning machine to clean the target area.
[0070] In this embodiment, the cleaning machine can be a machine with cleaning functions. As an example, the cleaning machine can be a sweeper, a floor scrubber, etc.
[0071] The target area can be the area to be cleaned by the cleaning machine. For example, the target area can be an indoor room, an outdoor yard, the entire area accessible to the cleaning machine on the map, or a user-defined area.
[0072] During the cleaning process of the cleaning machine, it is possible to detect whether there is carpet in the target area.
[0073] In practice, various methods can be used to detect whether a carpet exists in the target area.
[0074] As an example, visual recognition can be used to detect whether a carpet exists in a target area; ultrasonic sensors can also be used to detect whether a carpet exists in a target area.
[0075] Step 102: When a carpet is detected in the target area, control the cleaning machine to detect the edge of the carpet.
[0076] In this embodiment, the carpet edge can be the part where the carpet meets other areas around it (such as non-carpet materials like flooring or tiles).
[0077] Here, carpet edges can be detected using line laser sensors, vision sensors, and other methods.
[0078] A line laser sensor is a sensor that emits a laser line and detects the reflected laser to determine distance. Here, a line laser sensor can be used to detect carpet edges so that the cleaning machine can subsequently locate and clean those edges. The line laser sensor can be installed on the right side of the cleaning machine, such as the front right side.
[0079] Here, a line laser sensor can be used to emit a laser and receive the reflected laser signal to determine the location of a local carpet edge. Specific methods may include, for example, adjusting the angle and distance of the sensor and emitting a laser line, and then analyzing the intensity and time difference of the reflected signal to determine the location of the local carpet edge.
[0080] Step 103: Control the cleaning machine to move and clean along the outer edge of the carpet. During the cleaning process, the body outline of the cleaning machine is close to or located outside the carpet edge, that is, the body of the cleaning machine will not cover the carpet, thereby avoiding the carpet from being pulled into the cleaning machine or the cleaning machine from getting stuck.
[0081] In this embodiment, after determining the carpet edge, the cleaning machine can be further controlled to move and clean along the outer edge of the carpet.
[0082] Here, while controlling the body contour of the cleaning machine to fit against the edge of the carpet, the side brush in the cleaning machine can be controlled to be in a raised state so that at least one of the roller brush and mop in the cleaning machine is as close as possible to the edge of the carpet for cleaning.
[0083] In some optional implementations of this embodiment, the following steps may also be performed:
[0084] The first step is to determine the shape of the carpet.
[0085] The second step is to determine the cleaning strategy for the cleaning machine within the carpet area, based on the carpet shape described above. Here, "within the carpet area" means that the cleaning machine is located within the carpet coverage area and moves across the carpet to clean it.
[0086] The third step is to control the cleaning machine to clean the carpet according to the cleaning strategy described above.
[0087] The carpet shape can refer to its geometric shape, such as rectangular or circular. Here, carpet shape is a crucial factor in determining the cleaning strategy. For example, different shaped carpet areas may require different cleaning strategies. Cleaning strategies can include, for example, cleaning paths and methods.
[0088] Here, the shape of the carpet can be determined by analyzing data acquired through line laser sensors, vision sensors, etc. Specific methods may include: collecting data on the boundaries of the carpet area, using geometric algorithms to determine the shape, and then developing a cleaning strategy based on the shape.
[0089] Furthermore, a carpet cleaning strategy can be determined based on the carpet shape by establishing a pre-defined correspondence between carpet shape and cleaning strategy.
[0090] In some cases, carpet cleaning strategies can also be determined based on the carpet shape and thickness mentioned above.
[0091] It is understandable that, among the above-mentioned optional implementation methods, by determining the shape of the carpet, the cleaning machine can formulate a suitable cleaning strategy based on the specific shape of the carpet area, thereby improving the efficiency and effectiveness of cleaning.
[0092] In some application scenarios of the above-mentioned optional implementation methods, the cleaning strategy of the cleaning machine in the carpet area can be determined based on the carpet shape as follows:
[0093] When the carpet is not rectangular, the cleaning machine is controlled to move along the edge of the carpet and then cleaned in a straight line within the carpet area; or, the cleaning machine is controlled to clean in a straight line within the carpet area and then cleaned along the edge of the carpet. When the carpet is rectangular, the cleaning machine is controlled to clean in a straight line within the carpet area.
[0094] Specifically, when the carpet is not rectangular, the cleaning machine can be first controlled to move along the edge of the carpet for cleaning, and then controlled to move back and forth in a straight line within the carpet area for cleaning. Alternatively, when the carpet is not rectangular, the cleaning machine can also be first controlled to move back and forth in a straight line within the carpet area for cleaning, and then controlled to move along the edge of the carpet for cleaning. In other words, there is no limitation on the order in which the cleaning machine is controlled to move along the edge of the carpet for cleaning and the cleaning machine is controlled to move back and forth in a straight line within the carpet area for cleaning.
[0095] Furthermore, when the carpet is rectangular, the cleaning machine can be controlled to clean the carpet area in a straight line.
[0096] Here, geometric algorithms can be used to determine whether the shape of the carpet area is rectangular. Specific methods may include: collecting data on the carpet area and using geometric algorithms to determine whether the shape is rectangular.
[0097] It is understandable that in the above application scenarios, for irregularly shaped (i.e., non-rectangular) carpets, the cleaning machine can be controlled to move along the edge of the carpet and clean in a straight line within the carpet area; when the carpet is rectangular, the cleaning machine can be controlled to clean in a straight line within the carpet area. Therefore, different cleaning strategies can be adopted for carpets of different shapes, such as rectangular and non-rectangular, to ensure that every part of the carpet area is covered during cleaning, preventing missed areas and improving the cleanliness of carpets of different shapes.
[0098] In some optional implementations of this embodiment, the body outline of the cleaning machine is spaced at a preset distance from the edge of the carpet.
[0099] The aforementioned preset distance can be a pre-set distance value, such as 3 centimeters.
[0100] It is understood that in the above optional implementation, the side brush is in a descending state. Since there is a preset distance between the machine body outline and the edge of the carpet, and the side brush usually extends outside the machine body outline, this not only avoids the carpet from causing the cleaning machine to get stuck, but also allows the side brush to clean the area near the edge of the carpet. Thus, the cleanliness of the carpet edge can be further improved.
[0101] In some optional implementations of this embodiment, the cleaning machine detects whether there is a carpet in the target area using a visual sensor and / or an ultrasonic sensor.
[0102] The aforementioned visual sensor is located on the front side of the cleaning machine body, and the aforementioned ultrasonic sensor is located on the bottom of the cleaning machine body.
[0103] It is understood that, among the above-mentioned optional implementation methods, visual sensors and / or ultrasonic sensors can be used to detect whether a carpet exists in the target area. This can improve the accuracy of detecting whether a carpet exists in the target area.
[0104] In some optional implementations of this embodiment, the cleaning machine detects the edge of the carpet using a line laser sensor.
[0105] The aforementioned line laser sensor is located on the right side of the cleaning machine's body. For example, the line laser sensor can be located on the front right side of the cleaning machine's body.
[0106] It is understood that, in the above-mentioned optional implementation methods, since the carpet edge is detected by a line laser sensor, the carpet edge can be detected more accurately even when the cleaning machine has not entered the carpet area. This can avoid the cleaning machine getting stuck on the carpet edge and reduce the probability of the carpet being rolled up.
[0107] In some optional implementations of this embodiment, the cleaning machine includes at least one of a dry cleaning module and a wet cleaning module.
[0108] The aforementioned dry cleaning module may include roller brushes, side brushes, etc. The wet cleaning module may include roller mops or counter-rotating mops, etc.
[0109] Based on this, the cleaning machine can be controlled to move and clean along the edge of the carpet using the following method:
[0110] The dry cleaning module and the wet cleaning module are controlled to move and clean along the edge of the carpet outside the carpet.
[0111] For example, when cleaning the carpet by moving the mop along the edge of the carpet outside the carpet using the wet cleaning module, wet cleaning can be performed using the mop. Here, wet cleaning can refer to using the mop to drag along the local edge to wet and wipe away dust and stains.
[0112] When the roller brush and side brush in the dry cleaning module move along the edge of the carpet outside the carpet, the dirt near the edge of the carpet can be swept onto the path of the roller brush by controlling the rotation and extension of the side brush, and then swept into the machine body by the roller brush.
[0113] It is understandable that among the above-mentioned optional implementation methods, both dry cleaning modules and wet cleaning modules can be combined to move and clean along the outer edge of the carpet, thereby improving the cleanliness of the carpet edge.
[0114] In some optional implementations of this embodiment, the cleaning machine can be controlled to detect the carpet edge in the following ways:
[0115] The first step is to obtain the thickness of the current carpet edge.
[0116] The thickness of the carpet edge can be obtained using methods such as visual sensors, line laser sensors, and ultrasonic sensors.
[0117] Here, when using a line laser sensor to obtain the thickness of the carpet edge, the carpet thickness can be confirmed without frequent large-angle changes in posture, and there is no need to contact the carpet. The thickness can be detected directly when the cleaning machine walks along the carpet edge, thus the detection efficiency of carpet edge thickness is higher.
[0118] The second step is to detect the height of the probe off the ground, and determine whether the probe is the edge of the carpet based on the thickness of the current carpet edge and the height of the probe off the ground.
[0119] The object being detected can be a carpet or any other object besides a carpet.
[0120] The height of the object above the ground can be detected using visual sensors, line laser sensors, ultrasonic sensors, and other methods.
[0121] The height of the object being detected is compared with the thickness of the carpet edge. If the two are close (e.g., the difference between them is less than or equal to a preset difference), the object being detected can be determined to be the carpet edge. If the difference between them is large (e.g., the difference between them is greater than the preset difference), the object being detected can be determined to be not the carpet edge.
[0122] It is understood that, among the above-mentioned optional implementation methods, it is possible to more accurately determine whether the above-mentioned object is the edge of the carpet based on the thickness of the current carpet edge and the height of the above-mentioned object above the ground.
[0123] It should be noted that, where there is no conflict, the technical features described in different alternative implementations can be included in the same embodiment. For the sake of brevity, they will not be elaborated here.
[0124] The cleaning method of the cleaning machine provided in this application embodiment involves controlling the cleaning machine to clean a target area. Then, when carpet is detected within the target area, the cleaning machine is controlled to detect the carpet edge. Next, the cleaning machine is controlled to move along the carpet edge outside the carpet area for cleaning. During this movement, the machine's body outline is either in contact with or outside the carpet edge. This allows for carpet detection while cleaning the target area, and upon detection, the cleaning machine can simultaneously detect and clean the carpet edge, improving cleaning efficiency and the cleanliness of the carpet edge. Furthermore, since the cleaning machine does not need to ride on the carpet edge to detect and clean it, situations where the cleaning machine gets stuck or the carpet is rolled up can be avoided.
[0125] Figure 2 This is a schematic flowchart illustrating a cleaning method using a cleaning machine provided in an embodiment of this application. The cleaning machine includes a line laser sensor. Figure 2 As shown, the method specifically includes:
[0126] Step 201: Control the cleaning machine to clean the target area.
[0127] In this embodiment, step 201 and Figure 1 Step 101 in the corresponding embodiment is basically the same, and will not be repeated here.
[0128] Step 202: When a carpet is detected in the target area, control the cleaning machine to detect the edge of the carpet.
[0129] In this embodiment, step 202 and Figure 1 Step 102 in the corresponding embodiment is basically the same, and will not be repeated here.
[0130] Step 203: Control the cleaning machine to move and clean along the outer edge of the carpet. During the cleaning process, the body outline of the cleaning machine is in contact with or located outside the carpet edge.
[0131] In this embodiment, step 203 and Figure 1 Step 103 in the corresponding embodiment is basically the same, and will not be repeated here.
[0132] Step 204: Determine whether carpet cleaning is necessary.
[0133] In this embodiment, multiple methods can be used to determine whether carpet cleaning is necessary.
[0134] For example, you can determine whether carpet cleaning is necessary based on factors such as carpet thickness, carpet pile length, and material.
[0135] As an example, if the carpet thickness is greater than or equal to the preset thickness, then carpet cleaning is not required. If the carpet thickness is less than the preset thickness, then carpet cleaning is required.
[0136] As another example, if the carpet pile length is greater than or equal to the preset length, then carpet cleaning is not required. If the carpet pile length is less than the preset length, then carpet cleaning is required.
[0137] Carpet thickness can be the distance from the bottom to the top of the carpet. Here, carpet thickness is an important parameter in determining whether cleaning is necessary. For example, a thicker carpet may not require cleaning, while a thinner carpet may.
[0138] Here, line laser sensors, ultrasonic sensors, vision sensors, etc., can be used to obtain the carpet thickness.
[0139] Step 205: If carpet cleaning is to be performed, control the cleaning machine to clean the carpet in the carpet area. During the carpet cleaning process, the body outline of the cleaning machine is in contact with the edge of the carpet or located inside the edge of the carpet.
[0140] In this embodiment, after determining that carpet cleaning is to be performed, the cleaning machine can be further controlled to clean the carpet within the carpet area. Specifically, after determining that carpet cleaning is to be performed, the cleaning machine is controlled to move from the outside of the carpet to the carpet, and then the cleaning machine is controlled to clean the inside of the carpet. It is worth mentioning that before controlling the cleaning machine to clean the carpet within the carpet area, the cleaning machine is first controlled to clean the outer edge of the carpet along the detected complete carpet edge, avoiding the cleaning machine repeatedly getting on and off the carpet, thus improving cleaning efficiency.
[0141] Here, while controlling the body contour of the cleaning machine to fit the edge of the carpet, the side brushes in the cleaning machine can be controlled to be in a raised state, so that the roller brush and mop in the cleaning machine can be as close as possible to the edge of the carpet for cleaning.
[0142] In some optional implementations of this embodiment, the cleaning machine can be controlled to clean the carpet in the carpet area in the following way: the wet cleaning module of the cleaning machine is controlled to be in a raised state so as to control the cleaning machine to clean the carpet in the carpet area.
[0143] It is understood that in the above-mentioned optional implementation methods, the wet cleaning module is in a raised state when cleaning the inside of the carpet, which can prevent the carpet from getting wet and avoid damaging the carpet.
[0144] In some application scenarios among the above-mentioned optional implementation methods, the following methods can be used to determine whether carpet cleaning is necessary:
[0145] The first step is to control the cleaning machine to detect the carpet thickness.
[0146] The second step is to determine whether carpet cleaning is necessary based on the carpet's thickness.
[0147] Carpet thickness can be the distance from the bottom to the top of the carpet. Here, carpet thickness is an important parameter in determining whether cleaning is necessary. For example, a thicker carpet may not require cleaning, while a thinner carpet may.
[0148] Here, line laser sensors, ultrasonic sensors, vision sensors, etc., can be used to obtain the carpet thickness.
[0149] As an example, if the carpet thickness is greater than or equal to the preset thickness, then carpet cleaning is not required. If the carpet thickness is less than the preset thickness, then carpet cleaning is required.
[0150] As another example, carpet cleaning can be determined based on carpet pile length. For instance, if the carpet is a long-pile carpet, carpet cleaning is not required, while if the carpet is a medium-pile or short-pile carpet, carpet cleaning is required.
[0151] As another example, carpet thickness, pile length, and material can also be considered to determine whether carpet cleaning is necessary.
[0152] Understandably, in the above application scenarios, by measuring the carpet thickness, the cleaning machine can adjust its cleaning strategy according to the actual thickness of the carpet, thereby avoiding the cleaning machine from getting stuck in thick carpets to a greater extent.
[0153] In some of the optional implementations of the above application scenarios, the carpet thickness can be multiple.
[0154] Based on this, the following method can be used to determine whether carpet cleaning is necessary, depending on the carpet thickness:
[0155] The first step is to determine the target parameters for multiple carpet thicknesses.
[0156] The target parameter is determined based on at least one of the mean of multiple carpet thicknesses and the variance of multiple carpet thicknesses.
[0157] The second step is to determine the relationship between the target parameter and the preset parameter threshold.
[0158] The third step is to determine whether carpet cleaning is necessary based on the size of the carpet.
[0159] As an example, if the target parameter is the average value, and the average value is greater than or equal to the preset thickness, then carpet cleaning will not be performed. If the average value is less than the preset thickness, then carpet cleaning will be performed.
[0160] The mean value can be used to describe the central trend of multiple carpet thicknesses. Here, the mean value is used to assess the overall thickness of the carpet to determine whether cleaning is necessary. For example, if the mean thickness at multiple measurement points is lower than a preset thickness, the carpet is considered thin and requires cleaning.
[0161] Here, by assessing the average carpet thickness, the cleaning machine can more accurately determine the carpet thickness, thus further preventing the cleaning machine from getting stuck on thick carpets.
[0162] As an example, if the target parameter is variance, and if the variance is greater than or equal to the preset variance, then carpet cleaning can be performed.
[0163] Variance can be used to describe the dispersion of data. Here, variance is used to assess the error in carpet thickness to determine whether cleaning is necessary. For example, if the variance of carpet thickness at multiple measurement points is large, the carpet thickness error is considered large, and in this case, the carpet can be cleaned.
[0164] Here, by analyzing the variance of carpet thickness, the cleaning machine can identify measurement errors in carpet thickness and thus perform targeted cleaning, thereby improving the accuracy and effectiveness of carpet cleaning.
[0165] As another example, when the target parameters include the mean and variance, the following method can be used to determine whether carpet cleaning is necessary:
[0166] The first step is to determine the average value of the thickness of the carpets mentioned above.
[0167] The second step is to determine the variance of multiple carpet thicknesses, provided that the mean value is greater than or equal to the preset thickness.
[0168] The third step is to determine whether to perform carpet cleaning if the variance mentioned above is greater than or equal to the preset variance.
[0169] The mean can be used to describe the central trend of multiple carpet thicknesses. Here, the mean is used to assess the overall thickness of the carpet to determine whether cleaning is necessary.
[0170] Preset variance refers to the variance threshold set in advance when designing the cleaning machine, used to judge the error in carpet thickness. If the actual measured variance exceeds the preset variance, it is considered that the mean may not reflect the true thickness of the carpet, and thus it can be determined that the carpet needs cleaning.
[0171] In some cases, if the mean value is less than the preset thickness, carpet cleaning can be performed directly without determining the variance of multiple carpet thicknesses.
[0172] Here, when the mean is large, the variance of multiple carpet thicknesses can be further determined to determine whether the mean can reflect the true carpet thickness. When the variance is large, it indicates that the mean may not reflect the true carpet thickness. In this case, the carpet may be thinner, and therefore, the cleaning machine may not get stuck during carpet cleaning. This allows for a more accurate determination of when to clean the carpet, thereby improving the cleanliness of the carpet.
[0173] It is understandable that, among the above-mentioned optional implementation methods, statistical analysis of multiple target parameters of carpet thickness can be used to more accurately and comprehensively determine whether carpet cleaning is necessary.
[0174] It should be noted that, in addition to the contents described above, this embodiment may also include... Figure 1 The corresponding technical features described in the corresponding embodiments are then implemented. Figure 1 For details on the technical effectiveness of the cleaning method of the cleaning machine shown, please refer to [link / reference needed]. Figure 1 The relevant descriptions are presented concisely and will not be elaborated upon here.
[0175] The cleaning method of the cleaning machine provided in this application embodiment involves the cleaning machine's body outline fitting against or located inside the carpet edge during carpet cleaning. This improves the cleanliness of the carpet.
[0176] The following describes the embodiments of this application by way of example. However, it should be noted that the following content is only used to understand the technical solutions of the embodiments of this application and does not constitute a limitation on the protection scope of the embodiments of this application.
[0177] In existing solutions, when a machine (such as a cleaning machine) cleans along a carpet, the ultrasonic sensor at a single point sits on the carpet's edge, resulting in the machine being half on the carpet and half off. Firstly, the edges are the most prone to getting stuck, and sitting on these edges increases the likelihood of the machine getting stuck and the carpet being rolled up. Secondly, to avoid wetting the carpet, cleaning while sitting on the edges requires raising the mop, leading to missed areas. Finally, debris easily accumulates at these edges, making it difficult to clean thoroughly with just a roller brush.
[0178] In view of this, this solution adopts the following approach to solve the above-mentioned technical problems:
[0179] 1. When the machine encounters a carpet, it identifies the edge using vision or a side-line laser and cleans the carpet along the outer edge of the carpet area. At this time, the mop can be lowered to mop the floor simultaneously, ensuring that the local edges are clean.
[0180] 2. When using the side-mounted laser to clean the carpet, get as close to the edge as possible. The side brush of the robot vacuum can then sweep up the debris near the edge, allowing the roller brush to suck up the debris and clean the edge more thoroughly.
[0181] 3. When cleaning the carpet using a side-mounted laser, the carpet thickness (as mentioned above) can be measured simultaneously. Based on the carpet thickness, a normal distribution analysis is performed using statistical methods to extract the mean and variance, thus estimating the average carpet thickness and its distribution characteristics. Carpets exceeding the cleaning capability range of the sweeper are defined as thick carpets and will not be cleaned; otherwise, they are defined as thin carpets and require cleaning. Figure 3A As shown.
[0182] 4. When cleaning carpets using a side-mounted linear laser, the precise location of local edges can be simultaneously recorded. For irregularly shaped carpets (i.e., non-rectangular carpets), directly starting a zigzag coverage on the carpet may result in some areas being missed at the edges. In this case, while cleaning the outer edge of the carpet area, the recorded edge location can be used to perform an inner edge cleaning within the carpet. After completing the inner edge cleaning, a zigzag coverage can then be performed within the carpet. Figure 3B As shown.
[0183] It should be noted that, in addition to the contents described above, this embodiment may also include the technical features described in the above embodiments, thereby achieving the technical effect of the cleaning method of the cleaning machine shown above. For details, please refer to the above description. For the sake of brevity, it will not be elaborated here.
[0184] The cleaning method of the cleaning machine provided in this application embodiment can clean the outer edge of the carpet area, making it less likely for the machine to get stuck. It allows for maximum cleaning of local edges, making it easier to remove debris from those areas. Furthermore, the carpet thickness can be measured to prevent the machine from getting stuck on thick carpets, thereby reducing missed areas at irregular edges.
[0185] Figure 4 This is a schematic diagram of the structure of a cleaning machine provided in an embodiment of this application. Figure 4 The cleaning machine 500 shown includes:
[0186] fuselage 501;
[0187] The walking mechanism 502 is connected to the machine body 501 and is used to drive the cleaning machine to move in the target area.
[0188] Cleaning module 503, connected to body 501, is used to clean the target area; and
[0189] Processing unit 504, connected to walking mechanism 502 and cleaning module 503, is configured to implement the cleaning method of the cleaning machine described above.
[0190] Control the cleaning machine to clean the target area;
[0191] When carpet is detected in the target area, the cleaning machine is controlled to detect the carpet edge.
[0192] The cleaning machine is controlled to move and clean along the edge of the carpet outside the carpet, wherein, during the process of the cleaning machine moving and cleaning along the edge of the carpet outside the carpet, the outline of the cleaning machine is in contact with the edge of the carpet or is located outside the edge of the carpet.
[0193] The cleaning module 503 mentioned herein includes at least one of the aforementioned dry cleaning module and wet cleaning module.
[0194] Furthermore, the computer program product provided in this application embodiment may include computer-readable code, which, when executed on a device, causes a processor in the device to implement the following steps of a cleaning method of a cleaning machine executed on the electronic device side:
[0195] Control the cleaning machine to clean the target area;
[0196] When carpet is detected in the target area, the cleaning machine is controlled to detect the carpet edge.
[0197] The cleaning machine is controlled to move and clean along the edge of the carpet outside the carpet, wherein, during the process of the cleaning machine moving and cleaning along the edge of the carpet outside the carpet, the outline of the cleaning machine is in contact with the edge of the carpet or is located outside the edge of the carpet.
[0198] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0199] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0200] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “” used herein may also indicate the inclusion of the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated, unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0201] The above are merely specific embodiments of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A cleaning method for a cleaning machine, characterized in that, The method includes: Control the cleaning machine to clean the target area; When a carpet is detected in the target area, the cleaning machine is controlled to detect the edge of the carpet; The cleaning machine is controlled to move and clean the carpet along its edge, wherein, during the process of moving and cleaning the carpet along its edge, the body outline of the cleaning machine is in contact with or located outside the carpet edge.
2. The method according to claim 1, characterized in that, The method further includes: Determine whether carpet cleaning is necessary; When carpet cleaning is to be performed, the cleaning machine is controlled to clean the carpet within the carpet area, wherein, during the carpet cleaning process, the body outline of the cleaning machine is in contact with or located inside the edge of the carpet.
3. The method according to claim 2, characterized in that, Controlling the cleaning machine to clean the carpet within the carpet area includes: The wet cleaning module of the cleaning machine is controlled to be in a raised state so as to control the cleaning machine to clean the carpet in the carpet area.
4. The method according to claim 2, characterized in that, The process of determining whether to perform carpet cleaning includes: The cleaning machine is controlled to detect carpet thickness; Based on the carpet thickness, determine whether carpet cleaning is necessary.
5. The method according to claim 4, characterized in that, The carpet thickness is multiple; as well as The step of determining whether to perform carpet cleaning based on the carpet thickness includes: Determine a plurality of target parameters for the carpet thicknesses, wherein the target parameters are determined based on at least one of the mean of the plurality of carpet thicknesses and the variance of the plurality of carpet thicknesses; Determine the magnitude relationship between the target parameter and the preset parameter threshold; Based on the size relationship, determine whether carpet cleaning is necessary.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: Determine the shape of the carpet; Based on the shape of the carpet, determine the cleaning strategy of the cleaning machine in the carpet area; The cleaning machine is controlled to clean the carpet according to the cleaning strategy described above.
7. The method according to claim 6, characterized in that, The step of determining the cleaning strategy of the cleaning machine in the carpet area based on the carpet shape includes: If the carpet is not rectangular, control the cleaning machine to move along the edge of the carpet and then control the cleaning machine to clean in a straight line within the carpet area; or, control the cleaning machine to clean in a straight line within the carpet area and then control the cleaning machine to move along the edge of the carpet. When the carpet is rectangular, the cleaning machine is controlled to clean the carpet area in a straight line, moving back and forth.
8. The method according to claim 1 or 2, characterized in that, The cleaning machine's body outline is spaced at a predetermined distance from the edge of the carpet.
9. The method according to claim 1, characterized in that, The cleaning machine uses a visual sensor and / or an ultrasonic sensor to detect whether there is a carpet in the target area; The visual sensor is located on the front side of the cleaning machine body, and the ultrasonic sensor is located on the bottom of the cleaning machine body.
10. The method according to claim 1 or 8, characterized in that, The cleaning machine detects the edge of the carpet using a line laser sensor; The line laser sensor is located on the right side of the cleaning machine body.
11. The method according to claim 1, characterized in that, The cleaning machine includes a dry cleaning module and a wet cleaning module. Controlling the cleaning machine to move and clean along the edge of the carpet outside the carpet includes: The dry cleaning module and the wet cleaning module are controlled to move and clean outside the carpet along the edge of the carpet.
12. The method according to claim 1, characterized in that, The control of the cleaning machine to detect carpet edges includes: Get the thickness of the current carpet edge; The height of the probe above the ground is detected, and based on the thickness of the current carpet edge and the height of the probe above the ground, it is determined whether the probe is the carpet edge.
13. A cleaning machine, characterized in that, include: body; A walking mechanism, connected to the machine body, is used to drive the cleaning machine to move within the target area; A cleaning module, connected to the body, is used to clean the target area; as well as A processing unit, connected to the walking mechanism and the cleaning module, is configured to implement the cleaning method of the cleaning machine according to any one of claims 1-12.
