Cleaning equipment control method and device, program product, medium and cleaning equipment
By dynamically adjusting the cliff determination threshold and identifying the cliff based on the posture characteristics of the cleaning equipment, the problem of misidentifying low ground as a cliff in the existing technology is solved, and the accuracy of cliff identification and the reliability of the cleaning equipment are improved.
Patent Information
- Application Number
- CN202410851481.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-10
AI Technical Summary
When existing cleaning equipment identifies cliffs, it is easy to mistakenly identify passable low ground as cliffs, resulting in missing cleaning areas and affecting user experience. How to improve the accuracy of cliff identification is an urgent technical problem that needs to be solved.
By obtaining the current posture characteristics of the cleaning equipment, the cliff determination threshold is dynamically adjusted, and cliff determination thresholds with different sensitivities are determined according to different body postures to avoid misidentification and improve the accuracy of cliff identification.
It effectively avoids the situation where the cleaning equipment identifies the low ground that cannot be passed as a non-cliff and does not perform cliff avoidance actions, and the low ground that can be passed as a cliff and performs cliff avoidance actions, which improves the accuracy and cleaning of cliff identification. mission reliability.
Smart Images

Figure CN118614818A
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of cleaning equipment control, and in particular, relates to a cleaning equipment control method, device, program product, medium and cleaning equipment. Background Art
[0002] In some cleaning equipment (such as sweepers and mops), sensors for identifying low ground with large height differences (referred to as cliffs, such as steps by technicians in this field), such as TOF sensors, are generally installed. In the process of the cleaning equipment performing the ground cleaning task, the existing scheme usually compares the ground height data collected by the sensor with a pre-set fixed threshold to predict whether there is a cliff in the ground where the cleaning equipment is traveling. If there is a cliff, the cleaning equipment will take cliff avoidance actions to avoid its body falling into the cliff and being trapped. However, in actual applications, the existing scheme sometimes identifies the low ground that could have been passed as a cliff and triggers a cliff avoidance action, which causes the cleaning equipment to miss the cleaning area and affects the user experience. Based on this, how to improve the accuracy of cliff recognition by cleaning equipment is a technical problem that needs to be solved urgently. Summary of the invention
[0003] The embodiments of the present application provide a cleaning equipment control method, apparatus, computer program product, computer-readable storage medium, and cleaning equipment, which can improve the accuracy of cliff recognition by the cleaning equipment at least to a certain extent.
[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0005] According to a first aspect of an embodiment of the present application, a cleaning equipment control method is provided, the method comprising: acquiring current posture characteristics of the cleaning equipment; determining a cliff determination threshold based on the current posture characteristics of the cleaning equipment, the cliff determination threshold being a critical height value that triggers the cleaning equipment to perform a cliff avoidance action; based on the cliff determination threshold, determining whether to trigger the cleaning equipment to perform a cliff avoidance action.
[0006] In some embodiments of the present application, based on the above scheme, the determining the cliff determination threshold according to the current posture feature of the cleaning device includes: if the current posture feature is the body posture of the cleaning device in a raised state, determining the cliff determination threshold as a first cliff determination threshold. If the current posture feature is the body posture of the cleaning device in a non-raised state, determining the cliff determination threshold as a second cliff determination threshold, wherein the second cliff determination threshold is lower than the first cliff determination threshold.
[0007] In some embodiments of the present application, based on the aforementioned scheme, determining the cliff determination threshold according to the current posture feature of the cleaning device also includes: if the current posture feature is the body posture of the cleaning device in a non-lifted state without raising its head or lowering its head, then determining the cliff determination threshold to be a third cliff determination threshold, wherein the third cliff determination threshold is lower than the second cliff determination threshold.
[0008] In some embodiments of the present application, based on the aforementioned scheme, determining the cliff determination threshold according to the current posture feature of the cleaning device also includes: if the current posture feature is the body posture of the cleaning device with its head down, determining the cliff determination threshold to be a fourth cliff determination threshold, wherein the fourth cliff determination threshold is lower than the third cliff determination threshold.
[0009] In some embodiments of the present application, based on the aforementioned scheme, the current posture feature includes a height value from a first reference position on the cleaning device to a reference plane, and the reference plane is a horizontal driving surface of the cleaning device. Determining the cliff judgment threshold according to the current posture feature of the cleaning device includes: determining the cliff judgment threshold according to the height value from the first reference position to the reference plane, and the cliff judgment threshold is positively correlated with the height value from the first reference position to the reference plane.
[0010] In some embodiments of the present application, based on the aforementioned scheme, the current posture characteristics include the fuselage lifting height and / or the fuselage pitch angle of the cleaning device, and determining the cliff judgment threshold according to the current posture characteristics of the cleaning device includes: determining the cliff judgment threshold according to the fuselage lifting height and / or the fuselage pitch angle, the cliff judgment threshold is positively correlated with the fuselage lifting height, and / or the cliff judgment threshold is positively correlated with the fuselage pitch angle.
[0011] In some embodiments of the present application, based on the aforementioned solution, the determining whether to trigger the cleaning device to perform a cliff avoidance action based on the cliff determination threshold includes: obtaining a height value from a second reference position on the cleaning device to a target ground area, the target ground area being a preset ground area in front of the cleaning device. If the height value from the second reference position to the target ground area is greater than or equal to the cliff determination threshold, the cleaning device is triggered to perform a cliff avoidance action.
[0012] According to a second aspect of an embodiment of the present application, a cleaning equipment control device is provided, the device comprising: an acquisition unit for acquiring current posture characteristics of the cleaning equipment; a determination unit for determining a cliff judgment threshold based on the current posture characteristics of the cleaning equipment, the cliff judgment threshold being a critical height value for triggering the cleaning equipment to perform a cliff avoidance action; a determination unit for determining whether to trigger the cleaning equipment to perform a cliff avoidance action based on the cliff judgment threshold.
[0013] According to a third aspect of an embodiment of the present application, a computer program product is provided, which includes computer instructions, which are stored in a computer-readable storage medium and are suitable for being read and executed by a processor, so that a computer device having the processor executes to implement the operations performed by the method described in any one of the first aspects above.
[0014] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which at least one computer program instruction is stored. The at least one computer program instruction is loaded and executed by a processor to implement the operations performed by the method described in any one of the first aspects above.
[0015] According to a fifth aspect of an embodiment of the present application, a cleaning device is provided, comprising one or more processors and one or more memories, wherein at least one computer program instruction is stored in the one or more memories, and the at least one computer program instruction is loaded and executed by the one or more processors to implement the operations performed by the method described in any one of the first aspects above.
[0016] Based on the technical solution proposed in the present application, the cliff determination threshold is determined according to the current posture characteristics of the cleaning device. The current posture characteristics of the cleaning device are different, that is, the determined cliff determination threshold will also be different. Compared with setting the cliff determination threshold to a fixed value, by adjusting the cliff determination threshold according to the current posture characteristics of the cleaning device, cliff determination thresholds of different sensitivities can be determined for cleaning devices in different fuselage postures. Therefore, when determining whether to trigger the cleaning device to perform a cliff avoidance action based on the cliff determination threshold, it can avoid the cleaning device from identifying an impassable low ground as a non-cliff and not performing a cliff avoidance action to a certain extent, and it can also avoid the cleaning device from identifying a passable low ground as a cliff and performing a cliff avoidance action, thereby improving the accuracy of cliff recognition by the cleaning device.
[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0019] Figure 1 A schematic diagram showing a cleaning device to which an embodiment of the present application can be applied;
[0020] Figure 2 A flow chart showing a cleaning device control method in an embodiment of the present application is shown;
[0021] Figure 3 A schematic diagram showing the posture of a cleaning device to which an embodiment of the present application can be applied;
[0022] Figure 4 A schematic diagram showing the posture of a cleaning device to which an embodiment of the present application can be applied;
[0023] Figure 5 A schematic diagram showing the posture of a cleaning device to which an embodiment of the present application can be applied;
[0024] Figure 6 A schematic diagram showing the posture of a cleaning device to which an embodiment of the present application can be applied;
[0025] Figure 7 A detailed flow chart of a control method according to an embodiment of the present application is shown;
[0026] Figure 8 A block diagram of a cleaning equipment control device in an embodiment of the present application is shown;
[0027] Fig. 9 A schematic structural diagram of a cleaning device in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0030] The block diagrams shown in the accompanying drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices. It should also be noted that in the accompanying drawings, in order to ensure the simplicity of the drawings, some components in the drawings that do not affect the explanation of the technical solution of the present application are adaptively omitted.
[0031] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0032] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0033] In order to enable those skilled in the art to better understand the cleaning equipment involved in this application, Figure 1 The cleaning device involved in the present application is briefly described with a specific embodiment.
[0034] See also Figure 1 , showing a schematic diagram of a cleaning device to which an embodiment of the present application can be applied.
[0035] In this application, if Figure 1The cleaning device 101 shown can be a sweeper, a mop, or a sweeper and mop all-in-one. In the process of performing the cleaning task, the ground is generally cleaned according to the planned cleaning path. However, in some scenarios, the cleaning device may encounter a low ground similar to a step (i.e., a cliff as defined in this application). In order to avoid the cleaning device from falling into the cliff and being trapped, if the cleaning device detects that the height of the low ground exceeds the cliff determination threshold, the cleaning device will generally determine it as a cliff and perform cliff avoidance actions, such as choosing to detour. However, if a low ground with a small height difference is encountered, the cleaning device can pass, so there is no need to perform cliff avoidance actions. Therefore, it is very important for cleaning equipment to accurately identify cliffs.
[0036] In this application, the cleaning device may be equipped with Figure 1 The distance measuring sensor 102 shown, such as a TOF sensor, can detect the height data of the cleaning device relative to the low ground (if there is a low ground), so as to determine whether the low ground is a cliff based on the detected height data. Figure 1 The body shape of the cleaning device is circular, but it is merely exemplary. In other embodiments, the shape of the cleaning device may be square, trapezoidal, or other shapes, and this application does not make any specific limitation on this.
[0037] In existing solutions, the ground height data collected by the sensor is usually compared with a pre-set fixed threshold to predict whether there is a cliff on the ground where the cleaning equipment is traveling. However, in actual applications, the existing solutions sometimes identify low ground that can be passed as a cliff and trigger cliff avoidance action, causing the cleaning equipment to miss the cleaning area, and identify low ground that cannot be passed as non-cliffs and not trigger cliff avoidance action, causing the cleaning equipment to be trapped on the cliff, affecting the user experience. Based on this, the present application proposes a cleaning equipment control solution to improve the accuracy of the cleaning equipment in recognizing cliffs.
[0038] The cleaning equipment control scheme proposed in this application is described in detail below.
[0039] Reference Figure 2 , which shows a flow chart of a cleaning device control method in an embodiment of the present application, and the cleaning device control method can be executed by a device having a computing and processing function, referring to Figure 1 As shown, the cleaning equipment control method at least includes steps 210 to 230, which are described in detail as follows:
[0040] In step 210, the current posture feature of the cleaning device is obtained.
[0041] In the present application, the cleaning device can detect its own posture characteristics (i.e., the current posture characteristics) in real time during the execution of the cleaning task, or it can detect its own posture characteristics at intervals. Specifically, the cleaning device can detect the current posture characteristics through some sensors installed on itself (such as angle sensors, ranging sensors), or it can determine the current posture characteristics of the cleaning device through program instructions that control the cleaning device to perform related actions. Specifically, the present application does not specifically limit the way in which the cleaning device obtains the current posture characteristics.
[0042] In one embodiment of the present application, the current posture feature may be characterized by the current state and / or action of the cleaning device.
[0043] Specifically, in this embodiment, the posture feature of the cleaning device may be the body posture of the cleaning device in a raised state (which may include the body posture of the body with its head raised in a raised state and the body posture of the body without its head raised in a raised state).
[0044] In this embodiment, the posture feature of the cleaning device may be the body posture of the cleaning device when it is raised in a non-lifted state.
[0045] In this embodiment, the posture feature of the cleaning device may be a body posture of the cleaning device in a non-lifted state without raising its head or lowering its head.
[0046] In this embodiment, the posture feature of the cleaning device may be a body posture of the cleaning device with its head lowered (in this application, the situation in which the cleaning device is lowered exists when the cleaning device is in a non-lifted state).
[0047] It should be noted that the lifting state described in the present application may refer to the state of the cleaning device when the servos of its running wheels and universal wheels are simultaneously lifted to a certain height, so that the entire body of the cleaning device is lifted to a certain height.
[0048] In order to make those skilled in the art better understand the present application, Figures 3 to 6 Several posture features in the above embodiment are described.
[0049] See also Figure 3 , showing a posture diagram of a cleaning device that can be applied to an embodiment of the present application.
[0050] like Figure 3 As shown in FIG. 1 , the body posture of the cleaning device 101 in the lifted state, wherein the steering gears of the running wheels 102 and the universal wheels 103 are simultaneously lifted to a certain height. The body posture of the cleaning device 101 in the lifted state may specifically include two situations, such as Figure 3 This situation can occur in the obstacle-crossing scenario of the cleaning equipment (such as crossing a high threshold). Figure 3 The situation shown in sub-figure (b) in the figure can occur in the escape scenario of the cleaning device (for example, when the cleaning device cannot cross the obstacle normally, it will try to rush over the obstacle. During this process, the body of the cleaning device will rise due to inertia, that is, the head of the body will be suspended in the air).
[0051] See also Figure 4 , showing a posture diagram of a cleaning device that can be applied to an embodiment of the present application.
[0052] like Figure 4 As shown in FIG. 1 , the body posture of the cleaning device 101 when it is not lifted up is shown. The body posture of the cleaning device 101 when it is not lifted up can specifically include two situations, such as Figure 4 The situation shown in sub-figures (a) and (b) in the figure can occur in the escape scenario of cleaning equipment. Figure 4 This is the situation shown in sub-figure (c) in the figure. This situation can occur in the obstacle-crossing scenario of the cleaning equipment or the scenario of detecting large obstacles.
[0053] See also Figure 5 , showing a posture diagram of a cleaning device that can be applied to an embodiment of the present application.
[0054] like Figure 5 As shown, the cleaning device 101 is in a non-lifted state, with its head neither raised nor lowered. This body posture may occur in a scene where the cleaning device performs a cleaning task or detects obstacles on a relatively flat ground.
[0055] See also Figure 6 , showing a posture diagram of a cleaning device that can be applied to an embodiment of the present application.
[0056] like Figure 6 As shown, the cleaning device 101 is in a posture of lowering its head. This posture may appear in a scene where the cleaning device is detecting small obstacles.
[0057] In another embodiment of the present application, the current posture feature may also be characterized by a height value from a first reference position on the cleaning device to a reference plane, wherein the reference plane is a horizontal driving surface of the cleaning device.
[0058] In an embodiment, the first reference position may be any position on the cleaning device defined according to actual conditions, such as Figure 5 The first reference position 104 is shown. Figures 3 to 6It can be understood that when cleaning equipment with different body postures are on the same reference plane (horizontal driving ground), the heights from the first reference position to the reference plane will also be different. Therefore, the current posture characteristics of the cleaning equipment can be characterized by the height value from the first reference position on the cleaning equipment to the reference plane.
[0059] In another embodiment of the present application, the current posture feature may also be characterized by the fuselage lifting height and / or the fuselage pitch angle of the cleaning device.
[0060] In an embodiment, in combination Figure 3 The subgraph (a) and Figure 5 , the lifting height of the cleaning equipment is different. Figure 3 In the sub-figure (b), if the cleaning device raises its head, its body pitch angle θ1 can be a positive value. Figure 5 If the cleaning device neither raises its head nor lowers its head, its body pitch angle θ2 can be 0 degrees. Figure 6 If the cleaning device lowers its head, its fuselage pitch angle θ3 may be a negative value. It is understandable that cleaning devices with different fuselage postures will have different fuselage lifting heights and / or fuselage pitch angles. Therefore, the current posture characteristics of the cleaning device can be characterized by the fuselage lifting height and / or fuselage pitch angle of the cleaning device.
[0061] Continue to refer to Figure 1 In step 220, a cliff determination threshold is determined according to the current posture characteristics of the cleaning device, and the cliff determination threshold is a critical height value that triggers the cleaning device to perform a cliff avoidance action.
[0062] In the present application, the cliff determination threshold is the critical height value that triggers the cleaning device to perform cliff avoidance action. Specifically, the smaller the cliff determination threshold, the higher the sensitivity of triggering the cleaning device to perform cliff avoidance action, and the larger the cliff determination threshold, the lower the sensitivity of triggering the cleaning device to perform cliff avoidance action. In the present application, the cliff determination threshold is determined according to the current posture characteristics of the cleaning device. It can be understood that the cliff determination threshold determined in the present application is not fixed, that is, the current posture characteristics of the cleaning device are different, and the determined cliff determination threshold will also be different. The advantage of this is that by adjusting the cliff determination threshold according to the current posture characteristics of the cleaning device, cliff determination thresholds of different sensitivities can be determined for cleaning devices in different fuselage postures, which can avoid to a certain extent the cleaning device identifying the low ground that cannot be passed as non-cliff and not performing cliff avoidance action, and identifying the low ground that can be passed as cliff and performing cliff avoidance action, thereby improving the accuracy of the cleaning device in recognizing cliffs.
[0063] In one embodiment of the present application, if the current posture feature of the cleaning device is characterized by the current state and / or action of the cleaning device, then the cliff determination threshold is determined according to the current posture feature of the cleaning device, and the steps 221 to 222 may be performed as follows:
[0064] Step 221: If the current posture feature is the posture of the cleaning device in a raised state, determine that the cliff determination threshold is a first cliff determination threshold.
[0065] Step 222: if the current posture feature is the posture of the cleaning device with its head raised in a non-lifted state, determine that the cliff determination threshold is a second cliff determination threshold, wherein the second cliff determination threshold is lower than the first cliff determination threshold.
[0066] In this embodiment, please refer to Figure 3 The subgraph (a) and Figure 4 In the sub-figure (a), generally speaking, for a cleaning device, if the current posture feature of the cleaning device is the body posture of the cleaning device in a raised state, the height data D1 detected by the sensor installed on the cleaning device will also be larger. If the current posture feature of the cleaning device is the body posture of the cleaning device in a non-raised state, the height data D3 detected by the sensor installed on the cleaning device is smaller than the height data D1. Therefore, for the body posture of the cleaning device in a raised state, the cliff determination threshold is determined to be a first cliff determination threshold (such as 9 cm, or 11 cm, which is not specifically limited in this application, and can be limited according to the specific model or specific structural features of the cleaning device in actual applications). For the body posture of the cleaning device in a non-raised state, the cliff determination threshold is determined to be a second cliff determination threshold lower than the first cliff determination threshold (such as 7 cm, or 9 cm, which is not specifically limited in this application, and can be limited according to the specific model or specific structural features of the cleaning device in actual applications).
[0067] It should be noted that in this application, Figures 3 to 6 The height data D1 to D7 detected by the sensor of the cleaning device in different posture characteristics shown in FIG. are only schematic. Figures 3 to 6 The length relationship of the height data D1 to D7 shown in the figure cannot represent the length relationship of the height data detected by the sensor of the cleaning device under different posture characteristics in actual application.
[0068] Furthermore, in this embodiment, the cliff determination threshold is determined according to the current posture feature of the cleaning device, and can also be performed according to the following step 223:
[0069] Step 223: if the current posture feature is that the cleaning device is in a non-lifted state and has neither its head raised nor its head lowered, determine that the cliff determination threshold is a third cliff determination threshold, wherein the third cliff determination threshold is lower than the second cliff determination threshold.
[0070] In this embodiment, please refer to Figure 4 The subgraph (a) and Figure 5 Generally speaking, for a cleaning device, if the current posture feature of the cleaning device is that the cleaning device is in a non-elevated state and has neither raised its head nor lowered its head, the height data D6 detected by the sensor installed on the cleaning device is smaller than the height data D3. Therefore, for the body posture of the cleaning device that has neither raised its head nor lowered its head in a non-elevated state, the cliff determination threshold is determined to be a third cliff determination threshold that is lower than the second cliff determination threshold (e.g., 5 cm, or 7 cm, which is not specifically limited in the present application and can be limited according to the specific model or specific structural features of the cleaning device in actual applications).
[0071] Furthermore, in this embodiment, the cliff determination threshold is determined according to the current posture feature of the cleaning device, and can also be performed according to the following step 224:
[0072] Step 224: if the current posture feature is the body posture of the cleaning device with its head lowered, determine that the cliff determination threshold is a fourth cliff determination threshold, wherein the fourth cliff determination threshold is lower than the third cliff determination threshold.
[0073] In this embodiment, please refer to Figure 5 and Figure 6 Generally speaking, for a cleaning device, if the current posture feature of the cleaning device is the body posture of the cleaning device with its head down, the height data D7 detected by the sensor installed on the cleaning device is smaller than the height data D6. Therefore, for the body posture of the cleaning device with its head down, the cliff determination threshold is determined to be a fourth cliff determination threshold (for example, 4 cm, which is not specifically limited in this application and can be limited according to the specific model or specific structural features of the cleaning device in actual application) that is lower than the third cliff determination threshold.
[0074] In this application, please continue to refer to Figures 2 to 6It can be understood that for the same low ground, if the cleaning equipment has different current posture characteristics, the height data of the low ground detected by the sensor installed on the cleaning equipment will also be different. In the existing scheme, the cliff judgment threshold is set to a fixed value. For the low ground at the same height, the cleaning equipment with a lifted body posture detects a larger height data of the low ground, which easily leads to the situation that the low ground is determined as a cliff and cliff avoidance action is performed. The cleaning equipment with a non-lifted body posture that does not raise its head or lower its head detects a smaller height data of the low ground, which easily leads to the situation that the low ground is determined as a non-cliff and cliff avoidance action is not performed. Therefore, the present application determines cliff judgment thresholds of different sensitivities for cleaning equipment in different fuselage postures, which can ensure that when the cleaning equipment encounters the same height of low ground in different fuselage postures, it can make the same judgment on whether the low ground is a cliff. Therefore, when determining whether to trigger the cleaning device to perform a cliff avoidance action based on the cliff judgment threshold, it can, to a certain extent, avoid the situation where the cleaning device identifies an impassable low ground as a non-cliff and does not perform a cliff avoidance action. It can also avoid the situation where the cleaning device identifies a passable low ground as a cliff and performs a cliff avoidance action, thereby improving the accuracy of the cleaning device in identifying cliffs and enhancing the reliability of the cleaning device in performing cleaning tasks.
[0075] In one embodiment of the present application, if the current posture feature of the cleaning device is characterized by a height value from a first reference position on the cleaning device to a reference plane, then determining the cliff determination threshold according to the current posture feature of the cleaning device may be performed according to the following step 225:
[0076] Step 225: Determine a cliff determination threshold according to the height value from the first reference position to the reference plane, wherein the cliff determination threshold is positively correlated with the height value from the first reference position to the reference plane.
[0077] In this embodiment, combined with Figures 3 to 6, the greater the height data of the low ground detected by the sensor installed on the cleaning device, the greater the height value from the first reference position on the cleaning device to the reference plane will also be. Conversely, the smaller the height data of the low ground detected by the sensor installed on the cleaning device, the smaller the height value from the first reference position on the cleaning device to the reference plane will also be. Therefore, in this embodiment, according to the positive correlation between the cliff determination threshold and the height value from the first reference position to the reference plane, based on the current posture characteristics of the cleaning device, that is, based on the height value from the first reference position on the cleaning device to the reference plane, a cliff determination threshold with a sensitivity that matches the current posture characteristics of the cleaning device can be determined, and it can also be ensured that when the cleaning device encounters low ground of the same height under different fuselage postures, it can make the same judgment on whether the low ground is a cliff. Therefore, when the cleaning device is performing a cleaning task, when determining whether to trigger the cleaning device to perform a cliff avoidance action based on the cliff judgment threshold, it can, to a certain extent, avoid the situation where the cleaning device identifies an impassable low ground as a non-cliff and does not perform a cliff avoidance action. It can also avoid the situation where the cleaning device identifies a passable low ground as a cliff and performs a cliff avoidance action, thereby improving the accuracy of the cleaning device in identifying cliffs and enhancing the reliability of the cleaning device in performing cleaning tasks.
[0078] In one embodiment of the present application, if the current posture feature of the cleaning device is characterized by the fuselage lifting height and / or the fuselage pitch angle of the cleaning device, then the cliff determination threshold is determined according to the current posture feature of the cleaning device, and the step 226 is performed as follows:
[0079] Step 226: determine a cliff determination threshold value according to the fuselage lift height and / or the fuselage pitch angle, wherein the cliff determination threshold value is positively correlated with the fuselage lift height, and / or the cliff determination threshold value is positively correlated with the fuselage pitch angle.
[0080] In this embodiment, combined with Figures 3 to 6, the greater the height data of the low ground detected by the sensor installed on the cleaning device, the greater the lifting height of the cleaning device's fuselage or the pitch angle of the cleaning device's fuselage will be. Conversely, the smaller the height data of the low ground detected by the sensor installed on the cleaning device, the smaller the lifting height of the cleaning device's fuselage or the pitch angle of the cleaning device's fuselage will be. Therefore, in this embodiment, according to the positive correlation between the cliff judgment threshold and the fuselage lifting height, and / or the positive correlation between the cliff judgment threshold and the fuselage pitch angle, based on the current posture characteristics of the cleaning device, that is, based on the fuselage lifting height of the cleaning device or the fuselage pitch angle of the cleaning device, a cliff judgment threshold whose sensitivity matches the current posture characteristics of the cleaning device can be determined, which can ensure that when the cleaning device encounters low ground of the same height under different fuselage postures, it can make the same judgment on whether the low ground is a cliff. Therefore, when the cleaning device is performing a cleaning task, when determining whether to trigger the cleaning device to perform a cliff avoidance action based on the cliff judgment threshold, it can, to a certain extent, avoid the situation where the cleaning device identifies an impassable low ground as a non-cliff and does not perform a cliff avoidance action. It can also avoid the situation where the cleaning device identifies a passable low ground as a cliff and performs a cliff avoidance action, thereby improving the accuracy of the cleaning device in identifying cliffs and enhancing the reliability of the cleaning device in performing cleaning tasks.
[0081] Continue to refer to Figure 1 In step 230, based on the cliff determination threshold, it is determined whether to trigger the cleaning device to perform a cliff avoidance action.
[0082] In the present application, the determination of whether to trigger the cleaning device to perform a cliff avoidance action based on the cliff determination threshold may be performed according to the following steps 231 to 232:
[0083] Step 231 : obtaining a height value from a second reference position on the cleaning device to a target ground area, where the target ground area is a preset ground area in front of the cleaning device.
[0084] Step 232: If the height value from the second reference position to the target ground area is greater than or equal to the cliff determination threshold, trigger the cleaning device to perform a cliff avoidance action.
[0085] In the present application, the cleaning device may be equipped with a ranging sensor, such as a TOF sensor, for collecting the height value from the second reference position on the cleaning device to the preset ground area in front of the cleaning device. It should be noted that the second reference position may be any position on the cleaning device defined according to actual conditions. In some embodiments, the second reference position and the first reference position may be the same position, such as Figure 5The reference position 104 shown, further, in the present application, the distance measuring sensor can also be installed at the second reference position. For example, please refer to Figure 5 , a distance measuring sensor installed at the reference position 104 can detect the height value from the reference position to the preset ground area 105 in front of the cleaning device.
[0086] Further, in the present application, if the height value from the second reference position to the target ground area is greater than or equal to the cliff determination threshold, it means that the preset ground area in front of the cleaning device is a cliff area, and the cleaning device is triggered to perform cliff avoidance action. If the height value from the second reference position to the target ground area is less than the cliff determination threshold, it means that the preset ground area in front of the cleaning device is a non-cliff area, and the cleaning device does not need to be triggered to perform cliff avoidance action.
[0087] Based on the technical solution proposed in the present application, the cliff determination threshold is determined according to the current posture characteristics of the cleaning device, that is, the current posture characteristics of the cleaning device are different, and the determined cliff determination threshold will also be different. Compared with setting the cliff determination threshold to a fixed value, the cliff determination threshold is adjusted by the current posture characteristics of the cleaning device, so that cliff determination thresholds of different sensitivities can be determined for cleaning devices in different fuselage postures. Therefore, when determining whether to trigger the cleaning device to perform a cliff avoidance action based on the cliff determination threshold, it can avoid the cleaning device from identifying an impassable low ground as a non-cliff and not performing a cliff avoidance action to a certain extent, and it can also avoid the cleaning device from identifying a passable low ground as a cliff and performing a cliff avoidance action, thereby improving the accuracy of cliff recognition by the cleaning device.
[0088] In order to make those skilled in the art understand the present application more clearly, the present application also provides the following Figure 7 The example of a control scheme for a certain type of cleaning equipment in actual application is shown in FIG. Figure 7 , shows a detailed flow chart of the cleaning equipment control method in an embodiment of the present application.
[0089] It can be seen that in actual applications, cleaning equipment needs to avoid cliffs while performing cleaning tasks. By using TOF-based ranging to detect the height data from the cleaning equipment to the ground, when the height data exceeds a certain threshold, it is considered to be a cliff and the machine no longer moves forward. In normal cleaning, it is hoped that the cleaning equipment can avoid obstacles such as steps. However, in the scenario where the cleaning equipment is escaping, the nose of the machine will tilt up. If a lower cliff judgment threshold is still used to judge the cliff, the cleaning equipment may be mistakenly triggered to perform cliff avoidance actions, affecting the cleaning equipment from passing through the passable area. Furthermore, when the cleaning equipment has a lifting function, when it is known that the cleaning equipment is in a lifted state, the cliff judgment threshold can be further enlarged to achieve different thresholds for different usage scenarios, thereby ensuring safety without affecting the cleaning equipment from passing through the passable low ground.
[0090] The following describes an apparatus embodiment of the present application, which can be used to execute the cleaning equipment control method in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the above-mentioned embodiment of the cleaning equipment control method of the present application.
[0091] See also Figure 8 , shows a block diagram of a cleaning equipment control device in an embodiment of the present application.
[0092] like Figure 8 As shown, the cleaning equipment control device 800 according to the embodiment of the present application includes: an acquisition unit 801, a determination unit 802 and a judgment unit 803.
[0093] Among them, the acquisition unit is used to obtain the current posture characteristics of the cleaning device; the determination unit is used to determine the cliff judgment threshold according to the current posture characteristics of the cleaning device, and the cliff judgment threshold is the critical height value that triggers the cleaning device to perform the cliff avoidance action; the determination unit is used to determine whether to trigger the cleaning device to perform the cliff avoidance action based on the cliff judgment threshold.
[0094] In some embodiments of the present application, based on the above scheme, the determination unit 802 is configured to: if the current posture feature is the body posture of the cleaning device in the lifted state, determine the cliff determination threshold to be the first cliff determination threshold. If the current posture feature is the body posture of the cleaning device in the non-lifted state, determine the cliff determination threshold to be the second cliff determination threshold, wherein the second cliff determination threshold is lower than the first cliff determination threshold.
[0095] In some embodiments of the present application, based on the aforementioned scheme, the determination unit 802 is further configured to: if the current posture feature is the body posture of the cleaning device in a non-lifted state without raising its head or lowering its head, then determine that the cliff determination threshold is a third cliff determination threshold, wherein the third cliff determination threshold is lower than the second cliff determination threshold.
[0096] In some embodiments of the present application, based on the aforementioned scheme, the determination unit 802 is further configured to: if the current posture feature is the body posture of the cleaning device with its head down, determine that the cliff determination threshold is a fourth cliff determination threshold, wherein the fourth cliff determination threshold is lower than the third cliff determination threshold.
[0097] In some embodiments of the present application, based on the aforementioned scheme, the current posture feature includes a height value from a first reference position on the cleaning device to a reference plane, and the reference plane is a horizontal driving surface of the cleaning device. The determination unit 802 is also configured to: determine a cliff determination threshold based on the height value from the first reference position to the reference plane, and the cliff determination threshold is positively correlated with the height value from the first reference position to the reference plane.
[0098] In some embodiments of the present application, based on the aforementioned scheme, the current posture feature includes the fuselage lifting height and / or the fuselage pitch angle of the cleaning device, and the determination unit 802 is further configured to: determine a cliff judgment threshold according to the fuselage lifting height and / or the fuselage pitch angle, the cliff judgment threshold is positively correlated with the fuselage lifting height, and / or the cliff judgment threshold is positively correlated with the fuselage pitch angle.
[0099] In some embodiments of the present application, based on the above scheme, the determination unit 803 is configured to: obtain a height value from a second reference position on the cleaning device to a target ground area, where the target ground area is a preset ground area in front of the cleaning device. If the height value from the second reference position to the target ground area is greater than or equal to the cliff determination threshold, the cleaning device is triggered to perform a cliff avoidance action.
[0100] Based on the same inventive concept, an embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium and are suitable for being read and executed by a processor, so that a computer device with the processor executes to implement the operations performed by the cleaning equipment control method as described above.
[0101] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, in which at least one computer program instruction is stored. The at least one computer program instruction is loaded and executed by a processor to implement the operations performed by the cleaning equipment control method as described above.
[0102] Based on the same inventive concept, the present application also provides a cleaning device, referring to Fig. 9 , shows a schematic diagram of the structure of the cleaning device in an embodiment of the present application, wherein the cleaning device includes one or more memories 904, one or more processors 902, and at least one computer program (computer program instruction) stored in the memory 904 and executable on the processor 902, and when the processor 902 executes the computer program, the cleaning device control method as described above is implemented.
[0103] Among them, Fig. 9 In the embodiment of the present invention, a bus architecture (represented by bus 900) is shown, and bus 900 may include any number of interconnected buses and bridges, and bus 900 links various circuits including one or more processors represented by processor 902 and memory represented by memory 904. Bus 900 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 905 provides an interface between bus 900 and receiver 901 and transmitter 903. Receiver 901 and transmitter 903 may be the same element, namely a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 902 is responsible for managing bus 900 and general processing, while memory 904 may be used to store data used by processor 902 when performing operations.
[0104] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.
[0105] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0106] The units described as separate components may or may not be physically separated, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed in multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0107] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly or all or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., which can store computer program instructions.
[0108] The above description is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims
1. A cleaning equipment control method, It is characterized in that The method comprises: Obtain current posture characteristics of the cleaning device; Determining a cliff determination threshold according to a current posture feature of the cleaning device, wherein the cliff determination threshold is a critical height value for triggering the cleaning device to perform a cliff avoidance action; Based on the cliff determination threshold, it is determined whether to trigger the cleaning device to perform a cliff avoidance action.
2. The method according to claim 1, It is characterized in that The step of determining a cliff determination threshold according to the current posture feature of the cleaning device includes: If the current posture feature is the body posture of the cleaning device in a raised state, determining the cliff determination threshold to be a first cliff determination threshold; If the current posture feature is a body posture of the cleaning device that is raised in a non-lifted state, the cliff determination threshold is determined to be a second cliff determination threshold, wherein the second cliff determination threshold is lower than the first cliff determination threshold.
3. The method according to claim 2, It is characterized in that The determining of the cliff determination threshold according to the current posture feature of the cleaning device further includes: If the current posture feature is a body posture of the cleaning device in a non-lifted state with its head neither raised nor lowered, the cliff determination threshold is determined to be a third cliff determination threshold, wherein the third cliff determination threshold is lower than the second cliff determination threshold.
4. The method according to claim 3, It is characterized in that The determining of the cliff determination threshold according to the current posture feature of the cleaning device further includes: If the current posture feature is the body posture of the cleaning device with its head lowered, the cliff determination threshold is determined to be a fourth cliff determination threshold, wherein the fourth cliff determination threshold is lower than the third cliff determination threshold.
5. The method according to claim 1, It is characterized in that The current posture feature includes a height value from a first reference position on the cleaning device to a reference plane, where the reference plane is a horizontal driving ground of the cleaning device. Determining the cliff determination threshold according to the current posture feature of the cleaning device includes: A cliff determination threshold is determined according to a height value from the first reference position to the reference plane, and the cliff determination threshold is positively correlated with the height value from the first reference position to the reference plane.
6. The method according to claim 1, It is characterized in that The current posture feature includes the fuselage lifting height and / or the fuselage pitch angle of the cleaning device, and determining the cliff determination threshold according to the current posture feature of the cleaning device includes: A cliff determination threshold is determined according to the fuselage lift height and / or the fuselage pitch angle, wherein the cliff determination threshold is positively correlated with the fuselage lift height, and / or the cliff determination threshold is positively correlated with the fuselage pitch angle.
7. The method according to any one of claims 1 to 6, It is characterized in that The determining, based on the cliff determination threshold, whether to trigger the cleaning device to perform a cliff avoidance action includes: Acquire a height value from a second reference position on the cleaning device to a target ground area, where the target ground area is a preset ground area in front of the cleaning device; If the height value from the second reference position to the target ground area is greater than or equal to the cliff determination threshold, the cleaning device is triggered to perform a cliff avoidance action.
8. A cleaning equipment control device, It is characterized in that The device comprises: An acquisition unit, used for acquiring current posture characteristics of the cleaning device; A determination unit, configured to determine a cliff determination threshold according to a current posture feature of the cleaning device, wherein the cliff determination threshold is a critical height value for triggering the cleaning device to perform a cliff avoidance action; A determination unit is used to determine whether to trigger the cleaning device to perform a cliff avoidance action based on the cliff determination threshold.
9. A computer program product, It is characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium and are suitable for being read and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the operations performed by the method according to any one of claims 1 to 7.
11. A cleaning device, It is characterized in that The cleaning device comprises one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the method according to any one of claims 1 to 7.
Citation Information
Cited By
Cleaning device control method, cleaning device and storage medium
WO2026092452A1
