Displaying report 1-1 of 1.
Reports until 16:15, Friday 03 April 2026
H1 SPI (CDS)
jeffrey.kissel@LIGO.ORG - posted 16:15, Friday 03 April 2026 (89777)
h1spih23 SPI Pathfinder's Front-end Software Model Prep and Installation
J. Kissel, D. Barker
WP 13140

Executive Summary: Dave and I created, compiled, installed, and started running the SPI pathfinder's front-end software model -- h1spih23.mdl -- on the h1seih23 front-end computer.
ALL DAC OUTPUTS are 0.0, and saved in the SDF system as such.

Details:

With all the work done ahead of time in 2024 G2402138, subsequent work on the LHO test stand in 2025, and now armed with the real, final ADC/DAC channel usage (LHO:89775), I've *easily* 
    (1) copied over ${userapps}/spi/x1/models/x1spih23.mdl to a new ${userapps}/spi/h1/models/h1spih23.mdl
    (2) made sure Matlab had access to the library part directory under ${userapps}/spi/common/models/
    (3) updated the ADC inputs and DAC outputs to match the production channels / analog electronics,
    (4) commited to svn, making sure to turn on the 'Id' and 'HeadURL' properties, and
    (5) successfull compiled the top level model

The model rate is "32k" (2^15 = 32768 [Hz]), in  order to comfortably support modulation / demodulation at 4096 [Hz].
We're storing most of data processed from the ADC to frames at 2048 [Hz], tho. 
Only 8x channels at the full 32768 [Hz] rate -- 60x 2k channels in total.
    - 4x related to the DAC output, so we can keep track of the digitally requested 4096 [Hz] LO signal (original digital clock, the phase shifted COS and SIN and clock to be sent to the DAC), and
    - 4x related to the raw demodulated output of the IFO PDs.

Dave assigned me DCUID = 187

The model has 5x shared memory (SHMEM) IPC senders:
    - H1:SPI-H23_DIFF_L :: differential length change between ISIH2 to ISIH3 in IFO X coordinates (in the XY plane, at ISI's Z = 0 coordinates).
    - H1:SPI-H23_TO_ISIH2_RY :: The rotation of ISIH2 in pitch (+RY follows the right-hand rule; positive RY rotation in the direction of one's fingers with one's right thumb pointed in +Y; the +X side of ISIH2 goes more -Z and the -X side goes more +X)
    - H1:SPI-H23_TO_ISIH2_RZ :: The rotation of ISIH2 in yaw (+RZ follows the right-hand rule; positive RZ rotation in the direction of one's fingers with one's thumb pointed in +Z; CCW if looking down on the chamber from above.) 
    - H1:SPI-H23_TO_ISIH3_RY :: The rotation of ISIH3 in pitch
    - H1:SPI-H23_TO_ISIH3_RZ :: The rotation of ISIH3 in yaw

Libary parts (and revs)
    - spi/common/models/SPI_LIBRARY.mdl  rev 29747
    - isc/common/models/QPD.mdl rev 18653
    - cds/common/models/rtdemod.mdl rev 31460
    - cal/common/models/CAL_LINE_MONITOR_MASTER.mdl rev 28567

Once Dave installed and turned on the model, I made SDF files for the model softlinks the userapps repo:
    /opt/rtcds/lho/h1/target/h1spih23/h1spih23epics/burt$ ls -l
    lrwxrwxrwx 1 controls   controls      66 Apr  3 16:08 OBSERVE.snap -> /opt/rtcds/userapps/release/spi/h1/burtfiles/h1spih23_OBSERVE.snap (rev 34930)
    lrwxrwxrwx 1 controls   controls      63 Apr  3 16:08 safe.snap -> /opt/rtcds/userapps/release/spi/h1/burtfiles/h1spih23_safe.snap (rev 34929)
and did the same for the filter file:
    /opt/rtcds/lho/h1/chans$ ls -l H1SPIH23.txt 
    lrwxrwxrwx 1 controls controls 59 Apr  3 16:12 H1SPIH23.txt -> /opt/rtcds/userapps/release/spi/h1/filterfiles/H1SPIH23.txt (rev 34931)

Next up MEDM screens!
Images attached to this report
Displaying report 1-1 of 1.