Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    SZP Accelerometer Orientation - Incorrect Silkscreen?

    Scheduled Pinned Locked Moved Unsolved
    General Discussion
    2
    3
    93
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sebkritikelundefined
      sebkritikel
      last edited by sebkritikel

      All boards on 3.6.0-rc.1+3. Commissioning my Stratasys Dimension conversion, and using the SZP (v1.0 revision) was the easiest way to attach an accelerometer. I'm finding that the results displayed in the input shaping plugin do not match the expected results based on the silkscreen axis. Silkscreen axis appears to be rotated 90° clockwise about the Z-axis. Printer and SZP are oriented as such:
      d6d6ba43-bcc5-453b-801b-1253d1fde07a-image.png
      Machine X (viewing from the front) is negative to the left, positive to the right. Machine Y is negative towards the front (door), positive towards the back - pretty standard setup.

      SZP is installed with the 4-pin JST PA connector pointed UP - meaning, per the silkscreen:

      • Accelerometer Y -> machine Z
      • Accelerometer X -> machine Y
      • Accelerometer Z -> Machine X

      2638aa1f-304b-4ad1-b93d-e84892519988-image.png !

      Per M955, with accelerometer (top of board/chip) Z oriented towards machine +X, first digit of I is 0, and with board +X oriented towards machine +Y, the second digit should be 1. Towards the end of my config.g I have

      M955 P120.0 I01
      

      After a fresh power up, M955 P120.0 reports:

      Accelerometer 120:0 type LIS2DW with orientation 1 samples at 800Hz with 14-bit resolution
      

      Input shaping plugin results for I01
      e0b78081-7486-407d-a652-3f5d4d9b3831-image.png
      1461a865-91fc-45cb-b57e-c4f8aecd2098-image.png

      The graph's X-axis does show accelerations during X moves, however right away we see that the graph's Y results are reporting gravity. During Y moves, accelerations are instead displayed on the graph Z-axis.

      Changing this to I42, gives the expect chart results, meaning:

      • Accelerometer Y -> machine Y
      • Accelerometer X -> machine Z
      • Accelerometer Z -> Machine -X

      52ab62a0-47bd-447f-b1d3-a71ea035935f-image.png
      4f589552-d2d7-4ab2-9579-0d78c1d3275a-image.png

      Here is I20, leading me to believe the firmware needs to be corrected (or silkscreen 😵 ). I can try and find where the orientation is defined later.
      543ece26-1df7-4c72-ad63-e8d14cb673a7-image.png
      6416b9b3-ed6e-4d55-b727-f2c81bd9af9c-image.png

      The graphs for I20 match the orientation shown in the LIS2DW12 datasheet vs. the silkscreen:
      43f6f0ed-16e2-4f4f-9081-767d0544c81d-image.png

      Large(ish?) IDEX - 6HC, 1HCL
      Stratasys Dimension 1200es to 6HC Conversion

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • sebkritikelundefined sebkritikel marked this topic as a question
      • droftartsundefined
        droftarts administrators @sebkritikel
        last edited by

        @sebkritikel Thanks! I took a photo of my SZP v1.0, from the same angle as the datasheet. It does look like you're right, and the silkscreen is incorrect, I'll get @T3P3Tony to check.
        IMG_8555.jpg 4c73e5d4-3091-4eaa-80cc-6888015a3ee3-image.png

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        sebkritikelundefined 1 Reply Last reply Reply Quote 1
        • sebkritikelundefined
          sebkritikel @droftarts
          last edited by

          @droftarts Thanks! I apologize for the extraneous detail and having the nugget of the datasheet axis orientation at the bottom of the post - might have been good to lead with that instead.

          Large(ish?) IDEX - 6HC, 1HCL
          Stratasys Dimension 1200es to 6HC Conversion

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA