palm-3000 palm-3000 software requirements review thang trinh palm-3000 requirements review, caltech...

14
PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

Post on 21-Dec-2015

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000

PALM-3000Software Requirements Review

Thang Trinh

PALM-3000 Requirements Review, Caltech Campus

November 12, 2007

Page 2: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000

2

Software Requirements Status

• Completed first draft of the Software Requirements Document (SwRD)

• Phase-2 software requirements not complete

• Plan Version 1.0 release by mid-December 2007

• SwRD will serve as basis for the software architecture and implementation

• Contributions from A. Bouchez, J. Roberts, and software team members (J. Angione, S. Guiwits, T. Trinh, T. Truong)

Page 3: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000Software Context Diagram

P3KAOTCS

ScienceInstruments

LGS

BTO

Control

Data

AO Operator

Page 4: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000Software Functional

Decomposition

High-OrderWavefrontProcessor

Low-OrderWavefrontProcessor

AOSupervisory

Control

AO Operations&

User Interface

TelemetrySubsystem

AO Operator

Page 5: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000Data Flow Diagram

LOWFSCamera

AO TlmServer

ScienceInstrument

LGS

UTT

DM

HOWFP

HOWFSCamera

TTM LOWFP

AOSuperv.Control

AOOperation

s & UI

TCS

BTO

DM

Pixel Data

Pixel Data

Tlm Data

TCS CmdsTCS Status

TTM Cmds

UTT Cmds

DM Cmds Config Tables

Config Tables

Tlm DataTlm Data

Req

Tlm Data

LGS Status

AO cmds

AO Cmds

BTO Status

AO StatusCmd Resp

WFS Cmds

WFS Cmds

AO StatusSci. Cmds

BTO Cmds

Page 6: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000

High-Order Wavefront Processor(HWFP)

• Receive pixel data from the HOWFS camera.• Compute X and Y centroid values for each subaperture using

background subtracted, flat fielded pixel values.• Subtract a reference value from each centroid.• Compute residual wavefront error from the centroid values.• Compute new positions of woofer mirror (DM349), tweeter mirror

(DM3326), TTM, and UTT using a PI servo control loop.• Compute offloading from tweeter mirror to woofer mirror.• HOWFS frame rates, all servo loop parameters, reconstructors, and

all HWFP configuration tables will be user selectable.• Capable of independently turning on/off the TTM, woofer DM,

tweeter DM, and UTT servo loops.• Provide HWFP telemetry data to be recorded by the Telemetry

Subsystem at the recording rate specified by the user.

Page 7: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000

Low-Order Wavefront Processor(LWFP)

• Receive pixel data from the LOWFS camera.• Compute X and Y centroid values for each subaperture using

background subtracted, flat fielded pixel values.• Subtract a reference value from each centroid.• Compute residual wavefront error from the centroid values.• Compute new positions of TTM using a PI servo control loop in LGS

(and dual NGS) mode.• LOWFS frame rates, servo loop parameters, reconstructors, and all

LWFP configuration tables will be user selectable.• Capable of turning on/off the TTM servo loop.• Provide LWFP telemetry data to be recorded by the Telemetry

Subsystem at the recording rate specified by the user.

Page 8: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000AO Supervisory Control

• Command Processor– Provide AO command interface to the operator (via the User Interface

Subsystem).

– Validate and manage the execution of commands sent to the AO system.

• Motor Control– Provide ability to move individual motors (to relative/absolute positions)

– Provide ability to query motor positions or status.

– Provide ability to save/restore current motor positions.

• Video Control– Provide ability to set the integration time on the acquisition camera.

– Record images from the acquisition camera

– Send acquisition camera images to be displayed by the User Interface.

Page 9: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000AO Supervisory Control

• High-Order Wavefront Sensor Control– Provide ability to turn on/off the woofer DM, tweeter DM, TTM (NGS

mode only), and UTT (LGS mode only) servo loops.

– Provide ability to change all servo loop parameters in the HWFP.

– Provide ability to select frame rate, CCD gain, and CCD bias for the HOWFS.

– Provide ability to load reconstructors and HWFP configuration tables.

– Provide ability to select the HWFP telemetry data to be recorded and the recording rate.

• Low-Order Wavefront Sensor Control– Provide ability to turn on/off the TTM servo loop in LGS (and dual NGS)

mode.

– Provide ability to change the TTM servo loop parameters in the LWFP.

– Provide ability to select frame rate, CCD gain, and CCD bias for the LOWFS.

Page 10: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000AO Supervisory Control

• Low-Order Wavefront Sensor Control (Cont’)– Provide ability to load reconstructors and LWFP configuration tables.

– Provide ability to select the LWFP telemetry data to be recorded and the recording rate.

• Configuration and Status Monitoring– Send current AO configuration and system status to the Telemetry

Subsystem, once per second, to be recorded.

– Send current AO configuration and system status to the User Interface Subsystem, upon start-up and on change, to be displayed.

– Provide “heartbeat” signal once per second to the User Interface.

Page 11: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000Telemetry Subsystem

• Record specified telemetry data received from the HWFP/LWFP

• Record AO configuration and system status data

• Record external interface status and data (TCS, BTO, LGS, etc.)

• Provide ability to retrieve any recorded data based on time intervals

• Provide ability to retrieve any recorded data based on user name tags

• Provide ability to retrieve any data recorded in the last 120 seconds within 1 sec of a user’s request

Page 12: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000

AO Operations & User Interface Subsystem

• AO Control– Provide ability to observe in the following modes of operation: NGS,

DNGS, LGS, and LGS-VisTT (Phase 2)

– Provide ability to select frame rate, CCD gain, and CCD bias for the HOWFS; and laser pulse synch (LGS mode only)

– Provide ability to select frame rate, CCD gain, and CCD bias for the LOWFS

– Provide ability to select frame rate, CCD gain, and CCD bias for the TWFS (LGS mode only) (Phase 2)

– Provide ability to open/close the TTM, woofer DM, tweeter DM, and UTT (LGS mode only) servo loops.

– Provide ability to open/close the tweeter DM to woofer DM offload loop

– Provide ability to open/close the LGS focus loop

– Provide ability to set all servo loop parameters

– Provide ability to load reconstructors and all HWFP/LWFP configuration tables; similarly for the TWFP (LGS only) (Phase 2)

Page 13: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000

AO Operations & User Interface Subsystem

• AO Control (Cont’)– Provide ability to set the HOWFS acquisition camera integration time

• AO Monitor– Provide display of current AO configuration, mode, and status

– Provide display of all servo loop parameters

– Provide display of BTO status, laser shutter status, and laser power

– Provide display of raw pixel values of the HOWFS/LOWFS/TWFS as an image

– Provide display of average DM positions (residuals) for the last 5 seconds as an image

– Provide display of TTM positions (residuals) as a function of time, updated every second

– Provide display of UTT positions (residuals) as a function of time, updated every second

– Provide display of laser power as a function of time, updated every sec

Page 14: PALM-3000 PALM-3000 Software Requirements Review Thang Trinh PALM-3000 Requirements Review, Caltech Campus November 12, 2007

PALM-3000

AO Operations & User Interface Subsystem

• AO Automation– All system-provided AO automation (scripting) shall be externally

accessible (e.g., from IDL scripts)

– Acquisition automation

– Wavefront sensor backgrounds for the HOWFS/LOWFS/TWFS

– HOWFS lenslets to DM registration

– Telescope offloads• Provide ability to offload the average DM focus to the telescope secondary

every 60 seconds or upon user request• Provide ability to offload the average tip/tilt residual to the telescope tracking

every 60 seconds or upon user request

– LGS slow focus loop

– Open-loop dithers