Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-35383

Configure ESS accelerometer monitoring of AuxTel

    XMLWordPrintable

    Details

    • Story Points:
      4
    • Sprint:
      TSSW Sprint - Jul 04 - Jul 18
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Update the ESS configuration in ts_config_ocs to report data from the 3-axis accelerometer on the AuxTel.

      This exposed some issues with LabJackAccelerometerDataClient which I will fix on the same ticket, including:

      • We need offset and scale for each accelerometer channel.
      • We need to be able to read multiple accelerometers with one LabJack.

        Attachments

          Issue Links

            Activity

            No builds found.
            rowen Russell Owen created issue -
            wvreeven Wouter van Reeven made changes -
            Field Original Value New Value
            Link This issue relates to DM-35384 [ DM-35384 ]
            rowen Russell Owen made changes -
            Summary Configure ESS vibration monitoring of AuxTel Configure ESS accelerometer monitoring of AuxTel
            rowen Russell Owen made changes -
            Story Points 1 3
            rowen Russell Owen made changes -
            Story Points 3 2
            rowen Russell Owen made changes -
            Description Update the ESS configuration in ts_config_ocs to report data from the 3-axis accelerometer on the AuxTel. Update the ESS configuration in ts_config_ocs to report data from the 3-axis accelerometer on the AuxTel.

            This exposed some issues with LabJackAccelerometerDataClient which I will fix on the same ticket, including:
            * We need offset and scale for each accelerometer channel.
            * We need to be able to read multiple accelerometers with one LabJack.
            rowen Russell Owen made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            Show
            rowen Russell Owen added a comment - Pull requests: https://github.com/lsst-ts/ts_config_ocs/pull/88 https://github.com/lsst-ts/ts_ess_labjack/pull/14
            Hide
            rowen Russell Owen added a comment -

            After discussion with the stakeholders and deciding that using the Welch was too elaborate for the ESS (the issue is supporting sufficient configuration and then picking suitable values). For now, at least, we have decided to go with plain FFT.

            This update supports an arbitrary number of accelerometers per data client and also writes the raw-ish acceleration data, after applying offset and scaling using the ESS accelerometer telemetry topic. If you feel strongly that the data should be truly raw (no offset or scale), then please do note that here and/or in the review. I do see that the XML description really says "raw"; I just feel uneasy ignoring the given calibrations (especially scale; offset can easily be determined from the raw data).

            I am asking Petr Kubanek to review the ts_ess_labjack PR and Craig Lage to review the new ESS configuration parameters in ts_config_ocs. Please feel free to comment on the other PR as well. Patrick Ingraham: feel free to weigh in as well.

            Show
            rowen Russell Owen added a comment - After discussion with the stakeholders and deciding that using the Welch was too elaborate for the ESS (the issue is supporting sufficient configuration and then picking suitable values). For now, at least, we have decided to go with plain FFT. This update supports an arbitrary number of accelerometers per data client and also writes the raw-ish acceleration data, after applying offset and scaling using the ESS accelerometer telemetry topic. If you feel strongly that the data should be truly raw (no offset or scale), then please do note that here and/or in the review. I do see that the XML description really says "raw"; I just feel uneasy ignoring the given calibrations (especially scale; offset can easily be determined from the raw data). I am asking Petr Kubanek to review the ts_ess_labjack PR and Craig Lage to review the new ESS configuration parameters in ts_config_ocs. Please feel free to comment on the other PR as well. Patrick Ingraham : feel free to weigh in as well.
            rowen Russell Owen made changes -
            Reviewers Craig Lage, Petr Kubanek [ cslage, pkubanek ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            Hide
            pkubanek Petr Kubanek added a comment -

            Python code reviewed, and looks good.

            Show
            pkubanek Petr Kubanek added a comment - Python code reviewed, and looks good.
            Hide
            cslage Craig Lage added a comment -

            I made comments of minor errors in both PRs.

            Show
            cslage Craig Lage added a comment - I made comments of minor errors in both PRs.
            cslage Craig Lage made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            rowen Russell Owen made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            Hide
            rowen Russell Owen added a comment -

            I updated both PRs based on the excellent suggestions from both reviewers.

            I also modified LabJackDataClient to use calibrated = (raw - offset) * scale, instead of applying offset after scaling. This will not affect existing users because the only LabJackDataClient configuration in ts_config_ocs has offset=0.

            Tagged ts_ess_labjack v0.6.0. Merged the ts_config_ocs update to develop but did not merge it to main and tag it yet – do that when we are ready to run it, and preferably only after testing it.

            Show
            rowen Russell Owen added a comment - I updated both PRs based on the excellent suggestions from both reviewers. I also modified LabJackDataClient to use calibrated = (raw - offset) * scale, instead of applying offset after scaling. This will not affect existing users because the only LabJackDataClient configuration in ts_config_ocs has offset=0. Tagged ts_ess_labjack v0.6.0. Merged the ts_config_ocs update to develop but did not merge it to main and tag it yet – do that when we are ready to run it, and preferably only after testing it.
            rowen Russell Owen made changes -
            Story Points 2 3
            rowen Russell Owen made changes -
            Story Points 3 4

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              rowen Russell Owen
              Reviewers:
              Craig Lage, Petr Kubanek
              Watchers:
              Craig Lage, Patrick Ingraham, Petr Kubanek, Russell Owen, Wouter van Reeven
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.