Invention content
The purpose of the present invention is to provide a kind of signal acquisition control systems for spark spectrum instrument, realize to spark light
The light-source system of spectrometer and the control of negative high voltage system simultaneously realize each element characteristic spectral line exported to spark spectrum instrument detector
Intensity acquisition, storage, processing and upload, and finally realize analysis of the spark spectrum instrument to tested sample constituent content.
The design philosophy of the present invention is that system master device interacts control spark spectrum instrument by Ethernet and PC machine
Light-source system exports synchronizing signal, and the synchronizing signal of generation triggers this system and composed to each element that spark spectrum instrument detector exports
Line strength signal is acquired storage and packing, and is handled the data transmission after packing to PC machine in real time by Ethernet
And display, to realize function of the spark spectrum instrument to tested sample constituent content analysis;In addition, being applied to the light of spark spectrum instrument
Negative high voltage on photodetector directly affects the intensity of each element characteristic spectral line, and therefore, system, which need to have, carries out in fact negative high voltage
When Digital Control function.
The present invention acquires element spectral line intensity using high-resolution high-speed parallel AD, thus acquisition rate is fast, precision is high;It adopts
It is applied to the negative high voltage of photoelectric detector with multichannel DA settings, realizes the real-time digitization control of the negative high voltage of multichannel;It adopts
It uses FPGA as master controller, realizes that system various functions are handled in real time parallel;It is stored, is realized using the built-in FIFO of FPGA
The real-time storage of line strength signal and processing;It is communicated by Ethernet and PC machine, improves communication reliability, can be widely applied to
In the instrument for needing data acquisition control system.
The present invention includes five PC machine, cable, signal acquisition transmission process module, Serial Port Line negative high voltage control module portions
Point;PC machine is communicated by cable with signal acquisition transmission process module, and signal acquisition transmission process module 3 exports I/O signal control
Light source for instrument system generates synchronizing signal, and it is logical by Serial Port Line and negative high voltage control module that synchronous signal acquires transmission process module
Letter, the roads negative high voltage control module output 1-60 negative high voltage signal are applied to photoelectric detector, the synchronizing signal that light source generates at this time
Trigger signal acquisition transmission process module 3 is acquired, stores and is packaged to the 1-100 channel signals of photoelectric detector output,
Data after packing are transferred to PC machine by cable 2 and handle and show.
The signal acquisition transmission process module is by channel selection unit, AD collecting units, memory cell, main controller
Unit, I/O control unit and ethernet communication unit composition;
Channel selection unit is made of 16 path analoging switch chip of multi-disc, and it is logical that 1-100 can be achieved by the configuration of main controller
The gating of road detector output signal;AD collecting units follow circuit and a piece of 16 by reference voltage configuration circuit, input signal
Position high speed A/D chip is constituted, and the acquisition of 1-100 channel detector output signals can be achieved by the configuration of main controller;Memory list
Member is made of the built-in FIFO of master controller FPGA, it can be achieved that collected signal cache;I/O control unit level conversion
Chip is constituted, and the control to light source, negative high voltage and common IO can be achieved by the configuration of main controller;Ethernet control unit is by one
Piece is internally integrated 10/100M ethernet controllers, and the chip composition of MAC and ICP/IP protocol stack can by the configuration of main controller
Realize the two-way communication with PC machine.
The negative high voltage control module is by a piece of serial communication chip, a piece of controller and a piece of multichannel DA chip structures
At the signal acquisition transmission process module is communicated by serial communication chip with the controller of negative high voltage control module, is matched
Set the channels the 1-60 negative high voltage that the output of DA chips is applied to detector.
The innovation of the invention consists in that:System is used as master controller using programmable gate array (FPGA), to realize system
The parallel real-time processing of various functions;System and PC machine use the communication mode of Ethernet, improve communicated with PC machine it is reliable
Property and anti-interference ability;The negative high voltage control module of system uses multi-channel parallel DA chips so that PC machine can be with real-time control
The negative high voltage in the channels 1-60 exports, and then realizes that the digitlization of the multichannel negative high voltage of spark spectrum instrument accurately controls;System
Signal acquisition transmission process module is using the 16 parallel-by-bit A/D chips of sampling rate ranging from 100k-2M, it can be achieved that the channels 1-100
The precise acquisition of element spectral line strength signal, while the main controller built-in FIFO of FPGA are used, the storage for realizing strength signal is beaten
Packet and transmission, make the real-time and accuracy higher of spark spectrum instrument system test.The present invention realizes the light source system to instrument
The control of system, and the output of negative high voltage can be adjusted according to actual conditions, while to the multichannel element spectral of photoelectric detector output
Line strength signal carries out the packing of acquisition storage in real time and transmission.The signal acquisition control system have it is succinct it is general, real-time is high,
The remarkable advantage of high degree of automation and strong antijamming capability can be widely applied in the instrument for needing signal acquisition to control.
Compared with the existing technology, the present invention adopts each element the intensity of spectral line using the high speed A/D chip of resolution ratio 16
Collection, to improve the accuracy of data sampling;Cache to each element the intensity of spectral line is realized using FIFO built in FPGA, with reality
The real-time of existing data processing;In addition, system sets the negative high voltage for being applied to photoelectric detector using multichannel DA chips
It sets, realizes the real-time digitization control of the up to negative high voltage in 60 channels.
The present invention, which compares prior art, has following innovative point and remarkable advantage:
The real-time digitization control of up to 60 road negative high voltages is realized according to the practical application request of spark spectrum instrument;It realizes
To the real-time acquisition and processing of up to 100 road element spectral line strength signals;Signal transmission is carried out using Ethernet, keeps system anti-
Interference performance is stronger.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, referring to the drawings, to the present invention make into
One step is described in detail.
The system schematic of the present invention is as shown in Fig. 1, including PC machine, cable, signal acquisition transmission process module, serial ports
Line, negative high voltage control module, system work process are summarized as follows:
1, signal acquisition transmission process module routine:The detector output signal of required measurement is connected to signal to adopt
Collect transmission process module, after system electrification, light source configuration parameter is passed to signal acquisition transmission process by PC machine by cable
The light source received from PC machine configuration parameter output is generated synchronization by module, signal acquisition transmission process module 3 to control light source
The synchronizing signal trigger signal acquisition transmission process module of signal, generation carries out data acquisition, storage to detector output signal
And be packaged, data after packing are transferred to PC machine by cable 2 and are handled and shown.
The structural schematic diagram of signal acquisition transmission process module is as shown in Fig. 2, is acquired by channel selection unit, AD single
Member, memory cell, master unit, I/O control unit and ethernet communication unit composition.Channel selection unit is by multi-disc 16
Path analoging switch chip is constituted, and the gating of 1-100 channel detector output signals can be achieved by the configuration of main controller;AD is acquired
Unit follows circuit and a piece of 16 high speed A/D chips to constitute by reference voltage configuration circuit, input signal, passes through main controller
The acquisition of 1-100 channel detector output signals can be achieved in configuration;Memory cell is made of the built-in FIFO of master controller FPGA,
It can be achieved to collected signal cache;I/O control unit electrical level transferring chip is constituted, can be real by the configuration of main controller
Now to the control of light source, negative high voltage and common IO;Ethernet control unit is internally integrated the control of 10/100M Ethernets by a piece of
The chip of device, MAC and ICP/IP protocol stack is constituted, and the two-way communication with PC machine can be achieved by the configuration of main controller.
2, the negative high voltage control module course of work:The required detector for applying negative high voltage is connected to negative high voltage and controls mould
Block, after system electrification, the negative high voltage configuration data received from PC machine 1 is passed through Serial Port Line by signal acquisition transmission process module
It is transmitted to negative high voltage control module, the output that negative high voltage control module 5 passes through multichannel DA chip controls up to 60 road negative high voltages.
Negative high voltage control module is made of a piece of serial communication chip, a piece of controller and a piece of multichannel DA chips, letter
Number acquisition transmission process module communicate with the controller of negative high voltage control module by serial communication chip, configure DA chips export
It is applied to the channels the 1-60 negative high voltage of detector.