1、PDF外文:http:/ Engineering and Design 71 (2004) 269274 Simulation platform for remote participants in fusion experiments E. Barreraa, M. Ruiza, S. Lpeza, J. Vegab, E. Snchezb Abstract One of the major challenges in remote participation in fusion experiments is the control from remote locations o
2、f the data acquisition and treatment process. In an optimum situation, the remote researcher should be able to control the data acquisition conguration parameters, and data processing, specifying the results that must be returned to him. The simulation platform presented here, allows the researcher
3、to develop and test complex algorithms in a high level graphical language (LabVIEW), which includes powerful data processing libraries. These algorithms will be downloaded later into the data acquisition system. Furthermore, the platform allows the simulation of hardware data acquisition, which incl
4、ude the following points: (a) simulation of channel conguration from one or several data acquisition cards (channels used, sample frequencies, etc.), (b) generation of buffered simulated data (it is also possible the use of raw data, acquired in previous experiments, as simulated data), and (c) repr
5、oduction of hardware behavior (except, of course, in terms of real time behavior and real data). For this purpose, Virtual Instruments (VIs) libraries written in LabVIEW will be provided to the remote developers. These VIs will be replaced later, in the data acquisition system, by their homologous V
6、Is that actually interfaces with the hardware. This facility will allow remote researchers to verify the correct behavior of their own data processing algorithms before downloading them into the data acquisition system. Keywords: Remote participation; Simulation; Data processing; Code testing;
7、 Fourth generation language 1. Introduction The development of a remote participation system is one aim of the recent TJ-II 附录 A 外文资料翻译 A.1 外文 data acquisition improvements. This device is located at the Centrode Investigations Energticas Medioambientales y Tecnolgicas (CIEMAT) of Madrid
8、 1. In this sense, efforts have been focused on three main points: security of the transactions, development of specic hardware and software in order to provide real time data processing capacity to the system, and the design of a simulation platform that allows researchers to develop and test data
9、processing algorithms, simulating the remote acquisition system. This article describes the main characteristics of this simulation platform. The aim of the development of simulation software is to offer to the remote participants, a system on which they can verify the correct behavior of their data
10、 processing programs without working directly on the real data acquisition system. In this way, they can validate their own developments before loading the code on the nal system 2. In order to achieve this, several more concrete goals have been dened: Developing a simulation plat
11、form that allows generating data with different characteristics. This platform will simulate real data acquisition system. Offering a utilities library that communicates the simulation platform with the user transparently. Providing mechanisms to make the users data processing programs w
12、ork on the simulation platform as well as on the real data acquisition system, in a way that is transparent to the user. 2. System architecture The system has been developed using the high-level fourth generation language LabVIEW of National Instruments. This language includes powerful d
13、ata processing libraries that allow researchers to develop in a simple and efficient way, their own data processing algorithms 3. The architecture of the simulation platform can be divided into two main blocks: The simulator, which is responsible of simulating the behavior of the data acquisit
14、ion system and also of generating signals with different characteristics. A utilities library developed using LabVIEW that allows the management of the buffers in the data acquisition processes. 2.1 Simulator The simulator is made up of four modules: Simulator-Cong, Simulator-Start, Simu
15、lator-Read and Simulator-Clear. These modules receive the request of a new acquisition, the beginning of the simulation, the reading of data and the release of the used resources, respectively. Each one of them is independent and runs in a parallel way with the others. The communication and synchron
16、ization between the modules is done using global variables which access is controlled by semaphores. The conguration of the simulator requires the following operating parameters : Denition of the number of channels, buffer size and sampling rate. Denition of a data base that conta
17、ins the users identiers (ID) and which channels are associated to each one of them. The simulator works in a multi-user way, this makes it necessary to dene which channels are being used by each user program that interacts with the simulator. This is described more deeply in Section 2.2. Denit
18、ion of the type of signal that will be used in each channel. The simulator is able to generate nine different signals: sine, square, triangle, sawtooth, periodic random noise, Gaussian white noise, uniform white noise, formula (this option allows for the possibility of generating a signal from a mat
19、hematical expression) and le waveform (this option allows the possibility of generating a signal from the data stored in a le, which could allow the simulator to work with data taken form previous acquisitions). Denition of the parameters of the signal associated to each channel. Accord
20、ing to the type of signal, it will be necessary to dene some of the following parameters: frequency, offset, phase, standard deviation, formula, path (for le waveform), amplitude, increase amplitude (this parameter indicates whether the signals amplitude should be increased with time or not) and inc
21、rease (factor in which the signals amplitude should be increased). Once the simulator has been congured, it remains ready to communicate with the users applications that have been developed using the utilities library that was offered. 2.2 Utilities library The utilities library provided to th
22、e user has been developed using a similar methodology to that used in the data acquisition libraries supplied by LabVIEW. This library is made up by high-level modules that offer a great transparence in the behavior of the system to the user. This will allow researchers to develop applications that work with the data acquisition systems in a simple way and without needing a deep knowledge of this programming language. The utilities library is made up by four modules: