Data acquisition requirements and concepts Requirements Data acquisition

  • Slides: 20
Download presentation
Data acquisition requirements and concepts Requirements Data acquisition task Long pulses General issues Concepts

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 2. 3. 2005 P. Heimann, Design Review March 2005 1

W 7 -X Stellarator 2. 3. 2005 P. Heimann, Design Review March 2005 2

W 7 -X Stellarator 2. 3. 2005 P. Heimann, Design Review March 2005 2

Data acquisition task • In the final stage there will be about 100 diagnostic

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 2. 3. 2005 P. Heimann, Design Review March 2005 3

Long pulses • Discharges up to 0. 5 h – new concept for data

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 2. 3. 2005 P. Heimann, Design Review March 2005 4

General requirements The system should be • • • Flexible Extendable Maintainable No early

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 2. 3. 2005 P. Heimann, Design Review March 2005 5

Global timing system Optical star Central timer system l. TTE c. TTE 0 1

Global timing system Optical star Central timer system l. TTE c. TTE 0 1 clk gate 2 3 4 5 6 7 0 1 Control system 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 2. 3. 2005 P. Heimann, Design Review March 2005 6

Data Acquisition (DAQ) System data parameter Log discharge program configuration Data stream model Eventbuilder

Data Acquisition (DAQ) System data parameter Log discharge program configuration Data stream model Eventbuilder Archive Monitorserver Event dístribution Database Monitor distribution DAQ Station Desc Module Desc Module Desc Analysissystem Exp. program control a control b segment DAQ Client Message logging DAQ a segment DAQ b DAQ Station Control system 2. 3. 2005 Sync. Analysis P. Heimann, Design Review March 2005 measure sensors setup actuators 7

Configuration Module. Desc Env. Par Module Database Env. Par Controllable. Module Segment change Seg.

Configuration Module. Desc Env. Par Module Database Env. Par Controllable. Module Segment change Seg. Par Status. Parameter Log Env. Par: fixed parameter for one discharge Seg. Par: parameter, that can change over the discharge time, segment parameter Status. Par: any kind of status information generated by the module 2. 3. 2005 P. Heimann, Design Review March 2005 8

Time Group Concept Time Group Hardware Module PPG Module 0 -1 TDC Module 1

Time Group Concept Time Group Hardware Module PPG Module 0 -1 TDC Module 1 Device Control Module 0 -* Time Groups: • Rt. Time. Group • Continuous. Time. Group • Pulsed. Time. Group • SVTime. Group • Net. Time. Group • AUGTime. Group Stream Data Module 1 -* Analysis Module 0 -* 2. 3. 2005 P. Heimann, Design Review March 2005 9

Time Groups 2. 3. 2005 P. Heimann, Design Review March 2005 10

Time Groups 2. 3. 2005 P. Heimann, Design Review March 2005 10

DAQ Device DEV slot Nr Hardware Operating System Driver API C++ Interface JNI Sub.

DAQ Device DEV slot Nr Hardware Operating System Driver API C++ Interface JNI Sub. Device 0 Sub. Device 1 Sub. Device 2. . Sub. Device. N Interface Device: Hardware: fast access directly accessible from computer buffered by FIFO memory drivers available for common operating systems 2. 3. 2005 public Parmset update(int sub. Dev, Parmset p) public void initialize(int sub. Dev, Parmset env, Parmset def) public Packet gen. Packet(int sub. Dev, int packet. Size) public void start. DAQ(int sub. Dev) public void stop. DAQ(int sub. Dev) public boolean read. Data(int sub. Dev, Packet p, int length) P. Heimann, Design Review March 2005 11

DAQ Streams Database Object. Store Input. Stream: public Object extract() public void close() Local

DAQ Streams Database Object. Store Input. Stream: public Object extract() public void close() Local File Output. Stream: public void insert(Object obj) public void close() Field Streams: Dbase. Fifo. Out. Channel DCache. Fifo. Out. Channel Log. Fifo. Out. Channel File. In. Channel File. Out. Channel Field. In. Channel Field. Out. Channel 2. 3. 2005 . . . P. Heimann, Design Review March 2005 12

DAQ Analysis Modules Time. Group 1 -* Data. Module. . Output. Stream&. . Data.

DAQ Analysis Modules Time. Group 1 -* Data. Module. . Output. Stream&. . Data. Module&. . 0 -1 input Analysis. Module Timegroup& Analysis. Module& Output. Stream& Controllable. Module 0 -* Analysis. Module Timegroup& Analysis. Module& Output. Stream& output Analysis. Module Timegroup& Analysis. Module& Output. Stream& Analysis. Process input User supplied function Function Synchronous Analysis Processes: Data. Reduction. Process: generates a reduced data stream, used for monitoring Feed. Back. Process: generates data for feedback purposes, real time data Pattern. Recognition. Process: processes data and looks for patterns, event detection 2. 3. 2005 P. Heimann, Design Review March 2005 13

Monitor System Clients Data base DAQ Station Multicast Monitor parameter, Analysis functions Fields stream

Monitor System Clients Data base DAQ Station Multicast Monitor parameter, Analysis functions Fields stream A Multicast Monitor Process A Signal A stream B DAQ Station Signal B stream N DAQ Station Monitor Process B/N Monitor server 2. 3. 2005 P. Heimann, Design Review March 2005 14

Soft X-Ray 400 channels 200 KHz Monitor. Server Monitor. Client Soft. X Monitor. Proc

Soft X-Ray 400 channels 200 KHz Monitor. Server Monitor. Client Soft. X Monitor. Proc Data reduction 30 Hz DAQ Station pvm Image Prod Monitor. Proc File. Reader pvm Double. Packet(55) 55 double Data File 2. 3. 2005 Visualizer Neural Network 30 x 30 double Linux P. Heimann, Design Review March 2005 Gif. Image. Visualizer CIPS Udo v. Toussant Sylvio Gori 15

Monitor System Web Access Monitor Signal A Servlet A http Web. Server Fields Servlet

Monitor System Web Access Monitor Signal A Servlet A http Web. Server Fields Servlet B Monitor Signal B 2. 3. 2005 P. Heimann, Design Review March 2005 Web Clients 16

Message Handling Consumer Program. Manager Program. Loader IF: Message. Consumer message. Received(String medium, Packet

Message Handling Consumer Program. Manager Program. Loader IF: Message. Consumer message. Received(String medium, Packet message) Selection. Process consumer. List IF: Message. Sender send. Message(String medium, Packet message) message. Queue Message. Handler register. Comsumer(String medium, int id) unregister. Consumer(Message. Consumer consumer) Receiver Field. Receiver IF: Message. Receiver on. Message(String medium, int id, Packet message) Special. Receiver Field. In. Channel 2. 3. 2005 P. Heimann, Design Review March 2005 17

Network Resources Logical Network std. Net rt. Net timer. Net Special hardware Computer. Desc

Network Resources Logical Network std. Net rt. Net timer. Net Special hardware Computer. Desc Interfaces eth 0 eth 1 Transport. Address Field. In. Channel Field. Out. Channel 2. 3. 2005 znyx 0 UDP Messages TDC 1 TTE 1 Sbit 3 Layer 2 Monitor P. Heimann, Design Review March 2005 Feed. Back 18

Networks Central Timer DAQ Station S Real Time Net C C W 7 X-Control

Networks Central Timer DAQ Station S Real Time Net C C W 7 X-Control Archive S S Multicast enabled on all local networks Control Net R DAQ-Net R R Public Net 2. 3. 2005 P. Heimann, Design Review March 2005 19

XDV Group Topics: P. Heimann (RZG) Ch. Hennig (W 7 -X physics) H. Kroiss

XDV Group Topics: P. Heimann (RZG) Ch. Hennig (W 7 -X physics) H. Kroiss (E 2) G. Kühner (W 7 -X physics) H. Kühntopf (W 7 -X physics) J. Maier (RZG) J. Reetz (RZG) (->2004) M. Zilker (RZG) 2. 3. 2005 Co. Da software, design Monitor server, networking Data base applications System configuration, design Monitor clients, data base applications Data base system Video systems Hardware support, hardware implementation P. Heimann, Design Review March 2005 20