1 / 13

EOVSA State Frame Assembly, Distribution, and synchronization

EOVSA State Frame Assembly, Distribution, and synchronization . Gelu Nita NJIT. EOVSA State Frame definition and specifications.

quilla
Download Presentation

EOVSA State Frame Assembly, Distribution, and synchronization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EOVSA State Frame Assembly, Distribution, and synchronization Gelu Nita NJIT EOVSA PDR Meeting

  2. EOVSA State Frame definition and specifications • Describes the state of the system during the preceding second of operation in a form of a fixed-length structure that does not change during system operation, but may be changed as the result of a software update. • May contain scalar parameters valid for the entire second, or arrays of parameters corresponding to a predefined number of sub-second time slots. • It is provided, upon request, in a form of a binary package that is formatted according to a predefined data template, to any client that connects to the State Frame Server via TCP/IP during a predefined time interval in which any new state frame resides in a fixed length memory buffer before being transferred to the RDBMS system. EOVSA PDR Meeting

  3. State frame synchronization • The EOVSA State Frame will be assembled based on a 50 PPS timing source that will be derived from, and aligned with, the1PPS GPS timing source. • Each State Frame will be uniquely identified by the state frame 1 PPS Timestamp assigned by the EOVSA master clock. • Each State Frame will be composed from 50 time bins aligned with the 50 PPS timing source. • Any EOVSA state switch, such tunings, attenuation changes, etc., will occur exactly on the rising edge of a 50 PPS trigger. • It is planned for all transition states not to last more than 1ms after the 50 PPS trigger. • The EOVSA Correlator must synchronize its accumulations such as to be started and ended within the 19 ms stationary time interval laying between two subsequent 50 PPS ticks. EOVSA PDR Meeting

  4. State frame synchronization • One 50 PPS Time Slot 50 PPS tick 50 PPS tick Tuning Tuning 1ms Accumulation (18.773ms) 1ms Transition interval EOVSA PDR Meeting

  5. State frame synchronization • One Second State Frame Interval 1 PPS tick 1 PPS tick State Frame Start SF Start 50 PPS ticks I IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII EOVSA PDR Meeting

  6. EOVSA state frame assembly • The EOVSA State Frame will be assembled by the real-time Array Control Computer, which will gather partial information from the Field Antenna Controllers, the Downconverter System, the LO System, and from the Task Scheduler, and combine everything in a fixed-length data structure that may contain, if needed, pre allocated slots that may be later filled with post-assembly parameters not yet available, such as acknowledgement flags that other data processing EOVSA subsystems may need to set at a later time. • On the 1 PPS tick, the fully assembled state frame will be stored in the State Frame Server’s memory buffer, when it will reside and be available to be served upon request, until all post-processing tags are filled in, or the time comes for being transferred to the RDBMS system. EOVSA PDR Meeting

  7. STATE frame assembly steps and latency 1PPS tick: Start of a new state frame assembly All distributed EOVSA control and monitor real-time subsystems gather and pack sub-frame information corresponding to 50 20ms time slots 1PPS tick TBD x 50 PPS ticks TBD x 50 PPS ticks Previous second sub-frame data is sent to ACC All previous second sub-frames are assembled together State Frame is available for being retrieved upon request from the State Frame Server State Frame Latency: 1s+TBD x 50 PPS ticks EOVSA PDR Meeting

  8. Server-client State frame template transaction • Before starting to receive state frames from the server, any client must obtain from the State Frame Server a description of the most recent state frame structure in a form of a self-describing template generated by the server at its start-up. • OPTIONS: • GENERAL PURPOSE TCP/IP SOCKET (Needs more transaction steps and a request-response protocol to be implemented) • DEDICATED TCP/IP SOCKET (Much simpler implementation since the server would know in advance what the client is waiting for) • An variable-length XML-based convention will be used to describe the fixed-length state frame structure EOVSA PDR Meeting

  9. Example: EOVSA Subsystem testbed (est) State frame template <Cluster> <Name>STATEFRAME</Name> <NumElts>17</NumElts> <DBL> <Name>Timestamp</Name> <Val>0.00000000000000</Val> </DBL> <I32> …......more here………….. <Array> <Name>BAND</Name> <Dimsize>10</Dimsize> <I16> <Name></Name> <Val></Val> </I16> </Array> ……………more here……… <Array> <Name>uvw</Name> <Dimsize>3</Dimsize> <Dimsize>10</Dimsize> <DBL> <Name></Name> <Val></Val> </DBL> </Array> ……………more here…… <Cluster> <Name>Trackstatus</Name> <NumElts>4</NumElts> <DBL> <Name>Timestamp</Name> <Val>0.00000000000000</Val> </DBL> <I32> <Name>Antenna1</Name> <Val>0</Val> </I32> <I32> <Name>Antenna2</Name> <Val>0</Val> </I32> <I32> <Name>Antenna3</Name> <Val>0</Val> </I32> </Cluster> ……………more here…… </Cluster> EOVSA PDR Meeting

  10. LabVIEW-IDL fixed-length numerical data Type correspondence EOVSA PDR Meeting

  11. THREE important details that will Not be contained by the state frame template • Data will be transmitted by the State Frame Server to all its clients as a binary stream having a big-endianformat • The data block corresponding to an array data type will be always preceded by as many I32-slots as needed to store each of the array dimensions. This information would be redundant but required by the internal memory mapping at State Frame Server side. • Multidimensional arrays will follow a row major convention Therefore, the state frame data section corresponding to an array that would be represented by IDL as arr=bindgen(2,3) would be transmitted as <I32(3)><I32(2)>< U8(0)>< U8(1)>< U8(2)>< U8(3)>< U8(4)>< U8(5)> EOVSA PDR Meeting

  12. Server-client State frame transaction (Part I) • OPTIONS: • GENERAL PURPOSE TCP/IP SOCKET (Needs more transaction steps and a request-response protocol to be implemented) • DEDICATED PORT (Much simpler implementation) • TRANSACTION STEPS: • Server listens at a port for a client to connect • Client connects and asks for a specific state frame identified by an 1PPS timestamp • Server searches the buffer and sends the matched state frame • Client acknowledges receiving it and closes connection with the server at its side • Server receives acknowledgement and closes connection with the client at its side EOVSA PDR Meeting

  13. Server-client State frame transaction (Part II) • OPTIONS: • Server transmits the entire state frame to its clients (Simple implementation compatible to using a dedicated state frame socket) • Server transmits only the relevant information to its clients (requires some overhead associated with extracting the relevant information and would need a request/response protocol or an individualized dedicated socket for each type of client ) • The state frame may contain dedicated slots for: • Flagging the current transaction status corresponding to each of its registered clients (sent, delivered, processed, etc. ?) • Flagging the updating status of those fields needed to be updated by its clients (waiting, updated, etc. ?) • State Frame updating transactions: • If a client needs to update a state frame field, the client will send only the relevant information tagged by the 1PPS timestamp of the state frame to be updated • Such transactions may need dedicated TCP/IP communication channels independent of the state frame channel. • The updated information would be sent by the clients having the same format as the one described in the corresponding slot of state frame template. EOVSA PDR Meeting

More Related