Control method of cleaning equipment, cleaning equipment and cleaning system
The acceleration detection unit obtains gravity acceleration and recognizes the body posture of the cleaning equipment, solves the high cost and complexity problems of Hall sensors and inertial sensors in the prior art, and realizes the rapid and accurate identification of the cleaning equipment and safe and stable operation.
Patent Information
- Application Number
- CN202411215162.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
AI Technical Summary
When existing cleaning equipment recognizes the fuselage status, Hall sensors are costly and have poor accuracy, and the inertial sensor algorithm is complex and costly, making it difficult to achieve fast and accurate fuselage posture recognition, affecting the safe and stable operation of the equipment.
The acceleration detection unit is used to obtain gravity acceleration, and the target coordinate axis is constructed by preset detection points, the attitude of the fuselage relative to the plane to be cleaned is determined, and the operating state of the cleaning equipment is controlled according to the attitude, avoiding the use of Hall sensors and inertial sensors.
It realizes low-cost and simple algorithmic body posture recognition, ensuring fast and accurate identification and safe and stable operation of cleaning equipment, and reducing the cost of equipment identification.
Smart Images

Figure CN119073847A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a control method for a cleaning device, a cleaning device, and a cleaning system. Background Art
[0002] Due to structural design reasons, some cleaning equipment requires different strategies when the body is in different states. For example, for a household floor scrubber, when the body is in an upright state (i.e., perpendicular to the ground), the friction between the roller brush and the ground will cause the entire floor scrubber to move forward autonomously. If the handle is out of the user's control at this time, it will bring safety risks to the user and property. Therefore, identifying the body state of the cleaning equipment is an important part of controlling the operating state of the cleaning equipment and ensuring the safe operation of the cleaning equipment.
[0003] In the related art, Hall sensors or inertial measurement units (IMUs) are usually used to assist in identifying the status of the body of the cleaning device. However, Hall sensors have problems such as high cost and poor accuracy, and inertial sensors have problems such as high cost and overly complex algorithms. Summary of the invention
[0004] The present application provides a control method for cleaning equipment, cleaning equipment and a cleaning system, which not only have the advantages of low recognition scheme cost and simple recognition algorithm, but also can quickly and accurately realize the recognition of the body posture, thereby realizing precise control of the operating state of the cleaning equipment, and ensuring the safe and stable operation of the cleaning equipment.
[0005] In a first aspect, the present application provides a control method for a cleaning device, wherein the cleaning device includes a body, and the control method includes:
[0006] Taking a preset detection point in the fuselage as a coordinate origin O, forming a target coordinate axis based on the coordinate origin O;
[0007] Obtaining the component of gravity acceleration on the target coordinate axis;
[0008] Determining the posture of the fuselage relative to the plane to be cleaned according to the component of the gravitational acceleration on the target coordinate axis;
[0009] According to the posture, the operating state of the cleaning device is controlled.
[0010] Optionally, an acceleration detection unit is provided at the preset detection point, and obtaining the component of gravity acceleration on the target coordinate axis includes:
[0011] The component of the gravitational acceleration on the target coordinate axis is obtained through the acceleration detection unit.
[0012] Optionally, the target coordinate axis includes an X-axis and a Y-axis, and determining the posture of the fuselage relative to the plane to be cleaned according to the component of the gravitational acceleration on the target coordinate axis includes:
[0013] The posture of the body relative to the plane to be cleaned is determined according to the component of the gravitational acceleration on the X-axis and the component of the gravitational acceleration on the Y-axis.
[0014] Optionally, the cleaning device also includes a cleaning brush assembly, which is movably connected to the bottom of the fuselage, and the target coordinate axis also includes a Z-axis, which is the direction of the central axis of the fuselage. When the Z-axis is perpendicular to the plane to be cleaned, the positive direction of the Y-axis is the forward direction of the cleaning brush assembly, the X-axis is perpendicular to the Z-axis and the Y-axis, and the target coordinate axis is fixed relative to the fuselage.
[0015] Optionally, the posture includes an angle between the body and the plane to be cleaned, and / or a tilt state of the body in any one direction of forward, backward, left or right.
[0016] Optionally, the posture is an angle between the fuselage and the plane to be cleaned, and determining the posture of the fuselage relative to the plane to be cleaned according to the component of the gravitational acceleration on the X-axis and the component of the gravitational acceleration on the Y-axis includes:
[0017] Determine a value of a composite acceleration of a component of the gravitational acceleration on the X-axis and a component of the gravitational acceleration on the Y-axis on an XOY plane formed by the target coordinate axes;
[0018] The angle between the body and the plane to be cleaned is determined according to the ratio between the value of the synthetic acceleration and the value of the gravity acceleration at the preset detection point.
[0019] Optionally, determining the angle between the body and the plane to be cleaned according to the ratio between the value of the synthetic acceleration and the value of the gravitational acceleration at the preset detection point includes:
[0020] If the angle is greater than or equal to 90 degrees and less than or equal to 180 degrees, the formula is used. determining the angle;
[0021] If the angle is greater than or equal to 0 degrees and less than or equal to 90 degrees, the formula is used. determining the angle;
[0022] Wherein, Angle represents the angle, AccX represents the component of the gravity acceleration on the X-axis, AccY represents the component of the gravity acceleration on the Y-axis, and g represents the gravity acceleration.
[0023] Optionally, the posture is a tilted state of the body in any direction of forward, backward, left or right, and controlling the operating state of the cleaning device according to the posture includes:
[0024] Determining the tilt type corresponding to the current tilt state of the fuselage according to the target angle interval to which the angle between the fuselage and the plane to be cleaned belongs;
[0025] The operating state of the cleaning device is controlled according to the current tilt type of the body.
[0026] Optionally, the target angle interval includes a buffer sub-interval, and determining the tilt type corresponding to the current tilt state of the fuselage according to the target angle interval to which the angle between the fuselage and the plane to be cleaned belongs includes:
[0027] If the angle is not within the buffer sub-interval, the tilt type corresponding to the target angle interval is determined as the tilt type corresponding to the current tilt state of the fuselage.
[0028] Optionally, the control method further includes:
[0029] If the angle is within the buffer sub-interval, determining the latest tilt type of the fuselage from a historical attitude record table corresponding to the fuselage, wherein the historical attitude record table is used to record the tilt types corresponding to the tilt states of the fuselage at different times;
[0030] The latest tilt type is determined as the tilt type corresponding to the current tilt state of the fuselage.
[0031] Optionally, determining the tilt type corresponding to the target angle interval as the tilt type corresponding to the current tilt state of the fuselage includes:
[0032] Determining the duration for which the angle is maintained within the target angle interval;
[0033] If the maintenance time is longer than a preset time, the tilt type corresponding to the target preset angle interval is determined as the tilt type corresponding to the current tilt state of the fuselage.
[0034] Optionally, controlling the operating state of the cleaning device according to the current tilt type of the body includes:
[0035] Determining whether the cleaning device is in a safe state according to the current tilt type of the body;
[0036] If it is determined that the cleaning device is not in a safe state, the cleaning operation of the cleaning device is stopped.
[0037] Optionally, the tilt type includes upright, and determining whether the cleaning device is in a safe state according to the tilt type currently corresponding to the body includes:
[0038] If the current tilt type corresponding to the body is upright, it is determined that the cleaning device is not in a safe state.
[0039] Optionally, the tilt type includes tilting, and determining whether the cleaning device is in a safe state according to the tilt type currently corresponding to the body includes:
[0040] If the current tilt type corresponding to the fuselage is tilt, determine the direction of the component of gravity acceleration on the Y-axis;
[0041] If the direction of the component of the gravitational acceleration on the Y-axis is the positive direction of the Y-axis, it is determined that the cleaning device is not in a safe state.
[0042] Optionally, the posture type includes tilting, and determining whether the cleaning device is in a safe state according to the tilt type currently corresponding to the body includes:
[0043] If the current tilt type corresponding to the fuselage is tilt, determining whether the value of the component of the gravity acceleration on the X-axis is greater than a preset threshold;
[0044] If the value of the component of the gravitational acceleration on the X-axis is greater than the preset threshold, it is determined that the cleaning device is not in a safe state.
[0045] Optionally, the cleaning device further includes a roller brush, a fan, a dirt collection bucket and a water pump, the roller brush is used to clean the surface to be cleaned, the fan is used to suck the dirt brushed out by the roller brush into the dirt collection bucket, and the water pump is used to pump clean water for the roller brush; stopping the cleaning operation of the cleaning device includes:
[0046] Stop the operation of the roller brush, the fan and the water pump.
[0047] Optionally, the tilt type includes lying flat, and controlling the operating state of the cleaning device according to the tilt type currently corresponding to the body includes:
[0048] If the current tilt type corresponding to the fuselage is lying flat, the power of the fan is reduced, and / or the amount of clean water pumped out by the water pump is reduced.
[0049] Optionally, the preset detection point is any point on the central axis of the fuselage.
[0050] In a second aspect, the present application provides a cleaning device, comprising a body, a cleaning brush assembly, and a controller, wherein the controller is disposed on the body or the cleaning brush assembly; the cleaning brush assembly is movably connected to the bottom of the body, an acceleration detection unit is further disposed in the body, and the acceleration detection unit is communicatively connected to the controller;
[0051] The acceleration detection unit is used to obtain the component of gravity acceleration on a target coordinate axis, where the target coordinate axis is a coordinate axis constructed with a preset detection point in the fuselage as a coordinate origin;
[0052] The controller is used to determine the posture of the body relative to the plane to be cleaned according to the component of the gravitational acceleration on the target coordinate axis, and control the operating state of the cleaning device according to the posture.
[0053] Optionally, a circuit board is further provided in the body, and the acceleration detection unit is provided on the circuit board.
[0054] Optionally, the acceleration detection unit is located on the central axis of the fuselage.
[0055] Optionally, the symmetry axis of the circuit board coincides with the central axis of the body, and the acceleration detection unit is arranged on the symmetry axis of the circuit board.
[0056] In a third aspect, the present application provides a cleaning system, comprising the cleaning device as described in the second aspect of the present application.
[0057] The control method of the cleaning equipment of the present application is implemented by first taking the preset detection point in the fuselage as the coordinate origin O, forming the target coordinate axis based on the coordinate origin O, then obtaining the component of gravity acceleration on the target coordinate axis, determining the posture of the fuselage relative to the plane to be cleaned according to the component of gravity acceleration on the target coordinate axis, and finally controlling the operating state of the cleaning equipment according to the posture. The present application can directly determine the posture of the fuselage relative to the plane to be cleaned according to the component of gravity acceleration on the target coordinate axis at the preset detection point in the fuselage and further realize the operating state control of the cleaning equipment. It not only has the advantages of low cost of recognition scheme and simple recognition algorithm, but also can quickly and accurately realize the recognition of the posture of the fuselage, thereby realizing precise control of the operating state of the cleaning equipment and ensuring the safe and stable operation of the cleaning equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0059] Figure 1 is a flow chart of a control method of a cleaning device shown in one embodiment of the present application;
[0060] Figure 2 is a simplified schematic diagram of a cleaning device shown in one embodiment of the present application;
[0061] Figure 3 is a schematic diagram of a state change of a fuselage shown in an embodiment of the present application;
[0062] Figure 4 is a schematic diagram of a target space rectangular coordinate system of a cleaning device shown in an embodiment of the present application;
[0063] Among them, 1-machine body, 2-cleaning brush assembly, 3-handle, 4-surface to be cleaned, L-forward direction. DETAILED DESCRIPTION
[0064] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0065] The control method provided in the present application is applied to a cleaning device, which includes a body 1, which is movably connected to other structural parts of the cleaning device except the body 1, so that it can form various angles with a plane 4 to be cleaned (such as the ground). The specific connection method between the body 1 and other structural parts can be designed according to actual needs, and the present application does not make specific restrictions on this.
[0066] The cleaning device of the present application may include various types, such as a handheld floor scrubber, a steam mop, a handheld vacuum cleaner, etc. Secondly, in addition to the cleaning device, any device that includes the body 1 and the body 1 is movably connected relative to other parts of the device so as to form various angles with a certain plane can use the control method of the present application.
[0067] The execution device of the control method provided in the present application is a controller, which can be arranged inside or outside the cleaning device. The controller is used to control the working process of each structural module in the cleaning device to ensure the stable operation of the cleaning device. The communication method between the controller and each structural module in the cleaning device can adopt wired communication and / or wireless communication, which can be designed according to actual needs, and the present application does not make specific restrictions on this.
[0068] In one embodiment, the controller is disposed inside the cleaning device, and the controller communicates with each structural module in the cleaning device through electrical connection, thereby achieving a higher communication rate.
[0069] In another embodiment, the controller is disposed outside the cleaning device, and communication can be achieved using wireless communication methods such as Wi-Fi (Wireless Fidelity) communication and Bluetooth communication, thereby improving the convenience of using the cleaning device.
[0070] Figure 1 1 is a flow chart of a control method of a cleaning device according to an embodiment of the present application. Figure 1 , the control method of the present application comprises the following steps:
[0071] Step S11: Taking a preset detection point in the fuselage 1 as the coordinate origin O, a target coordinate axis is formed based on the coordinate origin O. Step S12: Acquiring a component of gravity acceleration on the target coordinate axis.
[0072] In this embodiment, the body 1 can be flexibly rotated relative to other structural parts of the cleaning device, such as Figure 2 shown. Figure 2 1 is a simplified schematic diagram of a cleaning device according to an embodiment of the present application. Figure 2 In the embodiment, the cleaning device mainly includes a body 1, a cleaning brush assembly 2 and a handle 3. The cleaning brush assembly 2 can move on the surface 4 to be cleaned, and is used to clean the surface 4 to be cleaned. The handle 3 is convenient for the user to control the body 1, and the body 1 includes multiple functional modules matching the cleaning brush assembly 2. For example, when the cleaning device is a floor scrubber, the body 1 may include a clean water tank, a dirt collecting bucket, a water pump, a fan, a controller, etc.
[0073] The preset detection point is a point in the fuselage 1 for detecting acceleration, and is a point obtained based on empirical analysis, that is, when selecting the preset detection point, it is necessary to ensure that the acceleration collected at the preset detection point can more accurately (with an accuracy greater than a set threshold) reflect the operating state of the fuselage 1. This embodiment does not limit the method for determining the preset detection point.
[0074] The target coordinate axes are multiple coordinate axes specified in the target space rectangular coordinate system established based on the preset detection point, and the preset detection point is the coordinate origin O of the target space rectangular coordinate system. In the target space rectangular coordinate system, different coordinate axes represent different directions, so by executing steps S11 and S12, the components of gravity acceleration on each target coordinate axis can be obtained. How to specify the target coordinate axis in the target space rectangular coordinate system can be set according to actual needs.
[0075] Step S13: determining the posture of the body 1 relative to the plane 4 to be cleaned according to the component of the gravitational acceleration on the target coordinate axis.
[0076] Step S13 is executed, and a preset algorithm is used to determine the posture between the fuselage 1 and the surface to be cleaned 4 according to the acceleration component obtained in step S12. The preset algorithm will be described in detail later.
[0077] Step S14: Control the operating state of the cleaning device according to the posture.
[0078] In this embodiment, the posture may include multiple types, and different types of postures may correspond to different control strategies. By executing step S14, the operation state of the cleaning device may be controlled according to the type of the current posture of the body 1. The specific division method of the posture type may be set according to actual needs.
[0079] In one embodiment, the angle between the body 1 and the plane to be cleaned 4 can be used to represent the posture, and different types of postures can be obtained according to different angle intervals. For example, the angle interval of 0-10 degrees corresponds to the first type of posture, the angle interval of 10-80 degrees corresponds to the second type of posture, and the angle interval of 80-90 degrees corresponds to the third type of posture.
[0080] In another embodiment, the tilt state of the body 1 in any direction of forward, backward, left or right relative to the plane 4 to be cleaned can be used to represent the posture, and the tilt types of the tilt state include upright, tilted and lying flat. Therefore, in this case, multiple different types of postures can also be obtained, such as upright posture, tilted posture and lying flat posture.
[0081] When executing step S14, the operating state of the cleaning device can be controlled only by the angle between the body 1 and the plane 4 to be cleaned, or only by the tilt state of the body 1 relative to the plane 4 to be cleaned, or the operating state of the cleaning device can be controlled by considering both the angle between the body 1 and the plane 4 to be cleaned and the tilt state of the body 1 relative to the plane 4 to be cleaned. How to control the operating state of the cleaning device in each case will be described in detail later.
[0082] In this embodiment, the posture of the fuselage 1 relative to the plane 4 to be cleaned can be directly determined according to the component of the gravitational acceleration at a preset detection point in the fuselage 1 on the target coordinate axis, and the operating state control of the cleaning equipment can be further realized, and at least the following technical effects are achieved: at least the following technical effects are achieved: First, the fuselage posture can be quickly recognized through a simple algorithm, with high recognition efficiency and high accuracy; second, the operating state of the cleaning equipment can be accurately controlled based on the recognized fuselage posture to ensure the safe and stable operation of the cleaning equipment; third, the cost of fuselage posture recognition can be significantly reduced (for example, there is no need to install costly Hall sensors or inertial sensors as in the related technology).
[0083] In combination with the above embodiments, in one implementation, an acceleration detection unit is provided at a preset detection point. On this basis, step S12 may include:
[0084] The component of gravity acceleration on the target coordinate axis is obtained by an acceleration detection unit arranged at a preset detection point.
[0085] The acceleration detection unit is connected to the controller for communication, and can detect the component of gravity acceleration at a preset detection point on the target coordinate axis in real time, and transmit the detection result to the controller.
[0086] In this embodiment, the acceleration detection unit can be a three-axis accelerometer or a combination of three uniaxial accelerometers. A three-axis accelerometer is a sensor that can simultaneously measure the acceleration of an object in three mutually perpendicular directions (mainly based on Newton's second law, that is, the principle that force equals mass multiplied by acceleration, and uses internal vibration mass to sense the acceleration change of the object). This sensor usually contains three independent uniaxial accelerometers, each of which is responsible for measuring the acceleration in a specific direction.
[0087] In this embodiment, the acceleration information required for the posture recognition process of the fuselage 1 can be acquired only by the acceleration detection unit, without installing a Hall sensor or an inertial sensor with a relatively high cost, which can significantly reduce the posture recognition cost of the fuselage 1.
[0088] In combination with the above embodiments, in one implementation manner, the preset detection point is any point on the central axis of the fuselage 1 .
[0089] If the acceleration detection unit is arranged on the central axis of the fuselage 1, it can be ensured that when the fuselage 1 tilts left or right, the detected acceleration values are relatively symmetrical, thereby ensuring that the accuracy of the fuselage posture finally determined is within the error range.
[0090] Among them, since the fuselage 1 may not be a regular shape, the central axis can be determined in the stage of designing the cleaning equipment, or manually specified based on experience, as long as the accuracy of the final determined posture is guaranteed to be within the error range.
[0091] In combination with the above embodiments, in one implementation, the target space rectangular coordinate system established based on the preset detection points is as follows: Figure 3 shown. Figure 3 This is a schematic diagram of a state change of a fuselage shown in an embodiment of the present application.
[0092] Reference Figure 3 In the rectangular coordinate system of the target space, the origin O is the preset detection point, and the Z axis is the central axis direction of the fuselage 1. When the Z axis is perpendicular to the plane 4 to be cleaned, the positive direction of the Z axis is the opposite direction of the direction pointing to the plane 4 to be cleaned, the positive direction of the Y axis is the forward direction L of the cleaning brush assembly 2, the X axis is perpendicular to the Z axis and the Y axis, and the positive direction of the X axis is the left direction of the forward direction L of the cleaning brush assembly 2. The entire rectangular coordinate system of the target space is fixed relative to the fuselage 1. Figure 3 This is a right view of the cleaning device, so the X-axis position is not shown. For details about the X-axis position, see Figure 4 , Figure 4 It is a schematic diagram of a target space rectangular coordinate system of a cleaning device shown in an embodiment of the present application.
[0093] Accordingly, the target coordinate axes include the X axis, Y axis and Z axis of the target space rectangular coordinate system. In step S13, determining the posture of the fuselage 1 relative to the surface 4 to be cleaned according to the component of the gravity acceleration on the target coordinate axes may include:
[0094] The posture of the body 1 relative to the surface 4 to be cleaned is determined according to the component of the gravitational acceleration on the X-axis and the component of the gravitational acceleration on the Y-axis.
[0095] In the specific implementation, the fuselage 1 and the cleaning brush assembly 2 are movably connected, and the fuselage 1 can be moved, rotated, and other operations, so the entire target space rectangular coordinate system is constantly changing relative to the ground. In this application, the position of the target space rectangular coordinate system relative to the fuselage 1 is fixed, so that the posture of the fuselage 1 relative to the plane 4 to be cleaned can still be accurately determined according to the acceleration finally collected.
[0096] In this embodiment, a target space rectangular coordinate system is constructed based on preset detection points, the Z axis is established according to the central axis direction of the fuselage 1, and the Y axis is established with the Z axis perpendicular to the forward direction L of the cleaning brush assembly 2 when the plane 4 to be cleaned. In this way, the target space rectangular coordinate system is fixed so that it remains unchanged relative to the fuselage 1. This ensures that when the fuselage 1 is in various motion postures, the acceleration finally collected can accurately determine the posture of the fuselage 1 relative to the plane 4 to be cleaned, thereby helping to accurately control the operating state of the cleaning equipment.
[0097] In combination with the above embodiments, in one implementation, the posture of the fuselage 1 is represented by the angle between the fuselage 1 and the plane to be cleaned 4. At this time, according to the component of the gravitational acceleration on the X-axis and the component of the gravitational acceleration on the Y-axis, the posture of the fuselage 1 relative to the plane to be cleaned 4 can be determined, which may specifically include:
[0098] Determine the value of the resultant acceleration of the component of the gravitational acceleration on the X-axis and the component of the gravitational acceleration on the Y-axis on the XOY plane formed by the target coordinate axes;
[0099] The angle between the body 1 and the plane to be cleaned 4 is determined according to the ratio between the value of the synthetic acceleration and the value of the gravitational acceleration at the preset detection point.
[0100] When the fuselage 1 is perpendicular to the plane 4 to be cleaned, the projection of gravity acceleration on the XOY plane is 0. When the fuselage 1 lies flat on the plane 4 to be cleaned, the length of the projection of gravity acceleration on the XOY plane is the value of gravity acceleration. When the fuselage 1 changes from the lying posture to the vertical posture, the length of the projection of gravity acceleration on the XOY plane gradually decreases to 0. Therefore, according to the ratio between the value of the synthetic acceleration and the value of gravity acceleration at the preset detection point, the angle between the fuselage 1 and the plane 4 to be cleaned can be determined.
[0101] In a specific implementation, determining the angle between the body 1 and the plane to be cleaned 4 according to the ratio of the value of the synthetic acceleration to the gravitational acceleration at the preset detection point may include:
[0102] If the angle is greater than or equal to 90 degrees and less than or equal to 180 degrees, use the formula Determine the angle;
[0103] If the angle is greater than or equal to 0 degrees and less than or equal to 90 degrees, use the formula Determine the angle;
[0104] Among them, Angle represents the angle, AccX represents the component of gravity acceleration on the X-axis, AccY represents the component of gravity acceleration on the Y-axis, and g represents gravity acceleration.
[0105] In this embodiment, there are two ways to define Angle: 90 degrees <= Angle <= 180 degrees, or 0 degrees <= Angle <= 90 degrees. The controller can arbitrarily select one way to define the angle.
[0106] represents the value of the resultant acceleration, Indicates the ratio between the value of the resultant acceleration and the value of the gravitational acceleration. Gravitational acceleration g = 9.8 m / s 2 .
[0107] Taking 90 degrees <= Angle <= 180 degrees as an example, when the body 1 is perpendicular to the plane 4 to be cleaned, AccX=0, AccY=0, When the body 1 lies flat on the surface 4 to be cleaned, Spend.
[0108] Taking 0 degrees <= Angle <= 90 degrees as an example, when the body 1 is perpendicular to the plane 4 to be cleaned, AccX=0, AccY=0, When the body 1 lies flat on the surface 4 to be cleaned, Spend.
[0109] In this embodiment, a method is provided for determining the angle between the fuselage 1 and the plane 4 to be cleaned based on the ratio of the value of the synthetic acceleration of the component of the gravitational acceleration on the X-axis and the component of the gravitational acceleration on the Y-axis to the gravitational acceleration. Not only is the algorithm simple, but the angle between the fuselage 1 and the plane 4 to be cleaned can also be calculated accurately and quickly, providing technical support for subsequently accurately and efficiently controlling the operating state of the cleaning equipment.
[0110] In combination with the above embodiments, in one implementation, if the operating state of the cleaning device is controlled only by the angle between the body 1 and the plane to be cleaned 4, then step S14 may include:
[0111] Determine a target angle interval to which the angle between the body 1 and the plane to be cleaned 4 belongs among a plurality of preset angle intervals;
[0112] According to the control strategy corresponding to the target angle range, the operating state of the cleaning equipment is controlled.
[0113] For example, if the range of the angle between the body 1 and the plane 4 to be cleaned is measured by 0-90 degrees, then the preset angle intervals may be 0-10 degrees, 10-80 degrees, 80-90 degrees. For another example, if the range of the angle between the body 1 and the plane 4 to be cleaned is measured by 90-180 degrees, then the preset angle intervals may be 90-100 degrees, 100-160 degrees, 160-180 degrees. The division of the angle intervals may be set according to actual needs.
[0114] Each angle interval has a corresponding control strategy. Taking the cleaning equipment as a floor scrubber as an example, for the angle interval of 0-10 degrees, the control strategy may be to reduce the water output of the water pump or reduce the power of the fan; for the angle interval of 80-90 degrees, the control strategy may be to prohibit the operation of the cleaning brush assembly 2. The type of control strategy and the control strategy corresponding to each angle interval can be designed according to the actual usage scenario.
[0115] by Figure 2 Taking the cleaning device shown as a floor scrubber as an example, when executing the control method in this embodiment, the controller first obtains the component of the gravity acceleration at the preset detection point on the target coordinate axis, and then uses a preset algorithm to determine the angle between the machine body 1 and the plane to be cleaned 4 according to the acceleration component. Next, the target angle interval to which the angle belongs is determined, and finally the operating state of the cleaning device is controlled according to the control strategy corresponding to the target angle interval, for example, the operating state of the cleaning brush assembly 2 is controlled, or the operating state of the water pump, fan, etc. in the machine body 1 is controlled.
[0116] This embodiment provides a method for directly controlling the operating state of a cleaning device according to the angle between a body 1 and a plane to be cleaned 4. The algorithm is simple and can facilitate the control of the cleaning device.
[0117] In combination with the above embodiments, in one implementation, if the operating state of the cleaning device is controlled only by the tilt state of the body 1 relative to the plane 4 to be cleaned, then in step S14, controlling the operating state of the cleaning device according to the posture may include:
[0118] Step S141: determining the inclination type corresponding to the current inclination state of the body 1 according to the target angle interval to which the angle between the body 1 and the plane 4 to be cleaned belongs.
[0119] In this embodiment, the tilt type as a whole can include upright, tilted and lying flat. The tilt can be further divided into forward tilt, backward tilt, left tilt and right tilt. Of course, the tilt type can also be divided according to actual needs, and this embodiment does not limit the tilt type.
[0120] In step S141, different angle intervals may correspond to different tilt types. For example, if the tilt types include upright, tilted, and lying flat, the angle interval of 90 degrees to 100 degrees may correspond to upright, the angle interval of 100 degrees to 160 degrees may correspond to tilted, and the angle interval of 160 degrees to 180 degrees may correspond to lying flat.
[0121] According to the above settings, in the specific implementation, when the calculated angle is within 90 degrees-100 degrees, the tilt type corresponding to the current tilt state of the fuselage 1 is determined as upright; when the calculated angle is within 100 degrees-160 degrees, the tilt type corresponding to the current tilt state of the fuselage 1 is determined as tilted; when the calculated angle is within 160 degrees-180 degrees, the tilt type corresponding to the current tilt state of the fuselage 1 is determined as lying flat.
[0122] Step S142: controlling the operating state of the cleaning device according to the current corresponding tilt type of the body 1.
[0123] In this embodiment, each tilt type has a corresponding control strategy. Accordingly, step S142 specifically includes:
[0124] The operating state of the cleaning device is controlled according to the control strategy corresponding to the current tilt type of the body 1.
[0125] Taking the cleaning device as a floor scrubber as an example, if the tilt type is lying flat, the control strategy may be to reduce the water output of the water pump or reduce the power of the fan; if the tilt type is upright, the control strategy may be to prohibit the operation of the cleaning brush assembly 2. The control strategy corresponding to each tilt type can be designed according to the actual usage scenario.
[0126] In this embodiment, a corresponding control strategy is set in advance for each tilt type. After identifying the tilt type corresponding to the current tilt state of the body 1, the operating state of the cleaning equipment can be controlled according to the control strategy corresponding to the tilt type, thereby ensuring the safe and stable operation of the cleaning equipment and providing convenience for the use of the cleaning equipment.
[0127] In combination with the above embodiments, in one implementation, a buffer sub-interval may be pre-set for some angle intervals to achieve a smooth transition of the fuselage 1 between different postures. If the target angle interval to which the determined angle belongs includes a buffer sub-interval, then step S141 may include:
[0128] If the angle is not within the buffer sub-interval, the tilt type corresponding to the target angle interval is determined as the tilt type corresponding to the current tilt state of the fuselage 1 .
[0129] In one embodiment, all the divided angle intervals include 90-100 degrees, 100-160 degrees, and 160-180 degrees as a whole. For 100-160 degrees, three different sub-intervals of 100-105 degrees, 105-150 degrees, and 150-160 degrees are further divided, wherein 100-105 degrees and 150-160 degrees are two different buffer sub-intervals. The interval of 90-100 degrees is set to correspond to the upright tilt type, the interval of 100-160 degrees corresponds to the tilt type, and the interval of 160-180 degrees corresponds to the lying tilt type.
[0130] When the calculated angle is within the range of 100-160 degrees, since 100-160 degrees includes a buffer sub-interval, it is necessary to further determine whether the angle is within the buffer sub-interval. Only when the angle is not within the buffer sub-interval, that is, neither within the range of 100-105 degrees nor within the range of 150-160 degrees, the tilt type corresponding to the current tilt state of the fuselage 1 is determined as tilt.
[0131] Since 90 degrees-100 degrees is not included in the buffer sub-interval, when the calculated angle is within 90 degrees-100 degrees, the tilt type corresponding to the current tilt state of the fuselage 1 can be directly determined as upright.
[0132] Similarly, since 160 degrees-180 degrees does not include the buffer sub-interval, when the calculated angle is within 160 degrees-180 degrees, the tilt type corresponding to the current tilt state of the fuselage 1 can be directly determined as lying flat.
[0133] In this embodiment, after determining the target angle interval to which the angle belongs, if the target angle interval includes a buffer sub-interval, it is necessary to ensure that the inclination type corresponding to the current inclination state of the fuselage 1 is determined as the inclination type corresponding to the target angle interval only when the angle does not belong to the buffer sub-interval. By setting the buffer sub-interval at the transition position of different angle intervals, a smooth transition of the fuselage 1 between different postures can be achieved.
[0134] In combination with the above embodiments, in one implementation, after determining whether the angle is within the buffer sub-interval, the method of the present application may further include:
[0135] If the angle is within the buffer sub-interval, the latest tilt type of the fuselage 1 is determined from the historical attitude record table corresponding to the fuselage 1, and the historical attitude record table is used to record the tilt types corresponding to the tilt states of the fuselage 1 at different times;
[0136] The latest tilt type is determined as the tilt type corresponding to the current tilt state of the fuselage 1 .
[0137] In this embodiment, the controller determines the tilt type of the fuselage 1 in real time, or determines the tilt type of the fuselage 1 after detecting that the fuselage 1 has moved, and then records each detection result in a historical posture record table.
[0138] When the calculated angle is within the buffer sub-interval, the tilt type corresponding to the target angle interval cannot be directly determined as the current tilt type of the fuselage 1. Instead, the latest recorded tilt type is queried in the historical posture record table, and the latest recorded tilt type is determined as the current tilt type of the fuselage 1.
[0139] For example, the interval of 90 degrees to 100 degrees is set to correspond to the upright tilt type, the interval of 100 degrees to 160 degrees is set to correspond to the tilt type, the interval of 160 degrees to 180 degrees is set to correspond to the lying tilt type, and 100 degrees to 160 degrees includes two buffer sub-intervals of 100 degrees to 105 degrees and 150 degrees to 160 degrees. When the fuselage 1 enters 100 degrees to 105 degrees from 90 degrees to 100 degrees, the current tilt type of the fuselage 1 should be upright corresponding to 90 degrees to 100 degrees, rather than tilted. When the fuselage 1 enters 100 degrees to 105 degrees from 105 degrees to 150 degrees, the current tilt type of the fuselage 1 should be tilted corresponding to the interval of 100 degrees to 160 degrees. When the fuselage 1 enters 150 degrees to 160 degrees from 105 degrees to 150 degrees, the current tilt type of the fuselage 1 should be tilted. When the fuselage 1 changes from 160 degrees to 180 degrees to 150 degrees to 160 degrees, the current tilt type of the fuselage 1 should be lying flat corresponding to 160 degrees to 180 degrees, instead of tilting.
[0140] In this embodiment, by setting buffer sub-intervals at transition positions of different angle intervals, it is helpful to achieve a smooth transition of the fuselage 1 between different postures.
[0141] In combination with the above embodiments, in one implementation, the fuselage 1 may shake when switching the tilt type, that is, repeatedly jumping between different angle intervals, affecting the posture recognition result. Therefore, in this embodiment, when determining the current tilt type of the fuselage 1, anti-shake also needs to be considered. Specifically, determining the tilt type corresponding to the target angle interval as the tilt type corresponding to the current tilt state of the fuselage 1 may include:
[0142] Determine the duration for which the angle is maintained within the target angle range;
[0143] If the maintenance time is longer than the preset time, the tilt type corresponding to the target preset angle interval is determined as the tilt type corresponding to the current tilt state of the fuselage 1.
[0144] In this embodiment, only when it is determined that the maintenance time of the angle in the target angle interval is greater than the preset time, the tilt type corresponding to the target preset angle interval is determined as the current tilt type of the fuselage 1, thereby ensuring the accuracy of the detection result.
[0145] Among them, the preset duration is the anti-shake duration, which can be set according to actual needs.
[0146] In one implementation, the preset duration may be any value between 150 milliseconds and 500 milliseconds.
[0147] In this embodiment, according to historical experience, when the preset time length is 250 milliseconds, the sensitivity of tilt type recognition is optimal and the control effect of the cleaning device is optimal.
[0148] The anti-shake strategy in this embodiment is also applicable to the case where the angle is in the buffer sub-interval. In other words, when the angle is maintained in the buffer sub-interval for a period longer than a preset period, the latest recorded tilt type is determined as the current tilt type of the fuselage 1. The anti-shake duration corresponding to the buffer sub-interval can be the same as or different from the anti-shake duration corresponding to the non-buffer sub-interval, and can be set according to actual needs.
[0149] In combination with the above embodiments, in one implementation, in step S142, controlling the operating state of the cleaning device according to the current tilt type of the body 1 may include:
[0150] Step S1421: determining whether the cleaning device is in a safe state according to the current corresponding tilt type of the body 1;
[0151] Step S1422: If it is determined that the cleaning device is not in a safe state, the cleaning operation of the cleaning device is stopped.
[0152] In this embodiment, the controller can control the cleaning device to perform cleaning work only when it is determined that the cleaning device is in a safe state. When it is determined that the cleaning device is not in a safe state, the cleaning device is prohibited from performing cleaning work. That is, if it is detected that the cleaning device is not in a safe state at a certain moment during the operation of the cleaning device, the cleaning operation of the cleaning device needs to be stopped, and if it is detected that the cleaning device is not in a safe state at a certain moment when the cleaning device is stationary, the stationary state of the cleaning device needs to be maintained.
[0153] Through this embodiment, it can be ensured that the cleaning device is always in a safe state during operation, thereby preventing safety risks to users or property.
[0154] The present application also provides a variety of methods for determining whether the cleaning device is in a safe state according to the current tilt type of the body 1. These methods will be described in detail below.
[0155] In one implementation, step S1421 may include:
[0156] If the current tilt type of the body 1 is upright, it is determined that the cleaning device is not in a safe state.
[0157] For example, for a floor scrubber, when the body 1 is in an upright position (i.e., perpendicular to the ground), the friction between the roller brush of the running floor scrubber and the ground will cause the entire floor scrubber to move forward autonomously. If the handle 3 is out of the user's control at this time, it will bring safety risks to the user himself and his property.
[0158] Therefore, if the current tilt type of the body 1 is upright, it can be determined that the cleaning device is not in a safe state.
[0159] In another implementation, step S1421 may include:
[0160] If the tilt type currently corresponding to the fuselage 1 is tilt, determine the direction of the component of gravity acceleration on the Y axis;
[0161] If the direction of the component of the gravitational acceleration on the Y-axis is the positive direction of the Y-axis, it is determined that the cleaning device is not in a safe state.
[0162] In this embodiment, when the component of gravity acceleration on the Y axis is positive, it means that gravity acceleration has a component in the positive direction of the Y axis, and the fuselage 1 is tilted forward and in a dangerous state. Therefore, if the current tilt type of the fuselage 1 is tilting, and the direction of the component of gravity acceleration on the Y axis is the positive direction of the Y axis, it can be determined that the cleaning device is not in a safe state.
[0163] In another implementation, step S1421 may include:
[0164] If the current tilt type corresponding to the fuselage 1 is tilt, determine whether the value of the component of the gravity acceleration on the X-axis is greater than a preset threshold;
[0165] If the value of the component of the gravitational acceleration on the X-axis is greater than a preset threshold, it is determined that the cleaning device is not in a safe state.
[0166] In this embodiment, when the value of the component of the gravitational acceleration on the X-axis is greater than the preset threshold, it indicates that the fuselage 1 is severely tilted sideways and is in a dangerous state. Therefore, if the current tilt type of the fuselage 1 is tilting, and the value of the component of the gravitational acceleration on the X-axis is greater than the preset threshold, it can be determined that the cleaning device is not in a safe state.
[0167] In this embodiment, the cleaning device includes a roller brush, a fan, a dirt collection bucket and a water pump. The roller brush is used to clean the plane 4 to be cleaned, the fan is used to suck the dirt brushed out by the roller brush into the dirt collection bucket, and the water pump is used to pump clean water to the roller brush. Taking the cleaning device as a floor scrubber as an example, the water pump pumps clean water to the roller brush. After the roller brush is dipped in water, it rubs against the ground to remove the dirt on the ground. The scraper inside the roller brush squeezes the roller brush to squeeze out the dirty water, and the dirty water and garbage are sucked into the dirt collection bucket by the fan through the air duct.
[0168] The water pump may be any type of water pump, such as a peristaltic pump.
[0169] On this basis, in step S1422, stopping the cleaning operation of the cleaning device includes:
[0170] Stop the operation of the roller brush, fan and water pump.
[0171] In actual implementation, the cleaning operation of stopping the cleaning equipment may also include other types, which can be set according to actual needs, and this embodiment does not limit this.
[0172] In this embodiment, when it is determined that the cleaning device is not in a safe state, the cleaning operation of the cleaning device is stopped to prevent safety risks to users or property.
[0173] In combination with the above embodiments, in one implementation, according to the current tilt type of the body 1, controlling the operating state of the cleaning device includes:
[0174] If the current tilt type corresponding to the fuselage 1 is lying flat, the power of the fan is reduced, and / or the amount of clean water pumped out by the water pump is reduced.
[0175] When the machine body 1 is in a flat position, reducing the fan power can prevent excessive suction from sucking sewage from the sewage tank filter into the fan, thereby damaging the machine itself. Secondly, limiting the water output of the water pump of the clean water tank can reduce the amount of sewage generated, thereby preventing excessive suction of sewage.
[0176] In combination with the above embodiments, in one implementation, if the angle between the body 1 and the plane 4 to be cleaned and the inclination state of the body 1 relative to the plane 4 to be cleaned are considered at the same time to realize the control of the running state of the cleaning device, then in step S14, controlling the running state of the cleaning device according to the posture may include:
[0177] If the current tilt type corresponding to the fuselage 1 is tilt, and the value of the component of the gravitational acceleration on the X-axis is greater than 0, determine whether the angle between the fuselage 1 and the plane to be cleaned 4 is greater than a preset angle;
[0178] If it is greater than a preset angle, the cleaning operation of the cleaning device is stopped.
[0179] In this embodiment, when the value of the component of the gravitational acceleration on the X-axis is greater than 0, it indicates that the fuselage 1 is tilted sideways. At this time, if the angle between the fuselage 1 and the plane 4 to be cleaned is greater than the preset angle, it indicates that the fuselage 1 is seriously tilted sideways and is in a dangerous state, so the cleaning operation of the cleaning equipment needs to be stopped.
[0180] Of course, there are other solutions for controlling the operating state of the cleaning device by simultaneously considering the angle between the body 1 and the plane 4 to be cleaned and the inclination of the body 1 relative to the plane 4 to be cleaned, which can be set according to actual needs.
[0181] In summary, the control method based on the cleaning equipment of the present application includes at least the following technical effects:
[0182] First, the present application uses a common accelerometer to collect the component of the gravity acceleration at the preset detection point in the fuselage 1 on the target coordinate axis, and then determine the posture of the fuselage 1 relative to the plane 4 to be cleaned, without the need to set up a Hall sensor or an inertial sensor. Not only can it avoid the problems of high cost (extra mold opening required), difficult structural design (extra installation structure required), difficult line arrangement (need to route the controller), poor accuracy (magnets have differences in their own magnetic properties), etc. of Hall sensors, but it can also avoid the problems of high cost, easy damage to gyroscopes, and susceptibility to various electromagnetic interferences of inertial sensors.
[0183] Second, the algorithm for determining the angle between the fuselage 1 and the plane 4 to be cleaned and the tilt type of the fuselage 1 in the present application is simpler than that of the inertial sensor. It can not only quickly determine the angle and the tilt type of the fuselage 1, but also avoid the cumulative error problem existing when using inertial sensors (the calculation error of the inertial sensor caused by the zero drift of the angular velocity meter), thereby improving the accuracy of the detection results and significantly reducing the computing pressure of the controller as a whole.
[0184] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0185] Based on the same inventive concept, the present application also provides a cleaning device, including a body 1, a cleaning brush assembly 2 and a controller, wherein the controller is disposed on the body 1 or the cleaning brush assembly 2, the cleaning brush assembly 2 is movably connected to the bottom of the body 1, an acceleration detection unit is disposed in the body 1, and the acceleration detection unit is communicatively connected to the controller;
[0186] The acceleration detection unit is used to obtain the component of gravity acceleration on the target coordinate axis, where the target coordinate axis is a coordinate axis constructed with a preset detection point in the fuselage as a coordinate origin;
[0187] The controller is used to determine the posture of the body 1 relative to the plane to be cleaned 4 according to the component of the gravitational acceleration on the target coordinate axis, and control the operating state of the cleaning device according to the posture.
[0188] In this embodiment, the structure of the cleaning device can be as follows Figure 2 or Figure 4 shown.
[0189] For the description of the acceleration detection unit and the control method, please refer to the previous description, and this embodiment will not be described in detail here.
[0190] In combination with the above embodiments, in one implementation manner, a circuit board is further provided in the body 1, and the acceleration detection unit is provided on the circuit board.
[0191] In this embodiment, the acceleration detection unit is directly disposed on the circuit board, and there is no need to separately open a mounting point for the acceleration detection unit in the fuselage 1 , which can bring convenience to the structural design of the fuselage 1 .
[0192] In this embodiment, if the controller is disposed on the body 1 , the controller may also be disposed on a circuit board.
[0193] In combination with the above embodiments, in one implementation manner, the symmetry axis of the circuit board coincides with the central axis of the body 1 , and the acceleration detection unit is disposed on the symmetry axis of the circuit board.
[0194] In this embodiment, the circuit board is located in the middle of the rear side of the body 1, and is placed vertically, with its symmetry axis coinciding with the central axis of the body 1. The acceleration detection unit is mounted on the symmetry axis of the circuit board to ensure that the acceleration count values are relatively symmetrical when the body 1 tilts left and right, thereby ensuring the accuracy of the gesture recognition result.
[0195] In combination with the above embodiments, in one implementation manner, the acceleration detection unit is located on the central axis of the fuselage 1 .
[0196] In this embodiment, the acceleration detection unit is located on the central axis of the fuselage 1, which can ensure that the acceleration count value is relatively symmetrical when the fuselage 1 tilts left and right, thereby ensuring the accuracy of the gesture recognition result. In actual implementation, if the circuit board is built into the fuselage 1 in an irregular manner, it is only necessary to ensure that the preset detection point (acceleration detection unit) is located on the central axis of the fuselage 1.
[0197] Of course, there are many other types of installation positions of the preset detection points (acceleration detection units) in the fuselage 1. It is only necessary to ensure that the collected acceleration count values are relatively symmetrical (or within the error range). This embodiment will not list them one by one here.
[0198] Based on the same inventive concept, the present application also provides a cleaning system, including the cleaning device as described in the above embodiments.
[0199] The cleaning system may include a cleaning base station matched with the cleaning device, which is used to provide a variety of matching functions for the cleaning device.
[0200] In one embodiment, the cleaning device is a household handheld floor scrubber, such as Figure 2 or Figure 4 As shown, it mainly includes a body 1, a cleaning brush assembly 2 and a handle 3. Its corresponding cleaning base station can provide water replenishment (automatically replenishing the clean water tank of the floor scrubber), sewage discharge (automatically receiving and processing sewage and dirt in the sewage tank of the floor scrubber), automatic cleaning (automatically cleaning the roller brush or mop), charging (charging the floor scrubber), storage (serving as a storage space for the floor scrubber after charging), ultraviolet sterilization, air drying and other functions.
[0201] In summary, the cleaning device or cleaning system of the present application has at least the following technical effects:
[0202] First, the use of accelerometers alone to achieve body 1 posture recognition has more advantages in terms of single material cost, which can reduce product costs and bring greater profits to the company.
[0203] Second, since IMU has micro components inside and needs to rely on movement to measure values, the chip itself often cannot be coated with conformal coating, and the operating conditions are relatively strict. However, accelerometers are relatively relaxed and can be coated with conformal coating or not according to actual needs.
[0204] Third, there are many accelerometer suppliers but few IMU suppliers, so accelerometers are relatively friendly to the supply chain.
[0205] Fourth, compared with the body posture recognition solution based on Hall sensors, the pure accelerometer solution is more friendly to product structure design. There is no need to design a separate structure, and you only need to place the accelerometer on the circuit board.
[0206] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0207] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0208] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0209] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for controlling a cleaning device, characterized in that: The cleaning device comprises a body, and the control method comprises: Taking a preset detection point in the fuselage as a coordinate origin O, forming a target coordinate axis based on the coordinate origin O; Obtaining the component of gravity acceleration on the target coordinate axis; Determining the posture of the fuselage relative to the plane to be cleaned according to the component of the gravitational acceleration on the target coordinate axis; According to the posture, the operating state of the cleaning device is controlled.
2. The control method according to claim 1, characterized in that: The target coordinate axis includes an X-axis and a Y-axis, and determining the posture of the fuselage relative to the plane to be cleaned according to the component of the gravity acceleration on the target coordinate axis includes: The posture of the body relative to the plane to be cleaned is determined according to the component of the gravitational acceleration on the X-axis and the component of the gravitational acceleration on the Y-axis.
3. The control method according to claim 2, characterized in that: The cleaning device also includes a cleaning brush assembly, which is movably connected to the bottom of the fuselage. The target coordinate axis also includes a Z-axis, which is the direction of the central axis of the fuselage. When the Z-axis is perpendicular to the plane to be cleaned, the positive direction of the Y-axis is the forward direction of the cleaning brush assembly, the X-axis is perpendicular to the Z-axis and the Y-axis, and the target coordinate axis is fixed relative to the fuselage.
4. The control method according to claim 3, characterized in that: The posture is an angle between the fuselage and the plane to be cleaned, and determining the posture of the fuselage relative to the plane to be cleaned according to the component of gravity acceleration on the X-axis and the component of gravity acceleration on the Y-axis includes: Determine a value of a composite acceleration of a component of the gravitational acceleration on the X-axis and a component of the gravitational acceleration on the Y-axis on an XOY plane formed by the target coordinate axes; The angle between the body and the plane to be cleaned is determined according to the ratio between the value of the synthetic acceleration and the value of the gravity acceleration at the preset detection point.
5. The control method according to claim 3, characterized in that: The posture is a tilted state of the body in any direction of forward, backward, left or right, and the operation state of the cleaning device is controlled according to the posture, including: Determining the tilt type corresponding to the current tilt state of the fuselage according to the target angle interval to which the angle between the fuselage and the plane to be cleaned belongs; The operating state of the cleaning device is controlled according to the current tilt type of the body.
6. The control method according to claim 5, characterized in that: The controlling the operating state of the cleaning device according to the current tilt type of the body includes: Determining whether the cleaning device is in a safe state according to the current tilt type of the body; If it is determined that the cleaning device is not in a safe state, the cleaning operation of the cleaning device is stopped.
7. The control method according to claim 6, characterized in that: The tilt type includes tilting, and determining whether the cleaning device is in a safe state according to the tilt type currently corresponding to the body includes: If the current tilt type corresponding to the fuselage is tilt, determine the direction of the component of gravity acceleration on the Y-axis; If the direction of the component of the gravitational acceleration on the Y-axis is the positive direction of the Y-axis, it is determined that the cleaning device is not in a safe state.
8. The control method according to claim 6, characterized in that: The posture type includes tilting, and determining whether the cleaning device is in a safe state according to the tilt type currently corresponding to the body includes: If the current tilt type corresponding to the fuselage is tilt, determining whether the value of the component of the gravity acceleration on the X-axis is greater than a preset threshold; If the value of the component of the gravitational acceleration on the X-axis is greater than the preset threshold, it is determined that the cleaning device is not in a safe state.
9. A cleaning device, characterized in that: The device comprises a body, a cleaning brush assembly and a controller, wherein the controller is arranged on the body or the cleaning brush assembly; the cleaning brush assembly is movably connected to the bottom of the body, and an acceleration detection unit is also arranged in the body, and the acceleration detection unit is communicatively connected to the controller; The acceleration detection unit is used to obtain the component of gravity acceleration on a target coordinate axis, where the target coordinate axis is a coordinate axis constructed with a preset detection point in the fuselage as a coordinate origin; The controller is used to determine the posture of the body relative to the plane to be cleaned according to the component of the gravitational acceleration on the target coordinate axis, and control the operating state of the cleaning device according to the posture.
10. A cleaning system, characterized in that: Comprising the cleaning device as claimed in claim 9.
Citation Information
Cited By
Control method of cleaning device and cleaning device
CN120770737A
