Programmer’s Guide to the EVLA Correlator B. Carlson EVLA Correlator S/W F2F Apr. 3-4, 2006.

Slides:



Advertisements
Similar presentations
Autonomous Tracking Unit John Berglund Randy Cuaycong Wesley Day Andrew Fikes Kamran Shah Professor: Dr. Rabi Mahapatra CPSC Spring 1999 Autonomous.
Advertisements

Programmable FIR Filter Design
Digital FX Correlator Nimish Sane Center for Solar-Terrestrial Research New Jersey Institute of Technology, Newark, NJ EOVSA Technical Design Meeting.
FPGA Configuration. Introduction What is configuration? – Process for loading data into the FPGA Configuration Data Source Configuration Data Source FPGA.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Conversion Between Video Compression Protocols Performed by: Dmitry Sezganov, Vitaly Spector Instructor: Stas Lapchev, Artyom Borzin Cooperated with:
1 Color Discriminating Tracking System Lloyd Rochester Sam Duncan Ben Schulz Fernando Valentiner.
Coordinate Based Tracking System
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 26/4/2004 Multi-channel Data Acquisition System Final_A Presentation.
Ninth Synthesis Imaging Summer School Socorro, June 15-22, 2004 Cross Correlators Walter Brisken.
SE-IR Corporation 11/04 Goleta, CA (805) CamIRa TM SE-IR Corporation 87 Santa Felicia Dr. Goleta, CA (805)
The Prototype Correlator Sonja Vrcic Socorro, 5. December, 2006.
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
Backend electronics for radioastronomy G. Comoretto.
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
Technology and Functionality of the EVLA Correlator (Next Corr Workshop, June 27, 2006)
F.F. - 18/07/ User Guide of the Input Trigger Multiplexer unit with input signal rate counters.
CHAPTER 2: COMPUTER-SYSTEM STRUCTURES Computer system operation Computer system operation I/O structure I/O structure Storage structure Storage structure.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
1 of 22 Glaciers and Ice Sheets Interferometric Radar (GISIR) Center for Remote Sensing of Ice Sheets, University of Kansas, Lawrence, KS
GPS based time synchronization of PC hardware Antti Gröhn
Author George Peck EVLA System PDR December 4-5, EVLA Monitor and Control Hardware.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
Station Board EVLA F2F Meeting: December Dave FortEVLA F2F Meeting: 11/12 December Outline Station Board Review Station Board Status Delay.
Correlator Growth Path EVLA Advisory Committee Meeting, March 19-20, 2009 Michael P. Rupen Project Scientist for WIDAR.
Pre-OTS Testing in Penticton Sonja Vrcic Socorro, December 11, 2007.
Software Status Sonja Vrcic Socorro,
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
Author Wayne M. Koski EVLA Monitor & Control Hardware PDR March 13, EVLA Monitor and Control Module Interface Board (MIB) Design.
EVLA Correlator Prototype and OTS Testing B. Carlson EVLA Correlator S/W F2F Apr 3-4, 2006.
Alexei SemenovGeneric Digitizer Generic Digitizer 10MHZ 16 bit 6U VME Board.
Nevis FVTX Update Dave Winter FVTX Silicon Meeting 13 July 2006.
Fast Fault Finder A Machine Protection Component.
14 June, 2004 EVLA Overall Design Subsystems II Tom Morgan 1 EVLA Overall Software Design Final Internal Review Subsystems II by Tom Morgan.
Brent CarlsonEVLA System PDR (Correlator V2) December 4-5, Correlator.
Operating Systems 1 K. Salah Module 1.2: Fundamental Concepts Interrupts System Calls.
Station Board Testing EVLA Correlator S/W F2F 3-4 April 2006 D. Fort.
Grenoble, June 22nd 2009 Libera Workshop 2008 Peter Leban, Andrej Košiček Libera Brilliance, Recent Patches, new Ideas, Future Grenoble,
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 2: Computer-System Structures Computer System Architecture and Operation.
Configuration Mapper Sonja Vrcic Socorro,
M.P. RupenEVLA Advisory Committee Meeting September 6-7, Correlator Test Plan Michael P. Rupen.
M.P. RupenCorrelator Connectivity Scheme Review 31 July Correlator Specifications Michael P. Rupen.
Correlator GUI Sonja Vrcic Socorro, April 3, 2006.
Time Management.  Time management is concerned with OS facilities and services which measure real time.  These services include:  Keeping track of.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Software Requirements for the Testing of Prototype Correlator Sonja Vrcic Socorro, December 11, 2007.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Master Correlator Control Computer (MCCC) Requirements & Status Sonja Vrcic Socorro, December 12, 2007.
UniBoard Meeting, October 12-13th 2010 Jonathan Hargreaves, JIVE EVN Correlator Design UniBoard Meeting, October th 2010 Contract no
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
SAGE meeting Socorro, May 22-23, 2007 WIDAR Correlator Overview Michael P. Rupen Project Scientist for WIDAR & Software.
Data Examination and Checking Programs--Requirements B. Carlson
Software Overview Sonja Vrcic
Chapter 2: Computer-System Structures
Programmable Logic Controllers: I/O
EVLA Prototype Correlator (PTC)
EVLA Correlator New Connectivity Scheme Software Impact Sonja Vrcic
AT91 Memory Interface This training module describes the External Bus Interface (EBI), which generatesthe signals that control the access to the external.
Dump Control, Delay Models
VCI Overview Sonja Vrcic
Module 2: Computer-System Structures
Module 2: Computer-System Structures
Correlator Growth Path
Chapter 2: Computer-System Structures
Chapter 2: Computer-System Structures
Module 2: Computer-System Structures
Module 2: Computer-System Structures
Chapter 13: I/O Systems.
Presentation transcript:

Programmer’s Guide to the EVLA Correlator B. Carlson EVLA Correlator S/W F2F Apr. 3-4, 2006

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide2 Outline Purpose. Timing and Delay Tracking. Phase Models. Dump Control. Station Board. Baseline Board. System.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide3 Purpose Comprehensive User Manual of the correlator from a programmer’s perspective. Define details of timing, delay tracking, phase models, dump control. Discuss each function on each board/chip in some reasonable detail—note references to additional documentation. DRAFT2 released.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide4 Timing and Delay Tracking Critical real-time functions to “get right” for OTS testing. Fundamental array/correlator timing. TIMECODE… Fiber delay models/compensation; accuracy of timestamp…accuracy of model application time. Delay sign convention. Wideband/sub-band delay tracking.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide5

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide6

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide7 TIMECODE initialization/selection

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide8 External Timecode from NRAO

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide9 Correlator TIMECODE

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide10 Fiber delay models Array Timing Reference-to-antenna fiber delays need to be known well enough to ensure that fringes are found within the delay search range of the correlator. –Min +/-250 nsec; max +/-32 usec for sub-band 128 MHz. Accuracy of fiber delay model for at least one antenna determines accuracy of timestamps and when models are applied in correlator. Fiber delays are put into the correlator as +’ve delay offsets.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide11

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide12 Delay sign convention

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide13

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide14 Delay Tracking Develop simplified model. Define the “Delay Tracker Quiescent State” to be when the A1PPS and the reference (TIMECODE) tick at output of delay buffer are lined up. –Sets value of Reference Pointer. –Allows antenna-to-correlator fiber delays to be completely factored out.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide15 Delay Tracking—simple model

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide16 Delay tracking—actual model (simplified)

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide17 Delay Tracking Wideband: handled by the Delay Module. –H/W logic handles complexity of de-multiplexed data stream and delay slewing; presents relatively simple software interface. –Concrete example given to go from floating-point point-slope model to H/W register values. –Delay always specified in terms of number of 244 psec ( ) units. Sub-band: handled by the Filter Chip (but operates on wideband data). –Similar to Delay Module, but only +/-16 usec. –Delay specified in terms of “samples at the original sample rate”. –Concrete example given…

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide18 Delay Tracking Very fine delay tracking (+/-1/32 samples) handled and timed completely in hardware. S/W needs only to set where it is applied. Can be applied using the Filter Chip Stage 2 DSSB mixer or, in the Correlator Chip mixer (normally). –If applied in the Filter Chip, “PHASERR” going to the Baseline Boards is forced to 0 by H/W.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide19 Delay Tracking M&C delivers models to the correlator with a “Model Server”. –Separate models for wideband delay and sub-band delay. Models: –Constant “clock model”…for constant LO distribution fiber delays. –LO fiber round-trip delay model. –Geometric delay model (CALC). –Could do WVR measurements if desired… Convenient if model’s “t o ” in terms easily understood by the correlator (i.e. # seconds since Epoch – TIMECODE COUNTPPS).

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide20 Phase Models and Fringe Rotation Earth-rotation phase, fiber round-trip phase, fshift phase. Normally applied in Correlator Chip. –Could be partially or completely applied in Filter Chip DSSB mixer but lose benefit of doing it at the last possible point (and mixer band- edge degradation). “t” of calculation depends on: –Delay through Filter Chip stages…measured for each Filter Chip in the Output Chip of the Station Board. –Recirculation parallel or serial phase.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide21

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide22 Phase Models and Fringe Rotation Calculation is: Concrete example given… –Net_LO includes the fshift, and thus is different for each antenna. –How to calculate P0 and P1 PHASEMOD coefficients. –How to build the PHASEMOD frame—HES—Hardware Executable Script. Written to Timing Chip on Station Board.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide23

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide24

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide25

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide26

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide27 Phase Models and Fringe Rotation Each Station Board CMIB must write phase models (i.e. build PHASEMOD) for all of its own outputs. Other models may be present, but they are ignored by downstream hardware.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide28 Dump Control Station Board generates the DUMPTRIG signal to control all down-stream dumping/integration for the Correlator Chip and the LTA. Sub-array/correlator-wide synchronization required to support recirculation and phase binning. –One way or another, synchronize to TIMECODE to eliminate Station Board-to-Station Board communication. HES built by S/W to generate DUMPTRIG.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide29

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide30

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide31

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide32

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide33

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide34 Dump Modes Normal dump-and-integrate. Recirculation dump-and-integrate. –Recirc FPGA on Baseline Board handles all counting, memory pointer offsets etc. Driven by Dump Triggers and CMDs. Phase binning. Recirculation and phase binning . Burst dumping.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide35 Normal dump-and-integrate

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide36 Recirculation dump-and-integrate

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide37

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide38 Phase binning

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide39

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide40

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide41 Phase binning and recirculation Almost too painful to contemplate. Lose “recirculation factor” number of Phase bins –E.g. if recirculation factor is 4, then there are 1000/4=250 phase bins available. –“number of places to put data in LTA” is always constant. –Left as an exercise for the reader to develop the S/W algorithm to implement.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide42

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide43 Burst Dumping Used when integration time is too small to allow for contiguous data capture. 3 ways of doing it: –Explicit control and synchronization of DUMPTRIG. –Explicit control of LTA’s burst-mode. –Implicit—let rate at which GigE chip can transmit data to Backend automatically control bursts. LTA fills up…priority naturally transfers to LTA-to-GigE data transfer. What data acquired for what baselines at what time is indeterminate.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide44 DUMPTRIG Synchronization Important for recirculation to ensure X/Y memory offset pointers correct. Correlator Chip XSTATUS, YSTATUS, and DESSR registers indicate if X/Y dump pulses not synchronized. –If not, it means that the lags being acquired for a particular lag block are indeterminate.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide45 DUMPTRIG HES Example

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide46 Station Board Overall functional description. Descriptions of chip functions from S/W perspective. Some blanks need to be filled in as some FPGA designs need upgrade or are in flux. References to documentation…

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide47

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide48

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide49 Station Board Data Products Wideband state counts. Wideband correlation lags. 16-bit stage output clip counter. Pre-re-quantizer power measurement. Re-quantizer state counts. Re-quantizer power. Re-quantizer clip counter. Tone extractor I&Q. RFI blanker counter. Radar-mode data capture.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide50 Station Board miscl Memory map. PCMC –Processor boot, PCI devices, absolute memory addresses. –FPGA programming (“personality” programming). Byte-wide. –A/D readings for V + T monitor. –10 msec interrupt.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide51 Baseline Board Overall description. Important points of note for each chip…details refer to RFS docs. Mostly configuration and monitor. Relatively little real-time S/W.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide52

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide53

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide54

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide55

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide56

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide57

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide58 Baseline Board miscl Memory map. PCMC –Similar to Station Board (Processor boot, PCI devices). –FPGA programming…bit serial. –A/D V+T readings. –All Corr Chip core voltages accessed using one A/D channel and dual 32:1 analog switches. Use Recirc-Y7 to control analog switches. –10 msec interrupt. Correlator Chip power and reset sequencing. –Controlled thru regs on companion LTA. –Power sequence, PLL reset sequence, reset sequence.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide59 Other Boards Timecode Board and Phasing Board. –Details still to be filled in…

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide60 System Remote power monitor and control. M&C network. Baseline Board to CBE GigE switched network. Station-to-Baseline Board data routing. –Mechanical mock-up demonstrates that cable routing in Baseline rack is feasible. Location of Phasing Board not completely defined. –In Baseline racks? –In separate rack? System module numbering and identification: ICD A25010N0002.

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide61

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide62

B. Carlson, 2006-Apr 3-4EVLA Correlator S/W F2F - Programmer's Guide63 Appendix I Copy of sub-band Stitching and Windowing from NRC- EVLA Memo# 001. –Important for post-Backend processing. –Need pre-requantizer power measurements, filter scaling factors, filter shapes for sub-band stitching. Probably needs another document to define exactly what numbers are needed, and what needs to be done. –Windowing for stitching needs more work.