200 likes | 381 Views
Data acquisition requirements and concepts. Requirements Data acquisition task Long pulses General issues Concepts Time tagged data Stream model Configuration Time groups Synchronous analysis Monitoring Message system Networks XDV Group. W7-X Stellarator. Data acquisition task.
E N D
Data acquisition requirements and concepts • Requirements • Data acquisition task • Long pulses • General issues • Concepts • Time tagged data • Stream model • Configuration • Time groups • Synchronous analysis • Monitoring • Message system • Networks • XDVGroup P. Heimann, Design Review March 2005
W7-X Stellarator P. Heimann, Design Review March 2005
Data acquisition task • In the final stage there will be about 100 diagnostic systems • Collect data from the diagnostic hardware • Store and archive data for common access in time • Data should be stored in a global space • Data from all systems have to be comparable • Configuration for the system on a global scale • Handle data for long pulses P. Heimann, Design Review March 2005
Long pulses • Discharges up to 0.5 h • new concept for data acquisition • new structure of archived data • segment concept • Global time • Data monitoring • Remote control, automatic execution • Message logging • Data reduction • Pattern recognition, event driven sampling • Real time for feedback P. Heimann, Design Review March 2005
General requirements • The system should be • Flexible • Extendable • Maintainable • No early decision on computer hardware • As far as possible independent of a special operating system • As far as possible use mainstream hardware components and software • Use already proven concepts from existing systems Modern software design principles, Object oriented methods Object oriented data base Java as implementation language P. Heimann, Design Review March 2005
Global timing system lTTE Optical star Central timer system cTTE Control system 1 0 1 2 3 4 5 6 7 0 clk gate Patch panel 64 bit counter bit 0 = 1 nano second time resolution 10-20 nsec UTDC Clock and time synchronized 64 bit local counter ADC DAQ station P. Heimann, Design Review March 2005
Data Acquisition (DAQ) System DAQ Station Desc DAQ Station Desc DAQ Station Desc Module Desc Module Desc Module Desc Module Desc Module Desc Module Desc data parameter Log discharge program configuration Data stream model Archive Database Event- builder Monitor- server Event dístribution Monitor distribution Analysis- system control a Exp. program control b DAQ Client segment Message logging DAQ a segment DAQ b measure DAQ Station sensors Control system Sync. Analysis actuators setup P. Heimann, Design Review March 2005
Configuration Database ModuleDesc EnvPar Module EnvPar ControllableModule SegPar StatusPar Parameter Log Segment change EnvPar: fixed parameter for one discharge SegPar: parameter, that can change over the discharge time, segment parameter StatusPar: any kind of status information generated by the module P. Heimann, Design Review March 2005
Time Group Concept Stream Time Group • Time Groups: • RtTimeGroup • ContinuousTimeGroup • PulsedTimeGroup • SVTimeGroup • NetTimeGroup • AUGTimeGroup Hardware Module PPG Module 0 - 1 TDC Module 1 Device Control Module 0 - * Data Module 1 - * Analysis Module 0 - * P. Heimann, Design Review March 2005
Time Groups P. Heimann, Design Review March 2005
DAQ Device Device DEV slot Nr SubDevice0 SubDevice1 SubDevice2 . . SubDeviceN Operating System Driver C++ Interface JNI API Hardware Interface Device: public Parmset update(int subDev, Parmset p) public void initialize(int subDev, Parmset env, Parmset def) public Packet genPacket(int subDev, int packetSize) public void startDAQ(int subDev) public void stopDAQ(int subDev) public boolean readData(int subDev, Packet p, int length) Hardware: fast access directly accessible from computer buffered by FIFO memory drivers available for common operating systems P. Heimann, Design Review March 2005
DAQ Streams Database ObjectStore InputStream: public Object extract() public void close() Local File OutputStream: public void insert(Object obj) public void close() Field Streams: DbaseFifoOutChannel DCacheFifoOutChannel LogFifoOutChannel FileInChannel FileOutChannel FieldInChannel FieldOutChannel ..... P. Heimann, Design Review March 2005
DAQ Analysis Modules TimeGroup DataModule& .. DataModule .. OutputStream& .. AnalysisModule AnalysisModule AnalysisModule Timegroup& AnalysisModule& OutputStream& Timegroup& AnalysisModule& OutputStream& Timegroup& AnalysisModule& OutputStream& 1-* ControllableModule 0-1 input output 0-* AnalysisProcess input Function User supplied function Synchronous Analysis Processes: DataReductionProcess: generates a reduced data stream, used for monitoring FeedBackProcess: generates data for feedback purposes, real time data PatternRecognitionProcess: processes data and looks for patterns, event detection P. Heimann, Design Review March 2005
Monitor System Data base Clients DAQ Station Monitor parameter, Analysis functions Multicast Multicast Fields Fields Monitor Process A stream A Signal A stream B DAQ Station Signal B stream N DAQ Station Monitor Process B/N Monitor server P. Heimann, Design Review March 2005
Soft X-Ray MonitorServer 400 channels 200 KHz MonitorClient SoftX MonitorProc Visualizer pvm Data reduction 30Hz Image Prod MonitorProc DAQ Station FileReader pvm Neural Network DoublePacket(55) 55 double 30x30 double GifImageVisualizer Data File CIPS Udo v. Toussant Sylvio Gori Linux P. Heimann, Design Review March 2005
Monitor System Web Access Monitor Signal A Servlet A WebServer http Fields Servlet B Web Clients Monitor Signal B P. Heimann, Design Review March 2005
Message Handling SpecialReceiver SelectionProcess ProgramManager ProgramLoader Consumer IF: MessageConsumer messageReceived(String medium, Packet message) consumerList IF:MessageSender sendMessage(String medium, Packet message) messageQueue MessageHandler registerComsumer(String medium, int id) IF: MessageReceiver unregisterConsumer(MessageConsumer consumer) onMessage(String medium, int id, Packet message) FieldReceiver Receiver FieldInChannel P. Heimann, Design Review March 2005
Network Resources Logical Network stdNet rtNet timerNet Special hardware ComputerDesc Interfaces eth0 eth1 znyx0 TDC1 TTE1 Sbit3 TransportAddress UDP Layer2 FieldInChannel FieldOutChannel Messages Monitor FeedBack P. Heimann, Design Review March 2005
Networks DAQ Station DAQ Station S Central Timer Real Time Net W7X-Control C C Multicast enabled on all local networks Archive S S Control Net R DAQ-Net R R Public Net P. Heimann, Design Review March 2005
XDV Group Topics: P. Heimann (RZG) CoDa software, design Ch. Hennig (W7-X physics)Monitor server, networking H. Kroiss (E2) Data base applications G. Kühner (W7-X physics)System configuration, design H. Kühntopf (W7-X physics)Monitor clients, data base applications J. Maier (RZG) Data base system J. Reetz (RZG) (->2004)Video systems M. Zilker (RZG) Hardware support, hardware implementation P. Heimann, Design Review March 2005