Summary of the invention
The objective of the invention is: control method and instrument that a kind of multiple metallic element analysis is provided, can carry out selecting in 16 kinds of elements the analysis of 5 kinds of elements, in multielement automatic high speed analyser of the present invention, be provided with 5 passages, the percentage composition of five kinds of different elements of translocation simultaneously more can continue the percentage composition of surveying 16 kinds of different elements in the metal material if change colour comparator, illuminator, reagent etc. at every turn.Product analysis speed of the present invention is fast, precision reaches even excellent in national standard, instrument utilize computing machine carry out intelligence program control, simple to operate, cost performance is high, man-machine dialog interface good, and a kind of comparatively ideal metal multielement analysis instrument is provided.
Summary of the invention
The object of the present invention is achieved like this: a kind of control method of multiple metallic element analysis, can carry out the control method of the multiple metallic element analysis of 5-16 passage, and computing machine is carried out following program and is carried out ultimate analysis:
Robotics reaction instrument is measured automatically:
1) branch is put: the solution of analyzed sample is entered reactor;
2) one adds: first kind of reagent is added reactor;
3) heating: the solution in the reactor is heated;
4) two add: second kind of reagent is added reactor;
5) stir: oxygen is blown into reactor automatically, the solution in 5-16 the reactor is stirred, reach the purpose that mixes;
6) three add: as required the third reagent is added reactor;
7) look is put: the colored solutions in the reactor is put into corresponding 5 measuring appliances simultaneously, carry out photoelectric colorimetry;
8) one is clear: oxygen is extruded distilled water enter knockout, finish 5 knockouts of automatic cleaning;
9) two is clear: as required oxygen is extruded distilled water and enter reactor and finish 5 reactors of automatic cleaning.
Three add: as required the third reagent is added reactor and carry out chromogenic reaction.
After finishing, reaction measures automatically:
1) measures: the content that detects solution in the measuring appliance automatically, colored solutions in the monochromatic light permeametry device that the employing light emitting diode sends, shine respectively on 5 photoelectric cells, produce stable voltage, carrying out signal through amplifier amplifies, through the analog to digital converter image data, thereby obtain out the content of every kind of element.
2) than putting: solution detected in the measuring appliance is discharged, remove.
3) three is clear: oxygen is extruded distilled water automatically, enter 5 measuring appliances and finish automatic cleaning measuring appliance, reach clean and tidy clean.
Host computer is by communication buses such as RS485 control robotics reaction instrument and the automatic analytic process of measuring.
The present invention utilizes law of Beer and least square method to calculate and regressing calculation, establishes and calls the working curve of ultimate analysis and analyze automatically.
The present invention adopts the instrumental correction method:
All measurement passages of timing clean simultaneously.Close all passage light emitting diodes during zero correction, measurement passage incident ray is subzero, with the correction logic zero-bit.The full scale timing is opened the light emitting diode of all passages, with the correction logic full scale.Automatically timing automatically to all measure that passages clean successively, zero correction, full scale proofread and correct.
The control flow master control borad is only finished and " is received the single-step operation process of instruction-interpretive order-operation, whenever receive an order.Only finish an operation, control one or one group of device ".
The master control borad of slave computer is indifferent to overall flow, as long as finish each single step, dirigibility is arranged in the use, and subsequent upgrade can only be upgraded by computer software and be finished.
The instrument of multiple metallic element analysis of the present invention or device include host computer, master control borad, AD capture card, peristaltic pump control panel, controlled coil valve, solenoid valve, peristaltic pump, light emitting diode, relay, well heater; In the robotics reactive system, include and decide liquid device, color development device, measurement ware, solenoid valve, coil valve; Include light emitting diode, Intelligent light-sensitive sensor, signal amplifier in automatic measurement system, master control borad is by microprocessor and storer, I/O output circuit; Be connected by 485 bus communications between host computer and the master control borad.The I/O output circuit connects peristaltic pump control panel device, controlled coil valve, solenoid valve, coil valve, peristaltic pump, light emitting diode, relay, well heater respectively, connect signal amplifier and AD capture card by the photoelectric conversion sensor in the measuring system, the AD capture card connects the bus of host computer.
Characteristics of the present invention are: by the optimizing computer program software, actively promote intelligent control technology, with by monitor near best mode, each system of control instrument normally moves, and system benefit is fully played; The light source technology, intelligent sensing technology and the peristaltic pump technology that adopt are further accurately controlled precision and state; Control robotics reaction instrument is finished System self-test and is examined; The control automatic measuring instrument is finished System self-test and diagnostic routine; Control system is finished instrumental calibration; The hand-guided mode of existing two element analysers and the device that falls behind have been changed.
Embodiment
One, the method for elemental analysis software design: at the elemental analysis software design aspect, utilize Chinese Windows operating system platform, make full use of law of Beer and least square method and calculate and regressing calculation, establish the ultimate analysis working curve.
(1) adopts law of Beer
When using optical means to demarcate and measuring the solubility of solution elements, need to use law of Beer.This law is described below:
T=I/10, the T-penetrability, I-sees through light intensity, the numerical value of capture card when native system is measurement;
A=log (10/I) or=-logT, K=A/CL, A=log (10/I)=KCLA-absorbance
The 10-incident intensity, the numerical value of capture card when native system is full scale, the solubility of C-solution
L: the thickness of solution is a constant to native system, the K-absorptivity
The process of system calibrating is exactly to measure by the standard solution to known solubility, calculates the A value, and then sets up regression equation.
(2) set up regression equation
According to law of Beer, carry out standard specimen and measure, just can set up the regression equation of different elements, in setting up the process of regression equation, software allows to delete and remeasure operation to measuring irrational standard specimen data.
Compare with two elements, the element analyser of domestic type hand-manipulated with quasi-instrument, be provided with hundreds of curves in this instrument, can the multiple spot calibration, and two elements of type hand-manipulated, element analyser only are provided with 3-5 bar curve.
Needing to show following data on the interface that regression equation is set up: after curve is finished in generation according to the canonical measure structure, can returning and make amendment according to curve condition, mainly is the operation of the bad point of deletion.After finishing rational curve, can store curve, the content that requires to store is: curve (regression equation) title, slope, intercept, related coefficient, standard specimen measurement data, measurement people, Time Created etc.Curve when showing, can be automatically according to the scope of the size adjustment demonstration of coordinate digital.
When measuring, need assignment curve (regression equation) to carry out solubility calculation, because the subtle change of reagent content, cause measurement result to need fine setting, at this time just need the slope and the intercept of trim curve, system allows this adjustment, but after adjusting, virgin curve will show simultaneously, is convenient to contrast, and revised curve data is not saved in the system database.
Two, analyze automatically
When analyzing automatically, measure the measured element of passage by selected each of operator, and select corresponding curve (regression equation) for every kind of element.When carrying out the operation of automatic analysis to measure, finish following operation by the software control order: divide put, one add, heat 1, heating 2, heating 3, heating 4, heating 5, two add, stirs, three add, moltenly put, reading (collection), than put, one clearly, two clearly, three clear etc.
Automatically in the operating process of control, be on display display operation progress in real time, and can be at any time by the system operation of operator's manual termination.Automatically in a single day operation is terminated, just can not continue to carry out automatic measuring operation from breakpoint.
The present invention has the good measurement result of precision, and can show the curve (regression equation) of each element.Measurement is finished, and data are saved in the database.System can carry out data processing according to operational order, comprises the establishment of data and printing, data storage.
Three, instrumental correction method
As above-mentioned method: clean, click " instrumental correction " inset.Click " cleaning " button, this software is measured passage to all automatically with the control analysis instrument and is cleaned simultaneously.
Zero correction.Click " instrumental correction " inset.Click " zero correction " button, this software with the control analysis instrument close all light emitting diodes (five measure the passage incident ray be subzero, with the correction logic zero-bit.
Full scale is proofreaied and correct.Click " instrumental correction " inset.Click " full scale correction " button, this software is opened all light emitting diodes (measuring the passage incident ray for five is the strongest) with the control analysis instrument, with the correction logic full scale.
From normal moveout correction.Click " instrumental correction " inset.Click " from normal moveout correction " button, this software with the control analysis instrument automatically to all measure that passages clean successively, zero correction, full scale proofread and correct.And analysers such as two elements of domestic type hand-manipulated, element, this quasi-instrument is proofreaied and correct all can only operate by hand and is finished in cleaning, zero correction, full scale.
Four, sample measurement method: select " sample measurement " inset.Selection need be done the equation of the passage of sample measurement, clicks " analyzing automatically " button, clicks "Yes" once more and begins automatic analysis.This moment, the bottom, interface was with display system current state and measurement progress.When the progress of measurement red line is walked to the end, eject " finishing standard model measures " dialog box, to click " determining ", measurement is finished.Please note simultaneously: can be in the sample measurement process at any time by the system operation of operator's manual termination, in a single day operation is terminated automatically, just can not continue to carry out the standard specimen measuring operation from breakpoint.
Five, hardware control system structure
Control system is made up of 4 parts: master control borad: mould/number capture card; The peristaltic pump control panel; Controlled device.
Master control borad receives the instruction from main control computer, finishes control operation and measurement to device, and master control borad comprises main control chip, communication interface, control circuit, metering circuit.
Mould/number capture card has 12 precision and 16 passages, adopts pci bus to be installed on the main control computer, finish measure sampling work, use 5 passages of 16 passages to be illustrated in the present embodiment.Be usually used in measuring Mn, Si, P.Cr, the measurement of Mo.
The peristaltic pump control panel receives the instruction from main control computer and master control borad, and control signal is converted to the Stepping Motor Control signal, produces the action of peristaltic pump pump head.
Controlled device comprises coil valve, solenoid valve, peristaltic pump, light emitting diode, relay, well heater etc.
Master control borad: have the interface of communicating by letter with main control computer; Receive the instruction of main control computer, be converted to the control signal of controlled device; Control signal is converted to the action of Be Controlled device; Give main control computer with the feedback of status of Be Controlled device; Control peristaltic pump control panel, the action that produces peristaltic pump; Produce measuring-signal, and measurement signals is amplified, be delivered to data acquisition card.
Main control chip: use 8 little process chip PIC16F73 of U.S. Microchip company, chip has high-performance, characteristics cheaply.This chip maximum operation frequency is 20MHz, and the frequency of using in native system is 2MHZ.The PIC16F73 chip adopts the pin package form of 28pin.The PIC16F73 chip has the program internal memory of 4K and the Dram of 192Byte, 22 I/O ports, and have USB (universal serial bus) (USAKT), these characteristics satisfy the requirement of native system to main control chip fully.Mould/number conversion the passage that also has 5 8bit in the PIC16F73 chip, but be used owing to acquisition precision is on the low side and last.
Communication interface: the RS485 industrial-controlled general line is adopted in communicating by letter of master control borad and main control computer, adds a MAXIMRS485 interface chip on the PIC16F73 chip, just can use RS485 to communicate by letter with main control computer.
At the main control computer end, use a RS232/485 converter, just the RS232 rs 232 serial interface signal of computing machine directly can be converted to the RS485 signal, finish and the communicating by letter of master control borad.The I/O output interface is by defining as the PIC16F73 chip.
Six, measuring element
Measuring element on the master control borad is 5 photoelectric cells (being so-called Intelligent light-sensitive sensor, also can be photodiode) and follow-up amplifying circuit.Photoelectric cell produces faint voltage after shining through light emitting diode, and after amplifying through amplifier, by the mould on the main control computer, the number conversion card is finished sampling.
Mould/number conversion capture card
System uses the mould/number conversion card with pci interface the result to be sampled, be installed on the main control computer.
This jig has 12 precision and 16 passages, and sample rate reaches 30K, and measuring accuracy reaches 0.024%, measures for solution:
When A=0.1, measuring error is about ± 0.00023A,
When A=0.5, measuring error is about ± 0.00033A,
When A=I, measuring error is about ± 0.00104A,
When A=2, measuring error is about ± 0.00934A,
Can satisfy the requirement of system accuracy.
Only use at present 5 passages of 16 passages.
The measurement range of mould/number conversion card is-5V-+5V, therefore, the output of the voltage of metering circuit should be controlled at-4.8V-+4.8V between, output-4.8V during zero-bit, output+4.8V during full scale.Measurement result is referring to Fig. 2 curve.
Seven, peristaltic pump control panel design
Use the action of 3 peristaltic pumps of control panel control of 1 BT00-600M peristaltic pump, because 3 peristaltic pumps work alone, therefore, designed software voluntarily the signal of control panel has been caused master control borad, signal one is divided into three, connects 3 peristaltic pumps respectively by 3 group relay switches again, when certain 1 peristaltic pump of operation, send control signal earlier by master control borad gating 1 group relay, and then to this peristaltic pump.
Eight, other controlled device and connection
1) coil valve in respect of 15 coil valves, is divided into 3 groups, and five every group, valve is a normal closed gate, and five valves are worked simultaneously.First group: divide and put group, during unlatching, the solution in 5 planchets is put into reaction utensil simultaneously.Second group:, during unlatching, the solution in 5 reaction utensils is put into the measurement ware simultaneously than putting group.The 3rd group: look is put group, during unlatching, the solution in 5 measurement wares is discharged simultaneously.
2) solenoid valve has 5 solenoid valves altogether, control operation respectively.The first, main valve.This valve is the total valve of welding bottle switch, and this valve is a normal closed gate.Oxygen enters respectively and stirs valve, a clear valve, two clear valves and three clear valves by behind this valve.The second, stir valve.This valve is a normally close valve.Under the situation of total opening of valves, open this valve, oxygen is blown into reaction utensil, reach the purpose of stirring reaction liquid.Three, a clear valve.This valve is a normally close valve.Under the situation of total opening of valves, open this valve, extrude distilled water by oxygen, enter knockout, finish the operation of cleaning knockout.Four, two clear valves.This valve is a normally close valve.Under the situation of total opening of valves, open this valve, extrude distilled water by oxygen, enter reaction utensil, finish the operation of cleaning reaction ware.Five, three clear valves.This valve is a normally close valve.Under the situation of total opening of valves, open this valve, extrude distilled water by oxygen, enter the measurement ware, finish and clean the operation of measuring ware.
3) peristaltic pump has 3 of peristaltic pumps altogether, finishes the function that adds reagent in reaction utensil, and every peristaltic pump adds a group reagent to reaction utensil.
4) light emitting diode, system has 5 light emitting diodes altogether, measurement ware of every correspondence, the monochromatic light of use different colours is in order to measure the content of different elements.
The light that each light emitting diode sends by measuring the solution in the ware, shines respectively on 5 photoelectric cells, produces stable voltage, through amplifier, through the A/D converter image data, calculates the content of every kind of element.
5 light emitting diodes can be controlled simultaneously, have luminous and not luminous two states.
5) relay, system has many group relaies, is open type.
Divide and to put the valve group, put valve group, Heater group, light-emitting diode group, main valve, stirring valve, a clear valve, two clear valves, three clear valves and respectively use a power source for relay control supply than putting valve group, look.
Use three peristaltic pumps of three relay control, and will guarantee that these three relays can only have one at most at any time and be in closure state.
6) well heater has 5 electric heaters (can adopt the tantalum wire well heater) altogether, is installed in respectively in 5 reaction utensils, and these 5 electric heaters are controlled simultaneously by system.Be provided with specific heating function in the color development device, (the special one-tenth semi-circular shape of tantalum wire of 2mm * 0.4mm) is placed in the color development device, by conduction, plays heat effect, impels the solution heating with 1.All can't realize above-mentioned heating function as the analyser of two elements, element and other classification of type hand-manipulated etc., but outer the manual mode of operation with the electric furnace heating realized.
7) glass wares carries out normal liquid feeding color development, colorimetric in order to control chemistry trial-production solution in order exactly, records and analyzes correct result, following glassware tool:
1. special 1 (10 * 50) glass (can store up, divide) liquid pipe.Be provided with one of 5ml in this pipe, two of 8ml, one of 10ml, the glass knockout that 15ml is one, by computer control, function such as separatory automatically.
2. special five glass color development devices.Be provided with five glass mouths in this color development device, one of them mouth plays the agitating solution effect, and three mouths play respectively and one add, two add, three add the solution effect.Another mouth solves to clean and uses.
3. special five glass colour comparators (promptly measuring ware).The lower end of this colour comparator is provided with five quartz colorimetric utensils, and wherein 0.5cm is one, two of 1cm, and two of 2cm carry out the mensuration effect of photoelectric colorimetry respectively to five kinds of elements.
Two elements, element analyser as other classification manual operations type can only store the element about 30 under normal situation, cannot preserve all historical datas, more can't search test duration, measurement data, can't carry out correct data statistics.
The technical indicator that the present invention reaches is as follows: (1) wavelength coverage: 360nm-700nm; (2) reappearance: same solution is replication repeatedly, and reading is not more than 0.005A; (3) T---A conversion range :≤2A; (4) T---A conversion; In the 0-1A scope≤± 0.5%, promptly≤± 0.005A; (5) drift; Normal power voltage is started shooting to drift about in the 0-1A scope after preheating half an hour in scope and is not more than ± 0.01A/ half an hour; (6) analysis time: 3min (not containing the molten title sample time).