CN104597929B - The control method of chlorine yield in a kind of swimming-pool water - Google Patents
The control method of chlorine yield in a kind of swimming-pool water Download PDFInfo
- Publication number
- CN104597929B CN104597929B CN201410115353.6A CN201410115353A CN104597929B CN 104597929 B CN104597929 B CN 104597929B CN 201410115353 A CN201410115353 A CN 201410115353A CN 104597929 B CN104597929 B CN 104597929B
- Authority
- CN
- China
- Prior art keywords
- value
- voltage
- pwm
- current
- water
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Water Treatment By Electricity Or Magnetism (AREA)
Abstract
The present invention relates to a kind of control method of chlorine yield in swimming-pool water, this method comprises the following steps:Initialization;Determine that swimming pool reaches total chlorine yield needed for the Disinfection Effect same day;Gather water temperature and water velocity data;The startup or closing of hypochlorite generator is determined according to water velocity condition;Gather the operating voltage and current data of hypochlorite generator, processing water temperature, water velocity, voltage and current data;Calculate current chlorine yield;Compare current chlorine yield and total chlorine yield needed on the day of swimming pool reaches Disinfection Effect, if current chlorine yield is less than total chlorine yield needed on the day of swimming pool reaches Disinfection Effect, return to continuation gathered data, otherwise hypochlorite generator is stopped.The control method utilizes the chlorine yield in aquation theory, Intelligent adjustment control swimming pool so that the chlorine yield control contained during Disinfection Effect to being reached in swimming pool is more accurate.
Description
Technical field
The present invention relates to a kind of control method of water body disinfection, and in particular to the controlling party of chlorine yield in a kind of swimming-pool water
Method, can automatically adjust hypochlorite generator according to swimming pool size, and intelligent control hypochlorite generator's output reaches sterilization
The chlorine yield of purpose.
Background technology
Human secretion can be penetrated into water body by swimming pool as a public area during people swim,
So as to cause the growth of bacterium and bath quasi-microorganism, water quality is influenceed, thus needs to carry out disinfection.At present, many developed country travels
Saline electrolyzer hypochlorite generator being used the sterilization of swimming pool, the sodium hypochlorite produced by electrochemical reaction is to swimming pool more
Carry out disinfection.In the control method that existing utilization hypochlorite generator carries out disinfection to swimming pool, hypochlorite generator's
Operating current is the electrode operating current for the fixed size that user is set, working time of hypochlorite generator be it is synchronous or
Less than the working time of water pump, rationally and water pump whether the operating current of hypochlorite generator set in the control method
Working time length change, the influence to contents of residual chlorine in swimming pool is very big.The swimming pool water circulation of such as present swimming pool by
Velocity fluctuation pump is gradually used, and new velocity fluctuation pump significantly changes the operating efficiency of conventional water pump and then influences the work of water pump
Time, user requires a great deal of time to adjust the working time of hypochlorite generator, suitable in swimming pool to reach
Chlorine residue yield, time consumption and energy consumption.As for the operating current of hypochlorite generator, although part hypochlorite generator is to its work
The gear of the multiple different electric currents of current settings, but in use, user, which does not know, to be needed how long also to run not
The water body environment parameter in swimming pool can be obtained in time, it is impossible to which the current work gear of the operating current of hypochlorite generator is done
Go out and timely adjust.In addition under identical pump working time and electrode operating current, different water temperature and different
The difference of the chlorine yield produced in salinity, unit interval is very big, and the aquation that Most users do not have specialty is gained knowledge,
So as to make suitable adjustment to water pump and electrode working time, this has resulted in chlorine yield in swimming-pool water otherwise has been much larger than
Resource caused by chlorine yield needed for sterilization, not only makes energy waste, and there is huge potential safety hazard to human body, otherwise swimming pool
Chlorine yield needed for chlorine underproduces sterilization in water causes the unqualified situation of water body.
The content of the invention
The technical problems to be solved by the invention are that a kind of control of chlorine yield in swimming-pool water is provided for above-mentioned prior art
Method processed, this method can utilize aquation theory, according to pond size and water quality condition in different temperatures and salinity situation
The electrode operating current size of lower Intelligent adjustment hypochlorite generator and working time, and then the rational chlorine controlled in swimming pool
Yield so that the chlorine yield control contained during Disinfection Effect to being reached in swimming pool is more accurate.The present invention includes direct by user
Selection or the control mode of input chlorine yield.
The present invention the used technical scheme that solves the above problems is:The control method of chlorine yield includes in a kind of swimming-pool water
Following steps:
Step 1: initialization, the content M of chlorine needed for setting swimming pool reaches Disinfection Effect0, initial salinity value C is set0,
Minimum water velocity V in pond is setL, interception minimal data treatment group number G, set maximum functional to limit electric current Ih, set electricity
Press control parameter PWM_Timer KB limit PWM_T;
Step 2: determining that swimming pool reaches total chlorine yield P needed for the Disinfection Effect same day0;
Step 3: water velocity in pond is detected in real time using water flow sensing unit, by the water flow velocity number of degrees of current collection
According to V0With minimum water velocity V in the pond of settingLIt is compared, works as V0≥VLWhen, water flow sensing unit sends a signal to single-chip microcomputer
Control centre MCU, single-chip microcomputer control centre MCU control hypochlorite generator start work;Simultaneously temperature sensor at interval of
Set time tdA water temperature data is gathered, and sends single-chip microcomputer control centre MCU to and is recorded, water temperature array is formed;
Step 4: carrying out the startup work of timing, wherein hypochlorite generator to the working time t of hypochlorite generator
Make electric current I0, default working time t0Respectively:
Wherein P initial value is 0;
Step 5: after hypochlorite generator's work, single-chip microcomputer control centre MCU passes through control voltage control parameter PWM_
Timer value, control hypochlorite generator is output to the voltage at working electrode end, and then controls the work of hypochlorite generator
Make electric current, wherein the voltage control parameter PWM_Timer is determined according to the change of the gentle salinity of pond reclaimed water, voltage control
Parameter PWM_Timer value is higher, i.e., hypochlorite generator be output to electrode tip voltage it is higher, correspondingly sodium hypochlorite send out
The operating current of raw device is bigger, on the contrary, voltage control parameter PWM_Timer value is lower, i.e., hypochlorite generator exports
Voltage to electrode tip is lower, and correspondingly the operating current of hypochlorite generator is smaller, and different electrode systems are using different
Voltage control parameter PWM_Timer values;
With gathering water temperature data identical time point, at interval of set time td, by single-chip microcomputer control centre MCU A/D
Module reads the instant operating voltage data and operating current data of hypochlorite generator, and sends single-chip microcomputer control centre to
MCU is recorded, and forms operating voltage array and operating current array;
Single-chip microcomputer control centre MCU carries out data to the water temperature array, operating voltage array and operating current array of collection
Processing;
Temperature data in water temperature array is counted, when the data volume in water temperature array T is more than or equal to G, cut
G temperature data connected sequentially in time in the warm array of water intaking, composition water thermometer counts a group T=[T1,T2,T3,......,
TG], wherein T1Represent that the water thermometer of interception counts the water temperature value that collection is obtained earliest in group T, TGRepresent the water that current collection is obtained
Temperature value;
Current data in operating current array is counted, when the data volume in operating current array is more than or equal to G
When individual, in the identical period corresponding with the water temperature data of interception, it is connected sequentially in time in interception operating current array
G current data, constitute operating current and calculate array I=[I1,I2,I3,......,IG], wherein I1Represent the work of interception
The current value that collection is obtained earliest in Current calculation array I, IGRepresent the current value that current collection is obtained;
Voltage data in operating voltage array is counted, when the data volume in operating voltage array is more than or equal to G
When individual, in the identical period corresponding with the water temperature data of interception, it is connected sequentially in time in interception operating voltage array
G voltage data, constitute operating voltage and calculate array U=[U1,U2,U3,......,UG], wherein U1Represent the work of interception
Potentiometer counts the magnitude of voltage that collection is obtained earliest in group U, UGRepresent the magnitude of voltage that current collection is obtained;
Counted a group T=[T according to the water thermometer of interception1,T2,T3,......,TG] in water temperature data calculate water temperature reference
Value, i.e., first to water temperature data T1,T2,T3,......,TGIt is ranked up from low to high according to numerical values recited, then rejects water temperature number
Maximum of T inmaxWith minimum value Tmin, then to rejecting TmaxAnd TminRemaining water temperature data carry out average computation after
It is weighted again, obtains actual water temperature average value Δ T, be calculated as follows:
Wherein k is the attribute ginseng that water temperature detects circuit
Number, the parameter can be calculated by water temperature detection Experiment of Electrical Circuits and determined;
Array I=[I are calculated according to the operating current of interception1,I2,I3,......,IG] in current data calculating current
Reference value, i.e., first to operating current data I1,I2,I3,......,IGIt is ranked up, then picks from low to high according to numerical values recited
Except the maximum I in operating current datamaxWith minimum value Imin, then to rejecting ImaxAnd IminRemaining current data enter
It is weighted again after row average computation, obtains actual current average value Δ I,
Wherein m is current detection circuit parameter, the parameter
Experimental calculation determination can be carried out through overcurrent sensing circuit;
Array U=[U are calculated according to the operating voltage of interception1,U2,U3,......,UG] in voltage data calculate voltage
Reference value, i.e., first to operating voltage numerical value U1,U2,U3,......,UGIt is ranked up, then picks from low to high according to numerical values recited
Except the maximum U in operating voltage datamaxWith minimum value Umin, then to rejecting UmaxAnd UminRemaining voltage data enter
It is weighted again after row average computation, obtains virtual voltage average value Δ U,
Wherein n is voltage detecting circuit parameter, should
Parameter can carry out experimental calculation determination through overvoltage detection circuit;
According to the actual water temperature average value Δ T of calculating, actual current average value Δ I, virtual voltage average value Δ U and electrode
Solubility parameters CTSalinity value C in pond is calculated, i.e.,:
As Δ I ≠ 0,Wherein described electrode solubility
Parameter CTDetermined by electrode size spacing and material;
As Δ I=0, the solubility value of salt is C=0 in pond;
Step 6: the work of the actual current average value Δ I and hypochlorite generator according to obtained by being calculated in step 5
Make time t and calculate current chlorine yield P, chlorine yield is calculated as follows:
Step 7: the current chlorine yield P obtained by being calculated in comparison step six and total chlorine yield P needed for the same day0If, P < P0
Return to step five, otherwise hypochlorite generator be stopped.
Selectively, total chlorine yield P needed on the day of swimming pool reaches Disinfection Effect in the step 20Directly set by user
Swimming pool required total chlorine yield P on the day of reaching Disinfection Effect0Or volume E, the same day swimming pool reclaimed water of the swimming pool set according to user
Water quality condition value L and step one in the swimming pool that sets reach Disinfection Effect needed for chlorine content value M0Calculated, swimming pool reaches
Total chlorine yield P needed for the Disinfection Effect same day0Be calculated as follows:
Wherein L=1 represents that water quality condition is good, and L=5 represents that water quality condition is general, and L=10 represents water quality inferiority, swimming pool water quality
State value is defaulted as L=5.
In order to protect working electrode and work component, while the purpose of energy-conserving and environment-protective is reached, in the step 5, if
There is the water temperature over-high or too low situation in pond, i.e., work as water temperature average value Δ T >=59 DEG C or Δ T in pond accordingly
In the case of≤11 DEG C, single-chip microcomputer control centre MCU sends control signal to display unit, and temperature is too high or too low alarm carries
Show, be stopped while single-chip microcomputer control centre MCU sends control signal control hypochlorite generator, and return to step three.
In order to protect working electrode and work component, while the purpose of energy-conserving and environment-protective is reached, when water temperature continuous 3 in pond
My god, daily at least two hours constant temperatures be more than or equal to 32 degrees Celsius, then single-chip microcomputer control centre MCU control systems enter summer
Mode of operation, i.e., when controlling hypochlorite generator at 12 to 15 by single-chip microcomputer control centre MCU be stopped, when 15
Return to step three afterwards.
In order to protect working electrode and work component, while the purpose of energy-conserving and environment-protective is reached, balancing unit chlorine yield, institute
State in step 5, if the too high or too low situation of salinity in the pond calculated, i.e.,:
As salinity value C > 4500ppm in pond, single-chip microcomputer control centre MCU sends control signal to display unit,
Salinity height prompting alarm, in IhIn the case of-Δ I > 5, single-chip microcomputer control centre MCU control voltage control parameters PWM_
Timer value increase by 20, in Δ I-IhIn the case of > 5, single-chip microcomputer control centre MCU control voltage control parameters PWM_
Timer value reduces 20, and wherein voltage control parameter PWM_Timer values maximum is no more than PWM_T, when voltage control parameter
When PWM_Timer value is calculated over KB limit PWM_T, voltage control parameter PWM_Timer value takes PWM-T value;
As salinity value C > 5500ppm in pond, single-chip microcomputer control centre MCU is sent to hypochlorite generator to stop
Only control signal, hypochlorite generator is stopped, while control signal is sent to display unit, the too high alarm of salinity,
And return to step three;
As salinity value C < 2500ppm in pond, single-chip microcomputer control centre MCU sends control signal to display unit,
Point out salinity low, in PWM_Timer<Single-chip microcomputer control centre MCU controls PWM_Timer value increase in the case of PWM-T
1, PWM_Timer value maximum is no more than PWM-T, and when PWM-Timer value is calculated over PWM-T, PWM-Timer value takes
PWM-T value;
As salinity value C≤2200ppm in pond, single-chip microcomputer control centre MCU is sent to hypochlorite generator to stop
Only control signal, hypochlorite generator is stopped, while control signal is sent to display unit, the too low alarm of salinity,
And return to step three.
Preferably, the content M of chlorine needed for the swimming pool reaches Disinfection Effect0For 1~4ppm.
Preferably, the initial salinity value C0For 3500ppm.
Preferably, minimum water velocity V in the pondLFor 2L/s.
Preferably, the scope of the voltage control parameter PWM_Timer is:57535≤PWM_Timer≤65535.
Compared with prior art, the advantage of the invention is that:The control method of chlorine yield in swimming-pool water of the present invention, in aquation
It is automatic to hypochlorite generator's electrode operating current using the temperature and salinity parameter of water body environment on the basis of theory
Adjusted in real time with the working time, the chlorine yield in real-time judge control swimming-pool water, so that the chlorine yield in swimming-pool water
It is maintained in an OK range for reaching Disinfection Effect, control is more accurate, realizes intelligent automatic regulated, it is not necessary to artificial
Testing and debugging is carried out, adjustment time is saved while reducing the wasting of resources.In addition, the control method can also be according to the same day
Water quality condition determines total output, more energy-conserving and environment-protective.
Brief description of the drawings
Fig. 1 is the control method flow chart of chlorine yield in swimming-pool water in the embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing embodiment.
As shown in figure 1, the control method of chlorine yield comprises the following steps in the present embodiment swimming-pool water:
Step 1: initialization, the content M of chlorine needed for setting swimming pool reaches Disinfection Effect0For 3ppm, i.e., every cubic metre daily
The chlorinity needed is 3 grams, sets initial salinity value C0For 3500ppm, minimum water velocity V in pond is setLFor 2L/
s., interception minimal data treatment group number G, set maximum functional to limit electric current Ih, set voltage control parameter PWM_Timer's
KB limit PWM_T is 65535;
Step 2: determining that swimming pool reaches total chlorine yield P needed for the Disinfection Effect same day0;
Swimming pool required total chlorine yield P on the day of reaching Disinfection Effect0Directly swimming pool can be set to reach Disinfection Effect by user
Total chlorine yield P needed for the same day0Or volume E, the water quality condition value L of same day swimming pool reclaimed water and the step of the swimming pool set according to user
The content value M of chlorine needed for the swimming pool set in rapid one reaches Disinfection Effect0Calculated, swimming pool is reached needed on the day of Disinfection Effect
Total chlorine yield P0Be calculated as follows:
Swimming pool reaches sterilization
Wherein L=1 represents that water quality condition is good, and L=5 represents that water quality condition is general, and L=10 represents water quality inferiority, swimming pool water quality
State value is defaulted as L=5, and water quality condition value L is available for professional to be configured;
It is assumed that the size of swimming pool is 100 cubic metres, water quality condition is general, then required total on the day of swimming pool reaches Disinfection Effect
Chlorine yield P0For:
I.e. in the state of swimming pool water quality is general, the volume of swimming pool is 100 cubic metres
In the case of, total chlorine yield of the swimming pool needed for one day is 300g;
Step 3: water velocity in pond is detected in real time using water flow sensing unit, by the water flow velocity number of degrees of current collection
According to V0With minimum water velocity V in the pond of settingLIt is compared, works as V0≥VLWhen, water flow sensing unit sends a signal to single-chip microcomputer
Control centre MCU, single-chip microcomputer control centre MCU control hypochlorite generator start work;Simultaneously temperature sensor at interval of
Set time tdA water temperature data is gathered, and sends single-chip microcomputer control centre MCU to and is recorded, water temperature array is formed;
Step 4: carrying out timing to the working time t of hypochlorite generator, wherein swimming pool volume E, sodium hypochlorite occur
The startup operating current I of device0, default working time t0Respectively:
Wherein P initial value is that 0, i.e. hypochlorite generator exist
Preset operating time t in one day during initial start-up0For
Step 5: after hypochlorite generator's work, single-chip microcomputer control centre MCU passes through control voltage control parameter PWM_
Timer value, control hypochlorite generator is output to the voltage at working electrode end, and then controls the work of hypochlorite generator
Make electric current, wherein the voltage control parameter PWM_Timer is determined according to the change of the gentle salinity of pond reclaimed water, voltage control
Parameter PWM_Timer value is higher, i.e., hypochlorite generator be output to electrode tip voltage it is higher, correspondingly sodium hypochlorite send out
The operating current of raw device is bigger, on the contrary, voltage control parameter PWM_Timer value is lower, i.e., hypochlorite generator exports
Voltage to electrode tip is lower, and correspondingly the operating current of hypochlorite generator is smaller, and different electrode systems are using different
Voltage control parameter PWM_Timer values, wherein
57535≤PWM_Timer≤65535;
With gathering water temperature data identical time point, at interval of set time td, by single-chip microcomputer control centre MCU A/D
Module reads the instant operating voltage data and operating current data of hypochlorite generator, and sends single-chip microcomputer control centre to
MCU is recorded, and forms operating voltage array and operating current array;
Single-chip microcomputer control centre MCU carries out data to the water temperature array, operating voltage array and operating current array of collection
Processing;
Temperature data in water temperature array is counted, when the data volume in water temperature array T is more than or equal to G, cut
G temperature data connected sequentially in time in the warm array of water intaking, composition water thermometer counts a group T=[T1,T2,T3,......,
TG], wherein T1Represent that the water thermometer of interception counts the water temperature value that collection is obtained earliest in group T, TGRepresent the water that current collection is obtained
Temperature value;
Current data in operating current array is counted, when the data volume in operating current array is more than or equal to G
When individual, in the identical period corresponding with the water temperature data of interception, it is connected sequentially in time in interception operating current array
G current data, constitute operating current and calculate array I=[I1,I2,I3,......,IG], wherein I1Represent the work of interception
The current value that collection is obtained earliest in Current calculation array I, IGRepresent the current value that current collection is obtained;
Voltage data in operating voltage array is counted, when the data volume in operating voltage array is more than or equal to G
When individual, in the identical period corresponding with the water temperature data of interception, it is connected sequentially in time in interception operating voltage array
G voltage data, constitute operating voltage and calculate array U=[U1,U2,U3,......,UG], wherein U1Represent the work of interception
Potentiometer counts the magnitude of voltage that collection is obtained earliest in group U, UGRepresent the magnitude of voltage that current collection is obtained;
Counted a group T=[T according to the water thermometer of interception1,T2,T3,......,TG] in water temperature data calculate water temperature reference
Value, i.e., first to water temperature data T1,T2,T3,......,TGIt is ranked up from low to high according to numerical values recited, then rejects water temperature number
Maximum of T inmaxWith minimum value Tmin, then to rejecting TmaxAnd TminRemaining water temperature data carry out average computation after
It is weighted again, obtains actual water temperature average value Δ T, be calculated as follows:
Wherein k is the attribute ginseng that water temperature detects circuit
Number, the parameter can be calculated by water temperature detection Experiment of Electrical Circuits and determined;
Array I=[I are calculated according to the operating current of interception1,I2,I3,......,IG] in current data calculating current
Reference value, i.e., first to operating current data I1,I2,I3,......,IGIt is ranked up, then picks from low to high according to numerical values recited
Except the maximum I in operating current datamaxWith minimum value Imin, then to rejecting ImaxAnd IminRemaining current data enter
It is weighted again after row average computation, obtains actual current average value Δ I,
Wherein m is current detection circuit parameter, the parameter
Experimental calculation determination can be carried out through overcurrent sensing circuit;
Array U=[U are calculated according to the operating voltage of interception1,U2,U3,......,UG] in voltage data calculate voltage
Reference value, i.e., first to operating voltage numerical value U1,U2,U3,......,UGIt is ranked up, then picks from low to high according to numerical values recited
Except the maximum U in operating voltage datamaxWith minimum value Umin, then to rejecting UmaxAnd UminRemaining voltage data enter
It is weighted again after row average computation, obtains virtual voltage average value Δ U,
Wherein n is voltage detecting circuit parameter, should
Parameter can carry out experimental calculation determination through overvoltage detection circuit;
According to the actual water temperature average value Δ T of calculating, actual current average value Δ I, virtual voltage average value Δ U and electrode
Solubility parameters CTSalinity value C in pond is calculated, i.e.,:
As Δ I ≠ 0,Wherein described electrode solubility
Parameter CTDetermined by electrode size spacing and material;
As Δ I=0, the concentration value of salt is C=0 in pond;
Salinity is too high or in the case that temperature is too low in pond, and the power consumption of hypochlorite generator can increase by 10%
~40%, it is too high or in the case that temperature is too low in temperature while the service life of working electrode and device work can be reduced,
The power consumption of hypochlorite generator can increase by 10%~40%, while can also reduce the use longevity of working electrode and device work
Life.
In order to protect working electrode and work component, while the purpose of energy-conserving and environment-protective is reached, in the step 5, if
There is the water temperature over-high or too low situation in pond, i.e., work as water temperature average value Δ T >=59 DEG C or Δ T in pond accordingly
In the case of≤11 DEG C, single-chip microcomputer control centre MCU sends control signal to display unit, and temperature is too high or too low alarm carries
Show, be stopped while single-chip microcomputer control centre MCU sends control signal control hypochlorite generator, and return to step three.
In order to protect working electrode and work component, while the purpose of energy-conserving and environment-protective is reached, when water temperature continuous 3 in pond
My god, daily at least two hours constant temperatures be more than or equal to 32 degrees Celsius, then single-chip microcomputer control centre MCU control systems enter summer
Mode of operation, i.e., when controlling hypochlorite generator at 12 to 15 by single-chip microcomputer control centre MCU be stopped, when 15
Return to step three afterwards.
In order to protect working electrode and work component, while the purpose of energy-conserving and environment-protective is reached, balancing unit chlorine yield, institute
State in step 5, if the too high or too low situation of salinity in the pond calculated, i.e.,:
As salinity value C > 4500ppm in pond, single-chip microcomputer control centre MCU sends control signal to display unit,
Salinity height prompting alarm, in IhIn the case of-Δ I > 5, single-chip microcomputer control centre MCU control voltage control parameters PWM_
Timer value increase by 20, in Δ I-IhIn the case of > 5, single-chip microcomputer control centre MCU control voltage control parameters PWM_
Timer value reduces 20, and wherein voltage control parameter PWM_Timer values maximum is no more than PWM_T, when voltage control parameter
When PWM_Timer value is calculated over KB limit PWM_T, voltage control parameter PWM_Timer value takes PWM-T value;
As salinity value C > 5500ppm in pond, single-chip microcomputer control centre MCU is sent to hypochlorite generator to stop
Only control signal, hypochlorite generator is stopped, while control signal is sent to display unit, the too high alarm of salinity,
And return to step three;
As salinity value C < 2500ppm in pond, single-chip microcomputer control centre MCU sends control signal to display unit,
Point out salinity low, in PWM_Timer<Single-chip microcomputer control centre MCU controls PWM_Timer value increase in the case of PWM-T
1, PWM_Timer value maximum is no more than PWM-T, and when PWM-Timer value is calculated over PWM-T, PWM-Timer value takes
PWM-T value;
As salinity value C≤2200ppm in pond, single-chip microcomputer control centre MCU is sent to hypochlorite generator to stop
Only control signal, hypochlorite generator is stopped, while control signal is sent to display unit, the too low alarm of salinity,
And return to step three;
Step 6: because influence of the salinity value to hypochlorite generator's unit interval chlorine yield can in temperature and pond
After being calculated by single-chip microcomputer control centre MCU, show that corresponding voltage control parameter PWM_Timer controls sodium hypochlorite
Device is output to the voltage at working electrode end, and then controls the operating current of hypochlorite generator, according to calculating institute in step 5
The actual current average value Δ I and the working time t of hypochlorite generator obtained calculates current chlorine yield P, chlorine yield
It is calculated as follows:
Step 7: chlorine yield was no longer dependent on depending on the working time of water pump in swimming pool, water pump can be according to setting most
The big working time is voluntarily worked, current chlorine production of the chlorine yield in the control method according to obtained by being calculated in comparison step six
Measure P and total chlorine yield P needed for the same day0Result be controlled, if P < P0Return to step five, otherwise hypochlorite generator stop
Only work.
Claims (8)
1. the control method of chlorine yield in a kind of swimming-pool water, it is characterised in that:Comprise the following steps:
Step 1: initialization, the content M of chlorine needed for setting swimming pool reaches Disinfection Effect0, initial salinity value C is set0, set
Minimum water velocity V in pondL, interception minimal data treatment group number G, set maximum functional to limit electric current Ih, set voltage control
Parameter PWM_Timer processed KB limit PWM_T;
Step 2: determining that swimming pool reaches total chlorine yield P needed for the Disinfection Effect same day0;
Step 3: water velocity in pond is detected in real time using water flow sensing unit, by the water velocity data V of current collection0With
Minimum water velocity V in the pond of settingLIt is compared, works as V0≥VLWhen, water flow sensing unit is sent a signal in single-chip microcomputer control
Heart MCU, single-chip microcomputer control centre MCU control hypochlorite generator start work;When temperature sensor is at interval of fixing simultaneously
Between tdA water temperature data is gathered, and sends single-chip microcomputer control centre MCU to and is recorded, water temperature array is formed;
Step 4: carry out timing to the working time t of hypochlorite generator, wherein swimming pool volume E, hypochlorite generator
Start operating current I0, default working time t0Respectively:
<mrow>
<msub>
<mi>I</mi>
<mn>0</mn>
</msub>
<mo>=</mo>
<mfrac>
<mi>E</mi>
<mn>40</mn>
</mfrac>
<mo>&times;</mo>
<mn>1.5</mn>
<mo>,</mo>
</mrow>
Wherein P initial value is 0;
Step 5: after hypochlorite generator's work, single-chip microcomputer control centre MCU passes through control voltage control parameter PWM_
Timer value, control hypochlorite generator is output to the voltage at working electrode end, and then controls the work of hypochlorite generator
Make electric current, wherein the voltage control parameter PWM_Timer is determined according to the change of the gentle salinity of pond reclaimed water, voltage control
Parameter PWM_Timer value is higher, i.e., hypochlorite generator be output to electrode tip voltage it is higher, correspondingly sodium hypochlorite send out
The operating current of raw device is bigger, on the contrary, voltage control parameter PWM_Timer value is lower, i.e., hypochlorite generator exports
Voltage to electrode tip is lower, and correspondingly the operating current of hypochlorite generator is smaller, and different electrode systems are using different
Voltage control parameter PWM_Timer values;
With gathering water temperature data identical time point, at interval of set time td, read by single-chip microcomputer control centre MCU A/D modules
Take the instant operating voltage data and operating current data of hypochlorite generator, and send single-chip microcomputer control centre MCU to
Row record, forms operating voltage array and operating current array;
Single-chip microcomputer control centre MCU is carried out at data to the water temperature array, operating voltage array and operating current array of collection
Reason;
Temperature data in water temperature array is counted, when the data volume in water temperature array T is more than or equal to G, water is intercepted
G temperature data connected sequentially in time in warm array, composition water thermometer counts a group T=[T1,T2,T3,......,TG],
Wherein T1Represent that the water thermometer of interception counts the water temperature value that collection is obtained earliest in group T, TGRepresent the water temperature that current collection is obtained
Value;
Current data in operating current array is counted, when the data volume in operating current array is more than or equal to G,
In the identical period corresponding with the water temperature data of interception, connected sequentially in time G in interception operating current array
Current data, constitutes operating current and calculates array I=[I1,I2,I3,......,IG], wherein I1Represent the operating current meter of interception
Count the current value that collection is obtained earliest in group I, IGRepresent the current value that current collection is obtained;
Voltage data in operating voltage array is counted, when the data volume in operating voltage array is more than or equal to G,
In the identical period corresponding with the water temperature data of interception, connected sequentially in time G in interception operating voltage array
Voltage data, constitutes operating voltage and calculates array U=[U1,U2,U3,......,UG], wherein U1Represent the operating voltage meter of interception
Count the magnitude of voltage that collection is obtained earliest in group U, UGRepresent the magnitude of voltage that current collection is obtained;
Counted a group T=[T according to the water thermometer of interception1,T2,T3,......,TG] in water temperature data calculate water temperature reference value, i.e.,
First to water temperature data T1,T2,T3,......,TGIt is ranked up, then rejects in water temperature data from low to high according to numerical values recited
Maximum of TmaxWith minimum value Tmin, then to rejecting TmaxAnd TminRemaining water temperature data carry out average computation after enter again
Row weighted calculation, obtains actual water temperature average value Δ T, is calculated as follows:
Wherein k is the property parameters that water temperature detects circuit, should
Parameter can be calculated by water temperature detection Experiment of Electrical Circuits and determined;
Array I=[I are calculated according to the operating current of interception1,I2,I3,......,IG] in current data calculating current reference
Value, i.e., first to operating current data I1,I2,I3,......,IGIt is ranked up from low to high according to numerical values recited, then rejects work
Make the maximum I in current datamaxWith minimum value Imin, then to rejecting ImaxAnd IminRemaining current data put down
It is weighted again after calculating, obtains actual current average value Δ I,
Wherein m is current detection circuit parameter, and the parameter can be with
Experimental calculation determination is carried out through overcurrent sensing circuit;
Array U=[U are calculated according to the operating voltage of interception1,U2,U3,......,UG] in voltage data calculate Voltage Reference
Value, i.e., first to operating voltage numerical value U1,U2,U3,......,UGIt is ranked up from low to high according to numerical values recited, then rejects work
Make the maximum U in voltage datamaxWith minimum value Umin, then to rejecting UmaxAnd UminRemaining voltage data put down
It is weighted again after calculating, obtains virtual voltage average value Δ U,
Wherein n is voltage detecting circuit parameter, and the parameter can
To carry out experimental calculation determination through overvoltage detection circuit;
According to the actual water temperature average value Δ T of calculating, actual current average value Δ I, virtual voltage average value Δ U and electrode solubility
Parameter CTSalinity value C in pond is calculated, i.e.,:
As Δ I ≠ 0,Wherein described electrode solubility parameters
CTDetermined by electrode size spacing and material;
As Δ I=0, the concentration value of salt is C=0 in pond;
Step 6: according in step 5 calculate obtained by actual current average value Δ I and hypochlorite generator work when
Between t calculate current chlorine yield P, chlorine yield is calculated as follows:
<mrow>
<mi>P</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mn>35.5</mn>
<mo>&times;</mo>
<mi>&Delta;</mi>
<mi>I</mi>
<mo>&times;</mo>
<mi>t</mi>
</mrow>
<mrow>
<mn>1.6</mn>
<mo>&times;</mo>
<msup>
<mn>10</mn>
<mrow>
<mo>-</mo>
<mn>19</mn>
</mrow>
</msup>
<mo>&times;</mo>
<mn>6.02</mn>
<mo>&times;</mo>
<msup>
<mn>10</mn>
<mn>23</mn>
</msup>
</mrow>
</mfrac>
<mo>;</mo>
</mrow>
Step 7: the current chlorine yield P obtained by being calculated in comparison step six and total chlorine yield P needed for the same day0If, P < P0Return
Step 5, otherwise hypochlorite generator be stopped, total chlorine production needed for swimming pool is reached on the day of Disinfection Effect in the step 2
Measure P0Swimming pool is directly set to reach total chlorine yield P needed for the Disinfection Effect same day by user0Or the body of the swimming pool set according to user
The content value M of chlorine needed for the swimming pool set in product E, the water quality condition value L of same day swimming pool reclaimed water and step one reaches Disinfection Effect0
Calculated, swimming pool required total chlorine yield P on the day of reaching Disinfection Effect0Be calculated as follows:
<mrow>
<msub>
<mi>P</mi>
<mn>0</mn>
</msub>
<mo>=</mo>
<msub>
<mi>M</mi>
<mn>0</mn>
</msub>
<mo>&times;</mo>
<mi>E</mi>
<mo>&times;</mo>
<mfrac>
<mi>L</mi>
<mn>5</mn>
</mfrac>
<mo>,</mo>
</mrow>
2
Wherein L=1 represents that water quality condition is good, and L=5 represents that water quality condition is general, and L=10 represents water quality inferiority, swimming pool water quality condition
Value is defaulted as L=5.
2. the control method according to claim 1, it is characterised in that:In the step 5, if there is in pond
Water temperature over-high or too low situation, i.e., the corresponding situation for working as water temperature average value Δ T >=59 DEG C or Δ T≤11 DEG C in pond
Under, single-chip microcomputer control centre MCU sends control signal to display unit, and temperature is too high or too low alarm, while monolithic
Machine control centre MCU sends control signal control hypochlorite generator and is stopped, and return to step three.
3. control method according to claim 2, it is characterised in that:When in pond water temperature for three days on end, it is at least two small daily
When constant temperature be more than or equal to 32 degrees Celsius, then single-chip microcomputer control centre MCU control systems enter summer operation pattern, i.e., by list
Pian Ji control centres MCU control hypochlorite generator be stopped at 12 between when 15, when 15 after return to step three.
4. control method according to claim 1, it is characterised in that:In the step 5, if the pond calculated
The too high or too low situation of middle salinity, i.e.,:
As salinity value C > 4500ppm in pond, single-chip microcomputer control centre MCU sends control signal to display unit, and salt is dense
The high prompting alarm of degree, in IhIn the case of-Δ I > 5, single-chip microcomputer control centre MCU control voltage control parameters PWM_Timer's
Value increase by 20, in Δ I-IhIn the case of > 5, single-chip microcomputer control centre MCU control voltage control parameters PWM_Timer value subtracts
Small by 20, wherein voltage control parameter PWM_Timer values maximum is no more than PWM_T, when voltage control parameter PWM_Timer value
When being calculated over KB limit PWM_T, voltage control parameter PWM_Timer value takes PWM-T value;
As salinity value C > 5500ppm in pond, single-chip microcomputer control centre MCU sends stopping control to hypochlorite generator
Signal processed, hypochlorite generator is stopped, while control signal is sent to display unit, the too high alarm of salinity, and return
Return step 3;
As salinity value C < 2500ppm in pond, single-chip microcomputer control centre MCU sends control signal to display unit, points out
Salinity is low, in PWM_Timer<Single-chip microcomputer control centre MCU controls PWM_Timer value increase by 1 in the case of PWM-T,
PWM_Timer values maximum is no more than PWM-T, and when PWM-Timer value is calculated over PWM-T, PWM-Timer value takes
PWM-T value;
As salinity value C≤2200ppm in pond, single-chip microcomputer control centre MCU sends stopping control to hypochlorite generator
Signal processed, hypochlorite generator is stopped, while control signal is sent to display unit, the too low alarm of salinity, and return
Return step 3.
5. the control method according to claim 1-4 any claims, it is characterised in that:The swimming pool reaches sterilization effect
The content M of chlorine needed for fruit0For 1~4ppm.
6. the control method according to claim 1-4 any claims, it is characterised in that:The initial salinity
Value C0For 3500ppm.
7. the control method according to claim 1-4 any claims, it is characterised in that:Minimum water in the pond
Flow velocity degree VLFor 2L/s.
8. the control method according to claim 1-4 any claims, it is characterised in that:The voltage control parameter
PWM_Timer scope is:57535≤PWM_Timer≤65535.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410115353.6A CN104597929B (en) | 2014-03-26 | 2014-03-26 | The control method of chlorine yield in a kind of swimming-pool water |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410115353.6A CN104597929B (en) | 2014-03-26 | 2014-03-26 | The control method of chlorine yield in a kind of swimming-pool water |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104597929A CN104597929A (en) | 2015-05-06 |
CN104597929B true CN104597929B (en) | 2017-10-20 |
Family
ID=53123783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410115353.6A Active CN104597929B (en) | 2014-03-26 | 2014-03-26 | The control method of chlorine yield in a kind of swimming-pool water |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104597929B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108633814A (en) * | 2018-03-21 | 2018-10-12 | 青岛海尔科技有限公司 | Control method, device, system, storage medium and the Intelligent fish tank of Intelligent fish tank |
CN111397658B (en) * | 2020-03-27 | 2021-12-17 | 宁波市思虎电子科技有限公司 | Chlorinator electrode protection method and protection device |
US20210300786A1 (en) * | 2020-03-27 | 2021-09-30 | Ningbo C.F. Electronic Tech Co., Ltd. | Method and Apparatus for Protecting Electrode of Chlorinator |
CN111304681B (en) * | 2020-03-31 | 2021-05-14 | 山东省科学院能源研究所 | Full-intelligent sodium hypochlorite generator and control method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3219419A1 (en) * | 1981-05-25 | 1983-03-31 | Sportstättenbetrieb Berlin, DDR 1055 Berlin | Process for maintaining swimming pool water quality following cockroach control treatments using dichlorvos |
CN1800567A (en) * | 2004-12-30 | 2006-07-12 | 天津望圆工贸有限责任公司 | Automatic cleaning machine for swimming pool |
FR2932884A1 (en) * | 2008-06-23 | 2009-12-25 | Firstinnov | DEVICE FOR MEASURING PHYSICAL AND / OR CHEMICAL SIZES OF WATER WATER CIRCULATING IN A TREATMENT CIRCUIT OF A RECREATIONAL BASIN. |
CN101779671A (en) * | 2009-12-21 | 2010-07-21 | 许庆华 | Attapulgites sterilizing algicide for swimming pool |
CN102424496A (en) * | 2011-12-13 | 2012-04-25 | 昆山华科膜环保科技有限公司 | Sewage purifying equipment and method thereof for purifying sewage |
-
2014
- 2014-03-26 CN CN201410115353.6A patent/CN104597929B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3219419A1 (en) * | 1981-05-25 | 1983-03-31 | Sportstättenbetrieb Berlin, DDR 1055 Berlin | Process for maintaining swimming pool water quality following cockroach control treatments using dichlorvos |
CN1800567A (en) * | 2004-12-30 | 2006-07-12 | 天津望圆工贸有限责任公司 | Automatic cleaning machine for swimming pool |
FR2932884A1 (en) * | 2008-06-23 | 2009-12-25 | Firstinnov | DEVICE FOR MEASURING PHYSICAL AND / OR CHEMICAL SIZES OF WATER WATER CIRCULATING IN A TREATMENT CIRCUIT OF A RECREATIONAL BASIN. |
CN101779671A (en) * | 2009-12-21 | 2010-07-21 | 许庆华 | Attapulgites sterilizing algicide for swimming pool |
CN102424496A (en) * | 2011-12-13 | 2012-04-25 | 昆山华科膜环保科技有限公司 | Sewage purifying equipment and method thereof for purifying sewage |
Also Published As
Publication number | Publication date |
---|---|
CN104597929A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104597929B (en) | The control method of chlorine yield in a kind of swimming-pool water | |
CN103280060B (en) | A kind of wired home room system based on GSM | |
CN105509211B (en) | A kind of Infrared Humidifier | |
CN106645330A (en) | Portable NB-IoT water quality detecting device and parameter correcting method thereof | |
CN204730387U (en) | A kind of Intelligent humidifier control system | |
CN104990280B (en) | A kind of water heater control method and system based on the positioning of user's intelligent terminal | |
CN106897494A (en) | A kind of Internet of Things energy efficiency management system | |
CN104754710A (en) | Power saving method for device and device | |
CN101882350A (en) | Water pollution organism early warning system and method based on principle of microbial fuel cells | |
CN111304681B (en) | Full-intelligent sodium hypochlorite generator and control method thereof | |
CN108900157A (en) | A kind of intelligent photovoltaic terminal box and current regulation method | |
CN105572594B (en) | Flow battery system state-of-charge monitoring method and its system | |
CN107643384A (en) | A kind of fishpond water quality environmental monitoring system based on Internet of Things | |
CN203373186U (en) | Wastewater electrolysis treatment system | |
CN206512228U (en) | A kind of medical laboratory's culture apparatus | |
CN105607678B (en) | A kind of intelligent electric kettle and its control system and method | |
CN205210727U (en) | Merit device is transferred in diamond heating | |
CN208689455U (en) | A kind of novel water body heating multiplex control system of high-precision high safety | |
CN203882219U (en) | Remote pond water environment monitoring device | |
CN103040616A (en) | Chinese herbal medicine automated decocting system | |
CN206041534U (en) | Balanced battery charge and discharge of battery | |
CN106089675B (en) | A kind of portable pump energy consumption assessment instrument | |
CN205283155U (en) | Wind -powered electricity generation management and running active power control system | |
CN202677218U (en) | Remote monitoring system for chemical reactor | |
CN106774510A (en) | A kind of use for laboratory intelligent ventilating cabinet control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |