Background
Along with the development of economy, corresponding electronic information machine rooms are more and more constructed, the internal electronic equipment of the electronic information machine rooms is required to keep the constant temperature and humidity of the environment, and air conditioning equipment is required to be configured with a humidifier correspondingly.
When humidifier engineering installation is used for the first time or changes new humidification staving, because certain lubricating grease or other chemical substance of inevitable existence in water supply pipe or the humidification bucket production and processing process, mix the back with water, produce the foam in the humidification barrel easily, lead to the humidification volume to descend, the foam blows out along with steam, produces the water leakage phenomenon of blowing out, influences the normal use of unit. However, the existing humidifier lacks a function of automatically detecting whether foam exists in the humidifying cylinder.
Disclosure of Invention
The embodiment of the invention provides a humidifier, a foam detection method of the humidifier, an air conditioner and a storage medium, and aims to solve the technical problem that the existing humidifier is lack of a function of automatically detecting whether foam exists in a humidifying cylinder. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
According to the embodiment of the invention, when the water level sensor detects that the water level in the humidifying cylinder body rises to the preset height, whether foam exists in the cylinder body is judged according to the relation between the water inlet time and the preset water inlet time when the water level in the cylinder body rises to the preset height from the beginning of water inlet of the cylinder body in an empty cylinder state, and the function of automatically detecting whether the foam exists in the humidifying cylinder body of the humidifier can be realized.
According to a first aspect of embodiments of the present invention, there is provided a humidifier including a cylinder, a water level sensor provided on the cylinder, and a controller, wherein:
the water level sensor is used for detecting whether the water level in the cylinder body rises to a preset height or not;
the controller is used for:
when the water level sensor detects that the water level in the barrel body rises to a preset height, acquiring water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the preset height;
and judging whether foam exists in the cylinder body according to the relation between the water inlet time and the preset water inlet time.
In some optional technical solutions, the humidifier further includes a heating electrode and a current transformer, wherein:
the heating electrode is used for heating by taking water in the cylinder as a conductive medium;
the current transformer is used for detecting the current of the heating electrode;
the controller is further configured to:
when the water inlet time is shorter than the preset water inlet time, acquiring the current of the heating electrode detected by the current transformer;
and judging whether foam exists in the cylinder body according to the relation between the current and the preset current.
In some optional technical solutions, the water level sensor includes a first water level sensor provided at a first height position of the drum and a second water level sensor provided at a second height position of the drum, wherein:
the first water level sensor is used for detecting whether the water level in the cylinder body rises to a first height position;
the second water level sensor is used for detecting whether the water level in the cylinder body rises to a second height position;
the height of the first height position is less than the height of the second height position;
the controller is further configured to:
when the first water level sensor detects that the water level in the barrel body rises to a first height position, acquiring first water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the first height position;
when the second water level sensor detects that the water level in the barrel body rises to a second height position, acquiring second water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the second height position;
when the first water inlet time is shorter than the preset first water inlet time and the second water inlet time is shorter than the preset second water inlet time, acquiring a first water inlet time difference between the first water inlet time and the preset first water inlet time and a second water inlet time difference between the second water inlet time and the preset second water inlet time;
and judging whether foam exists in the cylinder body according to the relation between the first water inlet time difference and the second water inlet time difference.
In some optional technical solutions, the humidifier further includes a water inlet solenoid valve disposed on the water inlet pipeline of the barrel and a water outlet solenoid valve disposed on the water outlet pipeline of the barrel, wherein:
the water inlet electromagnetic valve is used for controlling water inlet of the cylinder body;
the water outlet electromagnetic valve is used for controlling water outlet of the cylinder;
the controller is further configured to:
when foam exists in the cylinder, the water inlet electromagnetic valve and the water outlet electromagnetic valve are controlled to be opened for flushing so as to carry out foam removing operation.
According to a second aspect of embodiments of the present invention, there is provided an air conditioner including the humidifier provided by the first aspect of embodiments of the present invention.
According to a third aspect of the embodiments of the present invention, there is provided a foam detection method of a humidifier, the humidifier including a cylinder, a water level sensor provided on the cylinder, and a controller, wherein:
the water level sensor is used for detecting whether the water level in the cylinder body rises to a preset height or not;
the foam detection method comprises the following steps:
when the water level sensor detects that the water level in the barrel body rises to a preset height, acquiring water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the preset height;
and judging whether foam exists in the cylinder body according to the relation between the water inlet time and the preset water inlet time.
In some optional technical solutions, the humidifier further includes a heating electrode and a current transformer, wherein:
the heating electrode is used for heating by taking water in the cylinder as a conductive medium;
the current transformer is used for detecting the current of the heating electrode;
the foam detection method further comprises the following steps:
when the water inlet time is shorter than the preset water inlet time, acquiring the current of the heating electrode detected by the current transformer;
and judging whether foam exists in the cylinder body according to the relation between the current and the preset current.
In some optional technical solutions, the water level sensor includes a first water level sensor provided at a first height position of the drum and a second water level sensor provided at a second height position of the drum, wherein:
the first water level sensor is used for detecting whether the water level in the cylinder body rises to a first height position;
the second water level sensor is used for detecting whether the water level in the cylinder body rises to a second height position;
the height of the first height position is less than the height of the second height position;
the foam detection method further comprises the following steps:
when the first water level sensor detects that the water level in the barrel body rises to a first height position, acquiring first water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the first height position;
when the second water level sensor detects that the water level in the barrel body rises to a second height position, acquiring second water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the second height position;
when the first water inlet time is shorter than the preset first water inlet time and the second water inlet time is shorter than the preset second water inlet time, acquiring a first water inlet time difference between the first water inlet time and the preset first water inlet time and a second water inlet time difference between the second water inlet time and the preset second water inlet time;
and judging whether foam exists in the cylinder body according to the relation between the first water inlet time difference and the second water inlet time difference.
In some optional technical solutions, the humidifier further includes a water inlet solenoid valve disposed on the water inlet pipeline of the barrel and a water outlet solenoid valve disposed on the water outlet pipeline of the barrel, wherein:
the water inlet electromagnetic valve is used for controlling water inlet of the cylinder body;
the water outlet electromagnetic valve is used for controlling water outlet of the cylinder;
the foam detection method further comprises the following steps:
when foam exists in the cylinder, the water inlet electromagnetic valve and the water outlet electromagnetic valve are controlled to be opened for flushing so as to carry out foam removing operation.
According to a fourth aspect of embodiments of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the method of detecting foam of a humidifier as described above according to the third aspect of embodiments of the present invention.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
when the water level sensor detects that the water level in the humidifying cylinder body rises to the preset height, whether foam exists in the cylinder body is judged according to the relation between the water inlet time when the water level in the cylinder body starts to enter the water from the cylinder body in an empty cylinder state and the preset water inlet time, and the function of whether foam exists in the automatic detection humidifying cylinder body of the humidifier can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them. The embodiments are merely representative of possible variations, individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of embodiments of the invention encompasses the full ambit of the claims, as well as all available equivalents of the claims. Embodiments may be referred to herein, individually or collectively, by the term "invention" merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without requiring or implying any actual such relationship or order between such entities or actions.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly. In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
In the description of the present invention, it should be noted that unless otherwise explicitly stated or limited, the terms "mounted" and "connected" are to be interpreted broadly, e.g., as a fixed connection, a detachable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Fig. 1-2 are schematic structural views of a humidifier shown according to an exemplary embodiment; 3-5 are flow diagrams illustrating a method of bubble detection of a humidifier according to an exemplary embodiment; fig. 6-7 are flow diagrams illustrating a method of foam removal for a humidifier according to an exemplary embodiment.
In some alternative embodiments, as shown in fig. 1, there is provided a humidifier comprising a cartridge 1, a water level sensor 2 disposed on the cartridge 1, and a controller, wherein:
the water level sensor 2 is used for detecting whether the water level in the barrel 1 rises to a preset height;
the controller is used for: when the water level sensor 2 detects that the water level in the barrel body 1 rises to a preset height, acquiring water inlet time from the beginning of water inlet of the barrel body 1 in an empty barrel state to the time when the water level in the barrel body 1 rises to the preset height; and judging whether foam exists in the cylinder body 1 according to the relation between the water inlet time and the preset water inlet time.
Alternatively, the preset height may be the height of the position at the highest water level inside the drum 1. The water level sensor 2 may be disposed at a highest water level position in the cylinder 1, and when the water level sensor 2 detects that the water level in the cylinder 1 rises to the highest water level position, the judgment result information that the water level in the cylinder 1 rises to a preset height is transmitted to the controller. The timer in the controller starts timing from the beginning of water filling to the barrel body 1 in an empty barrel state, the timer stops timing after the controller receives judgment result information sent by the water level sensor 2, and the timing time of the timer is water inlet time. Here, the preset water inlet time is pre-stored in the controller, and is the water inlet time from the beginning of water inlet from the empty barrel 1 to the rising of the water level in the barrel 1 to the preset height when no foam is present in the barrel 1.
When foam exists in the cylinder body 1, the foam is conductive and floats on the water surface, and the foam can trigger the water level sensor 2 before the water surface, so that the water inlet time is shortened relative to the water inlet time when no foam exists in the cylinder body 1. Therefore, whether foam exists in the cylinder 1 can be judged according to the relation between the water inlet time and the preset water inlet time.
When t1< t0, determining that foam exists in the cylinder 1; when t1 ≧ t0, it is determined that no foam is present in the cylinder 1.
Here, t1 is the water inlet time, and t0 is the preset water inlet time.
Thus, when the water level sensor 2 detects that the water level in the humidification cylinder 1 rises to the preset height, whether foam exists in the cylinder 1 is judged according to the relation between the water inlet time and the preset water inlet time, and the function of automatically detecting whether foam exists in the humidification cylinder 1 of the humidifier can be realized.
In some alternative embodiments, as shown in fig. 1, the humidifier further comprises a heating electrode 3 and a current transformer 4, wherein:
the heating electrode 3 is used for heating by taking water in the cylinder 1 as a conductive medium;
the current transformer 4 is used for detecting the current of the heating electrode 3;
the controller is further configured to: when the water inlet time is shorter than the preset water inlet time, the current of the heating electrode 3 detected by the current transformer 4 is obtained; and judging whether foam exists in the cylinder 1 according to the relation between the current and the preset current.
Here, the preset current is pre-stored in the controller, and is the current between the two heating electrodes 3 when there is no foam in the cylinder 1. The humidifier is an electrode type humidifier. Two heating electrodes 3 are provided in the cylindrical body 1, and after energization, heat is generated between the electrodes by using water in the cylindrical body 1 as a conductive medium, and the temperature is raised to a boiling state for humidification. When foam exists in the cylinder 1, gas exists in the foam, so that the effective contact area between water and electrodes is reduced, and the conductive current between the two heating electrodes 3 is reduced. Therefore, whether the foam exists in the cylinder 1 can be judged according to the relation between the current and the preset current.
When I1< I0, determining that foam exists in the cylinder 1; when I1 ≧ I0, it is determined that no foam is present in the cylinder 1.
Here, I1 is the current magnitude, and I0 is the preset current magnitude.
Therefore, on the basis of taking the water inlet time as a judgment condition for judging whether foam exists in the cylinder body 1, the current is further taken as a judgment condition for judging whether foam exists in the cylinder body 1, so that the foam in the cylinder body 1 can be accurately detected, and the accuracy of foam detection is improved.
In some alternative embodiments, as shown in fig. 2, the water level sensor 2 includes a first water level sensor 21 provided at a first height position of the drum 1 and a second water level sensor 22 provided at a second height position of the drum 1, wherein:
the first water level sensor 21 is used for detecting whether the water level in the cylinder 1 rises to a first height position;
the second water level sensor 22 is used for detecting whether the water level in the drum 1 rises to a second height position;
the height of the first height position is less than the height of the second height position;
the controller is further configured to: when the first water level sensor 21 detects that the water level in the barrel body 1 rises to the first height position, acquiring first water inlet time from the beginning of water inlet of the barrel body 1 in an empty barrel state to the time when the water level in the barrel body 1 rises to the first height position; when the second water level sensor 22 detects that the water level in the drum body 1 rises to the second height position, acquiring second water inlet time from the beginning of water inlet of the drum body 1 in an empty drum state to the time when the water level in the drum body 1 rises to the second height position; when the first water inlet time is shorter than the preset first water inlet time and the second water inlet time is shorter than the preset second water inlet time, acquiring a first water inlet time difference between the first water inlet time and the preset first water inlet time and a second water inlet time difference between the second water inlet time and the preset second water inlet time; and judging whether foam exists in the cylinder body 1 according to the relation between the first water inlet time difference and the second water inlet time difference.
Here, the preset first water inlet time is pre-stored in the controller and is the water inlet time from the beginning of water inlet of the barrel 1 in an empty barrel state to the rising of the water level in the barrel 1 to a first height position when no foam exists in the barrel 1; the preset second water inlet time is pre-stored in the controller and is the water inlet time from the beginning of water inlet of the barrel body 1 in an empty barrel state to the rising of the water level in the barrel body 1 to the second height position when no foam exists in the barrel body 1.
Generally, when foam exists in the cylinder 1, the foam gradually increases along with the increase of water inflow in the cylinder 1, so that the first water inflow time difference is smaller than the second water inflow time difference. Therefore, it is possible to determine whether or not foam is present in the cylinder 1 based on the relationship between the first water inflow time difference and the second water inflow time difference.
When Δ t1< Δ t2, it is determined that foam is present in the cylinder 1; when Δ t1 ≧ Δ t2, it is determined that no foam is present in the cylinder 1.
Here, Δ t1 is the first water intake time difference, and Δ t2 is the second water intake time difference.
Like this, on the basis of the judgement condition whether having the foam with the time of intaking as the judgement in judging barrel 1, according to the nature that the foam produced, with the time difference of intaking as the judgement condition whether having the foam in further judging barrel 1, can realize the accurate detection of foam in the barrel 1, improve the accuracy that the foam detected.
In some optional embodiments, the water inlet time, the current magnitude, and the water inlet time difference may be used as the determination conditions for determining whether the foam exists in the cylinder 1, so as to further improve the accuracy of the foam detection of the humidifier.
In some optional embodiments, as shown in fig. 1-2, the humidifier further comprises a water inlet solenoid valve 51 disposed on the water inlet line 5 of the cartridge 1 and a water outlet solenoid valve 61 disposed on the water outlet line 6 of the cartridge 1, wherein:
the water inlet electromagnetic valve 51 is used for controlling the water inlet of the cylinder 1;
the water outlet electromagnetic valve 61 is used for controlling the water outlet of the cylinder 1;
the controller is further configured to: when foam exists in the cylinder 1, the water inlet electromagnetic valve 51 and the water outlet electromagnetic valve 61 are controlled to be opened for flushing so as to perform foam removing operation.
Like this, when there is the foam in the barrel 1 of humidifier, automatic control water inlet solenoid valve 51 and play water solenoid valve 61 open and wash by water to realize the function of automatic clear foam, it is more intelligent convenient.
In some alternative embodiments, as shown in fig. 1-2, there is provided a humidifier comprising a cartridge 1, a water inlet solenoid valve 51 disposed on a water inlet line 5 of the cartridge 1, a water outlet solenoid valve 61 disposed on a water outlet line 6 of the cartridge 1, and a controller, wherein:
the water inlet electromagnetic valve 51 is used for controlling the water inlet of the cylinder 1;
the water outlet electromagnetic valve 61 is used for controlling the water outlet of the cylinder 1;
the controller is used for: detecting whether foam exists in the cylinder body 1; when foam exists in the cylinder 1, the water inlet electromagnetic valve 51 and the water outlet electromagnetic valve 61 are controlled to be opened for flushing so as to perform foam removing operation.
Here, the controller controls the opening of the water inlet solenoid valve 51, and the timer in the controller may set a time point at which the opening of the water inlet solenoid valve 51 is controlled as a timing point at which the water injection into the empty tub state cartridge 1 is started.
Like this, because the lubricating grease or other chemical substances that easily produce the foam in the barrel 1 are usually laminated in barrel 1 internal surface, when there is the foam in the barrel 1 of humidifier, automatic control water inlet solenoid valve 51 and water outlet solenoid valve 61 open and wash by water, help the interior flowing water of barrel 1 to clear away the foam in the barrel 1 and some chemical substances that produce the foam totally, need not the manual work and carry out the foam of humidification barrel 1 and clear away the operation, and intelligence is convenient.
In some alternative embodiments, as shown in fig. 2, the humidifier further comprises a cleaning agent cylinder 72 connected to the water inlet line 5 through the cleaning agent line 7, and a cleaning agent control solenoid valve 71 disposed on the cleaning agent line 7, wherein:
the cleaning agent cylinder 72 is used for containing cleaning agent;
the cleaning agent control solenoid valve 71 is used for controlling the cleaning agent in the cleaning agent cylinder 72 to enter the water inlet pipeline 5;
the controller is further configured to: before the foam removing operation is performed, the detergent control solenoid valve 71 is controlled to be opened for a first set time.
Here, the cleaning agent may be a solvent that is similarly compatible with lubricating grease or other foam-generating chemicals. Therefore, before the foam removing operation is carried out, the cleaning agent control electromagnetic valve 71 is controlled to be opened for the first set time, and the cleaning agent is injected into the cylinder body 1, so that the cleaning agent and the chemical substances generating the foam fully act, and the foam in the cylinder body 1 is completely removed.
In some specific implementations, the first set time is positively correlated to the preset water inlet time and the water inlet time difference of the water inlet time. The larger the difference between the water inlet time and the water inlet time is, the more foam in the cylinder body 1 is indicated, the more detergent is injected into the cylinder body 1, the full and quick action of the detergent and chemical substances generating the foam is facilitated, the foam removal rate in the cylinder body 1 is improved, meanwhile, the amount of the corresponding detergent is determined according to the amount of the foam in the cylinder body 1, the waste of the detergent can be reduced, and the foam removal cost is reduced.
In some alternative embodiments, as shown in fig. 2, the humidifier further includes a cleaning rod 73 disposed in the barrel 1, and a driving motor 74 for driving the cleaning rod 73 to rotate;
the controller is further configured to: the driving motor 74 is controlled to be turned on for a first set time to drive the washing rod 73 to rotate.
Thus, the mixed solution containing the cleaning agent in the cylinder 1 is sufficiently stirred, and the oil stain cleaning speed and the cleaning degree in the cylinder 1 can be accelerated.
In some specific implementation manners, a brush is arranged on the cleaning rod 73, and the brush is attached to the inner wall of the cylinder 1. Thus, along with the rotation of the cleaning rod 73, the brush can separate the oil stain on the inner wall of the barrel 1 from the inner wall of the barrel 1, and further cleaning effect is achieved on the inner wall of the barrel 1.
In some alternative embodiments, as shown in fig. 2, the humidifier further comprises a biocide cartridge 82 connected to the water inlet line 5 through the biocide line 8, and a biocide control solenoid valve 81 disposed on the biocide line 8, wherein:
the bactericide barrel 82 is used for containing bactericide;
the bactericide control electromagnetic valve 81 is used for controlling the bactericide in the bactericide barrel 82 to enter the water inlet pipeline 5;
the controller is further configured to: after the foam removal operation is performed, the biocide control solenoid valve 81 is controlled to open for a second set time.
Thus, after the foam removing operation is performed, the bactericide control electromagnetic valve 81 is controlled to be opened for a second set time, and the bactericide is injected into the cylinder 1, so that the sterilizing effect can be achieved.
In some specific implementation manners, the port of the water inlet pipeline 5 of the barrel body 1 is provided with the spraying device and the pressurizing device, so that the solution mixed with the bactericide can be uniformly sprayed into the barrel body 1, and the sterilizing effect is effectively achieved.
As shown in fig. 3, the present invention further provides a foam detection method applied to the humidifiers shown in the above embodiments. Specifically, the foam detection method mainly comprises the following steps:
s301: when the water level sensor detects that the water level in the barrel body rises to a preset height, acquiring water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the preset height;
s302: and judging whether foam exists in the cylinder body according to the relation between the water inlet time and the preset water inlet time.
As shown in fig. 4, the present invention further provides another foam detection method applied to the humidifiers shown in the above embodiments. Specifically, the foam detection method mainly comprises the following steps:
s401: when the first water level sensor detects that the water level in the barrel body rises to a first height position, acquiring first water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the first height position;
s402: when the second water level sensor detects that the water level in the barrel body rises to a second height position, acquiring second water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the second height position;
s403: when the first water inlet time is shorter than the preset first water inlet time and the second water inlet time is shorter than the preset second water inlet time, acquiring a first water inlet time difference between the first water inlet time and the preset first water inlet time and a second water inlet time difference between the second water inlet time and the preset second water inlet time;
s404: and judging whether foam exists in the cylinder body according to the relation between the first water inlet time difference and the second water inlet time difference.
As shown in fig. 5, the present invention further provides another foam detection method applied to the humidifiers shown in the above embodiments. Specifically, the foam detection method mainly comprises the following steps:
s501: when the water level sensor detects that the water level in the barrel body rises to a preset height, acquiring water inlet time from the beginning of water inlet of the barrel body in an empty barrel state to the time when the water level in the barrel body rises to the preset height;
s502: when the water inlet time is shorter than the preset water inlet time, acquiring the current of the heating electrode detected by the current transformer;
s503: judging whether foam exists in the cylinder body according to the relation between the current and the preset current;
s504: when foam exists in the cylinder, the water inlet electromagnetic valve and the water outlet electromagnetic valve are controlled to be opened for flushing so as to carry out foam removing operation.
As shown in fig. 6, the present invention further provides a foam removing method applied to the humidifiers shown in the above embodiments. Specifically, the foam removing method mainly comprises the following steps:
s601: detecting whether foam exists in the cylinder body;
s602: when foam exists in the cylinder, the water inlet electromagnetic valve and the water outlet electromagnetic valve are controlled to be opened for flushing so as to carry out foam removing operation.
As shown in fig. 7, the present invention further provides another foam removing method applied to the humidifiers shown in the above embodiments. Specifically, the foam removing method mainly comprises the following steps:
s701: detecting whether foam exists in the cylinder body;
s702: when foam exists in the cylinder, controlling the cleaning agent to control the electromagnetic valve to open for a first set time, and controlling the driving motor to open for the first set time so as to drive the cleaning rod to rotate;
s703: controlling the water inlet electromagnetic valve and the water outlet electromagnetic valve to be opened for flushing so as to carry out foam removing operation;
s704: and after the foam removing operation is carried out, controlling the bactericide control electromagnetic valve to be opened for a second set time.
In some optional embodiments, after the bubble removing operation of the humidifier is completed, the bubble detecting operation of the humidifier is performed again, if no bubble exists in the cylinder, the humidifying operation of the humidifier is performed, and if the bubble exists in the cylinder, the bubble removing operation of the humidifier is performed again. Therefore, the humidifier can ensure that no foam exists in the cylinder body of the humidifier to the maximum extent, and the normal work of the humidifier can not be influenced.
In some optional embodiments, after the humidifying operation of the humidifier is finished, the water inlet solenoid valve is controlled to be closed, and the water outlet solenoid valve is controlled to be closed after a third set time. The third set time is determined according to the water volume in the cylinder and the water outlet rate of the water outlet pipeline. For example, the third setting time is calculated according to the following formula:
t3=W/P+Δt3
wherein t3 is the third setting time, W is the water volume in the cylinder, P is the water outlet rate of the water outlet pipeline, and Δ t3 is the error time.
Therefore, after the humidifier stops working, water in the barrel can be completely discharged, and bacteria in the barrel are prevented from breeding.
In some alternative embodiments, there is provided an air conditioner comprising a humidifier as described above.
It can be understood that corresponding humidifier installation space is reserved in the air conditioner, and components such as the steam conveying rod and the steam spray rod are configured to convey steam to the air outlet side of the air conditioner to play a humidifying role.
In some exemplary embodiments, a non-transitory computer readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor to perform the method described above is also provided. The non-transitory computer readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic tape, an optical storage device, and the like.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, it should be understood that the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
It should be understood that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. The present invention is not limited to the procedures and structures that have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.