CN108931491A - A kind of Multifunctional water portable remote monitor and water quality monitoring method - Google Patents

A kind of Multifunctional water portable remote monitor and water quality monitoring method Download PDF

Info

Publication number
CN108931491A
CN108931491A CN201810826187.9A CN201810826187A CN108931491A CN 108931491 A CN108931491 A CN 108931491A CN 201810826187 A CN201810826187 A CN 201810826187A CN 108931491 A CN108931491 A CN 108931491A
Authority
CN
China
Prior art keywords
module
data
measurement
card
cod
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.)
Pending
Application number
CN201810826187.9A
Other languages
Chinese (zh)
Inventor
严如强
杨建勇
陈超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN201810826187.9A priority Critical patent/CN108931491A/en
Publication of CN108931491A publication Critical patent/CN108931491A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/33Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using ultraviolet light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/18Water
    • G01N33/1806Biological oxygen demand [BOD] or chemical oxygen demand [COD]
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Biochemistry (AREA)
  • Immunology (AREA)
  • Analytical Chemistry (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Biomedical Technology (AREA)
  • Emergency Medicine (AREA)
  • Molecular Biology (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The invention discloses a kind of Multifunctional water portable remote monitor and water quality monitoring methods, monitor includes box body, multichannel spectrophotometry COD module, data access module, GPRS wireless transport module, remotely measures monitoring modular, power module and control display module, multichannel spectrophotometry COD module and power module are set to tray interior, data access module is connect with control unit and host computer, and the GPRS wireless transport module is connect with control unit and long-range measurement monitoring modular respectively;Long-range measurement monitoring modular is connect with GPRS wireless transport module, and carries out data processing;Power module provides power supply for monitor;The control display module is bi-directionally connected with control unit.Real-time control of the present invention shows measurement data, simplifies measuring process and reduces measurement error, improves measurement accuracy and efficiency;Permanent unlimited storing data, real-time dynamic read/write data realize in-site measurement and remote real time monitoring function.

Description

A kind of Multifunctional water portable remote monitor and water quality monitoring method
Technical field
The present invention relates to water monitoring devices and method, more particularly, to a kind of Multifunctional water portable remote monitor And water quality monitoring method.
Background technique
With the development of industry, water pollution is increasingly severe, and COD (COD) can reflect in water by reproducibility object The degree of matter pollution, is the major criterion for measuring environmental quality, currently, the measurement conventional method generally useization of COD Method mainly uses potassium dichromate standard method, coulometric titration, according to its different monitoring method of water quality chlorine ion concentration Difference, fresh water generally use potassium dichromate method, acidic potassium permanganate method, and seawater uses basic potassium permanganate method.But these tradition All there is the disadvantage that reagent dosage is big, and secondary pollution is serious, the testing time is long, operating procedure is many and diverse in method, be not suitable with the modern times The market demand of change.
The spectrophotometry de termination of COD measurement is carried out in the Fundamentals of Measurement of potassium dichromate standard method, its difference It is to titrate potassium bichromate without using iron ammonium sulfate, but uses absorption spectrum principle, according to Cr3+ in solution and Cr6+ How much is ion concentration, and wavelength 420nm and 620nm Manifold Light Way measurement COD concentration is respectively adopted in 3-150mg/ml, 20- The absorbance of 1500mg/ml and 1000-15000mg/ml solution to be measured, therefore according to gained absorbance working curve, can be with Represent COD in water sample.Spectrophotometry de termination is a kind of improvement of potassium dichromate standard method, saves reagent, operation It is convenient.But spectrophotometry is easy the interference by factors such as solution temperature, turbidity, pH value, chlorine ion concentrations, and tradition is gone Except the means of these disturbing factors seem complex, how simple and effective reduction irrelevant factor is to COD measuring accuracy To COD measuring technique, more stringent requirements are proposed for influence.
The existing water-quality COD monitor based on spectrophotometry in market generally requires the dedicated of mating corresponding production company Reagent, therefore have a single function, the compatibility under different measurement environment is very poor, and measuring speed and precision are to be improved, and instrument Device is expensive, bulky is not readily portable, only provides measurement on line lacks data dynamic access and processed offline, only supports In-site measurement is not supported remotely to measure and be monitored, and operating procedure complexity is not easy to practical application.Therefore how to realize and collect multi-functional, price Cheap, data dynamic access and processed offline, in-site measurement and remote monitoring, measurement are simple accurately and fast portable in one It is one of the pressing issues that water quality monitoring instrument is faced.
Summary of the invention
Goal of the invention: a purpose is to provide a kind of Multifunctional water portable remote monitor and water quality monitoring method, To solve the prior art and apply the existing above problem, water quality monitor function is extended, improves water quality monitor to a variety of rings The applicability and compatibility in border realize data dynamic access and processed offline, in-site measurement and remote monitoring, the simple essence of measurement Really, it designs an apparatus and is convenient for carrying, it is cheap, so that water quality monitoring work is more convenient.
Technical solution: it for achieving the above object, adopts the following technical scheme that:
A kind of Multifunctional water portable remote monitor, including box body, multichannel spectrophotometry COD module, number According to access module, GPRS wireless transport module, remotely measure monitoring modular, power module and control display module, in which:
At least two test tube fixing devices are provided on the box body, test tube fixing device passes through box body top plate and gos deep into box body Inside, and it is fixed on box body bottom, test tube fixing device upper end opening, the test tube equipped with test agent is placed on the fixed dress of test tube In setting;
The multichannel spectrophotometry COD module is set to tray interior comprising measuring device, control unit, Signal condition amplifying circuit and multichannel ADC conversion module, measuring device output are connect with the input of signal condition amplifying circuit, Input connection of the output of signal condition amplifying circuit through multichannel ADC conversion module and control unit, control unit The output of PWM control module and an input of measuring device connect;The external RTC block of control unit and crystal oscillator;
The data access module includes SD card data dynamic access module and EEPROM data cache module, SD card data Dynamic access module is bi-directionally connected with control unit and host computer respectively, and the EEPROM data cache module and control unit connect It connects;
The GPRS wireless transport module is directly connect with control unit, and is sent out by antenna to long-range measurement monitoring modular Send monitoring data;
The long-range measurement monitoring modular is used to listen to the connection request of client and waits GPRS wireless transport module logical Connection request is crossed, and carries out data processing;
The power module includes electric power driving module and voltage amplification module, and output and the voltage of electric power driving module are put The output of big module input connection, voltage amplification module is connect with measuring device, control unit and control display module;
The control display module is bi-directionally connected with control unit.
Preferably, the measuring device include at least two multichannel spectrophotometric devices, at least two optical path on-off switches, At least two first light sources, at least two second light sources, at least two first silicon photocell sensors and at least two second silicon Photocell sensor, the multichannel spectrophotometric device are set on test tube fixing device, and the optical path on-off switch setting exists Test tube fixing device inner sidewall, each multichannel spectrophotometric device include first passage and second channel, and described first Light source and second light source are respectively arranged on the outside of the adjacency channel mouth of first passage and second channel, the first silicon photocell sensing Device and the second silicon photocell sensor are located on the outside of another passway of first passage and second channel.
Preferably, the GPRS wireless transport module includes SIM900 module, SIM card link block and power supply power supply electricity Road is carried out data transmission between the SIM900 module and control unit by serial ports, provides 4v voltage by voltage amplification module, Connection is established by the server on GPRS network and Internet, collected data are sent to server by antenna; The SIM card link block is electrically connected with SIM900 module, provides 3v or 1.8v by voltage amplification module by SIM900 module Voltage.
Preferably, the long-range measurement monitoring modular includes data reception module, data disaply moudle, data storage mould Block, the data reception module are listened to the connection from client using TCPListen function in LabView means of communication and are asked It asks, and waits GPRS module to request by TCP connection in designated port, after establishing connection, read eventually using TCP Read function The data for holding transmission, are standard by TCP Read function works mode setting, that is, are waited until reading all specified words Section or " overtime millisecond " are finished, and return to the byte currently read, if reading fixed word joint number of the byte number less than setting, Then report mistake;The data that the data disaply moudle will acquire are converted by format, show data preceding in a tabular form On the visualization interface of panel;The data memory module writes data by Write To Spreadsheet File function Enter in electrical form for processed offline.
The present invention also provides a kind of water quality monitoring method based on above-mentioned Multifunctional water portable remote monitor, packets Include following steps:
(1) multichannel spectrophotometry COD module completes water-quality COD measurement, wherein silicon photocell sensor passes through inspection The variation of water quality illuminance is surveyed, and digital electricity is converted thereof by signal condition amplifying circuit and multichannel ADC conversion module Pressure signal is transmitted to control unit, and water-quality COD value is calculated according to the matched curve about absorbance in control unit;
(2) SD card dynamic access data, system respectively write SD card execution from pseudocurve stage and direct test phase And read operation, opened file will be closed after having executed each read-write operation to SD card, SD card paper work area pointer It resets;
(3) long-range monitoring, system complete long-range monitoring by following steps: module initialization, establish connection, It is shown etc. end to be measured, transmission data, gui interface.
Further, the method for COD is measured in step (1) are as follows:
(11) monitor enters measuring state, resets by all measurement parameters of key control, into measurement wait state, PWM It controls respective channel ultraviolet source to open, power input 3v voltage provides 5v by voltage amplifier circuit for ultraviolet source and stablizes electricity Pressure, when reagent being inserted into the test tube fixing device of spectrophotometric device, optical path on-off switch is pressed, and light is irradiated through reagent In the optical signal receiving end of corresponding silicon photocell sensor;
(12) silicon photocell sensor converts the other analog current signal of microampere order for the illuminance received and is transferred to Signal condition amplifying circuit, signal condition amplifying circuit convert the signal to the analog voltage signal between 0-3.3v be input to it is more Channel ADC conversion module is converted into digital signal, and absorbance calculation formula is as follows:
Absij=Abs0i-Abs1ij(i=0,1, j=0,1 ... n);
Wherein, AbsijThe absorbance of jth time measurement under being 0 or 1 two kind of UV source for corresponding i, Abs1ijTo be divided light It is the illuminance that the jth time measurement of titer reagent is inserted under 0 or 1 two kind of ultraviolet source, Abs0 that i is corresponded in degree device 1iFor light splitting The correspondence i measured in luminosity device 2 is to be inserted into the optical path maximum illuminance for not titrating source solution reagent under 0 or 1 two kind of ultraviolet source; Illuminance and silicon photocell sensor output current value are proportional, therefore:
Wherein, VIFor input analog voltage value, k, l are proportionality coefficient, and R is transfer resistance, and i is input analog current, Abs The illuminance measured for silicon photocell sensor;
Multichannel ADC conversion module is converted to the formula of digital voltage are as follows:
VO=Vc*(3.3/4096);
Wherein, VcFor ADC rule conversion value, VOOutput voltage is converted for ADC;
(13) water-quality COD is calculated by the matched curve about absorbance, and COD calculation formula is as follows:
cij=ai*Absij+bi(i=0,1, j=1,2 ... n);
Wherein, cijThe COD value of jth time measurement under being 0 or 1 two kind of ultraviolet source for corresponding i, AbsijIt is 0 for corresponding i Or the absorbance value of the jth time measurement under 1 two kinds of ultraviolet sources, ai、biIt is fitted under being 0 or 1 two kind of ultraviolet source for corresponding i bent The parameter value of line.
Further, SD card dynamic access method in step (2) are as follows:
(21) system entered from the pseudocurve stage, and the standard reagent of the multiple known COD concentration of insertion measures its extinction respectively Angle value, while corresponding COD numerical value is inputted, multiple groups test data is obtained, experiment curv is fitted using least square method, obtains song Line parameter value, SD card User2 file internal pointer are directed toward file storage data end address, store the parameter value measured;Every time Before executing data writing operation to the User2 file in SD card, system will traverse data in file, and pointer is directed toward in file Data end address;During from pseudocurve, DELETE delete operation is carried out to wrong data;
(22) system enters direct test phase, and SD card User2 file internal pointer is with being directed toward file storage data end Location, control unit read the parameters of formula that last time measurement saves out of SD card;Each read-write operation has been executed later all to SD card Opened file is closed, SD card paper work area's pointer is reset;
(23) curvilinear equation obtained using fitting completes the measurement to test agent, every to have surveyed a correct data, control Unit processed saves the data informations such as time, parameter value, absorbance and the COD value of this measurement to the end of SD card User1 file; N number of measurement data and information can be continuously written into one-shot measurement.
Further, step (3) medium-long range monitoring method are as follows:
When selecting long-range monitoring pattern, system can initialize GPRS wireless transport module, and attempt to establish control Connection between unit processed and GPRS module, after successful connection, system starts to measure, and in real time by measuring state and data It is sent to particular server by Internet, remote monitor device is inquired data from server and designed by specific software Gui interface measures the display processing of data, that is, completes the long-range monitoring of water quality measurement.
The present invention also provides a kind of monitoring methods based on above-mentioned Multifunctional water portable remote monitor, including with Lower step:
(1) after selecting this optical channel for using of measurement, system enter direct test pattern with from pseudocurve model selection Stage, display screen show TEST and two options of WKC, then select WKC from pseudocurve option, again matched curve as needed It obtains being suitable for current measurement lower one group new curvilinear equation parameter of environment, or selection TEST directly tests option, use is existing Equation parameter measures;
(2) system enters circulation standby mode, until reset key be pressed and system monitoring to optical path on-off switch be closed, System carries out first time measurement, and the absorbance value that silicon photocell sensor is received is passed in control unit;
(3) if having selected direct measurement pattern, system reads existing COD calculation formula parameter value out of SD card, Directly carry out the COD value that this measurement is calculated;If selected from pseudocurve mode, need by key-press input this The COD value of measurement;
(4) whether key module has input stop signal to system monitoring, under direct measurement pattern, if input validation signal ENT then continues to measure next group, if input stop signal EXIT, saves all measurement data and then returns to homepage;From Under pseudocurve mode, if input validation signal ENT, continue to measure next group, if input stop signal EXIT, basis The each group COD value of the multiple groups absorbance value and input that have measured calculates the calculation formula parameter value of this matched curve, and will Its end for being stored in User2 file in SD card, simultaneity factor return to TEST directly test and WKC from pseudocurve select the page, Any one in homepage, or selection TEST or WKC, which is returned, by EXIT key at this time repeats above step.
The utility model has the advantages that compared with prior art, present invention employs the spectrophotometry of multi-path to measure COD, avoid Measurement cost has been saved in secondary pollution, by using multichannel simultaneously measure absorbance, be effectively reduced irrelevant factor for The interference of COD measurement makes to measure more accurate quick;It introduces by key control display function and SD card data dynamic access function, Parameter, which saves to call at any time in real time, makes to operate simpler convenience, measures quicker;It can be realized from pseudocurve function, it is convenient Repeatedly measurement is especially suitable for the quick emergency monitoring in scene, adapts to the COD measurement of different measurement objects under a variety of environment;It can It realizes telemeasurement real-time monitoring, is able to achieve measurement monitoring separation and carries out, be especially suitable for field measurement Laboratory Monitoring;Simultaneously Equipment instrument is small to be convenient for carrying, and cheap, is more close to practical application, and meet industry to a certain extent needs with personal It asks, helps further to improve problem of environmental pollution, there is very high social utility value and the value of environmental protection.
Detailed description of the invention
Fig. 1 is monitor structural schematic diagram of the present invention;
Fig. 2 is monitor circuit connection diagram of the present invention;
Fig. 3 is multichannel spectrophotometry COD module circuit schematic of the present invention;
Fig. 4 is COD measurement flow chart of the invention;
Fig. 5 is GPRS data wireless transmission flow chart of the invention;
Fig. 6 is LabView design gui interface figure of the invention.
Specific embodiment
Technical solution of the present invention is described in detail in the following with reference to the drawings and specific embodiments.
The present invention implements a kind of Multifunctional water portable remote monitor and water quality monitoring method, can be realized multichannel Spectrophotometry measurement water-quality COD concentration is shown, SD card data dynamic access, data from pseudocurve, TFTLCD touch screen control Wireless transmission, in-site measurement and long-range monitoring function.Wherein STM32F103RBT6 is master chip (i.e. control unit, similarly hereinafter), association Each module is adjusted orderly to work.
A kind of Multifunctional water portable remote monitor, apparatus measures are simply accurate, and appearance is small and exquisite easy to carry.Including Box body, multichannel spectrophotometry COD module, data access module, GPRS wireless transport module, long-range measurement monitoring mould Block, power module and control display module, in which: at least two test tube fixing devices are provided on the box body, test tube is solid Determine device and go deep into tray interior across box body top plate, and is fixed on box body bottom, test tube fixing device upper end opening, equipped with to be measured The test tube of reagent is placed in test tube fixing device;The multichannel spectrophotometry COD module is set to tray interior, Including measuring device, control unit, signal condition amplifying circuit and multichannel ADC conversion module, measuring device output and signal Improve the input connection of amplifying circuit, the output of signal condition amplifying circuit is through multichannel ADC conversion module and control unit One input connection, the PWM control module output of control unit and an input of measuring device connect;Control unit is external RTC block and crystal oscillator;The data access module includes SD card data dynamic access module and EEPROM data cache module, SD Card data dynamic access module is bi-directionally connected with control unit and host computer respectively, the EEPROM data cache module and control Unit connection;The GPRS wireless transport module is directly connect with control unit, and measures monitoring modular to long-range by antenna Send monitoring data;The long-range measurement monitoring modular is used to listen to the connection request of client and GPRS is waited to be wirelessly transferred mould Block carries out data processing by connection request;The power module includes electric power driving module and voltage amplification module, power supply The output of drive module and the input of voltage amplification module connect, the output of voltage amplification module and measuring device, control unit and Control display module connection;The control display module is bi-directionally connected with control unit.
As shown in Figure 1, Multifunctional water portable remote monitor, apparatus structure includes being placed in integrating for box body center Circuit board, through two test tube fixing devices of tray interior, 4 ultraviolet lights being respectively placed in inside two spectrophotometric devices Source, 4 silicon photocell sensors and two optical path on-off switches are set for fixing the luminosity device firm banking of spectrophotometric device 3v battery supply in box body bottom, is placed in the SD card card slot and SD card of box body lower part, and is placed in the TFTLCD at the top of box body The component parts such as display panel module and GPRS wireless transport module, to complete multichannel spectrophotometry measurement water-quality COD jointly Concentration is shown, the wireless transmission of SD card data dynamic access, data, in-site measurement and remote from pseudocurve, TFTLCD touch screen control Journey monitoring function.Wherein, control unit, signal condition amplifying circuit, multichannel ADC conversion module are integrated on integrated circuit board With EEPROM cache module etc..
As shown in Fig. 2, the connection of system entirety hardware circuit and operating mode are as follows: what is be electrically connected with control unit has voltage Amplification module, TFTLCD touch screen module, SD card data dynamic access module, EEPROM cache module, multichannel ADC modulus of conversion Block, outside RTC, external crystal-controlled oscillation, signal amplification circuit are electrically connected with multichannel ADC conversion module, while GPRS is wirelessly transferred mould SIM900 module and ultraviolet source in block after DC power supply transformation by directly powering, the SIM in GPRS wireless transport module Card module is electrically connected with SIM900 module.The analog signal of silicon photocell sensor module acquisition is through peace volt translation filtering amplification etc. After processing, digital voltage signal is converted by multichannel ADC conversion module, and further send to control unit, the multi-pass ADC conversion module multichannel ADC conversion module under DMA control inside control unit in road works at the same time.
Wherein, two are arranged on box body test tube fixing device, and test tube fixing device, which passes through box body top plate, to be goed deep into box body Portion, and box body bottom, test tube fixing device upper end opening, the test tube equipped with test agent are fixed on by luminosity device firm banking It is placed in test tube fixing device.
Binary channels spectrophotometry COD module includes measuring device, control unit, signal condition amplifying circuit and multi-pass Road ADC conversion module, measuring device include binary channels spectrophotometric device 1, binary channels spectrophotometric device 2, optical path on-off switch 1, Optical path on-off switch 2, luminosity device firm banking 1, luminosity device firm banking 2, ultraviolet source 1, ultraviolet source 2, ultraviolet source 3, Ultraviolet source 4, silicon photocell sensor 1, silicon photocell sensor 2, silicon photocell sensor 3 and silicon photocell sensor 4, it is double Channel spectrophotometric device is set on test tube fixing device, and is arranged in box body;The optical path on-off switch fit closely in Binary channels spectrophotometric device inner wall of the pipe, guarantee can stablize trigger switch when there is reagent insertion;Ultraviolet source 1,2,3 and 4 Be two groups with 1,2,3,4 point of silicon photocell sensor, be respectively placed in binary channels spectrophotometric device two sides, silicon photocell sensor with Ultraviolet source is staggered relatively, improves measurement accuracy;Test tube fixing device is used to fix test agent, optical path on-off switch is used to open Close respective optical path in spectrophotometric device, silicon photocell sensor is used to receive faint analog current signal, the signal tune of absorbance Reason amplifying circuit is used to carry out signal the conversion of peace volt and amplification, multichannel ADC conversion module are used to measure corresponding digital signal And transfer signals to control unit.
As shown in figure 3, the channel one of binary channels spectrophotometric device 1 and 2 is vertically arranged with channel two, binary channels is divided light Spend the silicon photocell sensor 1 in the outside of 1 channel of device one successively after OPA2336UA pacifies volt conversion amplification, the channel ADC1 8 acquires with The input terminal of STM32F103RBT6 connects, and the ultraviolet source 1 of one other side of channel is connect with the PWM module of control unit;Channel Two outside silicon photocell sensor 2 successively through OPA2336UA pacify volt conversion amplification, the channel ADC1 9 acquire after with The input terminal of STM32F103RBT6 connects, and the ultraviolet source 2 of two other side of channel is connect with the PWM module of control unit.Bilateral The silicon photocell sensor 3 in one outside of road 2 channel of spectrophotometric device successively pacifies volt conversion amplification, the channel ADC1 8 through OPA2336UA It is connect after acquisition with the input terminal of STM32F103RBT6, the ultraviolet source 3 of one other side of channel and the PWM module of control unit Connection;The silicon photocell sensor 4 in the outside of channel two successively after OPA2336UA pacifies volt conversion amplification, the channel ADC1 9 acquires with The input terminal of STM32F103RBT6 connects, and the ultraviolet source 4 of two other side of channel is connect with the PWM module of control unit.
Multichannel spectrophotometry COD module is mainly realized: the test agent and untreated water quality that resolution is completed Stoste is inserted into respectively in two spectrophotometric devices, and optical path on-off switch is pressed at this time, is opened by key control selections corresponding Path channels complete from pseudocurve and direct test function.
Multichannel spectrophotometry COD principle are as follows: test agent and water quality stoste are inserted into test tube fixing device, root respectively According to respective optical path in control unit selection spectrophotometric device, when optical path on-off switch is pressed, silicon photocell sensor measures extinction The faint analog current signal of degree, signal conditioning circuit carries out the conversion of peace volt and amplification to signal, by multichannel ADC conversion module It measures corresponding digital signal and transfers signals to control unit, control unit reads relevant parameter from SD card module and calculates COD Value;Selection corresponding optical path is to control ultraviolet source by PWM to complete in spectrophotometric device.
The multichannel spectrophotometry COD module uses two spectrophotometric devices and measures water-quality COD concentration simultaneously, By comparison test agent and water quality stoste absorbance, shielding irrelevant factor interference makes instrument be suitable for a variety of different qualities, together Shi Tigao measurement accuracy.The multichannel spectrophotometry COD module is supported under pseudocurve mode and direct measurement pattern Water-quality COD measurement, when selection is from pseudocurve mode, control unit needs true according to the absorbance that repeatedly measures and COD value The parameter value of settled preceding matched curve, and be deposited into SD card, use when for directly measuring;When the direct measurement pattern of selection When, control unit reads corresponding matched curve parameter value out of SD card automatically, and according to the absorbance value measured, directly calculates The COD concentration value measured.Multichannel ADC conversion module, is controlled by control unit internal DMA controller, can enable multichannel ADC is completed at the same time analog-to-digital conversion, further increases measurement accuracy.
The SD card data dynamic access module is mainly used for realizing depositing for time of measuring, data and measurement parameter Take and the permanent unlimited preservation of data, be convenient under line data processing and directly, repeatedly measurement, measurement needs to store every time Data and relevant information be stored under SD card User1 file, the parameter and relevant information of new fit curve equation all store Under SD card User2 file, storage information can connect host computer display processing with card reader, and circuit is mainly by extrapolation SD Driving circuit composition on card, plate.Driving circuit and the input/output terminal of control unit are bi-directionally connected on the plate, for completing SD Card reads pass signal feedback and dynamic data access;Wherein, it is communicated between driving circuit and control unit using SPI on plate Mode;TFTLCD touch screen module and the input/output terminal of control unit are bi-directionally connected, and SD card is read successfully and data access Successful feedback signal is shown on TFTLCD touch screen by control unit.
The GPRS wireless transport module includes SIM900 module, SIM card link block, the SIM900 module and control Carried out data transmission between unit by serial ports, provides 4v voltage by voltage amplification module, pass through GPRS network and Internet On server establish connection, collected data are sent to server, the SIM card module is electrically connected with SIM900 module It connects, provides 3v or 1.8v voltage through overvoltage conditioning circuit by SIM900 module;The long-range measurement of GPRS wireless transport module collocation In-site measurement and long-range monitoring function can be achieved at the same time in monitoring modular, and the long-range measurement monitoring modular utilizes LabView software The long-range monitoring gui interface of design.
The long-range measurement monitoring modular mainly passes through LabView and reads data from server and design long-range monitoring GUI Interface carries out real-time display processing to measurement process and data.
Electric power driving module by two section 1.5v dry cell batteries at, voltage amplification module by 3v voltage be converted into 3.3v, 4v and 5v output, the 3.3v output end of voltage amplification module are connect with control unit power input, provide chip operation normal voltage; The 5v output end of voltage amplification module is connect with ultraviolet source power input;The 4v output end and SIM900 of voltage amplification module The connection of modular power source input terminal;The output end of optical path on-off switch and the input terminal of control unit connect, and read switch information is used In judging whether to start to measure;
The voltage amplification module makes full use of the low power consumption characteristic of system entirety, and all modules are supplied by same voltage source Electricity separately designs amplifying circuit according to multiple PT1301 chips, and respectively disparate modules provide supply voltage.
Control display module is mainly realized: time of measuring, measurement process and state, fit curve equation parameter, measurement number According to real-time display, and measure process and state using TFTLCD touch screen module and control;Its circuit mainly by with control TFTLCD touch screen module, EEPROM data cache module, the external RTC block composition of unit electrical connection.
The output end of the external RTC block and the input terminal of control unit connect, and provide time scale for system; EEPROM and the input/output terminal of control unit are bi-directionally connected, the access for time of measuring scale;TFTLCD touch screen module It is bi-directionally connected with the input/output terminal of control unit, the process measured for realizing human-computer interaction, real-time control.
Referring to fig. 4, Multifunctional water portable remote monitor integrally measure COD principle it is as follows:
Step A, electric power starting, button control system enter measuring state, reset by all measurement parameters of key control, device Into measurement wait state, PWM controls respective channel ultraviolet source and opens, and power input 3v voltage is by voltage amplifier circuit Ultraviolet source provides 5v burning voltage, when reagent being inserted into the test tube fixing device of spectrophotometric device, optical path on-off switch quilt It presses, light is radiated at the optical signal receiving end of corresponding silicon photocell sensor through reagent;Wherein, each spectrophotometric device Two interior path channels be placed in spectrophotometric device away from bottom end one third at, with guarantee measurement when ultraviolet light must can across to Solution is surveyed, two path channels are disposed vertically;
Step B, silicon photocell sensor convert the other analog current signal of microampere order for the illuminance received and transmit To signal conditioning circuit, signal conditioning circuit converts the signal to the analog voltage signal between 0-3.3v and is input to multichannel ADC conversion module is converted into digital signal, and absorbance calculation formula is as follows:
Absij=Abs0i-Abs1ij(i=0,1, j=0,1 ... n);
Wherein, AbsijThe absorbance of jth time measurement under being 0 or 1 two kind of light source for corresponding i, Abs1ijFor spectrophotometric It is the illuminance that the jth time measurement of titer reagent is inserted under 0 or 1 two kind of light source, Abs0 that i is corresponded in device 1iFor spectrophotometric device The correspondence i measured in 2 is to be inserted into the optical path maximum illuminance for not titrating source solution reagent under 0 or 1 two kind of light source;Wherein, signal Conditioning circuit is mainly made of OPA2336UA chip, the other current signal of the microampere order that circuit measures silicon photocell sensor It is converted into voltage signal, simultaneously amplifies 106Times, voltage is controlled between 0-3.3v, and next step adc data is facilitated to acquire;Illumination Degree is proportional with silicon photocell sensor output current value, therefore:
Wherein, VIFor input analog voltage value, k, l are proportionality coefficient, and R is transfer resistance, and i is input analog current, Abs The illuminance measured for silicon photocell sensor;
Multichannel ADC conversion module has 12 acquisition precisions, using the signal acquisition method of Approach by inchmeal, sampling time For 239.5 periods, while the enabled channel on piece ADC1 8, channel 9 and dma mode is used, realizes that multi channel signals are adopted simultaneously Collection;Wherein, ADC is converted to the formula of digital voltage are as follows:
VO=Vc*(3.3/4096);
VcFor ADC rule conversion value, VOOutput voltage is converted for ADC, for being transmitted at the further data of control unit Reason;
Step C, water-quality COD can be calculated by the matched curve about absorbance, and COD calculation formula is as follows:
cij=ai*Absij+bi(i=0,1, j=1,2 ... n);
Wherein, cijThe COD value of jth time measurement under being 0 or 1 two kind of light source for corresponding i, AbsijIt is 0 or 1 liang for corresponding i The absorbance value of jth time measurement under kind light source, ai、biThe parameter value of matched curve under being 0 or 1 two kind of light source for corresponding i.
Referring to fig. 4, the SD card dynamic access data, working principle are specific as follows:
Step A, system entered from the pseudocurve stage, and the standard reagent of the multiple known COD concentration of insertion measures its suction respectively Shading value, while corresponding COD numerical value is inputted, multiple groups test data is obtained, experiment curv is fitted using least square method, is obtained Parameter of curve value, SD card User2 file internal pointer are directed toward file storage data end address, store the parameter value measured;Often Before the secondary User2 file in SD card executes data writing operation, system will traverse data in file, and pointer is directed toward file Interior data end address ensure that each write operation will not cover legacy data;During from pseudocurve, for the purposes of keeping away Exempt from the influence that wrong data measures univers parameter, user can press DELETE key deletion error data;
Step B, system enter direct test phase, and SD card User2 file internal pointer is directed toward file storage data end Address, control unit read the parameters of formula that last time measurement saves out of SD card;After having executed each read-write operation to SD card Opened file will be closed, SD card paper work area's pointer is reset, and facilitates progress SD card read-write operation next time;
Step C, the curvilinear equation obtained using fitting completes the measurement to test agent, every to have surveyed a correct data, Control unit saves the data informations such as time, parameter value, absorbance and the COD value of this measurement to the end of SD card User1 file End;The process that measurement data is written is similar with the process of write-in from pseudocurve parameter, and N number of survey can be continuously written into one-shot measurement Measure data and information.
Referring to fig. 4, the operating mode of described two kinds measurement COD, working principle are specific as follows:
Step A, after selecting this optical channel for using of measurement, system entered directly test and from the pseudocurve choice phase, Display screen shows TEST and two options of WKC, and user can select as needed WKC from pseudocurve option, and matched curve obtains again To current measurement lower one group new curvilinear equation parameter of environment is suitable for, TEST also may be selected and directly test option, use is existing Equation parameter measures, and the latter is more biased towards under the same environment of same water quality or same in this measurement and last time measurement In the case of the multiple measurement of secondary experiment;
Step B, system enter circulation standby mode, until reset key is pressed and system monitoring is closed to optical path on-off switch It closes, system carries out first time measurement, and the absorbance value that silicon photocell sensor is received is passed in control unit;
Step C, if having selected direct measurement pattern, system reads existing COD calculation formula parameter out of SD card Value directly carries out the COD value that this measurement is calculated;If having selected to need user to pass through key from pseudocurve mode Input the COD value of this measurement;
Step D, whether key module has input stop signal to system monitoring, under direct measurement pattern, if input validation Signal ENT then continues to measure next group, if input stop signal EXIT, saves all measurement data and then returns to homepage Face;From under pseudocurve mode, if input validation signal ENT, continue to measure next group, if input stop signal EXIT, The calculation formula parameter of this matched curve is then calculated according to each group COD value of the multiple groups absorbance value and input that have measured Value, and saves it in the end of User2 file in SD card, and simultaneity factor returns to that TEST directly test and WKC is from pseudocurve choosing The page is selected, user can return to homepage by EXIT key at this time, and any one that also can choose in TEST or WKC repeats Above step.
Referring to Fig. 5, control unit can select in-site measurement mode or long-range monitoring pattern as needed, the latter be more biased towards in Experimental study personnel are more suitable for the outdoor water quality measurement of laboratory, company's environment under not in the case where measure field. When selecting long-range monitoring pattern, system can initialize GPRS wireless transport module, and attempt establish control unit with Connection between GPRS wireless transport module, after successful connection, system starts to measure, and in real time by measuring state and data It is sent to particular server by Internet, remote monitor device (host computer) is inquired data from server and passed through specific soft Part (LabView) design gui interface measures the display processing of data, and the long-range monitoring of water quality measurement can be completed.
Referring to Fig. 6, the long-range measurement monitoring modular of system is that host computer monitoring of software GUI design is carried out based on LabView, It mainly include data reception module, data disaply moudle, data memory module design, using in LabView means of communication TCPListen function listens to the connection request from client, and waits GPRS wireless transport module to pass through TCP in designated port Connection request, after establishing connection, the data transmitted using TCP Read function reading terminals, by TCP Read function works mode It is set as standard, that is, is waited until all specified bytes of reading or " overtime millisecond " are finished, return has currently been read Byte, if read byte number less than setting fixed word joint number, then report mistake.Data disaply moudle is shown in a tabular form Registration evidence is write the data in electrical form by Write To Spreadsheet File function for processed offline.
In short, the present invention using STM32 realize multichannel spectrophotometry measurement water-quality COD concentration, from pseudocurve, TFTLCD touch screen control shows, the wireless transmission of SD card data dynamic access, data, in-site measurement and long-range monitoring function, more Function spectrophotometry COD helps to better adapt to a variety of measurement environment, reduces secondary pollution, and multichannel measures simultaneously, The influence that unrelated interruptions factor measures COD is effectively reduced, makes to measure more accurate quick;Status monitoring regulation facilitates more preferable Human-computer interaction is realized on ground, makes that measuring state is more controllable, measurement process is simple and fast;SD card data dynamic access facilitates on line Directly repeatedly measurement and time scale, from pseudocurve parameters of formula, measurement data permanent unlimited storage, in order under line number According to processing;GPRS wireless transport module and long-range measurement monitoring helps to realize measurement and monitoring process is not limited by distance, more It is suitable for the practical applications such as the indoor and outdoor measurement of the objects such as personal, laboratory and company well;Whole instrument price is low Honest and clean, small in size to be easy to carry about with one, easy to operate, measurement process rapid and convenient, preferably adapting to actual needs and personal and market needs It asks.
As shown in Figure 4 and Figure 5, a kind of water quality monitoring method based on Multifunctional water remote monitoring instrument, this method include Following steps:
Firstly, carrying out system initialization, main interface is shown, instrument parameter is set, starts to test;Then selection as needed In-site measurement mode or long-range monitoring pattern, specifically:
(1) long-range monitoring pattern:
(11) GPRS connection is carried out
GPRS connection is established, and judges whether connection succeeds, starts measurement data if successful connection, and send monitoring number According to arrive server;If connection is unsuccessful, step (201) are continued to execute;
(12) processing data are obtained, and send data to server;
(13) judge whether to exit long-range monitoring, if then return step (2), if the otherwise acquisition in return step (4) Handle data;
(2) in-site measurement mode: in-site measurement mode includes direct test pattern and from pseudocurve mode;Specifically:
(21) direct test pattern:
(211) reset key is pressed, SD parameter value is read, presses optical path on-off switch;
Electric power starting, button control system enter measuring state, reset by all measurement parameters of key control, device enters survey Wait state is measured, PWM controls respective channel ultraviolet source and opens, and power input 3v voltage is ultraviolet light by voltage amplifier circuit Source provides 5v burning voltage, and when reagent being inserted into the test tube fixing device of spectrophotometric device, optical path on-off switch is pressed, light Line is radiated at the optical signal receiving end of corresponding silicon photocell sensor through reagent;Wherein, two in each spectrophotometric device A path channels be placed in spectrophotometric device away from bottom end one third at, with guarantee measurement when ultraviolet light must can pass through it is to be measured molten Liquid, two path channels are disposed vertically;
(212) absorbance is calculated
Silicon photocell sensor converts the other analog current signal of microampere order for the illuminance received and is transferred to signal Conditioning circuit, signal conditioning circuit convert the signal to the analog voltage signal between 0-3.3v and are input on piece ADC collector It is converted into digital signal, absorbance calculation formula is as follows:
Absij=Abs0i-Abs1ij(i=0,1, j=0,1 ... n);
Wherein, AbsijThe absorbance of jth time measurement under being 0 or 1 two kind of light source for corresponding i, Abs1ijFor spectrophotometric It is the illuminance that the jth time measurement of titer reagent is inserted under 0 or 1 two kind of light source, Abs0 that i is corresponded in device 1iFor spectrophotometric device The correspondence i measured in 2 is to be inserted into the optical path maximum illuminance for not titrating source solution reagent under 0 or 1 two kind of light source;Wherein, signal Conditioning circuit is mainly made of OPA2336UA chip, the other current signal of the microampere order that circuit measures silicon photocell sensor It is converted into voltage signal, simultaneously amplifies 106Times, voltage is controlled between 0-3.3v, and next step adc data is facilitated to acquire;Illumination Degree is proportional with silicon photocell sensor output current value, therefore:
Wherein, VIFor input analog voltage value, k, l are proportionality coefficient, and R is transfer resistance, and i is input analog current, Abs The illuminance measured for silicon photocell sensor;
Multichannel ADC conversion module has 12 acquisition precisions, using the signal acquisition method of Approach by inchmeal, sampling time For 239.5 periods, while the enabled channel on piece ADC1 8, channel 9 and dma mode is used, realizes that multi channel signals are adopted simultaneously Collection;Wherein, ADC is converted to the formula of digital voltage are as follows:
VO=Vc*(3.3/4096);
VcFor ADC rule conversion value, VOOutput voltage is converted for ADC, for being transmitted at the further data of control unit Reason;
(213) COD is measured
Water-quality COD can be calculated by the matched curve about absorbance, and COD calculation formula is as follows:
cij=ai*Absij+bi(i=0,1, j=1,2 ... n);
Wherein, cijThe COD value of jth time measurement under being 0 or 1 two kind of light source for corresponding i, AbsijIt is 0 or 1 liang for corresponding i The absorbance value of jth time measurement under kind light source, ai、biThe parameter value of matched curve under being 0 or 1 two kind of light source for corresponding i.
(214) data are stored in SD card
SD card User2 file internal pointer is directed toward file storage data end address, on control unit is read out of SD card The parameters of formula that secondary measurement saves;Opened file will be closed after having executed each read-write operation to SD card, SD card text Part workspace pointer is reset, and facilitates progress SD card read-write operation next time;
The curvilinear equation obtained using fitting completes the measurement to test agent, every to have surveyed a correct data, and control is single Member saves the data informations such as time, parameter value, absorbance and the COD value of this measurement to the end of SD card User1 file;Write-in The process of measurement data is similar with the process of write-in from pseudocurve parameter, and N number of measurement data can be continuously written into one-shot measurement And information.
(215) test is exited, display main interface is returned;
(22) from pseudocurve mode:
(221) reset key is pressed, SD parameter value is read, presses optical path on-off switch;
Electric power starting, button control system enter measuring state, reset by all measurement parameters of key control, device enters survey Wait state is measured, PWM controls respective channel ultraviolet source and opens, and power input 3v voltage is ultraviolet light by voltage amplifier circuit Source provides 5v burning voltage, and when reagent being inserted into the test tube fixing device of spectrophotometric device, optical path on-off switch is pressed, light Line is radiated at the optical signal receiving end of corresponding silicon photocell sensor through reagent;Wherein, two in each spectrophotometric device A path channels be placed in spectrophotometric device away from bottom end one third at, with guarantee measurement when ultraviolet light must can pass through it is to be measured molten Liquid, two path channels are disposed vertically;
(222) absorbance is calculated
Silicon photocell sensor converts the other analog current signal of microampere order for the illuminance received and is transferred to signal Conditioning circuit, signal conditioning circuit convert the signal to the analog voltage signal between 0-3.3v and are input on piece ADC collector It is converted into digital signal, absorbance calculation formula is as follows:
Absij=Abs0i-Abs1ij(i=0,1, j=0,1 ... n);
Wherein, AbsijThe absorbance of jth time measurement under being 0 or 1 two kind of light source for corresponding i, Abs1ijFor spectrophotometric It is the illuminance that the jth time measurement of titer reagent is inserted under 0 or 1 two kind of light source, Abs0 that i is corresponded in device 1iFor spectrophotometric device The correspondence i measured in 2 is to be inserted into the optical path maximum illuminance for not titrating source solution reagent under 0 or 1 two kind of light source;Wherein, signal Conditioning circuit is mainly made of OPA2336UA chip, the other current signal of the microampere order that circuit measures silicon photocell sensor It is converted into voltage signal, simultaneously amplifies 106Times, voltage is controlled between 0-3.3v, and next step adc data is facilitated to acquire;Illumination Degree is proportional with silicon photocell sensor output current value, therefore:
Wherein, VIFor input analog voltage value, k, l are proportionality coefficient, and R is transfer resistance, and i is input analog current, Abs The illuminance measured for silicon photocell sensor;
Multichannel ADC conversion module has 12 acquisition precisions, using the signal acquisition method of Approach by inchmeal, sampling time For 239.5 periods, while the enabled channel on piece ADC1 8, channel 9 and dma mode is used, realizes that multi channel signals are adopted simultaneously Collection;Wherein, ADC is converted to the formula of digital voltage are as follows:
VO=Vc*(3.3/4096);
VcFor ADC rule conversion value, VOOutput voltage is converted for ADC, for being transmitted at the further data of control unit Reason;
(223) water-quality COD measures
Water-quality COD can be calculated by the matched curve about absorbance, and COD calculation formula is as follows:
cij=ai*Absij+bi(i=0,1, j=1,2 ... n);
Wherein, cijThe COD value of jth time measurement under being 0 or 1 two kind of light source for corresponding i, AbsijIt is 0 or 1 liang for corresponding i The absorbance value of jth time measurement under kind light source, ai、biThe parameter value of matched curve under being 0 or 1 two kind of light source for corresponding i.
(224) deletion error data, and cache valid data;
During from pseudocurve, for the purposes of the influence for avoiding wrong data from measuring univers parameter, user can be by Lower DELETE key deletion error data;And valid data are cached;
(225) calculating parameter value, and it is stored in SD card;
The standard reagent for being inserted into multiple known COD concentration measures its absorbance value respectively, while inputting corresponding COD number Value, obtains multiple groups test data, is fitted experiment curv using least square method, obtains parameter of curve value, in SD card User2 file Portion's pointer is directed toward file storage data end address, stores the parameter value measured;The User2 file execution in SD card is write every time Before data manipulation, system will traverse data in file, and pointer is directed toward the data end address in file, ensure that every time Write operation will not cover legacy data;
The curvilinear equation obtained using fitting completes the measurement to test agent, every to have surveyed a correct data, and control is single Member saves the data informations such as time, parameter value, absorbance and the COD value of this measurement to the end of SD card User1 file;Write-in The process of measurement data is similar with the process of write-in from pseudocurve parameter, and N number of measurement data can be continuously written into one-shot measurement And information.
(226) test terminates, and returns to display main interface.
The present invention quickly detects water-quality COD concentration using different wave length for different quality measurement demand, may be selected direct Measurement or certainly quasi- experiment curv mode, pass through multichannel and measure simultaneously and take its average value in contrast, effectively evade a large amount of nothings Factor influence in pass utmostly reduces measurement error, guarantees the measuring speed repeatedly measured under different quality environment and precision;Draw Enter TFTLCD touch screen module, real-time control shows measurement data, simplifies measuring process and reduces measurement error;Introduce SD card mould Block, permanent unlimited storing data, real-time dynamic read/write data, facilitate data online access and line under handle;Introduce GPRS without Line transmission module and monitoring modular is remotely measured, GUI is monitored using LabView design host computer, realizes in-site measurement and long-range Real time monitoring function.

Claims (9)

1. a kind of Multifunctional water portable remote monitor, it is characterised in that: including box body, multichannel spectrophotometry COD module, GPRS wireless transport module, remotely measures monitoring modular, power module and control display mould at data access module Block, in which:
At least two test tube fixing devices are provided on the box body, test tube fixing device, which passes through box body top plate, to be goed deep into box body Portion, and it is fixed on box body bottom, test tube fixing device upper end opening, the test tube equipped with test agent is placed on test tube fixing device It is interior;
The multichannel spectrophotometry COD module is set to tray interior comprising measuring device, control unit, signal Amplifying circuit and multichannel ADC conversion module are improved, measuring device output is connect with the input of signal condition amplifying circuit, signal The output of conditioning amplifying circuit is connected through multichannel ADC conversion module and control unit input, the PWM control of control unit The output of molding block and an input of measuring device connect;The external RTC block of control unit and crystal oscillator;
The data access module includes SD card data dynamic access module and EEPROM data cache module, SD card data dynamic Access module is bi-directionally connected with control unit and host computer respectively, and the EEPROM data cache module is connect with control unit;
The GPRS wireless transport module is directly connect with control unit, and sends prison to long-range measurement monitoring modular by antenna Measured data;
The long-range measurement monitoring modular is used to listen to the connection request of client and GPRS wireless transport module is waited to pass through company Request is connect, and carries out data processing;
The power module includes electric power driving module and voltage amplification module, output and the voltage amplification mould of electric power driving module The output of block input connection, voltage amplification module is connect with measuring device, control unit and control display module;
The control display module is bi-directionally connected with control unit.
2. a kind of Multifunctional water portable remote monitor according to claim 1, it is characterised in that: the measurement dress It sets including at least two multichannel spectrophotometric devices, at least two optical path on-off switches, at least two first light sources, at least two Second light source, at least two first silicon photocell sensors and at least two second silicon photocell sensors, the multichannel point Light luminosity device is set on test tube fixing device, and optical path on-off switch setting is described every in test tube fixing device inner sidewall A multichannel spectrophotometric device includes first passage and second channel, and the first light source and second light source are respectively arranged on first On the outside of the adjacency channel mouth of channel and second channel, first silicon photocell sensor and the second silicon photocell sensor difference On the outside of another of first passage and second channel passway.
3. a kind of Multifunctional water portable remote monitor according to claim 1, it is characterised in that: the GPRS without Line transmission module includes SIM900 module, SIM card link block and power-supplying circuit, the SIM900 module and control unit Between carried out data transmission by serial ports, 4v voltage is provided by voltage amplification module, by GPRS network and Internet Server establishes connection, and collected data are sent to server by antenna;The SIM card link block and SIM900 mould Block electrical connection provides 3v or 1.8v voltage by voltage amplification module by SIM900 module.
4. a kind of Multifunctional water portable remote monitor according to claim 1, it is characterised in that: the long-range survey Amount monitoring modular includes data reception module, data disaply moudle, data memory module, and the data reception module utilizes TCPListen function listens to the connection request from client in LabView means of communication, and waits GPRS mould in designated port Block is requested by TCP connection, after establishing connection, the data transmitted using TCP Read function reading terminals, by TCP Read letter Number operating mode is set as standard, that is, waits until all specified bytes of reading or " overtime millisecond " are finished, return is worked as The preceding byte read then reports mistake if reading fixed word joint number of the byte number less than setting;The data show mould The data that block will acquire are converted by format, show data in front on the visualization interface of plate in a tabular form;The number According to memory module by Write To Spreadsheet File function, write the data in electrical form for processed offline.
5. a kind of water quality monitoring method based on any one of the claim 1-4 Multifunctional water portable remote monitor, Characterized by comprising the following steps:
(1) multichannel spectrophotometry COD module completes water-quality COD measurement, wherein silicon photocell sensor passes through detection water The variation of matter illuminance, and digital voltage letter is converted thereof by signal condition amplifying circuit and multichannel ADC conversion module Number it is transmitted to control unit, water-quality COD value is calculated according to the matched curve about absorbance in control unit;
(2) SD card dynamic access data, system are executing write and read to SD card respectively from pseudocurve stage and direct test phase Operation will close opened file after having executed each read-write operation to SD card, and SD card paper work area's pointer is reset;
(3) long-range monitoring, system complete long-range monitoring by following steps: connection, waiting are established in module initialization Measurement terminates, transmits data, gui interface is shown.
6. a kind of water quality monitoring method based on Multifunctional water portable remote monitor according to claim 5, It is characterized in that, the method for measurement COD in step (1) are as follows:
(11) monitor enters measuring state, resets by all measurement parameters of key control, into measurement wait state, PWM control Respective channel ultraviolet source is opened, and power input 3v voltage provides 5v burning voltage by voltage amplifier circuit for ultraviolet source, When reagent being inserted into the test tube fixing device of spectrophotometric device, optical path on-off switch is pressed, and light is radiated at through reagent The optical signal receiving end of corresponding silicon photocell sensor;
(12) silicon photocell sensor converts the other analog current signal of microampere order for the illuminance received and is transferred to signal Amplifying circuit is improved, signal condition amplifying circuit converts the signal to the analog voltage signal between 0-3.3v and is input to multichannel ADC conversion module is converted into digital signal, and absorbance calculation formula is as follows:
Absij=Abs0i-Abs1ij(i=0,1, j=0,1 ... n);
Wherein, AbsijThe absorbance of jth time measurement under being 0 or 1 two kind of UV source for corresponding i, Abs1ijFor spectrophotometric device 1 Middle corresponding i is the illuminance that the jth time measurement of titer reagent is inserted under 0 or 1 two kind of ultraviolet source, Abs0iFor spectrophotometric The correspondence i measured in device 2 is to be inserted into the optical path maximum illuminance for not titrating source solution reagent under 0 or 1 two kind of ultraviolet source;Illumination Degree is proportional with silicon photocell sensor output current value, therefore:
Wherein, VIFor input analog voltage value, k, l are proportionality coefficient, and R is transfer resistance, and i is input analog current, and Abs is silicon The illuminance that photocell sensor measures;
Multichannel ADC conversion module is converted to the formula of digital voltage are as follows:
VO=Vc*(3.3/4096);
Wherein, VcFor ADC rule conversion value, VOOutput voltage is converted for ADC;
(13) water-quality COD is calculated by the matched curve about absorbance, and COD calculation formula is as follows:
cij=ai*Absij+bi(i=0,1, j=1,2 ... n);
Wherein, cijThe COD value of jth time measurement under being 0 or 1 two kind of ultraviolet source for corresponding i, AbsijIt is 0 or 1 liang for corresponding i The absorbance value of jth time measurement under kind ultraviolet source, ai、biThe ginseng of matched curve under being 0 or 1 two kind of ultraviolet source for corresponding i Numerical value.
7. a kind of water quality monitoring method based on Multifunctional water portable remote monitor according to claim 5, It is characterized in that, SD card dynamic access method in step (2) are as follows:
(21) system entered from the pseudocurve stage, and the standard reagent of the multiple known COD concentration of insertion measures its absorbance value respectively, Corresponding COD numerical value is inputted simultaneously, obtains multiple groups test data, experiment curv is fitted using least square method, obtains curve ginseng Numerical value, SD card User2 file internal pointer are directed toward file storage data end address, store the parameter value measured;Every time to SD Before User2 file in card executes data writing operation, system will traverse data in file, and pointer is directed toward the number in file According to end address;During from pseudocurve, DELETE delete operation is carried out to wrong data;
(22) system enters direct test phase, and SD card User2 file internal pointer is directed toward file storage data end address, control Unit processed reads the parameters of formula that last time measurement saves out of SD card;It will be after having executed each read-write operation to SD card Closing of a file is opened, SD card paper work area's pointer is reset;
(23) curvilinear equation obtained using fitting completes the measurement to test agent, every to have surveyed a correct data, and control is single Member saves the data informations such as time, parameter value, absorbance and the COD value of this measurement to the end of SD card User1 file;Once N number of measurement data and information can be continuously written into measurement.
8. a kind of water quality monitoring method based on Multifunctional water portable remote monitor according to claim 5, It is characterized in that, step (3) medium-long range monitoring method are as follows:
When selecting long-range monitoring pattern, system can initialize GPRS wireless transport module, and attempt to establish control list Connection between member and GPRS module, after successful connection, system starts to measure, and in real time passes through measuring state and data Internet is sent to particular server, and remote monitor device inquires data from server and designs GUI circle by specific software Face measures the display processing of data, that is, completes the long-range monitoring of water quality measurement.
9. a kind of monitoring method based on the described in any item Multifunctional water portable remote monitors of claim 1-4, It is characterized in that, comprising the following steps:
(1) after selecting this optical channel for using of measurement, system enter direct test pattern with from the pseudocurve model selection stage, Display screen shows TEST and two options of WKC, and then selection WKC is from pseudocurve option as needed, and matched curve obtains again Suitable for currently measuring lower one group new curvilinear equation parameter of environment, or selection TEST directly tests option, with existing equation Parameter measures;
(2) system enters circulation standby mode, until reset key be pressed and system monitoring to optical path on-off switch be closed, system First time measurement is carried out, the absorbance value that silicon photocell sensor is received is passed in control unit;
(3) if having selected direct measurement pattern, system reads existing COD calculation formula parameter value out of SD card, directly Carry out the COD value that this measurement is calculated;If having selected to need from pseudocurve mode through this measurement of key-press input COD value;
(4) whether key module has input stop signal to system monitoring, under direct measurement pattern, if input validation signal ENT, Then continue to measure next group, if input stop signal EXIT, saves all measurement data and then return to homepage;From quasi- song Under ray mode, if input validation signal ENT, continue to measure next group, if input stop signal EXIT, basis have been surveyed The each group COD value of the multiple groups absorbance value and input that obtain calculates the calculation formula parameter value of this matched curve, and is protected There are the end of User2 file in SD card, simultaneity factor return to TEST directly test and WKC from pseudocurve select the page, at this time Any one in homepage, or selection TEST or WKC, which is returned, by EXIT key repeats above step.
CN201810826187.9A 2018-07-25 2018-07-25 A kind of Multifunctional water portable remote monitor and water quality monitoring method Pending CN108931491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810826187.9A CN108931491A (en) 2018-07-25 2018-07-25 A kind of Multifunctional water portable remote monitor and water quality monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810826187.9A CN108931491A (en) 2018-07-25 2018-07-25 A kind of Multifunctional water portable remote monitor and water quality monitoring method

Publications (1)

Publication Number Publication Date
CN108931491A true CN108931491A (en) 2018-12-04

Family

ID=64444615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810826187.9A Pending CN108931491A (en) 2018-07-25 2018-07-25 A kind of Multifunctional water portable remote monitor and water quality monitoring method

Country Status (1)

Country Link
CN (1) CN108931491A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110887878A (en) * 2019-11-04 2020-03-17 南开大学 Microflow water quality COD on-line detection and remote monitoring system and method
CN111043973A (en) * 2019-12-12 2020-04-21 浙江大学 Hydrogen isotope crystallization height and surface roughness interference measurement device and method
CN112505271A (en) * 2020-11-18 2021-03-16 水利部交通运输部国家能源局南京水利科学研究院 Underground water multi-parameter measuring device and system applied to seawater intrusion area

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020089065A (en) * 2001-05-22 2002-11-29 주식회사 이오니아 On-Line Water Quality Measurememt System
CN1719233A (en) * 2005-06-24 2006-01-11 华泰集团有限公司 Fast determination method of chemical oxygen demand
US20110115640A1 (en) * 2009-11-19 2011-05-19 National Taiwan University Automated remote water quality monitoring system with wireless communication capabilities and the method thereof
CN103592242A (en) * 2013-11-11 2014-02-19 天津大学 Method for measuring COD (chemical oxygen demand) of seawater
CN104034684A (en) * 2014-06-05 2014-09-10 北京金达清创环境科技有限公司 Water quality multi-index detection method on basis of ultraviolet-visible absorption spectrum
CN104535520A (en) * 2015-01-09 2015-04-22 成都海兰天澄科技有限公司 Automatic COD detector capable of being remotely controlled
CN205943044U (en) * 2016-04-25 2017-02-08 天津盛优宝网络科技有限公司 Drinking water safety monitoring and early warning system
CN206359284U (en) * 2016-11-18 2017-07-28 深圳市清山泉环保科技有限公司 A kind of monitor-type water purifier

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020089065A (en) * 2001-05-22 2002-11-29 주식회사 이오니아 On-Line Water Quality Measurememt System
CN1719233A (en) * 2005-06-24 2006-01-11 华泰集团有限公司 Fast determination method of chemical oxygen demand
US20110115640A1 (en) * 2009-11-19 2011-05-19 National Taiwan University Automated remote water quality monitoring system with wireless communication capabilities and the method thereof
CN103592242A (en) * 2013-11-11 2014-02-19 天津大学 Method for measuring COD (chemical oxygen demand) of seawater
CN104034684A (en) * 2014-06-05 2014-09-10 北京金达清创环境科技有限公司 Water quality multi-index detection method on basis of ultraviolet-visible absorption spectrum
CN104535520A (en) * 2015-01-09 2015-04-22 成都海兰天澄科技有限公司 Automatic COD detector capable of being remotely controlled
CN205943044U (en) * 2016-04-25 2017-02-08 天津盛优宝网络科技有限公司 Drinking water safety monitoring and early warning system
CN206359284U (en) * 2016-11-18 2017-07-28 深圳市清山泉环保科技有限公司 A kind of monitor-type water purifier

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐熠刚 等: "远程地下水COD在线检测仪设计", 《智能仪器与传感技术》 *
陈金龙: "基于GPRS的COD值远程监控系统研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110887878A (en) * 2019-11-04 2020-03-17 南开大学 Microflow water quality COD on-line detection and remote monitoring system and method
CN111043973A (en) * 2019-12-12 2020-04-21 浙江大学 Hydrogen isotope crystallization height and surface roughness interference measurement device and method
CN111043973B (en) * 2019-12-12 2020-10-23 浙江大学 Hydrogen isotope crystallization height and surface roughness interference measurement device and method
CN112505271A (en) * 2020-11-18 2021-03-16 水利部交通运输部国家能源局南京水利科学研究院 Underground water multi-parameter measuring device and system applied to seawater intrusion area

Similar Documents

Publication Publication Date Title
CN108931491A (en) A kind of Multifunctional water portable remote monitor and water quality monitoring method
CN108956512A (en) A kind of Multifunctional water Portable rapid detector and its application method and detection method
CN104251861A (en) Intelligent terminal-based liquid detection analyzer and detection method using the same
CN101556240B (en) Chlorophyll measuring apparatus based on RGB (red, green and blue) three-primary colors digital signals
CN206546331U (en) The fluorescence immunity analyzer of illegal drug in a kind of quick detection food
CN1176372C (en) A potentiometric titration instrument
CN109191819B (en) Multi-point water quality monitoring and analyzing system and method based on clustering algorithm
CN102435555A (en) Multispectral water quality analyzer
CN206696177U (en) A kind of Portable near infrared multi-channel spectrometer
CN202256140U (en) Multispectral water quality analyzer
CN203337259U (en) Hand-held optical radiation meter
CN100588962C (en) A kind of portable two-channel electrochemical analysing equipment
CN201107295Y (en) Portable twin channel electrochemistry analytical equipment
CN104297230A (en) Portable type biochip detection device
CN209263268U (en) Intelligent air purifier control system
CN204188517U (en) A kind of two formula liquid-detecting thoroughly
CN208654607U (en) Infrared intelligent spectral detection system
CN204008454U (en) Portable near infrared spectrometer for detection of mould index in storage paddy
CN201535758U (en) Soil measuring device
CN209117582U (en) A kind of hand-held quantitative testing device
CN109270015A (en) A kind of multiple spot Monitoring And Analysis of The Quality system and method for monitoring and analyzing based on improved RBFNN algorithm
CN108627627A (en) A kind of novel intelligent water quality detection instrument
CN210090300U (en) Bromate content detection device in drinking water
CN209961689U (en) Portable test paper strip scanning and reading instrument
CN202947967U (en) ARM-based portable flue gas analyzer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181204