Global Control›Global Control
#19010
New filtering algorithm
I wrote a completely new filtering algorithm for the locking part. The main goals were:
- to avoid a large increase of elapsed time during filter transitions, caused by the simultaneous switching of all four filters
- to be able to define new filters on-fly
The new algorithm, named Onfly_Filtering, allows defining the four MICH, PRCL, CARM and DARM filters using on-fly commands. Moreover the switch can be performed only for a single DOF at time.
The code has been tested and implemented in two new versions of Locking_Algorithms (v4r4p3) and Locking (v17r7p3), therefore without affecting the currently running gc code.
On Saturday I debugged and successfully tested the new algorithm, locking the ITF up to step 2. The new algo is indeed not compatible with the current automation.
The first two plots compare the obtained filtering, at step 1, with the old and new algorithm. There is clearly no difference.
This algorithm allows to define on-fly a new filter and to switch one DOF from the running to this new filter with a ramp of custom duration. The third plot shows an example of different filters defined and switched on-fly, while locked.
The 4th and 5th plots show the behavior of correction and error signals (at step 2) and of the elapsed time while switching filters. The Gc_Filtering_5 signal is one of several possible debugging output, giving the value of the ramp used for the switch.
The 4th plot shows the switching to a filter of the same order of the running one. There is a small increase of elapsed time during the transition only.
The 5th plot shows the transition from a filter made of 2 second order stages to one made of 14 second order stages (the NEO filter uses 10 second order stages for comparison). There is no large increase of elapsed time at the beginning of the transition, and the total increase of elapsed time is also not very large.
The transitions are all quite smooth.
IN CONCLUSION, this new algorithm has been tested successfully and it is ready to be implemented. This will require some changes in the way the automation handles filter switching. It should allow to avoid many of the problems of elapsed time we had in the past during the NEO transition at step 10 and it will also give a boost to the development of new control filters, since unlocking will no more be required.