Control method of cleaning assembly, cleaning equipment, storage medium and electronic equipment
By using magnets and magnet sensitive sensors in cleaning equipment to realize automatic installation and disassembly of cleaning components, combined with light sensing sensors to improve accuracy, the problem of cleaning equipment being unable to be disassembled independently in the prior art is solved, and user experience and operation efficiency are improved.
Patent Information
- Application Number
- CN202411244846.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-11-12
AI Technical Summary
Existing cleaning equipment cannot automatically disassemble or install cleaning components, and the user experience is poor.
By setting up magnets and magnetic sensitive sensors in the cleaning assembly, the automatic installation and disassembly of the cleaning assembly is achieved using magnetic induction data and the mileage data of the driving motor, and combining the light induction sensor to improve the accuracy of position judgment.
It realizes precise automatic control of cleaning components, frees users' hands, improves user experience, ensures the accuracy and success rate of installation and disassembly, and is suitable for automated operations at any ground location.
Smart Images

Figure CN118924176A_ABST
Abstract
Description
Background Art
[0002] With the rapid development and progress of computer and Internet technology, related smart home devices are also constantly innovating and breaking through, and various cleaning equipment have emerged.
[0003] Cleaning devices in the related art generally support the mopping function, but they all need to be manually installed or removed from the mop. The cleaning devices cannot automatically remove or install the mop, resulting in a poor user experience.
[0004] In view of this, there is an urgent need in the art to develop a new control method for cleaning components.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure. Summary of the invention
[0006] The purpose of the present disclosure is to provide a control method for a cleaning component, a cleaning device, a computer-readable storage medium and an electronic device, thereby at least to a certain extent overcoming the technical problem that the cleaning device cannot independently complete the automatic disassembly or installation of the mop due to the limitations of the relevant technology.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] According to a first aspect of the present disclosure, a control method for a cleaning component is provided, wherein the cleaning component comprises a magnet, and the cleaning component is detachably arranged on a lifting sleeve in a cleaning module through the magnet, and the lifting sleeve is at least partially composed of a first material that generates magnetic force with the magnet, and a driving motor and a magnetic sensitive sensor are further arranged in the cleaning module, and the driving motor is used to drive the lifting sleeve to lift and lower, and the method comprises:
[0009] After receiving the cleaning component control instruction, detecting the initial position of the target cleaning component through the magnetic induction data collected by the magnetic sensor, wherein the magnetic induction data is generated by the magnet; the cleaning component control instruction includes an installation instruction or a disassembly instruction;
[0010] According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor and the magnetic induction data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component.
[0011] In an exemplary embodiment of the present disclosure, a light sensor is further provided in the cleaning module, and the light sensor is used to collect light intensity data. The position of the lifting sleeve affects the light intensity data. The method further includes:
[0012] After receiving the cleaning component control instruction, detecting the initial position of the target cleaning component by combining the magnetic induction data with the light intensity data;
[0013] According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component.
[0014] In an exemplary embodiment of the present disclosure, the target cleaning component includes a cleaning component to be installed;
[0015] According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component, including:
[0016] When the type of the cleaning component control instruction is the installation instruction, judging whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation condition according to the magnetic induction data combined with the light intensity data;
[0017] If the installation condition is met, the driving motor is used to control the lifting sleeve to descend to the initial position to adsorb the cleaning component to be installed;
[0018] The driving motor is used to control the lifting sleeve to rise to a first desired position, so as to implement the installation operation of the cleaning component to be installed.
[0019] In an exemplary embodiment of the present disclosure, judging whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation condition based on the magnetic induction data combined with the light intensity data includes:
[0020] When the magnetic induction data is greater than the magnetic induction threshold, and the light intensity data is less than the light intensity threshold, it is determined that the relative position relationship meets the installation condition;
[0021] When the magnetic induction data is less than or equal to the magnetic induction threshold, or the light intensity data is greater than or equal to the light intensity threshold, it is determined that the relative position relationship does not meet the installation condition.
[0022] In an exemplary embodiment of the present disclosure, after determining that the relative position relationship does not satisfy the installation condition, the method further includes:
[0023] The relative position relationship is adjusted until the relative position relationship meets the installation condition.
[0024] In an exemplary embodiment of the present disclosure, after the driving motor controls the lifting sleeve to rise to the first desired position, before the installation operation of the cleaning assembly to be installed is implemented, the method further includes:
[0025] Whether the cleaning component to be installed is in a successful installation state is determined based on the mileage data of the driving motor, the magnetic induction data and the light intensity data.
[0026] In an exemplary embodiment of the present disclosure, the target cleaning component includes a cleaning component to be disassembled, and the initial position of the cleaning component to be disassembled is that the cleaning component to be disassembled is detachably arranged on the lifting sleeve through the magnet, and a disassembly ejector rod is arranged in the lifting sleeve;
[0027] According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component, including:
[0028] When the type of the cleaning component control instruction is the disassembly instruction, the lifting sleeve on which the cleaning component to be disassembled is installed is driven to rise by the driving motor to adjust the initial position of the cleaning component to be disassembled;
[0029] Determining whether the cleaning component to be disassembled rises to a second desired position according to the mileage data of the driving motor in combination with the light intensity data;
[0030] In response to the cleaning component to be disassembled rising to the second desired position, the driving motor drives the disassembly push rod to extend from the lifting sleeve, so that the cleaning component to be disassembled is separated from the lifting sleeve;
[0031] In response to detecting, according to the magnetic induction data, that the cleaning component to be disassembled has fallen from the second expected position, a disassembly operation of the cleaning component to be disassembled is performed.
[0032] In an exemplary embodiment of the present disclosure, the driving motor drives the disassembly push rod to extend out of the lifting sleeve so that the cleaning assembly to be disassembled is separated from the lifting sleeve, comprising:
[0033] The driving motor drives the disassembly push rod to extend out of the lifting sleeve, and the disassembly push rod controls the cleaning component to be disassembled to move in a direction away from the lifting sleeve until the cleaning component to be disassembled is separated from the lifting sleeve.
[0034] In an exemplary embodiment of the present disclosure, after detecting that the cleaning component to be disassembled falls from the second desired position and before implementing the disassembly operation of the cleaning component to be disassembled, the method further includes:
[0035] Whether the cleaning component to be disassembled is in a disassembly success state is determined according to the mileage data of the driving motor in combination with the magnetic induction data.
[0036] In an exemplary embodiment of the present disclosure, after the disassembly operation of the assembly to be disassembled is completed, the method further includes:
[0037] The drive motor drives the disassembly ejector rod to retract into the lifting sleeve.
[0038] According to a second aspect of the present disclosure, there is provided a cleaning device, the cleaning device comprising a control module and a cleaning module;
[0039] The cleaning device is provided with a cleaning component, the cleaning component includes a magnet, the cleaning component is detachably arranged on the lifting sleeve in the cleaning module through the magnet, the lifting sleeve is at least partially composed of a first material that generates magnetic force with the magnet, and the cleaning module is also provided with a driving motor and a magnetic sensitive sensor; the driving motor is used to drive the lifting sleeve to lift;
[0040] The control module is configured to issue a cleaning component control instruction;
[0041] The cleaning module is configured to detect the initial position of the target cleaning component through the magnetic induction data collected by the magnetic sensor after receiving the cleaning component control instruction, wherein the magnetic induction data is generated by the magnet; the cleaning component control instruction includes an installation instruction or a disassembly instruction;
[0042] The cleaning module is also configured to control the target cleaning component to move from the initial position to the desired position according to the type of the cleaning component control instruction, combined with the mileage data of the drive motor and the magnetic induction data, so as to achieve the installation or removal operation of the target cleaning component.
[0043] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the control method of the cleaning component described in the first aspect is implemented.
[0044] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the control method of the cleaning component described in the first aspect above by executing the executable instructions.
[0045] It can be seen from the above technical solutions that the control method of the cleaning component, the cleaning device, the computer-readable storage medium and the electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
[0046] In the technical solutions provided in some embodiments of the present disclosure, on the one hand, by arranging a magnet on the cleaning component, the cleaning component is detachably arranged on a lifting sleeve in the cleaning module (the lifting sleeve is at least partially composed of a first material that generates magnetic force with the magnet) through the magnet, so that the cleaning component can be quickly connected or separated through the magnetic force between the magnet and the lifting sleeve, which greatly simplifies the installation and disassembly process and improves efficiency. In addition, the attraction between the magnet and the first material helps to ensure that the cleaning component can be accurately aligned during installation, avoiding problems caused by incorrect installation. On the other hand, after receiving the cleaning component control instruction (including installation instruction or disassembly instruction), the magnetic induction data generated by the magnet is collected by the magnetic sensor to detect the initial position of the target cleaning component. According to the type of the cleaning component control instruction, combined with the mileage data and magnetic induction data of the drive motor, the target cleaning component is controlled to change from the initial position to the desired position to achieve the installation or disassembly operation of the target cleaning component. The magnetic induction data collected by the magnetic sensor and the mileage data of the drive motor can be used to accurately control the position of the cleaning component, ensure the accuracy of the installation and disassembly operations, solve the problem in the related technology that the cleaning component cannot be automatically installed or disassembled anytime and anywhere, and ensure the versatility and user-friendliness of the cleaning equipment.
[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0049] Figure 1 A schematic diagram showing a flow chart of a method for controlling a cleaning component in an embodiment of the present disclosure;
[0050] Figure 2A schematic diagram showing a flow chart of how to install a cleaning component to be installed in an embodiment of the present disclosure;
[0051] Figure 3 A schematic diagram showing a process of disassembling a cleaning component to be disassembled in an embodiment of the present disclosure;
[0052] Figure 4 A schematic flow chart showing another method for controlling a cleaning component in an embodiment of the present disclosure;
[0053] Figure 5 A schematic diagram showing another flow chart of how to install a cleaning component to be installed in an embodiment of the present disclosure;
[0054] Figure 6 A schematic diagram showing the overall process of how to install the cleaning component to be installed in the embodiment of the present disclosure;
[0055] Figure 7 A schematic diagram showing another process of disassembling a cleaning component to be disassembled in an embodiment of the present disclosure;
[0056] Figure 8 A schematic diagram showing the overall process of how to disassemble a cleaning component to be disassembled in an embodiment of the present disclosure;
[0057] Fig. 9 A schematic diagram showing the structure of a cleaning device in an exemplary embodiment of the present disclosure is shown;
[0058] Fig.10 A schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0059] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may 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 disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0060] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0061] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities.
[0062] Currently, most cleaning equipment in the industry uses dual-rotating mops for mopping and cleaning, but the rotating mops need to be manually installed and removed. The cleaning equipment cannot automatically remove and install the mops, resulting in a poor user experience.
[0063] Alternatively, although a small number of cleaning devices can be disassembled autonomously, they are subject to certain environmental conditions. For example, they can only be disassembled at a specific location, and the disassembly accuracy cannot be precisely controlled. The disassembled mop may fall or not fall at will, and the mop cannot be installed on a normal floor. Disassembly and installation are limited by space and technology. If disassembly and installation fail, the user still needs to manually install it, and the user experience is still poor.
[0064] Based on the above technical problems, the control method of the cleaning component proposed in the present disclosure at least achieves the following objectives:
[0065] First, use automated control methods to precisely and automatically control the disassembly of the cleaning components of the cleaning equipment, freeing the user's hands and achieving automatic control of the cleaning components;
[0066] Second, through automated control, precise control of each process of disassembly and assembly of cleaning components can be achieved to ensure the accuracy and precision of disassembly and assembly, and it can achieve automated optimal disassembly and assembly without being limited to normal ground positions, greatly improving the user experience.
[0067] In the embodiments of the present disclosure, a control method for a cleaning component is first provided, which at least to some extent overcomes the defect in the related art that the cleaning device cannot autonomously complete the automatic disassembly or installation of the cleaning component.
[0068] Figure 1 A flow chart of a control method for a cleaning component in an embodiment of the present disclosure is shown. The execution subject of the control method for the cleaning component may be a cleaning device (eg, a sweeping and mopping robot).
[0069] refer to Figure 1 According to an embodiment of the present disclosure, a method for controlling a cleaning component comprises the following steps:
[0070] Step S110, after receiving the cleaning component control instruction, the initial position of the target cleaning component is detected by collecting magnetic induction data through the magnetic sensor, wherein the magnetic induction data is generated by the magnet; the cleaning component control instruction includes an installation instruction or a disassembly instruction;
[0071] Step S120, according to the type of cleaning component control instruction, combined with the mileage data and magnetic induction data of the drive motor, controls the target cleaning component to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component; wherein the drive motor is used to drive the lifting sleeve to lift.
[0072] exist Figure 1 In the technical solution provided by the illustrated embodiment, on the one hand, by arranging a magnet on the cleaning component, the cleaning component is detachably arranged on a lifting sleeve in the cleaning module (the lifting sleeve is at least partially composed of a first material that generates magnetic force with the magnet on the cleaning component) through the magnet. The cleaning component can be quickly connected or separated through the magnetic force between the magnet and the lifting sleeve, which greatly simplifies the installation and disassembly process and improves efficiency. In addition, the attraction between the magnet and the first material helps to ensure that the cleaning component can be accurately aligned during installation, avoiding problems caused by incorrect installation. On the other hand, after receiving the cleaning component control instruction (including installation instruction or disassembly instruction), the magnetic induction data generated by the magnet is collected by the magnetic sensor to detect the initial position of the target cleaning component. According to the type of the cleaning component control instruction, combined with the mileage data and magnetic induction data of the drive motor, the target cleaning component is controlled to change from the initial position to the desired position to achieve the installation or disassembly operation of the target cleaning component. The magnetic induction data collected by the magnetic sensor and the mileage data of the drive motor can be used to accurately control the position of the cleaning component, ensure the accuracy of the installation and disassembly operations, solve the problem in the related technology that the cleaning component cannot be automatically installed or disassembled anytime and anywhere, and ensure the versatility and user-friendliness of the cleaning equipment.
[0073] The following Figure 1 The specific implementation process of each step is described in detail:
[0074] Before step S110, it should be noted that the cleaning component in the present disclosure may be one or a group of components for performing cleaning tasks. For example, the cleaning component in the present disclosure may be a mop component, a dust collection component, a brush component, etc., which may be set according to actual conditions, and the present disclosure does not specifically limit this. It should be noted that the cleaning component may include a magnet, a cleaning member (e.g., a mop, a dust collection box, a brush), and a bracket for carrying the cleaning member.
[0075] In the following embodiments, the cleaning component is described as a mop component. Exemplarily, the mop component in the present disclosure may include a magnet, a mop bracket and a mop, and the mop is disposed on the mop bracket.
[0076] The cleaning module may be a modular component for cleaning the floor, which is a component of the cleaning device. The cleaning module may include a lifting sleeve, and the lifting sleeve is at least partially made of a first material that generates magnetic force with a magnet on the cleaning component, so that the mop component can be detachably arranged on the lifting sleeve in the cleaning module through the magnet.
[0077] In an exemplary embodiment, the first material may include any material that can generate magnetic force with the magnet in the cleaning component, that is, the first material has magnetic attraction properties and can be adsorbed by the magnet, such as the first material may include iron, cobalt, nickel, etc.
[0078] For example, the lifting sleeve may include an iron sheet, a cobalt sheet, an iron-cobalt alloy sheet, a nickel sheet, etc., and this exemplary embodiment does not specifically limit this.
[0079] In an exemplary embodiment, the first material may include an unprocessed magnetic material. A magnet refers to an object that can generate a stable magnetic field by processing and assembling the magnetic material to have a certain shape and a specified magnetic direction. A magnet is usually composed of components such as a magnetic material, a directional structure, and a winding. In other words, the magnetic material will not generate a magnetic field without processing, so the first material will not generate a magnetic field. In this way, the first material can be prevented from affecting the magnetic field generated by the magnet in the mop assembly, thereby improving the accuracy of the position determination of the mop assembly. A drive motor and a magnetic sensor are also provided in the cleaning module, and the drive motor is used to drive the lifting sleeve to lift (that is, when the mop assembly is installed on the lifting sleeve, the drive motor can also drive the mop assembly to lift). In view of the fact that the mop assembly includes a magnet, the magnet can generate a magnetic field, so that the magnetic sensor can detect changes in the magnetic field to collect magnetic induction data, thereby determining the position of the mop assembly based on the collected magnetic induction data. Exemplarily, the magnetic sensor can use a Hall sensor, which is a magnetic field sensor made based on the Hall effect. The Hall effect refers to the fact that when current passes through a conductor or semiconductor placed in a magnetic field, if the direction of the magnetic field is perpendicular to the direction of the current, an electromotive force (Hall voltage) will be generated in the direction perpendicular to the current and the magnetic field. The Hall sensor can directly measure the strength of the magnetic field, and by detecting changes in the direction of the magnetic field, the position or direction of movement of the magnet can be inferred.
[0080] It should be noted that the lifting sleeve is a cylindrical structure, which can accommodate a disassembly push rod inside, and the disassembly push rod is used to remove the mop assembly to be disassembled from the lifting sleeve. Specifically, the example that the driving motor can drive the lifting sleeve to rise by forward rotation (for example, clockwise rotation), and can drive the lifting sleeve to descend by reverse rotation (for example, counterclockwise rotation) is used for explanation. When the driving motor rotates forward to make the lifting sleeve rise to the maximum height, at this time, the driving motor continues to rotate forward, and the disassembly push rod can be extended from the lifting sleeve. Afterwards, if the driving motor reverses, the disassembly push rod can be controlled to retract into the lifting sleeve. After the disassembly push rod is retracted into the lifting sleeve, the driving motor continues to reverse, and the lifting sleeve can be controlled to descend to the default position in the standby state. In addition, it should be noted that when the driving motor reverses, at most, the disassembly push rod that was originally in the extended state can only be retracted into the lifting sleeve, and the disassembly push rod that was originally in the retracted state will not be extended from the lifting sleeve.
[0081] In step S110, after receiving the cleaning component control instruction, the initial position of the target cleaning component is detected by the magnetic induction data collected by the magnetic sensor.
[0082] In an optional embodiment, the magnetic induction data in the present disclosure is generated by a magnet in a cleaning component. For example, a cleaning component control instruction may be received. After receiving the cleaning component control instruction, since a magnet is provided on the cleaning component, the magnet can generate a magnetic field. Thus, the magnetic field data generated by the magnet may be detected by a magnetic sensor to collect magnetic induction data (which may be magnetic field strength and magnetic field direction) to determine the initial position of the target cleaning component.
[0083] The above-mentioned cleaning component control instructions may include installation instructions or disassembly instructions. Among them, the installation instruction refers to a signal used to instruct the cleaning component (such as a mopping component) to be automatically installed on the cleaning device (such as a mopping robot). The disassembly instruction refers to a signal used to instruct the cleaning component to be automatically disassembled from the cleaning device.
[0084] The target cleaning component may be a cleaning component to be installed or a cleaning component to be removed. The cleaning component to be installed may be a cleaning component that has not been installed on the lifting sleeve and needs to be installed on the lifting sleeve by executing the installation instruction. The cleaning component to be removed refers to a cleaning component that has been installed on the cleaning device and can be removed from the lifting sleeve by executing the removal instruction.
[0085] Therefore, when the target cleaning component is the cleaning component to be installed, the cleaning component to be installed is not installed on the cleaning module, and it may be located at any initial position far away from the cleaning device. In view of the fact that when the distance between the magnetic sensor and the cleaning component to be installed is different, the magnetic field strength of the magnetic field generated by the magnet in the cleaning component to be installed sensed by the magnetic sensor is different, so the size of the magnetic induction data collected by the magnetic sensor is different. For example, when the magnetic sensor gradually approaches the cleaning component to be installed, the magnetic induction data gradually increases, and when the magnetic sensor gradually moves away from the cleaning component to be installed, the magnetic induction data gradually decreases. Therefore, the initial position of the cleaning component to be installed can be determined based on the magnetic induction data collected by the magnetic sensor.
[0086] When the target cleaning component is a cleaning component to be disassembled, considering that the cleaning component to be disassembled should be installed on the lifting sleeve of the cleaning module, the distance between the cleaning component to be disassembled and the magnetic sensor is very close. Therefore, the initial position of the cleaning component to be disassembled can be determined based on whether the magnetic induction data collected by the magnetic sensor is greater than the first magnetic induction threshold (that is, whether the cleaning component to be disassembled is installed on the lifting sleeve).
[0087] In step S120, according to the type of the cleaning component control instruction, combined with the mileage data and magnetic induction data of the driving motor, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component.
[0088] In this step, the target cleaning component can be controlled to move from the initial position to the desired position according to the type of the above-mentioned cleaning component control instruction (i.e., installation instruction or disassembly instruction) combined with the mileage data and magnetic induction data of the drive motor to achieve the installation or disassembly operation of the target cleaning component.
[0089] Specifically, when the type of the cleaning component control instruction is an installation instruction, refer to Figure 2 , Figure 2 A schematic diagram showing a flow chart of how to install a cleaning component to be installed in an embodiment of the present disclosure includes steps S201 to S203:
[0090] In step S201, it is determined based on the magnetic induction data whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation conditions.
[0091] In this step, it can be determined based on the magnetic induction data whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation conditions. For example, when the magnetic induction data is greater than the second magnetic induction threshold, it can be determined that the cleaning component to be installed is located directly below the lifting sleeve, and the installation conditions can be determined to be met. Otherwise (that is, when the magnetic induction data is not greater than the second magnetic induction threshold), it can be determined that the installation conditions are not met.
[0092] In step S202, if the installation conditions are met, the lifting sleeve is controlled by the driving motor to descend to the initial position to adsorb the cleaning component to be installed.
[0093] In this step, when it is determined that the installation conditions are met, the lifting sleeve can be controlled by the driving motor to descend to the initial position of the cleaning component to be installed to adsorb the cleaning component to be installed.
[0094] When the installation conditions are not met, the cleaning device can adjust its own position and determine whether the cleaning component to be installed is located directly below the lifting sleeve based on the above-mentioned magnetic induction data. Until it is determined that the cleaning component to be installed is located directly below the lifting sleeve, it can be determined that the installation conditions are met, and then step S202 is executed.
[0095] In step S203, the lifting sleeve is controlled by the driving motor to rise to the first desired position to implement the installation operation of the cleaning component to be installed.
[0096] In this step, after the cleaning component to be installed is adsorbed by the lifting sleeve, the lifting sleeve can be controlled by the driving motor to rise to the first desired position (for example, the default position when the cleaning device is in standby mode) to achieve the installation operation of the cleaning component to be installed.
[0097] It should be noted that after the lifting sleeve is controlled by the driving motor to rise to the first desired position, the present disclosure can also determine whether the cleaning component to be installed is in a successful installation state based on the above mileage data and the above magnetic induction data to ensure successful installation. Exemplarily, when performing the installation operation, the lifting sleeve first descends to the lowest position and then rises to the first desired position, and the magnetic induction data also shows a trend of first increasing and then maintaining a stable change after being greater than the first magnetic induction threshold. Therefore, it is possible to determine whether the cleaning component to be installed is in a successful installation state based on the change trend of the mileage data combined with the change trend of the above magnetic induction data to ensure that it is successfully installed at one time, thereby avoiding human intervention.
[0098] When the type of the cleaning component control instruction is a disassembly instruction, refer to Figure 3 , Figure 3A schematic diagram showing a process of disassembling a cleaning component to be disassembled in an embodiment of the present disclosure includes steps S301 to S304:
[0099] In step S301, a lifting sleeve on which the cleaning component to be disassembled is installed is driven to rise by a driving motor to adjust the initial position of the cleaning component to be disassembled.
[0100] In this step, considering that the initial position of the cleaning component to be disassembled is located on the above-mentioned lifting sleeve, the present disclosure can first drive the lifting sleeve on which the cleaning component to be disassembled is installed to rise by a driving motor to adjust the initial position of the cleaning component to be disassembled.
[0101] It should be noted that in the process of controlling the rise of the lifting sleeve of the above-mentioned cleaning component to be disassembled, given that the mileage data of the driving motor is constantly changing and the distance between the cleaning component to be disassembled and the magnetic sensor is also changing, the magnetic induction data collected by the magnetic sensor is also constantly changing. Therefore, the various position data of the cleaning component to be disassembled can be judged based on the mileage data of the driving motor and the above-mentioned magnetic induction data.
[0102] In step S302, it is determined whether the cleaning component to be disassembled rises to a second desired position according to the mileage data of the driving motor.
[0103] In this step, considering that the mileage data will continue to increase during the rising process of the lifting sleeve carrying the cleaning component to be disassembled, when the mileage data is equal to the target mileage value (for example, the mileage value corresponding to the maximum rising height), it can be determined that the cleaning component to be disassembled has risen to the second expected position (exemplarily, the second expected position can be a pre-set disassembly position of the cleaning component to be disassembled inside the cleaning module, which is also the highest position to which the lifting sleeve can rise).
[0104] In step S303, in response to the cleaning component to be disassembled rising to the second desired position, the disassembly push rod is driven by the driving motor to extend from the lifting sleeve, so that the cleaning component to be disassembled is separated from the lifting sleeve.
[0105] In this step, in response to detecting that the cleaning component to be disassembled has risen to the second desired position (this indicates that the lifting sleeve has completely risen to the highest position, that is, the lifting sleeve can no longer rise), the driving motor can continue to rotate to drive the disassembly push rod to extend from the lifting sleeve, and the disassembly push rod is used to control the cleaning component to be disassembled to move in a direction away from the lifting sleeve, so that the cleaning component to be disassembled is gradually separated from the lifting sleeve. When the gravity of the cleaning component to be disassembled is greater than the magnetic attraction between the cleaning component to be disassembled and the magnetic material on the lifting sleeve, the cleaning component to be disassembled will fall from the above-mentioned second desired position.
[0106] It should be noted that in the process of controlling the disassembly push rod to extend from the lifting sleeve, magnetic induction data can also be collected in real time, and a data change curve with time as the horizontal axis and magnetic induction data as the vertical axis can be established to calculate the real-time slope of this curve, and judge whether the disassembly operation is currently being performed based on the slope. For example, when the real-time slope is greater than the preset slope threshold, it can be determined that the disassembly operation is currently being performed.
[0107] In step S304, in response to detecting that the cleaning component to be disassembled has fallen from the second desired position according to the magnetic induction data, a disassembly operation of the cleaning component to be disassembled is performed.
[0108] In this step, considering that after the cleaning component to be disassembled falls from the second expected position, the above-mentioned magnetic induction data will show a trend of suddenly changing to less than the third magnetic induction threshold, it can be determined based on the above-mentioned magnetic induction data that the cleaning component to be disassembled falls from the second expected position, thereby realizing the disassembly operation of the cleaning component to be disassembled.
[0109] It should be noted that after the cleaning component to be disassembled is detected to have fallen from the second desired position according to the magnetic induction data, the present disclosure can also determine whether the cleaning component to be disassembled is in a state of successful disassembly according to the above mileage data and the above magnetic induction data to ensure successful disassembly. Exemplarily, when the disassembly operation is performed, the lifting sleeve gradually rises to the highest second desired position, and the magnetic induction data also shows a trend of changing from large to small, and then suddenly becomes less than the third magnetic induction threshold value. Therefore, it is possible to determine whether the cleaning component to be disassembled is in a state of successful disassembly according to the change trend of the mileage data combined with the change trend of the above magnetic induction data to ensure that it is successfully disassembled at one time, thereby avoiding human involvement.
[0110] After ensuring that the cleaning component to be disassembled is in a successfully disassembled state, the motor can be driven to rotate in the opposite direction to control the disassembly push rod to retract into the lifting sleeve, thereby restoring it to the default position.
[0111] based on Figure 1 The scheme shown in the present disclosure can at least achieve the following technical effects:
[0112] First, the problem that the related technology cannot automatically control the disassembly is solved, and the automatic control of the mop is realized;
[0113] Secondly, the problem that the related art can only be disassembled at a specific location is solved, and the mop can be disassembled anytime and anywhere.
[0114] However, the inventors have found that Figure 1In the scheme shown, although the automatic installation or disassembly operation of the target cleaning component can be realized, for the case where the cleaning component to be disassembled is not in the default position when the standby state, at this time in step S302, it is determined whether the cleaning component to be disassembled has risen to the second desired position only based on the mileage data of the driving motor. Thereafter, the motor continues to rotate to control the extension of the disassembly push rod, which may result in inaccurate position judgment and cause erroneous disassembly, and it cannot be guaranteed that the cleaning component can be disassembled in place in one go.
[0115] Therefore, the present invention can also set a light-sensing sensor in the cleaning module, and the light-sensing sensor can be used to collect light intensity data. The position change of the lifting sleeve will affect the change of the above light intensity data. Therefore, by combining the light intensity data, the position of the target cleaning component can be determined more accurately, thereby avoiding the occurrence of the above-mentioned mistaken disassembly.
[0116] On this basis, the present disclosure provides another control method for a cleaning component, referring to Figure 4 , Figure 4 A flow chart showing another method for controlling a cleaning component in an embodiment of the present disclosure is shown, comprising steps S410 to S420:
[0117] In step S410, after receiving the cleaning component control instruction, the initial position of the target cleaning component is detected by combining the magnetic induction data with the light intensity data.
[0118] In this step, a cleaning component control instruction can be received. After receiving the cleaning component control instruction, given that a magnet is provided on the cleaning component, magnetic induction data (which may be magnetic field strength and magnetic field direction) can be collected by a magnetic sensitive sensor to determine the initial position of the target cleaning component. At the same time, given that the cleaning component may block the light of the light sensing sensor, thereby affecting its light intensity data, the initial position of the target cleaning component can also be detected based on the magnetic induction data combined with the light intensity data.
[0119] The target cleaning component may be a cleaning component to be installed or a cleaning component to be removed.
[0120] Thus, when the above-mentioned target cleaning component is the cleaning component to be installed, the cleaning component to be installed is not installed on the cleaning module, and it may be located at any initial position away from the cleaning equipment, and when the cleaning equipment moves to the front of the cleaning component to be installed, the cleaning component to be installed may block the light of the light sensing sensor and affect its light intensity data. Therefore, the initial position of the cleaning component to be installed can be detected based on the magnetic induction data combined with the light intensity data.
[0121] When the target cleaning component is a cleaning component to be disassembled, given that the cleaning component to be disassembled is installed on the lifting sleeve of the cleaning module, the distance between the cleaning component to be disassembled and the magnetic sensor is less than the first distance threshold, and at this time, the cleaning component to be disassembled may block the light of the optical sensor. Therefore, the initial position of the cleaning component to be disassembled can be determined based on whether the magnetic induction data collected by the magnetic sensor is greater than the first magnetic induction threshold and whether the light intensity data is less than the first light intensity threshold (i.e., whether the cleaning component to be disassembled is installed on the lifting sleeve).
[0122] In step S420, according to the type of the cleaning component control instruction, combined with the mileage data, magnetic induction data and light intensity data of the drive motor, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component.
[0123] In this step, specifically, when the type of the cleaning component control instruction is an installation instruction, refer to Figure 5 , Figure 5 A schematic diagram showing another process of installing a cleaning component to be installed in an embodiment of the present disclosure includes steps S501 to S503:
[0124] In step S501, when the type of the cleaning component control instruction is an installation instruction, it is determined whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation conditions based on the magnetic induction data combined with the light intensity data.
[0125] In this step, the magnetic induction data can be combined with the light intensity data to determine whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation conditions. For example, when the magnetic induction data is greater than the second magnetic induction threshold and the light intensity data is less than the second light intensity threshold (indicating that the cleaning component to be installed just blocks the light of the light sensor), it can be determined that the cleaning component to be installed is located directly below the lifting sleeve, that is, it can be determined that the installation conditions are met. Otherwise (that is, when the magnetic induction data is not greater than the second magnetic induction threshold, or the light intensity data is greater than or equal to the second light intensity threshold), it can be determined that the installation conditions are not met.
[0126] In step S502, if the installation conditions are met, the lifting sleeve is controlled by the driving motor to descend to the initial position to absorb the cleaning component to be installed.
[0127] In this step, when it is determined that the installation conditions are met, the lifting sleeve can be controlled by the driving motor to descend to the initial position of the cleaning component to be installed to adsorb the cleaning component to be installed.
[0128] When the installation conditions are not met, the cleaning device can adjust its own position and determine whether the cleaning component to be installed is located directly below the lifting sleeve based on the above-mentioned magnetic induction data. Until it is determined that the cleaning component to be installed is located directly below the lifting sleeve, it can be determined that the installation conditions are met, and then step S502 is executed.
[0129] In step S503, the lifting sleeve is controlled by the driving motor to rise to the first desired position to implement the installation operation of the cleaning component to be installed.
[0130] In this step, after the cleaning component to be installed is adsorbed by the lifting sleeve, the lifting sleeve can be controlled by the driving motor to rise to the first desired position (for example, the default position when the cleaning device is in standby mode) to achieve the installation operation of the cleaning component to be installed.
[0131] It should be noted that after the lifting sleeve is controlled by the driving motor to rise to the first desired position, the present disclosure can also determine whether the cleaning component to be installed is in a successful installation state based on the above-mentioned mileage data, the above-mentioned magnetic induction data and the light intensity data, so as to ensure successful installation. Exemplarily, when performing the installation operation, the lifting sleeve first descends to the lowest position and then rises to the first desired position, and the magnetic induction data also shows a trend of first increasing and then maintaining a stable change after being greater than the first magnetic induction threshold. At the same time, the light intensity data will also show a trend of gradually decreasing. Therefore, it is possible to determine whether the cleaning component to be installed is in a successful installation state based on the change trend of the mileage data combined with the change trend of the above-mentioned magnetic induction data and the change trend of the above-mentioned light intensity data, so as to ensure that it is successfully installed at one time, thereby avoiding human intervention.
[0132] refer to Figure 6 , Figure 6 The overall flow diagram of how to install the cleaning component to be installed in the embodiment of the present disclosure includes steps S601 to S608:
[0133] In step S601, start;
[0134] In step S602, the control module sends an installation instruction;
[0135] In step S603, the cleaning component to be installed is searched according to the magnetic induction data;
[0136] In step S604, it is determined whether the cleaning component to be installed is located directly below the lifting sleeve;
[0137] If not (not directly below), the process returns to step S602, and the control module resends the installation instruction;
[0138] If yes (directly below), then proceed to step S605, lower the lifting sleeve and start installation;
[0139] In step S606, determine whether the installation is successful;
[0140] If not (installation failed), proceed to step S604;
[0141] If (installation is successful), then the process proceeds to step S607, the sleeve rises, and the motor stops running;
[0142] In step S608, end.
[0143] When the type of the cleaning component control instruction is a disassembly instruction, refer to Figure 7 , Figure 7 A schematic diagram showing another process of disassembling a cleaning component to be disassembled in an embodiment of the present disclosure includes steps S701 to S704:
[0144] In step S701, when the type of the cleaning component control instruction is a disassembly instruction, the lifting sleeve on which the cleaning component to be disassembled is installed is driven to rise by a driving motor to adjust the initial position of the cleaning component to be disassembled.
[0145] In this step, considering that the initial position of the cleaning component to be disassembled is located on the above-mentioned lifting sleeve, the present disclosure can first drive the lifting sleeve on which the cleaning component to be disassembled is installed to rise by a driving motor to adjust the initial position of the cleaning component to be disassembled.
[0146] It should be noted that in the process of controlling the rise of the lifting sleeve of the above-mentioned cleaning component to be disassembled, given that the mileage data of the driving motor is constantly changing and the distance between the cleaning component to be disassembled and the magnetic sensor is also changing, the magnetic induction data collected by the magnetic sensor is also constantly changing. Therefore, the various position data of the cleaning component to be disassembled can be judged based on the mileage data of the driving motor and the above-mentioned magnetic induction data.
[0147] In step S702, it is determined whether the cleaning component to be disassembled rises to a second desired position according to the mileage data of the driving motor and the light intensity data.
[0148] In this step, considering that the mileage data will continue to increase during the process of the lifting sleeve carrying the cleaning component to be disassembled rising, when the mileage data is equal to the target mileage value (for example, the mileage value corresponding to the maximum rising height), it can be basically determined that the cleaning component to be disassembled has risen to the second expected position (exemplarily, the second expected position can be a pre-set disassembly position of the cleaning component to be disassembled inside the cleaning module, which is also the highest position to which the lifting sleeve can rise).
[0149] However, in the case where the cleaning component to be disassembled is not initially in the default position in the standby state, if only the mileage data is used to determine whether the cleaning component to be disassembled has risen to the second expected position, there may be a problem of misjudgment, for example: in fact, the lifting sleeve has risen to the maximum height at this time, and the disassembly push rod has extended a certain distance, so that the cleaning component to be disassembled has exceeded the second expected position.
[0150] In order to avoid the above problems, the present disclosure can also be combined with light intensity data for joint determination. Considering that when the cleaning component to be disassembled rises to its maximum height (the second desired position), the lifting sleeve and the cleaning component to be disassembled will not completely block the light of the light sensor, so that the light intensity data is greater than the second light intensity threshold. Therefore, when the light intensity data is greater than the second light intensity threshold, it can be determined that the light sensor is triggered. At this time, it can be set that regardless of whether the mileage data is equal to the above target mileage value, it can be determined that the cleaning component to be disassembled has reached the second desired position.
[0151] In step S703, in response to the cleaning component to be disassembled rising to the second desired position, the disassembly push rod is driven by the driving motor to extend from the lifting sleeve, so that the cleaning component to be disassembled is separated from the lifting sleeve.
[0152] In this step, when it is determined that the cleaning component to be disassembled rises to the second desired position, the drive motor can be triggered to set a new mileage value, and the extension distance of the disassembly push rod can be controlled according to the new mileage value. Thus, the disassembly push rod can be accurately controlled to gradually extend from the lifting sleeve, and the cleaning component to be disassembled is controlled to move in a direction away from the lifting sleeve by the disassembly push rod, so that the cleaning component to be disassembled is gradually separated from the lifting sleeve. When the gravity of the cleaning component to be disassembled is greater than the magnetic attraction between the cleaning component to be disassembled and the magnetic material on the lifting sleeve, the cleaning component to be disassembled will fall from the above-mentioned second desired position.
[0153] It should be noted that in the process of controlling the disassembly push rod to extend from the lifting sleeve, magnetic induction data can also be collected in real time, and a data change curve with time as the horizontal axis and magnetic induction data as the vertical axis can be established to calculate the real-time slope of this curve, and judge whether the disassembly operation is currently being performed based on the slope. For example, when the real-time slope is greater than the preset slope threshold, it can be determined that the disassembly operation is currently being performed.
[0154] In step S704, in response to detecting that the cleaning component to be disassembled has fallen from the second desired position according to the magnetic induction data, a disassembly operation of the cleaning component to be disassembled is performed.
[0155] In this step, considering that after the cleaning component to be disassembled falls from the second expected position, the above-mentioned magnetic induction data will show a trend of suddenly changing to less than the third magnetic induction threshold, it can be determined based on the above-mentioned magnetic induction data that the cleaning component to be disassembled falls from the second expected position, thereby realizing the disassembly operation of the cleaning component to be disassembled.
[0156] It should be noted that after detecting that the cleaning component to be disassembled has fallen from the second expected position according to the magnetic induction data, the present disclosure can also determine whether the cleaning component to be disassembled is in a successful disassembly state based on the above mileage data, the above magnetic induction data and the above light intensity data to ensure successful disassembly. Exemplarily, in view of the fact that when performing the disassembly operation, the lifting sleeve gradually rises to the highest second expected position, and the magnetic induction data also shows a trend of changing from large to small, and then suddenly becomes less than the third magnetic induction threshold. At the same time, the light intensity data will also show a trend of gradually increasing. Therefore, it is possible to determine whether the cleaning component to be disassembled is in a successful disassembly state based on the change trend of the mileage data combined with the change trend of the magnetic induction data and the change trend of the light intensity data to ensure that it is successfully disassembled at one time, thereby avoiding human intervention.
[0157] After ensuring that the cleaning component to be disassembled is in a successfully disassembled state, the motor can be driven to rotate in the opposite direction to control the disassembly push rod to retract into the lifting sleeve, thereby restoring it to the default position.
[0158] based on Figure 4 The technical solution in the present disclosure can at least achieve the following technical effects:
[0159] First, the motor is controlled through the motor's odometer data, light sensor data, and magnetic sensor data, and these sensor data are analyzed and processed in real time, ensuring the accuracy and success rate of the removal and installation of the cleaning components on the cleaning equipment;
[0160] Second, it can accurately distinguish the different states and positions of the cleaning components during disassembly and installation, and perform different actions, so that disassembly and installation are no longer restricted to a specific location or time, greatly improving the success rate of disassembly or installation, improving the ease of use of the cleaning equipment, and optimizing the user experience.
[0161] refer to Figure 8 , Figure 8 The overall flow chart of how to disassemble the cleaning component to be disassembled in the embodiment of the present disclosure is shown, including steps S801 to S812:
[0162] In step S801, start;
[0163] In step S802, the control module sends a sleeve rising instruction;
[0164] In step S803, the motor is controlled to gradually increase the linear duty cycle so that the cleaning component to be disassembled moves at a uniform speed;
[0165] In step S804, it is determined whether the light sensing sensor is triggered;
[0166] If not (the light sensor is not triggered), the process returns to step S803;
[0167] If yes (the light sensor is triggered), then the process proceeds to step S805 to determine that the second desired position has been reached, and the motor is controlled to set a new mileage value;
[0168] In step S806, the control module sends a disassembly instruction;
[0169] In step S807, the disassembly ejector rod is controlled to extend from the lifting sleeve;
[0170] In step S808, judging whether a disassembly operation is being performed according to the change curve of the magnetic induction data;
[0171] If not (the disassembly operation is not performed), return to step S806;
[0172] If (disassembly operation is being performed), then proceed to step S809 to determine whether the disassembly has been successful;
[0173] In step S810, the disassembly ejector rod is controlled to be retracted into the lifting sleeve;
[0174] In step S811, the motor stops running;
[0175] In step S812, end.
[0176] In general, based on the above technical solutions, the present disclosure has at least the following technical effects:
[0177] First, it can accurately and in real time determine the various states of the cleaning component during disassembly and installation, and conduct precise control through sensor data to ensure the smooth operation of disassembly and installation and guarantee the implementation effect;
[0178] Second, it can greatly optimize the user experience and completely free the user's hands. There is no need to install cleaning components for the machine, and the cleaning components can be disassembled and installed normally during the operation of the machine, greatly improving the flexibility and convenience of the product.
[0179] The present disclosure also provides a cleaning device, the cleaning device comprising a control module and a cleaning module; the cleaning device is provided with a cleaning component, the cleaning component comprises a magnet, the cleaning component is detachably arranged on a lifting sleeve in the cleaning module through the magnet, the lifting sleeve is at least partially composed of a first material that generates magnetic force with the magnet, and the cleaning module is also provided with a driving motor and a magnetic sensitive sensor; the driving motor is used to drive the lifting sleeve to lift; Fig. 9 A schematic diagram of the structure of a cleaning device in an exemplary embodiment of the present disclosure is shown; Fig. 9 As shown, the cleaning device 900 may include a control module 910 and a cleaning module 920 .
[0180] in:
[0181] The control module 910 is configured to issue cleaning component control instructions;
[0182] The cleaning module 920 is configured to detect the initial position of the target cleaning component through the magnetic induction data collected by the magnetic sensor after receiving the cleaning component control instruction, wherein the magnetic induction data is generated by the magnet; the cleaning component control instruction includes an installation instruction or a disassembly instruction;
[0183] The cleaning module 920 is further configured to control the target cleaning component to move from the initial position to the desired position according to the type of the cleaning component control instruction, combined with the mileage data of the drive motor and the magnetic induction data, so as to achieve installation or removal operation of the target cleaning component.
[0184] In an exemplary embodiment of the present disclosure, a light sensor is further provided in the cleaning module, and the light sensor is used to collect light intensity data. The position of the lifting sleeve affects the light intensity data. The cleaning module 920 is further configured as follows:
[0185] After receiving the cleaning component control instruction, detecting the initial position of the target cleaning component by combining the magnetic induction data with the light intensity data;
[0186] According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component.
[0187] In an exemplary embodiment of the present disclosure, the target cleaning component includes a cleaning component to be installed;
[0188] The cleaning module 920 controls the target cleaning component to move from the initial position to the desired position according to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, so as to realize the installation or removal operation of the target cleaning component, including:
[0189] When the type of the cleaning component control instruction is the installation instruction, judging whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation condition according to the magnetic induction data combined with the light intensity data;
[0190] If the installation condition is met, the driving motor is used to control the lifting sleeve to descend to the initial position to adsorb the cleaning component to be installed;
[0191] The driving motor is used to control the lifting sleeve to rise to a first desired position, so as to implement the installation operation of the cleaning component to be installed.
[0192] In an exemplary embodiment of the present disclosure, the cleaning module 920 determines whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation conditions based on the magnetic induction data combined with the light intensity data, including:
[0193] When the magnetic induction data is greater than the magnetic induction threshold, and the light intensity data is less than the light intensity threshold, it is determined that the relative position relationship meets the installation condition;
[0194] When the magnetic induction data is less than or equal to the magnetic induction threshold, or the light intensity data is greater than or equal to the light intensity threshold, it is determined that the relative position relationship does not meet the installation condition.
[0195] In an exemplary embodiment of the present disclosure, after determining that the relative position relationship does not satisfy the installation condition, the control module 910 is configured to:
[0196] The relative position relationship is adjusted until the relative position relationship meets the installation condition.
[0197] In an exemplary embodiment of the present disclosure, after the driving motor controls the lifting sleeve to rise to the first desired position, before the installation operation of the cleaning component to be installed is implemented, the cleaning module 920 is configured as follows:
[0198] Whether the cleaning component to be installed is in a successful installation state is determined based on the mileage data of the driving motor, the magnetic induction data and the light intensity data.
[0199] In an exemplary embodiment of the present disclosure, the target cleaning component includes a cleaning component to be disassembled, and the initial position of the cleaning component to be disassembled is that the cleaning component to be disassembled is detachably arranged on the lifting sleeve through the magnet, and a disassembly ejector rod is arranged in the lifting sleeve;
[0200] The cleaning module 920 controls the target cleaning component to move from the initial position to the desired position according to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, so as to realize the installation or removal operation of the target cleaning component, including:
[0201] When the type of the cleaning component control instruction is the disassembly instruction, the lifting sleeve on which the cleaning component to be disassembled is installed is driven to rise by the driving motor to adjust the initial position of the cleaning component to be disassembled;
[0202] Determining whether the cleaning component to be disassembled rises to a second desired position according to the mileage data of the driving motor in combination with the light intensity data;
[0203] In response to the cleaning component to be disassembled rising to the second desired position, the driving motor drives the disassembly push rod to extend from the lifting sleeve, so that the cleaning component to be disassembled is separated from the lifting sleeve;
[0204] In response to detecting, according to the magnetic induction data, that the cleaning component to be disassembled has fallen from the second expected position, a disassembly operation of the cleaning component to be disassembled is performed.
[0205] In an exemplary embodiment of the present disclosure, the cleaning module 920 drives the disassembly push rod to extend from the lifting sleeve through the driving motor, so that the cleaning component to be disassembled is separated from the lifting sleeve, including:
[0206] The driving motor drives the disassembly push rod to extend out of the lifting sleeve, and the disassembly push rod controls the cleaning component to be disassembled to move in a direction away from the lifting sleeve until the cleaning component to be disassembled is separated from the lifting sleeve.
[0207] In an exemplary embodiment of the present disclosure, after detecting that the cleaning component to be disassembled falls from the second desired position and before performing the disassembly operation on the cleaning component to be disassembled, the cleaning module 920 is configured as follows:
[0208] Whether the cleaning component to be disassembled is in a disassembly success state is determined according to the mileage data of the driving motor in combination with the magnetic induction data.
[0209] In an exemplary embodiment of the present disclosure, after the disassembly operation of the component to be disassembled is completed, the cleaning module 920 is configured as follows:
[0210] The driving motor drives the disassembly ejector rod to retract into the lifting sleeve. The specific details of each module in the above cleaning device have been described in detail in the control method of the corresponding cleaning component, so they will not be repeated here.
[0211] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0212] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0213] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0214] The present disclosure also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may exist independently without being assembled into the electronic device.
[0215] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0216] Computer-readable storage media can send, propagate or transmit programs for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0217] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiments.
[0218] In addition, an electronic device capable of implementing the above method is also provided in an embodiment of the present disclosure.
[0219] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0220] Refer to the following Fig.10 The electronic device 1000 according to this embodiment of the present disclosure is described. Fig.10 The electronic device 1000 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0221] like Fig.10 As shown, the electronic device 1000 is in the form of a general computing device. The components of the electronic device 1000 may include, but are not limited to: at least one processor 1010, at least one memory 1020, a bus 1030 connecting different system components (including the memory 1020 and the processor 1010), and a display 1040.
[0222] The memory stores program codes, which can be executed by the processor 1010, so that the processor 1010 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processor 1010 can execute the following steps: Figure 1 As shown in: Step S110, after receiving the cleaning component control instruction, the initial position of the target cleaning component is detected by the magnetic induction data collected by the magnetic sensor, and the magnetic induction data is generated by the magnet; the cleaning component control instruction includes an installation instruction or a disassembly instruction; Step S120, according to the type of the cleaning component control instruction, combined with the mileage data and magnetic induction data of the drive motor, the target cleaning component is controlled to change from the initial position to the desired position to achieve the installation or disassembly operation of the target cleaning component; wherein the drive motor is used to drive the lifting sleeve to lift.
[0223] The memory 1020 may include a readable medium in the form of a volatile storage, such as a random access memory (RAM) 10201 and / or a cache memory 10202 , and may further include a read-only memory (ROM) 10203 .
[0224] Memory 1020 may also include a program / utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0225] The bus 1030 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
[0226] The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and / or may communicate with any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1050. Furthermore, the electronic device 1000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 via a bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0227] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
Claims
1. A method for controlling a cleaning component, characterized in that: The cleaning component comprises a magnet, and the cleaning component is detachably arranged on a lifting sleeve in a cleaning module through the magnet, and the lifting sleeve is at least partially composed of a first material that generates magnetic force with the magnet. A driving motor and a magnetic sensor are also arranged in the cleaning module, and the driving motor is used to drive the lifting sleeve to lift and lower. The method comprises: After receiving the cleaning component control instruction, detecting the initial position of the target cleaning component through the magnetic induction data collected by the magnetic sensor, wherein the magnetic induction data is generated by the magnet; the cleaning component control instruction includes an installation instruction or a disassembly instruction; According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor and the magnetic induction data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component.
2. The method according to claim 1, characterized in that The cleaning module is also provided with a light sensing sensor, which is used to collect light intensity data. The position of the lifting sleeve affects the light intensity data. The method further includes: After receiving the cleaning component control instruction, detecting the initial position of the target cleaning component by combining the magnetic induction data with the light intensity data; According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component.
3. The method according to claim 2, characterized in that The target cleaning component includes a cleaning component to be installed; According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component, including: When the type of the cleaning component control instruction is the installation instruction, judging whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation condition according to the magnetic induction data combined with the light intensity data; If the installation condition is met, the driving motor is used to control the lifting sleeve to descend to the initial position to adsorb the cleaning component to be installed; The driving motor is used to control the lifting sleeve to rise to a first desired position, so as to implement the installation operation of the cleaning component to be installed.
4. The method according to claim 3, characterized in that The step of judging whether the relative position relationship between the initial position of the cleaning component to be installed and the lifting sleeve meets the installation condition based on the magnetic induction data and the light intensity data includes: When the magnetic induction data is greater than the magnetic induction threshold, and the light intensity data is less than the light intensity threshold, it is determined that the relative position relationship meets the installation condition; When the magnetic induction data is less than or equal to the magnetic induction threshold, or the light intensity data is greater than or equal to the light intensity threshold, it is determined that the relative position relationship does not meet the installation condition.
5. The method according to claim 3, characterized in that: After determining that the relative position relationship does not satisfy the installation condition, the method further includes: The relative position relationship is adjusted until the relative position relationship meets the installation condition.
6. The method according to any one of claims 3 to 5, characterized in that: After the driving motor controls the lifting sleeve to rise to the first desired position, and before the installation operation of the cleaning component to be installed is performed, the method further includes: Whether the cleaning component to be installed is in a successful installation state is determined based on the mileage data of the driving motor, the magnetic induction data and the light intensity data.
7. The method according to claim 2, characterized in that: The target cleaning component includes a cleaning component to be disassembled, the initial position of the cleaning component to be disassembled is that the cleaning component to be disassembled is detachably arranged on the lifting sleeve through the magnet, and a disassembly ejector rod is arranged in the lifting sleeve; According to the type of the cleaning component control instruction, combined with the mileage data of the drive motor, the magnetic induction data and the light intensity data, the target cleaning component is controlled to move from the initial position to the desired position to achieve the installation or removal operation of the target cleaning component, including: When the type of the cleaning component control instruction is the disassembly instruction, the lifting sleeve on which the cleaning component to be disassembled is installed is driven to rise by the driving motor to adjust the initial position of the cleaning component to be disassembled; Determining whether the cleaning component to be disassembled rises to a second desired position according to the mileage data of the driving motor in combination with the light intensity data; In response to the cleaning component to be disassembled rising to the second desired position, the driving motor drives the disassembly push rod to extend from the lifting sleeve, so that the cleaning component to be disassembled is separated from the lifting sleeve; In response to detecting, according to the magnetic induction data, that the cleaning component to be disassembled has fallen from the second expected position, a disassembly operation of the cleaning component to be disassembled is performed.
8. The method according to claim 7, characterized in that The method of driving the disassembly push rod to extend out of the lifting sleeve by the driving motor so as to separate the cleaning component to be disassembled from the lifting sleeve comprises: The driving motor drives the disassembly push rod to extend out of the lifting sleeve, and the disassembly push rod controls the cleaning component to be disassembled to move in a direction away from the lifting sleeve until the cleaning component to be disassembled is separated from the lifting sleeve.
9. The method according to claim 7 or 8, characterized in that: After detecting that the cleaning component to be disassembled falls from the second desired position, before implementing the disassembly operation of the cleaning component to be disassembled, the method further includes: Whether the cleaning component to be disassembled is in a disassembly success state is determined according to the mileage data of the driving motor in combination with the magnetic induction data.
10. The method according to claim 7, characterized in that After the disassembly operation of the to-be-disassembled component is completed, the method further includes: The drive motor drives the disassembly ejector rod to retract into the lifting sleeve.
11. A cleaning device, characterized in that: The cleaning device comprises a control module and a cleaning module; The cleaning device is provided with a cleaning component, the cleaning component includes a magnet, the cleaning component is detachably arranged on the lifting sleeve in the cleaning module through the magnet, the lifting sleeve is at least partially composed of a first material that generates magnetic force with the magnet, and the cleaning module is also provided with a driving motor and a magnetic sensitive sensor; the driving motor is used to drive the lifting sleeve to lift; The control module is configured to issue a cleaning component control instruction; The cleaning module is configured to detect the initial position of the target cleaning component through the magnetic induction data collected by the magnetic sensor after receiving the cleaning component control instruction, wherein the magnetic induction data is generated by the magnet; The cleaning component control instructions include installation instructions or disassembly instructions; The cleaning module is also configured to control the target cleaning component to move from the initial position to the desired position according to the type of the cleaning component control instruction, combined with the mileage data of the drive motor and the magnetic induction data, so as to achieve the installation or removal operation of the target cleaning component.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the control method of the cleaning component according to any one of claims 1 to 10 is implemented.
13. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the control method of the cleaning component according to any one of claims 1 to 10 by executing the executable instructions.
Citation Information
Cited By
Control method for cleaning component, and cleaning component, storage medium and electronic device
WO2026051802A1
