Not logged in
Fri Sep 13 16:40:56 2019
New channel added; BNSignUpdate made better
I added C3:PSL-PRECAV_BEATNOTE_FREQ_SLOPE2 as a new channel. This holds the seconds derivative of precavtybeatnote frequency in Hz/s/s.
slope calculation code
is separated now from
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.