quartiq / booster

Firmware for the Sinara Booster RF amplifier
Apache License 2.0
14 stars 1 forks source link

check interlock when enabling #45

Open jordens opened 4 years ago

jordens commented 4 years ago

Work around https://github.com/sinara-hw/Booster/issues/369:

Before enabling a channel, check the three power measurements (input, output, reflected) and compare them with the thresholds (DAC and software threshold for the input power). If they are already within 5% of full scale (to account for calibration error), don't allow enabling the channel. Otherwise the interlocks will fail to trip.

jordens commented 2 years ago

If the user has hacked their firmware to adress #117 that makes the approach outlined above a bit more tricky.