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

    Slow and weird at 140mm/s on curvy/circular path

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    9
    48
    7.0k
    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.
    • Huguesundefined
      Hugues
      last edited by

      I don't know if it can help, this is a cut and past from my gcode file :

      ; inner perimeter
      G1 X100.300 Y114.322 F6000
      G1 X99.700 Y114.322 E0.0104 F4650
      G1 X99.100 Y114.297 E0.0104
      G1 X98.503 Y114.246 E0.0104
      G1 X97.907 Y114.171 E0.0105
      G1 X97.316 Y114.071 E0.0104
      G1 X96.729 Y113.946 E0.0104

      Segment are really small…

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        So the segments are 0.6mm long. At 100mm/sec that's 167 segments per second. The current firmware tries to freeze moves 1/8 sec before they are needed, so it wants to freeze 20 moves. But the length of the move queue is only 20 moves in firmware 1.14 and earlier, and 30 in 1.15beta1. That explains the underruns.

        I've changed the code to freeze at most half of the queue capacity, and increased the queue capacity further to 40 moves. Please try the new beta at https://dl.dropboxusercontent.com/u/19369680/DuetWiFiFirmware.bin. Let me know if it improves the quality at high speed and/or decreases the underrun count.

        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
        • Huguesundefined
          Hugues
          last edited by

          AMAZING ! it's working and now really smooth !
          MaxReps: 8, StepErrors: 0. Underruns: 0

          I pushed the printer to 140 mm/s and no visual degradation, at 200 it jerk.

          Thanks !!!! You're a great master !

          1 Reply Last reply Reply Quote 0
          • botundefined
            bot
            last edited by

            Oh sweet.

            Just a note, I think it might have worked had he replaced the MOTION steppers with 1.8 degrees, not just the extruder stepper. 😉 A firmware fix is always a nicer solution.

            Edit: Though, I guess I didn't understand the problem fully. Step generation wasn't the issue, it was merely the lookahead queue? Or was it a combination of both?

            *not actually a robot

            1 Reply Last reply Reply Quote 0
            • elmoretundefined
              elmoret
              last edited by

              The problem was lookahead, in other words the g-code segments were very short and the queue was starving.

              Changing the steppers or microstepping would not have changed that.

              1 Reply Last reply Reply Quote 0
              • Huguesundefined
                Hugues
                last edited by

                The improvement is really, and as my english is not really fluent i took a short moovie, inner path are at 100mm/s in first moovie part and speed increase to 150 % in second part.
                https://youtu.be/gBk3flOt3-w

                I just notice that when you increase speed by the web the retraction and prime are also afected, mainly the prime, result is a bad seam where speed change because you will appear a big blob.

                1 Reply Last reply Reply Quote 0
                • T3P3Tonyundefined
                  T3P3Tony administrators
                  last edited by

                  Indeed, however in theory you could make gcode with even smaller segments or go even faster. I think that either slicers or the model being sliced should work at the resolution of the type of printer being sliced for.

                  For reference I have used programs like EasyFit (no cost) to drop the number of triangles on really detailed models.

                  www.duet3d.com

                  1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators
                    last edited by

                    Cubexupgrade, our posts crossed.

                    you are right the speed slider on the web interface increases all speeds including extrude and retraction speeds. this can have bad effects on extruders which don't like going 1.5x faster for example, retraction skips and then you get a huge over extrude when the next extrude command is issued. I find the speed slider useful for testing speeds but always re-slice t the faster speed for actual prints to keep my retraction speed constant.

                    www.duet3d.com

                    1 Reply Last reply Reply Quote 0
                    • Huguesundefined
                      Hugues
                      last edited by

                      Thanks for the informations, i didn't know this soft. My main workflow are rhinoceros3d and fusion360 and they are not really good (or me) for mesh generation.

                      One thing i didn't understand is why we cannot send a STEP file into a slicer to generate a gcode ++…. Maybe in few years !

                      1 Reply Last reply Reply Quote 0
                      • Huguesundefined
                        Hugues
                        last edited by

                        Thanks for the clarification about the speed slider, i noticed this but was not sure.

                        1 Reply Last reply Reply Quote 0
                        • RCarlyleundefined
                          RCarlyle
                          last edited by

                          Incidentally, I printed a stress test file yesterday and got 50,000 underruns. I'll reprint with new firmware before I post the ugly results 🙂

                          1 Reply Last reply Reply Quote 0
                          • RCarlyleundefined
                            RCarlyle
                            last edited by

                            I ran out of filament during the re-print, but after 2.5 hours there were 0 underruns, so I think that specific problem is fixed. And I've discovered that I had some slightly loose arm joints, so I can't conclude much from the print quality issues that I was seeing. Will attempt another go at it.

                            1 Reply Last reply Reply Quote 0
                            • Huguesundefined
                              Hugues
                              last edited by

                              You bit the record ! 50 000 ! Are you slicing a dental model ? 😉
                              For me motion is now really clean, i waiting my PT100 to get clean print, i installed an old thermistor that i don't all informations and i have wave on my print evry 10mm…

                              1 Reply Last reply Reply Quote 0
                              • dc42undefined
                                dc42 administrators
                                last edited by

                                @T3P3Tony:

                                you are right the speed slider on the web interface increases all speeds including extrude and retraction speeds. this can have bad effects on extruders which don't like going 1.5x faster for example, retraction skips and then you get a huge over extrude when the next extrude command is issued. I find the speed slider useful for testing speeds but always re-slice t the faster speed for actual prints to keep my retraction speed constant.

                                I could modify the code so that moves that only involve extrusion or retraction and possibly Z movement (no X or Y movement) are not affected by the speed slider. Would this be a good idea?

                                However, there are already two ways round this issue:

                                1. Even when you use the speed slider, the speed limits set by M203 are respected. So you can set the E parameter in your M203 command to the maximum extrude or retract speed that you want to use. Of course, this will also limit the speed at which you can load or unload filament.

                                2. Some slicers have a "use firmware retraction" option. If you use this, then you define the retraction amount and speed using M207 and the speed is not affected by the slider. See http://reprap.org/wiki/G-code#M207:_Set_retract_length.

                                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
                                • Huguesundefined
                                  Hugues
                                  last edited by

                                  It's a good idea to limit this slider effect to XY, but extruder have to follow only while printing and not during retraction. As you described the problem is while retraction or prime extrude for bowden setup and i don't remember if slicer comment those tiny part.

                                  I never used firmware retract but it can be a good solution to manage this slider. Is it better to use it vs slicer ? And is it necessary to use it with pressure advance control M572 ?

                                  1 Reply Last reply Reply Quote 0
                                  • Huguesundefined
                                    Hugues
                                    last edited by

                                    Hi,
                                    A small update about high speed print, i get this statue in 4h30, 220mm height at 0.12 mm layer height.
                                    I setup the speed near 200 mm/s +-20 % . and 10 % infill, 3 loop.

                                    S3D announced 2h40, quicker than the reality (it surely forget retraction) but the duet handle quite well this speed but on really sharp curve there is some artifacts.

                                    1 Reply Last reply Reply Quote 0
                                    • T3P3Tonyundefined
                                      T3P3Tony administrators
                                      last edited by

                                      Hi Cubexupgrade

                                      can you embed a larger version please!

                                      www.duet3d.com

                                      1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators
                                        last edited by

                                        @cubexupgrade:

                                        I never used firmware retract but it can be a good solution to manage this slider. Is it better to use it vs slicer ? And is it necessary to use it with pressure advance control M572 ?

                                        The main reason I added firmware retraction is to handle mixing hot ends such as the Diamond. With these, all the filaments need to be retracted the same amount, regardless of the current mixing ratio. Firmware retraction in RRF does that.

                                        Use of pressure advance is entirely separate. However, if you use a lot of pressure advance then you should reduce retraction, because at high printing speeds pressure advance will already do some retraction at the end of an extruding move that is followed by a non-extruding move.

                                        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
                                        • Huguesundefined
                                          Hugues
                                          last edited by

                                          Sorry i'm little newbie with this kind of code…

                                          I will post more picture, the back is clean but the front less cause it have lot of curve.

                                          I will do more print of this with less mesh to have a reference.

                                          Thanks DC42 for your explanation. I will do some test.

                                          1 Reply Last reply Reply Quote 0
                                          • Huguesundefined
                                            Hugues
                                            last edited by

                                            Some better pictures :

                                            https://drive.google.com/folderview?id=0B3QhjlM2HLWsa0RZbXNnS29tMTA

                                            I didn't setup a minimum layer time for cooling.

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