- I added C3:PSL-PRECAV_BEATNOTE_FREQ_SLOPE2 as a new channel. This holds the seconds derivative of precavtybeatnote frequency in Hz/s/s.
- The slope calculation code is separated now from sign update code.
- Slope is now calculated with moving averageof changing quantity over 10s. This gives much better estimates of both the slopes.
- Sign update is also more robust now. It checks if frequency counter is stuck for atleast 0.5s and last read BN frequency was less than 5 MHz.
- Sign update also has a dead time on its trigger of 1 minute to avoid changing sign multiple times in a single jump.
- So far, the sign update code is working eallygood. Hopefully, the cavity temperature control will not loose track now.
|