Strange and undesirable pressure advance behaviour



  • those are extreme but so far in my testing they dont hurt. I am currently running at the other end with very low settings (but before with high settings) no reason other than learning how the settings make my machine work.

    There are two ways you can approach things…. open those settings all the way up with high values so they dont interfere with slicer settings or open the slicer settings all the way up so they dont interfere with the printer settings.

    I prefer to have my slicer settings opened up so i can see direct affect of changing the printer settings. I see a number of people running with very low accell and jerk settings then printing at 120mm/s but reality is they are being limited by their accell and jerk.

    I should warn though that this is printer specific, if you have a heavy xy carriage then high jerk settings could sound pretty loud and nasty 🙂 my carriage is really light and some settings can make it pretty loud.

    But by all means play around and find the best mix of speed and quality that matches your printers abilities. You wont know what it can do until you push it.



  • Your Z maximum speed seems really low to me? Have you tried moving that up then jogging z up and down with the controls to see what the best speed it can achieve is?


  • administrators

    Z settings for speed and acceleration vary a lot between printers depending on screw pitch and hence steps/mm. My Cartesian printer has 4000 steps/mm and similar low maximum speed and acceleration values.



  • @dc42:

    Ian, please can you:

    1. Run M122 after or during this print and see whether the Step Error count is nonzero after you observe that behaviour. That count gets reset to zero after each time you run M122.

    2. Upgrade to 1.19beta8 and see if the problem goes away. Caution: the board MAC address will change, so if the Duet is getting its IP address via DHCP then the IP address will change.

    never heard of MAC changing via firmware change, Are you sure on that? I know you can spoof a MAC but did not think you could actually change them. all but last octet is for manufacturer ID if i recall correctly, thought that was hard coded like serialized CPU's?



  • @dc42:

    Z settings for speed and acceleration vary a lot between printers depending on screw pitch and hence steps/mm. My Cartesian printer has 4000 steps/mm and similar low maximum speed and acceleration values.

    Interesting, on my setup I have an 1.8 degree stepper with M8 1.25 pitch lead screw… the max speed is 400 it does not matter what I set the acceleration to it can be 10 or it can be 400 there does not appear to be any effect on achievable speed. I have played around with it alot trying to get faster speeds.

    But as far as the other portion of your comment, currently I have 2560 steps per mm, if I was to change out to a 0.9 degree stepper which would become 5120.00 steps per mm, does that mean I would effectively have to cut my speed in half to 200?

    Right now as it is printing 64mm/s there is a slight pause for layer change printing a 40mm single wall cube, I would like to eliminate this if possible. What would you recommend stepper motor, lead screw size and pitch that would allow Z to keep up with the XandY axis?



  • @Whitewolf:

    …...............
    Interesting, on my setup I have an 1.8 degree stepper with M8 1.25 pitch lead screw... the max speed is 400 it does not matter what I set the acceleration to it can be 10 or it can be 400 there does not appear to be any effect on achievable speed. I have played around with it alot trying to get faster speeds.

    ............

    How far are you moving Z? To reach a speed of 400mm/sec at an acceleration of 400mm/sec^2 will take 1 second and the axis will need to travel 200mm in order to reach that speed. If you have the acceleration set to 10 mm/sec^2 it will take 40 seconds to get up to 400mm/sec and the bed will need to move 8,000 mm to reach that speed (that's a big printer). I don't advise you try it but if you set acceleration to something like 2,000mm/sec^2 then you'd reach 4000mm/sec in about 0.2 seconds and Z will move 40mm getting up to that speed.



  • @deckingman:

    @Whitewolf:

    …...............
    Interesting, on my setup I have an 1.8 degree stepper with M8 1.25 pitch lead screw... the max speed is 400 it does not matter what I set the acceleration to it can be 10 or it can be 400 there does not appear to be any effect on achievable speed. I have played around with it alot trying to get faster speeds.

    ............

    How far are you moving Z? To reach a speed of 400mm/sec at an acceleration of 400mm/sec^2 will take 1 second and the axis will need to travel 200mm in order to reach that speed. If you have the acceleration set to 10 mm/sec^2 it will take 40 seconds to get up to 400mm/sec and the bed will need to move 8,000 mm to reach that speed (that's a big printer). I don't advise you try it but if you set acceleration to something like 2,000mm/sec^2 then you'd reach 4000mm/sec in about 0.2 seconds and Z will move 40mm getting up to that speed.

    that number is from the config, last time i checked it was mm/m not mm/s 400mm/m comes to roughly 6.7mm/s which is the max speed i can get my z to move without stalling.

    It does not matter what i set accell to… it does not change the achievable speed... my z is a direct driven 1.25 pitch lead screw at 2560 steps per mm.

    I have tested it many different ways. I have set accell and jerk to 10 and i have set them all the way up to 400 doing 15, 20, 25 and so on.... those numbers have 0 affect on max speed on my systsem.

    I cannot move my Z faster than 400mm/m

    right now my accell and jerk for z are set at 3600 and max speed at 400 again absolutely no affect accept snappier layer changes which are still piss poor IMO



  • Yes, sorry. Trying to help you out here but struggling to understand the issue.

    So you've limited the maximum speed to 400mm/min (6.67mm/sec) because you say the motors stall at any higher speed. So assuming the move is longish, from rest we accelerate up to maximum speed (in this case 6.67 mm/sec), maintain that speed, then decelerate down to zero. If the move is short, then it won't have time to reach maximum speed before it slows down. But you say changing the acceleration doesn't affect the speed. So from that I'm assuming that you are unable to get up to 6.67mm/sec (the maximum that you have set). Obviously, changing acceleration cannot alter the maximum speed limit - only the time it takes to get up to that speed.

    Now at an acceleration rate of 10mm/sec^2, to get up to 6.67 mm/sec will take 0.667 secs and Z will have to move 2.224 mm. So if your Z move is less than 2.224 mm, then speed will indeed be limited by the acceleration. However, you say that you have tried accelerations up to 400m/sec^2 and see no difference. But to get up to 6.67mm/sec at an acceleration rate of 400mm/sec^2 would take 0.017 seconds and the Z axis will only need to move 0.056 mm to get up to that speed. So I'd have thought that it would be an obvious difference. Indeed you have indicated that layer change moves are snappier which is what we would expect to see because the time taken to get up to speed is very much shorter. So I'm even more confused.

    If it's long moves that you are looking at, then at an acceleration of 10mm/sec^2 it'll take 0.667 seconds to get up to 6.67 mm/sec and 0.667 second to slow down at the end. During each of these phases Z will move 2.224 mm so a total of 4.448mm. If you do say a 100mm Z move, then you'll have 95.552mm at 6.67mm/sec =14.32 seconds plus 1.334 seconds (0.667 at each end ) = 15.664 seconds. Changing the acceleration up to 400mm/sec^2 will reduce the time of the acceleration/deceleration phases at each end to 0.017 secs and the distance to 0.056mm. So you'll have 99.888 mm at 6,67 mm/sec = 14.97 sec plus 0.034 (0.017x2) = 15.01 secs. So that drastic change in acceleration doesn't have much effect on the overall time it takes to do a longish move because most of the move is limited by the maximum speed you have set, and the acceleration/deceleration phases are comparatively very short both in terms of time and distance.

    I can't help but get the feeling that you are somehow expecting the acceleration to increase the maximum speed beyond the maximum limit that you have set, but I've probably misunderstood something. In which case, please enlighten me further on what the actual issue is and how it manifests itself.



  • @FrankNPrinter:

    never heard of MAC changing via firmware change, Are you sure on that? I know you can spoof a MAC but did not think you could actually change them. all but last octet is for manufacturer ID if i recall correctly, thought that was hard coded like serialized CPU's?

    The way the MAC address is calculated changes with 1.19, with earlier versions this was in config.g but now it is done automatically so it will likely not match what you already have in your config, and your router will assign it a new IP address since it thinks it is a different device. See here for details.

    Cheers,
    Ben.


Log in to reply