26
March 15-19, 2004, Virgo 1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications => Matt Evans Issues Summary H. Yamamoto (1 FTE) : Manager, Salesman, Science programmer M. Evans (1 FTE) : Lead Scientist for e2e application B. Bhawal (1 FTE), V. Sannibale (1/3 FTE) : Scientist B. Sears (1 FTE), M. Araya (1 FTE) : User Interface programmer Simulation group ased on talk on Nov.11,03

March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

  • View
    218

  • Download
    1

Embed Size (px)

Citation preview

Page 1: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 1

End to End Simulation of LIGOHiro Yamamoto LIGO Lab/CIT

Overview of End to End simulation framework Physics in e2e Applications => Matt Evans Issues Summary

H. Yamamoto (1 FTE) : Manager, Salesman, Science programmer M. Evans (1 FTE) : Lead Scientist for e2e application B. Bhawal (1 FTE), V. Sannibale (1/3 FTE) : Scientist B. Sears (1 FTE), M. Araya (1 FTE) : User Interface programmer

Simulation group

Based on talk on Nov.11,03

Page 2: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 2

LIGO End to End simulationwhat is it

Time domain simulation written in C++» simulating realistically with non linearity automatically included

Like MATLAB with Interferometer toolbox Major physics components and tools relevant for LIGO

» fields & optics, mechanics, digital and analog electronics, measured noise, STATE SPACE using ABCD, etc

Flexible to design wide varieties of systems» from simple pendulum to full LIGO I to adv.LIGO» from fast prototyping to full design

Easy development and maintenance» use of graphical front end written in JAVA for the system design» object orient design for easy addition of new physics

Page 3: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 3

LIGO End to End Simulation the motivation

Assist detector design, commissioning, and data analysis To understand a complex system

» back of the envelope is not large enough» complex hardware : pre-stabilized laser, input optics, core optics, seismic

isolation system on moving ground, suspension, sensors and actuators» feedback loops : length and alignment controls, feedback to laser» non-linearity : cavity dynamics to actuators» field : non-Gaussian field propagation through non perfect mirrors and

lenses» noise : mechanical, thermal, sensor, field-induced, laser, etc : amplitude

and frequency : creation, coupling and propagation» wide dynamic range : 10-6 ~ 10-20 m

As easy as back of the envelope

Page 4: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 4

End to End Simulation overview

End to End simulation environment» Simulation programs - program to run

– modeler : time series generator– modeler_freq : spectrum analyzer

» Description files defining what to simulate - input files– Simple pendulum ~ full LIGO

» Graphical Editor to create and edit description files - alfi - editor

LIGO I simulation packages» Han2k : used for the lock acquisition design ~ 500 parts

» SimLIGO : to assist LIGO I commissioning ~ 3000 parts

Page 5: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 5

End to End Simulation perspective

e2e development started after LIGO 1 design completed (1997 ~ ) LIGO 1 lock acquisition was redesigned successfully using e2e by

M.Evans (2000 ~ 2001) Major on going efforts (2001 ~ )

» Realistic noise of the locked state interferometer» Effect of the thermal lensing on the lock acquisition» Alignment control system in realistic condition» Effect of radiation pressure (for LIGO I and adv.LIGO)» e2e LIGO I simulation generates linear noise

Preparation for adv.LIGO» Dual recycling cavity code for fast simulation» State Space support» Better Modal Model class for simulating realistic optics» Better Matrix class with expression template for better coding

– Efref = t * Ebin + Mref * Efin

» more extensive thread support

Page 6: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 6

FUNC X primitive modulehow to add a new function in OO way

How to develop a new physics, like locking algorithm? Day 1

» use 100’s of built-in elements in a cumbersome way or write C++ code and recompile and test

Day 2» use expression parser module, a simplified c like environment. No

compilation needed, but limited (no print, no struct …) use and slow simulation.

Day 3» provide code, and automatically compiled and linked dynamically at run

time» like MATLAB mex-file, but automated. Or MATLAB m files are

automatically compiled and linked dynamically with matlab» Easy development and fast simulation

Page 7: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 7

e2e physicsTime domain simulation

Analog process is simulated by a discretized process with a very small time step (10-7~ 10-3 s)

» single time step in the entire system Linear system response is handled using digital filter and State Space

» e2e DF = internally the same as the one used at the LIGO site» Transfer function -> digital filter» Pendulum motion» Analog electronics

Easy to include non linear effect» Saturation, e.g.

A loop should have a delay» Strict chronological ordering» Need to put explicit delay when needed» Simulation time step << time constant of the system» Not practical to simulate Core Optics and Mode Cleaner together

x=1

s2 +γs+ω02

fm

+ω02xsus

⎛ ⎝

⎞ ⎠ xsus(t)f(t)x

+

G

Page 8: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 8

e2e physicsState Space model by ABCD matrix

Advanced LIGO Seismic Isolation and Suspension teams have developed their models, available by SS

More complex LIGO I model (violin, etc) by SS Runge-Kutta with adoptive time step to achieve given

accuracy Can use quad precision internally Input for SS module to simulate

x'' + 2a x' + w0^2 x = 0» a and w0 given as macro» | as row separator» A=2x2, B=2x1, C=1x2,

D=appropriate empty matrix

A = 0,1 | -omega0*omega0, -2*aB = 0omega0*omega0C = 1,0

accuracy = 1e-12

Page 9: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 9

e2e physics Fields and optics

Time domain modal model» field is expanded using Hermite-Gaussian eigen states» number of modes (n+m) <=4 for most of the study

Reflection matrix» tilt» vertical shift» curvature mismatch

Completely modular» Arbitrary planar optics configuration

can be constructed by combining mirrors and propagators

Photo diodes with arbitrary shapes can be attached anywhere Adiabatic calculation for short cavities for faster simulation

» Thread is used to calculate multiple sideband evolution at the same time

w0

z

(w0,z)

(w0,-z)waist position

w(z)

coating

coating

substrate(w0’,-z’)

(w0’,z’)

Page 10: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 10

e2e physics optics imperfection

ITM

Thermallensing

n > n’

Rcurv = R’ curv

ITM

Simple lens model» LIGO 1

– lock, mode mixing

Mode decomposition matrix - tbd» LIGO 1

– actual mirror phase map– more accurate

» Adv. LIGO

TEMmn

TEMm’n’

TEMm’n’

Tmn->m’n’

Rmn->m’n’

Page 11: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 11

Average number of photons

Actual integer number of photons

Simulation option

Sensing noiseShot noise for an arbitrary input

n0(t)=η ⋅P(t)⋅Δt

h⋅ν

n(t)=Poisson(n0(t))

Shot noise can be turned on or off for each photo diode separately.

Average number of photons by the input power of arbitrary time dependence

Actual number of photons which thedetector senses.

time

#pho

tons

Page 12: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 12

Radiation Pressure and noise

Radiation pressure and torque based on modal model Radiation linear force has noise based on the photon

counting» no noise on torque yet

Radiation pressure is applied to the mechanical calculation of the mass in the next time step

Ein

Eref

Rad Pressure Force(pos,Ein,Eref)

position

optical mass

mechanical mass

pos(RPF,…)

Page 13: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 13

e2e physicsMechanics simulation

(1) Seismic motion from measurement» correlations among stacks» fit and use psd or use time series

(2) Parameterized HYTEC stack

(3) Simple single suspended mirror» 4/5 sensors and actuators

» imbalance of sensors and actuator for the length and alignment coupling

» violin mode excitation?

1

2 3

4

Page 14: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 14

MSE :Mechanical Simulation Engine

C++ Library to simulate a fully three dimentional mechanical system, developed by G.Cella» modular environments» automatic search for working points» thermal noise and realistic damping simulation» system asymmetries properly propagated

Stand alone simulation package, with interface to e2e taken into account» frequency and time domain» build and debug a model and integrate to e2e by placing wrapper» integration with other mechanical simulation

– For adv. LIGO, there are several sub-system level modeling efforts are already doing on, and MSE can interface to those models.

Page 15: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 15

Mechanical noise of one mirrorseismic & thermal noises

seismic motion(power spectral density)

seis

mic

isol

atio

n sy

stem

(tra

nsfe

r fu

ncti

on)suspended mirror

(transfer function or 3d model)

xseismic+δxthermal(power spectral density)

Page 16: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 16

Is double precision enough?will be OK for LIGO I,

probably not OK for adv.LIGO

Comparision of suspension simulations using double and quad precision internally.

Page 17: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 17

e2e Graphical Editor - alfi

Laser

Photo diode

mirrormirror

propagatorPhoto diode

Page 18: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 18

e2e exampleFabry-Perot cavity dynamics

ETMz = -10-8 + 10-6 t

Resonant at

Power = 1 W, TITM=0.03, TETM=100ppm,Lcavity = 4000m

Reflected Power

Transmitted PowerX 100

1 / s

Page 19: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 19

Inputs and outputs

Description files - box files» what to simulate» use I/O primitives to read and write data

Macro definitions» all numerical values in box files can be written using

symbolic names » % LHO4k.mcr

% optical path lengthsLeng_RM2BS = 4.397 [m] "RM-HR to BS-HRLeng_BS2ITMx = 4.965 [m]"BS-HR to ITMx-HRLeng_BS2ITMy = 4.609 [m]"BS-HR to ITMy-HRLeng_ArmX = 3995.055 [m]"ITMx-HR to ETMx-HRLeng_ArmY = 3995.055 [m]"ITMy-HR to ETMy-HRLeng_PRC = Leng_RM2BS + (Leng_BS2ITMx + Leng_BS2ITMy) / 2SnpAsy = Leng_BS2ITMx - Leng_BS2ITMy

Outputs» no built in analysis tools» time series» psd» spectrum analyzer

Page 20: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 20

LIGO simulationwithout programming

Package distributed» SimLIGO box files» auxiliary files

– macro files, run instructions, support apps

» matlab files for easy analysis of e2e outputs» modeler < run.in to generate time series and psds» 5 lines in unix terminal to generate the sensitivity curve

Macro files - text file» lengths and mirror quantities» noise : on-off » control : on-off» shaking mirrors : length and angle - linear, periodic, random» configurations : FP, PRM, full LIGO

Page 21: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 21

Main box of SimLIGOtwo views of alfi and ptimitive menu

Page 22: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 22

COC boxsuspension, core optics and analog stuff

Page 23: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 23

OpticsPRM, arm, radiation pressure, telescope, f-l hack, etc

Page 24: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 24

COCwhen you want to know what is MMTref, just…

Page 25: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 25

Profile of SimLIGOcpu usage point of view

Profiler of 3352 action calls per time step << built-in functions++++++++++++++++++++++++++++++++++++++++++++++++++++++Profile of 41 module usage sorted by total times index : frac : total :time/tick :#module : name : (%) : (sec) :(microsec): :---------------------------------------------------------- 0 : 45.24 : 16.99 : 2179 : 1 : rec_sum << m+n<=2, 1 thread 1 : 10.6 : 3.981 : 510.4 : 278 : FUNC_2x2 2 : 7.929 : 2.979 : 381.9 : 119 : FUNC_16x16 3 : 7.679 : 2.885 : 369.8 : 210 : FUNC_1x1 4 : 4.922 : 1.849 : 237 : 29 : pd_demod 5 : 4.615 : 1.733 : 222.2 : 122 : FUNC_4x4 6 : 4.075 : 1.531 : 196.2 : 12 : mirror2 Profile of 583 box usage sorted by total times << use-defined functions index : frac : total :time/tick :#module : name : (%) : (sec) :(microsec): :---------------------------------------------------------- 0 : 100 : 37.57 : 4816 : 1 : Detector 1 : 94.34 : 35.44 : 4543 : 1 : Detector.COC 2 : 54.08 : 20.31 : 2604 : 1 : Detector.COC.CoreOptics 3 : 24.56 : 9.224 : 1183 : 1 : Detector.COC.Suspensions 4 : 16.54 : 6.215 : 796.8 : 6 : Controller 5 : 7.916 : 2.974 : 381.2 : 6 : Mech

Page 26: March 15-19, 2004, Virgo1 End to End Simulation of LIGO Hiro Yamamoto LIGO Lab/CIT Overview of End to End simulation framework Physics in e2e Applications

March 15-19, 2004, Virgo 26

Summary Simulation engine and interface are ready LIGO I simulation is ready

» Good playground for length and alignment control design» Sensitivity curve properly simulated - ready to go beyond

LIGO I simulation needs improvements» Michelson cavity is degenerate and badly mode mismatched (better now

by thermal compensation)» Better frequency response of cavities» Lock loss study demands more reality» more noise, more reality

– scattering noise, acoustic coupling, beam clipping

adv.LIGO simulation demands more» physics (dual recycling cavity)» speed» accuracy, …