A kind of electromagnetism descaling and antiscaling method and descaling and antiscaling device based on stagnant ring comparison method
Technical field
The dirt and wall erosion of pipeline and microorganism etc. can be effectively removed the present invention relates to a kind of and
Suppression, the electromagnetism apparatus for eliminating sludge and processing method for choosing optimal electromagnetic frequency automatically.
Background technology
It is broadly divided into chemical method and Physical using more anti-tartar, descaling method both at home and abroad at present.Chemical method is substantially
There are ion-exchange-resin process, dosing tenderizer, add antisludging agent method etc..Physical method includes magnetization treatment method, high-voltage electrostatic field
Facture, supercritical ultrasonics technology, high-frequency electromagnetic descaling method etc..Although chemical cleaning people are familiar to its operation principle, user
Method simple possible, but easily cause water pollution, the problems such as environmental disruption.And traditional physical method then needs to remove and managed
Road is cleaned, it is necessary to expend very big manpower and materials, is influenceed the normal operation of enterprise's production, is reduced enterprises production efficiency.High frequency
Electromagnetic water treatment technology not only can effectively antiscale, scale removal, suppress metal erosion, moreover it is possible at sterilization algae removal, with other recirculated waters
Reason technology is more preferable compared to effect, and implements more simple and convenient.The mechanism of action that it is handled is as follows:1. pass through production
Raw alternating magnetic field so that water body produces resonance, and big water clusters are cracked into Water dimer or single hydrone, improve the work of water
The property changed and the solubility to incrustation scale, atomic small hydrone can permeate, surround, be loose, dissolve, removing on metallic conduit wall
Old dirt;2. processing water can inspire a large amount of electronics in the presence of electromagnetic field of high frequency, according to " kelvin effect " principle in water pipe
Wall forms the portly layer of dynamic negative electrical charge, weakens, suppresses electrochemical corrosion.And it is attached to the divalent iron ion processization on tube wall
Learning the ferroso-ferric oxide generated after reaction effectively can separate tube wall and water;3. recirculated water is behind electromagnetic field of high frequency, water
" benefit enzyme " in middle microbial cell can lose metabolic function, and the activity of cell is suppressed.Electromagnetic field of high frequency destroys micro- life
The cell membrane of thing, spill intracellular plasm and dead.A certain amount of active oxygen radical can be produced in water simultaneously, it is living
Property oxygen can destroy the ion channel of biological cell, change bacterium, the biological field of algae existence, influence the metabolism of bacterium algae, from
And play sterilization algae removal effect.
High frequency, variable-frequency electromagnetic descaling equipment product in the market is numerous, and principle is similar, is all humorous by additional alternation
Vibration frequency produces resonance with water body, so as to reach the effect of scale removal.But the electromagnetic frequency setting of current most products is single,
It cannot be guaranteed that reaching same scale removal effect to the water body of varying environment, the resonant frequency of different water bodys is different each other, then
Ask the alternation resonant frequency for loading on pipeline water body to be consistent with water body resonant frequency, and still lack at present a kind of easy to be real
With quick optimal resonant frequency determination methods.
Currently used for assessing scale removal effect, determining that the common method of optimum resonant frequency has construction weight Comparison Method, coordination
Titration and electron microscope observation fouling crystal formation method.Construction weight Comparison Method is by separating out fouling before and after Electromagnetic Treatment
The comparison of substance weight reflects scale removal effect;Complexometry is by measuring calcium ion concentration remaining, soluble in water
Method weigh the quality of scale removal effect;Electron microscope observation fouling crystal formation method observes electromagnetic field by electron microscope
Before and after effect, the scale forming matter of generation distinguishes the quality for carrying out qualitative analysis scale removal effect on microcosmic crystal formation.It is above-mentioned conventional
Assess scale removal effect, determine that the method for optimum resonant frequency is all carried out offline, not only take time and effort, and in many cases
Also it can only obtain general optimum resonant frequency.
Magnetic field changes the size of incrustation scale solubility in water body so that charged particle increases and decreases in water, and reflection is in an experiment
It is exactly the change of water body conductivity value, so the change of conductivity value can reflect the effect of scale removal.It is 20 end of the centurys, Polish
Drela, Falewicz and Kuczkowska etc. just propose electrical conductivity method evaluation scale removal, the test method of scale suppression performance.Later,
Some domestic scholars have carried out titration experiments with the method to a variety of scale inhibitors, with present chemical industry standard (Bubbling method) phase
Than this method is simple to operate, and relative error is small, and the evaluation time is short, is a kind of scale suppression method of evaluating performance being worthy to be popularized.Herein
Intend borrowing conductivity method, study influence of the different electromagnetic frequencies to scale inhibition under electromagnetic field effect, seek optimum frequency
Point, to meet the needs of to electromagnetism scale suppression assessment of performance.
The content of the invention
Goal of the invention:In order to overcome existing electric magnetic incrustant remover device can not judge optimal resonant frequency simultaneously for different quality
The problem of efficiency is low be present, the present invention provides a kind of electromagnetism descaling and antiscaling method based on stagnant ring comparison method.
It is a further object of the present invention to provide a kind of electromagnetism descaling and antiscaling device based on stagnant ring comparison method.
Technical scheme:A kind of electromagnetism descaling and antiscaling method based on stagnant ring comparison method, comprises the following steps:
(1) the setpoint frequency upper limit, lower-frequency limit, original frequency fAAnd change step Δ f;Singlechip controller performs initial
Change program, and send instruction and start HF signal generator, data acquisition unit work;
(2) it is f that HF signal generator, which sends frequency,AElectromagnetic pulse, note present operating point is A points, is adopted by data
The conductivity value of water body, is designated as G corresponding to storage measurement A pointsA;Host computer sends signal to singlechip controller, in fAUpper increase
One Δ f, control HF signal generator produce frequency fB=fA+Δ f electromagnetic pulse, reach B points, data acquisition unit collection B
The conductivity value of water body, is designated as G corresponding to pointB;In fAOn subtract two Δ f, control HF signal generator produces frequency fC=
fA- 2 Δ f electromagnetic pulse, reach C points, the conductivity value of water body, is designated as G corresponding to data acquisition unit collection C pointsC;Data are adopted
Storage is by GA、GB、GCValue pass to host computer;
(3) host computer is by GA、GB、GCIt is compared:If GA≥GCAnd GB≥GA, then by fAA point electromagnetism arteries and veins is updated plus Δ f
The frequency of punching;If GA≤GCAnd GB≤GA, then by fASubtract the frequency of Δ f renewal A point electromagnetic pulses;If GA< GCAnd GB> GA, then
Work as GC> GBWhen, then by fAThe frequency of Δ f renewal A point electromagnetic pulses is subtracted, then works as GC< GBWhen, then by fAA points are updated plus Δ f
The frequency of electromagnetic pulse;Repeat frequency disturbance, until there is GA> GCAnd GB< GA, A points now are designated as local maxima electricity
Conductance point;
(4) repeat step (2) is to step (3), if GA> GCAnd GB< GA, then A points are still maximum of points, reduce step delta
F, perform step (5);Otherwise continue to increase or subtract Δ f progress frequency disturbances, until GA> GCMesh .GB< GA;
(5) repeat step (2) to (4), circulation disturbance, f now are stopped when Δ f <=1AAs global optimum's frequency
Rate;
(6) host computer sends signal control HF signal generator to singlechip controller and produces electromagnetic pulse, high frequency letter
Number generator produces electromagnetic pulse with global optimum's frequency and carries out scale removal to water body.
Preferably, if upper frequency limit is fmax, lower-frequency limit fmin, original frequency and change step in step (1) are:
fA=(fmin+fmax)/2)
Δ f=(3/4) * fA。
Original frequency is set to the median of upper frequency limit and lower-frequency limit, more more convenient to find optimal frequency point.
Preferably, it is to update Δ f with the 3/4 of original Δ f to reduce step delta f in the step (4).
Preferably, the lower-frequency limit set in the step (1) is 200Hz, upper frequency limit 20MHz.Can be according to reality
Border situation sets itself.
Preferably, while measuring the electrical conductivity of water body, also water temperature is measured.Temperature change is excluded to water body
The influence of electrical conductivity.
Preferably, every time after the frequency of change electromagnetic pulse, the electrical conductivity of data acquisition unit multi collect water body, to water body
Electrical conductivity when tending towards stability, just using stable conductivity value as the conductivity value for changing water body after frequency.Prevent frequency from dashing forward
The also unstable numerical value measured of the electrical conductivity of water body is inaccurate after so changing.
A kind of electromagnetism descaling and antiscaling device based on stagnant ring comparison method, including data acquisition unit, singlechip controller, high frequency
Signal generator, host computer, the data acquisition unit and upper mechatronics, data acquisition unit are used for the electrical conductivity for gathering water body
And it is transferred to host computer;Host computer includes memory and processor, wherein the memory storage has computer program, the journey
Sequence can realize the frequency of adjust automatically electromagnetic pulse when being executed by processor, and control high-frequency signal by singlechip controller
Generator produces the electromagnetic pulse of corresponding frequencies.
Preferably, the data acquisition unit includes conductivity sensor, and the conductivity sensor is located at staying water
Center.It can so make that conductivity sensor measures the conductivity value of current water body and the real conductivity value of current water body becomes
In consistent.
Preferably, the data acquisition unit also includes digital temperature sensor, and digital temperature sensor is used to measure
Water temperature.
Beneficial effect:The present invention provides a kind of electromagnetism descaling and antiscaling method and descaling and antiscaling dress based on stagnant ring comparison method
Put, electric magnetic incrustant remover device is can adapt to the water body of varying environment, can varying environment water body voluntarily adjust scale removal frequency with
Reach optimal scale removal effect.This method can find local extreme value quickly, and arithmetic speed is fast, and application is simple, efficiency high.
It is well suited for carrying out frequency sweep optimizing to this nonlinear system of electromagnetism scaler system, output frequency is effectively tracked the humorous of water body
Vibration frequency, and adjust automatically frequency to be to match the resonant frequency of water body, to reach optimal scale removal effect;Adaptability is good, scale removal
Scope is more extensive, is not limited to the water body of single environment, and application is wider;Using stagnant ring comparison method, avoid because waiting to locate
It is not ideal enough to manage conductivity value and the curve of electromagnetic pulse frequency of water body, and by mistake using local optimum frequency as global optimum's frequency
The problem of rate.
Brief description of the drawings
Fig. 1 is the 100ml distilled water+5mg calcium carbonate conductivity variations situations for not adding magnetic field;
Fig. 2 is the 100ml distilled water+5mg calcium carbonate conductivity variations situations for adding magnetic fields;
Fig. 3 is water sample conductance profile figure under different electromagnetic field frequency;
Fig. 4 is the electromagnetism descaling and antiscaling installation drawing based on stagnant ring comparison method of the present invention;
Fig. 5 is the conductivity value of staying water in theory and the curve of electromagnetic pulse frequency;
Fig. 6 is the curve of the actually conductivity value of staying water and electromagnetic pulse frequency;
Fig. 7 is the slave computer main flow chart of the present invention;
Fig. 8 is the host computer main flow chart of the present invention;
Fig. 9 is the schematic diagram of 9 kinds of situations based on stagnant ring comparison method;
Figure 10 is the flow chart of inventive algorithm.
Embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
As illustrated in figs. 1 and 2, not plus magnetic field becomes with 100ml distilled water+5mg calcium carbonate electrical conductivity under power-up magnetic fields
Change situation compares.The change of 100ml distilled water+5mg calcium carbonate water samples 3 hours internal conductance rate values in the case where being not added with electromagnetic field
Very little, change only have 1.5 μ S/cm, and in the case where applying electromagnetic field effect, the change of 3 hours internal conductance rate values of same water sample approaches
10 μ S/cm, it is seen that electromagnetic field can change the conductivity value of water body.
During additional alternating magnetic field, the alternation effect in magnetic field triggers the Microscopic order vibration of water particle, decomposes a part of moisture
Son so that conductive ion molar concentration is more than the conductive ion molar concentration of raw water in electromagnetism water, so as to cause electromagnetism water power to be led
The raising of rate.
Water sample conductance profile figure under different electromagnetic field frequency as described in Figure 3, the conductivity value of water sample increase with frequency and
In increase tendency, tended towards stability when frequency exceedes certain value, it is seen that the frequency in magnetic field equally influences the big of water sample conductivity value
It is small.
Electromagnetism scaler system is a complicated nonlinear system, the influence nothing of temperature value and electrical conductivity for output frequency
Method sufficiently accurately carries out mathematical description, by a series of experiment, can only draw the conclusion of a relativity.Therefore water body is worked as
Resonant frequency bandwidth once it is determined that after, using stagnant ring comparison method according to the change of temperature value and electrical conductivity come adjust water process dress
The electromagnetic pulse rate-adaptive pacemaker put can have very big advantage.
As shown in figure 4, the electromagnetism descaling and antiscaling device based on stagnant ring comparison method, including the control of data acquisition unit 4, single-chip microcomputer
Device 5, HF signal generator 3, host computer 6, the data acquisition unit 4 electrically connect with host computer 6, and data acquisition unit 4 is used to adopt
Collect the electrical conductivity of water body and be transferred to host computer 6;Host computer 6 includes memory and processor, wherein the memory storage has
Computer program, can realize the frequency of adjust automatically electromagnetic pulse when described program is executed by processor, and pass through single-chip microcomputer
Controller 5 controls the electromagnetic pulse of the generation corresponding frequencies of HF signal generator 3.
The data acquisition unit 4 includes conductivity sensor and digital temperature sensor, the conductivity sensor position
In the center of staying water, as shown in figure 4, data acquisition unit 4 is arranged at the center of tank 2, i.e. the central area of water body,
It can so make that conductivity sensor measures the conductivity value of current water body and the real conductivity value of current water body reaches unanimity.
Water body is mainly recirculated water in industrial pipeline, in order to simulate the dynamic circulation of water body in industrial pipeline, spy's installation water pump 1, water pump 1
Effect mainly behave water circulation, be consistent with industry spot.It is also right while measuring the electrical conductivity of water body
Water temperature measures, and digital temperature sensor is exactly to be used for measuring water temperature, and the temperature measured is mainly used in electricity
The temperature-compensating of conductance calculates.The electrical conductivity of solution and temperature are closely related, when temperature changes, the degree of ionization of electrolyte,
Solubility, Ion transfer speed, solution viscosity etc. can all change, and electrical conductivity can also change.Temperature raises, and electrical conductivity increases
Greatly.The temperature-compensating that the temperature measured is mainly used in electrical conductivity calculates.The temperature-compensating of conductivity meter is exactly to overcome temperature
The influence of degree so that the electrical conductivity of solution at different temperatures has comparativity, to meet all trades and professions comparison or Con trolling index
Needs.
The HF signal generator 3 is the device for direct scale removal, and it can produce 200Hz~20MHz electromagnetic pulses
Frequency.The driving of HF signal generator 3 is realized by power amplifier.
The singlechip controller 5 uses MSP430 single-chip microcomputers, has higher processing on the premise of super low-power consumption is ensured
Ability and arithmetic speed.After system electrification, singlechip controller 5 will perform data acquisition and control initialization program, single
Piece machine controller 5 can send instruction to data acquisition unit 4, HF signal generator 3 and power amplifier and start.Initialization program
After being finished, singlechip controller 5 starts the cycle over execution, the collection of the certain interval of time of data acquisition unit 4 into main program
Water body parameter current, and pass data to host computer 6 and handle.Singlechip controller 5 also receives the instruction tune of host computer 6 simultaneously
The frequency of whole HF signal generator 3.
The system of host computer 6 is used to receive the water body parameter current that data acquisition unit 4 collects, and it is handled
To judge optimal electromagnetic pulse scale removal frequency, host computer 6 will send instruction to adjust high frequency to singlechip controller 5 afterwards
The electromagnetic pulse scale removal frequency of signal generator 3.
If Fig. 6 is the conductivity value of staying water and the curve of electromagnetic pulse frequency under actual conditions.Due in practice
Conductivity value influenceed to be not as ideal image Fig. 5 by temperature, pH value, electromagnetic field intensity with electromagnetic pulse frequency as it is strict
It is smooth, always have some slight ups and downs phenomenons.So local search of algorithm of the in general based on stagnant ring comparison method, must
Optimal scale removal frequency can be so caused to be absorbed in local optimum rather than the situation of global optimum.To avoid this case, the present embodiment
The electromagnetism descaling and antiscaling method based on stagnant ring comparison method is proposed, as shown in Fig. 7,8,10, is comprised the following steps:
(1) setpoint frequency upper limit fmax, lower-frequency limit fmin、Original frequency fAAnd change step Δ f;Concrete numerical value can root
It is manually set according to actual conditions, such as by f in the present embodimentminIt is set to 200Hz;fmaxIt is set to 20MHz;Original frequency and change step
Length is respectively:
fA=(fmin+fmax)/2)
Δ f=(3/4) * fA
Singlechip controller performs initialization program, and sends instruction and start HF signal generator, data acquisition unit work
Make;
(2) it is f that HF signal generator, which sends frequency,AElectromagnetic pulse, note present operating point is A points, is adopted by data
The conductivity value of water body, is designated as G corresponding to storage measurement A pointsA;Host computer sends signal to singlechip controller, in fAUpper increase
One Δ f, control HF signal generator produce frequency fB=fA+Δ f electromagnetic pulse, reach B points, data acquisition unit collection B
The conductivity value of water body, is designated as G corresponding to pointB;In fAOn subtract two Δ f, control HF signal generator produces frequency fC=
fA- 2 Δ f electromagnetic pulse, reach C points, the conductivity value of water body, is designated as G corresponding to data acquisition unit collection C pointsC;Data are adopted
Storage is by GA、GB、GCValue pass to host computer;
(3) centered on A points, left and right respectively takes a point C points and B points, forms stagnant ring, based on stagnant ring observation to its maximum conductance
Rate is tracked, and host computer is by GA、GB、GCIt is compared, nine kinds of situations shown in Fig. 9 can be obtained:If GA≥GCAnd GB≥GA,
Then by fAThe frequency (keeping positive disturbance) of A point electromagnetic pulses is updated plus Δ f, is seen Fig. 9 (a) (b) (c) (d);If GA≤GC
And GB≤GA, then by fAThe frequency (keeping opposite direction disturbance) of Δ f renewal A point electromagnetic pulses is subtracted, is seen Fig. 9 (d) (e) (f)
(g);If GA< GCAnd GB> GA, such as Fig. 9 (i), then need again in two kinds of situation, to work as GC> GBWhen, then by fASubtract Δ f renewals A
The frequency of point electromagnetic pulse, then work as GC< GBWhen, then by fAPlus the frequency of Δ f renewal A point electromagnetic pulses;Repeat frequency
Disturbance, until there is GA> GCAnd GB< GA, as the A points of Fig. 9 (h) now are designated as local maxima electrical conductivity point;If there is fBGreatly
When upper limiting frequency, then capping frequency is fB, if there is fCDuring less than lower frequency limit, then it is f to remove the limit frequencyC;
(4) repeat step (2) is to step (3), if GA> GCAnd GB< GA, then A points are still maximum of points, reduce step delta
F, Δ f is updated with the 3/4 of original Δ f, i.e., new step-length is the 3/4 of former step-length.Perform step (5);Otherwise continue to increase or subtract Δ f
Frequency disturbance is carried out, until GA> GcAnd GB< GA;
(5) repeat step (2) to (4), circulation disturbance, f now are stopped when Δ f <=1AAs global optimum's frequency
Rate;
(6) host computer sends signal control HF signal generator to singlechip controller and produces electromagnetic pulse, high frequency letter
Number generator produces electromagnetic pulse with global optimum's frequency and carries out scale removal to water body.
Every time after the frequency of change electromagnetic pulse, the electrical conductivity of data acquisition unit multi collect water body, to the conductance of water body
When rate tends towards stability, just the conductivity value using stable conductivity value as water body after change frequency, prevents frequency suddenly change
The also unstable data for causing to survey of Shi Shuiti electrical conductivity are inaccurate.
In this method implementation process, if it find that G at oneA> GCAnd GA> GBWhen, system can't judge currently immediately
Electromagnetic pulse frequency is optimal frequency, but records current conductivity value and electromagnetic pulse frequency, and system continues to transport forward
Row is until running into next place GA> GCAnd GA> GB, now system may proceed to run forward.System can repeat previous process until looking for
The electromagnetic pulse frequency optimal to scale removal.No discovery is better than current record conductance after if system runs forward a period of time
Rate value or when can't find other situations, it is global scale removal optimal value that system, which will choose the frequency values currently recorded,.
The stagnant ring comparison method of the present invention has advantages below compared with other comparison methods (such as climbing method):
1) climbing method is detected point by point, seeks local optimum, and global optimum is drawn finally by comparing, stagnant ring comparison method
It is quick to tend to maximum, then Step wise approximation maximizing.
2) compared to climbing method, progressively frequency sweep, stagnant ring comparison method can be realized in global model by changing step-length from small to large
Optimal scale removal frequency is quickly found out in enclosing, tracking effect is obvious.
3) in water treatment procedure, there is frequent fluctuation in electrical conductivity, using climbing method, data can be caused to disturb, at increase
Complexity is managed, and microwave interference can largely be ignored using stagnant ring comparison method, for stability, stagnant ring comparison method
It is more advantageous.
4) when bound frequency distance is very big, with regard in terms of processing data amount, stagnant ring comparison method is for climbing method
The processing to data volume can be reduced.