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

Underruns, ways to reduce?

Scheduled Pinned Locked Moved
Duet Hardware and wiring
8
26
2.6k
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
    dc42 administrators
    last edited by 17 Oct 2018, 20:31

    Yes that's the longest loop time, around 18ms. What I think is happening is that the model contains a sequence of very short moves and this means that the move queue isn't long enough to hold 0.5 seconds worth of frozen moves plus enough moves for the lookahead to work in that case. The move queue on the Duet 2 series is 30 moves long AFAIR.

    Increasing XY acceleration may reduce the underruns, but may itself reduce print quality.

    Duet WiFi hardware designer and firmware engineer
    Please do not ask me for Duet support via PM or email, use the forum
    http://www.escher3d.com, https://miscsolutions.wordpress.com

    undefined 1 Reply Last reply 4 May 2020, 00:34 Reply Quote 0
    • undefined
      Urban
      last edited by 19 Oct 2018, 08:34

      OK, Thank you!

      Data reduction: I think there are two solutions for the input data (I think), one is to reduce the number of triangles and the other is to filter the contour after the slicing (the G-code file). If the triangles are reduced the file will be optimised for one size and the reduction itself can produce errors. Doing the reduction on the G-code file can be optimised for a specific machine and would not be to complicated if segments that are lined up in a strait line within a tolerance is removed.

      Acceleration: I have a modest acceleration(1500mm/s/s) for the print move but can have a higher for travel moves (5000-10000mm/s/s). The rapid travel moves reduce ooze from the nozzle but due to the trapezoidal movement profile there can be ringing. An S-curve or similar movement profile would be beneficial.

      undefined 1 Reply Last reply 20 Oct 2018, 11:23 Reply Quote 0
      • undefined
        T3P3Tony administrators @Urban
        last edited by 20 Oct 2018, 11:23

        @urban from memory some slicers have a setting to do this for you, minimum length or something like that.

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • undefined
          RCarlyle
          last edited by 20 Oct 2018, 21:32

          The Smoothie guys had issues with S3D gcode generating very small segments a while back. They made a segment reduction tool, you may be able to find that online somewhere.

          An S3D update 1-2 years ago also included a minimum segment size too, I think? Are you running a recent version?

          1 Reply Last reply Reply Quote 0
          • undefined
            Urban
            last edited by 23 Oct 2018, 12:42

            I will check slic3r for short segment removal. I have the latest version of Simplify3D, and I have not found such filter there, except to avoid generating shorter infills and similar. I will try to find the Smoothie program.

            There would be som other benefits of filtering G-code since:

            • Many short segments on a strait line could be removed
            • Circular polygons could be transformed to G2 (my servo controller would like that)
            • Elliptical curves (tilted circular cylinders) could be optimised by 4 radii or special G-command

            I am now running with lower accelerations and that removed overruns. The alternative solution is to improve the throughput is to use the M572 Pressure Advanced and a higher top speed.

            undefined 1 Reply Last reply 23 Oct 2018, 17:37 Reply Quote 0
            • undefined
              Phaedrux Moderator @Urban
              last edited by 23 Oct 2018, 17:37

              @urban Slic3r has an option under Print Settings>Advanced for resolution. It claims to simplify high resolution models. I'm not sure how it works though.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                Urban
                last edited by 24 Oct 2018, 09:20

                OK, thank you, I will check that.

                1 Reply Last reply Reply Quote 0
                • undefined
                  Topher @dc42
                  last edited by 4 May 2020, 00:34

                  @dc42 Looks like I am having the same Issue as Urban. Running on a wifi 2

                  Slowest loop: 80.30ms; fastest: 0.06ms
                  Scheduled moves: 22256, completed moves: 22216, StepErrors: 0, LaErrors: 0, Underruns: 0, 1
                  SD card in slot 0: capacity 15.93Gb, free space 15.90Gb, speed 20.00MBytes/sec, cluster size 32kb (sandisk ultra)

                  The machine stopped in the middle of the print. Fans and heaters still going as well as the job clock and file progress etc, just no movement or movement in the status window xyz.

                  undefined 1 Reply Last reply 4 May 2020, 02:41 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @Topher
                    last edited by 4 May 2020, 02:41

                    @LeckieTech Firmware version?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 1 Reply Last reply 5 May 2020, 00:30 Reply Quote 0
                    • undefined
                      Topher @Phaedrux
                      last edited by 5 May 2020, 00:30

                      @Phaedrux it is 2.05.1 Im seeing after running the part again, several times actually. The print keeps freezing but not in the same spot though, in the same area however. I noticed just before it freezes that the extruder jittering back and forth something beyond normal. Its changing directions so fast its probably losing steps. I never heard it the first time around because its mounted on fan noise isolators since all of our printers are running pressure advance of 0.42 so its normal for them to be jittering but not like this. I tried to adjust my X Y acceleration and jerk values and found that lowering the acceleration seems to ease the extruder chaos. I read that DC42 said to increase it. Maybe its not the same issue after all

                      undefined 1 Reply Last reply 5 May 2020, 02:38 Reply Quote 0
                      • undefined
                        bot @Topher
                        last edited by 5 May 2020, 02:38

                        @LeckieTech Are you using cura 4.6 by any chance?

                        *not actually a robot

                        undefined 1 Reply Last reply 5 May 2020, 06:01 Reply Quote 0
                        • undefined
                          Topher @bot
                          last edited by 5 May 2020, 06:01

                          @bot No, I'm using S3D. I've narrowed it down to exactly what is causing this now. When pressure advance is on (mine is set to .42) I'm finding some of the radii in my model are getting broken down into what appears to be way too many moves. So I reduced my model mesh to not allow any triangles larger than 0.08mm without losing too much resolution. That made no difference at all. Its 100% only inside perimeters and infill that causes the crashing, the outside perimeters print without any hesitation. I reduced the infill speed and it seemed to fix the crashes during infill. To stop the crashing on the perimeters I have to reduce my speeds substantially, from 90mm/s down to 40!

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Topher
                            last edited by 5 May 2020, 07:51

                            well, that's one way to do it. Had a spare feeder sitting on the bench plugged in so I'm not wasting precious filament during this pandemic. I started a print and walked away and when I came back it was unplugged on the floor with a short to ground message from DUET! So I guess it's true, you can short a driver, don't hotplug your motors kids.
                            IMG_4014.JPG

                            undefined 1 Reply Last reply 5 May 2020, 07:59 Reply Quote 0
                            • undefined
                              dc42 administrators @Topher
                              last edited by 5 May 2020, 07:59

                              @LeckieTech said in Underruns, ways to reduce?:

                              I started a print and walked away and when I came back it was unplugged on the floor with a short to ground message from DUET! So I guess it's true, you can short a driver, don't hotplug your motors kids.

                              As that motor has a removable cable, it's quite likely that the phases were not paired correctly, and that is what caused the driver to fail.

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

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