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

Input Shaping Board shutdown during messureing

Scheduled Pinned Locked Moved Solved
Tuning and tweaking
3
10
459
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.
  • undefined
    MichaelKallner
    last edited by 25 Sept 2022, 16:23

    Hello,
    I have a question about input shaping.

    I have an Adafruit LIS3DH sensor, wired and configured directly to my Duet 2. The sensor is also recognized (green light).

    However, as soon as I want to take a first measurement (via the plugin or console commands). The measurement process aborts with the message "Measurement aborted" and the board restarts completely.

    The cable used is a multiple shielded one, the shielding is also grounded.

    Duet Firmware is 3.4.1 // Input Shaping Plugin which is 3.4.1 b1

    Does someone have an approach for me how I can solve the problem.

    FDM Printer: 4x Tractus T3000 XXL Deltaprinter (Magnum+ Directdrive) / 2x Tractus T1250 Deltaprinter (E3D Supervolcano Bowden)
    1x SLA Ancycubic MonoX 6K

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by Phaedrux 25 Sept 2022, 17:06

      How long is the cable? Where is the shielding grounded to?
      Can you gather a M122 report after the board has restarted?

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        MichaelKallner
        last edited by 25 Sept 2022, 17:28

        @phaedrux
        Hello,

        The cable is a USB 3.0 Cable in 1.5 Meter. Also tested with 0.8 Meter. And also testet with unshielded Cable.

        The Shield is grounded at GND on the Duet Board an other side GND on the sensor.
        ——

        The Test Prozedure beginn normaly, because stops with the failure an shutown the board.

        CSV Files are written with nothing inside an get a parsing failure.

        Here is the M122, with no Sensor Connected (the Printer Runs currently)

        ——-
        == Diagnostics ===
        RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.1 (2022-06-01 21:05:28) running on Duet Ethernet 1.02 or later
        Board ID: 0JD0M-9X6JA-JUNSS-6J1FL-3S46R-K9JMV
        Used output buffers: 3 of 26 (15 max)
        === RTOS ===
        Static ram: 23860
        Dynamic ram: 70276 of which 240 recycled
        Never used RAM 14512, free system stack 110 words
        Tasks: NETWORK(ready,98.9%,211) HEAT(notifyWait,0.2%,326) Move(notifyWait,5.2%,304) MAIN(running,310.6%,450) IDLE(ready,0.1%,30), total 414.9%
        Owned mutexes:
        === Platform ===
        Last reset 01:40:36 ago, cause: software
        Last software reset time unknown, reason: User, GCodes spinning, available RAM 17632, slot 1
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
        Error status: 0x00
        Aux0 errors 0,0,0
        Step timer max interval 0
        MCU temperature: min 43.4, current 60.7, max 61.3
        Supply voltage: min 23.8, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
        Heap OK, handles allocated/used 99/1, heap memory allocated/used/recyclable 2048/22/0, gc cycles 0
        Events: 0 queued, 0 completed
        Driver 0: ok, SG min 0
        Driver 1: standstill, SG min n/a
        Driver 2: ok, SG min 155
        Driver 3: ok, SG min 0
        Driver 4: ok, SG min 0
        Driver 5:
        Driver 6:
        Driver 7:
        Driver 8:
        Driver 9:
        Driver 10:
        Driver 11:
        Date/time: 2022-09-25 19:21:41
        Cache data hit count 4294967295
        Slowest loop: 213.08ms; fastest: 0.12ms
        I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
        === Storage ===
        Free file entries: 8
        SD card 0 detected, interface speed: 20.0MBytes/sec
        SD card longest read time 4.4ms, write time 26.0ms, max retries 0
        === Move ===
        DMs created 83, segments created 14, maxWait 1960635ms, bed compensation in use: mesh, comp offset 0.000
        === MainDDARing ===
        Scheduled moves 14620, completed 14603, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 2], CDDA state 3
        === AuxDDARing ===
        Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === Heat ===
        Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
        Heater 0 is on, I-accum = 0.0
        Heater 1 is on, I-accum = 0.4
        === GCodes ===
        Segments left: 1
        Movement lock held by null
        HTTP is idle in state(s) 0
        Telnet is idle in state(s) 0
        File is doing "G1 X333.724 Y-244.891 E0.1658" in state(s) 0
        USB is idle in state(s) 0
        Aux is idle in state(s) 0
        Trigger is idle in state(s) 0
        Queue is idle in state(s) 0
        LCD is idle in state(s) 0
        Daemon is idle in state(s) 0
        Autopause is idle in state(s) 0
        Code queue is empty
        === Network ===
        Slowest loop: 208.37ms; fastest: 0.02ms
        Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
        HTTP sessions: 1 of 8
        Interface state active, link 100Mbps full duplex

        FDM Printer: 4x Tractus T3000 XXL Deltaprinter (Magnum+ Directdrive) / 2x Tractus T1250 Deltaprinter (E3D Supervolcano Bowden)
        1x SLA Ancycubic MonoX 6K

        undefined 1 Reply Last reply 25 Sept 2022, 21:44 Reply Quote 0
        • undefined
          RogerPodacter @MichaelKallner
          last edited by RogerPodacter 25 Sept 2022, 21:44

          EDIT: Nevermind, i didnt read the entire thread before posting it looks like you already have the USB3.0 cable. sorry i dont have anymore more to add.

          @michaelkallner I was having a similar issue the very first time i connected my LIS3DH, the board would restart every time i tried to take a measurement in the plugin. But i dont know what i did, the issue never returned. I have since changed to a USB3.0 wire as someone else gave me the link, so I pass it along to you in case it might help.

          https://forum.duet3d.com/topic/22878/software-package-3-3beta3-released/68?_=1624809172098

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 26 Sept 2022, 03:37

            Do you have another accelerometer to test with?
            Can you show some photos of the wiring?

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 26 Sept 2022, 04:05 Reply Quote 0
            • undefined
              MichaelKallner @Phaedrux
              last edited by 26 Sept 2022, 04:05

              @phaedrux
              Hello,

              I'm sending the pictures, I hope that's enough.

              I tested a 2nd sensor. Also on another printer with the same result.

              With a third printer I get an abort with the message INT1 error.

              Verkabelt ist es wie im Bild:

              84AAC919-006F-49B4-8D94-AFB6F2E200B6.jpeg
              C33A469B-1123-42BD-8149-FD04061FFEE3.jpeg 8E98DFCA-3788-4BBB-8649-0D1D054F1794.jpeg 0234B84F-F162-4820-AF3D-95904965D565.jpeg

              FDM Printer: 4x Tractus T3000 XXL Deltaprinter (Magnum+ Directdrive) / 2x Tractus T1250 Deltaprinter (E3D Supervolcano Bowden)
              1x SLA Ancycubic MonoX 6K

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 27 Sept 2022, 22:11

                I can recommend adding a 1k resistor to SDO close to the sensor board which may solve capacitive coupling between SDO and CS.

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 1 Reply Last reply 28 Sept 2022, 04:22 Reply Quote 0
                • undefined
                  MichaelKallner @Phaedrux
                  last edited by 28 Sept 2022, 04:22

                  @phaedrux
                  Hello, many thanks for the answer. I'll test that once. can you dare tell me how many watts the resistance must have or is that not important for this purpose?

                  FDM Printer: 4x Tractus T3000 XXL Deltaprinter (Magnum+ Directdrive) / 2x Tractus T1250 Deltaprinter (E3D Supervolcano Bowden)
                  1x SLA Ancycubic MonoX 6K

                  undefined 1 Reply Last reply 28 Sept 2022, 05:14 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @MichaelKallner
                    last edited by 28 Sept 2022, 05:14

                    @michaelkallner said in Input Shaping Board shutdown during messureing:

                    not important for this purpose

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 1 Reply Last reply 2 Oct 2022, 09:05 Reply Quote 0
                    • undefined
                      MichaelKallner @Phaedrux
                      last edited by 2 Oct 2022, 09:05

                      @phaedrux
                      Hello, thank you very much for your help. Soldering the 1K resistor directly in front of the sensor board helped. I have a stable signal. Tested several times, flawless. I also think that the connected shielding also helps.

                      Thank you again. 🙂

                      FDM Printer: 4x Tractus T3000 XXL Deltaprinter (Magnum+ Directdrive) / 2x Tractus T1250 Deltaprinter (E3D Supervolcano Bowden)
                      1x SLA Ancycubic MonoX 6K

                      1 Reply Last reply Reply Quote 2
                      • undefined Phaedrux marked this topic as a question 2 Oct 2022, 18:18
                      • undefined Phaedrux has marked this topic as solved 2 Oct 2022, 18:18
                      2 out of 10
                      • First post
                        2/10
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA