40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
 40m Log, Page 324 of 330 Not logged in
ID Date Author Type Category Subject
16124   Thu May 6 16:13:24 2021 Ian MacMillanUpdateCDSSUS simPlant model

When using mdl2adl I was getting the error:

$cd /home/controls/mdl2adl$  ./mdl2adl x1sup.mdl error: set $site and$ifo environment variables

to set these in the terminal use the following commands:

$export site=tst$  export ifo=x1

On most of the systems, there is a script that automatically runs when a terminal is opened that sets these but that hasn't been added here so you must run these commands every time you open the terminal when you are using mdl2adl.

16126   Fri May 7 11:19:29 2021 Ian MacMillanUpdateCDSSUS simPlant model

I copied c1scx.mdl to the docker to attach to the plant using the commands:

$medm -x /opt/rtcds/tst/x1/medm/x1sup_isolated/X1SUP_ISOLATED_GDS_TP.adl To see a list of all medm screens use: $  cd docker-cymac $./login_cymac # cd /opt/rtcds/tst/x1/medm/x1sup_isolated # ls Some of the other useful ones are:  adl screen Description X1SUP_ISOLATED_Control_Module.adl This is the control filter module shown in attachment 2 at the top in the center. This module will represent the control system. X1SUP_ISOLATED_C1_SUS_SINGLE_PLANT_Plant_POS_Mod.adl See attachment 4. This screen shows the POS plant filter module that will be filled by the filter representing the transfer function of a damped harmonic oscillator: $\frac{x}{F}=\frac{\omega_0^2}{\omega_0^2+i\frac{\omega_0 \omega}{Q}-\omega^2}$ THIS TF HAS BEEN UPDATED SEE NEXT POST The first one of these screens that are of interest to us (shown in attachment 3) is the X1SUP_ISOLATED_GDS_TP.adl screen, which is the CDS runtime diagnostics screen. This screen tells us "the success/fail state of the model and all its dependencies." I am still figuring out these screens and the best guide is T1100625. The next step is taking some data and seeing if I can see the position damp over time. To do this I need to: 1. Edit the plant filter for the model and add the correct filter. 2. Figure out a filter for the control system and add it to that. (I can leave it as is to see what the plant is doing) 3. Take some position data to show that the plant is a harmonic oscillator and is damping away. Attachment 1: SimplePlant_SingleContr.pdf Attachment 2: x1sup_isolated.pdf Attachment 3: X1SUP_ISOLATED_GDS_TP.png Attachment 4: X1SUP_ISOLATED_C1_SUS_SINGLE_PLANT_Plant_POS_Mod.png 16135 Wed May 12 14:23:20 2021 JordanUpdateSUSMass Properties of SOS Assembly with 3"->2" Optic sleeve, in SI units Attachment 1: Moments_of_Inertia_SI.PNG 16136 Wed May 12 16:53:59 2021 KojiUpdateSUSMass Properties of SOS Assembly with 3"->2" Optic sleeve, in SI units No, this is the property of the suspension assembly. The mass says 10kg Could you do the same for the testmass assembly (only the suspended part)? The units are good, but I expect that the values will be small. I want to keep at least three significant digits. 16137 Wed May 12 17:06:52 2021 JordanUpdateSUSMass Properties of SOS Assembly with 3"->2" Optic sleeve, in SI units Here are the mass properties for the only the test mass assembly (optic, 3" ring, and wire block). (Updated with g*mm^2)  Quote: No, this is the property of the suspension assembly. The mass says 10kg Could you do the same for the testmass assembly (only the suspended part)? The units are good, but I expect that the values will be small. I want to keep at least three significant digits. Attachment 1: Moments_of_Inertia_SI.PNG 16138 Thu May 13 11:55:04 2021 Anchal, PacoUpdateSUSMC1 suspension misbehaving We came in the morning with the following scene on the zita monitor: The MC1 watchdog was tripped and seemed like IMC struggled all night with misconfigured WFS offsets. After restoring the MC1 WD, clearing the WFS offsets, and seeing the suspension damp, the MC caught lock. It wasn't long before the MC unlocked, and the MC1 WD tripped again. We tried few things, not sure what order we tried them in: • Letting suspension loops damp without the WFS switched on. • Letting suspension loops damp with PSL shutter closed. • Restoring old settings of MC suspension. • Doing burt restore with command: burtwb -f /opt/rtcds/caltech/c1/burt/autoburt/snapshots/2021/May/12/08:19/c1mcsepics.snap -l /tmp/controls_1210513_083437_0.write.log -o /tmp/controls_1210513_083437_0.nowrite.snap -v < Nothing worked. We kept seeing that ULPD var on MC1 keeps showing kicks every few minutes which jolts the suspension loops. So we decided to record some data with PSL shutter closed and just suspension loops on. Then we switched off the loops and recorded some data with freely swinging optic. Even when optic was freely swinging, we could see impulses in the MC1 OSEM UL PD var which were completely uncorrelated with any seismic activity. Infact, last night was one fo teh calmer nights seismically speaking. See attachment 2 for the time series of OSEM PD variance. Red region is when the coil outputs were disabled. ### Inference: • We think something is wrong with the UL OSEM of MC1. • It seems to show false spikes of motion when there is no such spike present in any other OSEM PD or the seismic data itself. • Currently, this is still the case. We sometimes get 10-20 min of "Good behavior" when everything works. • But then the impulses start occuring again and overwhelmes the suspension loops and WFS loops. • Note, that other optic in IMC behaved perfectly normally throughout this time. • In the past, it seems like satellite box has been the culprit for such glitches. • We should look into debugging this as ifo is at standstill because of this issue. • Earlier, Gautum would post Vmon signals of coil outputs only to show the glitches. We wanted to see if switching off the loops help, so we recorded OSEM PD this time. • In hindsight, we should probably look at the OSEM sensor outputs directly too rather than looking at the variance data only. I can do this if people are interested in looking at that too. • We've disabled the coil ouputs in MC1 and PSL shutter is off. Edit Thu May 13 14:47:25 2021 : Added OSEM Sensor timeseries data on the plots as well. The UL OSEM sensor data is the only channel which is jumping hapazardly (even during free swinging time) and varying by +/- 30. Other sensors only show some noise around a stable position as should be the case for a freely suspended optic. Attachment 2: MC1_Glitches_Invest2.pdf 16139 Thu May 13 19:38:54 2021 AnchalUpdateSUSMC1 Satellite Amplifier Debugged [Anchal Koji] Koji and I did a few tests with an OSEM emulator on the satellite amplifier box used for MC1 which is housed on 1X4. This sat box unit is S2100029 D1002812 that was recently characterized by me 15803. We found that the differential output driver chip AD8672ARZ U2A section for the UL PD was not working properly and had a fluctuating offset at no input current from the PD. This was the cause of the ordeal of the morning. The chip was replaced with a new one from our stock. The preliminary test with the OSEM emulator showed that the channel has the correct DC value. In further testing of the board, we found that the channel 8 LED driver was not working properly. Although this channel is never used in our current cable convention, it might be used later in the future. In the quest of debugging the issue there, we replaced AD8672ARZ at U1 on channel 8. This did not solve the issue. So we opened the front panel and as we flipped the board, we found that the solder blob shorted the legs of the transistor Q1 2N3904. This was replaced and the test with the LED out and GND shorted indicated that the channel is now properly providing a constant current of 35mA (5V at the monitor out). After the debugging, the UL channel became the least noisy among the OSEM channels! Mode cleaner was able to lock and maintain it. We should redo the MC1 input matrix optimization and the coil balancing afterward as we did everything based on the noisy UL OSEM values. Attachment 1: MC1_UL_Channel_Fixed.png 16140 Fri May 14 03:29:50 2021 KojiUpdateElectronicsHV Driver noise test with the new HV power supply from Matsusada I believe I did the identical test with the one in [40m ELOG 15786]. The + input of PA95 was shorted to the ground to exclude the noise from the bias input. The voltage noise at TP6 was measured with +/-300V supply by two HP6209 and two Matsusada R4G360. With R4G360, the floor level was identical and 60Hz line peaks were less. It looks like R4G360 is cheap, easier and precise to handle, and sufficiently low noise. Attachment 1: HV_Driver_PSD.pdf 16141 Fri May 14 17:45:05 2021 ranaUpdatePSLHEPA speed raised The PSL was too hot, so I turned on the south HEPA on the PSL. The north one was on and the south one was off (or so slow as to be inaudible and no vibration, unlike the north one). Lets watch the trend over the weekend and see if the temperature comes down and if the PMC / WFS variations get less. Fri May 14 17:46:26 2021 16142 Sat May 15 12:39:54 2021 gautamUpdatePSLNPRO tripped/switched off The NPRO has been off since ~1AM this morning it looks like. Is this intentional? Can I turn it back on (or at least try to)? The interlock signal we are recording doesn't report getting tripped but I think this has been the case in the past too. After getting the go ahead from Koji, I turned the NPRO back on, following the usual procedure of diode current ramping. PMC and IMC locked. Let's see if this was a one-off or something chronic. Attachment 1: NPRO.png 16143 Sat May 15 14:54:24 2021 gautamUpdateSUSIMC settings reverted I want to work on the IFO this weekend, so I reverted the IMC suspension settings just now to what I know work (until the new settings are shown quantitatively to be superior). There isn't any instruction here on how to upload the new settings, so after my work, I will just restore from a burt-snapshot from before I changed settings. In the process, I found something odd in the MC2 coil output filter banks. Attachment #1 shows what it it is today. This weird undetermined state of FM9 isn't great - I guess this flew under the radar because there isn't really any POS actuation on MC2. Where did the gain1 filter I installed go? Some foton filter file corruption? Eventually, we should migrate FM7,FM8-->FM9,FM10 but this isn't on my scope of things to do for today so I am just putting the gain1 filter back so as to have a clean FM9 switched on.  Quote: The old setting can be restored by running python3 /users/anchal/20210505_IMC_Tuned_SUS_with_Gains/restoreOldConfigIMC.py from allegra or donatella. I wrote the values from the c1mcs burt snapshot from ~1400 Saturday May 15, at ~1600 Sunday May 16. I believe this undoes all my changes to the IMC suspension settings. Attachment 1: MC2coilOut.png 16144 Tue May 18 00:52:38 2021 ranaUpdatePSLHEPA speed raised Looks like the fan lowered the temperature as expected. Need to get a few more days of data to see if its stabilized, or if that's just a fluke. The vertical line at 00:00 UTC May 18 is about when I turned the fans up/on. Attachment 1: Untitled.png 16145 Tue May 18 20:26:11 2021 ranaUpdatePSLHEPA speed raised Fluke. Temp fluctuations are as usual, but the overall temperature is still lower. We ought to put some temperature sensors at the X & Y ends to see what's happening there too. 16146 Wed May 19 18:29:41 2021 KojiUpdateSUSMass Properties of SOS Assembly with 3"->2" Optic sleeve, in SI units Calculation for the SOS POS/PIT/YAW resonant frequencies - Nominal height gap between the CoM and the wire clamping point is 0.9mm (cf T970135) - To have the similar res freq for the optic with the 3" metal sleeve is 1.0~1.1mm. As the previous elog does not specify this number for the current configuration, we need to asses this value and the make the adjustment of the CoM height. Attachment 1: SOS_resonant_freq.pdf Attachment 2: SOS_resonant_freq.nb.zip 16147 Thu May 20 10:35:57 2021 AnchalUpdateSUSIMC settings reverted For future reference, the new settings can be upoaded from a script in the same directory. Run python /users/anchal/20210505_IMC_Tuned_SUS_with_Gains/uploadNewConfigIMC.py from allegra.  Quote: There isn't any instruction here on how to upload the new settings 16148 Thu May 20 16:56:21 2021 KojiUpdateElectronicsProduction version of the HV coil driver tested with KEPCO HV supplies HP HV power supply ( HP6209 ) were returned to Downs Attachment 1: P_20210520_154523_copy.jpg 16149 Fri May 21 00:05:45 2021 KojiUpdateSUSNew electronics: Sat Amp / Coil Drivers 11 new Satellite Amps were picked up from Downs. 7 more are coming from there. I have one spare unit I made. 1 sat amp has already been used at MC1. We had 8 HAM-A coil drivers delivered from the assembling company. We also have two coil drivers delivered from Downs (Anchal tested) Attachment 1: F3CDEF8D-4B1E-42CF-8EFC-EA1278C128EB_1_105_c.jpeg 16150 Fri May 21 00:15:33 2021 KojiUpdateElectronicsDC Power Strip delivered / stored DC Power Strip Assemblies delivered and stored behind the Y arm tube (Attachment 1) • 7x 18V Power Strip (Attachment 2) • 7x 24V Power Strip (Attachment 2) • 7x 18V/24V Sequencer / 14x Mounting Panel (Attachment 3) • DC Power Cables 3ft, 6ft, 10ft (Attachments 4/5) • DC Power Cables AWG12 Orange / Yellow (Attachments 6/7) I also moved the spare 1U Chassis to the same place. • 5+7+9 = 21x 1U Chassis (Attachments 8/9) Attachment 1: P_20210520_233112.jpeg Attachment 2: P_20210520_233123.jpg Attachment 3: P_20210520_233207.jpg Attachment 4: P_20210520_231542.jpg Attachment 5: P_20210520_231815.jpg Attachment 6: P_20210520_195318.jpg Attachment 7: P_20210520_231644.jpg Attachment 8: P_20210520_233203.jpg Attachment 9: P_20210520_195204.jpg 16151 Fri May 21 09:44:52 2021 Ian MacMillanUpdateCDSSUS simPlant model The transfer function given in the previous post was slightly incorrect the units did not make sense the new function is: $\frac{x}{F}=\frac{1}{m\omega_0^2-m\omega^2+im\frac{\omega_0 \omega }{Q}}$ I have attached a quick derivation below in attachment 1 Attachment 1: Transfer_Function_of_Damped_Harmonic_Oscillator.pdf 16152 Fri May 21 12:12:11 2021 PacoUpdateNoiseBudgetAUX PDH loop identification [Anchal, Paco] We went into 40m to identify where XARM PDH loop control elements are. We didn't touch anything, but this is to note we went in there twice at 10 AM and 11:10 AM. 16153 Fri May 21 14:36:20 2021 Ian MacMillanUpdateCDSSUS simPlant model The plant transfer function of the pendulum in the s domain is: $H(s)=\frac{x(s)}{F(s)}=\frac{1}{ms^2+m\frac{\omega_0}{Q}s+m\omega_0^2}$ Using Foton to make a plot of the TF needed and using m=40kg, w0=3Hz, and Q=50 (See attachment 1). It is easiest to enter the above filter using RPoly and saved it as Plant_V1 Attachment 1: Plant_Mod_TF.pdf 16154 Sun May 23 18:28:54 2021 JonUpdateCDSOpto-isolator for c1auxey The new HAM-A coil drivers have a single DB9 connector for all the binary inputs. This requires that the dewhitening switching signals from the fast system be spliced with the coil enable signals from c1auxey. There is a common return for all the binary inputs. To avoid directly connecting the grounds of the two systems, I have looked for a suitable opto-isolator for the c1auxey signals. I best option I found is the Ocean Controls KTD-258, a 4-channel, DIN-rail-mounted opto-isolator supporting input/output voltages of up to 30 V DC. It is an active device and can be powered using the same 15 V supply as is currently powering both the Acromags and excitation. I ordered one unit to be trialed in c1auxey. If this is found to be good solution, we will order more for the upgrades of c1auxex and c1susaux, as required for compatibility with the new suspension electronics. 16155 Mon May 24 08:38:26 2021 ChubUpdateElectronics18-bit AI, 16-bit AI and 16-bit AA - High priority units: 2x 18AI / 1x 16AI / 3x 16AA All six are reworked and on the electronics workbench. The rest should be ready by the end of the week. Chub 16156 Mon May 24 10:19:54 2021 PacoUpdateGeneralZita IOO strip Updated IOO.strip on Zita to show WFS2 pitch and yaw trends (C1:IOO-WFS2_PIY_OUT16 and C1:IOO-WFS2_YAW_OUT16) and changed the colors slightly to have all pitch trends in the yellow/brown band and all yaw trends in the pink/purple band. No one says, "Here I am attaching a cool screenshot, becuz else where's the proof? Am I right or am I right?" Mon May 24 18:10:07 2021 [Update] After waiting for some traces to fill the screen, here is a cool screenshot (Attachment 1). At around 2:30 PM the MC unlocked, and the BS_Z (vertical) seismometer readout jumped. It has stayed like this for the whole afternoon... The MC eventually caught its lock and we even locked XARM without any issue, but something happened in the 10-30 Hz band. We will keep an eye on it during the evening... Tue May 25 08:45:33 2021 [Update] At approximately 02:30 UTC (so 07:30 PM yesterday) the 10-30 Hz seismic step dropped back... It lasted 5 hours, mostly causing BS motion along Z (vertical) as seen by the minute trend data in Attachment 2. Could the MM library have been shaking? Was the IFO snoring during its afternoon nap? Attachment 1: Screenshot_from_2021-05-24_18-09-37.png Attachment 2: 24and25_05_2021_PEM_BS_10_30.png 16160 Tue May 25 17:08:17 2021 ChubUpdateElectronicschassis rework complete! All remaining chasses have been reworked and placed on the floor along the west wall in Room 104. Attachment 1: 40M_chassis_reworked_5-25-21.jpg 16162 Wed May 26 02:00:44 2021 gautamUpdateElectronicsCoil driver noise I was preparing a short write-up / test procedure for the custom HV coil driver, when I thought of something I can't resolve. I'm probably missing some really basic physics here - but why do we not account for the shot noise from DC current flowing through the series resistor? For a 4kohm resistor, the Johnson current noise is ~2pA/rtHz. This is the target we were trying to beat with our custom designed HV bias circuit. But if there is a 1 mA DC current flowing through this resistor, the shot noise of this current is $\sqrt{2eI_{\mathrm{DC}}} \approx$18pA/rtHz, which is ~9 times larger than the Johnson noise of the same resistor. One could question the applicability of this formula to calculate the shot noise of a DC current through a wire-wound resistor - e.g. maybe the electron transport is not really "ballistic", and so the assumption that the electrons transported through it are independent and non-interacting isn't valid. There are some modified formulae for the shot noise through a metal resistor, which evaluates to $\sqrt{2eI_{\mathrm{DC}}/3} \approx$10pA/rtHz for the same 4kohm resistor, which is still ~5x the Johnson noise. In the case of the HV coil driver circuit, the passive filtering stage I added at the output to filter out the excess PA95 noise unwittingly helps us - the pole at ~0.7 Hz filters the shot noise (but not the Johnson noise) such that at ~10 Hz, the Johnson noise does indeed dominate the total contribution. So, for this circuit, I think we don't have to worry about some un-budgeted noise. However, I am concerned about the fast actuation path - we were all along assuming that this path would be dominated by the Johnson noise of the 4kohm series resistor. But if we need even 1mA of current to null some DC DARM drift, then we'd have the shot noise contribution become comparable, or even dominant? I looked through the iLIGO literature, where single-stage suspensions were being used, e.g. Rana's manifesto, but I cannot find any mention of shot noise due to DC current, so probably there is a simple explanation why - but it eludes me, at least for the moment. The iLIGO coil drivers did not have a passive filter at the output of the coil driver circuit (at least, not till this work), and there isn't any feedback gain for the DARM loop at >100 Hz (where we hope to measure squeezing) to significantly squash this noise. Attachment #1 shows schematic topologies of the iLIGO and proposed 40m configs. It may be that I have completely misunderstood the iLIGO config and what I've drawn there is wrong. Since we are mainly interested in the noise from the resistor, I've assumed everything upstream of the final op-amp is noiseless (equivalently, we assume we can sufficiently pre-filter these noises). Attachment #2 shows the relative magnitudes of shot noise due to a DC current, and thermal noise of the series resistor, as a function of frequency, for a few representative currents, for the slow bias path assuming a 0.7Hz corner from the 4kohm/3uF RC filter at the output of the PA95. Some lit review suggests that it's actually pretty hard to measure shot noise in a resistor - so I'm guessing that's what it is, the mean free path of electrons is short compared to the length of the resistor such that the assumption that electrons arrive independently and randomly isn't valid. So Ohm's law dictates $I=V/R$ and that's what sets the current noise. See, for example, pg 432 of Horowitz and Hill. Attachment 1: coilDriverTopologies.pdf Attachment 2: shotVthermal.pdf 16165 Thu May 27 14:11:15 2021 JordanUpdateSUSCoM to Clamping Point Measurement for 3" Adapter Ring The current vertical distance between the CoM and the wire clamping point on the 3" Ring assembly is 0.33mm. That is the CoM is .33 mm below the clamping point of the wire. I took the clamping point to be the top edge of the wire clamp piece. see the below attachments. I am now modifying the dumbell mechanism at the bottom of the ring to move the CoM to the target distance of 1.1mm. Attachment 1: CoM_to_Clamp.PNG Attachment 2: CoM_to_Clamp_2.PNG 16166 Fri May 28 10:54:59 2021 JonUpdateCDSOpto-isolator for c1auxey I have received the opto-isolator needed to complete the new c1auxey system. I left it sitting on the electronics bench next to the Acromag chassis. Here is the manufacturer's wiring manual. It should be wired to the +15V chassis power and to the common return from the coil driver, following the instructions herein for NPN-style signals. Note that there are two sets of DIP switches (one on the input side and one on the output side) for selecting the mode of operation. These should all be set to "NPN" mode. Attachment 1: optoisolator.jpeg 16167 Fri May 28 11:16:21 2021 JonUpdateCDSFront-End Assembly and Testing An update on recent progress in the lab towards building and testing the new FEs. ### 1. Timing problems resolved / FE BIOS changes The previously reported problem with the IOPs losing sync after a few minutes (16130) was resolved through a change in BIOS settings. However, there are many required settings and it is not trivial to get these right, so I document the procedure here for future reference. The CDS group has a document (T1300430) listing the correct settings for each type of motherboard used in aLIGO. All of the machines received from LLO contain the oldest motherboards: the Supermicro X8DTU. Quoting from the document, the BIOS must be configured to enforce the following: • Remove hyper-threading so the CPU doesn’t try to run stuff on the idle core, as hyperthreading simulate two cores for every physical core. • Minimize any system interrupts from hardware, such as USB and Serial Ports, that might get through to the ‘idled’ core. This is needed on the older machines. • Prevent the computer from reducing the clock speed on any cores to ‘save power’, etc. We need to have a constant clock speed on every ‘idled’ CPU core. I generally followed the T1300430 instructions but found a few adjustments were necessary for diskless and deterministic operation, as noted below. The procedure for configuring the FE BIOS is as follows: 1. At boot-up, hit the delete key to enter the BIOS setup screen. 2. Before changing anything, I recommend photographing or otherwise documenting the current working settings on all the subscreens, in case for some reason it is necessary to revert. 3. T1300430 assumes the process is started from a known state and lists only the non-default settings that must be changed. To put the BIOS into this known state, first navigate to Exit > Load Failsafe Defaults > Enter. 4. Configure the non-default settings following T1300430 (Sec. 5 for the X8DTU motherboard). On the IPMI screen, set the static IP address and netmask to their specific assigned values, but do set the gateway address to all zeros as the document indicates. This is to prevent the IPMI from trying to initiate outgoing connections. 5. For diskless booting to continue to work, it is also necessary to set Advanced > PCI/PnP Configuration > Load Onboard LAN 1 Option Rom > Enabled. 6. I also found it was necessary to re-enable IDE direct memory access and WHEA (Windows Hardware Error Architecture) support. Since these machines have neither hard disks nor Windows, I have no idea why these are needed, but I found that without them, one of the FEs would hang during boot about 50% of the time. • Advanced > PCI/PnP configuration > PCI IDE BusMaster > Enabled. • Advanced > ACPI Configuration > WHEA Support > Enabled. After completing the BIOS setup, I rebooted the new FEs about six times each to make sure the configuration was stable (i.e., would never hang during boot). ### 2. User models created for FE testing With the timing issue resolved, I proceeded to build basic user models for c1bhd and c1sus2 for testing purposes. Each one has a simple structure where M ADC inputs are routed through IIR filters to an output matrix, which forms linear signal combinations that are routed to N DAC outputs. This is shown in Attachment 1 for the c1bhd case, where the signals from a single ADC are conditioned and routed to a single 18-bit DAC. The c1sus2 case is similar; however the Contec BO modules still needed to be added to this model. The FEs are now running two models each: the IOP model and one user model. The assigned parameters of each model are documented below. Model Host CPU DCUID Path c1x06 c1bhd 1 23 /opt/rtcds/userapps/release/cds/c1/models/c1x06.mdl c1x07 c1sus2 1 24 /opt/rtcds/userapps/release/cds/c1/models/c1x07.mdl c1bhd c1bhd 2 25 /opt/rtcds/userapps/release/isc/c1/models/c1bhd.mdl c1sus2 c1sus2 2 26 /opt/rtcds/userapps/release/sus/c1/models/c1sus2.mdl The user models were compiled and installed following the previously documented procedure (15979). As shown in Attachment 2, all the RTS processes are now working, with the exception of the DAQ server (for which we're still awaiting hardware). Note that these models currently exist only on the cloned copy of the /opt/rtcds disk running on the test stand. The plan is to copy these models to the main 40m disk later, once the new FEs are ready to be installed. ### 3. AA and AI chassis installed I installed several new AA and AI chassis in the test stand to interface with the ADC and DAC cards. This includes three 16-bit AA chassis, one 16-bit AI chassis, and one 18-bit AI chassis, as pictured in Attachment 3. All of the AA/AI chassis are powered by one of the new 15V DC power strips connected to a bench supply, which is housed underneath the computers as pictured in Attachment 4. These chassis have not yet been tested, beyond verifying that the LEDs all illuminate to indicate that power is present. Attachment 1: c1bhd.png Attachment 2: gds_tp.png Attachment 3: teststand.jpeg Attachment 4: bench_supply.jpeg 16169 Tue Jun 1 14:26:23 2021 JordanUpdateSUSCoM to Clamping Point Measurement for 3" Adapter Ring After changing the material of the Balance Mass from 6061 Al to 304 Steel, and changing the thickness to 0.21" from 0.25". The CoM is now 1.11mm below the clamping point. Koji expected a mass change of ~ 4g to move the mass to 1.1mm. The 6061 mass weighed ~1.31g and the 304 mass weighs 4.1g. A potential issue with this is the screw used the adjust the position of these balance masses, threads through both the aluminum ring and this now 304 steel mass. A non silver plated screw could cold weld at the mass, but a silver plated screw will gall in the aluminum threads.  Quote: The current vertical distance between the CoM and the wire clamping point on the 3" Ring assembly is 0.33mm. That is the CoM is .33 mm below the clamping point of the wire. I took the clamping point to be the top edge of the wire clamp piece. see the below attachments. I am now modifying the dumbell mechanism at the bottom of the ring to move the CoM to the target distance of 1.1mm. Attachment 1: CoM_to_Clamp_Updated.PNG 16170 Tue Jun 1 16:17:06 2021 YehonathanUpdateBHDSOS assembly I tried to push the clean Viton tips into the vented screws just to find out that the vented holes are too small. We need to drill 0.1" diameter holes about 0.1" deep into these screws and clean them again. 16172 Wed Jun 2 01:03:19 2021 KojiUpdateBHDSOS assembly Can you just cut the viton tips smaller? If you cut it to have some wedge (or say, taper), it can get stuck with the vent hole. 16173 Wed Jun 2 01:08:57 2021 KojiUpdateSUSCoM to Clamping Point Measurement for 3" Adapter Ring How about to use the non-Ag coated threaded shaft + the end SS masses with helicoils inserted? Does this save the masses to get stuck? 16176 Wed Jun 2 17:50:50 2021 PacoUpdateEquipment loanBorrow red cart I borrowed the little red cart 🛒 to help clear the path for new optical tables in B252 West Bridge. Will return once I am done with it. Attachment 1: IMG_20210602_172858.jpg 16177 Thu Jun 3 13:06:47 2021 Ian MacMillanUpdateCDSSUS simPlant model I was able to measure the transfer function of the plant filter module from the channel X1:SUP-C1_SUS_SINGLE_PLANT_Plant_POS_Mod_EXC to X1:SUP-C1_SUS_SINGLE_PLANT_Plant_POS_Mod_OUT. The resulting transfer function is shown below. I have also attached the raw data for making the graph. Next, I will make a script that will make the photon filters for all the degrees of freedom and start working on the matrix version of the filter module so that there can be multiple degrees of freedom. Attachment 1: SingleSusPlantTF.pdf Attachment 2: SUS_PLANT_TF.zip 16178 Thu Jun 3 17:15:17 2021 YehonathanUpdateCDSOpto-isolator for c1auxey As Jon wrote we need to use the NPN configuration (see attachments). I tested the isolator channels in the following way: 1. I connected +15V from the power supply to the input(+) contact. 2. Signal wire from one of the digital outputs was connected to I1-4 3. When I set the digital output to HIGH, the LED on the isolator turns on. 4. I measure the resistance between O1-4 to output(-) and find it to be ~ 100ohm in the HIGH state and an open circuit in the LOW state, as expected from an open collector output. Unlike the Acromag output, the isolator output is not pulled up in the LOW state. To do so we need to connect +15V to the output channel through a pull-up resistor. For now, I leave it with no pull-up. According to the schematics of the HAM-A Coil Driver, the digital output channels drive an electromagnetic relay (I think) so it might not need to be pulled up to switch back. I'm not sure. We will need to check the operation of these outputs at the installation. During the testing of the isolator outputs pull-up, I accidentally ran a high current through O2, frying it dead. It is now permanently shorted to the + and - outputs rendering it unusable. In any case, we need another isolator since we have 5 channels we need to isolate. I mounted the isolator on the DIN rail and started wiring the digital outputs into it. I connected the GND from the RTS to output(-) such that when the digital outputs are HIGH the channels in the coil driver will be sunk into the RTS GND and not the slow one avoiding GND contamination. Attachment 1: Optical_Isolator_NPN_Input.png Attachment 2: Optical_Isolator_NPN_Output.png 16180 Thu Jun 3 17:49:46 2021 PacoUpdateEquipment loanBorrow red cart Returned today.  Quote: I borrowed the little red cart 🛒 to help clear the path for new optical tables in B252 West Bridge. Will return once I am done with it. 16181 Thu Jun 3 22:08:00 2021 KojiUpdateCDSOpto-isolator for c1auxey - Could you explain what is the blue thing in Attachment 1? - To check the validity of the signal chain, can you make a diagram summarizing the path from the fast BO - BO I/F - Acromag - This opto-isolator - the coil driver relay? (Cut-and-paste of the existing schematics is fine) 16182 Fri Jun 4 14:49:23 2021 YehonathanUpdateCDSOpto-isolator for c1auxey I made a diagram (Attached). I think it explains the blue thing in the previous post. I don't know what is the grounding situation in the RTS so I put a ground in both the coil driver and the RTS. Hopefully, only one of them is connected in reality.  Quote: - Could you explain what is the blue thing in Attachment 1? - To check the validity of the signal chain, can you make a diagram summarizing the path from the fast BO - BO I/F - Acromag - This opto-isolator - the coil driver relay? (Cut-and-paste of the existing schematics is fine) Attachment 1: Optical_isolator_Wiring.pdf 16183 Fri Jun 4 17:46:25 2021 unYehonathanUpdateCDSOpto-isolator for c1auxey I mounted the optoisolator on the DIN rail and connected the 3 first channels  C1:SUS-ETMY_UL_ENABLE C1:SUS-ETMY_UR_ENABLE C1:SUS-ETMY_LL_ENABLE to the optoisolator inputs 1,3,4 respectively. I connected the +15V input voltage into the input(+) of the optoisolator. The outputs were connected to DB9F-2 where those channels were connected before. I added DB9F-1 to the front panel to accept channels from the RTS. I connected the fast channels to connectors 1,2,3 from DB9F-1 to DB9F-2 according to the wiring diagram. The GND from DB9F-1 was connected to both connector 5 of DB9F-2 and the output (-). I tested the channels: I connected a DB9 breakout board to DB9F-2. I measured the resistance between the RTS GND and the isolated channels while switching them on and off. In the beginning, when I turned on the binary channels the resistance was behaving weird - oscillating between low resistance and open circuit. I pulled up the channels through a 100Kohm resistor to observe whether the voltage behavior is reasonable or not. Indeed I observed that in the LOW state the voltage between the isolated channel and slow GND is 15V and 0.03V in the HIGH state. Then I disconnected the pull up from the channels and measured the resistance again. It showed ~ stable 170ohm in the HIGH state and an open circuit in the LOW state. I was not able to reproduce the weird initial behavior. Maybe the optoisolator needs some warmup of some sort. We still need to wire the rest of the fast channels to DBF9-3 and isolate the channels in DBF9-4. For that, we need another optoisolator. There is still an open issue with the BI channels not read by EPICS. They can still be read by the Windows machine though. Attachment 1: 20210604_173420.jpg 16184 Sun Jun 6 03:02:14 2021 KojiUpdateCDSOpto-isolator for c1auxey This RTS also use the BO interface with an opto isolator. https://dcc.ligo.org/LIGO-D1002593 Could you also include the pull up/pull down situations? 16185 Sun Jun 6 08:42:05 2021 JonUpdateCDSFront-End Assembly and Testing Here is an update and status report on the new BHD front-ends (FEs). ### Timing The changes to the FE BIOS settings documented in [16167] do seem to have solved the timing issues. The RTS models ran for one week with no more timing failures. The IOP model on c1sus2 did die due to an unrelated "Channel hopping detected" error. This was traced back to a bug in the Simulink model, where two identical CDS parts were both mapped to ADC_0 instead of ADC_0/1. I made this correction and recompiled the model following the procedure in [15979]. ### Model naming standardization For lack of a better name, I had originally set up the user model on c1sus2 as "c1sus2.mdl" This week I standardized the name to follow the three-letter subsystem convention, as four letters lead to some inconsistency in the naming of the auto-generated MEDM screens. I renamed the model c1sus2.mdl -> c1su2.mdl. The updated table of models is below. Model Host CPU DCUID Path c1x06 c1bhd 1 23 /opt/rtcds/userapps/release/cds/c1/models/c1x06.mdl c1x07 c1sus2 1 24 /opt/rtcds/userapps/release/cds/c1/models/c1x07.mdl c1bhd c1bhd 2 25 /opt/rtcds/userapps/release/isc/c1/models/c1bhd.mdl c1su2 c1su2 2 26 /opt/rtcds/userapps/release/sus/c1/models/c1su2.mdl Renaming an RTS model requires several steps to fully propagate the change, so I've documented the procedure below for future reference. On the target FE, first stop the model to be renamed: controls@c1sus2$ rtcds stop c1sus2

Then, navigate to the build directory and run the uninstall and cleanup scripts:

controls@c1sus2$cd /opt/rtcds/caltech/c1/rtbuild/release controls@c1sus2$ make uninstall-c1sus2
controls@c1sus2$make clean-c1sus2 Unfortunately, the uninstall script does not remove every vestige of the old model, so some manual cleanup is required. First, open the file /opt/rtcds/caltech/c1/target/gds/param/testpoint.par and manually delete the three-line entry corresponding to the old model: hostname=c1sus2 system=c1sus2 [C-node26] If this is not removed, reinstallation of the renamed model will fail because its assigned DCUID will appear to already be in use. Next, find all relics of the old model using: controls@c1sus2$ find /opt/rtcds/caltech/c1 -iname "*sus2*"

and manually delete each file and subdirectory containing the "sus2" name. Finally, rename, recompile, reinstall, and relaunch the model:

controls@c1sus2$cd /opt/rtcds/userapps/release/sus/c1/models controls@c1sus2$ mv c1sus2.mdl c1su2.mdl
controls@c1sus2$cd /opt/rtcds/caltech/c1/rtbuild/release controls@c1sus2$ make c1su2
controls@c1sus2$make install-c1su2 controls@c1sus2$ rtcds start c1su2

### Sitemap screens

I used a tool developed by Chris, mdl2adl, to auto-generate a set of temporary sitemap/model MEDM screens. This package parses each Simulink file and generates an MEDM screen whose background is an .svg image of the Simulink model. Each object in the image is overlaid with a clickable button linked to the auto-generated RTS screens. An example of the screen for the C1BHD model is shown in Attachment 1. Having these screens will make the testing much faster and less user-error prone.

I generated these screens following the instructions in Chris' README. However, I ran this script on the c1sim machine, where all the dependencies including Matlab 2021 are already set up. I simply copied the target .mdl files to the root level of the mdl2adl repo, ran the script (./mdl2adl.sh c1x06 c1x07 c1bhd c1su2), and then copied the output to /opt/rtcds/caltech/c1/medm/medm_teststand. Then I redefined the "sitemap" environment variable on the chiara clone to point to this new location, so that they can be launched in the teststand via the usual "sitemap" command.

### Current status and plans

#### Is it possible to convert 18-bit AO channels to 16-bit?

Currently, we are missing five 18-bit DACs needed to complete the c1sus2 system (the c1bhd system is complete). Since the first shipment, we have had no luck getting additional 18-bit DACs from the sites, and I don't know when more will become available. So, this week I took an inventory of all the 16-bit DACs available at the 40m. I located four 16-bit DACs, pictured in Attachment 2. Their operational states are unknown, but none were labeled as known not to work.

The original CDS design would call for 40 more 18-bit DAC channels. Between the four 16-bit DACs there are 64 channels, so if only 3/4 of these DACs work we would have enough AO channels. However, my search turned up zero additional 16-bit DAC adapter boards. We could check if first Rolf or Todd have any spares. If not, I think it would be relatively cheap and fast to have four new adapters fabricated.

DAQ network limitations and plan

To get deeper into the signal-integrity aspect of the testing, it is going to be critical to get the secondary DAQ network running in the teststand. Of all the CDS tools (Ndscope, Diaggui, DataViewer, StripTool), only StripTool can be used without a functioning NDS server (which, in turn, requires a functioning DAQ server). StripTool connects directly to the EPICS server run by the RTS process. As such, StripTool is useful for basic DC tests of the fast channels, but it can only access the downsampled monitor channels. Ian and Anchal are going to carry out some simple DAC-to-ADC loopback tests to the furthest extent possible using StripTool (using DC signals) and will document their findings separately.

We don't yet have a working DAQ network because we are still missing one piece of critical hardware: a 10G switch compatible with the older Myricom network cards. In the older RCG version 3.x used by the 40m, the DAQ code is hardwired to interface with a Myricom 10G PCIe card. I was able to locate a spare Myricom card, pictured in Attachment 3, in the old fb machine. Since it looks like it is going to take some time to get an old 10G switch from the sites, I went ahead and ordered one this week. I have not been able to find documentation on our particular Myricom card, so it might be compatible with the latest 10G switches but I just don't know. So instead I bought exactly the same older (discontinued) model as is used in the 40m DAQ network, the Netgear GSM7352S. This way we'll also have a spare. The unit I bought is in "like-new" condition and will unfortunately take about a week to arrive.

Attachment 1: c1bhd.png
Attachment 2: 16bit_dacs.png
Attachment 3: myricom.png
16186   Sun Jun 6 12:15:16 2021 JonUpdateCDSOpto-isolator for c1auxey

Since this Ocean Controls optoisolator has been shown to be compatible, I've gone ahead and ordered 10 more:

• (1) to complete c1auxey
• (2) for the upgrade of c1auxex
• (7) for the upgrade of c1susaux

They are expected to arrive by Wednesday.

16187   Sun Jun 6 15:59:51 2021 YehonathanUpdateCDSOpto-isolator for c1auxey

According to the BO interface circuit board https://dcc.ligo.org/D1001266, PCIN wires are connected to the coil driver and they are not pulled either way.

That means that they're either grounded or floating. I updated the drawing.

 Quote: This RTS also use the BO interface with an opto isolator. https://dcc.ligo.org/LIGO-D1002593 Could you also include the pull up/pull down situations?

Attachment 1: Optical_isolator_Wiring.pdf
ELOG V3.1.3-