The reported behavior of the WI snail was due to a particular setting of the snail parameter, plus a bug in the code. The bag was due to the fact that the code was written when the DSP board was running at 10 kHz. When the sampling frequency was moved to 40 kHz, a coefficient which defines the time flowing should have been reduced by a factor of 4. This has been fixed now.
The parameter setting is in the hand of the user, so I will explain here how to use them.
The gains the user can change in the code are the following:
ADD swr no 0
ADD v0sp no 5
ADD dsp no 40
- swr activates the snail if set to 1 (users already know)
- v0sp is the linear velocity of the spiral, in urad/s
- dsp is the step of the spiral, in urad
For a fine alignment of the arm, low numbers for both the parameters are generally used. The setting of yesterday was for a very large snail (also without the bug). In figure, there is the snail generated in 400 s using v0sp=2 and dsp=2.
There is also another tool in the DSP code, at page 1:
ADD PM_DCH no 0
setting this gain at 1, the integrators used as additional set points (by the snail, or other automatic alignment tools) are discharged. This means that, having found a good working point in the explored region, one can go quikly to that point setting the desired values in the usual lines:
ADD txRef no 8 MAR_TX_SET
ADD tyRef no -9 MAR_TY_SET
and activating PM_DCH.
Please do not forget 1 in that gain, because this will disable the drift control which aligns the cavity when the lock is acquired.