Reports until 04:53, Friday 20 June 2025
LASTI General
dennis.martynov - posted 04:53, Friday 20 June 2025 (11988)
C-6D automation scripts
Rich has pointed out to me that it is sometimes challenging to catch C-6D once it goes out of range, for example, after ISI trips. This log clarifies the problem and discusses a few new automation scripts that may simplify the C-6D catching procedure.

Why does the problem exist? This is because the equilibrium position of the C-6D inertial mass is not the same as that defined by the sensors. There may be offsets in RX, RY, or RZ. In our case, RX and RY offsets are small (because Rich & I balanced the mass with magnetobullets as reported in log 11906). However, we have a significant RZ offset that still stays there after the C-6D installation (log 11846). Therefore, after the disturbance occurs and C-6D catching servos go out of range (or LPS signals become unreliable), the mass tends to move in RZ.

Control scripts: (Note that the scripts are written in Python using the 'ezca' library that seems to work fine now. Not sure whether it is still supported.)

! TO BOSEM command. This one should be ideally pressed immediately after ISI is tripped. If the transient is not large, the C-6D local servos can catch the inertial mass. This is the best case scenario. Below, I also outline other cases.

BOSEM RZ is in range (may even fluctuate around in the range 100 - 500 um) but RX, RY fluctuate quite a bit and do not seem to stabilise to their equilibrium position of RX = RY = 0 um. This happens if C-6D got a significant kick in tilt during the transient and the V1-3 BOSEM actuators are too weak to cool the mass. As a result, the control loop because nonlinear due to saturating actuators and the mass does not stabilise. In this case, it is important to run the following command:

! RX / RY damp. This one only damps RX / RY and does not try to catch it (no DC force). The scripts are engaged with a low gain of -0.3 in CATCH_RX and CATCH_RY servos to avoid the actuator saturation. This corresponds to the Q-factor of RX/RY modes of around 10 and it would still take a bit of time to measure 60 - 110 sec period modes. However, since the mass oscillations became smaller over time and C-6D BOSEM V1-3 signals also reduce, it is beneficial to increase the gain to -1. Once the control signals are further reduced, it is possible to increase the gain to -3. The RX/RY modes would damp 'quickly' then. Quickly means on the C-6D scales: ~2-3 min. Once RX, RY oscillations are damped down to the pk-pk values of around 30-50 um, it is feasible to engage the RX/RY catching servos again.

! RX / RY catch engages the catching servos again.

There might also be a case when the RZ kick was large from the external disturbance and ISI loses balance in RZ. When this happens, RZ signal will get stuck at -620 um or so and all BOSEM flags, including vertical ones, become open. Once this happens, it is also important to run RX / RY damp script even if RX and RY were caught because vertical BOSEM signals become unreliable in this state. Once RZ comes back to the linear regime, it is possible to run the RX / RY catch command to bring RX and RY back to the nominal position.

RZ offset trick: though it is not necessary, it may reduce the RZ catching time. Once RZ loses balance and moves to its equilibrium position, it hits mechanical stops a few mm away from its nominal position. This longitudinal offset is sufficient to significantly weaken the actuator strength and it may take some time for the feedback servo to ramp its control signal and pull the mass back to its operational point. One may speed up the process by manually tuning on the offset in the C-6D COIL H1 filter bank. The offset is typically negative and should be turned off immediately after the mass starts to move, even by a small amount (0.1-0.2 um in RZ). This is because of the large inertial of the system. If the offset is held for too long, the mass will fly over the equilibrium position, bounce the mechanical stop on the other side and then bounce back to where we started (RZ of around -620 um).

Once the mass is caught again and you like to stabilise ISI with C-6D in loop, it is possible to run the following commands:

! RESET LPS command: I would only run it when BOSEM RX = RY = 0 (up to 1-2 um) and RZ = -300 um (up to 1-2 um). This command resets LPS V1-3 and H1-3 and clears history in C-6D feedforward and RX/RY matching filters.

! TO LPS command: transitions C-6D from the BOSEM control state to the LPS control state (log 11961). There might be a transient and the C-6D may move a bit but this one is typically small. It might be large when C-6D is still large from its equilibrium (more than a few um in RX, RY, RZ).

At this point, C-6D is ready for the ISI stabilisation. Note that the scripts do not clear history in the slow blends. This should be done manually if needed.