Disclosure of Invention
The invention mainly aims to provide an anti-overflow method for cleaning equipment, and aims to solve the technical problems in the background technology.
In order to achieve the above object, the present invention provides an anti-overflow method for a cleaning apparatus, which is applied to a cleaning apparatus, the cleaning apparatus includes a water tank and a waterway, the waterway is respectively communicated with a water inlet of the water tank and an external water source,
the water way is provided with an electromagnetic valve for controlling the water way to be opened and closed, the cleaning equipment is internally provided with a ball float valve and a first water level detection part, the ball float valve is used for closing the water inlet when the water level in the water tank reaches a first preset value, the first water level detection part is used for triggering an overflow signal when the water level in the water tank reaches a second preset value, and the second preset value is larger than the first preset value;
the cleaning device overflow prevention method comprises the following steps:
after receiving a water injection signal, controlling the electromagnetic valve to be opened so that an external water source flows into the water tank through the waterway and the water inlet;
detecting whether the float valve closes the water inlet or not through the first water level detection part;
if not, closing the electromagnetic valve to finish the water injection operation; and/or performing a water injection abnormality prompting operation. In some embodiments of the present invention, in some embodiments,
in some embodiments, the step of detecting whether the float valve closes the water inlet by the first water level detecting member includes:
if the first water level detection part triggers an overflow signal within a preset duration range, determining that the floating ball valve does not close the water inlet;
if the first water level detection part does not trigger the overflow signal within the preset duration range, the float valve is determined to close the water inlet successfully.
In some embodiments, the method further comprises:
if the first water level detection part does not trigger the overflow signal within the preset duration range, but the first water level detection part triggers after the target time passes, the electromagnetic valve is closed to finish the water injection operation; and/or performing a water injection abnormality prompting operation.
In some embodiments, the cleaning device is provided with a mounting cavity for mounting the water tank and a cleaning area for cleaning the cleaning device, the cleaning area is positioned below the mounting cavity, and the bottom wall of the mounting cavity is provided with an overflow hole; the overflow holes are used for enabling overflowed water to flow into a cleaning area of the cleaning equipment;
the cleaning device overflow prevention method further comprises the following steps:
detecting water level information of a cleaning area of the cleaning device through a second water level detection piece arranged in the cleaning area;
judging whether water flows into a cleaning area of the cleaning equipment through the overflow port according to the water level information;
if yes, executing water injection abnormality prompting operation; and/or performing a washing zone drain operation to drain water of the washing zone.
In some embodiments, the step of determining whether water flows into the washing area of the cleaning apparatus via the overflow port according to the water level information includes:
when the water level in the washing area reaches a third preset value, it is determined that water flows into the washing area of the cleaning device through the overflow port.
In some embodiments, the cleaning device overflow prevention method further comprises:
if the first water level detection part judges that the float valve closes the water inlet, the electromagnetic valve is closed to finish water injection operation.
In some embodiments, after the step of controlling the solenoid valve to open, the cleaning apparatus overflow prevention method further comprises:
detecting whether the electromagnetic valve operates normally;
if the electromagnetic valve is abnormally operated, the electromagnetic valve is controlled to be closed; and/or performing a water injection abnormality prompting operation.
In some embodiments, the step of detecting whether the solenoid valve is operating properly comprises:
acquiring an actual current value of the electromagnetic valve in the running state;
judging whether the electromagnetic valve operates normally or not according to the comparison result of the actual current value and the standard current value in the normal operating state of the electromagnetic valve; or alternatively, the process may be performed,
acquiring an actual water pressure value in the waterway under the running state of the electromagnetic valve;
judging whether the electromagnetic valve operates normally or not according to a comparison result of the actual water pressure value and a standard water pressure value in a normal operating state of the electromagnetic valve; or alternatively, the process may be performed,
acquiring the actual water flow in the waterway under the actual running state of the electromagnetic valve;
judging whether the electromagnetic valve operates normally or not according to a comparison result of the actual water flow and the standard water flow in the normal operation state of the electromagnetic valve; or alternatively, the process may be performed,
detecting state information of whether water flows or not in the actual running state of the electromagnetic valve through an eddy current sensor;
and judging whether the electromagnetic valve operates normally or not according to the state information of whether the water flows or not.
In some embodiments, the step of detecting whether the solenoid valve is operating properly comprises:
acquiring the actual water flow in the waterway under the actual running state of the electromagnetic valve;
judging whether the electromagnetic valve operates normally or not according to a comparison result of the actual water flow and the standard water flow in the normal operation state of the electromagnetic valve;
the method further comprises the steps of:
determining an output water quantity which is already output by a water tank of the cleaning device;
and adjusting the water flow and/or the water filling time length for filling water into the water tank according to the output water quantity and the actual water flow.
The invention further provides cleaning equipment, which comprises a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the computer program realizes the overflow prevention method of any cleaning equipment when being executed by the processor.
The invention further proposes a cleaning device comprising:
the water tank is used for storing water;
the water inlet is closed when the water level in the water tank reaches a first preset value, and the first water level detection piece is used for triggering an overflow signal when the water level in the water tank reaches a second preset value which is larger than the first preset value;
the water tank is arranged in the installation cavity, and the bottom wall of the installation cavity is provided with an overflow hole;
the cleaning area is positioned below the mounting cavity, and the overflow holes are used for enabling overflowed water to flow into the cleaning area;
the water channel is respectively communicated with a water inlet of the water tank and an external water source, and an electromagnetic valve for controlling the on-off of the water channel is arranged on the water channel;
the control system comprises a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the processor realizes the anti-overflow method of any cleaning equipment.
The invention further proposes a computer readable storage medium storing a computer program which, when executed by a processor, implements any of the cleaning device anti-overflow methods described above.
According to the technical scheme provided by the invention, three-level overflow protection of the water tank is realized through the electromagnetic valve, the ball float valve and the first water level detection part, so that the overflow condition of the water tank can be effectively avoided, and the reliability of the overflow prevention function of the cleaning equipment can be greatly improved. When the water injection signal is not received, the electromagnetic valve is in a normally closed state, and an external water source is cut off at the source to prevent overflow; when a water injection signal is received, the electromagnetic valve is controlled to be opened, so that an external water source is injected into the water tank; when the water in the water tank reaches a first preset value, the ball float valve closes the water inlet of the water tank, and cuts off an external water source at the water inlet to prevent overflow; meanwhile, whether the water inlet is closed or not is detected by the first water level detection part, if the water inlet is not closed by the float valve, the electromagnetic valve is controlled to be closed, and an external water source is cut off at the source to prevent overflow.
Detailed Description
The following description of the embodiments of the present invention will be made more clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The description of "first," "second," etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
The cleaning device related to the embodiment of the invention can be a cleaning robot, a base station or a handheld cleaning device, and the like, wherein the base station refers to the cleaning device matched with the cleaning robot or the handheld cleaning device. Taking the base station as an example, in order to facilitate the use of a user, the base station is often matched with the use of the cleaning robot, the base station can be used for charging the cleaning robot, and when the electric quantity of the cleaning robot is less than a preset electric quantity threshold value in the cleaning process, the cleaning robot can move to the base station for charging. For the cleaning robot, the base station can also clean the mopping piece (such as a mop), and after the mopping piece of the cleaning robot mops the floor, the mopping piece often becomes dirty and needs to be cleaned. For this purpose, the base station can be used for cleaning the mop of the cleaning robot. Specifically, the cleaning robot may be moved to the base station so that the cleaning mechanism on the base station automatically cleans the cleaning robot's mop. Besides the functions, the base station can also be used for maintaining and managing the cleaning robot, so that the cleaning robot can be controlled more intelligently in the process of executing the cleaning task, and the working intelligence of the robot is improved.
In order to realize cleaning of the cleaning robot's cleaning elements, a waterway system is arranged in the base station, the waterway system comprises a clear water tank, and water at an external water supply end can be connected through a water inlet of the clear water tank, so that automatic water supplementing of the base station is realized; the water of the clean water tank can be transmitted to the area needing water through the waterway channel, for example, when the cleaning of the cleaning piece is needed, the clean water of the clean water tank can be transmitted to the cleaning area, and the cleaning area supplies water for the cleaning piece so as to clean the cleaning piece. The base station can perform maintenance and management such as mop washing and the like for the cleaning robot and can perform self-cleaning tasks, and the base station can perform self-cleaning on an internal cleaning area so as to clean stains accumulated in the cleaning area. The waterway system may further include a sewage tank, after the cleaning of the cleaning assembly is completed, sewage in the cleaning area may be transferred to the sewage tank, collected through the sewage tank, the sewage tank may perform a water suction operation, the sewage in the cleaning area may be sucked to the sewage tank, the sewage tank may function to collect sewage, the sewage tank may be discharged to the outside through a drainage passage, for example, a drainage operation may be performed after the sewage amount of the sewage tank reaches a certain sewage amount threshold, and sewage in the sewage tank may be discharged to the outside. In practical application, if overflow condition takes place for water route or water tank in waterway system, then can influence cleaning equipment's influence, can cause the result of bubble water to cleaning equipment place even, consequently, this scheme is through taking the measure of tertiary anti-overflow to promote waterway system anti-overflow stability and reliability.
The invention provides an anti-overflow method of cleaning equipment, which is applied to the cleaning equipment, such as a base station, a cleaning robot, a handheld cleaning equipment and the like, wherein the cleaning equipment comprises a water tank and a waterway, and the waterway is respectively communicated with a water inlet of the water tank and an external water source, so that the external water source can flow into the water tank under the condition that the waterway and the water inlet are communicated, and the automatic water injection of the water tank is realized.
Wherein be equipped with the solenoid valve that is used for controlling the water route break-make on the water route, cleaning device is equipped with ball cock and first water level detection spare, and the ball cock is used for closing the water inlet when the water level in the water tank reaches first default, and first water level detection spare is used for triggering the overflow signal when the water level in the water tank reaches the second default, and the second default is greater than first default, also: the liquid level height when the float valve closes the water inlet is lower than the liquid level height when the first water level detection piece triggers the overflow signal.
Optionally, a pressure reducing valve is further arranged on the waterway, and the water pressure in the waterway is reduced through the pressure reducing valve, so that the pressure born by the waterway is reduced. Simultaneously, the solenoid valve is only opened when the water injection, when not the water injection, outside water source is cut off by the solenoid valve for the water route need not to bear the water pressure under this circumstances, thereby avoids the water route to bear the water pressure for a long time, can prolong the life of water route to a certain extent.
Further, the positions of the electromagnetic valve and the pressure reducing valve can be changed, and the electromagnetic valve can be arranged at the front end of the pressure reducing valve or at the rear end of the pressure reducing valve. When the electromagnetic valve is arranged at the front end of the pressure reducing valve, the electromagnetic valve is controlled to be opened first, so that an external water source is communicated with the waterway, and then the external water source is reduced in pressure through the pressure reducing valve. When the electromagnetic valve is arranged at the rear end of the pressure reducing valve, the external water source is firstly reduced in pressure through the pressure reducing valve, and then the electromagnetic valve is controlled to be opened, so that the reduced external water source flows into the water tank through the waterway and the water inlet in sequence.
Further, the solenoid valve and the pressure reducing valve may be integrated to form a pressure reducing solenoid valve.
In some embodiments, the first water level detecting member includes one or more of an anti-overflow electrode, a time-of-flight sensor, a capacitive sensor and an ultrasonic sensor, including but not limited to, and may be designed by those skilled in the art according to practical situations.
In some embodiments, the float valve provided by the invention comprises a float ball, a pivot rotating shaft and a water stop valve, wherein the float ball and the water stop valve are respectively connected with the pivot rotating shaft, and the float ball drives the pivot rotating shaft to rotate through the buoyancy of water in the water tank, so that the water stop valve acts to close a water inlet of the water tank.
Referring to fig. 1, the cleaning device overflow prevention method provided by the invention includes:
step S10, after receiving the water injection signal, controlling the electromagnetic valve to be opened so that an external water source flows into the water tank through the waterway and the water inlet;
step S20, detecting whether the float valve closes the water inlet or not through a first water level detection part;
step S30, if not, closing the electromagnetic valve to end the water injection operation; and/or performing a water injection abnormality prompting operation.
In this embodiment, when the water injection signal is not received, the solenoid valve is in a normally closed state to intercept the external water source from the source, preventing the external water source from flowing into the water tank through the waterway and the water inlet. When the water injection signal is received, the electromagnetic valve is in an open state, so that an external water source flows into the water tank through the waterway and the water inlet, and automatic water injection of the water tank is realized.
When the float valve closes the water inlet of the water tank, the water tank is filled with water, but the condition that the float valve is abnormal is considered, so that whether the float valve closes the water inlet of the water tank is detected by the first water level detecting piece. If the first water level detecting piece detects that the floating ball valve does not close the water inlet, the floating ball valve can be confirmed to be abnormal, and in the case, the electromagnetic valve is controlled to be closed so as to cut off an external water source from the source, and the external water source is prevented from continuously flowing into the water tank, so that the water injection operation of the water tank is finished. According to the overflow prevention method for the cleaning equipment, which is provided by the invention, three-level overflow prevention protection for the water tank is realized through the electromagnetic valve, the ball float valve and the first water level detection part, so that the overflow condition of the water tank can be effectively avoided, and the functional reliability of the cleaning equipment can be greatly improved.
Optionally, when the first water level detecting member detects that the float valve does not close the water inlet, a water injection abnormality prompting operation may be performed, such as sending an audible and visual alarm signal to the outside to prompt the user of water injection abnormality. When the first water level detection part detects that the float valve does not close the water inlet, the electromagnetic valve can be controlled to be closed and water injection abnormality prompting operation can be executed at the same time, so that overflow situation can be avoided more reliably.
Wherein, the first water level detecting member may be at least one of: detection electrodes (e.g. anti-spill needle), time of flight TOF sensors, capacitive sensors, ultrasonic sensors, etc., by means of which at least one of the above mentioned sensors water level detection in the water tank can be performed.
In some embodiments, referring to fig. 2, step S20 of the present invention includes:
step S21, if the first water level detection piece triggers an overflow signal within a preset duration range, determining that the float valve does not close the water inlet;
and S22, if the first water level detection piece does not trigger the overflow signal within the preset duration range, determining that the float valve successfully closes the water inlet.
In this embodiment, when the water tank is filled with water, if the first water level detecting member triggers the overflow signal within the preset duration range, it indicates that the water level in the water tank reaches the second preset value, so that it can be determined that the float valve is abnormal. Namely: when the water level in the water tank reaches a first preset value, the ball float valve does not close the water inlet of the water tank, and after the water level in the water tank reaches the first preset value, an external water source still flows into the water tank through the waterway and the water inlet, so that water in the water tank overflows from the water inlet. Otherwise, if the first water level detection part does not trigger the overflow signal within the preset duration range, the normal operation of the float valve can be determined, and the water inlet of the water tank is successfully closed.
In some embodiments, the invention further comprises the steps of:
if the first water level detection part does not trigger the overflow signal within the preset duration range, but the first water level detection part triggers after the target time passes, the electromagnetic valve is closed to finish the water injection operation; and/or performing a water injection abnormality prompting operation.
In specific implementation, considering that the overflow exists but the overflow is slower, the first water level detection part is triggered after the overflow is longer than the preset time range, so if the first water level detection part does not trigger the overflow signal in the preset time range, but the first water level detection part triggers after the target time, the float valve and the electromagnetic valve are still determined to be failed at the same time or the first water level detection part fails to report by mistake. Wherein, to the condition that ball float valve and solenoid valve were lost efficacy simultaneously, the unusual suggestion operation of water injection can be carried out. For the fault condition of the water level sensor, the electromagnetic valve can be closed, and water injection abnormality prompting operation is executed; alternatively, the water injection abnormality prompting operation may be performed.
In some embodiments, referring to fig. 3 and 4, the cleaning device is provided with a mounting cavity for mounting the water tank and a cleaning area for cleaning the cleaning device, the cleaning area is positioned below the mounting cavity, and an overflow hole is formed in the bottom wall of the mounting cavity; the overflow holes are used for enabling overflowed water to flow into a cleaning area of the cleaning equipment; the overflow prevention method of the cleaning equipment provided by the invention further comprises the following steps:
step S40, detecting water level information of a cleaning area of the cleaning device through a second water level detection piece arranged in the cleaning area;
step S50, judging whether water flows into a cleaning area of the cleaning equipment through the overflow port according to the water level information;
step S60, if yes, executing water injection abnormality prompting operation; and/or performing a washing zone drain operation to drain water of the washing zone.
In this embodiment, the second water level detecting member may be disposed in the cleaning area of the cleaning apparatus, specifically may be disposed at a position close to the bottom tank and at a predetermined height from the bottom, so as to detect whether water overflows from the water tank to the cleaning area through the overflow hole in a situation where no cleaning task is performed, and if it is determined that water flows into the cleaning area of the cleaning apparatus through the overflow hole according to the water level information detected by the second water level detecting member, a water injection abnormality prompting operation is performed to prompt a user to process the overflow condition.
Wherein, the water level information may include: whether or not there is water; or whether the water level of the cleaning zone reaches a third preset value.
Alternatively, the water overflowed to the washing area may be discharged to the outside of the cleaning apparatus, such as a sewer, through a water discharge path communicating with the washing area.
Optionally, in an implementation manner, a third water level detecting element may be further disposed in the cleaning area, and when the third water level detecting element detects that the water level in the cleaning area reaches a fourth preset value, the draining operation in the cleaning area may be performed.
In some embodiments, the step of determining whether water flows into the washing area of the cleaning apparatus via the overflow port according to the water level information includes:
when the water level in the washing area reaches a third preset value, it is determined that water flows into the washing area of the cleaning device through the overflow port.
Wherein the third preset value is less than or equal to the fourth preset value.
In this embodiment, the cleaning device is provided with a mounting cavity 1 for mounting the water tank and a cleaning area 2 for cleaning the cleaning device, the cleaning area 2 is located below the mounting cavity 1, the bottom wall of the mounting cavity 1 is provided with an overflow hole 3, and the overflow hole 3 is used for enabling overflowed water to flow into the cleaning area 2 of the cleaning device. When the water tank is filled with water, if the float valve is abnormal, water in the water tank overflows from the water inlet of the water tank, and the overflowed water flows into the washing zone 2 of the cleaning equipment through the overflow port. The second water level detecting part is arranged in the cleaning area 2 of the cleaning equipment, water level information in the cleaning area 2 can be detected through the second water level detecting part, when the second water level detecting part detects that water exists in the cleaning area 2 or the water level in the cleaning area 2 reaches a third preset value, water overflowed in the water tank flows into the cleaning area 2 of the cleaning equipment through the overflow port, so that abnormal water injection of the water tank can be determined according to the abnormal water injection, and water injection abnormal prompting operation is executed.
Wherein, the second water level detecting member may be at least one of: detection electrodes, TOF sensors, capacitive sensors, ultrasonic sensors, etc., by means of which at least one of the above mentioned sensors can detect whether the water level in the washing zone reaches a third preset value.
In some embodiments, referring to fig. 1, the cleaning apparatus overflow prevention method according to the present invention further includes:
and step S70, if the first water level detection piece judges that the float valve closes the water inlet, the electromagnetic valve is closed to finish the water injection operation.
In this embodiment, when the first water level detecting element detects that the float valve is closed, the water tank is filled with water, and at this time, the electromagnetic valve can be controlled to be closed to end the water injection operation, and at the same time, the external water source can be blocked from flowing into the waterway, so that the waterway is prevented from bearing water pressure for a long time.
In some embodiments, referring to fig. 5, the cleaning apparatus overflow prevention method according to the present invention further includes:
step S80, detecting whether the electromagnetic valve operates normally;
step S90, if the electromagnetic valve is abnormally operated, the electromagnetic valve is controlled to be closed; and/or performing a water injection abnormality prompting operation.
In this embodiment, after the electromagnetic valve is opened, whether the electromagnetic valve is normally operated is detected, and if the electromagnetic valve is normally operated, the electromagnetic valve is controlled to keep an open state, so that an external water source is continuously injected into the water tank through the waterway and the water inlet. If the electromagnetic valve is abnormally operated, the electromagnetic valve can be controlled to be closed so as to finish the water injection operation. Optionally, if the electromagnetic valve is not operating normally, a water injection abnormality prompting operation may be performed to prompt the user to process the abnormal situation. When abnormal operation of the electromagnetic valve is detected, the electromagnetic valve can be controlled to be closed, water injection abnormality prompting operation can be executed, and the electromagnetic valve can be controlled to be closed and water injection abnormality prompting operation can be executed at the same time, so that overflow condition can be avoided more reliably.
In some embodiments, referring to fig. 6, step S80 of the present invention includes:
step S81, obtaining an actual current value of the electromagnetic valve in an operating state;
and S82, judging whether the electromagnetic valve is operated normally or not according to the comparison result of the actual current value and the standard current value in the normal operation state of the electromagnetic valve.
In this embodiment, by comparing the actual current value in the actual operating state of the solenoid valve with the standard current value in the normal operating state of the solenoid valve, it is determined whether the solenoid valve is operating normally. If the actual current value is consistent with the standard current value or the difference value between the actual current value and the standard current value is within the allowable error range, the electromagnetic valve is in a normal running state, otherwise, the electromagnetic valve is in an abnormal running state, and under the condition, the electromagnetic valve is controlled to be closed and/or water injection abnormality prompting operation is executed so as to finish water injection operation. Optionally, if the electromagnetic valve is not operating normally, a water injection abnormality prompting operation may be performed to prompt the user to process the abnormal situation. When abnormal operation of the electromagnetic valve is detected, the electromagnetic valve can be controlled to be closed, water injection abnormality prompting operation can be executed, and the electromagnetic valve can be controlled to be closed and water injection abnormality prompting operation can be executed at the same time, so that overflow situation can be avoided more reliably.
In a specific implementation, the cleaning device may include a processor, or may include a controller for controlling the electromagnetic valve in addition to the processor, where the processor or the controller may be connected to the electromagnetic valve through a connection line, and the processor or the controller may control the electromagnetic valve through the connection line, so as to control the operation of the electromagnetic valve, and the processor or the controller may also obtain an actual current value of the electromagnetic valve in an operation state.
In some embodiments, referring to fig. 7, step S80 of the present invention includes:
step S83, obtaining an actual water pressure value in a waterway under the running state of the electromagnetic valve;
and S84, judging whether the electromagnetic valve is normally operated according to the comparison result of the actual water pressure value and the standard water pressure value in the normal operation state of the electromagnetic valve.
In this embodiment, by comparing the actual water pressure value in the actual operating state of the solenoid valve with the standard water pressure value in the normal operating state of the solenoid valve, it is determined whether the solenoid valve is operating normally. If the actual water pressure value is consistent with the standard water pressure value or the difference value between the actual water pressure value and the standard water pressure value is within the allowable error range, the electromagnetic valve is in a normal running state, otherwise, the electromagnetic valve is in an abnormal running state, and under the condition, the electromagnetic valve is controlled to be closed and/or water injection abnormality prompting operation is executed so as to finish water injection operation.
In specific implementation, a water pressure sensor can be arranged at the water outlet end of the waterway, the water pressure value of the water outlet end of the electromagnetic valve can be detected through the water pressure sensor, whether the difference value between the actual water pressure value and the standard water pressure value is within an allowable error range is judged, whether the water outlet end normally outputs water is judged, and whether the electromagnetic valve normally operates is further judged.
In some embodiments, referring to fig. 8, step S80 of the present invention includes:
step S85, obtaining the actual water flow in the waterway under the actual running state of the electromagnetic valve;
and S86, judging whether the electromagnetic valve is in normal operation or not according to the comparison result of the actual water flow and the standard water flow in the normal operation state of the electromagnetic valve.
In this embodiment, whether the electromagnetic valve operates normally is determined by comparing the actual water flow in the actual operating state of the electromagnetic valve with the standard water flow in the normal operating state of the electromagnetic valve. If the actual water flow is consistent with the standard water flow or the difference value between the actual water flow and the standard water flow is within the allowable error range, the electromagnetic valve is in a normal running state, otherwise, the electromagnetic valve is in an abnormal running state, and under the condition, the electromagnetic valve is controlled to be closed and/or water injection abnormality prompting operation is executed so as to finish the water injection operation.
In the specific implementation, a flow sensor can be arranged in the waterway system, the actual water flow is detected through the flow sensor, and then whether the comparison result of the actual water flow and the standard water flow in the normal running state of the electromagnetic valve meets the normal standard is judged.
In some embodiments, referring to fig. 9, step S80 of the present invention includes:
step S87, detecting state information of whether water flows or not in the actual running state of the electromagnetic valve through an eddy current sensor;
step S88, judging whether the electromagnetic valve operates normally according to the state information of whether water flows or not.
In the implementation, an eddy current sensor can be arranged in the waterway system, whether water flows exist at the water outlet end of the electromagnetic valve can be detected through the eddy current sensor, and if yes, the electromagnetic valve can be judged to normally operate.
In some embodiments, referring to fig. 10, the cleaning apparatus overflow prevention method according to the present invention further includes:
step S100, determining the output water quantity which is already output by a water tank of the cleaning device;
step S200, adjusting water flow and/or water injection duration for injecting water into the water tank according to the output water quantity and the actual water flow.
In this embodiment, a flow sensor may be disposed on a waterway of the cleaning device, and the flow sensor may be, for example, a flowmeter, and the actual water flow in the waterway may be detected in real time by the flowmeter, and the obtained actual water flow may be used to determine whether the electromagnetic valve is operating normally, specifically referring to the above step S85 and step S86. Furthermore, the water flow and/or the water filling time length for filling water into the water tank can be adjusted according to the actual water flow and the output water quantity. Therefore, by arranging the flow sensor, the function multiplexing can be performed, the accurate control of water injection to the water tank can be realized, and the abnormality detection function of the electromagnetic valve can be realized.
The invention further proposes a cleaning device, see fig. 11, comprising a processor, a memory, a network interface and a database connected via a system bus. Wherein the computer is configured to provide computing and control capabilities. The memory of the cleaning device includes a non-volatile storage medium, an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of cleaning devices is used for an overflow prevention program of the cleaning devices. The network interface of the cleaning device is used for communicating with an external terminal through a network connection. The input device of the cleaning device is used for receiving signals input by external equipment. The computer program is executed by the processor to implement the cleaning device overflow prevention method described in the foregoing embodiments.
Optionally, the cleaning device may also include RF (Radio Frequency) circuitry, sensors, audio circuitry, wiFi modules, and the like. Alternatively, the sensors may include light sensors, motion sensors, infrared sensors, and other sensors, which are not described in detail herein.
It will be appreciated by those skilled in the art that the particular arrangement shown in fig. 11 is not limiting of the cleaning apparatus and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components.
In the cleaning device shown in fig. 11, the network interface is mainly used for connecting an external device, and performing data communication with the external device; the processor may be configured to invoke a cleaning device overflow prevention program stored in the memory and perform the following operations:
after receiving a water injection signal, controlling the electromagnetic valve to be opened so that an external water source flows into the water tank through the waterway and the water inlet;
detecting whether the float valve closes the water inlet or not through the first water level detection part;
if not, closing the electromagnetic valve to finish the water injection operation; and/or performing a water injection abnormality prompting operation.
The present invention further provides a cleaning apparatus, please refer to fig. 3, comprising:
the water tank is used for storing water;
the water inlet is closed when the water level in the water tank reaches a first preset value, and the first water level detection part is used for triggering an overflow signal when the water level in the water tank reaches a second preset value which is larger than the first preset value;
the water tank is arranged in the installation cavity 1, and the bottom wall of the installation cavity 1 is provided with an overflow hole 3;
the cleaning area 2 is positioned below the mounting cavity 1, and the overflow holes 3 are used for enabling overflowed water to flow into the cleaning area 2;
the water channel is respectively communicated with a water inlet of the water tank and an external water source, and is provided with an electromagnetic valve for controlling the on-off of the water channel;
the control system comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to realize the anti-overflow method of the cleaning equipment.
The present invention further proposes a computer-readable storage medium storing a computer program which, when executed by a processor, implements the cleaning apparatus overflow prevention method described in the foregoing embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in embodiments may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The above description and drawings should not be taken as limiting the scope of the invention in any way, but rather should be understood to cover all modifications, structural equivalents, or direct/indirect applications of the invention in the light of the general principles of the present invention which may be employed in the present invention and illustrated by the accompanying drawings.