GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » FutureDAQ » FutureDAQ - Time Distribution » Is SADC data always time ordered ?
icon5.gif  Is SADC data always time ordered ? [message #405] Sat, 01 May 2004 21:18 Go to next message
Walter F.J. Müller is currently offline  Walter F.J. Müller
Messages: 229
Registered: December 2003
Location: GSI, CBM
first-grade participant

From: ppp15.gsi.de
In the thread How to interface SADC to Time distribution the multiplexer module GESICA is mentioned by Igor.

Beyond the specifics of the time format, see separate thread, I wonder whether the hits are always time ordered. Or more specifically:
  • are hits always in ascending time order in the SADC output data stream
  • does the multiplexer combine the datastrams such, that the mux output is again in ascending time order
  • is there some sort of 'heart beat' or 'epoch marker' data in the output of the SADC, so that there are time marks at some minimal rate even in case there are no hits


W.F.J.Müller, GSI, CBM, Tel: 2766
Re: Is SADC data always time ordered ? [message #414 is a reply to message #405] Tue, 04 May 2004 10:36 Go to previous messageGo to next message
Igor Konorov is currently offline  Igor Konorov
Messages: 7
Registered: April 2004
Location: TU Muenchen
occasional visitor
From: *e18.physik.tu-muenchen.de
1. the hits are in ascending order on the output of the SADC;

2. the multiplexer still has an old algorithm of sending data event wise. There are not hardware limitations to change the logic of the multiplexer but it needs some time for developing a new vhdl code

3. there is not yet 'heart beat' but I support this idea. This is a part of a system which monitores the system behavior. This is a special topic which should be developed and included in the specification for all frontends.


Igor Konorov
Technical University of Munich
Physic Department E18
mail: igor.konorov@ph.tum.de
tel: +49-89-28912574
Fax: +49-89-28912570
Re: Is SADC data always time ordered ? [message #417 is a reply to message #414] Tue, 04 May 2004 20:09 Go to previous messageGo to next message
Walter F.J. Müller is currently offline  Walter F.J. Müller
Messages: 229
Registered: December 2003
Location: GSI, CBM
first-grade participant

From: lxg0311.gsi.de
Simple example:
  • two data streams with time ordered hits enter a multiplexer and the output should be one data stream with time ordered hits.
  • the obvious algorithm is to inspect both inputs, and copy the hit with the newest time stamp to the output.
In this scheme I have to buffer the data over a time given by the lowest hit rate of an input channel. So there is an obvious interest to guarantee a lower limit for the effective rate of time stamps coming in. So it is not just a question of monitoring system behaviour.

So I wonder how the multiplexing in strict ascending order is done. What happens, when one SADC doesn't have a hit for 10 seconds, while another runs at high rate ?


W.F.J.Müller, GSI, CBM, Tel: 2766
Re: Is SADC data always time ordered ? [message #421 is a reply to message #417] Thu, 06 May 2004 16:30 Go to previous message
Igor Konorov is currently offline  Igor Konorov
Messages: 7
Registered: April 2004
Location: TU Muenchen
occasional visitor
From: *e18.physik.tu-muenchen.de
I agree that with the algorithm which you propose to order the hits the multiplexer should have a buffers which can store the data for a maximum time interval between hits or "heart beats".
But the algorithm is enhanced by taking in to account maximum propagation time of the hits from SADC to multiplexer and then the heart bit is not needed for sorting.
The longest propagation time occurs when the hit rate is high and all buffers are full . It can be calculated for this case:

Prop.Time = BufferSize / Link Bandwidth.

For SADC the maximum propagation time is about 500us.

For low hit rate the propagation time is few useconds.

The data flow , buffer size and sorting algorithm are subject of simulation and optimization .




Igor Konorov
Technical University of Munich
Physic Department E18
mail: igor.konorov@ph.tum.de
tel: +49-89-28912574
Fax: +49-89-28912570
Previous Topic: Time protocols used for SADC
Next Topic: The Time distribution system
Goto Forum:
  


Current Time: Mon Oct 07 09:53:49 CEST 2024

Total time taken to generate the page: 0.00572 seconds