A kind of raw water control system and its control method based on Drinking fountain
Technical field
The present invention relates to Drinking fountain, more particularly to a kind of raw water control system and its control method based on Drinking fountain.
Background technology
Drinking fountain is a kind of with being direct drinking water function by municipal tap water purified treatment, and or while have will
The utensil that water after purified treatment is heated, freezed and be distributed by the method for consuming electric energy.
Notification number is a kind of water saving water purifier disclosed in CN104310613B, and which is mainly by being connected by pipeline
Filter element, reverse osmosis membrane filter element, also including data acquisition and intelligent analysis system, raw water pipeline is provided with raw water TDS detection sensing
Device, is connected with storage tank on the water pipeline of reverse osmosis membrane filter element, storage tank or water pipeline are provided with cooling-water temperature sensor and pure
Water TDS detection sensors;The waste line of reverse osmosiss filter element is connected with the waste water proportioner of scalable discharge of wastewater flow.By right
Raw water quality, pure water water quality and pure water water temperature are carried out testing, are analyzed, and then draw the optimum state of water saving and water purification again, are used
Regulation waste water proportioner of the family according to data display voluntarily, so that drinking water quality reaches most preferably.
Notification number is the household water filter of the automatic cleaning filter membranes disclosed in CN105198111B and method, and which is mainly by entering
Penstock, ultrafilter membrane, TDS sensors, high-pressure pump, reverse osmosis membrane, proportioning valve, post active carbon, the 2nd TDS sensors,
Pressure vessel, ultrafilter membrane late gate, reverse osmosis membrane late gate, check-valves before tank, flowing water Valve, by-pass valve, flushing valve, the
One to three wastes penstock, detects the detection part of the transmembrane pressure of ultrafilter membrane, and the control for controlling the household water filter work
Device.Control device controls household water filter in cleaning model or controlling the water circulation mould according to the ratio of transmembrane pressure and threshold pressure differential
Formula.When transmembrane pressure is more than threshold pressure differential, control device causes the automatic cleaning filter membranes of household water filter.
Drinking fountain is needed municipal tap water purified treatment into the drinking water that directly can be drunk due to itself, in controlling the water circulation
During, in order to avoid the waste of water resource, then the waste water through filter element filtering can be re-transmitted in raw water box, and it is external
Tap water mixing, carry out controlling the water circulation again, so for the control of the water quality of raw water has very high requirement, if the water quality of raw water surpasses
Go out certain index, then cannot prepare the drinking water that directly can be drunk, and two kinds of above-mentioned purifiers are respectively provided with and pass through
The method detected to water quality by TDS sensors, but as its detection method is excessively simple, simply the water quality of raw water is carried out
Directly carry out judging whether properly after detection, and the process without any analysis, cause whole detection not accurate enough, easily occur missing
The situation of judgement, so the Drinking fountain for being used at present has certain room for improvement.
The content of the invention
The first object of the present invention is to provide a kind of raw water control system based on Drinking fountain, and the water quality of raw water can be entered
The analysis that row more rationalizes.
The present invention above-mentioned technical purpose technical scheme is that:
A kind of raw water control system based on Drinking fountain, including carrying out discontinuity detection several times and will be detected to raw water quality
To the TDS detection modules that exported successively of water quality data S1, also including being coupled to TDS detection modules to receive water quality data
S1 and TDS detection modules are controlled control module, be coupled to control module to receive the water quality exported by control module
Data S1 and water quality data S1 is stored registration module, be preset with memorized reference value V and be coupled to control module to connect
Receive called water quality data S1 and the water quality data S1 for being called is compared to each other and exports comparison signal with memorized reference value V
To control module comparison module and be coupled to control module and according to comparison signal with realize report to the police alarm module;
The control module is called to any one water quality data S1 in registration module and by water quality data S1 and note
Recall reference value V to be compared, if water quality data S1 is more than P times of memorized reference value V, control module control TDS detection modules
The detection of M demi continuities is carried out to obtain water quality data S2 and store to registration module, the control module is in registration module
Water quality data S2 is called and is compared M water quality data S2 successively with memorized reference value V, if water quality data S2 is equal
More than P times of memorized reference value V, then the control module control alarm module starts to enter alarm mode;Conversely, enter treating
Mould-fixed.
Using such scheme, TDS detection modules are constantly detected to raw water quality, if water quality data S1 occur being more than
When P times of memorized reference value V, i.e. the relation of TDS values and tap water in the case of more than 1200mg/L, under the state
Water quality be not suitable for directly drinking after filter element again, can be direct but pass judgment on only according to one-time detection result
Drink, error detection easily occur, so after M time discontinuity detection, joining once water quality data S1 occur and being more than memory
Examine value V P times, then carry out successional detection by TDS detection modules to raw water quality, if there is all of water quality data
S2 is all higher than P times of memorized reference value V, then illustrate that water quality now is thoroughly not suitable for drinking, carried out by warning masterplate
Report to the police to remind user to need to clean raw water box, reduce waste strength, if the water quality data S2 of only part is big
In P times of memorized reference value V, then enter and treat mould-fixed, by the implementing monitoring to raw water quality and analysis, to ensure to use
Person can be standard compliant by the water that Drinking fountain can be drunk, and improve the safety of user drinking-water.
Preferably, the TDS detection modules carry out continuous detecting several times to the water quality of tap water, will be detected
Water quality data Q is transmitted to control module and is stored water quality data Q to registration module, and the control module controls several water quality
Data Q are compared to each other, and it is memorized reference value V to define the maximum water quality data Q of numerical value.
Using such scheme, direct detection is carried out to the water quality of tap water, and measures repeatedly to take maximum therein
To be defined as memorized reference value V, will with adapt to each regional water quality to the direct detection of tap water by TDS detection modules
Seek situation about differing so that the use range of Drinking fountain will not be affected by regional environment, improve practicality, this process is straight
Drink machine carries out detection definition in the state of starting for the first time, ensure that in the case where not having other waste water to affect, defines
One benchmark, improves the accuracy of detection, to avoid the situation for occurring error detection in the detection process in later stage from occurring, improves detection
Reliability, allow the carrying out that follow-up detection can be orderly.
Preferably, also include the booster water pump for connecting raw water box and filter element, at interval of the work of booster water pump
Duration T1, the control module control TDS detection modules to carry out discontinuity detection to raw water quality.
Using such scheme, state of the booster water pump work i.e. in controlling the water circulation, booster water pump is by corresponding raw water box
To be filtered in the various filter elements of raw water press-in, passing through reverse osmosis membrane so that waste water and water to be separated, waste water is recirculated
Using being transferred to raw water box, and pure water is then entered in clear water tanks and is stored, so when booster water pump end-of-job, then saying
A bright controlling the water circulation terminates, and now waste water has been injected again in raw water box, therefore the water quality in raw water box occurs again
Change, needs again being detected, therefore the water quality for carrying out raw water per the operating time T1 of minor tick water pump is detected once,
To ensure when next controlling the water circulation, the raw water quality in raw water box is standard compliant, improves overall safety in utilization.
Preferably, also including being coupled to control module and being controlled by control module to control the cut-out of controlling the water circulation function keying
Module.
Using such scheme, the setting for cutting off module ensure that the cut-out of controlling the water circulation function, to realize to overall Drinking fountain
Control, once the water quality in raw water box goes wrong, and user is using any measure etc., then control module control is cut
Disconnected module starts to disconnect controlling the water circulation function, and compulsive requirement user needs to safeguard Drinking fountain or keeped in repair, it is to avoid user
The water drunk is non-compliant, and then causes the discomfort of body to user.
Preferably, when into alarm mode, if control module control alarm module discontinuity is reported to the police and is continued
Dry minute starts the controlling the water circulation function to disconnect Drinking fountain to terminate to report to the police and control to cut off module.
Such scheme is adopted, once entering alarm mode, then discontinuity warning is carried out by alarm module, i.e., by interval
The type of alarm of formula so that user can either get information because the sensation that the warning of persistence gives people can be very bored,
If user remains in that after having already known situation that persistence is reported to the police, easily allow you irascible;And rapid discontinuity is reported to the police, its
One seriousness for illustrating this thing, gives people a kind of urgency and feels, and user also has a kind of sense of urgency and needs to lose no time to process this
Individual thing;Terminate to report to the police after whole lasting some minutes of reporting to the police in addition, in the controlling the water circulation work(for starting Drinking fountain by cutting off module
Can, it is ensured that when user is stayed out or long-time does not note, the function of cut-out can be automatically performed, work(is reduced
Consumption.
Preferably, when entering whne mould-fixed, the control module control TDS detection modules carry out Y demi continuity inspections
Survey to obtain water quality data S3 and store to registration module, define Y time for 3 again for several times;The control module is to registration module
In water quality data S3 be called and some water quality data S3 be compared with P times of memorized reference value V successively;Y
2/3rds in water quality data S3 are all higher than P times of memorized reference value V, then the control module control alarm module starts
To enter alarm mode;Conversely, then entering stable mode.
Such scheme is adopted, once enter treating mould-fixed, then raw water quality is continued to detect, to complete judgement again,
There is the risk of erroneous judgement in reduction;By successional detection process to get Y water quality data S3, and Y is 3 multiple
It is secondary, by this judgement, when 2/3rds in all water quality data S3 are all higher than P times of memorized reference value V, then illustrating
Water quality now is in highly unstable situation, is not suitable for also it is not recommended that carrying out controlling the water circulation drinking, can be by cleaning raw water box
To improve the situation of raw water quality or carry out overall maintenance to Drinking fountain;Conversely, the detection before then illustrating is a kind of mistake
Detection, the water that this time controlling the water circulation is obtained can be directly to drink.
The second object of the present invention is to provide a kind of control method for improving raw water quality accuracy of detection and accuracy.
The present invention above-mentioned technical purpose technical scheme is that:
A kind of control method, including the above-mentioned raw water control system based on Drinking fountain, concrete control method is as follows:
Step one as, orientated T1 the working time of booster water pump, TDS sensors are detected simultaneously to raw water at interval of T1 durations
Water quality data is designated as S1;
Step 2, water quality data S1 is judged successively, water quality data S1 whether memorized reference values V more than or equal to P times;If
Memorized reference values V of the water quality data S1 more than or equal to P times, then perform next step;Conversely, then entering stable mode;
Step 3, definition T2 interval time, TDS sensors are detected to raw water and water quality data are designated as every T2 durations
S2;
Step 4, continuously perform step 3 M time;
Step 5, M water quality data S2 is judged, judge whether any one water quality data S2 both greater than equal to P times
Memorized reference reading V;If any one water quality data S2 is the memorized reference reading V both greater than equal to P times, into warning mould
Formula;Conversely, enter treating mould-fixed.
Using such scheme, multiple detection and analysis is passed judgment on to realize the accurate detection to water quality, to ensure user
It is conformance with standard and safety in water obtained in drinking-water, improves the safety in utilization and reliability of Drinking fountain, through first
Detection, i.e., once there is P times of water quality data S1 more than memorized reference value V, then entered the pattern for detecting again, examined by TDS
Surveying module carries out successional detection to raw water quality, is all higher than the P of memorized reference value V if there is all of water quality data S2
Times, then illustrate that water quality now is thoroughly not suitable for drinking, reported to the police right to remind user to need by warning masterplate
Raw water box is cleaned, and reduces waste strength, if the only water quality data S2 of part enters more than P times of memorized reference value V
Enter to treat mould-fixed, by the implementing monitoring to raw water quality and analysis, to ensure that user be able to can be drunk by Drinking fountain
Water is standard compliant, improves the safety of user drinking-water.
Preferably, after entering alarm mode, comprising the following steps that:
Step one, reported to the police once at interval of 1S by alarm module, reporting to the police every time continues 1S;
Step 2, continuously carry out step one 3 minutes;
Step 3, end are reported to the police;
Step 4, disconnection booster water pump.
Using such scheme, alarm module carries out discontinuity warning, i.e., by step type of alarm so that using
Person can either get information;And rapid discontinuity is reported to the police, the seriousness of this thing is illustrated, give people a kind of urgency and feel, and
User also has a kind of sense of urgency to be needed to lose no time to process this thing;Terminate report after whole lasting some minutes of reporting to the police in addition
It is alert, in the controlling the water circulation function of starting Drinking fountain by cutting off module, it is ensured that stay out in user or long-time do not note
When, the function of cut-out can be automatically performed, power consumption is reduced.
Preferably, entering after mould-fixed, comprise the following steps that:
Step one, control module control TDS detection modules detect a raw water quality to obtain water quality data S3 every T2 durations;
Step 2, circulation execution step one Y time;
Step 3, define Y time for 3 again for several times;Water quality data S3 is compared with P times of memorized reference value V successively;
Step 4, at least 2/3rds memorized reference values V for whether being both greater than P times judged in water quality data S3;If so, then
Into alarm mode;Conversely, then entering stable mode.
Using such scheme, raw water quality is continued to detect, to complete judgement again, the wind of erroneous judgement occurs in reduction
Danger;By successional detection process to get Y water quality data S3, and Y be 3 times for several times, by this judgement, when
2/3rds in all water quality data S3 are all higher than P times of memorized reference value V, then illustrate water quality now in very not
Stable situation, is not suitable for also it is not recommended that carrying out controlling the water circulation drinking, and can improve the situation of raw water quality by cleaning raw water box
Or overall maintenance is carried out to Drinking fountain;Conversely, the detection before then illustrating is a kind of error detection, the water that this time controlling the water circulation is obtained
Can be directly to drink.
Preferably, defining memorized reference reading V, comprise the following steps that:
Step one, TDS sensors are detected to tap water;
Step 2, detection time T4 is defined, TDS sensors are at interval of T4 minutes obtaining some water quality data Q;
Step 3, continuously perform step 2 M time;
Step 4, M data are compared by comparison module, and maximum is defined as into memorized reference value V.
Using such scheme, direct detection is carried out to the water quality of tap water, and measures repeatedly to take maximum therein
To be defined as memorized reference value V, will with adapt to each regional water quality to the direct detection of tap water by TDS detection modules
Seek situation about differing so that the use range of Drinking fountain will not be affected by regional environment, improve practicality, this process is straight
Drink machine carries out detection definition in the state of starting for the first time, ensure that in the case where not having other waste water to affect, defines
One benchmark, improves the accuracy of detection, to avoid the situation for occurring error detection in the detection process in later stage from occurring, improves detection
Reliability, allow the carrying out that follow-up detection can be orderly.
In sum, the invention has the advantages that:Ensure that and the water quality in raw water box is more reasonably examined
Survey, it is ensured that user in use, is obtained in that standard compliant drinking water, if raw water quality goes wrong, can lead to
Cross warning to remind user, be easy to user to be safeguarded.
Description of the drawings
System schematics of the Fig. 1 for Drinking fountain;
System block diagrams of the Fig. 2 for raw water control system
System block diagrams of the Fig. 3 for control method;
Fig. 4 is into the system block diagram for treating mould-fixed;
Fig. 5 is the system block diagram into alarm mode;
Fig. 6 is the system block diagram for defining reference value V.
In figure:1st, raw water box;2nd, entering water electromagnetic valve;3rd, booster water pump;4th, meltblown fibers filter element;5th, seed activity carbon filtration
Core;6th, extruded activated carbon filter element;7th, reverse osmosis membrane;8th, cationic resin filter element;9th, sintering activity carbon filtration core;10th, clear water tanks;
11st, heater;12nd, hot-water cylinder;13rd, refrigerating plant.
Specific embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
This specific embodiment is only explanation of the invention, and which is not limitation of the present invention, people in the art
Member can make the modification for not having creative contribution after this specification is read as needed to the present embodiment, but as long as at this
All protected by Patent Law in the right of invention.
Embodiment one, a kind of disclosed raw water control system based on Drinking fountain, as shown in figure 1, and used at present
Drinking fountain includes the raw water box 1 for raw water storage, by the raw water in raw water box 1 pass through entering water electromagnetic valve 2 and booster water pump 3 according to
It is secondary to transmit to meltblown fibers filter element 4, granular activated carbon filter core 5 and extruded activated carbon filter element 6, passing through reverse osmosis membrane 7 by waste water
Through 8 Posterior circle of cationic resin filter element to raw water box 1, and water purification is then transmitted to clear water tanks 10 through sintering activity carbon filtration core 9
With for people to use, if desired hot water, then heated to water purification and stored into hot-water cylinder 12 by heater 11, heating
Device 11 is preferably hot gallbladder relay or heating wire;If desired cold water, then directly freezed to water purification by refrigerating plant 13,
And refrigerating plant 13 is preferably using refrigeration relay or cooling piece;And corresponding display device is then entered to the state of whole Drinking fountain
Row shows, it is preferred to use LCDs.
As shown in Fig. 2 raw water control system includes carrying out raw water quality discontinuity detection several times will be detected
The TDS detection modules that exported successively of water quality data S1, TDS detection modules preferably adopt TDS sensors.The world defends at present
The standard of the water directly drunk that raw tissue is announced is that TDS values are less than 50;European Union is less than 70;The U.S. is less than 50;China《It is raw
Sanitary standard for drinking water living》It is less than or equal to 1000 to the TDS value standards of tap water.In the relation of China, TDS values and tap water
It is as follows:When TDS values are less than 300mg/L, then in fine state;When TDS values are between 300mg/L-600mg/L, then
In preferable state;When TDS values are between 600mg/L-900mg/L, then in general state;When TDS values are in
When between 900mg/L-1200mg/L, then in poor state;When TDS values are more than 1200mg/L, then in shape cannot be drunk
State;Therefore it is most preferably the state more than preferable normally to quote water.The operation principle of TDS sensors is as follows:By at two or
Applied voltage between multiple electrodes.The ion of positively charged(Such as sodium ion, calcium ion, magnesium ion, hydrion, etc.)To negative charge
Electrode movement, negatively charged ion(Such as chloride ion, sulfate ion, bicarbonate ion etc.)By the electrode to positive charge
It is mobile, two interelectrode voltages are determined, electrical conductivity is drawn, then by calculating the TDS values of water outlet.
The interval time of discontinuity detection several times is carried out to raw water quality preferably using the operating time of booster water pump 3
T1, after each duration T1, control module controls TDS detection modules to detect raw water quality.TI is preferably 2 hours.
As shown in Fig. 2 water control system also includes being coupled to TDS detection modules to receive water quality data S1 and examine TDS
Survey control module that module is controlled, be coupled to control module to receive water quality data S1 that control module exported and by water
Registration module that prime number is stored according to S1, it is preset with memorized reference value V and is coupled to control module to receive called water
Prime number is compared to each other and exports comparison signal to control module with memorized reference value V according to S1 and by the water quality data S1 for being called
Comparison module.
Control module can be using Programmable Logic Controllers such as single-chip microcomputer, PLC;It is preferred that adopting single-chip microcomputer.By single-chip microcomputer reality
Now include following two schemes:
Scheme one:Core devices adopt AT89C51 single-chip microcomputers, AT89C51 chips to have the inside FLASH PERAM of 4K bytes, can
To work under the low pressure of 3V, and the chip is completely compatible with MCS-51 series monolithics, but the chip applies to circuit to be set
Due to being not equipped with ISP online programming technologies when in meter, so when when debugging to circuit, as the program to mistake is repaiied
When changing or adding what's new to need burned program program, plug chip is needed to be fired program, and to the multiple of chip
Plug can cause certain damage to chip.
Scheme two:Core devices are using the STC89C52 single-chip microcomputers of STC Corporation as processor.The chip has continued to use classics
MCS-51 kernels, and done many improvement on the basis of MCS-51;The chip instruction code completely compatible traditional 8051
Single-chip microcomputer;The chip has 12 clocks/machine cycle and the 6 clocks/machine cycle can be optional, also programmable with 8k bytes
FLash memorizeies and 512 bytes RAM;The chip does not need Special programming or dedicated emulated device, can directly using under serial ports
Carry.Compared to 51 traditional single-chip microcomputers, the combination property of STC89C52 is higher.
Due to needing higher processing speed and stronger interference free performance in this programme, therefore select STC89C52 conducts
Core devices.STC89C52 can meet this requirement as a high performance CMOS8 8-digit microcontrollers.
Registration module preferably using internal depositor in single-chip microcomputer, can more preferred circuit, reduce circuit cost,
Single-chip microcomputer can certainly be connected to realize by external depositor, it is preferred to use the depositor inside single-chip microcomputer;Storage
Pattern can be stored using stacking-type, it would however also be possible to employ total data carries out data derivation after all carrying out being stored in a period of time.
Comparison module can be realized using external comparator, it would however also be possible to employ the program realization in single-chip microcomputer, this reality
Preferably realized using the program in single-chip microcomputer in applying example, the complexity of circuit can be substantially reduced, at the same it is simpler, easily
Implement, be easy to the setting of follow-up memorized reference value V.The set-up mode of memorized reference value V is as follows:TDS detection modules are to originally
The water quality of water carries out continuous detecting several times, and the time interval of continuous detecting herein is defined as T4, and T4 is preferably 3 minutes, will
The detected water quality data Q of correspondence is transmitted to control module and is stored water quality data Q to registration module, control module control
Several water quality datas Q is compared to each other, and it is memorized reference value V to define the maximum water quality data Q of numerical value.
As shown in Fig. 2 raw water control system also includes being coupled to control module and according to comparison signal to realize what is reported to the police
Alarm module;Alarm module can adopt voice guard and/or visual alarm, preferably adopt audible alarm in the present embodiment
The mode that device is be combined with each other with visual alarm, improves the significance of warning;Voice guard is realized using buzzer, and light
Alarm is realized using stroboscopic diode.
As shown in Fig. 2 raw water control system also includes being coupled to control module and being controlled by control module to control controlling the water circulation
The cut-out module that function is opened and closed.Cut-out module passes through roof-cut resistence to disconnect booster water pump 3, so that cannot be to pressing in filter element
Enter raw water, that is, realize the control opened and closed to controlling the water circulation function.
All states above can be shown by display device.
Detection control specifically to raw water is as follows:
Control module is called to any one water quality data S1 in registration module and is joined water quality data S1 with memory
Examine value V to be compared, if water quality data S1 is more than P times of memorized reference value V, P times in the present embodiment is both preferably 3 times, then
Control module control TDS detection modules carry out the detection of M demi continuities to obtain water quality data S2 and store to registration module, implement
M suboptimums in example are elected as 3 times, and the time interval of seriality detection herein is defined as T2, preferably 1min, and control module is to posting
Water quality data S2 in storing module is called and is compared M water quality data S2 successively with memorized reference value V, if water
Prime number is all higher than P times of memorized reference value V according to S2, then control module control alarm module starts to enter alarm mode;Conversely,
Into treating mould-fixed.
When into alarm mode, control module control alarm module discontinuity is reported to the police and continues some minutes to terminate report
Warn and control cut-out module and start the controlling the water circulation function to disconnect Drinking fountain.The type of alarm of buzzer is:1s once, is spaced 1s,
Continuous 5 times, 1min is a cycle period, during with alarm, RO system halts work.
When entering whne mould-fixed, control module control TDS detection modules carry out the detection of Y demi continuities to obtain water quality number
According to S3 and store to registration module, seriality detection is preferably time interval T2, i.e. 1min is detected once, define Y time for 3 again
For several times, in the present embodiment, Y suboptimums elect 3 times or 6 times as;Control module is called simultaneously to the water quality data S3 in registration module
Some water quality data S3 are compared with P times of memorized reference value V successively;In Y water quality data S3 at least 2/3rds
Individual memorized reference value V for being all higher than P times, then control module control alarm module start entering alarm mode;Conversely, then entering
Stable mode.
Embodiment two, a kind of control method, including the above-mentioned raw water control system based on Drinking fountain, as shown in figure 3, tool
Body controlling means are as follows:
Step one as, orientated T1 the working time of booster water pump 3, TDS sensors are detected to raw water at interval of T1 durations
And water quality data is designated as S1;
Step 2, water quality data S1 is judged successively, water quality data S1 whether memorized reference values V more than or equal to P times;If
Memorized reference values V of the water quality data S1 more than or equal to P times, then perform next step;Conversely, then entering stable mode;
Step 3, definition T2 interval time, TDS sensors are detected to raw water and water quality data are designated as every T2 durations
S2;
Step 4, continuously perform step 3 M time;
Step 5, M water quality data S2 is judged, judge whether any one water quality data S2 both greater than equal to P times
Memorized reference reading V;If any one water quality data S2 is the memorized reference reading V both greater than equal to P times, into warning mould
Formula;Conversely, enter treating mould-fixed.
Into after alarm mode, as shown in figure 4, comprising the following steps that:
Step one, reported to the police once at interval of 1S by alarm module, reporting to the police every time continues 1S;
Step 2, continuously carry out step one 3 minutes;
Step 3, end are reported to the police;
Step 4, disconnection booster water pump 3.
Into after mould-fixed, as shown in figure 5, comprising the following steps that:
Step one, control module control TDS detection modules detect a raw water quality to obtain water quality data S3 every T2 durations;
Step 2, circulation execution step one Y time;
Step 3, define Y time for 3 again for several times;Water quality data S3 is compared with P times of memorized reference value V successively;
Step 4,2/3rds memorized reference values V for whether being both greater than P times judged in water quality data S3;If so, then enter
Alarm mode;Conversely, then entering stable mode.
Memorized reference reading V is defined, as shown in fig. 6, comprising the following steps that:
Step one, TDS sensors are detected to tap water;
Step 2, detection time T4 is defined, TDS sensors are at interval of T4 minutes obtaining some water quality data Q;
Step 3, continuously perform step 2 M time;
Step 4, M data are compared by comparison module, and maximum is defined as into memorized reference value V.