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

    Pressure Advance: Discussion for Future Development

    Scheduled Pinned Locked Moved
    Firmware wishlist
    15
    46
    4.1k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      I'm sorry, I don't have time to look at improving PA until I've implemented input shaping. But I've bookmarked this thread so that I can return to it. Pressure advance smoothing is something I was already thinking about.

      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

      CCS86undefined 1 Reply Last reply Reply Quote 4
      • Hergonowayundefined
        Hergonoway
        last edited by Hergonoway

        while we're at it, is there any impact using DAA (Dynamic Acceleration Adjustment: M593 with F != 0) during PA calibration process? DAA is related to acceleration where PA is jerk related, technically one shouldn't alter the other result but... heavy doubt 👀

        or is it better to turnOFF DAA, calibrate PA, then calibrate/turnON DAA ?

        Delta goes BrrrRRRRrrrrrRRRRrrr

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

          DAA might reduce acceleration, so it may affect PA - but only because in reality, PA should not be applied linearly. I think I would be inclined to calibrate DAA first followed by PA, however I haven't tested doing it both ways so I may be wrong.

          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 1
          • pkosundefined
            pkos
            last edited by

            Forgive the reference, but that's the way Klipper does it. First you do input shaping and only then PA.

            Speaking of input shaping - since you are looking at it - are you also considering the option of using an accelerometer (like adxl345) to get the measurements? 🙂

            Voron 2.4 (Duet 3 6HC + 3HC standalone), Voron SW (Duet 3 mini 5+ standalone), Voron Trident (Duet 3 mini 5+ standalone), Voron 0.1

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

              @pkos said in Pressure Advance: Discussion for Future Development:

              Speaking of input shaping - since you are looking at it - are you also considering the option of using an accelerometer (like adxl345) to get the measurements?

              Yes.

              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
              • pkosundefined
                pkos
                last edited by

                Awesome!

                Voron 2.4 (Duet 3 6HC + 3HC standalone), Voron SW (Duet 3 mini 5+ standalone), Voron Trident (Duet 3 mini 5+ standalone), Voron 0.1

                zaptaundefined 1 Reply Last reply Reply Quote 0
                • zaptaundefined
                  zapta @pkos
                  last edited by

                  I run a small experiment, printing calicat at 50mm/s with different PA values while watching the retraction graph on the stepper analyzer.

                  (my printer uses esteps=830 with 1/16 microsteps, such that 10 full steps on the vertical axis represent (10 * 16) / 830 = 0.193mm).

                  With PA = 0 it looks very very clean with normal 0.2mm retractions as set in my slicer (using BMG direct):

                  20210215-202653.png

                  Increasing the PA to 0.08 (my normal, BMG, direct) introduced small intermediate retractions, I presume because of the PA:
                  20210215-201346.png

                  Increasing to PA=0.2 made it really loud and wilde:
                  20210215-201318.png

                  With very rapid shot direction changes such as these ones:
                  20210215-201242.png

                  Martin1454undefined CCS86undefined 2 Replies Last reply Reply Quote 1
                  • DanS79undefined
                    DanS79
                    last edited by

                    I generally make parts where the seam ends up on a radiused corner. And something i've noticed is that the seam will look really good for one sized radius and bad for another of a substantially larger or smaller radius.

                    I assume this is because the PA value was tuned for angular acceleration similar to that encountered while traversing the corner radius.

                    Can anything be done to take X & Y acceleration and jerk into account?

                    1 Reply Last reply Reply Quote 0
                    • Martin1454undefined
                      Martin1454 @zapta
                      last edited by

                      @zapta said in Pressure Advance: Discussion for Future Development:

                      20210215-201242.png

                      NANANANA BATMAN!

                      1 Reply Last reply Reply Quote 2
                      • CCS86undefined
                        CCS86 @dc42
                        last edited by

                        @dc42 said in Pressure Advance: Discussion for Future Development:

                        I'm sorry, I don't have time to look at improving PA until I've implemented input shaping. But I've bookmarked this thread so that I can return to it. Pressure advance smoothing is something I was already thinking about.

                        Thanks for the reply. It's good to know that it is on the radar.

                        I'm wondering if one of my suggestions: not allowing PA to change the print head acceleration, might be developmentally cheap enough to try in a beta release?

                        I still believe that when PA reduces print head acceleration, it could be adding to the issue of mismatched extrusion rate.

                        1 Reply Last reply Reply Quote 1
                        • CCS86undefined
                          CCS86 @zapta
                          last edited by

                          @zapta said in Pressure Advance: Discussion for Future Development:

                          I run a small experiment, printing calicat at 50mm/s with different PA values while watching the retraction graph on the stepper analyzer.

                          Is this the stepper analyzer you are using? https://forum.duet3d.com/topic/21312/low-cost-public-domain-stepper-analyzer-season-2

                          I'm curious if I could at least get a detailed step output from the Duet Maestro to track the extruder dur PA moves.

                          zaptaundefined 1 Reply Last reply Reply Quote 0
                          • CCS86undefined
                            CCS86
                            last edited by

                            I did a test cube, running PA only on perimeters, to see if in the simplest case I could improve sharp corner geometry and/or the seam.

                            Print parameters:

                            • 0.4mm nozzle
                            • 0.15mm layers
                            • 50mm/s perimeters
                            • PA varied by layer from 0.0 to 1.5
                            • Max Accel (mm/sec^2): X: 4000.0, Y: 4000.0, Z: 400.0, E: 10000.0
                            • Max jerk (mm/sec): X: 16.0, Y: 16.0, Z: 4.0, E: 5.0
                            • Print accel (perimeters): 1200 mm/s^2

                            In these photos, hopefully you can see what I can in person. Everything looks best with PA nearest zero. There is a corner bulge, but it is crisp and only affects the area very near the corner. Once PA values rise, the geometry deviation grows away from the corner (especially in the decel region), without actually reducing the corner bulge. The 22mm cube measures 22.10mm near the bottom (low PA), and measures 22.26mm at higher PA values.

                            IMG_8885.jpg

                            IMG_8883.jpg

                            IMG_8882.jpg

                            I'm a little baffled at how PA seems to provide no benefit in this test. But, IMO, the corner deviation growing away from the corner has to do with the print head accel being reduced at higher PA values, and lends some credibility to my suggestion of allowing an option to run the print head "untethered" by PA.

                            Thoughts?

                            DanS79undefined 1 Reply Last reply Reply Quote 0
                            • DanS79undefined
                              DanS79 @CCS86
                              last edited by DanS79

                              @CCS86 said in Pressure Advance: Discussion for Future Development:

                              I'm a little baffled at how PA seems to provide no benefit in this test. But, IMO, the corner deviation growing away from the corner has to do with the print head accel being reduced at higher PA values, and lends some credibility to my suggestion of allowing an option to run the print head "untethered" by PA.

                              Thoughts?

                              Generally you want to do pa tests with only 1 or 2 perimeters and no infill. Also you want the seem in the middle of a side if your slicer will allow that. If you slicer won't allow for it, print a cylinder of a large enough diameter that the print head hits the requested print speed.

                              Imo, based on the last picture you have some serious ringing you need to address before you worry about PA.

                              for reference this is what i have on my railcore running a direct drive E3d V6.

                              M201 X4500 Y4500 Z250 E1500       ; Accelerations (mm/s^2)
                              M203 X24000 Y24000 Z1500 E3600    ; Maximum speeds (mm/min)
                              M566 X1500 Y1500 Z120 E1500       ; Maximum jerk speeds mm/minute
                              

                              Important settings from my various ideamaker pla profiles. 0.4mm nozzle, 0.4mm extrusion width, 0.2mm layer height

                              Vel	Accel	Jerk	PA	flowrate Temperature
                              50	600	1500	0.11	86.2	 200
                              50	480	1200	0.125	86.2	 200
                              50	360	900	0.14	86.2	 200
                              50	240	600	0.155	86.2	 200
                              50	120	300	0.17	86.2	 200
                              					
                              100	3600	1500	0.08	85.8	 205
                              100	2880	1200	0.08	85.8	 205
                              100	2160	900	0.08	85.8	 205
                              100	1440	600	0.08	85.8	 205
                              100	720	300	0.08	85.8	 205
                              					
                              150	4500	1500	0.08	86.0	 220
                              150	3600	1200	0.08	86.0	 220
                              150	2700	900	0.08	86.0	 220
                              150	1800	600	0.08	86.0	 220
                              150	900	300	0.08	86.0	 220
                              
                              1 Reply Last reply Reply Quote 0
                              • CCS86undefined
                                CCS86
                                last edited by CCS86

                                The ringing is a separate thing altogether. I had bumped my XY jerk up a good bit for this PA test to mitigate some of the need for PA. The photos exaggerate the ringing a bit too.

                                How are your flow rates the same for velocities ranging from 50 - 150 mm/s, with fixed layer height and extrusion width?

                                DanS79undefined 1 Reply Last reply Reply Quote 0
                                • DanS79undefined
                                  DanS79 @CCS86
                                  last edited by

                                  @CCS86 said in Pressure Advance: Discussion for Future Development:

                                  How are your flow rates the same for velocities ranging from 50 - 150 mm/s, with fixed layer height and extrusion width?

                                  See the temperature column.

                                  CCS86undefined 1 Reply Last reply Reply Quote 0
                                  • CCS86undefined
                                    CCS86 @DanS79
                                    last edited by

                                    @DanS79

                                    This is getting off topic, but temperature has nothing to do with flow rate ( [layer height] x [extrusion width] x [velocity] ).

                                    DanS79undefined 1 Reply Last reply Reply Quote 0
                                    • DanS79undefined
                                      DanS79 @CCS86
                                      last edited by DanS79

                                      @CCS86 said in Pressure Advance: Discussion for Future Development:

                                      @DanS79

                                      This is getting off topic, but temperature has nothing to do with flow rate ( [layer height] x [extrusion width] x [velocity] ).

                                      I think you are confusing volumetric flow rate with the flow rate adjustment parameter. the flow rate adjustment parameter is Ideamakers terminology for what other slicers call Extrusion multiplier. I maybe should have added a % after.

                                      If volumetric flow rate or temperature is changed, you usually need to adjust the flow rate parameter/Extrusion multiplier, to deal with the increased or decreased pressure in the heat affected zone.

                                      1 Reply Last reply Reply Quote 0
                                      • zaptaundefined
                                        zapta @CCS86
                                        last edited by

                                        @CCS86 said in Pressure Advance: Discussion for Future Development:

                                        I'm curious if I could at least get a detailed step output from the Duet Maestro to track the extruder dur PA moves.

                                        It depends what kind of report rate you want. It does measure the stepper position, including micro stepping 100k times a second but it aggregates and displays it.

                                        Looking at the schematic of the Maestro, each driver has a step and direction inputs. If those are actually used (you can try or ask dc42), than you can connect a logic analyzer (you can find them for cheap), record as much as you want and then analyze the recording with some script.

                                        1 Reply Last reply Reply Quote 0
                                        • CCS86undefined
                                          CCS86
                                          last edited by

                                          Results look the same with XY accel/jerk in a better state of tune. PA=0 for the first 5mm of print, than increasing layer-by-layer from 0 to 1.5:

                                          2d97d613-76ee-475e-9979-93a64486e214-image.png

                                          8a6bdd6b-72a6-4338-922a-d26ef40c6d70-image.png

                                          299d97ba-d088-4164-ac16-202f5200fbd4-image.png

                                          be031aad-3da1-40e0-9c8d-a4bda3a51f21-image.png

                                          1 Reply Last reply Reply Quote 0
                                          • CCS86undefined
                                            CCS86
                                            last edited by

                                            I wanted to give this thread a bump, since it has been a long time.

                                            Hopefully @dc42 will get the time for PA development in the near future with IS provisionally released.

                                            I'd love to beta test some of the ideas I put forward in this thread, and I now have one of @zapta 's stepper analyzers hooked up for some further visual analysis of extruder motion.

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