CN103226148A - Environment analysis apparatus - Google Patents

Environment analysis apparatus Download PDF

Info

Publication number
CN103226148A
CN103226148A CN2012100202127A CN201210020212A CN103226148A CN 103226148 A CN103226148 A CN 103226148A CN 2012100202127 A CN2012100202127 A CN 2012100202127A CN 201210020212 A CN201210020212 A CN 201210020212A CN 103226148 A CN103226148 A CN 103226148A
Authority
CN
China
Prior art keywords
analytic system
bottom operation
bus
formula analytic
analysis process
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
CN2012100202127A
Other languages
Chinese (zh)
Other versions
CN103226148B (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.)
GUILIN OUBO INSTRUMENT TECHNOLOGY Co Ltd
Original Assignee
GUILIN OUBO INSTRUMENT 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 GUILIN OUBO INSTRUMENT TECHNOLOGY Co Ltd filed Critical GUILIN OUBO INSTRUMENT TECHNOLOGY Co Ltd
Priority to CN201210020212.7A priority Critical patent/CN103226148B/en
Publication of CN103226148A publication Critical patent/CN103226148A/en
Application granted granted Critical
Publication of CN103226148B publication Critical patent/CN103226148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Automatic Analysis And Handling Materials Therefor (AREA)

Abstract

The invention relates to a design of an environment analysis apparatus for detecting one or more index to be analyzed, the environment analysis apparatus comprises a sensor and an actuator set, and a distributed control system with loose coupling composed of several subsystems capable of being independently triggered on a control technology and system internal bus, the several subsystems comprise an analysis flow control unit, and one or more opened type sub analysis systems for detecting difficult detection index, the opened type sub analysis systems provides various bottom layer operation instruction set control interfaces to outside, processes of cleaning evacuation, maintenance debug or analysis detection of various index to be detected in the environment analysis apparatus are carried out through selecting several bottom layer operation instructions collected at bottom layer operation instruction, the analysis flow control unit gives the bottom layer operation instruction step by step according to flow steps to the opened type sub analysis system, and then one or more opened type sub analysis systems can be controlled according to returned state result information for controlling a flow direction mode and operated.

Description

A kind of environmental analysis instrument
Technical field
The present invention relates to the environmental analysis instrument, particularly a kind of design that can detect a kind of environmental analysis instrument of or several indexs to be analyzed simultaneously.
Background technology
The workflow of environmental analysis instrument generally can be formed with the redirect principle combinations in sequence by pre-service, feed liquor metering, reaction control, assay determination, data processing, demonstration and these a few class subfunction flow processs of communication.At present, usually to adopt with a microprocessor or microcontroller be the control core system to the environmental analysis instrument that detects a kind of analysis indexes.For example: the arsenic on-line analyzer that Chinese patent application publication No. CN101900703A is announced, its control system core are single processor main board (parts 9:CPU shown in Figure 1).
Along with client's improving constantly to analytical instrument function modoularization, module intellectuality, beautiful interfaceization and grid requirement, employing is that the drawback of core control system just highlights gradually with a microprocessor or microcontroller, and it has mainly showed these points:
The one, the reliability of flow process and beautiful interface and the gridization contradiction on single control system: the control flow of environmental analysis instrument is more complicated all generally, relate to the valve group, the pump group, the control of various actuators such as detecting device and sensor, for guaranteeing the reliable and stable of flow process control, industry all adopts at present with PLC, the embedded microcontroller of technical grades such as single-chip microcomputer is the control system on basis, but, this class control system is having inborn weak tendency aspect interface output and the gridization, realize the colored large-size screen monitors of meeting customer need, the communication interface of interactive interface efficiently attractive in appearance and many standards, its cost of development is very big or infeasible technically.On the other hand, on interface and communication function, have the control system based on universal personal computer, industrial computer processor or embedded microprocessor of advantage, in stable control, but seem unable to do what one wishes numerous actuators and sensor.
They are two years old, under the framework of this uniprocessor control system, if break down in certain part of environmental analysis instrument, then need replacing is diagnosed or safeguarded to The whole control system, simultaneously, in the time need carrying out local improvement or device replacing to instrument, the hardware and software of total system all needs to adjust, and the extendability of system is poor.
They are three years old, because the detection principle of various environmental analysis instruments has nothing in common with each other, its functional module and analysis process be difference to some extent also, so instrument of on this uniprocessor control system framework, developing, its control system separately on the hardware and software mutually between versatility not high, for the new environmental analysis instrument that needs exploitation, the reusability of existing mature technology is poor, and the R﹠D costs of new instrument are higher.
In addition, detect more than one index to be analyzed if desired simultaneously, adopting with single microprocessor or microcontroller is that the system architecture of core control system is in the design of software and hardware with safeguard that difficulty is very big.Therefore, detect the application demand of more than one index to be analyzed simultaneously for need, prior art solutions normally can detect several analytical instrument of each analysis indexes and treat as the slave computer transmitter, adopt field bus technique that each analytical instrument is integrated as independent particle system and form an analytical instrument system.In this system architecture, the analysis process of each analytical instrument is write by the outside, and be in operation by the controller Autonomous Control of this analytical instrument subsystem inside, host computer only is responsible for assigning and is detected instruction and obtain the analysis result value that subsystem returns behind certain hour.At present, this control system is widely used in the integrated design of the environment of many indexs or pollution source on-line monitoring instrument.Adopt this system architecture still to have 2 deficiencies in environmental analysis instrument application field:
The one, still higher to hardware requirement as each analytical instrument subsystem controls system of slave computer, must be the interactive interface of each analytical instrument subsystem design user interface and input and output on software and hardware, this will increase the exploitation and the production cost of each analytical instrument subsystem undoubtedly.
They are two years old, can only provide some limited based on the control system software architecture of simple integrated technology such as beginning to measure, begin upper stratas such as demarcations, the instrument return data instruction interfaces of countercharging, and present monitoring water quality on line requires the user can be by wired or wireless network remote countercharge each device or bottom operation under each analytical instrument subsystem usually, and existing control system can't satisfy the countercharge demand of device level bottom operation.
Summary of the invention
In order to solve the deficiency that prior art exists, the invention provides the environmental analysis instruments design that a kind of parallel running simultaneously is a kind of or several different index testing processes to be analyzed, exploitation and maintenance cost reduce, extendability improves.
Fig. 2-Fig. 4 has shown the design diagram of technical solution of the present invention.Technical scheme of the present invention is: the environmental analysis instrument of a kind of or several different index analysis flow processs to be detected of a kind of parallel running simultaneously, comprise by the valve group, the pump group, heating arrangement, temperature sensor, sensor and groups of actuators that various devices such as photoelectric detection system constitute, and by some distributed that but the subsystem of independent triggers and internal system bus constitute on control technology, the control system of loose coupling, it is characterized in that, include an analysis process control module 1 in the described plurality of sub system, and one or the different open formula analytic systems 2 that detect indexs of several detections, described open formula analytic system 2 externally provides all kinds of bottom operation instruction set 11 control interfaces, the clean-drain of the various indexs to be detected in the environmental analysis instrument, safeguard that debugging or analyzing and testing flow process all can form by selecting the some bottom operation packings of orders in the described bottom operation instruction set 11 for use, and open formula analytic system 2 substeps by the composite sequence of bottom operation instruction to each by internal system bus 3 by analysis process control module 1 and send, described each open formula analytic system 2 is in the implementation of each bottom operation or after carrying out end, state outcome information is returned to analysis process control module 1 by internal system bus 3, the state outcome information that described analysis process control module 1 returns according to each open formula analytic system 2 in order or next step bottom operation instruction of the logic redirect rule downloading of agreement, described analysis process control module 1 open formula analytic system 2 to one or several and is issued the bottom operation instruction step by step by process step and control one or several according to the mode that its state outcome information Control flow process of returning is moved towards and open 2 parallel runnings of formula analytic system by this.
Comprise analysis process processor controls 4 and system bus interface circuit 5 in the described analysis process control module 1, described system bus interface circuit 5 connects described internal system bus 3, described each open formula analytic system 2 comprises separately independently bus interface circuit 6, bottom operation flow process processor controls 7, I/O interface circuit 8 and subordinate's sensor and groups of actuators 9, described each open formula analytic system 2 bus interface circuit 6 separately upwards connects described internal system bus 3, and described open formula analytic system 2 I/O interface circuit 8 separately connects subordinate's sensor and actuator 9 downwards.
The inside of described each open formula analytic system 2 marks off one or several subfunction unit 10 by the function type of its each bottom operation on the Control Software structure, the bottom operation flow process processor controls 7 and the bus interface circuit 6 of described each open formula analytic system 2 are shared by each subfunction unit 10 of same open formula analytic system 2 inside, described each subfunction unit 10 is measured or is controlled its subordinate's sensor and groups of actuators 9 by the relevant portion in the described I/O interface circuit 8, and defined each subfunction unit 10 realizes that the flow process control algolithm of some bottom operations 12 all is embedded in the bottom operation flow process processor controls 7 of described each open formula analytic system 2 in the described bottom operation instruction set 11.
Every bottom operation instruction in the described bottom operation instruction set 11 all comprises it and trigger the required call number of this bottom operation in affiliated open formula analytic system 2, and moves this bottom operation operating parameter required or that can be sky.
As preferably, adopt the software design framework of state machine can realize sharing of open formula analytic system 2 interior each subfunction unit 10 pairs of bottom operation flow processing device and bus interface circuit, and realize parallel control each bottom operation.The software design technology of state machine is a known technology, does not do at this and gives unnecessary details.
Also can comprise external communication interface circuit, switching value and digital quantity I/O interface circuit in the described analysis process control module 1 and show output interface circuit.As preferably, move on the analysis process processor controls (4) of the superiors' Control Software of environmental analysis instrument in described analytical instrument control module (1).
In described environmental analysis instrument, have at least a described open formula analytic system 2 to comprise following subfunction unit 10, and one or several metering driver element 13 and one or several assay determination unit 15.
Each sensor and actuator of operation is measured and drives in execution and reagent and sample feed liquor or air inlet in the described open formula analytic system 2 of described metering driver element 13 controls, includes in the described metering driver element 13 and reagent and sample feed liquor or air inlet metrological operation and the relevant bottom operation instruction set and the flow process control algolithm that realizes bottom operation of driving operation.
Carry out each sensor and actuator relevant in the described open formula analytic system 2 of described assay determination unit 15 controls with measurement operation.
For the sub-analytic system of measuring based on the absorption of electromagnetic radiation spectral principle, measurement operation is detected the measurement of amplifying conversion pairing transmission voltage in back or electric current after being defined as test substance absorbance or electromagnetic radiation being passed test substance;
For the sub-analytic system of measuring based on the titration principle, the measurement of titration institute time-consuming or to the mensuration of consumption vs volume when measurement operation is defined as titration arrived certain unique point;
For the sub-analytic system of measuring based on electrode method principle, measurement operation is defined as the measurement to electrode output voltage or electric current;
For the sub-analytic system of measuring based on the anodic stripping voltammetry principle, the measurement of negative peak height on the spike potential of different ions correspondence on the voltage-to-current curve of exporting when measurement operation is defined as the antianode stripping;
For the sub-analytic system of measuring based on the stratographic analysis principle, measurement operation is defined as the measurement to each component chromatographic peak.
The flow process control algolithm that includes bottom operation instruction set relevant and realization bottom operation in the described assay determination unit 15 with the measurement operation flow process, after the measurement operation instruction was finished, described assay determination unit 15 returned the assay determination result or waits for analysis process control module 1 inquiry measurement result to described analysis process control module 1.
In described open formula analytic system 2, have at least a described open formula analytic system 2 to comprise following subfunction unit 10, and one or several reaction control modules 14, execution each sensor and actuator relevant with reaction control in the open formula analytic system 2 of described reaction control module 14 controls includes the bottom operation instruction set relevant with the reaction control operation and the flow process control algolithm of realization bottom operation in the described reaction control module 14.
In the described open formula analytic system 2 any one or several subfunction unit 10 can split the integrated new independently open formula analytic system 2 that becomes of coming out from former open formula analytic system, new open formula analytic system 2 has independently bus interface circuit 6, bottom operation flow process processor controls 7, I/O interface circuit 8 and subordinate's sensor and groups of actuators 9.
As preferably, the analysis process processor controls 4 in the described analysis process control module 1 adopts a kind of in universal personal computers or industrial computer processor, embedded microprocessor or the embedded microcontroller.
As preferably, described internal system bus 3 adopts a kind of in RS232, RS485, CAN or the I2C buses or several combination.
As preferably, the bottom operation flow process processor controls 7 in the described open formula analytic system 2 adopts a kind of in embedded microprocessors or the embedded microcontroller.
Respectively measure in the described open formula analytic system 2 and comprise the pipetting instruction in the bottom operation instruction set of driver element 13, the functional definition of described pipetting instruction will be for opening liquid in a certain setting in the formula analytic system 2 or the acquiescence feed liquor port institute connection container or gas to set or the volume and the speed of acquiescence are transferred in the container that destination interface was communicated with of another setting or acquiescence.
The operating parameter of described pipetting instruction comprises liquid feeding end slogan parameter.The operating parameter of described pipetting instruction comprises the volumetric parameter that needs moving liquid or gas, the time parameter that perhaps moves liquid and continued.The operating parameter of described pipetting instruction comprises the running speed parameter of moving liquid speed or moving hydraulic driver.The operating parameter of described pipetting instruction comprises and moves liquid destination slogan parameter.
The bottom operation instruction set of described reaction control module 14 comprises the heating operation instruction, described heating operation instruction comprises the call number that triggers this bottom operation flow process, this operating parameter of purpose temperature that also comprises setting, the functional definition of described heating operation instruction keeps this temperature afterwards for fluid heating in the reaction vessel that will open certain setting in the formula analytic system 2 or acquiescence or the purpose temperature that is cooled to set always.
Bottom operation instruction set in the described reaction control module 14 comprises clears up operational order, the described operational order of clearing up comprises the call number that triggers this bottom operation flow process, also comprise these two operating parameters of digestion condition and digestion time, described functional definition of clearing up operational order will be for opening the digestion condition that object in certain setting in the formula analytic system 2 or the acquiescence reaction vessel is heated to setting, keep this temperature afterwards always, after clearing up the digestion time that the duration arrive to set, stop again that temperature control is regulated and the object temperature in the reaction vessel is cooled to the safe temperature setting or give tacit consent to.
The method of described analysis process control module 1 one of control or several open formula analytic system 2 flow process parallel runnings is as follows:
1). defined analysis flow process control module 1 and the bus address of all subsystems on internal system bus 3 that comprises each open formula analytic system 2;
2). the function type by described each open formula analytic system 2 each bottom operation is opened the flow process that defines each subfunction unit 10 and realize some bottom operations 12 of described each subfunction unit 10 in the Control Software framework of formula analytic system 2 at each;
3). the bottom operation instruction set of each subfunction unit 10 in the definition step 2, every bottom operation instruction in the described bottom operation instruction set all comprises it and trigger the required call number of this bottom operation flow process in affiliated open formula analytic system 2, and moves this bottom operation instruction operating parameter required or that can be sky;
4). the software of described analysis process control module 1 moves a master control thread and a bus message processing threads after startup, the master control thread is accepted user input, and the number of the open formula analytic system 2 of parallel control generates the sub-analysis process control thread of respective amount and flow process bottom operation sequence information, flow performing order and the logic redirect rule of required operation and data processing display operation information are written into each sub-analysis process respectively and controls in thread as required;
5). described each sub-analysis process control thread is by the current flow performing order that needs operation, send the current bottom operation that needs to carry out to described bus message processing threads and instruct, bind the bus address information that also comprises the open formula analytic system 2 of carrying out this instruction that sends simultaneously with described bottom operation instruction;
6). described bus message processing threads receives the bottom operation instruction of receiving from each sub-analysis process control thread after, described bottom operation instruction is imported formation to be sent instructions, the bus message processing threads will be followed the priority preset rule, and the instruction to be sent in the formation of waiting to send instructions is sent by system bus interface circuit 5 and internal system bus 3 one by one;
7). each the bottom operation instruction that is sent is resolved and is carried out by the open formula analytic system 2 of specifying bus address, in this bottom operation implementation or after carrying out end, this opening formula analytic system 2 returns to analysis process control module 1 with state outcome information by internal system bus 3, binds bus address that also comprises analysis process control module 1 that returns and the bus address of carrying out the open formula analytic system 2 of this bottom operation together with state outcome information;
8). after described analysis process control module 1 receives the state outcome information of returning from the open formula analytic system 2 of difference by internal system bus 3, all state outcome information is all with the message queue to be resolved that is admitted to earlier in the bus message processing threads, the bus message processing threads is distributed to the state outcome information in the message queue to be resolved the sub-analysis process control thread process of being responsible for this opening formula analytic system of control one by one by the priority preset order;
9). each sub-analysis process control thread according to distribute the state outcome information of returning carry out operations such as data processing, data interaction or interface alternation, after a last bottom operation is finished, sub-analysis process control thread sends the bottom operation instruction that next bar need be carried out by predefined execution sequence or logic redirect rule to the open sub-analytic system 2 of subordinate, and finish until the analysis process of each open formula analytic system 2 repeating step (5)-(9) of so circulating;
In step (5)-(9), the data interaction between master control thread, each sub-analysis process control thread and the bus message processing threads is by a kind of or several realizations in the modes such as file read-write, data base read-write, global variable or shared drive.
The another kind of method of described analysis process control module 1 one of control or several open formula analytic system 2 flow process parallel runnings is as follows:
1). defined analysis flow process control module 1 and the bus address of all subsystems on internal system bus 3 that comprises each open formula analytic system 2;
2). the function type by described each open formula analytic system 2 each bottom operation is opened the flow process that defines each subfunction unit 10 and realize some bottom operations of described each subfunction unit 10 in the Control Software of formula analytic system 2 at each;
3). the bottom operation instruction set of each subfunction unit 10 in the definition step 2, every bottom operation instruction in the described bottom operation instruction set all comprises it and trigger the required call number of this bottom operation flow process in affiliated open formula analytic system 2, and moves this bottom operation instruction operating parameter required or that can be sky;
4). the software of described analysis process control module 1 moves a master control thread and a bus message processing threads after startup, the master control thread is accepted user input, as required the number of the open formula analytic system 2 of parallel control generate respective amount sub-analysis process control structure body and with the flow process bottom operation sequence information of required operation, flow performing in proper order and logic redirect rule and data processing display operation information be written into respectively in each sub-analysis process control structure body;
5). described master control thread adopts the mode of timer automatic regular polling one by one by the sub-analysis process order that defines in each sub-analysis process control structure body, send each to described bus message processing threads and open the 2 current bottom operations instructions that need execution of formula analytic system, bind the bus address information that also comprises the open formula analytic system 2 of carrying out this instruction that sends simultaneously with described bottom operation instruction;
6). described bus message processing threads receives the bottom operation instruction of receiving from the master control thread after, with its importing formation to be sent instructions, the bus message processing threads will be followed the priority preset rule, and the instruction to be sent in the formation of waiting to send instructions is sent by system bus interface circuit 5 and internal system bus 3 one by one;
7). each the bottom operation instruction that is sent is resolved the back by the open formula analytic system 2 of specifying bus address and is carried out, after this bottom operation is carried out each phase points or is carried out end, this opening formula analytic system 2 returns to analysis process control module 1 with state outcome information by internal system bus 3, binds bus address that also comprises analysis process control module 1 that returns and the bus address of carrying out the open formula analytic system 2 of this bottom operation together with state outcome information;
8). after described analysis process control module 1 receives the state outcome information of returning from the open formula analytic system 2 of difference by internal system bus 3, all state outcome information is all with the message queue to be resolved that is admitted to earlier in the bus message processing threads, the bus message processing threads is distributed to the state outcome information in the message queue to be resolved the sub-analysis process control structure body of being responsible for these opening formula analytic system 2 analysis process of control one by one by the priority preset order;
9). meanwhile, the state outcome information that the continuation of master control thread adopts each sub-analysis process control structure body of mode poll of timer automatic regular polling to be received, and carry out data processing according to the state outcome information of returning, operation such as data interaction or interface alternation, after a last bottom operation of certain open formula analytic system 2 is finished, the master control thread is opened formula analytic system 2 by predefined execution sequence or logic redirect rule to this and is sent the bottom operation instruction that next bar need be carried out in next automatic regular polling, finish until the analysis process of each open formula analytic system 2 repeating step (5)-(9) of so circulating;
In step (9), if still being in the executing state, do not finish as yet a last bottom operation of certain open formula analytic system 2, then the master control thread continues poll when timer triggering next time, if do not receive the state outcome information of being waited for yet after surpassing setting-up time, then the master control thread sends the one query instruction to this controlled formula analytic system 2 of opening, return its current state object information once more by this opening formula analytic system 2, the master control thread is continuing (9) processing set by step in the poll next time;
In step (5)-(9), the data interaction between master control thread, each sub-analysis process control thread and the bus message processing threads is by a kind of or several realizations in the modes such as file read-write, data base read-write, global variable or shared drive.
Description of drawings
Fig. 1: a kind of arsenic on-line analyzer design diagram that adopts single processor main board as control system.
Fig. 2: what the present invention announced can detect system architecture synoptic diagram a kind of or several index environmental analysis instruments to be detected simultaneously.
Fig. 3: the system architecture synoptic diagram of open formula analytic system.
Fig. 4: a kind of open formula analytic system system architecture synoptic diagram that comprises metering driver element, reaction control module and assay determination unit.
Fig. 5: a kind of parallel parsing simultaneously detects the water quality automatic analytical instrument system architecture synoptic diagram of COD and two kinds of water pollution indexs of ammonia nitrogen.
Fig. 6: a kind of the detected COD of an open formula analytic system and water quality automatic analytical instrument system architecture synoptic diagram of ammonia nitrogen of comprising.
Fig. 7: the detected COD after a kind of subfunction unit merges and the water quality automatic analytical instrument system architecture synoptic diagram of ammonia nitrogen.
Embodiment
Example one:
A kind of example of the present invention is as shown in Figure 5: a kind of parallel parsing simultaneously detects the water quality automatic analytical instrument of COD and two kinds of water pollution indexs of ammonia nitrogen, comprise one by analysis process control module 21, that internal system bus and two detect respectively that the open formula analytic system of COD and ammonia nitrogen constitutes is distributed, the control system of loose coupling, and described internal system bus is a CAN bus 22.
Described two open formula analytic systems are respectively COD analytic system 23 and the sub-analytic system 24 of ammonia nitrogen.Two sub-analytic systems externally provide bottom operation instruction set 11 control interfaces of realizing its each step of analysis process, every bottom operation instruction in the described bottom operation instruction set 11 all comprises it and trigger the required call number of this bottom operation in affiliated open formula analytic system, and moves this bottom operation operating parameter required or that can be sky.
The clean-drain of described COD analytic system 23 and the sub-analytic system 24 of ammonia nitrogen, safeguard that debugging or analyzing and testing flow process all can form by selecting the some bottom operation packings of orders in the described bottom operation instruction set 11 for use, and open formula analytic system 23 and 24 by the composite sequence of bottom operation instruction to two by internal system CAN bus 22 by analysis process control module 21 and send step by step, described two open formula analytic systems 23 and 24 are in the implementation of each bottom operation or after carrying out end, state outcome information is returned to analysis process control module 21 by CAN bus 22, the state outcome information that described analysis process control module 21 returns according to two open formula analytic systems 23 and 24 in order or next step bottom operation instruction of the logic redirect rule downloading of agreement, described analysis process control module 21 open formula analytic system 23 and 24 to two and is issued the bottom operation instruction step by step and control two according to the mode that its state outcome information Control flow process of returning is moved towards and open formula analytic system 23 and 24 parallel runnings by process step by this.
Comprise in the described analysis process control module 21 based on ARM embedded microprocessor analysis of technology flow process processor controls 25 and system bus interface circuit 26.Two open formula analytic systems 23 and 24 of described COD and ammonia nitrogen comprise separately bus interface circuit 27 independently, based on bottom operation flow process processor controls 28, I/O interface circuit 29 and the subordinate's of C8051 series embedded microcontroller sensor and groups of actuators, described sensor and groups of actuators comprise valve group, pump group, heating arrangement, attemperating unit, colorimetric device etc.The system bus interface circuit 26 of described analysis process control module 21 connects described CAN bus 22, described COD analytic system 23 upwards is connected described CAN bus 22 with the sub-analytic system 24 of ammonia nitrogen bus interface circuit 27 separately, described COD analytic system 23 and the sub-analytic system 24 of ammonia nitrogen I/O interface circuit 29 downward sensor and the actuators that are connected the subordinate separately;
The inside of described COD analytic system 23 marks off metering driver element 30 by the function type of its each bottom operation on the Control Software structure, reaction control module 31 and 32 3 the sub-functional units in assay determination unit, equally, the inside of the sub-analytic system 24 of described ammonia nitrogen marks off metering driver element 33 by the function type of its each bottom operation on the Control Software structure, reaction control module 34 and 35 3 the sub-functional units in assay determination unit, the bottom operation flow process processor controls 28 of described each open formula analytic system and bus interface circuit 27 are shared by three sub-functional units of each open formula analytic system inside, described each subfunction unit is measured or is controlled its subordinate's sensor and groups of actuators by the relevant portion in the described I/O interface circuit 29, and defined each subfunction unit realizes that the flow process control algolithm of bottom operation all is embedded in the bottom operation flow process processor controls 28 of above-mentioned two open formula analytic systems in the described bottom operation instruction set.
Adopt the software design framework of state machine can realize that each subfunction unit of open formula analytic system to the sharing of bottom operation flow processing device and bus interface circuit, realizes the parallel control to each bottom operation.The software design technology of state machine is a known technology, does not do at this and gives unnecessary details.
Each sensor and actuator of operation is measured and drives in execution and reagent and sample feed liquor or air inlet in the affiliated separately open formula analytic system of described metering driver element 30 and 33 controls, includes in the described metering driver element 30 and 33 and reagent and sample feed liquor or air inlet metrological operation and the relevant bottom operation instruction set and the flow process control algolithm that realizes bottom operation of driving operation.
Each sensor and actuator relevant with the final analysis measurement operation carried out with affiliated separately opening of 35 controls in described assay determination unit 32 in the formula analytic system, for COD, these two kinds sub-analytic systems of measuring based on colorimetric principle of ammonia nitrogen, the light that measurement operation is defined as certain wavelength is detected the measurement of amplifying the pairing transmission voltage in conversion back after passing solution to be measured, the flow process control algolithm that includes bottom operation instruction set relevant and realization bottom operation in the described assay determination unit 32 and 35 with the assay determination operating process, after the assay determination operation was finished, described assay determination unit 32 and 35 returned the assay determination result or waits for analysis process control module 21 query analysis measurement results to described analysis process control module 21.
Described reaction control module 31 is carried out in the formula analytic system and each relevant sensor and actuator of reaction control with affiliated separately opening of 34 controls, includes bottom operation instruction set relevant with reacting control operation and the flow process control algolithm that realizes bottom operation in the described reaction control module 31 and 34.
The analysis process of described COD and ammonia nitrogen two seed analysis systems, affiliated subfunction unit and bottom operation instruction thereof are exemplified below:
COD analytic system:
Analysis process finishes
The sub-analytic system of ammonia nitrogen:
Figure BSA00000661656400072
Analysis process finishes
In the last table, the bottom operation instruction set of respectively measuring driver element 30 and 33 in the sub-analytic system 24 of described COD analytic system 23 and ammonia nitrogen comprises the pipetting instruction, and the functional definition of described pipetting instruction is for transferring to liquid or gas in a certain setting in the sub-analytic system or the acquiescence feed liquor port institute connection container in the container that destination interface was communicated with of another setting or acquiescence with the volume and the speed of setting or acquiescence.The operating parameter of described pipetting instruction can comprise liquid feeding end slogan parameter, move liquid destination slogan parameter, need the volumetric parameter of moving liquid or gas or move the time parameter that liquid continues, the running speed parameter of moving liquid speed or moving hydraulic driver.
Typical pipetting instruction is exemplified below: HH DD CC II EE VV TT SS, and wherein HH is the bus address of analysis process control module; DD is the bus address of COD or the sub-analytic system of ammonia nitrogen; CC is the call number of pipetting instruction; II is the liquid feeding end slogan; EE is for moving liquid destination slogan; VV is the volume that moves liquid; TT is the time restriction parameter of moving liquid; SS is the speed of moving liquid.
The bottom operation instruction set of reaction control module 34 comprises the heating operation instruction in the sub-analytic system 24 of described ammonia nitrogen, described heating operation instruction comprises the call number that triggers this bottom operation flow process, this operating parameter of purpose temperature that also comprises setting, the purpose temperature of functional definition for the fluid in the reaction vessel of certain setting or acquiescence in the sub-analytic system is heated or is cooled to set of described heating operation instruction keeps this temperature afterwards always.
Typical heating operation instruction is exemplified below: HH DD CC RR SS TT FF FF, and wherein HH is the bus address of analysis process control module; DD is the bus address of the sub-analytic system of ammonia nitrogen; CC is the call number of heating operation instruction; RR is the numbering of heating container; SS is a heater switch, and heating is closed in " 00 " expression, and heating is opened in " 01 " expression; TT is the purpose temperature of heating; The FF FF of back represents nonsignificant data.
The bottom operation instruction set of reacting control module 31 in the described COD analytic system 23 comprises clears up operational order, the described operational order of clearing up comprises the call number that triggers this bottom operation flow process, also comprise these two operating parameters of digestion condition and digestion time, described functional definition of clearing up operational order is the digestion condition that the object in certain setting in the sub-analytic system or the acquiescence reaction vessel is heated to setting, keep this temperature afterwards always, after clearing up the digestion time that the duration arrive to set, stop again that temperature control is regulated and the object temperature in the reaction vessel is cooled to the safe temperature setting or give tacit consent to.
Typically clearing up operational order is exemplified below: HH DD CC RR MM NN TT FF, and wherein HH is the bus address of analysis process control module; DD is the bus address of the sub-analytic system of ammonia nitrogen; CC is a call number of clearing up operational order; RR is the numbering of heating container; MM is a digestion condition; NN clears up the temperature that the back cooling reaches; TT is for clearing up the duration; The FF of back represents nonsignificant data.
Each assay determination unit 32 and 35 bottom operation instruction set comprise the measurement operation instruction in the sub-analytic system 24 of described COD analytic system 23 and ammonia nitrogen, the light that measurement operation is defined as certain wavelength is detected the measurement of amplifying the pairing transmission voltage in conversion back after passing solution to be measured, the flow process control algolithm that includes bottom operation instruction set relevant and realization bottom operation in the described assay determination unit 32 and 35 with the assay determination operating process, after measurement operation was finished, described assay determination unit 32 and 35 returned the assay determination result or waits for analysis process control module 21 query analysis measurement results to described analysis process control module 21.
Typical measurement operation instruction is exemplified below: HH DD CC RR TT FF FF FF, and wherein HH is the bus address of analysis process control module; DD is the bus address of ammonia nitrogen or COD analytic system; CC is the call number of measurement operation instruction; RR is for measuring the numbering of passage; TT is the time that measurement operation continues sampling; The FF FF FF of back represents nonsignificant data.
The all subfunction unit 30-35 of above-mentioned sub-analytic system is after receiving the bottom operation instruction that described analysis process control module 21 issues, type and response demand according to each instruction, after receiving operational order, operation carry out in or after operation is finished, can return corresponding state outcome information to analysis process control module 21 successively by internal system CAN bus 22, typical state outcome information example is: DD HH CC SS XX XX XX XX, and wherein DD is the bus address of COD analytic system 23 or the sub-analytic system 24 of ammonia nitrogen; HH is the bus address of analysis process control module 21; CC is the echo message call number of corresponding bottom operation instruction; SS is the bottom operation current state, and instruction has been received in " 99 " expression, carries out at once, and " 00 " expression executed finishes, and " 01 " expression is not finished as yet, and state is just busy; The XX XX XX XX of back according to different bottom operation instruction return different state outcome information, the transmission voltage after for example can returning it and be finished for the measurement operation instruction.
The method of analysis process control module 21 control COD analytic systems 23 and the sub-analytic system 24 analysis process parallel runnings of ammonia nitrogen is as follows:
1). the bus address of the sub-analytic system 24 of defined analysis flow process control module 21, COD analytic system 23 and ammonia nitrogen on the internal system bus;
2). in its Control Software framework separately, define each subfunction unit 30-35 and realize the flow process of some bottom operations of described each subfunction unit 30-35 by the function type of described COD analytic system 23 and sub-analytic system 24 each bottom operation of ammonia nitrogen;
3). the bottom operation instruction set of each subfunction unit 30-35 in the definition step 2, every bottom operation instruction in the described bottom operation instruction set all comprises it and trigger the required call number of this bottom operation flow process in affiliated open formula analytic system, and moves this bottom operation instruction operating parameter required or that can be sky;
4). the software of described analysis process control module 21 moves a master control thread and a bus message processing threads after startup, the master control thread is accepted user input, and the number of the open formula analytic system of parallel control generates the sub-analysis process control thread of respective amount and flow process bottom operation sequence information, flow performing order and the logic redirect rule of required operation and data processing display operation information are written into each sub-analysis process respectively and controls in thread as required;
5). described each sub-analysis process control thread is by the current flow performing order that needs operation, send the current bottom operation that needs to carry out to described bus message processing threads and instruct, bind the bus address information that also comprises the open formula analytic system of carrying out this instruction that sends simultaneously with described bottom operation instruction;
6). described bus message processing threads receives the bottom operation instruction of receiving from each sub-analysis process control thread after, described bottom operation instruction is imported formation to be sent instructions, the bus message processing threads will be followed the priority preset rule, and the instruction to be sent in the formation of waiting to send instructions is sent by system bus interface circuit 26 and internal system CAN bus 22 one by one;
7). each the bottom operation instruction that is sent is resolved and is carried out by the open formula analytic system of specifying bus address, in this bottom operation implementation or after carrying out end, this opening formula analytic system returns to analysis process control module 21 with state outcome information by internal system CAN bus 22, binds bus address that also comprises analysis process control module 21 that returns and the bus address of carrying out the open formula analytic system of this bottom operation together with state outcome information;
8). after described analysis process control module 21 receives the state outcome information of returning from the open formula analytic system of difference by internal system CAN bus 22, all state outcome information is all with the message queue to be resolved that is admitted to earlier in the bus message processing threads, the bus message processing threads is distributed to the state outcome information in the message queue to be resolved the sub-analysis process control thread process of being responsible for this opening formula analytic system of control one by one by the priority preset order;
9). each sub-analysis process control thread according to distribute the state outcome information of returning carry out operations such as data processing, data interaction or interface alternation, after a last bottom operation is finished, sub-analysis process control thread sends the bottom operation instruction that next bar need be carried out by predefined execution sequence or logic redirect rule to the open sub-analytic system of subordinate, and finish until the analysis process of each open formula analytic system repeating step (5)-(9) of so circulating;
In step (5)-(9), the data interaction between master control thread, each sub-analysis process control thread and the bus message processing threads is by a kind of or several realizations in the modes such as file read-write, data base read-write, global variable or shared drive.
The another kind of method of analysis process control module 21 control COD analytic systems 23 and the sub-analytic system 24 analysis process parallel runnings of ammonia nitrogen is as follows:
1). the bus address of the sub-analytic system 24 of defined analysis flow process control module 21, COD analytic system 23 and ammonia nitrogen on the internal system bus;
2). in its Control Software framework separately, define each subfunction unit 30-35 and realize the flow process of some bottom operations of described each subfunction unit 30-35 by the function type of described COD analytic system 23 and sub-analytic system 24 each bottom operation of ammonia nitrogen;
3). the bottom operation instruction set of each subfunction unit 30-35 in the definition step 2, every bottom operation instruction in the described bottom operation instruction set all comprises it and trigger the required call number of this bottom operation flow process in affiliated open formula analytic system, and moves this bottom operation instruction operating parameter required or that can be sky;
4). the software of described analysis process control module 21 moves a master control thread and a bus message processing threads after startup, the master control thread is accepted user input, as required the number of the open formula analytic system of parallel control generate respective amount sub-analysis process control structure body and with the flow process bottom operation sequence information of required operation, flow performing in proper order and logic redirect rule and data processing display operation information be written into respectively in each sub-analysis process control structure body;
5). described master control thread adopts the mode of timer automatic regular polling one by one by the sub-analysis process order that defines in each sub-analysis process control structure body, send each to described bus message processing threads and open the current bottom operation instruction that needs execution of formula analytic system, bind the bus address information that also comprises the open formula analytic system of carrying out this instruction that sends simultaneously with described bottom operation instruction;
6). described bus message processing threads receives the bottom operation instruction of receiving from the master control thread after, described bottom operation instruction is imported formation to be sent instructions, the bus message processing threads will be followed the priority preset rule, and the instruction to be sent in the formation of waiting to send instructions is sent by system bus interface circuit 26 and internal system CAN bus 22 one by one;
7). each the bottom operation instruction that is sent is resolved and is carried out by the open formula analytic system of specifying bus address, in this bottom operation implementation or after carrying out end, this opening formula analytic system returns to analysis process control module 21 with state outcome information by internal system CAN bus 22, binds bus address that also comprises analysis process control module 21 that returns and the bus address of carrying out the open formula analytic system of this bottom operation together with state outcome information;
8). after described analysis process control module 21 receives the state outcome information of returning from the open formula analytic system of difference by internal system CAN bus 22, all state outcome information is all with the message queue to be resolved that is admitted to earlier in the bus message processing threads, the bus message processing threads is distributed to the state outcome information in the message queue to be resolved the sub-analysis process control structure body of being responsible for this opening formula analytic system of control one by one by the priority preset order;
9). meanwhile, the process object information that the continuation of master control thread adopts each sub-analysis process control structure body of mode poll of timer automatic regular polling to be received, and carry out data processing according to the state outcome information of returning, operation such as data interaction or interface alternation, after a last bottom operation is finished, the master control thread sends the bottom operation instruction that next bar need be carried out by predefined execution sequence or logic redirect rule to the open sub-analytic system of subordinate in next automatic regular polling, finish until the analysis process of each open formula analytic system repeating step (5)-(9) of so circulating;
In step (9), if still being in the executing state, do not finish as yet a last bottom operation, then the master control thread continues poll when timer triggering next time, if do not receive the procedure structure information of being waited for yet after surpassing setting-up time, then the master control thread sends the one query instruction to the controlled formula analytic system of opening, return its current state object information once more by this opening formula analytic system, the master control thread is continuing (9) processing set by step in the poll next time;
In step (5)-(9), the data interaction between master control thread, each sub-analysis process control thread and the bus message processing threads is by a kind of or several realizations in the modes such as file read-write, data base read-write, global variable or shared drive.
Example two:
Another kind of example of the present invention is as shown in Figure 6: the COD in Fig. 5 example one and two open formula analytic systems of ammonia nitrogen can be merged become an open formula analytic system, the sub-analytic system of this COD and ammonia nitrogen comprises two cover metering driver elements, two cover reaction control modules and two cover assay determination unit, described internal system bus can adopt the CAN bus, also can adopt RS232 or RS485 bus.
Example three
As shown in Figure 7: because the measuring process and the principle of COD and ammonia nitrogen are very close, the deviser can also merge into a cover metering driver element 36 with two cover metering driver elements, COD is merged in reaction control module 31 in the COD analytic system and assay determination unit 32 clear up determination unit 37, reaction control module 34 in the sub-analytic system of ammonia nitrogen and assay determination unit 35 are merged into ammonia nitrogen constant temperature determination unit 38.
Above-mentioned three examples have been enumerated the example of two index flow processs to be detected of parallel control simultaneously, and for the control that surpasses plural index flow process to be detected, the deviser also can design with reference to the inventive method.On the other hand, for further strengthening real-time and the reliability of each subfunction unit to bottom operation control, the deviser can also can split the integrated new independent subsystem that becomes of coming out with any one or several subfunction unit in the open formula analytic system from former open formula analytic system, the subsystem after the fractionation has independently bus interface circuit, bottom operation flow process processor controls, I/O interface circuit and subordinate's sensor and groups of actuators.
The present invention compared with prior art has following beneficial effect:
1. the present invention adopts high-end embedded microprocessor, PC or industrial computer processors such as ARM7 as the analysis process processor controls, adopt the bottom operation flow process processor controls of the embedded microcontroller of low-cost technical grade simultaneously as open formula analytic system, such system architecture had both guaranteed the reliability in the bottom operation control, guarantee the high-end demand of networking of the attractive in appearance and system at interface again, also reduced the exploitation and the purchase cost of The whole control system simultaneously.
2. owing on the design of hardware and software on open formula analytic system and the subfunction unit two-stage, all adopted modular design idea, when if therefore break down in certain part of environmental analysis instrument, the trouble spot is judged easily, in the time need carrying out local improvement or device replacing to instrument, do not need to adjust the hardware and software design of total system, the favorable expandability of system.
3. various environmental analysis instruments often have many customization adjustment because of water quality or gaseous contamination degree and field condition difference to sample injection method, analytical approach.The present invention is owing to realized the analysis process control of each sub-analytic system and separating of bottom operation control, and standard the order format of each bottom operation instruction, therefore allow deviser and user can change the metering driver element and the assay determination unit of different sample introductions or analysis principle at low cost, each module of instrument can realize plug and play, and interchangeability is good.Simultaneously, for the new environmental analysis instrument that needs exploitation, existing mature technology can be highly multiplexing, and the R﹠D costs of new instrument reduce greatly.
4. because the present invention has realized the analysis process control of each sub-analytic system and separating of bottom operation control, the analysis process control module can be assigned the bottom operation steering order with it as an analysis process according to from the request of operation interface or network each bottom operation being carried out the sequence set merging, therefore, under this system architecture, software can be realized by user interface or network requests each device under the analytical instrument subsystem directly being countercharged and the execution bottom operation with comparalive ease.
Embodiment disclosed herein is exemplary; it only is for explanation that the present invention is made an explanation; and be not limitation of the present invention; predictable improvement of this area or technician and expansion (for example: the function of each subfunction unit is divided and name, perhaps the operating parameter of each bottom operation instruction is incorporated into bottom operation instruction call number etc.) are included within protection scope of the present invention.

Claims (14)

1. the environmental analysis instrument of a kind of or several different index analysis flow processs to be detected of a parallel running simultaneously, comprise by the valve group, the pump group, heating arrangement, temperature sensor, sensor and groups of actuators that various devices such as photoelectric detection system constitute, and by some distributed that but the subsystem of independent triggers and internal system bus constitute on control technology, the control system of loose coupling, it is characterized in that: include an analysis process control module (1) in the described plurality of sub system, and one or the different open formula analytic systems (2) that detect indexs of several detections, described open formula analytic system (2) externally provides all kinds of bottom operation instruction set (11) control interface, the clean-drain of the various indexs to be detected in the environmental analysis instrument, safeguard that debugging or analyzing and testing flow process all can form by selecting the some bottom operation packings of orders in the described bottom operation instruction set (11) for use, and open formula analytic system (2) substep by the composite sequence of bottom operation instruction to each by internal system bus (3) by analysis process control module (1) and send, described each open formula analytic system (2) is in the implementation of each bottom operation or after carrying out end, state outcome information is returned to analysis process control module (1) by internal system bus (3), the state outcome information that described analysis process control module (1) returns according to each open formula analytic system (2) in order or next step bottom operation instruction of the logic redirect rule downloading of agreement, described analysis process control module (1) open that formula analytic system (2) issues step by step by process step that bottom operation instructs and is controlled one or several according to the mode that its state outcome information Control flow process of returning is moved towards and open formula analytic system (2) parallel running to one or several by this;
Comprise analysis process processor controls (4) and system bus interface circuit (5) in the described analysis process control module (1), described system bus interface circuit (5) connects described internal system bus (3), described each open formula analytic system (2) comprises separately independently bus interface circuit (6), bottom operation flow process processor controls (7), I/O interface circuit (8) and subordinate's sensor and groups of actuators (9), described each open formula analytic system (2) bus interface circuit (6) separately upwards connects described internal system bus (3), and described open formula analytic system (2) I/O interface circuit (8) separately connects subordinate's sensor and actuator (9) downwards;
The inside of described each open formula analytic system (2) marks off one or several subfunction unit (10) by the function type of its each bottom operation on the Control Software structure, the bottom operation flow process processor controls (7) of described each open formula analytic system (2) and bus interface circuit (6) are shared by each inner subfunction unit (10) of same open formula analytic system (2), described each subfunction unit (10) is measured or is controlled its subordinate's sensor and groups of actuators (9) by the relevant portion in the described I/O interface circuit (8), and defined each subfunction unit (10) realizes that the flow process control algolithm of some bottom operations (12) all is embedded in the bottom operation flow process processor controls (7) of described each open formula analytic system (2) in the described bottom operation instruction set (11);
Every bottom operation instruction in the described bottom operation instruction set (11) all comprises it and trigger the required call number of this bottom operation in affiliated open formula analytic system (2), and moves this bottom operation operating parameter required or that can be sky.
2. environmental analysis instrument according to claim 1, it is characterized in that: in described environmental analysis instrument, have at least a described open formula analytic system (2) to comprise following subfunction unit (10), and one or several metering driver element (13) and one or several assay determination unit (15);
Each sensor and actuator of operation is measured and drives in middle execution of described metering driver element (13) the described open formula analytic system of control (2) and reagent and sample feed liquor or air inlet, includes with reagent and sample feed liquor or air inlet metrological operation in the described metering driver element (13) and drive to operate relevant bottom operation instruction set and the flow process control algolithm that realizes bottom operation;
Carry out each sensor and actuator relevant in described assay determination unit (15) the described open formula analytic system of control (2) with measurement operation;
For the sub-analytic system of measuring based on the absorption of electromagnetic radiation spectral principle, measurement operation is detected the measurement of amplifying conversion pairing transmission voltage in back or electric current after being defined as test substance absorbance or electromagnetic radiation being passed test substance;
For the sub-analytic system of measuring based on the titration principle, the measurement of titration institute time-consuming or to the mensuration of consumption vs volume when measurement operation is defined as titration arrived certain unique point;
For the sub-analytic system of measuring based on electrode method principle, measurement operation is defined as the measurement to electrode output voltage or electric current;
For the sub-analytic system of measuring based on the anodic stripping voltammetry principle, the measurement of negative peak height on the spike potential of different ions correspondence on the voltage-to-current curve of exporting when measurement operation is defined as the antianode stripping;
For the sub-analytic system of measuring based on the stratographic analysis principle, measurement operation is defined as the measurement to each component chromatographic peak;
The flow process control algolithm that includes bottom operation instruction set relevant and realization bottom operation in the described assay determination unit (15) with the measurement operation flow process, after the measurement operation instruction was finished, described assay determination unit (15) returned the assay determination result or waits for analysis process control module (1) inquiry measurement result to described analysis process control module (1).
3. environmental analysis instrument according to claim 2, it is characterized in that: in described open formula analytic system (2), have at least a described open formula analytic system (2) to comprise following subfunction unit (10), and one or several reaction control modules (14), execution each sensor and actuator relevant with reaction control in described reaction control module (14) the open formula analytic system of control (2) includes the bottom operation instruction set relevant with the reaction control operation and the flow process control algolithm of realization bottom operation in the described reaction control module (14).
4. environmental analysis instrument according to claim 2, it is characterized in that: any one in the described open formula analytic system (2) or several subfunction unit (10) can split the integrated new independently open formula analytic system (2) that becomes of coming out from former open formula analytic system, new open formula analytic system (2) has independently bus interface circuit (6), bottom operation flow process processor controls (7), I/O interface circuit (8) and subordinate's sensor and groups of actuators (9).
5. according to the described environmental analysis instrument of claim 1-4, it is characterized in that: described internal system bus (3) adopts RS232, RS485, CAN or I 2A kind of in the C bus or several combination.
6. according to claim 2,4 described environmental analysis instruments, it is characterized in that: respectively measure in the described open formula analytic system (2) and comprise the pipetting instruction in the bottom operation instruction set of driver element (13), the functional definition of described pipetting instruction will be for opening liquid in a certain setting in the formula analytic system (2) or the acquiescence feed liquor port institute connection container or gas to set or the volume and the speed of acquiescence are transferred in the container that destination interface was communicated with of another setting or acquiescence.
7. environmental analysis instrument according to claim 6 is characterized in that: the operating parameter of described pipetting instruction comprises liquid feeding end slogan parameter.
8. environmental analysis instrument according to claim 6 is characterized in that: the operating parameter of described pipetting instruction comprises the volumetric parameter that needs moving liquid or gas, the time parameter that perhaps moves liquid and continued.
9. environmental analysis instrument according to claim 6 is characterized in that: the operating parameter of described pipetting instruction comprises the running speed parameter of moving liquid speed or moving hydraulic driver.
10. environmental analysis instrument according to claim 6 is characterized in that: the operating parameter of described pipetting instruction comprises and moves liquid destination slogan parameter.
11. environmental analysis instrument according to claim 3, it is characterized in that: the bottom operation instruction set of described reaction control module (14) comprises the heating operation instruction, described heating operation instruction comprises the call number that triggers this bottom operation flow process, this operating parameter of purpose temperature that also comprises setting, the functional definition of described heating operation instruction keeps this temperature afterwards for fluid heating in the reaction vessel that will open certain setting in the formula analytic system (2) or acquiescence or the purpose temperature that is cooled to set always.
12. environmental analysis instrument according to claim 3, it is characterized in that: the bottom operation instruction set in the described reaction control module (14) comprises clears up operational order, the described operational order of clearing up comprises the call number that triggers this bottom operation flow process, also comprise these two operating parameters of digestion condition and digestion time, described functional definition of clearing up operational order will be for opening the digestion condition that object in certain setting in the formula analytic system (2) or the acquiescence reaction vessel is heated to setting, keep this temperature afterwards always, after clearing up the digestion time that the duration arrive to set, stop again that temperature control is regulated and the object temperature in the reaction vessel is cooled to the safe temperature setting or give tacit consent to.
13. according to the described environmental analysis instrument of claim 1-4, the method for one of described analysis process control module (1) control or several open formula analytic system (2) flow process parallel runnings is as follows:
1). defined analysis flow process control module (1) and comprise the bus address of all subsystems on internal system bus (3) of each open formula analytic system (2);
2). the function type by described each open each bottom operation of formula analytic system (2) is opened the flow process that defines each subfunction unit (10) and realize some bottom operations (12) of described each subfunction unit (10) in the Control Software framework of formula analytic system (2) at each;
3). the bottom operation instruction set of each subfunction unit (10) in the definition step (2), every bottom operation instruction in the described bottom operation instruction set all comprises it and trigger the required call number of this bottom operation flow process in affiliated open formula analytic system (2), and moves this bottom operation instruction operating parameter required or that can be sky;
4). the software of described analysis process control module (1) moves a master control thread and a bus message processing threads after startup, the master control thread is accepted user input, and the number of the open formula analytic system (2) of parallel control generates the sub-analysis process control thread of respective amount and flow process bottom operation sequence information, flow performing order and the logic redirect rule of required operation and data processing display operation information are written into each sub-analysis process respectively and controls in thread as required;
5). described each sub-analysis process control thread is by the current flow performing order that needs operation, send the current bottom operation that needs to carry out to described bus message processing threads and instruct, bind the bus address information that also comprises the open formula analytic system (2) of carrying out this instruction that sends simultaneously with described bottom operation instruction;
6). described bus message processing threads receives the bottom operation instruction of receiving from each sub-analysis process control thread after, described bottom operation instruction is imported formation to be sent instructions, the bus message processing threads will be followed the priority preset rule, and the instruction to be sent in the formation of waiting to send instructions is sent by system bus interface circuit (5) and internal system bus (3) one by one;
7). each the bottom operation instruction that is sent is resolved and is carried out by the open formula analytic system (2) of specifying bus address, in this bottom operation implementation or after carrying out end, this opening formula analytic system (2) returns to analysis process control module (1) with state outcome information by internal system bus (3), binds bus address that also comprises analysis process control module (1) that returns and the bus address of carrying out the open formula analytic system (2) of this bottom operation together with state outcome information;
8). after described analysis process control module (1) receives the state outcome information of returning from the open formula analytic system of difference (2) by internal system bus (3), all state outcome information is all with the message queue to be resolved that is admitted to earlier in the bus message processing threads, the bus message processing threads is distributed to the state outcome information in the message queue to be resolved the sub-analysis process control thread process of being responsible for this opening formula analytic system of control one by one by the priority preset order;
9). each sub-analysis process control thread according to distribute the state outcome information of returning carry out operations such as data processing, data interaction or interface alternation, after a last bottom operation is finished, sub-analysis process control thread sends the bottom operation instruction that next bar need be carried out by predefined execution sequence or logic redirect rule to the open sub-analytic system of subordinate (2), and finish until the analysis process of each open formula analytic system (2) repeating step (5)-(9) of so circulating;
In step (5)-(9), the data interaction between master control thread, each sub-analysis process control thread and the bus message processing threads is by a kind of or several realizations in the modes such as file read-write, data base read-write, global variable or shared drive.
14. according to the described environmental analysis instrument of claim 1-4, the method for one of described analysis process control module (1) control or several open formula analytic system (2) flow process parallel runnings is as follows:
1). defined analysis flow process control module (1) and comprise the bus address of all subsystems on internal system bus (3) of each open formula analytic system (2);
2). the function type by described each open each bottom operation of formula analytic system (2) is opened the flow process that defines each subfunction unit (10) and realize some bottom operations of described each subfunction unit (10) in the Control Software of formula analytic system (2) at each;
3). the bottom operation instruction set of each subfunction unit (10) in the definition step (2), every bottom operation instruction in the described bottom operation instruction set all comprises it and trigger the required call number of this bottom operation flow process in affiliated open formula analytic system (2), and moves this bottom operation instruction operating parameter required or that can be sky;
4). the software of described analysis process control module (1) moves a master control thread and a bus message processing threads after startup, the master control thread is accepted user input, as required the number of the open formula analytic system (2) of parallel control generate respective amount sub-analysis process control structure body and with the flow process bottom operation sequence information of required operation, flow performing in proper order and logic redirect rule and data processing display operation information be written into respectively in each sub-analysis process control structure body;
5). described master control thread adopts the mode of timer automatic regular polling one by one by the sub-analysis process order that defines in each sub-analysis process control structure body, send each to described bus message processing threads and open the current bottom operation instruction that needs execution of formula analytic system (2), bind the bus address information that also comprises the open formula analytic system (2) of carrying out this instruction that sends simultaneously with described bottom operation instruction;
6). described bus message processing threads receives the bottom operation instruction of receiving from the master control thread after, with its importing formation to be sent instructions, the bus message processing threads will be followed the priority preset rule, and the instruction to be sent in the formation of waiting to send instructions is sent by system bus interface circuit (5) and internal system bus (3) one by one;
7). each the bottom operation instruction that is sent is resolved the back by the open formula analytic system (2) of specifying bus address and is carried out, after this bottom operation is carried out each phase points or is carried out end, this opening formula analytic system (2) returns to analysis process control module (1) with state outcome information by internal system bus (3), binds bus address that also comprises analysis process control module (1) that returns and the bus address of carrying out the open formula analytic system (2) of this bottom operation together with state outcome information;
8). after described analysis process control module (1) receives the state outcome information of returning from the open formula analytic system of difference (2) by internal system bus (3), all state outcome information is all with the message queue to be resolved that is admitted to earlier in the bus message processing threads, the bus message processing threads is distributed to the state outcome information in the message queue to be resolved the sub-analysis process control structure body of being responsible for this opening formula analytic system (2) analysis process of control one by one by the priority preset order;
9). meanwhile, the state outcome information that the continuation of master control thread adopts each sub-analysis process control structure body of mode poll of timer automatic regular polling to be received, and carry out data processing according to the state outcome information of returning, operation such as data interaction or interface alternation, after a last bottom operation of certain open formula analytic system (2) is finished, the master control thread is opened formula analytic system (2) by predefined execution sequence or logic redirect rule to this and is sent the bottom operation instruction that next bar need be carried out in next automatic regular polling, finish until the analysis process of each open formula analytic system (2) repeating step (5)-(9) of so circulating;
In step (9), if still being in the executing state, do not finish as yet a last bottom operation of certain open formula analytic system (2), then the master control thread continues poll when timer triggering next time, if do not receive the state outcome information of being waited for yet after surpassing setting-up time, then the master control thread sends the one query instruction to this controlled formula analytic system (2) of opening, return its current state object information once more by this opening formula analytic system (2), the master control thread is continuing (9) processing set by step in the poll next time;
In step (5)-(9), the data interaction between master control thread, each sub-analysis process control thread and the bus message processing threads is by a kind of or several realizations in the modes such as file read-write, data base read-write, global variable or shared drive.
CN201210020212.7A 2012-01-29 2012-01-29 Environment analysis apparatus Active CN103226148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210020212.7A CN103226148B (en) 2012-01-29 2012-01-29 Environment analysis apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210020212.7A CN103226148B (en) 2012-01-29 2012-01-29 Environment analysis apparatus

Publications (2)

Publication Number Publication Date
CN103226148A true CN103226148A (en) 2013-07-31
CN103226148B CN103226148B (en) 2015-07-01

Family

ID=48836671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210020212.7A Active CN103226148B (en) 2012-01-29 2012-01-29 Environment analysis apparatus

Country Status (1)

Country Link
CN (1) CN103226148B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375894A (en) * 2014-12-02 2015-02-25 天津航空机电有限公司 Sensor data processing device and method based on queue technology
CN105158487A (en) * 2015-06-23 2015-12-16 中山欧麦克仪器设备有限公司 Mixing agent-reusable unit for COD one-line monitor
CN106845625A (en) * 2016-12-22 2017-06-13 北京光年无限科技有限公司 A kind of interactive output intent and robot for robot
CN109597329A (en) * 2018-11-23 2019-04-09 中国科学院苏州生物医学工程技术研究所 The control system of biological reagent detection
WO2019233483A1 (en) * 2018-06-08 2019-12-12 山东鲁能智能技术有限公司 Substation live-line maintenance operation robot system and method
CN111487422A (en) * 2019-01-28 2020-08-04 深圳市帝迈生物技术有限公司 Time sequence control method, storage medium and sample analyzer
CN114354868A (en) * 2021-12-30 2022-04-15 杭州春来科技有限公司 Automatic measurement analysis system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879257Y (en) * 2006-02-21 2007-03-14 同济大学 Multi-glasshouse group control device based on multiple main communication mechanisms
WO2008028648A2 (en) * 2006-09-05 2008-03-13 Robert Bosch Gmbh Drive system and method for monitoring a hydrostatic drive
CN201255924Y (en) * 2008-09-27 2009-06-10 中国安全生产科学研究院 Safety monitoring early warning and safety management system for oil gas extracting, gathering and transporting operation
CN102270127A (en) * 2011-05-30 2011-12-07 桂林欧博仪器技术有限公司 Method for programming and controlling flow of analytical instrument

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879257Y (en) * 2006-02-21 2007-03-14 同济大学 Multi-glasshouse group control device based on multiple main communication mechanisms
WO2008028648A2 (en) * 2006-09-05 2008-03-13 Robert Bosch Gmbh Drive system and method for monitoring a hydrostatic drive
CN201255924Y (en) * 2008-09-27 2009-06-10 中国安全生产科学研究院 Safety monitoring early warning and safety management system for oil gas extracting, gathering and transporting operation
CN102270127A (en) * 2011-05-30 2011-12-07 桂林欧博仪器技术有限公司 Method for programming and controlling flow of analytical instrument

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375894A (en) * 2014-12-02 2015-02-25 天津航空机电有限公司 Sensor data processing device and method based on queue technology
CN105158487A (en) * 2015-06-23 2015-12-16 中山欧麦克仪器设备有限公司 Mixing agent-reusable unit for COD one-line monitor
CN106845625A (en) * 2016-12-22 2017-06-13 北京光年无限科技有限公司 A kind of interactive output intent and robot for robot
WO2019233483A1 (en) * 2018-06-08 2019-12-12 山东鲁能智能技术有限公司 Substation live-line maintenance operation robot system and method
CN109597329A (en) * 2018-11-23 2019-04-09 中国科学院苏州生物医学工程技术研究所 The control system of biological reagent detection
CN111487422A (en) * 2019-01-28 2020-08-04 深圳市帝迈生物技术有限公司 Time sequence control method, storage medium and sample analyzer
CN111487422B (en) * 2019-01-28 2024-03-12 深圳市帝迈生物技术有限公司 Time sequence control method, storage medium and sample analyzer
CN114354868A (en) * 2021-12-30 2022-04-15 杭州春来科技有限公司 Automatic measurement analysis system and method

Also Published As

Publication number Publication date
CN103226148B (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN103226148B (en) Environment analysis apparatus
Treier et al. High‐throughput methods for miniaturization and automation of monoclonal antibody purification processes
Prabhu et al. Facilitating chemical and biochemical experiments with electronic microcontrollers and single-board computers
US20060284058A1 (en) System and method for integrated sensing and control of industrial processes
CN102914600B (en) Method for measuring trace chloridion and sulfate radical in loprazolam samples by ion chromatography
CN1654959A (en) Controller for an analyzer
CN107533072A (en) Modular type analysis system
WO2023216630A1 (en) Control system and method for triple quadrupole mass spectrometer
CN103175902A (en) Gas intake system used for simulating insulating oil proportioning of transformer
CN203259510U (en) Proportioning and air intake system for simulating transformer insulating oil
CN101441155B (en) Embedded type universal material testing machine observe and control system
CN208013155U (en) A kind of purifying preparing chromatography system
CN101025386A (en) Automobile detection system
CN108627473A (en) Water monitoring device
CN202057637U (en) Thermostatic structure of chromatographic column of glycolated hemoglobin analyzer
CN201724923U (en) Electrochemical biosensor
CN204924918U (en) Linear light journey air quality automatic monitoring's long -range matter accuse system
CN102072952A (en) Mixed type control system of full-automatic biochemical analyzer
CN1317546C (en) Automobile detecting system based on embedded technology
CN1715927A (en) Combined multi-component intelligent analyzer
CN101493703A (en) Intelligent liquid raw material proportioning control system
CN101446577B (en) Coupling interface for realizing morphological analysis function of atomic fluorescence element
CN117130297B (en) Upper computer control method, device and equipment of liquid chromatograph
CN218725836U (en) Sample pretreatment instrument
CN207586191U (en) Non-methane total hydrocarbons on-Line Monitor Device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant