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

    Extruder velocity profile during retract or prime

    Scheduled Pinned Locked Moved
    General Discussion
    4
    5
    751
    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.
    • burtoogleundefined
      burtoogle
      last edited by

      I realise that I could get the answer to this question by looking at the code but I hope it's a quick question to answer.

      When doing a retract or prime with no axis movement does the extruder velocity ramp up and down at the extruder acceleration rate with possibly a constant velocity segment in the middle depending on whether the extruder velocity is reached? If not, what is the profile? Let's assume the extruder jerk is 0.

      Thanks

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

        If pressure advance is set to zero, it does exactly what you say.

        Edit: pressure advance is not applied to retract or prime moves, so it always does exactly what you say.

        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
        • burtoogleundefined
          burtoogle
          last edited by

          Thanks.

          1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman
            last edited by

            Just as an exercise, I put some numbers to this. The time to reach a given speed is (Vf-Vi)/a where Vf is the final velocity, Vi is the initial velocity (zero in the case) and a is the acceleration. So in my case I have extruder acceleration set to 2,000mm/sec^2 and have firmware retraction set to 2400 mm/min = 40mm/sec. Putting those numbers into the formula reveals that the time to reach 40mm/sec is 0.02 secs. To calculate the distance moved while accelerating s=1/2at^2 = 0.4mm. So if the retraction amount is less than 0.8mm, it'll be either accelerating or decelerating. Hmm, never thought about that before….......

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            1 Reply Last reply Reply Quote 0
            • DjDemonDundefined
              DjDemonD
              last edited by

              Just coming at this the other way if you want the extruder to retract at 2000 mm/min set this as your e jerk value. I appreciate this might cause a stall depending on the extruder/gearing and you might have to use a lower value but at least you have control over it. I'm using a cable driven extruder on one machine and have to use low jerk and acceleration to get the motor to reverse and turn at high rpm (40:1 gearing) so I expect it never reaches the intended retract speed. It's irrelevant as it retracts enough to prevent blobs and strings.

              Simon. Precision Piezo Z-Probe Technology
              www.precisionpiezo.co.uk
              PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

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