CN102566459A - Digital NIM (Nuclear Instrument Module) data acquisition system - Google Patents
Digital NIM (Nuclear Instrument Module) data acquisition system Download PDFInfo
- Publication number
- CN102566459A CN102566459A CN2011103969954A CN201110396995A CN102566459A CN 102566459 A CN102566459 A CN 102566459A CN 2011103969954 A CN2011103969954 A CN 2011103969954A CN 201110396995 A CN201110396995 A CN 201110396995A CN 102566459 A CN102566459 A CN 102566459A
- Authority
- CN
- China
- Prior art keywords
- plug
- analog
- controller
- digital signal
- signal converter
- 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.)
- Pending
Links
Images
Landscapes
- Measurement Of Radiation (AREA)
Abstract
本发明涉及一种数字化NIM数据获取系统,包括控制器插件、模拟数字信号转化器(ADC)插件和自定义总线。自定义总线将控制器插件和模拟数字信号转化器(ADC)插件连接;装入NIM机箱内。本发明经过了物理实验的测试,数据传输率最大可达66MB/s,系统分辨率:0.0735%;用1/2us可以得出最大事件率:400KSPS;采集卡最小死时间:2.0us。
The invention relates to a digital NIM data acquisition system, which includes a controller plug-in, an analog-to-digital signal converter (ADC) plug-in and a self-defined bus. A custom bus connects the controller card to the analog-to-digital converter (ADC) card; housed in the NIM chassis. The present invention has been tested by physical experiments, the maximum data transmission rate can reach 66MB/s, the system resolution: 0.0735%; the maximum event rate can be obtained with 1/2us: 400KSPS; the minimum dead time of the acquisition card: 2.0us.
Description
技术领域 technical field
本发明属于数据获取系统,直接应用于核物理实验或者高能物理实验。The invention belongs to a data acquisition system and is directly applied to nuclear physics experiments or high-energy physics experiments.
背景技术 Background technique
兰州重离子加速器冷却储存环(HIRFL-CSR,简称CSR)是兰州重离子加速器HIRFL的扩建工程,属于国家重大科学工程项目。CSR是一个集加速、累积、冷却、储存、治癌终端、内靶实验、外靶实验及高分辨测量于一体的多功能实验装置,是一个双储存环系统,由CSRm(主环)和CSRe(实验环)构成。中国科学院近代物理研究所依托该大科学装置可以进行众多高精度、高密度的核物理实验。Lanzhou Heavy Ion Accelerator Cooling Storage Ring (HIRFL-CSR, referred to as CSR) is an expansion project of Lanzhou Heavy Ion Accelerator HIRFL, which is a major national scientific engineering project. CSR is a multi-functional experimental device integrating acceleration, accumulation, cooling, storage, cancer treatment terminal, internal target experiment, external target experiment and high-resolution measurement. It is a double storage ring system consisting of CSRm (main ring) and CSRe (experimental ring) constitutes. The Institute of Modern Physics of the Chinese Academy of Sciences can conduct many high-precision and high-density nuclear physics experiments relying on this large scientific device.
NIM(Nuclear Instrument Module,核仪器插件)电子学系统是核技术领域前端电子学的基础平台,大量核物理实验需要NIM电子学系统的支持。但是传统的NIM电子学系统没有数字化标准,做数据获取需要CAMAC(Computer Automatic Measurement and Contro1,计算机自动测量和控制)或者VME(Versa Module Euro card)系统的支持。CAMAC数据获取系统的数据传输率最高只能到3MB/s,而基于VME系统的数据获取系统的最大数据传输速率可达47.5MB/s。但VME和CAMAC系统成本太高,无法在数据获取的其他领域进行推广和应用。The NIM (Nuclear Instrument Module, nuclear instrument plug-in) electronics system is the basic platform for front-end electronics in the field of nuclear technology. A large number of nuclear physics experiments require the support of the NIM electronics system. However, the traditional NIM electronics system has no digital standard, and data acquisition requires the support of CAMAC (Computer Automatic Measurement and Control1, computer automatic measurement and control) or VME (Versa Module Euro card) system. The data transmission rate of the CAMAC data acquisition system can only reach 3MB/s at the highest, while the maximum data transmission rate of the data acquisition system based on the VME system can reach 47.5MB/s. However, the cost of VME and CAMAC systems is too high to be popularized and applied in other fields of data acquisition.
发明内容 Contents of the invention
鉴于上述,本发明的目的在于开发一种数字化NIM数据获取系统((CCNS))。利用NIM电源的优良特性,结合现代计算机与数字技术,实现NIM系统的数字化功能,从而为核物理实验及高能物理实验提供一套新型数据获取平台,提高数据获取效率。In view of the above, the object of the present invention is to develop a digital NIM data acquisition system ((CCNS)). Using the excellent characteristics of the NIM power supply, combined with modern computer and digital technology, the digital function of the NIM system is realized, thereby providing a new data acquisition platform for nuclear physics experiments and high-energy physics experiments, and improving the efficiency of data acquisition.
本发明是通过以下技术方案来实现的:The present invention is achieved through the following technical solutions:
一种数字化NIM数据获取系统((CCNS)),包括控制器插件(1)、模拟数字信号转化器(ADC)插件(2),自定义总线(3);其中:控制器插件分控制器的前面板、控制器的后面板和控制器内部;模拟数字信号转化器(ADC)插件分模拟数字信号转化器(ADC)前面板、模拟数字信号转化器(ADC)后面板和模拟数字信号转化器(ADC)内部;自定义总线将控制器插件和模拟数字信号转化器(ADC)插件连接;装入NIM机箱(4)内;A digital NIM data acquisition system ((CCNS)), including a controller plug-in (1), an analog-to-digital signal converter (ADC) plug-in (2), and a custom bus (3); wherein: the controller plug-in is divided into controllers Front panel, rear panel of the controller, and inside the controller; the analog-to-digital converter (ADC) plug-in is divided into an analog-to-digital converter (ADC) front panel, an analog-to-digital converter (ADC) rear panel, and an analog-to-digital converter (ADC) inside; the custom bus connects the controller plug-in and the analog-to-digital signal converter (ADC) plug-in; it is loaded into the NIM chassis (4);
控制器插件的前面板设有程序控制指示灯、并口硬盘指示灯、串口硬盘指示灯、电源指示灯、触发信号接口、RS232串口接口、键盘鼠标接口、三个USB2.0接口、百兆网络接口、复位按键、显示器接口;The front panel of the controller plug-in is equipped with program control indicator light, parallel hard disk indicator light, serial hard disk indicator light, power indicator light, trigger signal interface, RS232 serial port interface, keyboard and mouse interface, three USB2.0 interfaces, and 100M network interface , reset button, display interface;
控制器插件的后面板(Back Panel)上设有两个插头,为自定义交互总线插头和NIM电源插头;There are two plugs on the back panel (Back Panel) of the controller plug-in, which are custom interactive bus plugs and NIM power plugs;
控制器插件的内部电路板上接有:SM800系列嵌入式计算机、ACEX1K50系列的FPGA芯片、SN75976系列的单端转差分芯片、并口硬盘、CF卡、低压差线性电源芯片以及驱动芯片;控制器插件的前面板上的接口焊接在控制器电路板的一侧,控制器插件的后面板上的插口焊接在控制器电路板的另一侧;The internal circuit board of the controller plug-in is connected with: SM800 series embedded computer, ACEX1K50 series FPGA chip, SN75976 series single-end to differential chip, parallel hard disk, CF card, low dropout linear power supply chip and driver chip; the controller plug-in The interface on the front panel of the controller is welded on one side of the controller circuit board, and the socket on the rear panel of the controller plug-in is welded on the other side of the controller circuit board;
模拟数字信号转化器(ADC)插件的前面板(Front Panel)设有8路模拟输入信号接口、1路触发信号接口和1个复位按键;The front panel (Front Panel) of the analog-to-digital converter (ADC) plug-in has 8 analog input signal interfaces, 1 trigger signal interface and 1 reset button;
模拟数字信号转化器(ADC)插件的后面板(Back Panel)上设有两个插头,为自定义交互总线插头和NIM电源插头;There are two plugs on the back panel (Back Panel) of the analog-to-digital converter (ADC) plug-in, which are custom interactive bus plugs and NIM power plugs;
模拟数字信号转化器(ADC)插件的内部电路板上接有峰值展宽器插件、16个放大器芯片、8个ADC芯片、2个数字模拟转化器芯片、1个CYCLONEIII系列的FPGA芯片、FPGA芯片的程序配置芯片、SN75976系列的单端转差分芯片、3V-5V电平转化芯片、信号匹配板接口、低压差线性电源芯片以及驱动芯片。模拟数字信号转化器(ADC)模块的前面板上的接口焊接在模拟数字信号转化器电路板的一侧,模拟数字信号转化器(ADC)模块的后面板上的插口焊接在模拟数字信号转化器电路板的另一侧;The internal circuit board of the analog-to-digital signal converter (ADC) plug-in is connected with a peak stretcher plug-in, 16 amplifier chips, 8 ADC chips, 2 digital-to-analog converter chips, 1 CYCLONEIII series FPGA chip, and FPGA chip Program configuration chip, SN75976 series single-ended to differential chip, 3V-5V level conversion chip, signal matching board interface, low dropout linear power supply chip and driver chip. The interface on the front panel of the analog-to-digital converter (ADC) module is soldered to one side of the analog-to-digital converter circuit board, and the socket on the rear panel of the analog-to-digital converter (ADC) module is soldered to the analog-to-digital converter circuit board. the other side of the circuit board;
自定义总线连接控制器插件和模拟数字信号转化器插件。Custom bus connection controller plug-ins and analog-to-digital signal converter plug-ins.
本发明的优点和产生的有益效果:Advantage of the present invention and the beneficial effect that produce:
本发明经过了物理实验的测试,数据传输率最大可达66MB/s,系统正常运行时数据传输率为33MB/s,是传统CAMAC系统数据率的10倍。本发明性价比高,系统构建灵活。优势表现在:The present invention has been tested by physical experiments, and the maximum data transmission rate can reach 66MB/s, and the data transmission rate is 33MB/s when the system is in normal operation, which is 10 times the data rate of the traditional CAMAC system. The invention has high cost performance and flexible system construction. The advantages are as follows:
1.该发明实现了一套新型的完整的数据获取系统;1. The invention realizes a new and complete data acquisition system;
2.实现了一种智能化的控制器和多通道ADC模块;2. Realized an intelligent controller and multi-channel ADC module;
3.实现了基于FPGA技术的自定义64芯背板总线规范和协议,获得了33MB/s的数据传输率;3. Realized the custom 64-core backplane bus specification and protocol based on FPGA technology, and obtained a data transmission rate of 33MB/s;
4.ADC插件指标实验室测试指标如下:4. ADC plug-in indicators laboratory test indicators are as follows:
系统分辨率:0.0735%;System Resolution: 0.0735%;
最大传输速度:33MB/s;Maximum transmission speed: 33MB/s;
最大事件率:400KSPS;Maximum event rate: 400KSPS;
采集卡最小死时间:2.0usAcquisition card minimum dead time: 2.0us
最小DNL:3LSBMinimum DNL: 3LSB
附图说明 Description of drawings
图1为该数据获取系统插入NIM机箱的示意图;Fig. 1 is the schematic diagram that this data acquisition system is inserted into the NIM chassis;
图2为该系统的控制器插件、ADC插件和自定义总线连接方式图;Figure 2 is a connection diagram of the controller plug-in, ADC plug-in and custom bus of the system;
图3为在该系统支持下实验获得的Co60放射源伽马谱;Figure 3 is the Co60 radioactive source gamma spectrum obtained experimentally with the support of the system;
图4为示波器测试自定义总线传输速度时的波形;Figure 4 is the waveform when the oscilloscope tests the transmission speed of the custom bus;
图5为示波器测试峰值展宽器的波形;Fig. 5 is the waveform of oscilloscope test peak stretcher;
具体实施方式 Detailed ways
该发明所用的NIM机箱电源有+-6V,+-12V,+-24V六种供电电平。The NIM chassis power supply used in the invention has six power supply levels of +-6V, +-12V, and +-24V.
本发明在原先只有机械结构标准和电气规范的NIM系统中加入了嵌入式计算机控制器和64芯背板总线,并且通过背板总线协议,可以使更多的NIM插件协同工作,实现中小规模数据获取的功能,以完成较复杂的物理实验。The present invention adds an embedded computer controller and a 64-core backplane bus to the original NIM system that only has mechanical structure standards and electrical specifications, and through the backplane bus protocol, more NIM plug-ins can work together to realize small and medium-scale data Acquired functions to complete more complex physics experiments.
在本发明中,设计了控制器插件1和模拟数字信号转化器(ADC)插件2,这两种插件的详细介绍如下:In the present invention, controller plug-in 1 and analog-to-digital signal converter (ADC) plug-in 2 have been designed, and the detailed introduction of these two kinds of plug-ins is as follows:
控制器controller
控制器插件1是一个标准的单宽NIM插件,分为控制器的前面板、控制器的后面板和控制器内部;该插件实现了一个完整的计算机系统,并且可以通过自定义的背板总线连接ADC模块,实现简单的数据获取功能。Controller plug-in 1 is a standard single-width NIM plug-in, which is divided into the front panel of the controller, the rear panel of the controller and the inside of the controller; this plug-in implements a complete computer system, and can pass through a custom backplane bus Connect the ADC module to realize simple data acquisition function.
控制器的前面板(Front Panel)从上往下有以下一些接口:三个程序控制指示灯、并口硬盘指示灯、串口硬盘指示灯、电源指示灯、触发信号接口、RS232串口接口、键盘鼠标接口、三个USB2.0接口、百兆网络接口、复位按键、显示器接口。其中的程序控制指示灯连接由控制器内部的可编程芯片FPGA,可实现用户自定义的功能;硬盘指示灯显示当前硬盘是否在读写工作;电源指示灯指示电源是否正常,控制器是否已经接通电源;触发信号接口兼容TTL标准和NIM标准信号,采用的是LEMO高频插座,而RS232串口采用9针D型母头插座;键盘鼠标接口为一带二结构,普通PS2插座,需外接一个转接线,将一个PS2口扩展为一个PS2键盘口和一个PS2鼠标口;三个USB2.0接口均为标准接口,可外接移动硬盘、优盘或者USB键盘和鼠标等设备;百兆网络接口为标准接口;复位按键可复位控制器内部的可编程芯片的固件程序,同时可以复位内部的嵌入式计算机;显示器接口为VGA15针插座,可接通用的显示器。The front panel of the controller (Front Panel) has the following interfaces from top to bottom: three program control indicators, parallel hard disk indicator, serial hard disk indicator, power indicator, trigger signal interface, RS232 serial interface, keyboard and mouse interface , Three USB2.0 ports, 100M network port, reset button, display port. The program control indicator is connected to the programmable chip FPGA inside the controller, which can realize user-defined functions; the hard disk indicator shows whether the current hard disk is reading and writing; the power indicator indicates whether the power supply is normal and whether the controller has been connected. Power on; the trigger signal interface is compatible with TTL standard and NIM standard signals, using LEMO high-frequency socket, while the RS232 serial port uses 9-pin D-type female socket; Wiring, expand a PS2 port to a PS2 keyboard port and a PS2 mouse port; the three USB2.0 ports are standard ports, which can be connected to external mobile hard disk, USB flash drive or USB keyboard and mouse; the 100M network port is a standard port ; The reset button can reset the firmware program of the programmable chip inside the controller, and at the same time can reset the embedded computer inside; the display interface is a VGA15-pin socket, which can be connected to a common display.
控制器插件的后面板(Back Panel)上有两个插头,为自定义交互总线插头和NIM电源插头。其中,自定义交互总线插头为双排64针插头(每排32针),针与针间的间距为2.0mm;电源插头为标准的NIM插件电源插头,在本设计中只用了+6V和+12V两种电源。There are two plugs on the back panel of the controller plug-in, which are the custom interactive bus plug and the NIM power plug. Among them, the custom interactive bus plug is a double-row 64-pin plug (32 pins per row), and the distance between the pins is 2.0mm; the power plug is a standard NIM plug-in power plug, and only +6V and +6V are used in this design. +12V two kinds of power supply.
控制器的内部主要组成元器件有:SM800系列嵌入式计算机、ACEX1K50系列的FPGA芯片、SN75976系列的单端转差分芯片、并口硬盘、CF卡、低压差线性电源芯片以及部分驱动芯片。其中SM800系列嵌入式计算机实现基本的计算机功能,是该控制器人机接口界面的支撑器件,负责运行WINDOWS XP或者LINUX操作系统,提供FPGA模拟的PCI插卡的驱动以及应用程序,数据获取系统的软件支持和数据存储等;ACEX1K50系列的FPGA芯片在该控制器中主要作用是嵌入式计算机PCI总线和自定义背板总线之间的桥接功能以及部分数据处理功能,这些功能都是用VHDL语言在其内部实现的,这些VHDL程序主要包括PCI从设备接口、自定义总线接口、双端口RAM、触发信号处理、精准时序控制、状态机和部分测试程序。该控制器的核心部分由嵌入式计算机、FPGA芯片和这两种部件内部的软硬件程序构成。其它器件如转换芯片、硬盘、供电部分等都是该核心部分的支撑部件。The main internal components of the controller are: SM800 series embedded computer, ACEX1K50 series FPGA chip, SN75976 series single-end to differential chip, parallel hard disk, CF card, low dropout linear power supply chip and some driver chips. Among them, the SM800 series embedded computer realizes the basic computer functions, and is the supporting device of the man-machine interface of the controller. It is responsible for running the WINDOWS XP or LINUX operating system, providing FPGA-simulated PCI card driver and application program, and data acquisition system. Software support and data storage, etc.; the main function of ACEX1K50 series FPGA chips in this controller is the bridging function between the embedded computer PCI bus and the custom backplane bus and some data processing functions. These functions are all implemented in VHDL language. Internally implemented, these VHDL programs mainly include PCI slave device interface, custom bus interface, dual-port RAM, trigger signal processing, precise timing control, state machine and some test programs. The core part of the controller is composed of embedded computer, FPGA chip and the software and hardware programs inside these two components. Other devices such as conversion chips, hard disks, power supply parts, etc. are the supporting components of the core part.
模拟数字信号转化器(ADC)Analog to Digital Signal Converter (ADC)
模拟数字信号转化器(ADC)插件2也是一个标准的单宽NIM插件,分模拟数字信号转化器(ADC)前面板、模拟数字信号转化器(ADC)后面板和模拟数字信号转化器(ADC)内部;该插件实现了从模拟信号到数字信号的转化,并能够通过自定义背板总线将转化完成的数字信号传递给上面讲到的控制器,从而实现简单的数据获取功能。同时,ADC模块也能够通过自定义背板总线接收来自控制器的命令,实现相应的动作。Analog-to-digital converter (ADC) plug-in 2 is also a standard single-width NIM plug-in, divided into analog-to-digital signal converter (ADC) front panel, analog-to-digital signal converter (ADC) rear panel and analog-to-digital signal converter (ADC) Internally; the plug-in realizes the conversion from analog signal to digital signal, and can pass the converted digital signal to the controller mentioned above through the custom backplane bus, so as to realize simple data acquisition function. At the same time, the ADC module can also receive commands from the controller through the custom backplane bus to realize corresponding actions.
ADC模块的前面板(Front Panel)有以下接口:8路模拟输入信号接口、1路触发信号接口和1个复位按键。其中的8路模拟输入信号接口(自上向下为第1路到第8路)均为LEMO高频插座,接收来自探测器前端电子学主放大器输出的能量路信号;1路触发信号可以作为模块自调试过程中的触发信号输入,也可以在数据获取实验中接收来自触发信号扇出器输出的同步信号;复位按键实现该模块内部关联芯片的同步复位功能。The front panel (Front Panel) of the ADC module has the following interfaces: 8 analog input signal interfaces, 1 trigger signal interface and 1 reset button. Among them, the 8 analog input signal interfaces (1st to 8th from top to bottom) are all LEMO high-frequency sockets, which receive the energy signal output from the main amplifier of the front-end electronics of the detector; 1 trigger signal can be used as The trigger signal input during the self-debugging process of the module can also receive the synchronization signal from the output of the trigger signal fan-out device in the data acquisition experiment; the reset button realizes the synchronous reset function of the associated chip inside the module.
ADC模块的后面板(Back Panel)外形与控制器完全相同,自上向下有自定义交互总线插头和NIM电源插头。其中,自定义交互总线插头为双排64针插头(每排32针),针与针间的间距为2.0mm;电源插头为标准的NIM插件电源插头,与控制器不同,该模块在设计中只用了+6V和-6V两种电源。The shape of the back panel (Back Panel) of the ADC module is exactly the same as that of the controller, and there are custom interactive bus plugs and NIM power plugs from top to bottom. Among them, the custom interactive bus plug is a double-row 64-pin plug (32 pins per row), and the distance between the pins is 2.0mm; the power plug is a standard NIM plug-in power plug, which is different from the controller. Only two power supplies of +6V and -6V are used.
ADC模块的内部主要组成元器件有:8个峰值展宽器插件、16个放大器芯片、8个ADC芯片、2个数字模拟转化器芯片、1个CYCLONEIII系列的FPGA芯片、FPGA芯片的程序配置芯片、SN75976系列的单端转差分芯片、3V-5V电平转化芯片、信号匹配板接口、低压差线性电源芯片以及部分驱动芯片。可实现幅度范围在50mV-5V、上升沿是10ns的脉冲幅度展宽,且展宽时间可控在500ns-20us,最小时间分辨为2.5ns。The main internal components of the ADC module are: 8 peak stretcher plug-ins, 16 amplifier chips, 8 ADC chips, 2 digital-to-analog converter chips, 1 CYCLONEIII series FPGA chip, FPGA chip program configuration chip, SN75976 series single-ended to differential chip, 3V-5V level conversion chip, signal matching board interface, low dropout linear power supply chip and some driver chips. It can realize pulse width stretching in the amplitude range of 50mV-5V, the rising edge is 10ns, and the stretching time can be controlled in 500ns-20us, and the minimum time resolution is 2.5ns.
16个放大器芯片为其后面的8个ADC芯片提供差分输入信号,8个ADC芯片实现峰值展宽以后的模拟信号的数字转化工作,然后通过公用并行总线把数据传送给FPGA芯片;2个DAC芯片按照程序的控制给前端的峰值展宽器提供上阈值和下阈值;FPGA芯片为该模块的控制核心,提供模块中所有芯片的时序控制信号,协调各部件之间的合作,完成模拟信号到数据信号的转化传输,FPGA芯片还负责数据的存储和处理,把获取的数据打包后通过自定义背板总线上传给控制器。FPGA芯片的这些功能都是用VHDL语言在其内部实现的,这些VHDL程序主要包括自定义总线接口、双端口RAM、ADC和DAC的工作时序控制、中断信号产生、状态机和部分测试程序等。SN75976系列的单端转差分芯片、3V-5V电平转化芯片、信号匹配板接口都是为实现信号的正确传输设计的。低压差线性电源芯片为整个模块提供极低纹波的电源,保障模块上各个部件正常工作。The 16 amplifier chips provide differential input signals for the 8 ADC chips behind them, and the 8 ADC chips realize the digital conversion of the analog signal after peak broadening, and then transmit the data to the FPGA chip through the common parallel bus; the 2 DAC chips follow the The control of the program provides the upper and lower thresholds for the front-end peak stretcher; the FPGA chip is the control core of the module, providing the timing control signals of all the chips in the module, coordinating the cooperation between various components, and completing the conversion from analog signals to data signals. For conversion and transmission, the FPGA chip is also responsible for data storage and processing, and the acquired data is packaged and uploaded to the controller through the custom backplane bus. These functions of the FPGA chip are implemented internally by VHDL language. These VHDL programs mainly include custom bus interface, dual-port RAM, ADC and DAC working sequence control, interrupt signal generation, state machine and some test programs, etc. The SN75976 series single-ended to differential chip, 3V-5V level conversion chip, and signal matching board interface are all designed to realize the correct transmission of signals. The low-dropout linear power supply chip provides extremely low ripple power for the entire module, ensuring the normal operation of all components on the module.
自定义总线custom bus
为实现设计的两种插件之间的信息交互,本发明设计一套完整的自定义总线规范,控制器插件1和模拟数字信号转化器插件2都要支持基本写操作、读操作、中断处理基本总线功能,而且要达到一定的数据传输速度,满足基本的物理实验需求。In order to realize the information interaction between the two designed plug-ins, the present invention designs a complete set of self-defined bus specifications, and the controller plug-in 1 and the analog-to-digital signal converter plug-in 2 must support basic write operations, read operations, and interrupt processing. Bus function, but also to achieve a certain data transmission speed, to meet the basic needs of physical experiments.
自定义总线3将控制器插件1和模拟数字信号转化器插件2连接;装入NIM机箱4内。The
数据获取实验步骤Data Acquisition Experimental Procedures
1.将控制器插件插入NIM机箱,保证插件的电源插座与机箱的供电插座连接牢固;1. Insert the controller plug-in into the NIM chassis, and ensure that the power socket of the plug-in is firmly connected with the power socket of the chassis;
2.控制器前面板的键盘鼠标接口外接一个转接线,转接为两个PS2口,分别接PS2键盘和PS2鼠标;2. The keyboard and mouse interface on the front panel of the controller is externally connected to an adapter cable, which is converted into two PS2 ports, which are respectively connected to the PS2 keyboard and PS2 mouse;
3.用LEM0线将由探测器前端电子学部分提供的触发信号接进控制器前面板的触发信号接口;3. Use the LEM0 line to connect the trigger signal provided by the front-end electronics part of the detector to the trigger signal interface on the front panel of the controller;
4.控制器前面板的显示器接口接VGA显示器;4. The display interface on the front panel of the controller is connected to the VGA display;
5.将百兆网线接到控制器前面板的网络接口;5. Connect the 100M network cable to the network interface on the front panel of the controller;
6.控制器后面板的自定义总线接口接自制的64芯扁平电缆;至此,控制器连线完毕。6. The custom bus interface on the rear panel of the controller is connected to the self-made 64-core flat cable; so far, the connection of the controller is completed.
7.将ADC模块插入NIM机箱,保证插件的电源插座与机箱的供电插座连接牢固;7. Insert the ADC module into the NIM chassis, and ensure that the power socket of the plug-in is firmly connected with the power socket of the chassis;
8.用LEMO线将由探测器前端电子学部分提供的能量路信号接进ADC模块前面板的8路模拟信号输入接口;8. Use the LEMO line to connect the energy signal provided by the front-end electronics part of the detector to the 8-way analog signal input interface on the front panel of the ADC module;
9.ADC模块后面板的自定义总线接口连接与控制器相通的一根自制64芯扁平电缆;9. The custom bus interface on the rear panel of the ADC module is connected to a self-made 64-core flat cable connected to the controller;
至此,ADC模块连线完毕。At this point, the connection of the ADC module is completed.
完成以上9步以后,打开NIM机箱的电源开关,控制器和ADC模块开始工作。After completing the above 9 steps, turn on the power switch of the NIM chassis, and the controller and ADC module will start to work.
10.控制器接通电源以后,有一个启动操作系统的过程,该过程大约需要1-2分钟;10. After the controller is powered on, there is a process of starting the operating system, which takes about 1-2 minutes;
11.操作系统启动后,操作系统会根据之前的设置,自动搜索FPGA的PCI驱动,监视控制设备;11. After the operating system is started, the operating system will automatically search for the PCI driver of the FPGA and monitor and control the device according to the previous settings;
12.打开数据获取程序界面,运行程序,整个数据获取过程由此开始。12. Open the data acquisition program interface, run the program, and the entire data acquisition process begins.
由探测器出来的信号经过前端电子学部件的处理,形成触发信号和能量信号。触发信号经过本系统中的控制器插件的处理和扇出,提供给系统中的ADC模块插件。在控制器的控制程序和触发信号的控制下,ADC模块将输入的信号进行模数转化,并将转化以后的值暂时存在ADC模块内部FPGA实现的内存中,等暂存的数据达到1KB-3KB的数量时,ADC模块通过背板总线发送中断请求。控制器接收到ADC模块的中端请求以后,通过背板总线发送握手信号与ADC模块进行交互握手,握手成功后,ADC模块就开始通过背板总线用块传输的方式(block传输)将内存中的数据传送给控制器模块。控制器将接收到的数据先暂存在FPGA内部的内存空间中,然后通过PCI总线上传至控制器嵌入式计算机的内存中。嵌入式计算机内存中的数据在数据获取程序的控制下,绘制谱图,或者通过网络传输到上位机进行谱图显示和数据在线分析。与此同时,所有的数据都进行存盘,以便对实验数据进行以后的离线分析。The signal from the detector is processed by the front-end electronic components to form a trigger signal and an energy signal. The trigger signal is processed and fanned out by the controller plug-in in the system, and provided to the ADC module plug-in in the system. Under the control of the control program of the controller and the trigger signal, the ADC module performs analog-to-digital conversion on the input signal, and temporarily stores the converted value in the internal FPGA memory of the ADC module, and waits for the temporarily stored data to reach 1KB-3KB The ADC module sends an interrupt request through the backplane bus. After the controller receives the mid-end request from the ADC module, it sends a handshake signal through the backplane bus to interact with the ADC module. The data is sent to the controller module. The controller temporarily stores the received data in the internal memory space of the FPGA, and then uploads them to the memory of the embedded computer of the controller through the PCI bus. The data in the embedded computer memory is under the control of the data acquisition program to draw a spectrogram, or transmit it to the host computer through the network for spectrogram display and data online analysis. At the same time, all the data are saved for later off-line analysis of the experimental data.
图3显示的是在该系统的支持下做的一次Co60放射源伽马谱测试实验。从图中可以看出:该系统能够准确的测出Co60伽马谱中的两个峰,通过分析其中最窄的峰,用其半高宽除以该峰的最大值就能得到0.0735%的分辨率;说明了该数字化NIM数据获取系统功能实现,并且能实现基本的物理实验。Figure 3 shows a Co60 radioactive source gamma spectrum test experiment done with the support of this system. It can be seen from the figure that the system can accurately measure the two peaks in the Co60 gamma spectrum, and by analyzing the narrowest peak, dividing its full width at half maximum by the maximum value of the peak can get 0.0735% Resolution; It illustrates the function realization of the digital NIM data acquisition system, and can realize basic physical experiments.
图4为示波器测试自定义总线传输速度时的波形。其中第1路信号为自定义总线的时钟,时钟周期为60ns,频率为16.5MHz。第2路为自定义总线上的最低数据位AD00上的波形。从图中可以找到在两个时钟周期内,AD00从高电平变为低电平或者从低电平变为高电平的波形,证明数据位变化的最小间隔为一个时钟周期,即数据线上的数据也是工作在时钟信号频率下的。因为数据线是16位,因此,数据传输速度为16.5×16÷8=33MB/s。Figure 4 is the waveform when the oscilloscope tests the transmission speed of the custom bus. The first signal is the clock of the custom bus, the clock period is 60ns, and the frequency is 16.5MHz. The second way is the waveform on the lowest data bit AD00 on the custom bus. From the figure, we can find the waveform of AD00 changing from high level to low level or from low level to high level within two clock cycles, which proves that the minimum interval of data bit change is one clock cycle, that is, the data line The data on it also works at the frequency of the clock signal. Because the data line is 16 bits, therefore, the data transmission speed is 16.5×16÷8=33MB/s.
图5为示波器测试峰值展宽器的波形。从这个波形中可以分析出,下面的波形宽度为200ns×10=2us,可以得出采集卡最小死时间为2.0us。用1/2us可以得出最大事件率:400KSPS。Figure 5 is the waveform of the oscilloscope testing the peak stretcher. It can be analyzed from this waveform that the width of the following waveform is 200ns×10=2us, and it can be concluded that the minimum dead time of the acquisition card is 2.0us. The maximum event rate can be obtained with 1/2us: 400KSPS.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011103969954A CN102566459A (en) | 2011-12-02 | 2011-12-02 | Digital NIM (Nuclear Instrument Module) data acquisition system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011103969954A CN102566459A (en) | 2011-12-02 | 2011-12-02 | Digital NIM (Nuclear Instrument Module) data acquisition system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102566459A true CN102566459A (en) | 2012-07-11 |
Family
ID=46412109
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2011103969954A Pending CN102566459A (en) | 2011-12-02 | 2011-12-02 | Digital NIM (Nuclear Instrument Module) data acquisition system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102566459A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5866907A (en) * | 1993-10-12 | 1999-02-02 | Biotraces, Inc. | Ultralow background multiple photon detector |
| CN1529249A (en) * | 2003-10-17 | 2004-09-15 | 清华大学 | Multi-parameter Data Acquisition System Based on Universal Serial Bus |
-
2011
- 2011-12-02 CN CN2011103969954A patent/CN102566459A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5866907A (en) * | 1993-10-12 | 1999-02-02 | Biotraces, Inc. | Ultralow background multiple photon detector |
| CN1529249A (en) * | 2003-10-17 | 2004-09-15 | 清华大学 | Multi-parameter Data Acquisition System Based on Universal Serial Bus |
Non-Patent Citations (3)
| Title |
|---|
| 南钢洋等: "基于NIM系统的多道脉冲幅度采集卡设计", 《核电子学与探测技术》 * |
| 南钢洋等: "核物理实验中模数转换器选型及其供电方案", 《强激光与粒子束》 * |
| 张建川等: "在核实验仪器中的嵌入式微机选型", 《核电子学与探测技术》 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105897267B (en) | A kind of analog-to-digital converter single event effect testing method and system | |
| CN113325921B (en) | Synchronous acquisition system and method for high-speed ADC | |
| CN104198918A (en) | Testing system for small-lot production of high-speed and -precision ADC (analog to digital converter) chips | |
| CN104051026A (en) | SRAM (Static Random Access Memory) instantaneous dosage rate effect testing system and method with combination of full address and single address | |
| CN106526455A (en) | Circuit board detection and diagnosis system and method for missile launch control device | |
| CN104485962A (en) | Portable data acquisition system and acquisition method thereof | |
| CN104615030A (en) | Portable function signal generator | |
| CN103018542B (en) | A kind of corona current capture card based on usb bus | |
| CN102566459A (en) | Digital NIM (Nuclear Instrument Module) data acquisition system | |
| CN102567157A (en) | Testing device of power sequence signal on computer | |
| CN204272138U (en) | A kind of eye pattern testing apparatus of high speed signal | |
| CN204963688U (en) | Embedded guided missile signal acquisition and switching device | |
| CN105320633A (en) | Double-channel high-speed analog digital signal collecting and processing board card | |
| CN103944538B (en) | A kind of optional waveform generator | |
| CN201725004U (en) | Portable GIS local discharge detection system | |
| CN206270409U (en) | A kind of RF module test devices | |
| CN104656504A (en) | Real-time signal acquiring and processing system | |
| CN105116875A (en) | Device and method for detecting three-dimensional space electromagnetic field distribution of hydraulic power plant | |
| CN102495253A (en) | Handheld multifunctional parallel-operation measuring device | |
| CN104539290A (en) | Automatic data aligning system for multiple paths of A/D converters | |
| CN105553784A (en) | Communication signal simulator | |
| CN115718254A (en) | FPGA processing board batch detection method | |
| CN108646851A (en) | A kind of program-controlled triangular wave generating system | |
| CN203054072U (en) | Corona current acquisition card based on USB bus | |
| CN207541221U (en) | Use USB and the JTAG control devices of tool voltage adjustable function |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120711 |