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

Check the Code of M2 Mirror Safety in Control System

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:
    • Story Points:
      0
    • Sprint:
      TSSW Sprint - Nov 07 - Nov 21
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Check the code of M2 mirror safety in control system:
      1. How does the system deal with the condition that the actuator force is more than the threshold?
      2. Does the system check the tangent links in X, Y and Mz and check them relative to the expected values as a function of elevation angle?

        Attachments

          Issue Links

            Activity

            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            In the ts_mtm2_cell, the TelemetryFaultManager.check_for_faults.vi will check the actuator forces with the limits and fault/stop the motion if the value is more than the threshold:

            I also found the TangentLoadCellFaultDetection.vi in the ts_mtm2_cell to check the fx, fy, and mz and compare with the threshold:

            Interesting thing is that I saw this vi before in the ts_mtm2, and I did not understand why Harris developers had two copies of this vi under cRIO and server sides.

            Fortunately, in the previous time, Patricio Cortes helped to translate the math here:
            https://confluence.lsstcorp.org/display/LTS/Tangent+Load+Cell+Fault+Detection

            Show
            ttsai Te-Wei Tsai added a comment - - edited In the ts_mtm2_cell , the TelemetryFaultManager.check_for_faults.vi will check the actuator forces with the limits and fault/stop the motion if the value is more than the threshold: I also found the TangentLoadCellFaultDetection.vi in the ts_mtm2_cell to check the fx, fy, and mz and compare with the threshold: Interesting thing is that I saw this vi before in the ts_mtm2 , and I did not understand why Harris developers had two copies of this vi under cRIO and server sides. Fortunately, in the previous time, Patricio Cortes helped to translate the math here: https://confluence.lsstcorp.org/display/LTS/Tangent+Load+Cell+Fault+Detection
            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            After digging into Harris's M2 cell code, I think the developers did check the glass safety in the code and fault the system (or stop the motion) when something is wrong. The threshold values are hard-coded, but this is another question actually.

            We may need to use the surrogate to test what might be the good threshold values. Since they are hard-coded, the change of new values means the recompilation + deployment. This will need to use the new cRIO-9049. Hope the hard-coded values are good before EIE returns me the cRIO.

            Show
            ttsai Te-Wei Tsai added a comment - - edited After digging into Harris's M2 cell code, I think the developers did check the glass safety in the code and fault the system (or stop the motion) when something is wrong. The threshold values are hard-coded, but this is another question actually. We may need to use the surrogate to test what might be the good threshold values. Since they are hard-coded, the change of new values means the recompilation + deployment. This will need to use the new cRIO-9049. Hope the hard-coded values are good before EIE returns me the cRIO.
            Hide
            aclements Andy Clements added a comment -

            Thanks for looking for this Te-Wei.  I've requested the cRIO from EIE and it sounds like they started the shipping process.  Hopefully we will see it soon.

            Show
            aclements Andy Clements added a comment - Thanks for looking for this Te-Wei.  I've requested the cRIO from EIE and it sounds like they started the shipping process.  Hopefully we will see it soon.

              People

              Assignee:
              ttsai Te-Wei Tsai
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Andy Clements
              Watchers:
              Andy Clements, Doug Neill, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.