Cleaning apparatus and control method, apparatus and system therefor, and storage medium
By adaptively controlling the lighting device of the cleaning equipment and adjusting its on/off state according to the working status, the problem of high power consumption caused by the continuous operation of the dust-displaying LED lights is solved, thus improving the equipment's battery life and user experience.
Patent Information
- Application Number
- PCT/CN2025/078049
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-27
- Filing Date
- 2025-02-19
- Publication Date
- 2025-12-04
AI Technical Summary
The control logic of the dust-displaying LED lights in existing cleaning equipment is that they work continuously after being turned on, resulting in high power consumption, reduced equipment battery life, and a poor user experience.
By acquiring the operating status of the cleaning equipment, such as the machine's position, the water spray switch status of the water spray assembly, and the operating mode of the lighting device, the on/off status of the lighting device can be adaptively controlled to reduce unnecessary energy consumption.
It enables adaptive switching control of lighting devices, reducing energy consumption and improving the battery life of cleaning equipment and user experience.
Smart Images

Figure CN2025078049_04122025_PF_FP_ABST
Abstract
Description
Cleaning device and control method, apparatus, system, and storage medium thereof
[0001] Cross-reference to Related Applications
[0002] The present disclosure claims priority to Chinese Patent Application No. 202410666596.2, filed on May 27, 2024, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD
[0003] The present disclosure relates to the field of cleaning devices, and in particular, to a cleaning device and a control method, apparatus, system, and storage medium thereof. BACKGROUND
[0004] Cleaning devices, such as floor cleaning machines, are increasingly popular in daily life. Some floor cleaning machines currently have a dust display LED (Light Emitting Diode) lamp installed on the floor brush, which illuminates the floor through the lighting function of the dust display LED lamp, so that the user can see the dirt on the floor, thereby improving the cleaning effect.
[0005] Currently, the control logic of the dust display LED lamp in these floor cleaning machines is that the dust display LED lamp works simultaneously with the floor brush after the machine is turned on, and the dust display LED lamp is turned off after the machine is turned off. Although this control method can allow the user to see the dirt on the floor, the dust display LED lamp is always in a working state after the machine is turned on, which consumes a large amount of power and reduces the endurance of the floor cleaning machine, thereby reducing the user experience.
[0006] DISCLOSURE
[0007] Therefore, the technical problem to be solved by the present disclosure is how to control the illumination of a cleaning device to reduce energy consumption and improve user experience.
[0008] The present disclosure provides a control method of a cleaning device, wherein the cleaning device is provided with an illumination device, and the method comprises:
[0009] acquiring a working state of the cleaning device during the working process of the cleaning device;
[0010] controlling an on-off state of the illumination device according to the working state.
[0011] Optionally, the working state comprises a body pose state.
[0012] The controlling of the on-off state of the illumination device according to the working state comprises:
[0013] in a case where the body pose state is a lying state, controlling the illumination device to be in an on state to illuminate a cleaning area;
[0014] In a case where the body posture state is a non-laying state, the lighting device is controlled to be in an off state, and the illumination of the cleaning area is stopped.
[0015] Optionally, the cleaning device is further provided with a body posture sensor.
[0016] The body posture state of the cleaning device is obtained, including:
[0017] The body posture data of the cleaning device detected by the body posture sensor in real time is obtained.
[0018] According to the body posture data, the body posture state is determined.
[0019] Optionally, the body posture data includes an included angle between the body of the cleaning device and the cleaning area.
[0020] According to the body posture data, the body posture state is determined, including:
[0021] When the included angle meets a first preset condition, it is determined that the body posture state is a laying state.
[0022] When the included angle does not meet the first preset condition, it is determined that the body posture state is a non-laying state.
[0023] Optionally, the cleaning device is further provided with a water spraying assembly for spraying liquid to the cleaning area; and the working state includes a water spraying switch state of the water spraying assembly.
[0024] According to the working state, the switch state of the lighting device is controlled, including:
[0025] In a case where the water spraying switch state is a water spraying on state, the lighting device is controlled to be in an on state, and the liquid sprayed by the water spraying assembly is illuminated.
[0026] In a case where the water spraying switch state is a water spraying off state, the lighting device is controlled to be in an off state, and the illumination of the liquid sprayed by the water spraying assembly is stopped.
[0027] Optionally, the cleaning device is further provided with a water spraying key.
[0028] The working state of the cleaning device is obtained, including:
[0029] A water spraying trigger signal provided by the water spraying key is obtained.
[0030] According to the water spraying trigger signal, the water spraying switch state is determined.
[0031] Optionally, the working state comprises a working mode of the lighting device.
[0032] The controlling the switch state of the lighting device according to the working state comprises:
[0033] Controlling the switch state of the lighting device according to a working mode of the lighting device.
[0034] Optionally, the working mode comprises at least one of a constant-on mode, a stroboscopic mode, a gradual change mode and a constant-off mode.
[0035] Optionally, the cleaning device is further provided with a mode button.
[0036] The obtaining the working state of the cleaning device comprises:
[0037] Obtaining a mode trigger signal provided by the mode button.
[0038] According to the mode trigger signal, determining the working mode of the lighting device.
[0039] Optionally, the working state comprises a power state of the cleaning device.
[0040] The controlling the switch state of the lighting device according to the working state comprises:
[0041] In the case of power-off and then power-on, obtaining a working mode of the lighting device before power-off;
[0042] According to the working mode of the lighting device before power-off, controlling the switch state of the lighting device.
[0043] In addition, the present disclosure further provides a control device of a cleaning device, the cleaning device being provided with a lighting device, comprising:
[0044] A state obtaining module, configured to obtain a working state of the cleaning device during a working process of the cleaning device.
[0045] A lighting control module, configured to control a switch state of the lighting device according to the working state.
[0046] In addition, the present disclosure further provides a control system of a cleaning device, comprising a processor, a memory and a computer program stored in the memory and executable in the processor, the computer program realizing the method steps of the aforementioned control method of the cleaning device when running.
[0047] Further, the present disclosure also provides a computer storage medium, comprising at least one instruction, which, when executed, implements the method steps in the control method of the aforementioned cleaning device.
[0048] Further, the present disclosure also provides a cleaning device, comprising:
[0049] a device body;
[0050] an illumination device arranged on the device body; and
[0051] a controller arranged on the device body and electrically connected with the illumination device, configured to:
[0052] acquire a working state of the cleaning device during a working process of the cleaning device;
[0053] control an on-off state of the illumination device according to the working state.
[0054] The present disclosure has the following beneficial effects: the on-off state of the illumination device is controlled by the acquired working state of the cleaning device during the working process, so that the adaptive on-off control of the illumination device is realized, and the illumination device does not need to be in the working state after the cleaning device is turned on, which can effectively reduce the energy consumption on the basis of illuminating the target area (such as the cleaning area) by the illumination device, improve the endurance of the cleaning device, and greatly improve the user experience.
[0055] Additional aspects and advantages of the present disclosure will be given in part in the following description, will become apparent from the following description, or will be learned by practice of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0056] The features and advantages of the present disclosure will be more clearly understood through reference to the accompanying drawings, which are schematic and should not be understood as limiting the present disclosure, in which:
[0057] Fig. 1 shows a flow chart of a control method of a cleaning device in an embodiment of the present disclosure;
[0058] Fig. 2 shows a flow chart of a first alternative implementation of the control method of the cleaning device in the embodiment of the present disclosure;
[0059] Fig. 3 shows a flow chart of a second alternative implementation of the control method of the cleaning device in the embodiment of the present disclosure;
[0060] Fig. 4 shows a flow chart of a third alternative implementation of the control method of the cleaning device in the embodiment of the present disclosure;
[0061] Fig. 5 shows a flow chart of a fourth alternative implementation of the control method of the cleaning device in the embodiment of the present disclosure;
[0062] Fig. 6 shows a structure diagram of a control device of a cleaning device in the second embodiment of the present disclosure;
[0063] Fig. 7 shows a structure diagram of a cleaning device in the fourth embodiment of the present disclosure;
[0064] Fig. 8 shows a structure diagram of an illumination device in the fourth embodiment of the present disclosure;
[0065] Fig. 9 shows a structure diagram of a first alternative implementation of a cleaning device in the fourth embodiment of the present disclosure;
[0066] Fig. 10 shows a structure diagram of a second alternative implementation of a cleaning device in the fourth embodiment of the present disclosure;
[0067] Fig. 11 shows a circuit design diagram of a key detection circuit in the fourth embodiment of the present disclosure;
[0068] Fig. 12 shows a circuit design diagram of a water spraying pump driving circuit in the fourth embodiment of the present disclosure;
[0069] Fig. 13 shows a structure diagram of a third alternative implementation of a cleaning device in the fourth embodiment of the present disclosure;
[0070] Fig. 14 shows a structure diagram of a fourth alternative implementation of a cleaning device in the fourth embodiment of the present disclosure. DETAILED DESCRIPTION
[0071] The term "and / or" in the embodiments of the present disclosure describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can mean that there are three cases of A alone, A and B together, and B alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.
[0072] It should be noted that the terms "first", "second", and the like in the specification and claims of the present disclosure and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence.
[0073] In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. At the same time, the division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present disclosure. The embodiments can be combined and referenced with each other without contradiction. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present disclosure.
[0074] The cleaning equipment (such as a scrubber) on the market currently is provided with a dust display LED lamp, and the control logic of the dust display LED lamp is that the dust display LED lamp works after the cleaning equipment is turned on and the dust display LED lamp is turned off after the cleaning equipment is turned off. The control logic has the defects of large power consumption and poor flexibility of the cleaning equipment.
[0075] To solve the above problems, the embodiment relates to a control method of a cleaning equipment, which is applied to a cleaning equipment provided with an illumination device, and the cleaning equipment includes but is not limited to a scrubber, a vacuum cleaner and the like, and the illumination device includes but is not limited to an LED lamp, a fluorescent lamp and the like. For the purpose of illustration, in the following embodiment, the cleaning equipment is taken as an example of a scrubber, and the illumination device is taken as an example of an LED lamp, wherein the color and shape of the LED lamp are not limited, and appropriate color and shape (such as a green circular LED lamp) can be selected according to the actual situation; the LED lamp can be installed at an appropriate position of the scrubber (such as a brush of the scrubber) according to the actual situation; the light emission direction of the LED lamp can be fixedly arranged to face a target area (such as a cleaning area or a water spraying assembly), or can be arranged in an adjustable form (for example, being adjusted in real time according to the pose state of the machine body or the water spraying state of the water spraying assembly); the LED lamp can illuminate the target area when the scrubber works, so as to facilitate the user to view the target area (for example, the dirt condition of the cleaning area or the water spraying condition of the water spraying assembly), so as to improve the cleaning effect of the scrubber. The control method of the cleaning equipment in the following embodiment is taken as an example of controlling the LED lamp on the scrubber, so as to reduce the energy consumption on the basis of realizing the illumination control, and then improve the experience of the user.
[0076] Embodiment one
[0077] A control method of a cleaning equipment, the cleaning equipment is provided with an illumination device, as shown in FIG. 1, and the method comprises the following steps:
[0078] S100: acquiring the working state of the cleaning equipment in the working process of the cleaning equipment;
[0079] S200: controlling the on-off state of the illumination device according to the working state.
[0080] In the embodiment, the on-off state of the illumination device (such as an LED lamp) is controlled by the acquired working state of the cleaning equipment (such as a scrubber) in the working process, so that the adaptive on-off control of the illumination device can be realized, and the illumination device does not need to be kept in the working state after the cleaning equipment is turned on, the energy consumption can be effectively reduced on the basis of illuminating the target area by the illumination device, the endurance of the cleaning equipment is improved, and then the experience of the user is greatly improved.
[0081] In the embodiment S100, the working process of the cleaning device includes the working process of all components (such as the brush, the LED lamp, the water spraying assembly of the scrubber, etc.) on the cleaning device after the cleaning device is powered on, and the working state of the cleaning device includes the working state of the components on the cleaning device, including but not limited to the working state of the brush, the working state of the LED lamp, and the working state of the water spraying assembly, etc. Correspondingly, in S200, the switch of the lighting device can be controlled according to the working states.
[0082] The specific implementation of each step of the control method of the cleaning device in the embodiment will be described in detail below.
[0083] In the first optional embodiment, the working state of the cleaning device specifically includes the body posture state of the cleaning device.
[0084] As shown in FIG. 2, S100 includes:
[0085] S110: In the working process of the cleaning device, the body posture state of the cleaning device is acquired.
[0086] Correspondingly, S200 includes:
[0087] S210: It is judged whether the body posture state is the lying state.
[0088] If yes, the lighting device is controlled to be in the on state to illuminate the cleaning area; otherwise, the lighting device is controlled to be in the off state to stop illuminating the cleaning area.
[0089] In the working process of the cleaning device, the cleaning area will have a shadow due to the blocking of the body, which greatly affects the user's view of the dirt condition of the cleaning area, especially when the body is in the lying state, the blocking of the body on the cleaning area is more obvious; therefore, by acquiring the body posture state (including the lying state and the non-lying state), the switch of the lighting device is adaptively controlled, which can better control the illumination of the cleaning area by the lighting device, facilitate the user to better view the dirt condition of the cleaning area, and eliminate the influence of the shadow caused by the blocking of the body on the user's view of the dirt condition.
[0090] The first optional embodiment described above can adaptively control the switch state of the lighting device according to the working state of the cleaning device (specifically, the body posture state), without keeping the lighting device in the working state after the cleaning device is powered on, which can effectively reduce the energy consumption and improve the endurance of the cleaning device on the basis of illuminating the cleaning area by the lighting device to realize the dirt display.
[0091] In the first optional implementation, the light-emitting direction of the lighting device can be set to face the cleaning area, so that the lighting device can better illuminate the cleaning area in the adaptive control based on the body pose state; further, the lighting device can be arranged on the cleaning assembly of the cleaning device, such as the floor brush, so as to better face the cleaning area (such as the ground) and achieve the display of dirt on the cleaning area.
[0092] Specifically, the cleaning device is further provided with a body pose sensor.
[0093] The body pose sensor can be arranged at a suitable position of the body according to actual conditions, so as to facilitate detection of the body pose state, such as being arranged on the shell near the floor brush, so as to better measure the pose of the floor brush and facilitate real-time grasping of the pose state of the floor brush in the working process of the floor brush.
[0094] The body pose sensor includes but is not limited to a rotary encoder, a gyroscope and a vision sensor, and the embodiment is not limited thereto, and a suitable type of pose sensor can be selected according to actual conditions. For example, when a rotary encoder is selected, if the cleaning area is the ground, the ground is taken as a fixed surface, the rotary encoder can measure the rotation angle between the body and the ground, and then the body pose data is obtained; when a gyroscope is selected, the gyroscope can measure three-dimensional attitude angles of the body, such as pitch angle, yaw angle and roll angle, and then the body pose data is obtained; and when a vision sensor is selected, such as a vision camera, the body pose data can be analyzed by using image measurement technology and image processing technology.
[0095] Specifically, in S110, the body pose state of the cleaning device is acquired, including:
[0096] S111: acquiring the body pose data of the cleaning device detected by the body pose sensor in real time;
[0097] S112: determining the body pose state according to the body pose data.
[0098] By acquiring the body pose data of the body pose sensor, the body pose state (including the lying state and the non-lying state) can be directly determined, the method for determining the body pose state is simple and reliable, and the reliability of the dirt display control is improved.
[0099] Specifically, in S111, the body pose data includes an included angle between the body of the cleaning device and the cleaning area;
[0100] Then S112 includes:
[0101] When the included angle meets the first preset condition, it is determined that the body pose state is the lying state;
[0102] When the included angle does not satisfy the first preset condition, it is determined that the body pose state is a non-laying state.
[0103] By judging whether the included angle between the body and the cleaning area satisfies the first preset condition, the body pose state of the cleaning device can be efficiently and accurately determined, and then the efficient control of the switching state of the lighting device is facilitated.
[0104] Specifically, the first preset condition specifically includes that the included angle is less than a preset threshold.
[0105] Taking the included angle less than the preset threshold as the first preset condition can simplify the control logic for determining the body pose state, and the determination result is accurate and reliable.
[0106] The preset threshold can be pre-set and adjusted according to actual conditions. For example, in this specific embodiment, 30 degrees is taken, that is, when the included angle between the body and the cleaning area is less than 30 degrees, it is determined that the body of the cleaning device is in a laying state. At this time, the body shielding will affect the user's view of the dirt condition of the cleaning area, so the lighting device is controlled to be turned on to illuminate the cleaning area, facilitating the user to view the dirt condition of the cleaning area. When the included angle between the body and the cleaning area is greater than or equal to 30 degrees, it is determined that the body of the cleaning device is in a non-laying state. At this time, the body shielding will not affect the user's view of the dirt condition of the cleaning area, so the lighting device is controlled to be turned off.
[0107] In this optional embodiment, the projection area of the body in the cleaning area can also be used as the body pose data in S111. The projection area can be calculated according to the body size and the included angle between the body and the cleaning area.
[0108] When the above projection area is used as the body pose data in S111, it is also possible to determine whether the projection area satisfies a pre-set determination condition in S112 to determine whether the body pose state is a laying state. For example, when the projection area is greater than a preset area, it is determined that the body pose state is a laying state, and when the projection area is less than or equal to the preset area, it is determined that the body pose state is a non-laying state. Similarly, the preset area can be pre-set according to the body size, which is not limited here.
[0109] In a second optional embodiment, a water spraying assembly is further provided on the cleaning device, and the water spraying assembly is used to spray liquid to the cleaning area.
[0110] By spraying liquid to the cleaning area through the water spraying assembly, the cleaning area can be moistened, and then the cleaning function of the cleaning assembly can be used to improve the cleaning effect and cleaning efficiency of the cleaning device on the cleaning area. The sprayed liquid can be water or water containing a cleaning agent, which is not limited in this embodiment.
[0111] In the optional embodiment, the water spraying assembly includes but is not limited to a water spraying pump.
[0112] In the second optional embodiment, the working state of the cleaning device specifically includes a water spraying switch state of the water spraying assembly.
[0113] As shown in FIG. 3, S100 includes:
[0114] S120: In the working process of the cleaning device, a water spraying switch state of the water spraying assembly is acquired.
[0115] Correspondingly, S200 includes:
[0116] S220: It is determined whether the water spraying switch state is a water spraying on state.
[0117] If yes, the dust display device is controlled to be in an on state to illuminate the liquid sprayed by the water spraying assembly; otherwise, the dust display device is controlled to be in an off state to stop illuminating the liquid sprayed by the water spraying assembly.
[0118] In the working process of the cleaning device, since the water spraying assembly sprays liquid to the cleaning area to help remove dirt in the cleaning area, checking the liquid spraying condition (such as the spraying area, spraying amount, water spraying density, etc.) of the liquid sprayed by the water spraying assembly can help the user master the cleaning condition of the cleaning area by the water spraying assembly; the water spraying switch state refers to whether the water spraying assembly is spraying liquid to the cleaning area, and the optional embodiment can adaptively control the illumination device based on the water spraying switch state by acquiring the water spraying switch state, so that the user can control the illumination device synchronously when the water spraying assembly sprays liquid to the cleaning area, and achieve the purpose of checking the liquid spraying condition by using the illumination of the liquid sprayed by the water spraying assembly by the illumination device.
[0119] The second optional embodiment described above can also adaptively control the on-off state of the illumination device according to the working state of the cleaning device (specifically, the water spraying switch state of the water spraying assembly), without keeping the illumination device in a working state after the cleaning device is turned on, so as to effectively reduce energy consumption and improve the endurance of the cleaning device on the basis of illuminating the liquid sprayed by the water spraying assembly by the illumination device.
[0120] Specifically, the cleaning device is further provided with a water spraying button.
[0121] The water spray assembly can provide a water spray trigger signal. By setting a water spray button, it is convenient to control the water spray assembly using the response of the water spray trigger signal. Furthermore, during lighting control, the water spray trigger signal provided by the button can be used to identify and determine the on / off state of the water spray assembly, achieving synchronous control of the water spray assembly and the lighting device. The water spray button can be located anywhere on the cleaning equipment; it can be a physical button or a touch button, and this embodiment is not limited to any particular location.
[0122] Specifically, in S120, the spray switch status of the water spray assembly is obtained, including:
[0123] S121: Obtain the water spray trigger signal provided by the water spray button;
[0124] S122: Determine the state of the water spray switch based on the water spray trigger signal.
[0125] By obtaining the water spray trigger signal directly provided by the water spray button, the water spray switch status of the water spray component can be determined simply and reliably, thereby improving the efficiency and reliability of lighting control.
[0126] Specifically, S122 includes:
[0127] When the water spray trigger signal meets the second preset condition, it is determined that the water spray component is in the water spray on state;
[0128] When the water spray trigger signal does not meet the second preset condition, it is determined that the water spray component is in the water spray on / off state.
[0129] By determining whether the water spray trigger signal meets the second preset condition, the water spray switch status of the water spray component can be determined efficiently and accurately, which facilitates efficient switching control of the lighting device in the future.
[0130] Specifically, the second preset condition includes: the water spray trigger signal is a low-level signal.
[0131] When the water spray button is pressed, if the water spray trigger signal provided by the button is a low-level signal, the water spray assembly is turned on. The water spray assembly then sprays liquid onto the cleaning area. At this time, lighting is needed to illuminate the sprayed liquid, so the lighting is turned on to illuminate the sprayed liquid. Conversely, if the water spray trigger signal provided by the button is a high-level signal, the water spray assembly is turned off. The water spray assembly stops spraying liquid onto the cleaning area. At this time, lighting is not needed to illuminate the sprayed liquid, so the lighting is turned off to stop illuminating the sprayed liquid.
[0132] Of course, the second preset condition can also be that the water spraying trigger signal is a high-level signal. When the water spraying trigger signal is a high-level signal, similar to the case where the water spraying trigger signal is a low-level signal, it is only necessary to reverse the control logic of synchronously controlling the opening and closing of the water spraying assembly and the lighting device.
[0133] Specifically, the cleaning device is further provided with a key detection circuit;
[0134] Before S122, the method further includes:
[0135] The key detection circuit is controlled to identify the water spraying trigger signal provided by the water spraying key.
[0136] Through the identification of the water spraying trigger signal by the key detection circuit, it is convenient to subsequently determine whether the water spraying trigger signal meets the second preset condition, which helps to improve the identification efficiency of the water spraying opening and closing state of the water spraying assembly.
[0137] In the above-mentioned second optional implementation, the light-emitting direction of the lighting device can be arranged to face the water spraying assembly, which facilitates the lighting device to better illuminate the liquid sprayed by the water spraying assembly in the adaptive control process based on the water spraying opening and closing state; further, the lighting device can be directly arranged on the water spraying assembly, such as the water spraying pump, which can better illuminate the liquid sprayed by the water spraying pump.
[0138] It should be understood that in the above-mentioned first optional implementation and the second optional implementation, the machine body posture state of the cleaning device and the water spraying opening and closing state of the water spraying assembly can be caused by the user operating the device, and therefore, based on the working state obtained by the user operating the device, the lighting device is adaptively controlled, which can improve the flexibility of the device and improve the user experience.
[0139] In the third optional implementation, the working state of the cleaning device specifically includes a working mode of the lighting device;
[0140] As shown in FIG. 4, S100 includes:
[0141] S130: In the working process of the cleaning device, the working mode of the lighting device is acquired;
[0142] Correspondingly, S200 includes:
[0143] S230: The opening and closing state of the lighting device is controlled according to the working mode.
[0144] In the working process of the cleaning device, the lighting device can not be limited to one working mode, and therefore, based on the obtained working mode of the lighting device, the switch of the lighting device is controlled, which also achieves adaptive control of the lighting device according to the working state of the cleaning device (specifically, the working mode of the lighting device), effectively improves the use flexibility of the device, and does not need to keep the lighting device in a working state after the cleaning device is turned on, can effectively reduce energy consumption on the basis of illuminating the target area by using the lighting device, and improve the endurance of the cleaning device.
[0145] Specifically, the working mode includes at least one of a constant-on mode, a stroboscopic mode, a gradual change mode, and a constant-off mode.
[0146] The constant-on mode refers to that in the mode, the lighting device is in a continuous lighting state, and continuously illuminates the target area; the stroboscopic mode refers to that in the mode, the lighting device flashes at a certain frequency and brightness, and intermittently illuminates the target area; the gradual change mode refers to that in the mode, the lighting device illuminates the target area with smooth transition color and / or brightness; and the constant-off mode refers to that in the mode, the lighting device does not emit light and does not illuminate the target area.
[0147] The above working modes can be customized by the user, and the user configuration item is provided through the above several working modes, the working mode configured by the user is adaptively controlled, which can effectively improve the use flexibility of the device and reduce unnecessary energy consumption.
[0148] Specifically, the cleaning device is also provided with a mode button.
[0149] In S130, the working mode of the lighting device is obtained, including:
[0150] S131: Obtain the mode trigger signal provided by the mode button;
[0151] S132: Determine the working mode of the lighting device according to the mode trigger signal.
[0152] The mode button can provide the mode trigger signal, and based on the recognition of the mode trigger signal, the working mode of the lighting device can be automatically determined. The mode button can be freely configured by the user, and the user configuration item is provided, which further improves the flexibility of the user using the device.
[0153] Similarly, the mode button can select a suitable installation position and button type according to the actual situation, which is not limited here.
[0154] Specifically, the mode trigger signal specifically includes a button level signal.
[0155] S132 includes:
[0156] determining whether the change of the key level signal meets a third preset condition;
[0157] If yes, switching the current working mode of the lighting device into the next working mode according to a preset switching rule; otherwise, maintaining the current working mode of the lighting device.
[0158] By determining whether the change of the key level signal meets the third preset condition within the preset time, it is efficient and accurate to determine whether to switch the current working mode of the lighting device, thereby facilitating subsequent efficient on-off control of the lighting device. When the change of the key level signal meets the third preset condition within the preset time, it indicates that the lighting device meets the mode switching condition at this time, and the mode is switched according to the preset switching rule. At this time, the working mode of the lighting device is the next working mode after switching. When the change of the key level signal does not meet the third preset condition within the preset time, it indicates that the lighting device does not meet the mode switching condition at this time, and the current working mode is maintained unchanged, that is, the current working mode is the working mode of the lighting device at this time.
[0159] Specifically, in S132, the third preset condition specifically includes that the key level signal occurs twice jump and the interval time of the two jumps exceeds the preset time.
[0160] The key level signal occurs twice jump and the interval time of the two jumps exceeds the preset time, which means that the mode key providing the key level signal has experienced two operations of pressing and releasing, and the interval time between the two operations is long, which can be regarded as long pressing of the mode key. When the mode key is long pressed, the mode switching of the lighting device is triggered, thereby realizing the on-off control of the lighting device by the user configuration.
[0161] The above preset time can be set and adjusted according to actual conditions, for example, set to 3 seconds, that is, the key level signal of the mode key occurs twice jump, for example, from low level to high level, at this time the mode key is pressed, after 3 seconds, from high level to low level, at this time the mode key is released, then the mode key occurs long pressing within the 3 seconds.
[0162] Of course, the third preset condition in S132 can also be that the key level signal occurs twice jump and the interval time of the two jumps is less than the preset time, which means that the mode key providing the key level signal occurs short pressing or ordinary key event, at this time the mode switching of the lighting device can be triggered. It can also be other forms of change of the key level signal, for example, the change of the key level signal corresponding to the continuous two short presses of the mode key.
[0163] Specifically, the preset switching rule in S132 is a preset mode switching sequence, for example, when the working modes of the lighting device include four modes of constant-on mode, stroboscopic mode, gradient mode and constant-off mode, the preset switching rule is specifically to switch in the sequence of constant-on mode, stroboscopic mode, gradient mode, constant-off mode, constant-on mode (of course, other switching sequences can also be used).
[0164] Specifically, the cleaning device is also provided with a memory, and the memory is used to store the working mode of the lighting device in real time.
[0165] Before S132, the method further includes:
[0166] S133: obtaining the current working mode of the lighting device from the memory.
[0167] Through the memory provided on the cleaning device, the mode memory function of the lighting device can be realized. Before determining the working mode of the lighting device according to the mode trigger signal, the current working mode of the lighting device is determined by using the memory, so as to facilitate determining the next working mode of the lighting device to be switched when the mode switching of the lighting device is performed based on the user configuration, and also to facilitate maintaining the original working mode (i.e. the current working mode obtained from the memory) when the mode switching is not needed. Based on the memory, the working mode of the lighting device is determined conveniently and efficiently, and then the efficient on-off control of the lighting device is realized.
[0168] In the optional embodiment, the memory includes but is not limited to EEPROM (i.e. electrically erasable programmable read-only memory), FLASH memory (i.e. flash memory) and the like, which can be pre-set according to actual conditions.
[0169] In the optional embodiment, a plurality of mode keys can also be provided, each mode key corresponds to a working mode, and each mode key can provide a mode trigger signal in the corresponding working mode.
[0170] Further, before S132, a mapping relationship table between the mode trigger signal and the working mode is pre-set, and in S132, the working mode corresponding to the mode trigger signal is determined by looking up the mapping relationship table.
[0171] The lighting control modes corresponding to the above three optional embodiments of the embodiment, i.e. the control mode of controlling the lighting device according to the body pose state, the control mode of controlling the lighting device according to the water spraying switch state and the control mode of controlling the lighting device according to the working mode, can also be used in combination to realize the intelligent lighting control of the cleaning device. For convenience of description, the above three lighting control modes are respectively referred to as the first control mode, the second control mode and the third control mode.
[0172] Specifically, when the three control modes are used in combination, the first control mode, the second control mode and the third control mode can be pre-set with priorities, such as the priorities are sequentially increased in the order of the third control mode, the second control mode and the first control mode. Taking the scrubber as an example, when the current working mode of the lighting device is the constant-on mode (or other working mode), the lighting device illuminates in the constant-on mode during the scrubbing process of the scrubber. As long as the mode trigger signal is received, no matter the water spraying switch state and the machine body posture device are in what state, the lighting device is controlled only according to the mode trigger signal, when it is determined according to the mode trigger signal that the working mode of the lighting device is switched to the next working mode (such as the stroboscopic mode), the lighting device is directly switched to the stroboscopic mode and illuminates in the current light output direction, or when it is determined according to the mode trigger signal that the current working mode of the lighting device is maintained, the lighting device continues to illuminate in the constant-on mode and the current light output direction. When the mode trigger signal is not received, once the water spraying switch state is in the water spraying open state, no matter the machine body posture state is in what state, the lighting device continues to work in the constant-on mode and adjusts the light output direction to illuminate the liquid sprayed by the water spraying assembly; and when the water spraying switch state is in the water spraying closed state, if the machine body posture state is in the lying state at this time, the lighting device continues to work in the constant-on mode and adjusts the light output direction to illuminate the cleaning area; and when the water spraying switch state is in the water spraying closed state, if the machine body posture state is in the non-lying state at this time, the lighting device is turned off and stops illuminating.
[0173] Of course, the priority can also be other orders, for example, the priority is in the order of the third control mode, the first control mode, and the second control mode in turn. Similarly, taking the scrubber as an example, when the current working mode of the lighting device is the gradual change mode (or other working modes), during the scrubbing process of the scrubber, the lighting device illuminates in the gradual change mode. As long as the mode trigger signal is received, regardless of the state of the water spraying switch and the body posture device, the lighting device is controlled only according to the mode trigger signal, when the working mode of the lighting device is switched to the next working mode (such as the normally closed mode) according to the mode trigger signal, the lighting device is directly switched to the normally closed mode and stopped illuminating, or when it is determined according to the mode trigger signal that the current working mode of the lighting device is maintained, the lighting device continues to illuminate in the gradual change mode and the current light output direction. When no mode trigger signal is received, once the body posture state is in the lying state, regardless of the state of the water spraying switch, the lighting device continues to work in the gradual change mode and adjusts the light output direction to illuminate the cleaning area; and when the body posture state is in the non-lying state, if the water spraying switch state is in the water spraying open state at this time, the lighting device continues to work in the gradual change mode and adjusts the light output direction to illuminate the liquid sprayed by the water spraying assembly; and when the body posture state is in the non-lying state, if the water spraying switch state is in the water spraying closed state at this time, the lighting device is closed and stopped illuminating.
[0174] In a fourth optional implementation, the working state of the cleaning equipment specifically includes a power supply state of the cleaning equipment;
[0175] As shown in FIG. 5, S100 includes:
[0176] S140: In the working process of the cleaning equipment, the power supply state of the cleaning equipment is acquired;
[0177] Correspondingly, S200 includes:
[0178] S241: In the case of power supply after power failure, the working mode of the lighting device before power failure is acquired;
[0179] S242: According to the working mode of the lighting device before power failure, the on-off state of the lighting device is controlled.
[0180] In the working process of the cleaning device, the power state of the cleaning device affects the working mode of the lighting device, especially in the case of power failure of the cleaning device. Therefore, by controlling the switch of the lighting device based on the power state, the switch state of the lighting device is adaptively controlled according to the working state of the cleaning device (specifically, the power state of the cleaning device), without keeping the lighting device in the working state after the cleaning device is turned on. On the basis of using the lighting device to realize illumination, energy consumption is effectively reduced, and the endurance of the cleaning device is improved. In the case of power failure after power-on, the switch of the lighting device is controlled based on the working mode of the lighting device before power failure, thereby realizing the power failure memory function.
[0181] The working mode in the optional embodiment is the same as that in the third optional embodiment described above, and will not be repeated here.
[0182] Specifically, the cleaning device is further provided with a memory, and the memory is used to store the working mode of the lighting device in real time.
[0183] In S241, the working mode of the lighting device before power failure is obtained, including:
[0184] The working mode of the lighting device before power failure is obtained from the memory.
[0185] Based on the memory, the working mode of the lighting device before power failure is conveniently and efficiently determined, thereby facilitating the improvement of the efficiency of the subsequent switch control of the lighting device.
[0186] The memory in the optional embodiment is similar to the memory in the third optional embodiment described above, and will not be repeated here.
[0187] Specifically, before S241, the method further includes:
[0188] S243: determining whether the power state is power-on after power failure.
[0189] Specifically, the cleaning device is further provided with a power management module.
[0190] Then S243 includes:
[0191] S2431: obtaining power data of the cleaning device provided by the power management module;
[0192] S2432: when the power data meets the fourth preset condition, determining that the power state is power-on after power failure.
[0193] The power management module can monitor and manage the power state of the cleaning device to obtain the corresponding power data, and by judging whether the power data meets the fourth preset condition, the power state of the cleaning device can be efficiently and accurately determined.
[0194] Specifically, in S2431, the power supply data includes at least one of a power supply voltage, a power supply current, a memory data state, a power supply log, and a power supply reset signal.
[0195] The power management module can detect the power supply voltage, power supply current and other electrical parameters of the cleaning device. When the cleaning device is powered off, these electrical parameters will change. Therefore, based on the changes in these electrical parameters provided by the power management module, it can be determined whether the cleaning device is powered off, and further determine that the power state of the cleaning device is powered on after being powered off. For this type of power supply data (power supply voltage, power supply current), the corresponding fourth preset condition is that the change value of the electrical parameter is greater than the set value, that is, when the change value of the electrical parameter is greater than the set value, it is determined that the power state is powered on after being powered off.
[0196] The power management module usually contains a volatile memory (such as RAM) for saving the power state and configuration information of the device. When the device is powered off, this information will be lost, that is, the memory data state is in a lost data state. Therefore, based on the memory data state provided by the power management module, it can be determined whether the device has experienced a power failure, that is, the power state of the cleaning device is powered on after being powered off. For this type of power supply data (memory data state, specifically volatile memory data state), the corresponding fourth preset condition is that the volatile memory data state is in a lost data state, that is, when the volatile memory data state is in a lost data state, it is determined that the power state is powered on after being powered off.
[0197] The power management module also usually has a log recording function and can record power events (wherein power failure is one kind of power event). Therefore, based on the power supply log provided by the power management module, the power failure event can be detected, and further it is determined that the power state of the cleaning device is powered on after being powered off. For this type of power supply data (power supply log), the corresponding fourth preset condition is that the power supply log detects a power failure event, that is, when the power supply log detects a power failure event, it is determined that the power state is powered on after being powered off.
[0198] When the cleaning device is powered off, the power management module usually triggers a power reset signal. Therefore, based on the power reset signal provided by the power management module, it can also be detected that the power failure occurs, and further it is determined that the power state of the cleaning device is powered on after being powered off. For this type of power supply data (power reset signal), the corresponding fourth preset condition is that the power management module outputs a power reset signal, that is, when the power management module outputs a power reset signal, it is determined that the power state is powered on after being powered off.
[0199] The above power supply data can be used as the basis for determining the power supply state alone or in combination, and each power supply data is pre-adaptively set with a corresponding fourth preset condition. For example, when the power supply voltage is used alone as the basis for determining the power supply state, the corresponding fourth preset condition is that the power supply voltage change value is greater than a preset voltage value, that is, when the power supply voltage change value is greater than the preset voltage value, it is determined that the power supply state is power-off and then power-on. When the power supply voltage and the power reset signal are used as the basis for determining the power supply state at the same time, when the power supply voltage change value is greater than the preset voltage value and the power management module output power reset signal is detected, it is determined that the power supply state is power-off and then power-on. The specific selection of which power supply data or combination thereof is used as the basis for determining the power supply state is determined according to the specific situation, and the present embodiment is not limited.
[0200] It should be understood that when it is determined in S140 that the power supply state of the cleaning device is not power-off and then power-on, the switching state of the lighting device can be controlled according to the first, second, third or combination of the three optional embodiments to achieve lighting control and reduce energy consumption.
[0201] Embodiment Two
[0202] A control device of a cleaning device, the cleaning device being provided with a lighting device, as shown in FIG. 6, the device comprising:
[0203] a state acquisition module, configured to acquire the working state of the cleaning device in the working process of the cleaning device;
[0204] a lighting control module, configured to control the switching state of the lighting device according to the working state.
[0205] In the present embodiment, the working state of the cleaning device in the working process is acquired by the state acquisition module, and the switching state of the lighting device is controlled by the lighting control module based on the acquired working state of the cleaning device in the working process, so that adaptive switching control of the lighting device can be achieved without keeping the lighting device in the working state after the cleaning device is powered on. On the basis of illuminating the target area by the lighting device, energy consumption can be effectively reduced, the endurance of the cleaning device can be improved, and user experience can be greatly improved.
[0206] In the first optional embodiment, the working state of the cleaning device specifically includes the body pose state of the cleaning device.
[0207] The state acquisition module is specifically configured to acquire the body pose state of the cleaning device in the working process of the cleaning device.
[0208] The lighting control module is specifically configured to: when the body posture state is in the lying state, control the lighting device to be in the open state to illuminate the cleaning area; and when the body posture state is in the non-lying state, control the lighting device to be in the off state to stop illuminating the cleaning area.
[0209] Specifically, the cleaning device is further provided with a body posture sensor; the state acquisition module acquires the body posture state of the cleaning device, specifically including: acquiring the body posture data of the cleaning device detected by the body posture sensor in real time; and determining the body posture state according to the body posture data.
[0210] Specifically, the body posture data includes an included angle between the body of the cleaning device and the cleaning area; and the state acquisition module determines the body posture state according to the body posture data, including: when the included angle meets the first preset condition, determining that the body posture state is in the lying state; and when the included angle does not meet the first preset condition, determining that the body posture state is in the non-lying state.
[0211] In a second optional embodiment, the cleaning device is further provided with a water spraying assembly for spraying liquid to the cleaning area; and the working state of the cleaning device specifically includes a water spraying switch state of the water spraying assembly.
[0212] The state acquisition module is specifically configured to: acquire the water spraying switch state of the water spraying assembly in the working process of the cleaning device.
[0213] The state acquisition module is specifically configured to: when the water spraying switch state is in the water spraying open state, control the lighting device to be in the open state to illuminate the liquid sprayed by the water spraying assembly; and when the water spraying switch state is in the water spraying off state, control the lighting device to be in the off state to stop illuminating the liquid sprayed by the water spraying assembly.
[0214] Specifically, the cleaning device is further provided with a water spraying button. The state acquisition module acquires the water spraying switch state of the water spraying assembly, specifically including: acquiring a water spraying trigger signal provided by the water spraying button; and determining the water spraying switch state according to the water spraying trigger signal.
[0215] The state acquisition module determines the water spraying switch state according to the water spraying trigger signal, specifically including: when the water spraying trigger signal meets the second preset condition, determining that the water spraying assembly is in the water spraying open state; and when the water spraying trigger signal does not meet the second preset condition, determining that the water spraying assembly is in the water spraying on-off state.
[0216] In a third optional embodiment, the working state of the cleaning device specifically includes a working mode of the lighting device.
[0217] The state acquisition module is specifically configured to: acquire the working mode of the lighting device in the working process of the cleaning device.
[0218] The lighting control module is specifically configured to control the switch state of the lighting device according to the working mode.
[0219] Specifically, the cleaning device is further provided with a mode button; the state acquisition module acquires the working mode of the lighting device, specifically including: acquiring a mode trigger signal provided by the mode button; and determining the working mode of the lighting device according to the mode trigger signal.
[0220] In the fourth optional embodiment, the working state of the cleaning device specifically includes a power supply state of the cleaning device.
[0221] The state acquisition module is specifically configured to acquire the power supply state of the cleaning device during the working process of the cleaning device.
[0222] The lighting control module is specifically configured to acquire the working mode of the lighting device before power failure in the case of power failure after power supply; and control the switch state of the lighting device according to the working mode of the lighting device before power failure.
[0223] The functions of the modules in the control device of the cleaning device described in this embodiment correspond one by one to the method steps in the control method of the cleaning device described in Embodiment One, so the details not fully described in this embodiment are described in detail in Embodiment One and the specific descriptions of FIGS. 1-5, which will not be repeated here.
[0224] Embodiment Three
[0225] A control system of a cleaning device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and the computer program realizes the method steps in the control method of the cleaning device of Embodiment One when executed.
[0226] Through the computer program stored on the memory and executed on the processor, adaptive switch control of the lighting device is realized, without making the lighting device always in a working state after the cleaning device is powered on, which can effectively reduce energy consumption on the basis of illuminating the target area with the lighting device, improve the endurance of the cleaning device, and greatly improve the user experience.
[0227] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The processor is a control center of the computer device, and connects various parts of the computer device through various interfaces and lines.
[0228] The memory can be used to store computer programs and / or models. The processor realizes various functions of the computer device by running or executing the computer programs and / or models stored in the memory, and calling data stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store an operating system and at least one application program (such as a sound playing function, an image playing function, etc.) required by a function. The data storage area can store data (such as audio data, video data, etc.) created according to the use of the mobile phone. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state memory devices.
[0229] It should be understood that each flow and / or block in the flowchart and / or block diagram and the combination of flows and / or blocks in the flowchart and / or block diagram can be implemented by a computer program. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processing machine, or other programmable data processing devices to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices produce a device for implementing the functions specified in one or more flows in the flowchart and / or one or more blocks in the block diagram.
[0230] These computer programs can also be stored in a computer readable memory capable of directing the computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer readable memory produce a manufactured product including instruction devices, which implement the functions specified in one or more flows in the flowchart and / or one or more blocks in the block diagram.
[0231] These computer programs (also known as programs, software, software applications programs, applications, components, library modules, objects, or program modules) instruct computing devices to execute desired actions to achieve the operations specified in flowcharts or block diagrams. The software implementation can be influenced by computer systems having architectures
[0232] The embodiments also provide a computer storage medium including at least one instruction, which when executed, implements the method steps in the control method of the cleaning device of embodiment one.
[0233] By executing the computer storage medium including at least one instruction, adaptive switch control of the lighting device is achieved, without keeping the lighting device in a working state after the cleaning device is powered on, and energy consumption can be effectively reduced on the basis of illuminating the target area by the lighting device, the endurance of the cleaning device is improved, and user experience is greatly improved.
[0234] Similarly, the details of the embodiments not described here can be found in the specific descriptions of embodiment one, embodiment two, and figures 1 to 6.
[0235] Embodiment four
[0236] As shown in figure 7, a cleaning device includes:
[0237] a device body;
[0238] a lighting device provided on the device body; and
[0239] a controller provided on the device body and electrically connected to the lighting device, configured to:
[0240] acquire the working state of the cleaning device during the working process of the cleaning device;
[0241] control the switch state of the lighting device according to the working state.
[0242] In the cleaning device of the embodiments, the switch state of the lighting device can be adaptively controlled based on the working state of the cleaning device, energy consumption can be effectively reduced on the basis of illuminating the target area by the lighting device, the endurance of the cleaning device is improved, and user experience is greatly improved.
[0243] The cleaning device of the embodiments includes but is not limited to a scrubber, a vacuum cleaner, etc., the lighting device includes but is not limited to an LED lamp, a fluorescent lamp, etc., and the controller includes an MCU (i.e., a microprocessor). For the purpose of illustration, in the following embodiments, the cleaning device is taken as an example of a scrubber, and the lighting device is taken as an example of an LED lamp.
[0244] Specifically, as shown in FIG. 8, the lighting device further comprises an LED driving circuit and an LED power supply circuit;
[0245] The input end of the LED driving circuit is electrically connected with the output end of the MCU, the output end of the LED driving circuit is electrically connected with the LED lamp, the input end of the LED power supply circuit is electrically connected with the external power supply end, and the output end of the LED power supply circuit is electrically connected with the LED lamp.
[0246] The LED driving circuit is used for providing a driving signal for the LED lamp.
[0247] The LED power supply circuit is used for supplying power for the LED lamp.
[0248] Through the above lighting device, the control signal of the MCU can be conveniently received, and the on-off control of the LED lamp can be realized. In FIG. 7, IO-CTL is the driving signal provided by the MCU to the LED driving circuit, and DC-IN is the power supply signal provided by the LED power supply circuit to the LED lamp.
[0249] Corresponding to the first optional implementation of the first embodiment, as shown in FIG. 9, the cleaning device further comprises:
[0250] A machine body posture sensor is arranged on the device body and is electrically connected with the MCU, and is used for detecting machine body posture data of the cleaning device in real time and sending the machine body posture data to the MCU.
[0251] Through the machine body posture sensor, the machine body posture data can be detected in real time, so that the MCU can determine the machine body posture state according to the machine body posture data, and the lighting device can be adaptively controlled based on the machine body posture state, so as to realize the control of the dirt display of the cleaning area.
[0252] The machine body posture sensor includes but is not limited to a rotary encoder, a gyroscope and a visual sensor.
[0253] Corresponding to the second optional implementation of the first embodiment, as shown in FIG. 10, the cleaning device further comprises:
[0254] A water spraying assembly is arranged on the device body, and the water spraying assembly is used for spraying liquid to the cleaning area.
[0255] The water spraying assembly includes but is not limited to a water spraying pump, and the water spraying pump is taken as an example in the embodiment.
[0256] In the second optional implementation, as shown in FIG. 10, the cleaning device further comprises:
[0257] A water spraying button is arranged on the device body and is used for providing a water spraying trigger signal.
[0258] A key detection circuit is arranged on the device body and electrically connected with the water spraying key and the MCU, and is configured to recognize the water spraying trigger signal provided by the water spraying key.
[0259] A water spraying pump driving circuit is arranged on the device body and electrically connected with the MCU and the water spraying pump, and is configured to control the water spraying pump to perform water spraying work.
[0260] The water spraying trigger signal is provided by the water spraying key, and the key detection circuit is connected with the water spraying key to realize the recognition of the water spraying trigger signal. The key detection circuit is also electrically connected with the MCU, so that the MCU can send a control signal to the water spraying pump driving circuit according to the recognition result of the key detection circuit, and then control the opening and closing of the water spraying pump to realize the on-off control of the water spraying pump to the cleaning area, that is, to realize the function of fixed-point water spraying. Based on the function of fixed-point water spraying, stubborn stains can be removed, and the cleaning efficiency and the flexibility of the user in using the device can be improved.
[0261] The water spraying key can be arranged at any position of the cleaning device, which can be a physical key or a touch key, and the embodiment is not limited thereto.
[0262] Specifically, as shown in FIG. 11, the key detection circuit includes a first MOS tube Q12, a first Schottky diode D27, a second Schottky diode D28, a first resistor R28, a second resistor R31 and a third resistor R35.
[0263] The positive electrode of the first Schottky diode D27 is electrically connected with the water spraying key, and the negative electrode of the first Schottky diode D27 is electrically connected with the gate electrode of the first MOS tube Q12. The negative electrode of the second Schottky diode D28 and the first end of the third resistor R5 are both connected to a common connection end between the positive electrode of the first Schottky diode D27 and the water spraying key, and the positive electrode of the second Schottky diode D28 and the second end of the third resistor R5 are both grounded. The drain electrode of the first MOS tube Q12 is electrically connected with a 5V power supply end through the first resistor R28, and the drain electrode of the first MOS tube Q12 is also electrically connected with the MCU through the second resistor R31. The source electrode of the first MOS tube Q12 is grounded.
[0264] In the above key detection circuit, the first MOS tube Q12 is connected with the water spraying trigger signal provided by the water spraying key through the first Schottky diode D27, and then transmitted to the MCU through the second resistor R31 to realize the detection and recognition of the water spraying trigger signal.
[0265] In FIG. 11, the port CLEAN_KEY is an output port of the water spraying button, and the port F_CLEAN_KEY_D is an input port of the MCU. The MCU controls the water spraying pump and the lighting device synchronously according to the signal of the port F_CLEAN_KEY_D. That is, when the water spraying button is in a pressed state, the F_CLEAN_KEY_D is a low-level signal, and the water spraying pump and the lighting device are turned on and work simultaneously. When the water spraying button is in a lifted state, the F_CLEAN_KEY_D is a high-level signal, and the water spraying pump and the lighting device are turned off and stop working simultaneously.
[0266] In the circuit, the first MOS tube Q12 is a BSS123 type NMOS tube, and the specifications or types of the two Schottky diodes (D27 and D28) and the resistors are shown in FIG. 11, which are not listed here.
[0267] Specifically, as shown in FIG. 12, the water spraying pump driving circuit includes a second MOS tube Q19, a third Schottky diode D37, a first capacitor C39, a second capacitor C42, a third capacitor C43, a fourth capacitor C44, a fourth resistor R72, a fifth resistor R76, a sixth resistor R77, a seventh resistor R78, and an eighth resistor R80.
[0268] The gate of the second MOS tube Q19 is electrically connected to the MCU through the fourth resistor R72. The first end of the fifth resistor R76 is connected to a common connection end between the gate of the second MOS tube Q19 and the fourth resistor R72, and the second end of the fifth resistor R76 is grounded.
[0269] The drain of the second MOS tube Q19 is electrically connected to the negative input end of the water spraying pump. The positive electrode of the third Schottky diode D37 and the first end of the second capacitor C42 are both connected to a common connection end between the drain of the second MOS tube Q19 and the negative input end of the water spraying pump. The negative electrode of the third Schottky diode D37 is electrically connected to the positive input end of the water spraying pump, and the second end of the second capacitor C42 is electrically connected to the positive input end of the water spraying pump through the first capacitor C39.
[0270] The source of the second MOS tube Q19 is grounded through the eighth resistor R80. The source of the second MOS tube Q19 is also electrically connected to the MCU through the sixth resistor R77 and the seventh resistor R78 in sequence. The first end of the third capacitor C43 is connected to a common connection end between the sixth resistor R77 and the seventh resistor R78, and the first end of the fourth capacitor C44 is connected to a common connection end between the seventh resistor R78 and the MCU. The second end of the third capacitor C43 and the second end of the fourth capacitor C44 are both grounded.
[0271] In the water-jet pump driving circuit, the gate of the second MOS Q19 is connected to the output signal of the MCU through the fourth resistor R72, the drain of the second MOS Q19 is electrically connected to the negative input terminal of the water-jet pump on one hand and to the positive input terminal of the water-jet pump on the other hand through the circuit structure composed of the third Schottky diode D37, the first capacitor C39 and the second capacitor C42, and the second MOS Q19 is used to drive the water-jet pump to run.
[0272] In FIG. 12, the source of the second MOS Q19 is also connected to the MCU through the circuit structure composed of the resistors R77 and R78 and the capacitors C43 and C44, so that the water-jet pump current signal can be sampled.
[0273] In FIG. 12, the port F_PUMP2_EN is the output port of the MCU, the ports P+ and PUMP2- are the positive input terminal and the negative input terminal of the water-jet pump respectively, and the port F_PUMP2_AD is the sampling port of the MCU.
[0274] The second MOS Q19 is selected from the NMOS tubes of the model CRTM045N03L2P, and the specifications or models of the third Schottky, the capacitors and the resistors are shown in FIG. 12 and will not be listed here.
[0275] Corresponding to the third optional implementation in the first embodiment, as shown in FIG. 13, the cleaning device further comprises:
[0276] A mode button is arranged on the device body and is used to provide a mode trigger signal;
[0277] A mode detection circuit is arranged on the device body and is electrically connected to the mode button and the MCU, and is used to identify the mode trigger signal provided by the mode button; and
[0278] A memory is arranged on the device body and is electrically connected to the MCU, and is used to store the working mode of the lighting device in real time.
[0279] The mode trigger signal is provided through the mode button, the mode detection circuit is connected to the mode button to identify the mode trigger signal, the mode detection circuit is also electrically connected to the MCU to facilitate the MCU to obtain the identification result of the mode detection circuit, and the MCU is also electrically connected to the memory to facilitate the MCU to extract the corresponding working mode from the memory according to the identification result of the mode detection circuit.
[0280] The mode button can be selected to have a suitable installation position and button type according to actual conditions, and a suitable number can also be set according to actual conditions, which is not limited here.
[0281] The mode detection circuit can adopt the same circuit design as the key detection circuit in the second optional embodiment, or other suitable circuit design, as long as it can recognize the mode trigger signal provided by the mode key. Details are not listed here.
[0282] The memory includes but is not limited to EEPROM (i.e. electrically erasable programmable read-only memory), FLASH memory (i.e. flash memory) and the like, which can be pre-set according to actual conditions.
[0283] Corresponding to the fourth optional embodiment in the first embodiment, as shown in FIG. 14, the cleaning device further comprises:
[0284] The memory is arranged on the device body and electrically connected with the MCU, and is used for storing the working mode of the lighting device in real time; and
[0285] The power management module is arranged on the device body and electrically connected with the MCU, and is used for providing power data to the MCU.
[0286] The MCU is connected with the power management module, so as to obtain the power data obtained by the power management module monitoring the power supply of the device, and then analyze and confirm the power state according to the power data; the MCU is also connected with the memory, so as to extract the working mode of the lighting device before power failure from the memory when it is determined that the power state is power failure and then power on, and then realize the switching of the lighting device.
[0287] The memory in the optional embodiment is similar to the memory in the third optional embodiment, and details are not listed here.
[0288] The details of the present embodiment are described in detail in the first embodiment, the second embodiment and FIGS. 1 to 6, and details are not listed here.
[0289] Although the embodiments of the present disclosure are described in conjunction with the drawings, various modifications and variations can be made by those skilled in the art without departing from the spirit and scope of the present disclosure, and such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A control method of a cleaning device, the cleaning device being provided with an illumination device, the method comprising: obtaining a working state of the cleaning device during a working process of the cleaning device; and controlling a switching state of the illumination device according to the working state. The working state comprises a body posture state. The controlling of the switching state of the illumination device according to the working state comprises: in a case where the body posture state is a lying state, controlling the illumination device to be in an on state to illuminate a cleaning area; and in a case where the body posture state is a non-lying state, controlling the illumination device to be in an off state to stop illuminating the cleaning area.
2. The control method of a cleaning apparatus according to claim 1, wherein, The cleaning device is further provided with a body posture sensor. The obtaining of the body posture state of the cleaning device comprises: obtaining body posture data of the cleaning device detected by the body posture sensor in real time; and determining the body posture state according to the body posture data. The body posture data comprises an included angle between a body of the cleaning device and the cleaning area. The determining of the body posture state according to the body posture data comprises: determining that the body posture state is the lying state when the included angle meets a first preset condition; and determining that the body posture state is the non-lying state when the included angle does not meet the first preset condition.
3. The control method of the cleaning apparatus according to claim 2, wherein, The cleaning device is further provided with a water spraying assembly for spraying liquid to the cleaning area. The working state comprises a water spraying switching state of the water spraying assembly. The controlling of the switching state of the illumination device according to the working state comprises: in a case where the water spraying switching state is a water spraying on state, controlling the illumination device to be in the on state to illuminate the liquid sprayed by the water spraying assembly; and in a case where the water spraying switching state is a water spraying off state, controlling the illumination device to be in the off state.
4. The control method of the cleaning apparatus according to claim 3, wherein The cleaning device is further provided with a water spraying key. The obtaining of the working state of the cleaning device comprises: obtaining a water spraying trigger signal provided by the water spraying key; and determining the water spraying switching state according to the water spraying trigger signal. The working state comprises a working mode of the illumination device. The controlling of the switching state of the illumination device according to the working state comprises: controlling the switching state of the illumination device according to the working mode of the illumination device.
5. The control method of the cleaning apparatus according to any one of claims 1-4, wherein, The working mode comprises at least one of a constant-on mode, a stroboscopic mode, a gradual change mode and a constant-off mode. The cleaning device is further provided with a mode key. The obtaining of the working state of the cleaning device comprises: obtaining a mode trigger signal provided by the mode key; and determining the working mode of the illumination device according to the mode trigger signal. The working state comprises a power state of the cleaning device. The controlling of the switching state of the illumination device according to the working state comprises: in a case where the power state is a power-on after power-off, obtaining a working mode of the illumination device before power-off; and controlling the switching state of the illumination device according to the working mode of the illumination device before power-off.
6. The control method of a cleaning apparatus according to claim 5, wherein, 7. The control method of the cleaning apparatus according to any one of claims 1-6, wherein, 8. The control method of the cleaning apparatus according to claim 7, wherein, 9. The control method of the cleaning apparatus according to claim 7 or 8, wherein, 10. The control method of the cleaning apparatus according to any one of claims 1-9, wherein, 11.A control device of a cleaning device, wherein the cleaning device is provided with an illumination device, comprising: a state acquisition module, configured to acquire a working state of the cleaning device during a working process of the cleaning device; an illumination control module, configured to control a switching state of the illumination device according to the working state. 12.A control system of a cleaning device, comprising a processor, a memory, and a computer program stored in the memory and executable in the processor, wherein the computer program, when executed, implements the method steps in the control method of the cleaning device according to any one of claims 1 to 10.
13. A computer storage medium comprising: at least one instruction, which, when executed, implements the method steps in the control method of the cleaning device according to any one of claims 1 to 10. 14.A cleaning device, comprising: a device body; an illumination device provided on the device body; and a controller provided on the device body and electrically connected with the illumination device, configured to: acquire a working state of the cleaning device during a working process of the cleaning device; and control a switching state of the illumination device according to the working state.
Citation Information
Patent Citations
Cleaning equipment, control method, device and system thereof and storage medium
CN118452760A
Auxiliary cleaning mechanism and cleaning device
CN217610877U
Cleaning device
CN218515692U
Cleaning device
CN221555465U
Cleaning implement with lighting function
CN2877544Y