CN1945285A - Infrared method and system for analyzing carbon-sulfure elements - Google Patents
Infrared method and system for analyzing carbon-sulfure elements Download PDFInfo
- Publication number
- CN1945285A CN1945285A CN 200610096782 CN200610096782A CN1945285A CN 1945285 A CN1945285 A CN 1945285A CN 200610096782 CN200610096782 CN 200610096782 CN 200610096782 A CN200610096782 A CN 200610096782A CN 1945285 A CN1945285 A CN 1945285A
- Authority
- CN
- China
- Prior art keywords
- data
- infrared
- hardware
- acquisition
- data acquisition
- 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
Links
Images
Landscapes
- Investigating Or Analysing Materials By Optical Means (AREA)
Abstract
The infrared C and S element analyzing method and system completes infrared C and S element analysis in a multiple thread mode, which includes three work threads separately for monitoring and processing the weight data of the serial electronic balance port, receiving and processing acquired infrared absorption value data, and regularly displaying infrared absorption value data and monitoring and controlling the analysis process and state; and one main thread for interacting with the user and displaying segment data. The software includes integrated high precision data acquisition and combustion furnace controlling module with microcomputer to ensure the stable and timely control on the combustion furnace and corresponding data acquisition and processing algorithm for precise and fast data acquisition and processing.
Description
Technical field
The present invention relates to be used for the method and the software and hardware system of infrared analyzing carbon-sulfure elements, be used for cooperating the mensuration of the massfraction of finishing the material carbon-sulfure elements with infrared C O2 and SO2 gas sensor and combustion furnace.
Background technology
Infrared analyzing carbon-sulfure elements method is with sample fully burning in the high purity oxygen gas environment, carbon in the sample and element sulphur discharge with the form of CO2 and SO2 gas, and the furnace gas that burning forms flows in the infrared sensor air chamber through certain gas circuit through dedusting, after drying.Absorb spectrogram because gas molecules such as CO2, SO2 have selectivity at infrared band, after the infrared light of certain this specific wavelength passes through CO2 or SO2 gas, can produce strong light absorption, this absorption meets lambert-law of Beer.Infrared sensor can detect the infrared Absorption situation of specific wavelength in real time, and light signal is converted to electric signal, exports infrared absorption voltage more in real time through signal condition with after amplifying.This signal is carried out real-time sampling and the infrared absorption magnitude of voltage is converted to the infrared absorption Value Data, obtaining the infrared absorption value by time integral again adds up, and corresponding total carbon and the total sulfur content that obtains this sample with standard value, divided by behind the example weight being corresponding carbon content and the sulfur content of obtaining.
At present, the single-chip microcomputers that adopt carry out data acquisition more in infrared carbon sulfur analyzer, by serial communication and PC microcomputer Data transmission, and the weight data of electronic balance in addition that transmits by serial communication simultaneously.
In order to obtain higher data acquisition precision and time integral precision, need to improve to infrared sensor signals sampling frequency.Under the requirement of high acquisition rate, as: the hardware acquisition rate reaches 400 times/second/passage, establishes two passages altogether, then requires processor to handle a sampled data in about 1 millisecond of time.In addition, in order to improve the reliability of sampled data, must adopt the measure of Software Anti-interference, this data-handling capacity to processor is had higher requirement.Common single-chip data processing power does not reach required requirement, relies on serial communication to carry out the requirement that data transfer also can't be competent at the big data quantity communication in addition.Frequency acquisition is low, the data precision difference is the reason that present infrared carbon sulfur analyzer precision can't improve.
Summary of the invention
The present invention is exactly a problem few at existing infrared carbon sulfur analyzer infrared absorption Value Data amount, the numerical precision difference, and the method and the software and hardware system of the infrared analysis of carbon and sulfur of development.
The technology of the present invention solution is: adopt multithreading to realize infrared analysis of carbon and sulfur, being provided with three worker threads is respectively applied for supervision and handles serial port electronic balance weight data, be used to receive and handle the image data of infrared absorption value, be used for regularly showing infrared absorption Value Data and monitoring and control analysis process and state; The numerical value that main thread is responsible for user interactions and phase data shows;
In the data acquisition algorithm, adopted over-extraction sample, numerical ordering and intermediate value to ask average Software Anti-interference measure.Then require processor in about 1 millisecond of time, to handle a sampled data.The hardware acquisition rate reaches 400 times or higher/second/passage, establishes two passages altogether, then requires processor to handle a sampled data in about 1 millisecond of time.
Be used to receive and handle the image data of infrared absorption value: be still the infrared Absorption situation that detects specific wavelength by infrared sensor in real time, and light signal is converted to electric signal, export infrared absorption voltage again through signal condition with after amplifying in real time.This signal is carried out real-time sampling and the infrared absorption magnitude of voltage is converted to the infrared absorption Value Data, obtaining the infrared absorption value by time integral again adds up, and corresponding total carbon and the total sulfur content that obtains this sample with standard value, divided by behind the example weight being corresponding carbon content and the sulfur content of obtaining.Utilize analytical database to finish above-mentioned work.
This system comprises based on the high-accuracy data acquisition of the pci bus of PC microcomputer, combustion furnace control and analytic process monitoring modular, and having a analysis software based on the data acquisition and processing (DAP) algorithm of multithreading with above-mentioned module is used, the two finishes the desired function of infrared analyzing carbon-sulfure elements jointly.
This module is that core constitutes by the A/D data acquisition hardware based on the PC microcomputer PCI bus, and frequency acquisition carries clock control by the hardware plate, and acquisition parameter can be by the software adjustment.
The data acquisition and processing (DAP) algorithm that is based on multithreading that matches reaches the data acquisition strategy based on hardware clock.
The hardware module and the pci bus module of infrared ray absorbing value collection in worksite are integrated, be made up of 16 road IO output and 16 road IO input, but IO output can be controlled maximum 16 execution units of combustion furnace respectively, and the IO input is used for the monitoring analysis state.
Characteristics of the present invention are: comprise carbon-sulfure elements analysis on Content software and hardware in the infrared absorption mensuration material.Software has comprised the high-accuracy data acquisition and the combustion furnace control module of integrated PC microcomputer, has guaranteed stability and promptness to combustion furnace control; The data acquisition and processing (DAP) algorithm that is based on multithreading that matches and based on the data acquisition strategy of hardware clock, thus guaranteed to the infrared ray absorbing Value Data accurately, etc. the time, at a high speed data obtain and handle.Compare with existing similar analysis software and hardware, analytic process of the present invention is subjected to the integrated control of PC microcomputer fully, and the infrared absorption Value Data amount of obtaining is big, data precision is high, thereby analytical precision and accuracy are improved.
Description of drawings
Fig. 1 is a structural representation of the present invention
Fig. 2 is a software flow block diagram of the present invention
Embodiment
1, hardware components
As shown in Figure 1, hardware components is made up of data acquisition and IO control based on the PC microcomputer PCI bus.Wherein part of data acquisition adopts 14 A/D chips, and the setting range is 0 ~ 2.5V, adopts carbon, two passages of sulphur, continuous A/D sampling pattern among the present invention, and speed is 400 times/second/passage.The IO control section has used 16 IO output ports and 16 IO input ports to form, and IO output can be controlled the operation of maximum 16 execution units in the combustion furnace respectively, and the IO input is used to monitor combustion furnace state and analysis state.Sensor comprises that the conversion of infrared absorption goes out corresponding electric signal among Fig. 1.The scope, the solid arrow that comprise for the present invention in the empty frame of dot-and-dash line among the figure are represented data relationship and direction thereof; Dotted arrow represents that the formation of control relation and direction hardware thereof is based on prior art.Software and hardware and mutual relationship thereof among the present invention.Clock of the present invention adopts the QL5030 pci interface chip to realize, A/D employing 14,400KHz chip AD7899 realize.
2, software section
Software section comprises main thread and three worker threads, and wherein main thread is used for receiving the numerical value display message that the user imported and be responsible for the replacement analysis process; Worker thread one is responsible for monitoring the serial port that links to each other with electronic balance, and the weight information of electronic balance input is processed and displayed; Worker thread two is responsible for receiving collection result, and the result is converted to corresponding infrared absorption Value Data (wherein the Software Anti-interference measure of Cai Yonging sees aftermentioned for details), wakes worker thread three simultaneously up and carries out corresponding calculated and processing; Worker thread three is responsible for the operation of IO I/O control hardware, monitors combustion furnace and analytic process state parameter, the real-time carbon sulphur of screen display release profiles is further handled and submitted to the infrared absorption Value Data.Have two-way data interaction between each thread and the analytical database shared, that is: result of calculation is deposited in analytical database and from analytical database, obtain data such as needed analytical parameters.
3, the relation between the software and hardware each several part (also seeing Fig. 1)
Relation between the software and hardware each several part is seen Fig. 1.Data acquisition and IO I/O hardware all are subjected to software control.Be the actuating logic of example when explaining the conspiracy relation of software and hardware each several part in detail and carrying out analysis of carbon and sulfur with analytic process below: Fig. 2 is a software flow block diagram of the present invention;
1) each thread enters duty automatically behind the software startup:
Main thread: wait user input is also regularly read the last samples data and is carried out the numerical value demonstration from analytical database;
Worker thread one: monitor serial port;
Worker thread two: open the A/D sampling, the sampled voltage data are put into analytical database;
Worker thread three: the state parameter that monitors combustion furnace and analytic process;
2) user can carry out manual input weight value by software interface behind the samples weighing, also can utilize electronic balance PRINT function to send weight data by serial ports.At this moment, worker thread one is waken and carries out up the reception and the processing of weight data by the arrival of serial data, deposit the result in analytical database then.
3) after the user clicks " beginning to analyze " function or uses corresponding hot key:
Main thread: wake worker thread three up and analyze criterion, analyze the satisfying condition of state parameter of combustion furnace that criterion is meant that thread three is monitored and analytic process, whether the time of opening wide surpassed the fixed time (as 2 seconds) before whether as whether analytic process, a weight storehouse were having a weight data, firing chamber closure state, firing chamber are closed.Between each decision condition be " with " relation.If can analyze, then forbid function corresponding in the interface;
Worker thread one: monitor serial port, handle weight data.Because the present invention has adopted the multithreading on the software to handle, and makes in the analysis of carbon and sulfur process and still can carry out the operation of sample weighing and sample library, this function is increased work efficiency useful especially for batch quantity analysis.
Worker thread two: read in the analysis configuration data, wait for that worker thread three finishes reception and the conversion of carrying out the absorption value data after the work that begins to analyze.
Worker thread three: carry out the IO output function, each execution unit of control combustion furnace begins to carry out the analysis of carbon and sulfur process one time.
4) in the analytic process:
Main thread: from analytical database, read up-to-date sampled data and carry out the numerical value demonstration, read analysis state information, treat once to analyze and carry out the calculating of carbon and sulphur contents when finishing;
Worker thread one: monitor serial port, handle weight data.
Worker thread two: reception, conversion and the data anti-interference process of carrying out the absorption value data.
Worker thread three: carry out the IO output function according to analysis configuration, each parts of control combustion furnace are carried out the action in each stage in analytic process.
5) analyze end: main thread carries out the integral and calculating of infrared absorption value, and analysis state information in the analytical database is reset to original state.All the other each threads revert to original state.
4. above-mentioned Software Anti-interference disposal route is: with the acquisition rate of 400 times/second/passage as over-extraction sample speed, it is divided into 40 parts by the time, 10 data in every part are sorted, remove minimum and maximum each 3 data, the average that will remain 4 data at last is as the infrared absorption value average in 1/40 second.
The present invention can connect various forms of combustion furnaces and form different infrared carbon sulfur analyzer devices, as: connect Efco-Northrup furnace, arc burning stove, resistance furnace etc.
Embodiment 1: software and hardware involved in the present invention partly is configured, can realize by 8 road Transistor-Transistor Logic level control signals output be used to control Efco-Northrup furnace total air valve, oxygen blast valve, cut execution units and 1 tunnel such as oxygen valve, cleaning valve, air chamber inlet, air chamber outlet, ash-valve, coreless induction furnace and import the firing chamber closure state that is used to monitor high-frequency induction.
Embodiment 2: software and hardware involved in the present invention partly is configured, multichannel in 16 tunnel inputs can be merged into data-in port, all the other are as the switching value input port, data-in port is used for monitoring such as numeric type analytical parameters such as furnace gas flow, temperature of combustion, and the switching value input port is used for monitoring such as switching mode analytical parameters such as firing chamber closures; Multichannel is merged into data-out port in 16 tunnel outputs, and all the other are as the switching value output port, and data output is used for adjustment and realizes functions such as combustion furnace power adjustment such as devices such as digital varistors then; Switching value is used for control such as switching mode devices such as valves.
Claims (7)
1. the method for an infrared analyzing carbon-sulfure elements, it is characterized in that adopting multithreading to realize infrared analysis of carbon and sulfur, being provided with three worker threads is respectively applied for supervision and handles serial port electronic balance weight data, be used to receive and handle the image data of infrared absorption value, be used for regularly showing infrared absorption Value Data and monitoring and control analysis process and state; The numerical value that main thread is used for user interactions and phase data shows.
2, the method for infrared analyzing carbon-sulfure elements according to claim 1 is characterized in that adopting in the data acquisition algorithm over-extraction sample, numerical ordering and intermediate value to ask average software anti-interference method.
3, the method for infrared analyzing carbon-sulfure elements according to claim 1 is characterized in that the hardware acquisition rate is 400 times/second/passage, establishes two passages altogether.
4, according to the method for claim 2 or 3 described infrared analyzing carbon-sulfure elements, it is characterized in that anti-interference processing method is: be about to acquisition rate as over-extraction sample speed, it is divided into 40 parts by the time, 10 data in every part are sorted, remove minimum and maximum each 3 data, the average that will remain 4 data at last is as the infrared absorption value average in 1/40 second.
5, the system of infrared analyzing carbon-sulfure elements, it is characterized in that the A/D data acquisition hardware that system comprises based on the pci bus of PC microcomputer is high-accuracy data acquisition, combustion furnace control and the analytic process monitoring modular that core constitutes, and having a analysis software based on the data acquisition and processing (DAP) algorithm of multithreading with above-mentioned module is used, the two finishes the desired function of infrared analyzing carbon-sulfure elements jointly; Frequency acquisition carries clock control by the hardware plate, and acquisition parameter is by the software adjustment; Analysis software comprises that the data acquisition and processing (DAP) method that is based on multithreading that matches reaches the data acquisition strategy based on hardware clock; The hardware module and the pci bus module of infrared ray absorbing value collection in worksite are integrated, be made up of 16 road IO output and 16 road IO input, but IO output can be controlled maximum 16 execution units of combustion furnace respectively, and the IO input is used for the monitoring analysis state.
6, the system of infrared analyzing carbon-sulfure elements according to claim 5 is characterized in that the hardware module that is used for infrared ray absorbing value collection in worksite is provided with 0~2.5V range ability, 14 acquisition precisions by the A/D data acquisition hardware based on the PC microcomputer PCI bus.
7, the infrared analyzing carbon-sulfure elements system that is used for according to claim 5, the hardware module and the pci bus module that it is characterized in that controlling combustion furnace are integrated, and the numerical value that main thread is responsible for user interactions and phase data shows; Worker thread has three: be respectively applied for supervision and handle serial port electronic balance weight data, be used to receive and handle the image data of infrared absorption value, be used for regularly showing infrared absorption Value Data and monitoring and control analysis process and state; In the data acquisition algorithm, adopted over-extraction sample, numerical ordering and intermediate value to ask average Software Anti-interference measure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100967829A CN100437086C (en) | 2006-10-16 | 2006-10-16 | Infrared method and system for analyzing carbon-sulfure elements |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100967829A CN100437086C (en) | 2006-10-16 | 2006-10-16 | Infrared method and system for analyzing carbon-sulfure elements |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1945285A true CN1945285A (en) | 2007-04-11 |
CN100437086C CN100437086C (en) | 2008-11-26 |
Family
ID=38044780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100967829A Expired - Fee Related CN100437086C (en) | 2006-10-16 | 2006-10-16 | Infrared method and system for analyzing carbon-sulfure elements |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100437086C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399529A (en) * | 2013-07-01 | 2013-11-20 | 广西玉柴机器股份有限公司 | Computer control method for carbon content of molten iron |
CN103616345A (en) * | 2013-12-16 | 2014-03-05 | 四川旌科仪器制造有限公司 | Carbon content measurement method for infrared carbon and sulfur analyzer |
CN104729279A (en) * | 2013-12-19 | 2015-06-24 | 南京华欣分析仪器制造有限公司 | Intelligent temperature control device for infrared carbon-sulfur analyzer electric arc combustion furnace body |
CN105181620A (en) * | 2014-06-09 | 2015-12-23 | 郎溪杰博电器科技有限公司 | High-speed optical fiber communication infrared carbon sulfur analyzer |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5945939B2 (en) * | 1979-11-17 | 1984-11-09 | 株式会社 堀場製作所 | Carbon analyzer in metal |
JPH1164319A (en) * | 1997-08-09 | 1999-03-05 | Horiba Ltd | Elemental analyzer |
CN1206524C (en) * | 2002-03-14 | 2005-06-15 | 北京航空航天大学 | Non-air pump type method and device for analyzing concentration of infrared carbon dioxide |
-
2006
- 2006-10-16 CN CNB2006100967829A patent/CN100437086C/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399529A (en) * | 2013-07-01 | 2013-11-20 | 广西玉柴机器股份有限公司 | Computer control method for carbon content of molten iron |
CN103616345A (en) * | 2013-12-16 | 2014-03-05 | 四川旌科仪器制造有限公司 | Carbon content measurement method for infrared carbon and sulfur analyzer |
CN103616345B (en) * | 2013-12-16 | 2016-03-30 | 四川旌科仪器制造有限公司 | The carbon content assay method of infrared carbon sulfur analyzer |
CN104729279A (en) * | 2013-12-19 | 2015-06-24 | 南京华欣分析仪器制造有限公司 | Intelligent temperature control device for infrared carbon-sulfur analyzer electric arc combustion furnace body |
CN104729279B (en) * | 2013-12-19 | 2017-03-08 | 南京华欣分析仪器制造有限公司 | A kind of infrared carbon sulfur analyzer arc burning furnace body intelligent temperature control device |
CN105181620A (en) * | 2014-06-09 | 2015-12-23 | 郎溪杰博电器科技有限公司 | High-speed optical fiber communication infrared carbon sulfur analyzer |
CN105181620B (en) * | 2014-06-09 | 2018-08-17 | 郎溪杰博电器科技有限公司 | A kind of infrared carbon sulfur analyzer of high speed fibre communication |
Also Published As
Publication number | Publication date |
---|---|
CN100437086C (en) | 2008-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN2826422Y (en) | Rapid monitoring device for strap coal sampling | |
CN103018079B (en) | Partial flow equivalently-dynamic diluting and sampling system for diesel engine exhaust particles and control method | |
CN1945285A (en) | Infrared method and system for analyzing carbon-sulfure elements | |
CN101216418A (en) | Bottle-contained yellow wine quality index on-line detection method and device | |
CN102426160A (en) | Online gas-solid two-phase detection method for coal characteristics based on laser induction, and apparatus thereof | |
CN205317732U (en) | Total hydrocarbon of non - methane and benzene series thing on -line measuring device | |
CN106644620B (en) | Detachable multifunctional gas automatic acquisition method and device | |
CN102686994A (en) | Gas analysis device | |
CN101671044A (en) | Application of PGNAA element on-line analyzer in production of aluminum oxide | |
CN201548505U (en) | Differential-thermal-gas chromatography combined analyzing device | |
CN101329228B (en) | Peroxy acyl radical nitric acid lipid substance sampling system and detection method | |
CN113406313A (en) | Method for predicting f-CaO of clinker in real time based on data of full-automatic free calcium oxide analyzer | |
CN201229329Y (en) | Multi-mode on-line sampling COD analyzer | |
CN103226148B (en) | Environment analysis apparatus | |
CN107328615A (en) | A kind of intelligent gas sample feeding controller | |
CN1789981A (en) | Intelligent device for quickly identifying age of Chinese rice wine based on near infrared spectrum | |
DK105397A (en) | Method and standard kit for controlling the function of a flow cytometer, as well as apparatus for carrying out the method | |
CN101865868B (en) | Differential thermal-gas chromatography combined analysis device | |
CN115078202A (en) | Respiratory dust multi-parameter online measurement device and method based on Raman spectrum | |
CN212410506U (en) | Volatile organic compound on-line monitoring system based on photoelectric ion detector | |
CN1715927A (en) | Combined multiple component intelligent analytical instrument | |
CN1317546C (en) | Automobile detecting system based on embedded technology | |
CN101025386A (en) | Automobile detection system | |
CN110412225A (en) | It is a kind of to drive cement industry high-temp waste gas analytical equipment using industry APP | |
CN100427646C (en) | Automatic control method and device of multifunction crane aluminium discharging |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081126 Termination date: 20161016 |