200 likes | 289 Views
Automated Measurements and Data Processing for Laboratory Exercises in Nuclear Physics. Authors: Toskov B. P, Petrov A. G., Antonov A. D. The Paisii Hilendarski University of Plovdiv. Introduction.
E N D
Automated Measurements and Data Processing for Laboratory Exercises in Nuclear Physics Authors: Toskov B. P, Petrov A. G., Antonov A. D.The Paisii Hilendarski University of Plovdiv
Introduction • The equipment used to provide laboratory experiments in educational laboratories in nuclear physics has the following characteristics: • ·Relative simplicity of hardware; • Possibility for using various types of detectors; • ·Moderate rate of data acquisition; • ·Performance of various tasks on the same hardware; • ·Possibility for automation of data acquisition and data processing; • ·Option for working in computer network and data exchange; • ·Using standard software as well as specially developed one; • · Possibility for future adaptation to other tasks; • · Simplified usage.
Main goals of the development: • Creation of a rather simplified but intelligent interface module for data acquisition and data transmission to PC; • Adaptation of standard software (MS Excel, Table Curve etc.) for data processing as well as development of specialized software for more convenient planning of the experiments and solving of more specific tasks.
Contents of the hardware: • Measuring probe including detectors; • Standard radiometer Robotron 20046; • Interface module; • Personal computer IBM PC/AT or similar.
Tasks of the radiometer: • Connecting, HV power supply and data collecting from various types of detectors; • Ensuring of proper amplification, forming and amplitude selection of the detector’s pulses; • Manual setting of measurement time and generating of START/STOP signals; • Possibility to be replaced by another type of radiometer with similar possibilities.
Tasks of the Interface module: • Ensuring the reception of formed pulses from the radiometer; • Preliminary pulses counting; • Saving the data in 16-, 32-bits or more extended format; • Providing logical compatibility with the ports of PC for the following data transmission to it; • Used ports: COMx via RS-232 or keyboard port. • Operation in several modifications.
Tasks of the PC: • Receiving the data from IM; • Data processing according to the conditions of the performed experimental task; • Representation the results; • Possibility for application either standard or special developed software; • Communication with other PC (if works in Network).
Properties of the interface module (IM) • Based on MC PIC16F874; • Communication with PC via RS-232 or keyboard port (keyboard emulation); • Levels conformation with ICL232; • Easy FLASH reprogram-ming by the option ICSP via 2 pins by means of programmer unit.
The main functions performed by IM: • Data receiving from the measuring probe through the radiometer for the time adjusted manually or by PC software; • Saving the data in 16-, 32-bits or more extended format; • Data transfer to PC after finishing the current measurement upon a control signal STOP from the radiometer or via a command from the PC; • Preparation for the next measurement; • Possibility for working in several modifications, ensuring various measurement modes and transmissions to PC.
Program control of the measurements (fig.2): PC software sets the time and the number of measurements and controls the measurement’s process in IMby RTS in RS-232; After finishing the measurement time the current portion of data is read by the PC via COM port and a new measurement is prepared; The advantages of this mode are the missing interrupt handling in PC and simplified communication interface. Module operation mode-1
Module operation mode-2 • Asynchronous mode (fig.3) • The time of measurement is set manually in the radiometer; • The signals START and STOP from the radiometer passes to IM; • After measuring and entering a new signal START the internal counter is initialized and a new measurement begins; • At the same time IM generates an asynchronous IRQ and sends it to PC, which causes a reading of information from IM; • Ensures a higher speed of transmission but requires interrupt handling in PC.
Module operation mode-3 • Bidirectional mode (handshaking mode-fig.4) • Transfer protocol is required to be set beforehand; • Measurement the time set by PC in the interface module; • Possibility to set short time intervals of the measurement (below 100 s); • The long time intervals require organizing more precisely the measurement of the time intervals; • To solve this problem we could use the input for external quartz resonator in the microcontroller.
Module operation mode-4 • Keyboard emulation (fig.5) • Connection to the keyboard input of PC (fig.8); • The keyboard of the PC is connected through the IM via special input; • Adjustment the measurement time by the radiometer; • Data transfer to PC on coming the STOP signal from the radiometer; • Transmission the data to PC in keyboard format (sequence of keyboard codes); • Full independence on PC platform ; • Direct entering the data to standard software (Excel, Word etc); • Low speed of transfer limiting measurement time to 1s but not below.
Communication formats-1 • In mode 1, 2 or 3 via RS-232 (sequence of ASCII codes) – fig.6. • <Tab> and <CR> codes are convenient for better formatting in text programs.
Communication formats-2 • Special case is mode 3 (bi-directional mode 3 via RS-232) – fig.7. • The sequence is following: • 1) PC sends timeID, 2 bytes of measurement time and startID to start the measurement; • 2) After finishing the measurement IM sends acknowledgement for completed work (ready ID); • 3) PC sends a command for data reading (read ID); • 4) IM sends data ID and 4 bytes of data, collected in IM memory; • The ID codes are selected by random. The lines TxData and Rx data are used only.
Technical data of IM: • Supply voltage 5V; • Consumed current 10mA; • Communication: • VIA RS-232 (1200, 8, n, 1); • VIA keyboard port; • Inputs/outputs – see fig.8; • Input rate of counting –limited by the radiometer and the internal counter 20MHz.
Software properties: • The operation modes of IM is defined by control software, recorded previously in FLASH memory; • The full package of control software is less than 1KB; • In keyboard emulation mode (4) standard software is used (Excel, Word, Table Curve etc.) • In case of usage RS-232 modes (1 – 3) special developed program systems are used – LABEX for DOS and LABEXWIN for Windows 9x+; • LABEX is written on Turbo Pascal using standard package Turbo Professional; • LABEXWIN is written on Borland Delphi.
Exercises and general flow diagram • Exercises’ measurements: • Halftime period of decay of shortliving isotopes; • Beta/gamma rays energy by the absorption method; • Working characteristics of G-M counters; • Statistical character of the radioactive decay (Poisson’s and Gauss’ laws); • Cross section of interaction of fast neutrons with lead, iron and other metals nuclei and evaluation of nuclei sizes. • Both program systems include mathematical methods (LSM, statistical etc.) for data processing and wide possibilities for graphical representation of results.
Conclusions The present-day microcontrollers give opportunities for the creation of new types of nuclear electronics’ devices. To this aim it is enough the developers to be acquainted with the architecture of microcontrollers and with the method of its programming. The above described interface module can be used in various automated radiation measurement devices and systems and the application software may be adapted to them. This development is a useful step toward automation of educational experiments in atomic and nuclear physics.
References: • [1] Microchip microcontrollers – http://www.microchip.com • [2] Interfacing the AT keyboard - http://www.beyondlogic.org/keyboard/keybrd.htm • [3] AVR313: Interfacing the PC AT Keyboard - http://www.atmel.com • [4] Balabanov N., Petrov A., Mitrikov M., Srentz A., Antonov A. A Practical Guide for Laboratory Exercises in Nuclear Physics, Plovdiv, 1988 (in Bulgarian). • [5] Antonov A., Balabanov N., Mitrikov M., Marinova S., Srentz A., Toskov B., Hristov H., Tcholakov V. A Practical Guide for Laboratory Exercises in Atomic and Nuclear Physics, PUI, Plovdiv, 2002 (in Bulgarian).