CN109116043A - Monitoring water quality on line equipment and control method based on programmable controller - Google Patents

Monitoring water quality on line equipment and control method based on programmable controller Download PDF

Info

Publication number
CN109116043A
CN109116043A CN201811081100.6A CN201811081100A CN109116043A CN 109116043 A CN109116043 A CN 109116043A CN 201811081100 A CN201811081100 A CN 201811081100A CN 109116043 A CN109116043 A CN 109116043A
Authority
CN
China
Prior art keywords
instruction
programmable controller
digital output
valve
output end
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.)
Granted
Application number
CN201811081100.6A
Other languages
Chinese (zh)
Other versions
CN109116043B (en
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.)
Shenyang Hanwei Technology Co Ltd
Original Assignee
Shenyang Hanwei Technology Co Ltd
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 Shenyang Hanwei Technology Co Ltd filed Critical Shenyang Hanwei Technology Co Ltd
Priority to CN201811081100.6A priority Critical patent/CN109116043B/en
Publication of CN109116043A publication Critical patent/CN109116043A/en
Application granted granted Critical
Publication of CN109116043B publication Critical patent/CN109116043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/02Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor using a plurality of sample containers moved by a conveyor system past one or more treatment or analysis stations
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Sampling And Sample Adjustment (AREA)

Abstract

Present invention relates particularly to a kind of monitoring water quality on line equipment and control method based on programmable controller, belong to water quality monitoring apparatus field;The equipment includes control system, peristaltic pump, stepper motor driver, meter, multiposition valve, two-position three-way valve, the first high pressure valve, digestion pool, the second high pressure valve, fan, shut-off valve, control pump, overflow cup, the first reagent bottle, the second reagent bottle, standard sample bottle, third reagent bottle and distilled water bottle;The described method includes: 1) establish instruction in the controls;2) it executes instruction, checks each component of the monitoring device, and clean digestion pool and meter;3) the monitoring water quality on line equipment is calibrated using standard sample;4) period monitored by touch screen to programmable controller setting;5) starting monitoring.

Description

Monitoring water quality on line equipment and control method based on programmable controller
Technical field
The invention belongs to water quality monitoring apparatus fields, and in particular to a kind of monitoring water quality on line based on programmable controller Equipment and control method.
Background technique
Water quality monitoring is type, the concentration and variation tendency of each pollutant of pollutant in monitoring and measurement water body, comments The process of valence water quality condition.Monitoring range is very extensive, including is not contaminated and contaminated natural water (river, river, lake, sea And underground water) and various industrial water drainages etc..Monitoring water quality on line equipment in the present invention mainly uses spectrophotometric Method carries out real-time monitoring to the COD in water, ammonia nitrogen, total nitrogen, total phosphorus and heavy metal element, principle be by water sample with Then two or three kinds of reagent is used according to langbobier law using the light of certain wavelength and is divided according to certain process hybrid reaction COD, ammonia nitrogen, total nitrogen, total phosphorus and heavy metal element in light Spectrophotometric Determination.
Monitoring water quality on line equipment include sampling unit, metering units, reactor unit, detection unit, data acquisition with Control unit etc., the control system of monitoring water quality on line equipment mostly uses one chip microcomputer (single-chip microcontroller) technology at present, this The shortcomings that kind technology is that master board is influenced by factors such as mask-making technology, layout structure, device qualities, so as to cause with monolithic The poor anti jamming capability of the control system of the monitoring water quality on line equipment of machine exploitation, high failure rate.
Summary of the invention
For the above technical problems, the present invention provides a kind of monitoring water quality on line based on programmable controller and sets It is standby, comprising: control system, stepper motor driver, meter, multiposition valve, two-position three-way valve, the first high pressure valve, disappears at peristaltic pump Xie Chi, the second high pressure valve, fan, shut-off valve, control pump, overflow cup, the first reagent bottle, the second reagent bottle, standard sample bottle, the Three reagent bottles and distilled water bottle;
One end of the peristaltic pump is connected to outside air;
The stepper motor driver connects and controls the progress motor of peristaltic pump;
The meter includes gauge line, upper liquid level sensor, lower liquid level sensor;One end of the meter with it is described The other end of peristaltic pump connects, and the other end of meter is connect with the centre bore of the multiposition valve;
The multiposition valve includes centre bore, multiposition valve port K1-K8 and multidigit valve relay J1-J8;
The centre bore is connect with multiposition valve port K1-K8 respectively;
The multidigit valve relay J1-J8 is respectively corresponded and is controlled the multiposition valve port K1-K8 opening and closing;
The multiposition valve port K2 is connect with the second reagent bottle;
The multiposition valve port K4 is connect with the first reagent bottle;
The multiposition valve port K5 is connect with distilled water bottle;
The multiposition valve port K6 is connect with third reagent bottle;
The multiposition valve port K8 is connect with standard sample bottle;
The distilled water bottle is for accommodating distilled water;
The standard sample bottle is used to accommodate the standard sample of requirement of experiment;
First reagent bottle is used to accommodate the first reagent of requirement of experiment;Second reagent bottle is wanted for accommodating experiment The second reagent asked;The third reagent bottle is used to accommodate the third reagent of requirement of experiment;
The input terminal of the two-position three-way valve is connect with the multiposition valve port K3, and the first output end connects waste liquid barrel, Second output terminal connects wastewater barrel;
The both ends of first high pressure valve are connect with the multiposition valve port K1 and digestion pool respectively;
The digestion pool includes that quartz digestion room, light source, photoelectric converter, heater strip, heating relay and temperature pass Sensor;
The light source and photoelectric converter are mounted on the two sides of quartz digestion room relatively respectively;
The both ends of second high pressure valve are connect with the digestion pool and outside air respectively;
The fan is mounted near digestion pool, for cooling down for digestion pool;
Connecting tube is inserted into the upper end of the overflow cup, and the other end of connecting tube is connect with multiposition valve port K7;The overflow The top of cup is connect with drain pipe, and lower end is connect with shut-off valve;
It is described control pump both ends respectively with shut-off valve and water sample.
The control system includes programmable controller, thermal module matched with the programmable controller, expansible Digital output module and touch screen;Wherein, the programmable controller is connect with thermal module and touch screen respectively;The temperature Degree module is connect with expansible digital output module.
The pulse for the stepper motor driver that first output end Q0.0 of the programmable controller is connected to peristaltic pump is defeated Enter end;
The direction that the second output terminal Q0.1 of the programmable controller is connected to the stepper motor driver of peristaltic pump is defeated Enter end;
The third output end Q0.2 of the programmable controller be connected to the stepper motor driver of peristaltic pump enable it is defeated Enter end;
4th output end Q0.3 of the programmable controller is connected to the multidigit valve relay J1;
5th output end Q0.4 of the programmable controller is connected to the multidigit valve relay J2;
6th output end Q0.5 of the programmable controller is connected to the multidigit valve relay J3;
7th output end Q0.6 of the programmable controller is connected to the multidigit valve relay J4;
8th output end Q0.7 of the programmable controller is connected to the multidigit valve relay J5;
9th output end Q1.0 of the programmable controller is connected to the multidigit valve relay J6;
11st output end Q1.1 of the programmable controller is connected to the multidigit valve relay J7;
12nd output end Q1.2 of the programmable controller is connected to the multidigit valve relay J8;
13rd output end Q1.3 of the programmable controller is connected to the control heating relay;
First output point KQ0.0 of the expansible digital output module is connected to the fan;
Second output point KQ0.1 of the expansible digital output module is connected to the two-position three-way valve;
The third output point KQ0.2 of the expansible digital output module is connected to first high pressure valve;
4th output point KQ0.3 of the expansible digital output module is connected to second high pressure valve;
5th output point KQ0.4 of the expansible digital output module is connected to relay and the control of the shut-off valve Make the relay of pump;
6th output point KQ0.5 of the expansible digital output module is connected to the light source;
The upper liquid level sensor is connected to the digital quantity input terminal I0.4 of the programmable controller;
The lower liquid level sensor is connected to the digital quantity input terminal I0.5 of the programmable controller;
The temperature sensor is respectively connected to the input terminal A+ and input terminal A- of the thermal module;
The photoelectric converter connection analog input end V+ and input terminal M to programmable controller.
A kind of control method of the monitoring water quality on line equipment based on programmable controller, using above-mentioned based on programmable The monitoring water quality on line equipment of controller, comprising the following steps:
Step 1, " instruction 1 "-" instruction 17 " is established in the controls;
" instruction 1 " be the programmable controller control wriggling pump startup, according to rotate clockwise, according to a constant speed Degree rotation;" instruction 1 " specifically includes:
The digital output end Q0.2 of the programmable controller is sent out to the enabled input terminal of the stepper motor driver High level 24V signal controls the wriggling pump startup out;The digital output end Q0.1 of the programmable controller is to the step Direction input terminal sending high level 24V signal control peristaltic pump into motor driver rotates clockwise;The PLC technology The digital output end Q0.0 of device passes through the pulse to the pulse input end of stepper motor driver sending certain frequency, pulse frequency Rate is 50~2000Hz, and control stepper motor is rotated according to corresponding speed;
" instruction 2 " be the programmable controller control wriggling pump startup, according to rotate counterclockwise, according to a constant speed Degree rotation;" instruction 2 " specifically includes:
The digital output end Q0.2 of the programmable controller is sent out to the enabled input terminal of the stepper motor driver High level 24V signal controls wriggling pump startup out, and the digital output end Q0.1 of the programmable controller is electric to the stepping The direction input terminal of machine driver issues low level signal control peristaltic pump and rotates counterclockwise, the number of the programmable controller Measure output end Q0.0 to the pulse input end of stepper motor driver issue certain frequency pulse, pulse frequency be 50~ 2000Hz controls the peristaltic pump and rotates according to corresponding speed;
" instruction 3 " is that the programmable controller controls peristaltic pump stopping;" instruction 3 " specifically includes:
The digital output end Q0.2 of the programmable controller issues low to the enabled input terminal of stepper motor driver Level signal controls peristaltic pump and stops;
" instruction 4 " is that programmable controller control multiposition valve takes distilled water injection metering from distilled water bottle Device;" instruction 4 " specifically includes:
The digital output end Q0.7 of the programmable controller issues high level 24V letter to the relay J5 of multiposition valve Number, control relay J5 is opened, and the multiposition valve port K5 of J5 control is connected to centre bore, then " instruction 1 " described in execution, makes institute The distilled water in distilled water bottle is stated through multiposition valve port K5 to centre bore, then arrives the gauge line;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M1, M1Value is set as 20~ 60 seconds;
Upper liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.4 of programmable controller Signal illustrates that distilled water arrived liquid level in the gauge line, stop timing, and timing result is calculated as T1
Work as T1> M1When, the upper liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.4 of programmable controller High level signal illustrates to take distilled water appearance abnormal from distilled water bottle, execute " instruction 3 ", PLC technology 1 passes through touch screen and sends out Alarm signal out, and terminate and operate in next step;
Work as T1≤M1When, illustrate to take distilled water normal from distilled water bottle, executes " instruction 3 ", the digital quantity of PLC technology 1 Output end Q0.7 issues low level signal to the relay J5 of multiposition valve, performs the next step operation;
" instruction 5 " is that programmable controller control multiposition valve takes the first reagent injection meter from the first reagent bottle Measuring device, " instruction 5 " specifically include:
The digital output end Q0.6 of PLC technology 1 issues high level 24V signal, control to the relay J4 of multiposition valve Relay J4 is opened, and the multiposition valve port K4 of J4 control is connected to centre bore, is then executed " instruction 1 ", in the first reagent bottle First reagent is through multiposition valve port K4 to centre bore, the then gauge line into meter;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M2, M2Value is set as 20~ 60 seconds;
Upper liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.4 of programmable controller Signal illustrates that the first reagent arrived liquid level in the gauge line, stop timing, and timing result is calculated as T2
Work as T2> M2When, the upper liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.4 of programmable controller High level signal illustrates to take the appearance of the first reagent abnormal from the first reagent bottle, executes " instruction 3 ", PLC technology 1 passes through touch Screen issues alarm signal, and terminates and operate in next step;
Work as T2≤M2When, illustrate to take the first reagent normal from the first reagent bottle, executes " instruction 3 ", the number of PLC technology 1 Word amount output end Q0.6 issues low level signal to the relay J4 of multiposition valve, performs the next step operation;
" instruction 6 " is that programmable controller control multiposition valve takes the second reagent injection meter from the second reagent bottle Measuring device, " instruction 6 " specifically include:
The digital output end Q0.4 of PLC technology 1 issues high level 24V signal, control to the relay J2 of multiposition valve Relay J2 is opened, and the multiposition valve port K2 of J2 control is connected to centre bore, is then executed " instruction 1 ", in the second reagent bottle Second reagent is through multiposition valve port K2 to centre bore, the then gauge line into meter;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M3, M3Value is set as 20~ 60 seconds;
Upper liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.4 of programmable controller Signal illustrates that the second reagent arrived liquid level in the gauge line, stop timing, and timing result is calculated as T3
Work as T3> M3When, the upper liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.4 of programmable controller High level signal illustrates to take the appearance of the second reagent abnormal from the second reagent bottle, executes " instruction 3 ", PLC technology 1 passes through touch Screen issues alarm signal, and terminates and operate in next step;
Work as T3≤M3When, illustrate to take the second reagent normal from the second reagent bottle, executes " instruction 3 ", the number of PLC technology 1 Word amount output end Q0.4 issues low level signal to the relay J2 of multiposition valve, performs the next step operation;
" instruction 7 " is that programmable controller control multiposition valve takes third reagent injection meter from third reagent bottle Measuring device, " instruction 7 " specifically include:
The digital output end Q1.0 of PLC technology 1 issues high level 24V signal, control to the relay J6 of multiposition valve Relay J6 is opened, and the multiposition valve port K6 of J6 control is connected to centre bore, is then executed " instruction 1 ", in third reagent bottle Third reagent is through multiposition valve port K6 to centre bore, the then gauge line into meter;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M4, M4Value is set as 20~ 60 seconds;
Upper liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.4 of programmable controller Signal illustrates that third reagent arrived liquid level in the gauge line, stop timing, and timing result is calculated as T4
Work as T4> M4When, the upper liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.4 of programmable controller High level signal illustrates to take the appearance of third reagent abnormal from third reagent bottle, executes " instruction 3 ", PLC technology 1 passes through touch Screen issues alarm signal, and terminates and operate in next step;
Work as T4≤M4When, illustrate to take third reagent normal from third reagent bottle, executes " instruction 3 ", the number of PLC technology 1 Word amount output end Q1.0 issues low level signal to the relay J6 of multiposition valve, performs the next step operation;
" instruction 8 " is that programmable controller control multiposition valve takes standard sample injection meter from standard sample bottle Measuring device, " instruction 8 " specifically include:
The digital output end Q1.2 of PLC technology 1 issues high level 24V signal, control to the relay J8 of multiposition valve Relay J8 is opened, and the multiposition valve port K8 of J8 control is connected to centre bore, is then executed " instruction 1 ", in standard sample bottle Standard sample is through multiposition valve port K8 to centre bore, the then gauge line into meter;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M5, M5Value is set as 20~ 60 seconds;
Upper liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.4 of programmable controller Signal illustrates that the gauge line Plays sample arrived liquid level, stops timing, and timing result is calculated as T5
Work as T5> M5When, the upper liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.4 of programmable controller High level signal illustrates to take standard sample appearance abnormal from standard sample bottle, executes " instruction 3 ", PLC technology 1 passes through touching It touches screen and issues alarm signal, and terminate and operate in next step;
Work as T5≤M5When, illustrate to take standard sample normal from standard sample bottle, executes " instruction 3 ", PLC technology 1 Digital output end Q1.2 issues low level signal to the relay J8 of multiposition valve, performs the next step operation;
" instruction 9 " is that programmable controller control multiposition valve takes liquid to inject digestion pool, institute from meter " instruction 9 " is stated to specifically include:
The digital output end Q0.3 of PLC technology 1 issues high level 24V signal, control to the relay J1 of multiposition valve Relay J1 is opened, and then the output end KQ0.2 of expansible digital output module issues high level 24V letter to the first high pressure valve Number, the first high pressure valve of control is opened, and the output end KQ0.3 of expansible digital output module issues high level to the second high pressure valve 24V signal, the second high pressure valve of control are opened, and " instruction 2 " is then executed;
Timing described in execution " instruction 2 ";The time that estimated gauge line is drained is set as M6, M6Value is set as 10~ 60 seconds;
Lower liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.5 of programmable controller Signal illustrates that liquid arrived liquid level in the gauge line, stop timing, and timing result is calculated as T6
Work as T6> M6When, the lower liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.5 of programmable controller High level signal illustrates that liquid injection quartz digestion room is taken exception occur from meter, executes " instruction 3 ", PLC technology 1 Alarm signal is issued by touch screen, and terminates and operates in next step;
Work as T6≤M6When, illustrate to take liquid injection quartz digestion room normal from meter, executes " instruction 3 ", programmable control The digital output end Q0.3 of system 1 issues low level signal to the relay J1 of multiposition valve, expansible digital output module Output end KQ0.2 issues low level signal to the first high pressure valve, and the output end KQ0.3 of expansible digital output module is to second High pressure valve issues low level signal, performs the next step operation;
" instruction 10 " is that programmable controller control multiposition valve takes liquid to inject meter from digestion pool, so Control multiposition valve takes liquid to be discharged through the B mouth of two-position three-way valve from meter afterwards, and " instruction 10 " specifically includes:
The digital output end Q0.3 of step a, PLC technology 1 issue high level 24V letter to the relay J1 of multiposition valve Number, control relay J1 is opened, and then the output end KQ0.2 of expansible digital output module issues high electricity to the first high pressure valve Flat 24V signal, the first high pressure valve of control are opened, and the output end KQ0.3 of expansible digital output module is sent out to the second high pressure valve High level 24V signal out, the second high pressure valve of control are opened, and " instruction 1 " is then executed;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M7, M7Value is set as 10~ 60 seconds;
Upper liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.4 of programmable controller Signal illustrates that liquid arrived liquid level in the gauge line, stop timing, and timing result is calculated as T7
Work as T7> M7When, the upper liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.4 of programmable controller High level signal illustrates that liquid injection meter is taken exception occur from digestion pool, executes " instruction 3 ", PLC technology 1 passes through Touch screen issues alarm signal, and executes step b;
Work as T7≤M7When, illustrate to take liquid injection meter normal from digestion pool, executes " instruction 3 ", PLC technology 1 Digital output end Q0.3 to the relay J1 of multiposition valve issue low level signal, the output of expansible digital output module KQ0.2 is held to issue low level signal to the first high pressure valve, the output end KQ0.3 of expansible digital output module is to the second high pressure Valve issues low level signal, and executes step b, then return step a;
The digital output end Q0.5 of step b, PLC technology 1 issue high level 24V letter to the relay J3 of multiposition valve Number, control relay J3 is opened, and the digital output mouth KQ0.2 of expansible digital output module issues high to two-position three-way valve Level 24V signal, the road the B conducting of two-position three-way valve, executes " instruction 2 ";
The timing since execution " instruction 2 ";The time that estimated gauge line is drained is set as M8, M8Value is set as 10~60 seconds;
Lower liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.5 of programmable controller Signal illustrates that liquid arrived liquid level in the gauge line, stop timing, and timing result is calculated as T8
Work as T8> M8When, the lower liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.5 of programmable controller High level signal illustrates that liquid is taken exception occur through the B mouth discharge of two-position three-way valve from meter, executes " instruction 3 ", can compile Process control 1 issues alarm signal by touch screen, and terminates and operate in next step;
Work as T8≤M8When, illustrate that liquid is taken to be discharged normally through the B mouth of two-position three-way valve from meter, execute " instruction 3 ", The digital output end Q0.5 of PLC technology 1 issues low level signal to the relay J3 of multiposition valve, performs the next step operation;
" instruction 11 " is that programmable controller control multiposition valve takes liquid to inject meter from digestion pool, so Control multiposition valve takes liquid to be discharged through the A mouth of two-position three-way valve from meter afterwards, and " instruction 11 " specifically includes:
The digital output end Q0.3 of step c, PLC technology 1 issue high level 24V letter to the relay J1 of multiposition valve Number, control relay J1 is opened, and then the output end KQ0.2 of expansible digital output module issues high electricity to the first high pressure valve Flat 24V signal, the first high pressure valve of control are opened, and the output end KQ0.3 of expansible digital output module is sent out to the second high pressure valve High level 24V signal out, the second high pressure valve of control are opened, and " instruction 1 " is then executed;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M9, M9Value is set as 10~ 60 seconds;
Upper liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.4 of programmable controller Signal illustrates that liquid arrived liquid level in the gauge line, stop timing, and timing result is calculated as T9
Work as T9> M9When, the upper liquid level sensor described at this time is not issued to the numerical quantities input terminal I0.4 of programmable controller High level signal illustrates that liquid injection meter is taken exception occur from digestion pool, executes " instruction 3 ", PLC technology 1 passes through Touch screen issues alarm signal, and executes step d;
Work as T9≤M9When, illustrate to take liquid injection meter normal from digestion pool, executes " instruction 3 ", PLC technology 1 Digital output end Q0.3 to the relay J1 of multiposition valve issue low level signal, the output of expansible digital output module KQ0.2 is held to issue low level signal to the first high pressure valve, the output end KQ0.3 of expansible digital output module is to the second high pressure Valve issues low level signal, and executes step d, then return step c;
The digital output end Q0.5 of step d, PLC technology 1 issue high level 24V letter to the relay J3 of multiposition valve Number, control relay J3 is opened, and the digital output mouth KQ0.1 of expansible digital output module issues high to two-position three-way valve Level 24V signal, the road the A conducting of two-position three-way valve, executes " instruction 2 ";
The timing since execution " instruction 2 ";The time that estimated gauge line is drained is set as M10, M10Value is set as 10~60 Second;
Lower liquid level sensor in the meter issues high level to the numerical quantities input terminal I0.5 of programmable controller Signal illustrates that liquid arrived liquid level in the gauge line, stop timing, and timing result is calculated as T10
Work as T10> M10When, the lower liquid level sensor described at this time is not sent out to the numerical quantities input terminal I0.5 of programmable controller High level signal out illustrates that liquid is taken exception occur through the B mouth discharge of two-position three-way valve from meter, executes " instruction 3 ", can Programming Control 1 issues alarm signal by touch screen, and terminates and operate in next step;
Work as T10≤M10When, illustrate to take liquid that normal, execution " instruction is discharged through the A mouth of two-position three-way valve from meter 3 ", the digital output end Q0.5 of PLC technology 1 issues low level signal to the relay J3 of multiposition valve, performs the next step behaviour Make;
" instruction 12 " is starting light source and photoelectric converter, carries out photoelectric measurement;" instruction 12 " specifically includes:
The digital output port KQ0.5 of expansible digital output module issues high level 24V signal, light source to light source It opens and shines, light enters photoelectric converter by quartz digestion room, and photoelectric converter is by the photovoltage V measured through programmable control The analog input end V+ and M of device processed are input to programmable controller, and after programmable controller analog-to-digital conversion, storage is to can compile In range controller, the digital output port KQ0.5 of expansible digital output module issues low level signal to light source, closes Light source;
" instruction 13 " is the heating function of starting digestion pool;" instruction 13 " specifically includes:
Measuring temperature is input to thermal module through the input port A+ and A- of thermal module by the temperature sensor of digestion pool, It is then input to programmable controller;
If measuring temperature is greater than 1000 DEG C, illustrate that temperature sensor fault, PLC technology 1 are issued by touch screen and reported Alert signal, and terminate and operate in next step;
If measuring temperature is not more than 1000 DEG C, operation is performed the next step;
Programmable controller according to pid algorithm, sent out with relay by the heating by digital output end Q1.3 to digestion pool High level 24V signal out controls the heater strip starting heating of digestion pool;
The timing since starting heating;The time that estimated measuring temperature reaches requirement is set as M11, M11Value is set as 10~60 Second;
When the incrementss of the temperature sensor measurement temperature are not less than 0.3 DEG C, illustrate that heating is carrying out, stop meter When, timing result is calculated as T11
Work as T11> M11When, the incrementss of the temperature sensor measurement temperature illustrate that heater strip is disconnected less than 0.3 DEG C at this time Road, PLC technology 1 issue alarm signal by touch screen, and terminate and operate in next step;
Work as T11≤M11When, the incrementss of the temperature sensor measurement temperature are not less than 0.3 DEG C, perform the next step operation;
Programmable controller is according to pid algorithm, and temperature in room 14 is cleared up in control, and, close to set temperature, error is ± 0.3 DEG C, And according to setting soaking time T12Second, T12It is 120~800 seconds;Keep T12Afterwards, programmable controller passes through digital output end Q1.3 issues 2 signal of low level to the heating relay of digestion pool, performs the next step operation;
" instruction 14 " is that starting fan cools down to digestion pool;" instruction 14 " specifically includes:
Set temperature setting value;When desired temperature is lower than the measuring temperature of temperature sensor, expansible digital quantity is defeated The digital output port KQ0.0 of module issues high level 24V signal to fan out, and the temperature in room 15 is cleared up in fan rotation It reduces, when measuring temperature is equal to desired temperature, the digital output port KQ0.0 of expansible digital output module is to drop Temperature issues low level signal with fan, and stopping fan rotation performs the next step operation;
" instruction 15 " is to stir mixing liquid in quartz digestion room by the blow bubble into quartz digestion room;It is described " instruction 15 " specifically includes:
The digital output end Q0.3 of PLC technology 1 issues high level 24V signal, control to the relay J1 of multiposition valve Relay J1 is opened, and then the output end KQ0.2 of expansible digital output module issues high level 24V letter to the first high pressure valve Number, the first high pressure valve of control is opened, and the output end KQ0.3 of expansible digital output module issues high level to the second high pressure valve 24V signal, the second high pressure valve of control are opened, and " instruction 2 " is then executed;
The timing since execution " instruction 2 ", is denoted as T13;The time that estimated blow bubble is completed is set as M13, M13Value is set as 10 ~100 seconds;
Work as T13> M13When, it executes " instruction 3 ", the relay of the digital output end Q0.3 of PLC technology 1 to multiposition valve J1 issues low level signal, and then the output end KQ0.2 of expansible digital output module issues low level to the first high pressure valve The output end KQ0.3 of signal, expansible digital output module issues low level signal to the second high pressure valve, performs the next step behaviour Make;
" instruction 16 " is that water sample is drawn in starting automatically;" instruction 16 " specifically includes:
The digital output mouth KQ0.4 of expansible digital output module issues high level to shut-off valve and water pump 24 24V signal, shut-off valve enters opening state, the extraction water sample of water pump 24 to overflow cup, and overflows from the overflow port of overflow cup;
Timing issuing high level 24V signal since the digital output mouth KQ0.4 of expansible digital output module, note For T14;Sample time X is set by touch screen, X value is 60~1800 seconds;
Work as T14When=X, the digital output mouth KQ0.4 of expansible digital output module issues low level signal, draws water Pump stops pumping, and shut-off valve enters off state;
Timing issuing low level signal since the digital output mouth KQ0.4 of expansible digital output module, is denoted as T15;Sample time Y is set by touch screen, Y value is 60~1800 seconds;
Work as T15When=Y, operation is performed the next step;
" instruction 17 " is that water sampling injects meter from overflow cup;" instruction 17 " specifically includes:
The digital output end Q1.1 of PLC technology 1 issues high level 24V signal, control to the relay J7 of multiposition valve Relay J7 is opened, and the multiposition valve port K7 of J7 control is connected to centre bore, is then executed " instruction 1 ", the water sample in overflow cup Through multiposition valve port K7 to centre bore, the then gauge line into meter;
The time that estimated gauge line is filled with is set as M by the timing since execution " instruction 1 "16, M16Value is set as 10~60 Second;
Work as T16> M16When, upper liquid level sensor does not issue high level to the numerical quantities input terminal I0.4 of programmable controller Signal illustrates that water sample occurs abnormal from overflow cup, executes " instruction 3 ", PLC technology 1 issues alarm signal by touch screen Number, and terminate and operate in next step;
Work as T16≤M16When, illustrate that water sample occurs normal from overflow cup, executes " instruction 3 ", the number of PLC technology 1 It measures output end Q1.1 and issues low level signal to the relay J7 of multiposition valve, perform the next step operation;
Step 2, it is given an order by executing, checks each component of the monitoring device, and clean digestion pool and meter;
" instruction 11 " is carried out, " instruction 12 ";If the photovoltage value measured is less than 0.5V and illustrates light source or photoelectric converter There is exception, PLC technology 1 issues alarm signal by touch screen, and terminates and operate in next step, otherwise continues to execute below Instruction;
" instruction 4 " is carried out, " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 " " refer to 12 " are enabled, if the photovoltage value V measured is less than 1.5v and illustrates that exception occur in light path system i.e. light source or photoelectric converter, can be compiled Process control 1 issues alarm signal by touch screen, and terminates and operate in next step, otherwise carries out step 3;
Step 3, the monitoring water quality on line equipment is calibrated using standard sample;
Step 3-1 inputs the concentration M of standard sample by touch screen to programmable controller0School is needed with standard sample Quasi- times N;
Step 3-2 measures the photovoltage value of " zero point liquid ";" zero point night " is the liquid that sample concentration is zero, using distillation Water makees " zero point liquid ", i.e. strength of fluid C0=0;
Step 3-2-1 calibrates times N according to the standard sample inputted in step 3-1, executes n times step 3-2-2;
Step 3-2-2 carries out " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 15 ", " instruction 13 ", " instruction 14 ", " instruction 12 " will measure photovoltage value Vn1It is saved, then carries out " instruction 11 ", " refer to 4 " are enabled, " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instructing 9 ", " instruction 4 ", " instruction 9 ", " instruction 12 ", system will survey Determine photovoltage value Vn2It is saved;
Step 3-2-3 will carry out the V found out after n times step 3-2-2n1, i.e. V11、V21……VN1It is saved, and Vn2, i.e. V12、V22……VN2It is saved;According to algorithm An=log (Vn1/Vn2) calculate the absorbance A of zero point liquidn, i.e. A1、 A2……ANAnd it saves;
Step 3-3, the photovoltage value of measurement standard sample, the concentration of standard sample are C1
Step 3-2-1 calibrates times N according to the standard sample inputted in step 3-1, executes n times step 3-3-2;
Step 3-3-2 carries out " instruction 10 ", " instruction 8 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 15 ", " instruction 13 ", " instruction 14 ", " instruction 12 " will measure photovoltage value Vn1' saved, following finger is continued to execute after allowing It enables, " instruction 11 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 " " refer to 12 " are enabled, photovoltage value V will be measuredn2' saved, and according to algorithm An'=log (Vn1’/Vn2') calculate standard sample Absorbance An', i.e. A1’、A2’……AN' and save;
Step 3-4, according to the absorbance A of the step 3-2 zero point liquid measured1、A2……AN, according to algorithmIt asks The average value of n times measurement zero point liquid absorbance out
According to algorithmIt finds outAnd it saves;
According to the absorbance A of the step 3-3 standard sample measured1’、A2’……AN', according to algorithmIt finds out The average value of n times measurement zero point liquid absorbance
According to algorithmIt finds outAnd it saves;
Step 4, by touch screen to the period of programmable controller setting monitoring, i.e., the described monitoring device is small at interval of Xo Shi Qidong is once monitored, and Xo value is 1~6,
Pass through water sampling time T15 of the touch screen into programmable controller setting " instruction 19 " and water sample quiescent time T16;
Step 5, starting monitoring;
Step 5-1 carries out " instruction 10 ", " instruction 16 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 18 ", " instruction 13 ", " instruction 14 ", " instruction 12 ", by the photovoltage value V of measurementc1It is saved, then proceeds by " instruction 11 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 12 " will survey Determine photovoltage value Vc2It is saved;
Step 5-2, according to algorithm Ac=log (Vc1/Vc2) calculate the absorbance A of water samplecAnd it saves;
Step 5-3, according to algorithm Ac=kC+b, wherein C is water sample concentration, obtains C=(Ac-b)/k, and save;
By water sample concentration C real-time display in touch screen, pass through touch screen query history water sample concentration value;
Step 5-4, after monitoring cycle Xo, return step 4-1.
Beneficial effects of the present invention:
The present invention proposes a kind of monitoring water quality on line equipment and control method based on programmable controller, based on programmable The monitoring water quality on line equipment performance of controller is stablized, and environment resistant electromagnetic interference capability is strong, using modularized design, easily on site Maintenance.
The present invention has rational design, it is easy to accomplish, there is good practical value.
Detailed description of the invention
Fig. 1 and Fig. 2 is the monitoring water quality on line equipment based on programmable controller described in the specific embodiment of the invention Structural schematic diagram.
In figure: 1, programmable controller;2, thermal module;3, expansible digital output module;4, touch screen;5, it wriggles Pump;6, stepper motor driver;7, meter;8, gauge line;9, upper liquid level sensor;10, lower liquid level sensor;11, multidigit Valve;12, two-position three-way valve;13, the first high pressure valve;14, digestion pool;15, quartz digestion room;16, light source;17, photoelectric converter; 18, the second high pressure valve;19, heater strip;20, relay is used in heating;21, fan;22, temperature sensor;23, shut-off valve;24, it controls System pump;25, overflow cup;26, the first reagent bottle;27, the second reagent bottle;28, standard sample bottle;29, third reagent bottle;30, it steams Distilled water bottle.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing and embodiment, Further description is made to the present invention.It should be appreciated that described herein, specific examples are only used to explain the present invention, and It is not used in the restriction present invention.
In view of the shortcomings of the prior art, the present invention propose a kind of monitoring water quality on line equipment based on programmable controller and Control method improves stability and anti-interference ability to reach, and without welding main circuit board, easy-to-connect is easy to Function Extension Purpose.
A kind of monitoring water quality on line equipment based on programmable controller, as depicted in figs. 1 and 2, including it is control system, compacted Dynamic pump 5, stepper motor driver 6, meter 7, multiposition valve 11, two-position three-way valve 12, the first high pressure valve 13, digestion pool 14, the Two high pressure valves 18, fan 21, shut-off valve 23, control pump 24, overflow cup 25, the first reagent bottle 26, the second reagent bottle 27, standard sample Product bottle 28, third reagent bottle 29 and distilled water bottle 30;
One end of the peristaltic pump 5 is connected to outside air;
The stepper motor driver 6 connects and controls the progress motor of peristaltic pump 5;
The meter 7 includes gauge line 8, upper liquid level sensor 9, lower liquid level sensor 10;One end of the meter 7 It is connect with the other end of the peristaltic pump 5, the other end of meter 7 is connect with the centre bore of the multiposition valve 11;
The multiposition valve 11 includes centre bore, multiposition valve port K1-K8 and multidigit valve relay J1-J8;
The centre bore is connect with multiposition valve port K1-K8 respectively;
The multidigit valve relay J1-J8 is respectively corresponded and is controlled the multiposition valve port K1-K8 opening and closing;
The multiposition valve port K2 is connect with the second reagent bottle 27;
The multiposition valve port K4 is connect with the first reagent bottle 26;
The multiposition valve port K5 is connect with distilled water bottle 30;
The multiposition valve port K6 is connect with third reagent bottle 29;
The multiposition valve port K8 is connect with standard sample bottle 28;
The distilled water bottle 30 is for accommodating distilled water;
The standard sample bottle 28 is used to accommodate the standard sample of requirement of experiment;
First reagent bottle 26 is used to accommodate the first reagent of requirement of experiment;Second reagent bottle 27 is for accommodating reality Test the second reagent of requirement;The third reagent bottle 29 is used to accommodate the third reagent of requirement of experiment;
The input terminal of the two-position three-way valve 12 is connect with the multiposition valve port K3, and the first output end connects waste liquid Bucket, second output terminal connect wastewater barrel;
The both ends of first high pressure valve 13 are connect with the multiposition valve port K1 and digestion pool 14 respectively;
The digestion pool 14 includes quartz digestion room 15, light source 16, photoelectric converter 17, heater strip 19, heats and use relay Device 20 and temperature sensor 22;
The light source 16 and photoelectric converter 17 are mounted on the two sides of quartz digestion room 15 relatively respectively;
The both ends of second high pressure valve 18 are connect with the digestion pool 14 and outside air respectively;
The fan 21 is mounted near digestion pool 14, for cooling down for digestion pool 14;
Connecting tube is inserted into the upper end of the overflow cup 25, and the other end of connecting tube is connect with multiposition valve port K7;It is described to overflow The top of flow cup 25 is connect with drain pipe, and lower end is connect with shut-off valve 23;
It is described control pump 24 both ends respectively with shut-off valve 23 and water sample;
The control system includes programmable controller 1, thermal module 2 matched with the programmable controller 1, can expand Open up digital output module 3 and touch screen 4;Wherein, the programmable controller 1 connects with thermal module 2 and touch screen 4 respectively It connects;The thermal module 2 is connect with expansible digital output module 3;
First output end Q0.0 of the programmable controller 1 is connected to the pulse of the stepper motor driver 6 of peristaltic pump 5 Input terminal;
The second output terminal Q0.1 of the programmable controller 1 is connected to the direction of the stepper motor driver 6 of peristaltic pump 5 Input terminal;
The third output end Q0.2 of the programmable controller 1 is connected to the enabled of the stepper motor driver 6 of peristaltic pump 5 Input terminal;
4th output end Q0.3 of the programmable controller 1 is connected to the multidigit valve relay J1;
5th output end Q0.4 of the programmable controller 1 is connected to the multidigit valve relay J2;
6th output end Q0.5 of the programmable controller 1 is connected to the multidigit valve relay J3;
7th output end Q0.6 of the programmable controller 1 is connected to the multidigit valve relay J4;
8th output end Q0.7 of the programmable controller 1 is connected to the multidigit valve relay J5;
9th output end Q1.0 of the programmable controller 1 is connected to the multidigit valve relay J6;
11st output end Q1.1 of the programmable controller 1 is connected to the multidigit valve relay J7;
12nd output end Q1.2 of the programmable controller 1 is connected to the multidigit valve relay J8;
13rd output end Q1.3 of the programmable controller 1 is connected to the control heating relay 20;
First output point KQ0.0 of the expansible digital output module 3 is connected to the fan 21;
Second output point KQ0.1 of the expansible digital output module 3 is connected to the two-position three-way valve 12;
The third output point KQ0.2 of the expansible digital output module 3 is connected to first high pressure valve 13;
4th output point KQ0.3 of the expansible digital output module 3 is connected to second high pressure valve 18;
5th output point KQ0.4 of the expansible digital output module 3 is connected to the relay of the shut-off valve 23 With the relay of control pump 24;
6th output point KQ0.5 of the expansible digital output module 3 is connected to the light source 16;
The upper liquid level sensor 9 is connected to the digital quantity input terminal I0.4 of the programmable controller 1;
The lower liquid level sensor 10 is connected to the digital quantity input terminal I0.5 of the programmable controller 1;
The temperature sensor 22 is respectively connected to the input terminal A+ and input terminal A- of the thermal module 2;
The photoelectric converter 17 connects the analog input end V+ and input terminal M to programmable controller 1;
A kind of control method of the monitoring water quality on line equipment based on programmable controller is based on programmable control using above-mentioned The monitoring water quality on line equipment of device processed, comprising the following steps:
Step 1, " instruction 1 "-" instruction 17 " is established in the controls;
" instruction 1 " be the programmable controller 1 control the starting of peristaltic pump 5, according to rotate clockwise, according to certain Speed rotation;" instruction 1 " specifically includes:
Enabled input terminal of the digital output end Q0.2 of the programmable controller 1 to the stepper motor driver 6 It issues high level 24V signal and controls the starting of peristaltic pump 5;The digital output end Q0.1 of the programmable controller 1 is to institute The direction input terminal for stating stepper motor driver 6 issues high level 24V signal control peristaltic pump 5 and rotates clockwise;It is described to compile The digital output end Q0.0 of range controller 1 passes through the arteries and veins to the pulse input end of stepper motor driver 6 sending certain frequency Punching, pulse frequency are 50~2000Hz, and control stepper motor is rotated according to corresponding speed;
" instruction 2 " be the programmable controller 1 control the starting of peristaltic pump 5, according to rotate counterclockwise, according to certain Speed rotation;" instruction 2 " specifically includes:
Enabled input terminal of the digital output end Q0.2 of the programmable controller 1 to the stepper motor driver 6 It issues high level 24V signal control peristaltic pump 5 to start, the digital output end Q0.1 of the programmable controller 1 is to the step Direction input terminal sending low level signal control peristaltic pump 5 into motor driver 6 rotates counterclockwise, the programmable controller 1 digital output end Q0.0 issues the pulse of certain frequency to the pulse input end of stepper motor driver 6, and pulse frequency is 50~2000Hz controls the peristaltic pump 5 and rotates according to corresponding speed;
" instruction 3 " is that the programmable controller 1 controls the stopping of peristaltic pump 5;" instruction 3 " specifically includes:
The digital output end Q0.2 of the programmable controller 1 is issued to the enabled input terminal of stepper motor driver 6 Low level signal, which controls peristaltic pump 5, to be stopped;
" instruction 4 " is that the programmable controller 1 control multiposition valve 11 takes distilled water to inject from distilled water bottle 30 Meter 7;" instruction 4 " specifically includes:
The digital output end Q0.7 of the programmable controller 1 issues high level 24V to the relay J5 of multiposition valve 11 Signal, control relay J5 are opened, and the multiposition valve port K5 of J5 control is connected to centre bore, then " instruction 1 " described in execution, are made Then distilled water in the distilled water bottle 30 arrives the gauge line 8 through multiposition valve port K5 to centre bore;
Timing described in execution " instruction 1 ";The time that estimated gauge line 8 is filled with is set as M1, M1Value is set as 20~ 60 seconds;
Upper liquid level sensor 9 in the meter 7 issues high electricity to the numerical quantities input terminal I0.4 of programmable controller 1 Ordinary mail number illustrates that distilled water arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T1
Work as T1> M1When, the upper liquid level sensor 9 described at this time is not sent out to the numerical quantities input terminal I0.4 of programmable controller 1 High level signal out illustrates to take distilled water appearance abnormal from distilled water bottle 30, executes " instruction 3 ", PLC technology 1 passes through touch Screen 4 issues alarm signal, and terminates and operate in next step;
Work as T1≤M1When, illustrate to take distilled water normal from distilled water bottle 30, executes " instruction 3 ", the number of PLC technology 1 It measures output end Q0.7 and issues low level signal to the relay J5 of multiposition valve 11, perform the next step operation;
" instruction 5 " is that the programmable controller 1 control multiposition valve 11 takes the first reagent from the first reagent bottle 26 Meter 7 is injected, " instruction 5 " specifically includes:
The digital output end Q0.6 of PLC technology 1 issues high level 24V signal, control to the relay J4 of multiposition valve 11 Relay J4 processed is opened, and the multiposition valve port K4 of J4 control is connected to centre bore, then executes " instruction 1 ", the first reagent bottle 26 In the first reagent through multiposition valve port K4 to centre bore, then to the gauge line 8 in meter 7;
Timing described in execution " instruction 1 ";The time that estimated gauge line 8 is filled with is set as M2, M2Value is set as 20~ 60 seconds;
Upper liquid level sensor 9 in the meter 7 issues high electricity to the numerical quantities input terminal I0.4 of programmable controller 1 Ordinary mail number illustrates that first reagent arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T2
Work as T2> M2When, the upper liquid level sensor 9 described at this time is not sent out to the numerical quantities input terminal I0.4 of programmable controller 1 High level signal out illustrates to take the appearance of the first reagent abnormal from the first reagent bottle 26, executes " instruction 3 ", PLC technology 1 passes through Touch screen 4 issues alarm signal, and terminates and operate in next step;
Work as T2≤M2When, illustrate to take the first reagent normal from the first reagent bottle 26, executes " instruction 3 ", PLC technology 1 Digital output end Q0.6 issues low level signal to the relay J4 of multiposition valve 11, performs the next step operation;
" instruction 6 " is that the programmable controller 1 control multiposition valve 11 takes the second reagent from the second reagent bottle 27 Meter 7 is injected, " instruction 6 " specifically includes:
The digital output end Q0.4 of PLC technology 1 issues high level 24V signal, control to the relay J2 of multiposition valve 11 Relay J2 processed is opened, and the multiposition valve port K2 of J2 control is connected to centre bore, then executes " instruction 1 ", the second reagent bottle 27 In the second reagent through multiposition valve port K2 to centre bore, then to the gauge line 8 in meter 7;
Timing described in execution " instruction 1 ";The time that estimated gauge line 8 is filled with is set as M3, M3Value is set as 20~ 60 seconds;
Upper liquid level sensor 9 in the meter 7 issues high electricity to the numerical quantities input terminal I0.4 of programmable controller 1 Ordinary mail number illustrates that second reagent arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T3
Work as T3> M3When, the upper liquid level sensor 9 described at this time is not sent out to the numerical quantities input terminal I0.4 of programmable controller 1 High level signal out illustrates to take the appearance of the second reagent abnormal from the second reagent bottle 27, executes " instruction 3 ", PLC technology 1 passes through Touch screen 4 issues alarm signal, and terminates and operate in next step;
Work as T3≤M3When, illustrate to take the second reagent normal from the second reagent bottle 27, executes " instruction 3 ", PLC technology 1 Digital output end Q0.4 issues low level signal to the relay J2 of multiposition valve 11, performs the next step operation;
" instruction 7 " is that the programmable controller 1 control multiposition valve 11 takes third reagent from third reagent bottle 29 Meter 7 is injected, " instruction 7 " specifically includes:
The digital output end Q1.0 of PLC technology 1 issues high level 24V signal, control to the relay J6 of multiposition valve 11 Relay J6 processed is opened, and the multiposition valve port K6 of J6 control is connected to centre bore, then executes " instruction 1 ", third reagent bottle 29 In third reagent through multiposition valve port K6 to centre bore, then to the gauge line 8 in meter 7;
Timing described in execution " instruction 1 ";The time that estimated gauge line 8 is filled with is set as M4, M4Value is set as 20~ 60 seconds;
Upper liquid level sensor 9 in the meter 7 issues high electricity to the numerical quantities input terminal I0.4 of programmable controller 1 Ordinary mail number illustrates that third reagent arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T4
Work as T4> M4When, the upper liquid level sensor 9 described at this time is not sent out to the numerical quantities input terminal I0.4 of programmable controller 1 High level signal out illustrates to take the appearance of third reagent abnormal from third reagent bottle 29, executes " instruction 3 ", PLC technology 1 passes through Touch screen 4 issues alarm signal, and terminates and operate in next step;
Work as T4≤M4When, illustrate to take third reagent normal from third reagent bottle 29, executes " instruction 3 ", PLC technology 1 Digital output end Q1.0 issues low level signal to the relay J6 of multiposition valve 11, performs the next step operation;
" instruction 8 " is that the programmable controller 1 control multiposition valve 11 takes standard sample from standard sample bottle 28 Meter 7 is injected, " instruction 8 " specifically includes:
The digital output end Q1.2 of PLC technology 1 issues high level 24V signal, control to the relay J8 of multiposition valve 11 Relay J8 processed is opened, and the multiposition valve port K8 of J8 control is connected to centre bore, then executes " instruction 1 ", standard sample bottle 28 In standard sample through multiposition valve port K8 to centre bore, then to the gauge line 8 in meter 7;
Timing described in execution " instruction 1 ";The time that estimated gauge line 8 is filled with is set as M5, M5Value is set as 20~ 60 seconds;
Upper liquid level sensor 9 in the meter 7 issues high electricity to the numerical quantities input terminal I0.4 of programmable controller 1 Ordinary mail number illustrates that the 8 Plays sample of gauge line arrived liquid level, stops timing, and timing result is calculated as T5
Work as T5> M5When, the upper liquid level sensor 9 described at this time is not sent out to the numerical quantities input terminal I0.4 of programmable controller 1 High level signal out illustrates to take standard sample appearance abnormal from standard sample bottle 28, executes " instruction 3 ", PLC technology 1 is logical It crosses touch screen 4 and issues alarm signal, and terminate and operate in next step;
Work as T5≤M5When, illustrate to take standard sample normal from standard sample bottle 28, executes " instruction 3 ", PLC technology 1 Digital output end Q1.2 to the relay J8 of multiposition valve 11 issue low level signal, perform the next step operation;
" instruction 9 " is that the programmable controller 1 control multiposition valve 11 takes liquid to inject digestion pool from meter 7 14, " instruction 9 " specifically includes:
The digital output end Q0.3 of PLC technology 1 issues high level 24V signal, control to the relay J1 of multiposition valve 11 Relay J1 processed is opened, and then the output end KQ0.2 of expansible digital output module 3 issues high level to the first high pressure valve 13 24V signal, the first high pressure valve 13 of control are opened, and the output end KQ0.3 of expansible digital output module 3 is to the second high pressure valve 18 High level 24V signal is issued, the second high pressure valve 18 of control is opened, and " instruction 2 " is then executed;
Timing described in execution " instruction 2 ";The time that estimated gauge line 8 is drained is set as M6, M6Value is set as 10~ 60 seconds;
Lower liquid level sensor 10 in the meter 7 issues high to the numerical quantities input terminal I0.5 of programmable controller 1 Level signal illustrates that liquid arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T6
Work as T6> M6When, the lower liquid level sensor 10 described at this time is not sent out to the numerical quantities input terminal I0.5 of programmable controller 1 High level signal out illustrates that liquid injection quartz digestion room 15 is taken exception occur from meter 7, executes " instruction 3 ", may be programmed Control 1 issues alarm signal by touch screen 4, and terminates and operate in next step;
Work as T6≤M6When, illustrate to take liquid injection quartz digestion room 15 normal from meter 7, executes " instruction 3 ", can compile The digital output end Q0.3 of process control 1 issues low level signal, expansible digital output to the relay J1 of multiposition valve 11 The output end KQ0.2 of module 3 issues low level signal, the output end of expansible digital output module 3 to the first high pressure valve 13 KQ0.3 issues low level signal to the second high pressure valve 18, performs the next step operation;
" instruction 10 " is that the programmable controller 1 control multiposition valve 11 takes liquid injection metering from digestion pool 14 Then device 7 controls multiposition valve 11 and liquid is taken to be discharged from meter 7 through the B mouth of two-position three-way valve 12, " instruction 10 " is specific Include:
The digital output end Q0.3 of step a, PLC technology 1 issue high level 24V to the relay J1 of multiposition valve 11 Signal, control relay J1 are opened, and then the output end KQ0.2 of expansible digital output module 3 is sent out to the first high pressure valve 13 High level 24V signal out, the first high pressure valve 13 of control are opened, and the output end KQ0.3 of expansible digital output module 3 is to second High pressure valve 18 issues high level 24V signal, and the second high pressure valve 18 of control is opened, and then executes " instruction 1 ";
Timing described in execution " instruction 1 ";The time that estimated gauge line 8 is filled with is set as M7, M7Value is set as 10~ 60 seconds;
Upper liquid level sensor 9 in the meter 7 issues high electricity to the numerical quantities input terminal I0.4 of programmable controller 1 Ordinary mail number illustrates that liquid arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T7
Work as T7> M7When, the upper liquid level sensor 9 described at this time is not sent out to the numerical quantities input terminal I0.4 of programmable controller 1 High level signal out illustrates that liquid injection meter 7 is taken exception occur from digestion pool 14, executes " instruction 3 ", PLC technology 1 issues alarm signal by touch screen 4, and executes step b;
Work as T7≤M7When, illustrate to take liquid injection meter 7 normal from digestion pool 14, executes " instruction 3 ", programmable control The digital output end Q0.3 of system 1 issues low level signal, expansible digital output module 3 to the relay J1 of multiposition valve 11 Output end KQ0.2 to the first high pressure valve 13 issue low level signal, the output end KQ0.3 of expansible digital output module 3 Low level signal is issued to the second high pressure valve 18, and executes step b, then return step a;
The digital output end Q0.5 of step b, PLC technology 1 issue high level 24V to the relay J3 of multiposition valve 11 Signal, control relay J3 are opened, and the digital output mouth KQ0.2 of expansible digital output module 3 is to two-position three-way valve 12 High level 24V signal is issued, the road the B conducting of two-position three-way valve 12 executes " instruction 2 ";
The timing since execution " instruction 2 ";The time that estimated gauge line 8 is drained is set as M8, M8Value is set as 10~60 Second;
Lower liquid level sensor 10 in the meter 7 issues high to the numerical quantities input terminal I0.5 of programmable controller 1 Level signal illustrates that liquid arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T8
Work as T8> M8When, the lower liquid level sensor 10 described at this time is not sent out to the numerical quantities input terminal I0.5 of programmable controller 1 High level signal out illustrates that liquid is taken abnormal, execution " instruction occur through the B mouth discharge of two-position three-way valve 12 from meter 7 3 ", PLC technology 1 issues alarm signal by touch screen 4, and terminates and operate in next step;
Work as T8≤M8When, illustrate to take liquid that normal, execution " instruction is discharged through the B mouth of two-position three-way valve 12 from meter 7 3 ", the digital output end Q0.5 of PLC technology 1 issues low level signal to the relay J3 of multiposition valve 11, performs the next step Operation;
" instruction 11 " is that the programmable controller 1 control multiposition valve 11 takes liquid injection metering from digestion pool 14 Then device 7 controls multiposition valve 11 and liquid is taken to be discharged from meter 7 through the A mouth of two-position three-way valve 12, " instruction 11 " is specific Include:
The digital output end Q0.3 of step c, PLC technology 1 issue high level 24V to the relay J1 of multiposition valve 11 Signal, control relay J1 are opened, and then the output end KQ0.2 of expansible digital output module 3 is sent out to the first high pressure valve 13 High level 24V signal out, the first high pressure valve 13 of control are opened, and the output end KQ0.3 of expansible digital output module 3 is to second High pressure valve 18 issues high level 24V signal, and the second high pressure valve 18 of control is opened, and then executes " instruction 1 ";
Timing described in execution " instruction 1 ";The time that estimated gauge line 8 is filled with is set as M9, M9Value is set as 10~ 60 seconds;
Upper liquid level sensor 9 in the meter 7 issues high electricity to the numerical quantities input terminal I0.4 of programmable controller 1 Ordinary mail number illustrates that liquid arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T9
Work as T9> M9When, the upper liquid level sensor 9 described at this time is not sent out to the numerical quantities input terminal I0.4 of programmable controller 1 High level signal out illustrates that liquid injection meter 7 is taken exception occur from digestion pool 14, executes " instruction 3 ", PLC technology 1 issues alarm signal by touch screen 4, and executes step d;
Work as T9≤M9When, illustrate to take liquid injection meter 7 normal from digestion pool 14, executes " instruction 3 ", programmable control The digital output end Q0.3 of system 1 issues low level signal, expansible digital output module 3 to the relay J1 of multiposition valve 11 Output end KQ0.2 to the first high pressure valve 13 issue low level signal, the output end KQ0.3 of expansible digital output module 3 Low level signal is issued to the second high pressure valve 18, and executes step d, then return step c;
The digital output end Q0.5 of step d, PLC technology 1 issue high level 24V to the relay J3 of multiposition valve 11 Signal, control relay J3 are opened, and the digital output mouth KQ0.1 of expansible digital output module 3 is to two-position three-way valve 12 High level 24V signal is issued, the road the A conducting of two-position three-way valve 12 executes " instruction 2 ";
The timing since execution " instruction 2 ";The time that estimated gauge line 8 is drained is set as M10, M10Value is set as 10~60 Second;
Lower liquid level sensor 10 in the meter 7 issues high to the numerical quantities input terminal I0.5 of programmable controller 1 Level signal illustrates that liquid arrived liquid level in the gauge line 8, stop timing, and timing result is calculated as T10
Work as T10> M10When, the lower liquid level sensor 10 described at this time is not to the numerical quantities input terminal I0.5 of programmable controller 1 High level signal is issued, illustrates that liquid is taken abnormal, execution " instruction occur through the B mouth discharge of two-position three-way valve 12 from meter 7 3 ", PLC technology 1 issues alarm signal by touch screen 4, and terminates and operate in next step;
Work as T10≤M10When, illustrate that liquid is taken to be discharged normally through the A mouth of two-position three-way valve 12 from meter 7, execution " refers to 3 " are enabled, the digital output end Q0.5 of PLC technology 1 issues low level signal to the relay J3 of multiposition valve 11, executes next Step operation;
" instruction 12 " is starting light source 16 and photoelectric converter 17, carries out photoelectric measurement;" instruction 12 " is specific Include:
The digital output port KQ0.5 of expansible digital output module 3 issues high level 24V signal to light source 16, Light source 16 is opened and is shone, and light enters photoelectric converter 17, the photoelectricity that photoelectric converter 17 will measure by quartz digestion room 15 V is pressed to be input to programmable controller 1 through the analog input end V+ and M of programmable controller 1, through 1 modulus of programmable controller It after conversion, stores into programmable controller 1, the digital output port KQ0.5 of expansible digital output module 3 is to light source 16 issue low level signal, close light source 16;
" instruction 13 " is the heating function of starting digestion pool 14;" instruction 13 " specifically includes:
Measuring temperature is input to temperature through the input port A+ and A- of thermal module 2 by the temperature sensor 22 of digestion pool 14 Module 2 is then input to programmable controller 1;
If measuring temperature is greater than 1000 DEG C, illustrate 22 failure of temperature sensor, PLC technology 1 is sent out by touch screen 4 Alarm signal out, and terminate and operate in next step;
If measuring temperature is not more than 1000 DEG C, operation is performed the next step;
Programmable controller 1 is according to pid algorithm, by digital output end Q1.3 to the heating relay of digestion pool 14 20 issue high level 24V signal, and the heater strip 19 of control digestion pool 14 starts heating;
The timing since starting heating;The time that estimated measuring temperature reaches requirement is set as M11, M11Value is set as 10~60 Second;
When the incrementss of 22 measuring temperature of temperature sensor are not less than 0.3 DEG C, illustrate that heating is carrying out, stop meter When, timing result is calculated as T11
Work as T11> M11When, the incrementss of 22 measuring temperature of temperature sensor illustrate heater strip less than 0.3 DEG C at this time 19 open circuits, PLC technology 1 issue alarm signal by touch screen 4, and terminate and operate in next step;
Work as T11≤M11When, the incrementss of 22 measuring temperature of temperature sensor are not less than 0.3 DEG C, perform the next step behaviour Make;
Programmable controller 1 is according to pid algorithm, and temperature in room 14 is cleared up in control, and, close to set temperature, error is ± 0.3 DEG C, and according to setting soaking time T12Second, T12It is 120~800 seconds;Keep T12Afterwards, programmable controller 1 is defeated by digital quantity Outlet Q1.3 issues 2 signal of low level to the heating relay 20 of digestion pool 14, performs the next step operation;
" instruction 14 " is that starting fan 21 cools down to digestion pool 14;" instruction 14 " specifically includes:
Set temperature setting value;When desired temperature is lower than the measuring temperature of temperature sensor 22, expansible digital quantity The digital output port KQ0.0 of output module 3 issues high level 24V signal to fan 21, and fan 21 rotates, and clears up in room 15 Temperature reduce, when measuring temperature be equal to desired temperature when, the digital output port of expansible digital output module 3 KQ0.0 issues low level signal to cooling fan 21, and fan 21 stops operating, and performs the next step operation;
" instruction 15 " is to stir mixing liquid in quartz digestion room 15 by the blow bubble into quartz digestion room 15; " instruction 15 " specifically includes:
The digital output end Q0.3 of PLC technology 1 issues high level 24V signal, control to the relay J1 of multiposition valve 11 Relay J1 processed is opened, and then the output end KQ0.2 of expansible digital output module 3 issues high level to the first high pressure valve 13 24V signal, the first high pressure valve 13 of control are opened, and the output end KQ0.3 of expansible digital output module 3 is to the second high pressure valve 18 High level 24V signal is issued, the second high pressure valve 18 of control is opened, and " instruction 2 " is then executed;
The timing since execution " instruction 2 ", is denoted as T13;The time that estimated blow bubble is completed is set as M13, M13Value is set as 10 ~100 seconds;
Work as T13> M13When, it executes " instruction 3 ", the relay of the digital output end Q0.3 of PLC technology 1 to multiposition valve 11 Device J1 issues low level signal, and then the output end KQ0.2 of expansible digital output module 3 is issued low to the first high pressure valve 13 The output end KQ0.3 of level signal, expansible digital output module 3 issues low level signal to the second high pressure valve 18, executes It operates in next step;
" instruction 16 " is that water sample is drawn in starting automatically;" instruction 16 " specifically includes:
The digital output mouth KQ0.4 of expansible digital output module 3 issues high electricity to shut-off valve 23 and water pump 24 Flat 24V signal, shut-off valve 23 enter opening state, and water pump 24 extracts water sample to overflow cup 25, and from the overflow of overflow cup 25 Mouth overflows;
Timing issuing high level 24V signal since the digital output mouth KQ0.4 of expansible digital output module 3, It is denoted as T14;Sample time X is set by touch screen 4, X value is 60~1800 seconds;
Work as T14When=X, the digital output mouth KQ0.4 of expansible digital output module 3 issues low level signal, draws water Pump stops pumping, and shut-off valve 23 enters off state;
Timing issuing low level signal since the digital output mouth KQ0.4 of expansible digital output module 3, is denoted as T15;Sample time Y is set by touch screen 4, Y value is 60~1800 seconds;
Work as T15When=Y, operation is performed the next step;
" instruction 17 " is that water sampling injects meter 7 from overflow cup 25;" instruction 17 " specifically includes:
The digital output end Q1.1 of PLC technology 1 issues high level 24V signal, control to the relay J7 of multiposition valve 11 Relay J7 processed is opened, and the multiposition valve port K7 of J7 control is connected to centre bore, is then executed " instruction 1 ", in overflow cup 25 Water sample is through multiposition valve port K7 to centre bore, then to the gauge line 8 in meter 7;
The time that estimated gauge line 8 is filled with is set as M by the timing since execution " instruction 1 "16, M16Value is set as 10~60 Second;
Work as T16> M16When, upper liquid level sensor 9 does not issue high electricity to the numerical quantities input terminal I0.4 of programmable controller 1 Ordinary mail number illustrates that water sample occurs abnormal from overflow cup 25, executes " instruction 3 ", PLC technology 1 issues report by touch screen 4 Alert signal, and terminate and operate in next step;
Work as T16≤M16When, illustrate that water sample occurs normal from overflow cup 25, executes " instruction 3 ", the number of PLC technology 1 Word amount output end Q1.1 issues low level signal to the relay J7 of multiposition valve 11, performs the next step operation;
Step 2, it is given an order by executing, checks each component of the monitoring device, and clean digestion pool 14 and metering Device 7;
" instruction 11 " is carried out, " instruction 12 ";If the photovoltage value measured is less than 0.5V and illustrates light source 16 or photoelectric conversion There is exception in device 17, and PLC technology 1 issues alarm signal by touch screen 4, and terminates and operate in next step, otherwise continues to execute Subsequent instruction;
" instruction 4 " is carried out, " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 " " refer to 12 " are enabled, if the photovoltage value V measured is less than 1.5v and illustrates that exception occur in light path system i.e. light source 16 or photoelectric converter 17, PLC technology 1 issues alarm signal by touch screen 4, and terminates and operate in next step, otherwise carries out step 3;
Step 3, the monitoring water quality on line equipment is calibrated using standard sample;
Step 3-1 inputs the concentration M of standard sample by touch screen 4 to programmable controller 10It is needed with standard sample The times N of calibration;
Step 3-2 measures the photovoltage value of " zero point liquid ";" zero point night " is the liquid that sample concentration is zero, using distillation Water makees " zero point liquid ", i.e. strength of fluid C0=0;
Step 3-2-1 calibrates times N according to the standard sample inputted in step 3-1, executes n times step 3-2-2;
Step 3-2-2 carries out " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 15 ", " instruction 13 ", " instruction 14 ", " instruction 12 " will measure photovoltage value Vn1It is saved, then carries out " instruction 11 ", " refer to 4 " are enabled, " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instructing 9 ", " instruction 4 ", " instruction 9 ", " instruction 12 ", system will survey Determine photovoltage value Vn2It is saved;
Step 3-2-3 will carry out the V found out after n times step 3-2-2n1, i.e. V11、V21……VN1It is saved, and Vn2, i.e. V12、V22……VN2It is saved;According to algorithm An=log (Vn1/Vn2) calculate the absorbance A of zero point liquidn, i.e. A1、 A2……ANAnd it saves;
Step 3-3, the photovoltage value of measurement standard sample, the concentration of standard sample are C1
Step 3-2-1 calibrates times N according to the standard sample inputted in step 3-1, executes n times step 3-3-2;
Step 3-3-2 carries out " instruction 10 ", " instruction 8 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 15 ", " instruction 13 ", " instruction 14 ", " instruction 12 " will measure photovoltage value Vn1' saved, following finger is continued to execute after allowing It enables, " instruction 11 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 " " refer to 12 " are enabled, photovoltage value V will be measuredn2' saved, and according to algorithm An'=log (Vn1’/Vn2') calculate standard sample Absorbance An', i.e. A1’、A2’……AN' and save;
Step 3-4, according to the absorbance A of the step 3-2 zero point liquid measured1、A2……AN, according to algorithmIt asks The average value of n times measurement zero point liquid absorbance out
According to algorithmIt finds outAnd it saves;
According to the absorbance A of the step 3-3 standard sample measured1’、A2’……AN', according to algorithmIt finds out The average value of n times measurement zero point liquid absorbance
According to algorithmIt finds outAnd it saves;
Step 4, by touch screen 4 to the period of the setting monitoring of programmable controller 1, i.e., the described monitoring device is at interval of Xo The primary monitoring of hour starting, Xo value are 1~6,
Pass through water sampling time T15 of the touch screen 4 into the setting of programmable controller 1 " instruction 19 " and water sample quiescent time T16;
Step 5, starting monitoring;
Step 5-1 carries out " instruction 10 ", " instruction 16 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 18 ", " instruction 13 ", " instruction 14 ", " instruction 12 ", by the photovoltage value V of measurementc1It is saved, then proceeds by " instruction 11 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 12 " will survey Determine photovoltage value Vc2It is saved;
Step 5-2, according to algorithm Ac=log (Vc1/Vc2) calculate the absorbance A of water samplecAnd it saves;
Step 5-3, according to algorithm Ac=kC+b, wherein C is water sample concentration, obtains C=(Ac-b)/k, and save;
By water sample concentration C real-time display in touch screen 4, pass through 4 query history water sample concentration value of touch screen;
Step 5-4, after monitoring cycle Xo, return step 4-1.

Claims (4)

1. a kind of monitoring water quality on line equipment based on programmable controller characterized by comprising control system, peristaltic pump, Stepper motor driver, multiposition valve, two-position three-way valve, the first high pressure valve, digestion pool, the second high pressure valve, fan, is cut meter Only valve, control pump, overflow cup, the first reagent bottle, the second reagent bottle, standard sample bottle, third reagent bottle and distilled water bottle;
One end of the peristaltic pump is connected to outside air;
The stepper motor driver connects and controls the progress motor of peristaltic pump;
The meter includes gauge line, upper liquid level sensor, lower liquid level sensor;One end of the meter and the wriggling The other end of pump connects, and the other end of meter is connect with the centre bore of the multiposition valve;
The multiposition valve includes centre bore, multiposition valve port K1-K8 and multidigit valve relay J1-J8;
The centre bore is connect with multiposition valve port K1-K8 respectively;
The multidigit valve relay J1-J8 is respectively corresponded and is controlled the multiposition valve port K1-K8 opening and closing;
The multiposition valve port K2 is connect with the second reagent bottle;
The multiposition valve port K4 is connect with the first reagent bottle;
The multiposition valve port K5 is connect with distilled water bottle;
The multiposition valve port K6 is connect with third reagent bottle;
The multiposition valve port K8 is connect with standard sample bottle;
The distilled water bottle is for accommodating distilled water;
The standard sample bottle is used to accommodate the standard sample of requirement of experiment;
First reagent bottle is used to accommodate the first reagent of requirement of experiment;Second reagent bottle is for accommodating requirement of experiment Second reagent;The third reagent bottle is used to accommodate the third reagent of requirement of experiment;
The input terminal of the two-position three-way valve is connect with the multiposition valve port K3, the first output end connection waste liquid barrel, and second Output end connects wastewater barrel;
The both ends of first high pressure valve are connect with the multiposition valve port K1 and digestion pool respectively;
The digestion pool includes quartz digestion room, light source, photoelectric converter, heater strip, heating relay and temperature sensor;
The light source and photoelectric converter are mounted on the two sides of quartz digestion room relatively respectively;
The both ends of second high pressure valve are connect with the digestion pool and outside air respectively;
The fan is mounted near digestion pool, for cooling down for digestion pool;
Connecting tube is inserted into the upper end of the overflow cup, and the other end of connecting tube is connect with multiposition valve port K7;The overflow cup Top is connect with drain pipe, and lower end is connect with shut-off valve;
It is described control pump both ends respectively with shut-off valve and water sample.
2. the monitoring water quality on line equipment according to claim 1 based on programmable controller, which is characterized in that the control System processed includes programmable controller, thermal module matched with the programmable controller, expansible digital output module And touch screen;Wherein, the programmable controller is connect with thermal module and touch screen respectively;The thermal module with it is expansible The connection of digital output module.
3. the monitoring water quality on line equipment according to claim 2 based on programmable controller, which is characterized in that it is described can First output end Q0.0 of programmable controller is connected to the pulse input end of the stepper motor driver of peristaltic pump;
The second output terminal Q0.1 of the programmable controller is connected to the direction input terminal of the stepper motor driver of peristaltic pump;
The third output end Q0.2 of the programmable controller is connected to the enabled input terminal of the stepper motor driver of peristaltic pump;
4th output end Q0.3 of the programmable controller is connected to the multidigit valve relay J1;
5th output end Q0.4 of the programmable controller is connected to the multidigit valve relay J2;
6th output end Q0.5 of the programmable controller is connected to the multidigit valve relay J3;
7th output end Q0.6 of the programmable controller is connected to the multidigit valve relay J4;
8th output end Q0.7 of the programmable controller is connected to the multidigit valve relay J5;
9th output end Q1.0 of the programmable controller is connected to the multidigit valve relay J6;
11st output end Q1.1 of the programmable controller is connected to the multidigit valve relay J7;
12nd output end Q1.2 of the programmable controller is connected to the multidigit valve relay J8;
13rd output end Q1.3 of the programmable controller is connected to the control heating relay;
First output point KQ0.0 of the expansible digital output module is connected to the fan;
Second output point KQ0.1 of the expansible digital output module is connected to the two-position three-way valve;
The third output point KQ0.2 of the expansible digital output module is connected to first high pressure valve;
4th output point KQ0.3 of the expansible digital output module is connected to second high pressure valve;
5th output point KQ0.4 of the expansible digital output module is connected to the relay and control pump of the shut-off valve Relay;
6th output point KQ0.5 of the expansible digital output module is connected to the light source;
The upper liquid level sensor is connected to the digital quantity input terminal I0.4 of the programmable controller;
The lower liquid level sensor is connected to the digital quantity input terminal I0.5 of the programmable controller;
The temperature sensor is respectively connected to the input terminal A+ and input terminal A- of the thermal module;
The photoelectric converter connection analog input end V+ and input terminal M to programmable controller.
4. a kind of control method of the monitoring water quality on line equipment based on programmable controller, which is characterized in that wanted using right Monitoring water quality on line equipment described in asking 3 based on programmable controller, comprising the following steps:
Step 1, " instruction 1 "-" instruction 17 " is established in the controls;
" instruction 1 " is that the programmable controller controls wriggling pump startup, according to rotating clockwise, turn according to certain speed It is dynamic;" instruction 1 " specifically includes:
The digital output end Q0.2 of the programmable controller issues high to the enabled input terminal of the stepper motor driver Level 24V signal controls the wriggling pump startup;The digital output end Q0.1 of the programmable controller is electric to the stepping The direction input terminal of machine driver issues high level 24V signal control peristaltic pump and rotates clockwise;The programmable controller By issuing the pulse of certain frequency to the pulse input end of stepper motor driver, pulse frequency is digital output end Q0.0 50~2000Hz, control stepper motor are rotated according to corresponding speed;
" instruction 2 " is that the programmable controller controls wriggling pump startup, according to rotating counterclockwise, turn according to certain speed It is dynamic;" instruction 2 " specifically includes:
The digital output end Q0.2 of the programmable controller issues high to the enabled input terminal of the stepper motor driver Level 24V signal controls wriggling pump startup, and the digital output end Q0.1 of the programmable controller drives to the stepper motor The direction input terminal of dynamic device issues low level signal control peristaltic pump and rotates counterclockwise, and the digital quantity of the programmable controller is defeated Outlet Q0.0 issues the pulse of certain frequency to the pulse input end of stepper motor driver, and pulse frequency is 50~2000Hz, The peristaltic pump is controlled to rotate according to corresponding speed;
" instruction 3 " is that the programmable controller controls peristaltic pump stopping;" instruction 3 " specifically includes:
The digital output end Q0.2 of the programmable controller issues low level to the enabled input terminal of stepper motor driver Signal, which controls peristaltic pump, to be stopped;
" instruction 4 " is that programmable controller control multiposition valve takes distilled water to inject meter from distilled water bottle;Institute " instruction 4 " is stated to specifically include:
The digital output end Q0.7 of the programmable controller issues high level 24V signal, control to the relay J5 of multiposition valve Relay J5 processed is opened, and the multiposition valve port K5 of J5 control is connected to centre bore, then " instruction 1 " described in execution, makes the steaming Then distilled water in distilled water bottle arrives the gauge line through multiposition valve port K5 to centre bore;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M1, M1Value is set as 20~60 seconds;
Upper liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.4 of programmable controller, Illustrate that distilled water arrived liquid level in the gauge line, stop timing, timing result is calculated as T1
Work as T1> M1When, the upper liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.4 of programmable controller Ordinary mail number illustrates to take distilled water appearance abnormal from distilled water bottle, executes " instruction 3 ", PLC technology 1 issues report by touch screen Alert signal, and terminate and operate in next step;
Work as T1≤M1When, illustrate to take distilled water normal from distilled water bottle, executes " instruction 3 ", the digital output of PLC technology 1 It holds Q0.7 to issue low level signal to the relay J5 of multiposition valve, performs the next step operation;
" instruction 5 " is that programmable controller control multiposition valve takes the injection metering of the first reagent from the first reagent bottle Device, " instruction 5 " specifically include:
The digital output end Q0.6 of PLC technology 1 issues high level 24V signal to the relay J4 of multiposition valve, controls relay Device J4 is opened, and the multiposition valve port K4 of J4 control is connected to centre bore, is then executed " instruction 1 ", first in the first reagent bottle Reagent is through multiposition valve port K4 to centre bore, the then gauge line into meter;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M2, M2Value is set as 20~60 seconds;
Upper liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.4 of programmable controller, Illustrate that the first reagent arrived liquid level in the gauge line, stop timing, timing result is calculated as T2
Work as T2> M2When, the upper liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.4 of programmable controller Ordinary mail number illustrates to take the appearance of the first reagent abnormal from the first reagent bottle, execute " instruction 3 ", PLC technology 1 passes through touch screen and sends out Alarm signal out, and terminate and operate in next step;
Work as T2≤M2When, illustrate to take the first reagent normal from the first reagent bottle, executes " instruction 3 ", the digital quantity of PLC technology 1 Output end Q0.6 issues low level signal to the relay J4 of multiposition valve, performs the next step operation;
" instruction 6 " is that programmable controller control multiposition valve takes the injection metering of the second reagent from the second reagent bottle Device, " instruction 6 " specifically include:
The digital output end Q0.4 of PLC technology 1 issues high level 24V signal to the relay J2 of multiposition valve, controls relay Device J2 is opened, and the multiposition valve port K2 of J2 control is connected to centre bore, is then executed " instruction 1 ", second in the second reagent bottle Reagent is through multiposition valve port K2 to centre bore, the then gauge line into meter;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M3, M3Value is set as 20~60 seconds;
Upper liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.4 of programmable controller, Illustrate that the second reagent arrived liquid level in the gauge line, stop timing, timing result is calculated as T3
Work as T3> M3When, the upper liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.4 of programmable controller Ordinary mail number illustrates to take the appearance of the second reagent abnormal from the second reagent bottle, execute " instruction 3 ", PLC technology 1 passes through touch screen and sends out Alarm signal out, and terminate and operate in next step;
Work as T3≤M3When, illustrate to take the second reagent normal from the second reagent bottle, executes " instruction 3 ", the digital quantity of PLC technology 1 Output end Q0.4 issues low level signal to the relay J2 of multiposition valve, performs the next step operation;
" instruction 7 " is that programmable controller control multiposition valve takes the injection metering of third reagent from third reagent bottle Device, " instruction 7 " specifically include:
The digital output end Q1.0 of PLC technology 1 issues high level 24V signal to the relay J6 of multiposition valve, controls relay Device J6 is opened, and the multiposition valve port K6 of J6 control is connected to centre bore, is then executed " instruction 1 ", the third in third reagent bottle Reagent is through multiposition valve port K6 to centre bore, the then gauge line into meter;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M4, M4Value is set as 20~60 seconds;
Upper liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.4 of programmable controller, Illustrate that third reagent arrived liquid level in the gauge line, stop timing, timing result is calculated as T4
Work as T4> M4When, the upper liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.4 of programmable controller Ordinary mail number illustrates to take the appearance of third reagent abnormal from third reagent bottle, execute " instruction 3 ", PLC technology 1 passes through touch screen and sends out Alarm signal out, and terminate and operate in next step;
Work as T4≤M4When, illustrate to take third reagent normal from third reagent bottle, executes " instruction 3 ", the digital quantity of PLC technology 1 Output end Q1.0 issues low level signal to the relay J6 of multiposition valve, performs the next step operation;
" instruction 8 " is that programmable controller control multiposition valve takes standard sample injection metering from standard sample bottle Device, " instruction 8 " specifically include:
The digital output end Q1.2 of PLC technology 1 issues high level 24V signal to the relay J8 of multiposition valve, controls relay Device J8 is opened, and the multiposition valve port K8 of J8 control is connected to centre bore, is then executed " instruction 1 ", the standard in standard sample bottle Sample is through multiposition valve port K8 to centre bore, the then gauge line into meter;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M5, M5Value is set as 20~60 seconds;
Upper liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.4 of programmable controller, Illustrate that the gauge line Plays sample arrived liquid level, stop timing, timing result is calculated as T5
Work as T5> M5When, the upper liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.4 of programmable controller Ordinary mail number illustrates to take standard sample appearance abnormal from standard sample bottle, executes " instruction 3 ", PLC technology 1 passes through touch screen Alarm signal is issued, and terminates and operates in next step;
Work as T5≤M5When, illustrate to take standard sample normal from standard sample bottle, executes " instruction 3 ", the number of PLC technology 1 It measures output end Q1.2 and issues low level signal to the relay J8 of multiposition valve, perform the next step operation;
" instruction 9 " is that programmable controller control multiposition valve takes liquid to inject digestion pool from meter, described " to refer to 9 " are enabled to specifically include:
The digital output end Q0.3 of PLC technology 1 issues high level 24V signal to the relay J1 of multiposition valve, controls relay Device J1 is opened, and then the output end KQ0.2 of expansible digital output module issues high level 24V signal to the first high pressure valve, The first high pressure valve opening is controlled, the output end KQ0.3 of expansible digital output module issues high level 24V to the second high pressure valve Signal, the second high pressure valve of control are opened, and " instruction 2 " is then executed;
Timing described in execution " instruction 2 ";The time that estimated gauge line is drained is set as M6, M6Value is set as 10~60 seconds;
Lower liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.5 of programmable controller, Illustrate that liquid arrived liquid level in the gauge line, stop timing, timing result is calculated as T6
Work as T6> M6When, the lower liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.5 of programmable controller Ordinary mail number illustrates that liquid injection quartz digestion room is taken exception occur from meter, executes " instruction 3 ", PLC technology 1 passes through Touch screen issues alarm signal, and terminates and operate in next step;
Work as T6≤M6When, illustrate to take liquid injection quartz digestion room normal from meter, executes " instruction 3 ", PLC technology 1 Digital output end Q0.3 to the relay J1 of multiposition valve issue low level signal, the output of expansible digital output module KQ0.2 is held to issue low level signal to the first high pressure valve, the output end KQ0.3 of expansible digital output module is to the second high pressure Valve issues low level signal, performs the next step operation;
" instruction 10 " is that programmable controller control multiposition valve takes liquid to inject meter from digestion pool, is then controlled Multiposition valve processed takes liquid to be discharged through the B mouth of two-position three-way valve from meter, and " instruction 10 " specifically includes:
The digital output end Q0.3 of step a, PLC technology 1 issue high level 24V signal, control to the relay J1 of multiposition valve Relay J1 processed is opened, and then the output end KQ0.2 of expansible digital output module issues high level 24V to the first high pressure valve Signal, the first high pressure valve of control are opened, and the output end KQ0.3 of expansible digital output module issues high electricity to the second high pressure valve Flat 24V signal, the second high pressure valve of control are opened, and " instruction 1 " is then executed;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M7, M7Value is set as 10~60 seconds;
Upper liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.4 of programmable controller, Illustrate that liquid arrived liquid level in the gauge line, stop timing, timing result is calculated as T7
Work as T7> M7When, the upper liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.4 of programmable controller Ordinary mail number illustrates that liquid injection meter is taken exception occur from digestion pool, executes " instruction 3 ", PLC technology 1 passes through touch Screen issues alarm signal, and executes step b;
Work as T7≤M7When, illustrate to take liquid injection meter normal from digestion pool, executes " instruction 3 ", the number of PLC technology 1 Word amount output end Q0.3 issues low level signal, the output end of expansible digital output module to the relay J1 of multiposition valve KQ0.2 issues low level signal to the first high pressure valve, and the output end KQ0.3 of expansible digital output module is to the second high pressure valve Low level signal is issued, and executes step b, then return step a;
The digital output end Q0.5 of step b, PLC technology 1 issue high level 24V signal, control to the relay J3 of multiposition valve Relay J3 processed is opened, and the digital output mouth KQ0.2 of expansible digital output module issues high level to two-position three-way valve 24V signal, the road the B conducting of two-position three-way valve, executes " instruction 2 ";
The timing since execution " instruction 2 ";The time that estimated gauge line is drained is set as M8, M8Value is set as 10~60 seconds;
Lower liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.5 of programmable controller, Illustrate that liquid arrived liquid level in the gauge line, stop timing, timing result is calculated as T8
Work as T8> M8When, the lower liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.5 of programmable controller Ordinary mail number illustrates that liquid is taken to occur abnormal, execution " instruction 3 ", programmable control through the B mouth discharge of two-position three-way valve from meter System 1 issues alarm signal by touch screen, and terminates and operate in next step;
Work as T8≤M8When, illustrate that liquid is taken to be discharged normally through the B mouth of two-position three-way valve from meter, executes " instruction 3 ", can compile The digital output end Q0.5 of process control 1 issues low level signal to the relay J3 of multiposition valve, performs the next step operation;
" instruction 11 " is that programmable controller control multiposition valve takes liquid to inject meter from digestion pool, is then controlled Multiposition valve processed takes liquid to be discharged through the A mouth of two-position three-way valve from meter, and " instruction 11 " specifically includes:
The digital output end Q0.3 of step c, PLC technology 1 issue high level 24V signal, control to the relay J1 of multiposition valve Relay J1 processed is opened, and then the output end KQ0.2 of expansible digital output module issues high level 24V to the first high pressure valve Signal, the first high pressure valve of control are opened, and the output end KQ0.3 of expansible digital output module issues high electricity to the second high pressure valve Flat 24V signal, the second high pressure valve of control are opened, and " instruction 1 " is then executed;
Timing described in execution " instruction 1 ";The time that estimated gauge line is filled with is set as M9, M9Value is set as 10~60 seconds;
Upper liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.4 of programmable controller, Illustrate that liquid arrived liquid level in the gauge line, stop timing, timing result is calculated as T9
Work as T9> M9When, the upper liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.4 of programmable controller Ordinary mail number illustrates that liquid injection meter is taken exception occur from digestion pool, executes " instruction 3 ", PLC technology 1 passes through touch Screen issues alarm signal, and executes step d;
Work as T9≤M9When, illustrate to take liquid injection meter normal from digestion pool, executes " instruction 3 ", the number of PLC technology 1 Word amount output end Q0.3 issues low level signal, the output end of expansible digital output module to the relay J1 of multiposition valve KQ0.2 issues low level signal to the first high pressure valve, and the output end KQ0.3 of expansible digital output module is to the second high pressure valve Low level signal is issued, and executes step d, then return step c;
The digital output end Q0.5 of step d, PLC technology 1 issue high level 24V signal, control to the relay J3 of multiposition valve Relay J3 processed is opened, and the digital output mouth KQ0.1 of expansible digital output module issues high level to two-position three-way valve 24V signal, the road the A conducting of two-position three-way valve, executes " instruction 2 ";
The timing since execution " instruction 2 ";The time that estimated gauge line is drained is set as M10, M10Value is set as 10~60 seconds;
Lower liquid level sensor in the meter issues high level signal to the numerical quantities input terminal I0.5 of programmable controller, Illustrate that liquid arrived liquid level in the gauge line, stop timing, timing result is calculated as T10
Work as T10> M10When, the lower liquid level sensor described at this time does not issue high electricity to the numerical quantities input terminal I0.5 of programmable controller Ordinary mail number illustrates that liquid is taken to occur abnormal, execution " instruction 3 ", programmable control through the B mouth discharge of two-position three-way valve from meter System 1 issues alarm signal by touch screen, and terminates and operate in next step;
Work as T10≤M10When, illustrate that liquid is taken to be discharged normally through the A mouth of two-position three-way valve from meter, executes " instruction 3 ", can compile The digital output end Q0.5 of process control 1 issues low level signal to the relay J3 of multiposition valve, performs the next step operation;
" instruction 12 " is starting light source and photoelectric converter, carries out photoelectric measurement;" instruction 12 " specifically includes:
The digital output port KQ0.5 of expansible digital output module issues high level 24V signal to light source, and light source is opened And shine, light enters photoelectric converter by quartz digestion room, and photoelectric converter is by the photovoltage V measured through programmable controller Analog input end V+ and M be input to programmable controller, after programmable controller analog-to-digital conversion, storage arrive programmable control In device processed, the digital output port KQ0.5 of expansible digital output module issues low level signal to light source, closes light Source;
" instruction 13 " is the heating function of starting digestion pool;" instruction 13 " specifically includes:
Measuring temperature is input to thermal module through the input port A+ and A- of thermal module by the temperature sensor of digestion pool, then It is input to programmable controller;
If measuring temperature is greater than 1000 DEG C, illustrate that temperature sensor fault, PLC technology 1 issue alarm signal by touch screen Number, and terminate and operate in next step;
If measuring temperature is not more than 1000 DEG C, operation is performed the next step;
Programmable controller issues height to the heating relay of digestion pool according to pid algorithm, by digital output end Q1.3 Level 24V signal controls the heater strip starting heating of digestion pool;
The timing since starting heating;The time that estimated measuring temperature reaches requirement is set as M11, M11Value is set as 10~60 seconds;
When the incrementss of the temperature sensor measurement temperature are not less than 0.3 DEG C, illustrate that heating is carrying out, stops timing, meter When result be calculated as T11
Work as T11> M11When, the incrementss of the temperature sensor measurement temperature illustrate heater strip open circuit less than 0.3 DEG C at this time, can Programming Control 1 issues alarm signal by touch screen, and terminates and operate in next step;
Work as T11≤M11When, the incrementss of the temperature sensor measurement temperature are not less than 0.3 DEG C, perform the next step operation;
Programmable controller is according to pid algorithm, and temperature is close to set temperature in control resolution room 14, and error is ± 0.3 DEG C, and root According to setting soaking time T12Second, T12It is 120~800 seconds;Keep T12Afterwards, programmable controller passes through digital output end Q1.3 2 signal of low level is issued to the heating relay of digestion pool, performs the next step operation;
" instruction 14 " is that starting fan cools down to digestion pool;" instruction 14 " specifically includes:
Set temperature setting value;When desired temperature is lower than the measuring temperature of temperature sensor, expansible digital output mould The digital output port KQ0.0 of block issues high level 24V signal, fan rotation to fan, and the temperature cleared up in room 15 reduces, When measuring temperature is equal to desired temperature, the digital output port KQ0.0 of expansible digital output module is used to cooling Fan issues low level signal, and stopping fan rotation performs the next step operation;
" instruction 15 " is to stir mixing liquid in quartz digestion room by the blow bubble into quartz digestion room;" the instruction 15 " specifically include:
The digital output end Q0.3 of PLC technology 1 issues high level 24V signal to the relay J1 of multiposition valve, controls relay Device J1 is opened, and then the output end KQ0.2 of expansible digital output module issues high level 24V signal to the first high pressure valve, The first high pressure valve opening is controlled, the output end KQ0.3 of expansible digital output module issues high level 24V to the second high pressure valve Signal, the second high pressure valve of control are opened, and " instruction 2 " is then executed;
The timing since execution " instruction 2 ", is denoted as T13;The time that estimated blow bubble is completed is set as M13, M13Value is set as 10~ 100 seconds;
Work as T13> M13When, it executes " instruction 3 ", the digital output end Q0.3 of PLC technology 1 is sent out to the relay J1 of multiposition valve Low level signal out, then the output end KQ0.2 of expansible digital output module issues low level signal to the first high pressure valve, The output end KQ0.3 of expansible digital output module issues low level signal to the second high pressure valve, performs the next step operation;
" instruction 16 " is that water sample is drawn in starting automatically;" instruction 16 " specifically includes:
The digital output mouth KQ0.4 of expansible digital output module issues high level 24V letter to shut-off valve and water pump 24 Number, shut-off valve enters opening state, the extraction water sample of water pump 24 to overflow cup, and overflows from the overflow port of overflow cup;
Timing issuing high level 24V signal since the digital output mouth KQ0.4 of expansible digital output module, is denoted as T14;Sample time X is set by touch screen, X value is 60~1800 seconds;
Work as T14When=X, the digital output mouth KQ0.4 of expansible digital output module issues low level signal, and suction pump stops It only draws water, shut-off valve enters off state;
Timing issuing low level signal since the digital output mouth KQ0.4 of expansible digital output module, is denoted as T15;It is logical Touch screen setting sample time Y is crossed, Y value is 60~1800 seconds;
Work as T15When=Y, operation is performed the next step;
" instruction 17 " is that water sampling injects meter from overflow cup;" instruction 17 " specifically includes:
The digital output end Q1.1 of PLC technology 1 issues high level 24V signal to the relay J7 of multiposition valve, controls relay Device J7 is opened, and the multiposition valve port K7 of J7 control is connected to centre bore, is then executed " instruction 1 ", and the water sample in overflow cup is through more Position valve port K7 is to centre bore, the then gauge line into meter;
The time that estimated gauge line is filled with is set as M by the timing since execution " instruction 1 "16, M16Value is set as 10~60 seconds;
Work as T16> M16When, upper liquid level sensor does not issue high level signal to the numerical quantities input terminal I0.4 of programmable controller, Illustrate that water sample occurs abnormal from overflow cup, executes " instruction 3 ", PLC technology 1 issues alarm signal by touch screen, and eventually Only operate in next step;
Work as T16≤M16When, illustrate that water sample occurs normal from overflow cup, executes " instruction 3 ", the digital output of PLC technology 1 It holds Q1.1 to issue low level signal to the relay J7 of multiposition valve, performs the next step operation;
Step 2, it is given an order by executing, checks each component of the monitoring device, and clean digestion pool and meter;
" instruction 11 " is carried out, " instruction 12 ";If the photovoltage value measured is less than 0.5V and illustrates that light source or photoelectric converter occur Abnormal, PLC technology 1 issues alarm signal by touch screen, and terminates and operate in next step, otherwise continues to execute subsequent finger It enables;
" instruction 4 " is carried out, " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 12 ", If the photovoltage value V measured is less than 1.5v and illustrates that exception, PLC technology 1 occur in light path system i.e. light source or photoelectric converter Alarm signal is issued by touch screen, and terminates and operates in next step, otherwise carries out step 3;
Step 3, the monitoring water quality on line equipment is calibrated using standard sample;
Step 3-1 inputs the concentration M of standard sample by touch screen to programmable controller0Time for needing to calibrate with standard sample Number N;
Step 3-2 measures the photovoltage value of " zero point liquid ";" zero point night " is the liquid that sample concentration is zero, is made using distilled water " zero point liquid ", i.e. strength of fluid C0=0;
Step 3-2-1 calibrates times N according to the standard sample inputted in step 3-1, executes n times step 3-2-2;
Step 3-2-2 carries out " instruction 10 ", " instruction 4 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 15 ", " instruction 13 ", " instruction 14 ", " instruction 12 " will measure photovoltage value Vn1It is saved, then carries out " instruction 11 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 ", " instruction 4 " " refer to 9 " are enabled, " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 12 ", system will measure photoelectricity Pressure value Vn2It is saved;
Step 3-2-3 will carry out the V found out after n times step 3-2-2n1, i.e. V11、V21……VN1It is saved and Vn2, i.e., V12、V22……VN2It is saved;According to algorithm An=log (Vn1/Vn2) calculate the absorbance A of zero point liquidn, i.e. A1、A2…… ANAnd it saves;
Step 3-3, the photovoltage value of measurement standard sample, the concentration of standard sample are C1
Step 3-2-1 calibrates times N according to the standard sample inputted in step 3-1, executes n times step 3-3-2;
Step 3-3-2 carries out " instruction 10 ", " instruction 8 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 15 ", " instruction 13 ", " instruction 14 ", " instruction 12 " will measure photovoltage value Vn1' saved, following instruction is continued to execute after allowing, " instruction 11 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 " " refer to 10 " are enabled, " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 12 ", photovoltage value V will be measuredn2' saved, and according to algorithm An'=log (Vn1’/Vn2') calculate the suction of standard sample Luminosity An', i.e. A1’、A2’……AN' and save;
Step 3-4, according to the absorbance A of the step 3-2 zero point liquid measured1、A2……AN, according to algorithmFind out n times Measure the average value of zero point liquid absorbance
According to algorithmIt finds outAnd it saves;
According to the absorbance A of the step 3-3 standard sample measured1’、A2’……AN', according to algorithmFind out n times Measure the average value of zero point liquid absorbance
According to algorithmIt finds outAnd it saves;
Step 4, by touch screen to the period of programmable controller setting monitoring, i.e., the described monitoring device was opened at interval of Xo hours Dynamic primary monitoring, Xo value are 1~6,
Pass through water sampling time T15 and water sample quiescent time T16 of the touch screen in programmable controller setting " instruction 19 ";
Step 5, starting monitoring;
Step 5-1 carries out " instruction 10 ", " instruction 16 ", " instruction 9 ", " instruction 5 ", " instruction 6 ", " instruction 7 ", " instruction 18 ", " instruction 13 ", " instruction 14 ", " instruction 12 ", by the photovoltage value V of measurementc1It is saved, then proceeds by " instruction 11 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 10 " " refer to 4 " are enabled, " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 4 ", " instruction 9 ", " instruction 12 " will measure Photovoltage value Vc2It is saved;
Step 5-2, according to algorithm Ac=log (Vc1/Vc2) calculate the absorbance A of water samplecAnd it saves;
Step 5-3, according to algorithm Ac=kC+b, wherein C is water sample concentration, obtains C=(Ac-b)/k, and save;
By water sample concentration C real-time display in touch screen, pass through touch screen query history water sample concentration value;
Step 5-4, after monitoring cycle Xo, return step 4-1.
CN201811081100.6A 2018-09-17 2018-09-17 Water quality on-line monitoring equipment based on programmable controller and control method Active CN109116043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811081100.6A CN109116043B (en) 2018-09-17 2018-09-17 Water quality on-line monitoring equipment based on programmable controller and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811081100.6A CN109116043B (en) 2018-09-17 2018-09-17 Water quality on-line monitoring equipment based on programmable controller and control method

Publications (2)

Publication Number Publication Date
CN109116043A true CN109116043A (en) 2019-01-01
CN109116043B CN109116043B (en) 2024-01-30

Family

ID=64858313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811081100.6A Active CN109116043B (en) 2018-09-17 2018-09-17 Water quality on-line monitoring equipment based on programmable controller and control method

Country Status (1)

Country Link
CN (1) CN109116043B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110208354A (en) * 2019-04-02 2019-09-06 深圳市智创环保科技有限公司 A kind of portable water quality in-line analyzer
CN112816615A (en) * 2021-01-07 2021-05-18 沈阳力创环保科技有限公司 Chloride ion detector and chloride ion detection method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103808788A (en) * 2013-12-18 2014-05-21 上海仪电科学仪器股份有限公司 Online water quality heavy-metal total amount monitor
CN204287025U (en) * 2014-12-22 2015-04-22 秦汉林 A kind of CODCr water quality on-line monitoring instrument
KR20150070081A (en) * 2015-06-05 2015-06-24 주식회사 엘가 Total nitrogen and total phosphorus measuring device which has low measurement error and which is easy to make maintenance
CN205176043U (en) * 2015-11-14 2016-04-20 中国科学院合肥物质科学研究院 Water sample automatic acquisition and digestion instrument
CN206038669U (en) * 2016-08-31 2017-03-22 马鞍山市桓泰环保设备有限公司 COD water quality automatic monitoring equipment
CN106769938A (en) * 2016-12-30 2017-05-31 中兴仪器(深圳)有限公司 A kind of total nitrogen in-line analyzer and its detection method
US20170285051A1 (en) * 2016-03-30 2017-10-05 Endress+Hauser Conducta Gmbh+Co. Kg Method for operating an automated analyzer
CN206696173U (en) * 2017-03-28 2017-12-01 江西洪图环保有限公司 A kind of online water analysis instrument
CN107655881A (en) * 2017-09-06 2018-02-02 安徽英凯环境技术有限公司 A kind of high-precision water quality online automatic monitor
CN207456920U (en) * 2017-10-24 2018-06-05 南京聚格环境科技有限公司 A kind of COD measuring instruments of digestion device and the application digestion device
CN207717613U (en) * 2018-01-18 2018-08-10 深圳市长协新能源科技有限公司 A kind of full-automatic lead automatic analyzer based on spectrophotometry
CN208833789U (en) * 2018-09-17 2019-05-07 沈阳汉威科技有限公司 Monitoring water quality on line equipment based on programmable controller

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103808788A (en) * 2013-12-18 2014-05-21 上海仪电科学仪器股份有限公司 Online water quality heavy-metal total amount monitor
CN204287025U (en) * 2014-12-22 2015-04-22 秦汉林 A kind of CODCr water quality on-line monitoring instrument
KR20150070081A (en) * 2015-06-05 2015-06-24 주식회사 엘가 Total nitrogen and total phosphorus measuring device which has low measurement error and which is easy to make maintenance
CN205176043U (en) * 2015-11-14 2016-04-20 中国科学院合肥物质科学研究院 Water sample automatic acquisition and digestion instrument
US20170285051A1 (en) * 2016-03-30 2017-10-05 Endress+Hauser Conducta Gmbh+Co. Kg Method for operating an automated analyzer
CN206038669U (en) * 2016-08-31 2017-03-22 马鞍山市桓泰环保设备有限公司 COD water quality automatic monitoring equipment
CN106769938A (en) * 2016-12-30 2017-05-31 中兴仪器(深圳)有限公司 A kind of total nitrogen in-line analyzer and its detection method
CN206696173U (en) * 2017-03-28 2017-12-01 江西洪图环保有限公司 A kind of online water analysis instrument
CN107655881A (en) * 2017-09-06 2018-02-02 安徽英凯环境技术有限公司 A kind of high-precision water quality online automatic monitor
CN207456920U (en) * 2017-10-24 2018-06-05 南京聚格环境科技有限公司 A kind of COD measuring instruments of digestion device and the application digestion device
CN207717613U (en) * 2018-01-18 2018-08-10 深圳市长协新能源科技有限公司 A kind of full-automatic lead automatic analyzer based on spectrophotometry
CN208833789U (en) * 2018-09-17 2019-05-07 沈阳汉威科技有限公司 Monitoring water quality on line equipment based on programmable controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110208354A (en) * 2019-04-02 2019-09-06 深圳市智创环保科技有限公司 A kind of portable water quality in-line analyzer
CN112816615A (en) * 2021-01-07 2021-05-18 沈阳力创环保科技有限公司 Chloride ion detector and chloride ion detection method

Also Published As

Publication number Publication date
CN109116043B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN109116043A (en) Monitoring water quality on line equipment and control method based on programmable controller
CN105371500B (en) Phase-transition heat-storage air friction drag control system and its control method
US5590686A (en) Liquid delivery systems
CN101560971A (en) Pump unit energy efficiency automatic control system and control method thereof
CN208833789U (en) Monitoring water quality on line equipment based on programmable controller
CN206804514U (en) A kind of ammonia nitrogen water quality in-line analyzer
CN104406750A (en) Detection device and detection method for sealing performance of water purifier
CN208856967U (en) A kind of automatic control chlorine residue device
CN204386715U (en) For the thermostatically-controlled equipment of engine coolant
CN112666364B (en) Automatic sampling system
CN203688420U (en) Internal corrosion test bed for engine coolant radiating water tank
CN210037539U (en) Oil particle size online monitoring system
CN204314029U (en) A kind of device for detecting sealability of water purification machine
CN102784571B (en) Medicine dispensation process by means of only one pump in sewage treatment
CN205958588U (en) Automatic flow path system of analysis appearance
CN204988800U (en) Automatic sampling device of microcomputer control
CN209537050U (en) A kind of reverse osmosis water purifier detected with high-low water level and pure water TDS value
CN210400766U (en) Automatic tightness detection device
CN105148792B (en) Intelligent liquid blending machine and blending method
CN113790880A (en) Water nozzle flow, sealing and sensitivity testing device
Ashok et al. Liquid level monitoring and flow based liquid distribution system using PLC and SCADA
CN101493703A (en) Intelligent liquid raw material proportioning control system
CN202928139U (en) Water-saving solar water heater
CN221046886U (en) Self-cleaning system for industrial water on-line chemical meter pipeline
CN214765226U (en) Closed blending device for addition of auxiliary agent

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
GR01 Patent grant
GR01 Patent grant