Jump to content

Merlin Jerk Speed


Recommended Posts

Posted (edited) · Merlin Jerk Speed

I'm going through the Merlin code to get a complete understanding of its control over the steppers.

I believe JERK is defined as the instantaneous allowed change in velocity (mm/sec) that can ignored at a junction so that the speed does not have to go all the way to zero.

Merlin has the default XY jerk defined as 20mm/sec.

Merlin has the default XY acceleration defined as 4000 mm/sec2.

Kinematics states that v(i) = sqrt(((v(i-1) * (v(i-1)) + (2 * Acc))

If we want to see the delta change in speed (v) we can choose v(i-1) to be 0 therefore

DeltaV = sqrt(2 * Acc);

Placing the Merlin values in .... DeltaV = sqrt(2 * 4000) = 89 mm/sec which is about 4.5 times the default Jerk value.

My question is .... if Jerk is defined as the maximum change in speed that can occur at a junction and be ignored --- then should it not also be the maximum change in speed allowed during acceleration or deceleration?

If at a junction you don't want more than an change in Jerk speed (20mm/sec) then why should acceleration be allowed to produce a change of speed of 89mm/sec and be acceptable?

Thanks

Edited by Guest
  • Like 1
Link to post
Share on other sites

Posted · Merlin Jerk Speed

Reprint from Merlin code:

// The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)

#define DEFAULT_XYJERK 20.0 // (mm/sec)

#define DEFAULT_ZJERK 0.4 // (mm/sec)

#define DEFAULT_EJERK 5.0 // (mm/sec)

  • Link to post
    Share on other sites

    Posted (edited) · Merlin Jerk Speed

    I always thought that jerk was the acceleration of the acceleration.

     

    Interesting math either way...

    I found this (fairly old) discussion on the RepRap forum.

    As far as i understand, "jerk" is the derivation of acceleration (mathematically)...

    ...but... ... in Marlin it is not implemented this way (strictly speaking).

    I may be wrong, but i think it's simply the maximum change of speed at which Marlin joins two segments in the planner.

    Edit:

    You should also take a look at this thread - with a detailed explanation from @gr5.

    Edited by Guest
  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
          • Like
        • 10 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...