linien icon indicating copy to clipboard operation
linien copied to clipboard

Better loss-of-lock-detection + relocking

Open bleykauf opened this issue 4 years ago • 3 comments

For example to prevent autolock from starting when adjusting laser current manually.

Currently the check boxes are not visible when the lock is running. Threshold should also be adjustable.

bleykauf avatar Feb 17 '21 09:02 bleykauf

  • [x] Ability to change "Watch Lock" while lock is running
  • [ ] Relock if a signal is not within a certain range
    • [ ] Control signal
    • [ ] Error signal
    • [ ] Use DC spectroscopy signal
    • [ ] Second input
  • [ ] Option to enable low pass filter

hermitdemschoenenleben avatar Mar 03 '21 14:03 hermitdemschoenenleben

Very simple way to see if lock is lost is to check whether the control signal rails at its maximum (maybe making this user configurable). Only catches some cases but is a very simple indicator.

Another potential issue to maybe keep in mind: There is also the case where there is no DC signal, i.e. when directly feeding in an error signal (offset locks) without demodulation. Also, the offset frequency might be changed in some setups (frequency jumps), i.e. a rapid change in the control signal is expected and is also not a good indicator for loss-of-lock. Specifically for this case a railing control signal (or non-zero error signal over an extended time) might be a good indicator.

bleykauf avatar Mar 16 '21 09:03 bleykauf

Some other suggestions/ideas:

  • In the case that the output rails it might be a good to change the status from "locked" to something else. Useful for offset locks with an "infinite" capture range.
  • Initiating a relock from a TTL signal might also be useful
  • Add user configurable "cooldown" time before attempting relock, maybe maximum number off attempts

bleykauf avatar Jul 23 '21 07:07 bleykauf