realtime computing and dark energy experiments klaus honscheid the ohio state university real time...

30
Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Upload: joleen-hicks

Post on 01-Jan-2016

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Realtime Computing andDark Energy Experiments

Klaus HonscheidThe Ohio State University

Real Time 07, Fermilab

Page 2: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

A few words on Dark Energy

The subtle slowing down and speeding up of the expansion, of distances with time: a(t), maps out cosmic history like tree rings map out the Earth’s climate history. (Courtesy of E. Linder)

Page 3: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

95% of the Universe is Unknown

Dark Energy Survey SNAP

LSST

Pan Starrs

Page 4: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

LSST and SNAP

201 CCDs (4kx4k) for a total of3.2 Giga-Pixels

Spectrograph port

36 CCDs

NIR

(~443 Megapixels)

(~151 Megapixels)

Page 5: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Outline

DE DAQ vs. HE DAQ

Front End Electronics

Dataflow

Control and Communication

Data Management

Summary

Page 6: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

DE vs. HE Architecture

OCSUIs, Coordination, Planning,

Services

DHSScience data collection

Quick look

TCSEnclosure, Thermal, Optics

Mount, GIS

ICSVirtual Instruments

Observatory Control System

Data Handling Telescope Control Camera Control

Telescope

Detector(Alice)

Page 7: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Dataflow ArchitectureDES Camera CLEO III Detector

Page 8: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Typical Data Rates

Telescope

Data Rate

Data size (per night)

Detector

Data Rate (raw)

Data Size (per day)

DES 0.7 Gbs 0.3 TB BaBar 5 Gbs 0.3 TB

SNAP300 Mbs

0.3 TB CDF/D0 100 Gbs ~0.8 TB

LSST 26 Gbs ~5 TB LHC 800 Gbs ~8 TB

Zero SuppressionTrigger

Page 9: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Page 10: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Front End Electronics

4 SNAP CCDs (LBNL)3.5kx3.5k, 10.5 μm pixels

SERI AL REGI STER

SERI AL REGI STER

50

0 X

20

00

50

0 X

20

00

40

00

X 2

00

04

00

0 X

20

00

BLOOMI NG

CONTROL

DES Focal Plane with simulated image(62 LBNL CCDs)

Multiple outputports for fasterRead-out (LSST)

Fully depleted, high resistivity, backilluminated CCD withextended QE (1000 m)(LBNL)

Page 11: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Orthogonal Transfer CCDsOrthogonal Transfer CCD

remove image motionhigh speed (~10 usec)Better yield, less expensivePan Starrs, Wiyn

Normal guiding (0.73”) OT tracking (0.50”)

Page 12: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

DECam Monsoon Block Diagram

12

Typical readout rate: 250k-pixels/s @ <10e- rms noise

Con

troll

er

Clo

cks

Bia

s,

Read

ou

t

Developed by NOAO

Data

Lin

k

Page 13: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

3 x 3 array of 16 MP sensors 16 output ports each 144 video channels FEE package

Dual Slope Integrator ASICs, Clock Driver ASICs support circuitry

Flex cable interconnect

Cold plate Cool plate BEE package

144 ADC channels local data formatting optical fiber to DAQ

SENSOR

RAFT

Si CCD Sensor

Sensor Packages

CCD Carrier

Thermal Strap(s)

LSST CCDs & Electronics

201 CCDs with 3.2 GPixelReadout time < 2 seconds, data rate 3.2 GBytes/s

Page 14: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

It’s even harder in Space (SNAP)

Custom chips for clocks, readout, biasMulti range, dual slope integratorCorrelated Double Sampling14 bit ADC

Radiation tolerant: 10 kRad ionization (well shielded)Low power: ≈ 200mJ/image/channel ≈ 10mW/channelSpace qualifiedCompact

Page 15: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Data Flow Considerations

Data VolumeThe instrument contains 36 visible CCDs, 36 NIR detectorsEach with 3.5k x 3.5k pixels, 16 bitsApprox. 1 GByte per exposure300 second exposure time, 30 second readout timeApprox 300 exposures or 300 GBytes per day

Uptime (for down link)About 1-2 hours contact out every 24Random disturbances (e.g. weather)

Compressed data are sent to groundCompression can reduce the data by a factor of 2

Down-link bandwidth ~300M bits/second

Let’s look at SNAP because space makes it different

Page 16: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Ka xmtPrimary

Ka xmtRedundant

InstrumentControl

IndependentElectronics(Slice)

PersistentStorage

Down Link

ICURedundant

ICUPrimary

Slice 1

Slice 2

Slice 3

Slice 80

SNAP Observatory

After H. Heetderks

Calibration

CD&H

ACS

S-bandTransponde

rPrimary

S-bandTransponde

rRedundant

NIR CCDShutter

Focus

Thermal

Power

distribution

1553 Bus

Spectrograph

Guide

Visible CCD

Guide CCD

Power

RedundancyAvoid single point of failureBackup units for critical systems

Uptime of data linkOnboard persistent storageData compressionError correction

Power, SizeRadiation Hardness

Page 17: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Flash radiation studiesRadiation studies (200 MeV p) suggest flash may be appropriateImplementation concept suggests requirements can be metFuture work includes finishing radiation analysis and work towards other aspects of space qualification (see A. Prosser’s talk this afternoon)

Two beam exposures to200 MeV protons atIndiana Univ cyclotron20-80 Krads explored

Quiescent current risesafter ~50Krads. Failuressignificant above that dose. SEUs observed ata low rate.

0

5

10

15

20

25

30

35

40

45

0 10 20 30 40 50 60 70 80

Radiation dose (Krad)

Fla

sh c

urr

ent

(uA

)

originalconcept

Page 18: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

LSST Dataflow system

To client nodes on

DAQ network

Services 9 CCDs281 MB/s

PGP (300 m fiber)1 lane @ 2.5 Gb/s PGP core &

interface

SDS Crate

sCIM

Configurable Cluster Module

(CCE)10 Gb 1Gb

Raft Readout System (1)

Configurable Cluster Module

(CCE)10 Gb 1Gb

Raft Readout System (25)

fCIM

Fast Cluster Interconnect

Module

From CCS network

Slow Cluster Interconnect

Module

In Cryostat

Courtesy of A. Perazzo

MFD

VIRTEX4

ATCAbackplane

Power

Memory Chips

MGT Lanes

Reset

Bootstrap Selection

Page 19: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Controls and Communications

OCS

Scheduler

TCS

Typical Architecture (LSST)

Page 20: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Expert Control: The Scheduler

Page 21: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Common Services

Software Infrastructure provides Common Services• Logging• Persistent Storage• Alarm and Error Handling• Messages, Commands, Events• Configuration, Connection

Messaging LayerComponent/Container Model (Wampler et al,

ATST)

Page 22: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Implementations

Network Transport Interface GUI

ALMA Ethernet CORBA IDL Java/Swing

Gemini

Ethernet Epics Epics Tcl/Tk

SOAR Ethernet Sockets SCLN Labview

DES Ethernet Sockets SML/SCLN Labview

LSST Ethernet DDS DDS/IDL Tbd

SNAP SPI like VxWorks n.a.

(adapted from S. Wampler)

Page 23: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Data Distribution Service

Search for technology to handle control requirements and telemetry requirements, in a distributed environment.Publish-Subscribe paradigm.Subscribe to a topic and publish or receive data.No need to make a special request for every piece of data.OMG DDS standard released. Implemented by RTI as NDDS.

Topic Topic Topic

Data Reader

Data Writer

Data Writer

Data Reader

Data Reader

Data Writer

Subscriber PublisherPublisher Subscriber

Data Domain

Domain Participant

Page 24: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

sub

scri

bers p

ub

lisher

sSummary of key DDS PS features

Efficient Publish/Subscribe interfaces

QoS suitable for real-time systemsdeadlines, levels of reliability, latency, resource usage, time-based filter

Listener & wait-based data access suits different application styles

Support for content-based subscriptions

Support for data-ownership

Support for history & persistence of data-modifications

DDS

Information consumer subscribe to information of interestInformation producer publish informationDDS matches & routes relevant info to interested subscribers

Courtesy of D. Schmidt

Page 25: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Comparing CORBA with DDS

Distributed object• Client/server• Remote method calls• Reliable transportBest for• Remote command processing• File transfer• Synchronous transactions

Distributed data• Publish/subscribe• Multicast data• Configurable QoSBest for• Quick dissemination to many nodes• Dynamic nets• Flexible delivery requirements

DDS & CORBA address different needs

Complex systems often need both…Courtesy of D. Schmidt

Page 26: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Data Management

Courtesy of T. Schalk

Long-Haul CommunicationsBase to Archive and Archive to Data Centers Networks are 10 gigabits/second protected clear channel fiber optics, with protocols optimized for bulk data transfer

Base Facility[In Chile] Nightly Data Pipelines and Products are hosted here on 25 teraflops class supercomputers to provide primary data reduction and transient alert generation in under 60 seconds.

Mountain Site[In Chile] Data acquisition from the Camera Subsystem and the Observatory Control System, with read-out 6 GB image in 2 seconds and data transfer to the Base at 10 gigabits/second.

Archive/Data Access Centers[In the United States] Nightly Data Pipelines and Data Products and the Science Data Archive are hosted here. Supercomputers capable of 60 teraflops provide analytical processing, re-processing, and community data access via Virtual Observatory interfaces to a 7 petabytes/year archive.

Page 27: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Data Management Challenges

Three tiersOn the mountainBase camp (tens of km away)Processing Center (thousands of km away)

At the telescope (on the summit)Acquire a 6 Gigabyte image in 2 seconds (DAQ)Format and buffer the images to disk (Image Builder)Transmit images to base camp 80 km away in less than 15 seconds

Page 28: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Base Camp Data Management

30 - 60 Teraflop system for image analysisDisk IO rates could exceed 50 Gbytes/secGenerates scientific alerts within 36 seconds of image acquisitionSoftware alert generation must be 99.99+% correct

Page 29: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Archive Center Data Management

Reprocess each nights’ images within 24 hours to produce best science results3x - 4x processing power of base camp systemAll non-time critical analysis done hereSupports all external user inquiriesUltimate repository of 10 years of images

Page 30: Realtime Computing and Dark Energy Experiments Klaus Honscheid The Ohio State University Real Time 07, Fermilab

Klaus Honscheid, Ohio State University, RT07, Fermilab

Summary and Conclusion

Dark Energy science requires large scale surveysLarge scale surveys require

Dedicated instruments (Giga-pixel CCD cameras)Large(r) collaborationsState of the art computing and software technologyGood people

Post Doc Positions AvailablePhD in physics or astronomy, interest in DAQ and RT software required.

Special thanks toA. ProsserG. SchumacherM. HufferG. HallerN. Kaiser