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

Guide for finding the values for M592? (non-linear extrusion)

Scheduled Pinned Locked Moved
Tuning and tweaking
5
13
2.8k
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.
  • undefined
    Alex.cr
    last edited by 11 Jul 2018, 02:05

    @kraegar I just built a spreadsheet for people to use. It is very rough but it should work. Worth a shot at least.

    Enter your own values in the yellow highlighted boxes. See the equation in the graph to get A and B. Basic instructions are in the spreadsheet.

    0_1531274672606_cap-1.JPG

    0_1531274677411_nonlinear extrusion sheet.xlsx

    Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

    undefined 1 Reply Last reply 11 Jul 2018, 23:57 Reply Quote 1
    • undefined
      kraegar
      last edited by 11 Jul 2018, 12:50

      Thanks @Alex-cr Alex, I'll test it out!

      Co-Creator of the RailcoreII CoreXY printer
      https://www.thingiverse.com/thing:2407174

      1 Reply Last reply Reply Quote 0
      • undefined
        Phaedrux Moderator @Alex.cr
        last edited by 11 Jul 2018, 23:57

        @alex-cr So I tried the spreadsheet out and it works. Though when I tested the values produced they seemed to give unexpected results when I reran the extrusion test with non-linear extrusion enabled. I would have expected the extruded amounts to be closer to the requested amount across the range of speeds requested, however I found that at lower speeds I was getting over extrusion and at higher speeds still under extrusion. At that point it was 1am and I gave up testing, so I'll have to give it another try.

        But just as a sanity check, here is how I was gathering my data points. I used the macro found in the other macro repository thread. I measured 50mm with a mark on the filament before it entered the extruder for each pass of the test and measured how much was left. Results seemed to be consistent with expectations: 1mm/s=50mm, 2mm/s=50mm, 3mm/s=49, 4mm/s=47, 5mm/s=46.5 6mm/s=skipping. and the values the sheet provided were very close to those posted by others.

        What should I be seeing after it's enabled?

        If Iget a chance later tonight I'll remeasure and do some test prints. At about 200mm/s speed I can notice some under extrusion in solid fill, so I'm hoping this will compensate, but it's not really worth it if it causes over extrusion at lower speeds.

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 1 Reply Last reply 14 Jul 2018, 04:24 Reply Quote 0
        • undefined
          DocTrucker
          last edited by DocTrucker 7 Dec 2018, 04:36 12 Jul 2018, 04:35

          Your spread sheet is very similar to mine! Spookily so.

          https://forum.duet3d.com/topic/5588/non-linear-extrusion/6

          I fell into the same trap trying to verify the non linear extrusion. Some where in the gcode references or non linear extrusion guides it says that it is not applied to non travel moves.

          Also, don't do what I did next which has to do a high feedrate test with a fraction of a mm move in one of the axis! If you do that the feed rate is only relating to the motion axis and not the extrude and so it attempts to cram 100mm of filament through the hot end in a fraction of a second! Life is generally slow and quiet while calibrating extruder. Suddenly this makes it loud and fast! 😄

          I requested a feature to allow us to allow non-linear extrusion while stationary but don't think there was much comment.

          Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

          undefined undefined 2 Replies Last reply 12 Jul 2018, 07:18 Reply Quote 2
          • undefined
            DocTrucker
            last edited by 12 Jul 2018, 04:41

            On a recent go with the bondtech extruder there was a wobble at the end of the graph before it curved up significantly again. I'm wondering if the wobble wasn't an experimental error but effects like shear thinning of the melt coming into effect before the hotend begins to show signs of not coping and begining to under melt.

            Will revisit this when I get the home printers running after finishing some CAD - reverse engineering the Ormerod 2 STL files.

            Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

            1 Reply Last reply Reply Quote 0
            • undefined
              DocTrucker
              last edited by 12 Jul 2018, 04:43

              Looking forward to this uber filament monitor as I'm guessing I could calibrate that to give a much better reading than me with my 150mm rule with 0.5mm divisions! 🙂

              Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators @DocTrucker
                last edited by 12 Jul 2018, 07:18

                @doctrucker said in Guide for finding the values for M592? (non-linear extrusion):

                I requested a feature to allow us to allow non-linear extrusion while stationary but don't think there was much comment.

                The problem with doing this is that it would result in massive over-extrusion for re-prime moves.

                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

                undefined 1 Reply Last reply 12 Jul 2018, 08:55 Reply Quote 0
                • undefined
                  DocTrucker @dc42
                  last edited by 12 Jul 2018, 08:55

                  @dc42 Just looking for a one command scope flag for G1 that can be set like the one that lets you move the axis before home.

                  Moving the axis to trick the machine into non-linear extrusion isn't great as the axis accelerations can muddy the water in terms of getting good results.

                  Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                  undefined 1 Reply Last reply 12 Jul 2018, 10:36 Reply Quote 0
                  • undefined
                    dc42 administrators @DocTrucker
                    last edited by 12 Jul 2018, 10:36

                    @doctrucker said in Guide for finding the values for M592? (non-linear extrusion):

                    Moving the axis to trick the machine into non-linear extrusion isn't great as the axis accelerations can muddy the water in terms of getting good results.

                    Not if you move them very slowly.

                    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
                    • undefined
                      Alex.cr @DocTrucker
                      last edited by Alex.cr 14 Jul 2018, 04:10

                      @doctrucker said in Guide for finding the values for M592? (non-linear extrusion):

                      Your spread sheet is very similar to mine! Spookily so.

                      Great minds think alike? or only so many ways to skin a cat I guess.

                      ...And I saw your graph in the post...

                      Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Alex.cr @Phaedrux
                        last edited by Alex.cr 14 Jul 2018, 04:24

                        @phaedrux said in Guide for finding the values for M592? (non-linear extrusion):

                        @alex-cr So I tried the spreadsheet out and it works. Though when I tested the values produced they seemed to give unexpected results when I reran the extrusion test with non-linear extrusion enabled. I would have expected the extruded amounts to be closer to the requested amount across the range of speeds requested, however I found that at lower speeds I was getting over extrusion and at higher speeds still under extrusion. At that point it was 1am and I gave up testing, so I'll have to give it another try.

                        But just as a sanity check, here is how I was gathering my data points. I used the macro found in the other macro repository thread. I measured 50mm with a mark on the filament before it entered the extruder for each pass of the test and measured how much was left. Results seemed to be consistent with expectations: 1mm/s=50mm, 2mm/s=50mm, 3mm/s=49, 4mm/s=47, 5mm/s=46.5 6mm/s=skipping. and the values the sheet provided were very close to those posted by others.

                        What should I be seeing after it's enabled?

                        If Iget a chance later tonight I'll remeasure and do some test prints. At about 200mm/s speed I can notice some under extrusion in solid fill, so I'm hoping this will compensate, but it's not really worth it if it causes over extrusion at lower speeds.

                        Have you actually printed a part and seen the results?

                        I am not an expert on the nonlinear extrusion, just trying to help out where I can.

                        What is your steps/mm. What were A and B that got calculated out?

                        Let's go through the exercise and look at the sanity of the values.

                        Scratch that...The final correction should be independent of extrusion steps. Your values are huge! Way larger than I would expect would be required.

                        Did you get these numbers?
                        A=0.4343
                        B=0.2357

                        What material are you printing? What type of extruder? Temp? I think you might be up against a serious nozzle pressure issue. Maybe that's why you are skipping steps at 6mm/s?

                        You can also try editing the speeds to achieve more values to plug into the equation. 2.5mm/s, 3.5mm/s, etc...

                        First thought is increase your nozzle temp by 4-5C and see what happens

                        Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                        undefined 1 Reply Last reply 14 Jul 2018, 05:15 Reply Quote 0
                        • undefined
                          Phaedrux Moderator @Alex.cr
                          last edited by 14 Jul 2018, 05:15

                          @alex-cr I haven't printed anything yet as I wasn't sure of my results and have been trying to get some ringing under control first.

                          My values were: A=0.1214 B=0.1786

                          I tested using PLA at 210c on a Titan Aero with 0.4 hardened steel nozzle. I've never had skipped steps that I could tell during normal prints.

                          I'll have to run the tests again with smaller intermediate values as you suggest. Get some more data points and then actually try and print something.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • undefined Alex.cr referenced this topic 15 Jan 2022, 17:07
                          • undefined Alex.cr referenced this topic 15 Jan 2022, 17:07
                          • undefined Alex.cr referenced this topic 15 Jan 2022, 17:16
                          • undefined Alex.cr referenced this topic 15 Jan 2022, 17:16
                          • undefined RomeoFox referenced this topic 23 Feb 2022, 09:59
                          • undefined RomeoFox referenced this topic 23 Feb 2022, 10:00
                          • undefined RomeoFox referenced this topic 23 Feb 2022, 10:00
                          • undefined RomeoFox referenced this topic 23 Feb 2022, 10:03
                          • undefined RomeoFox referenced this topic 23 Feb 2022, 10:04
                          • undefined RomeoFox referenced this topic 23 Feb 2022, 10:04
                          • undefined RomeoFox referenced this topic 23 Feb 2022, 11:10
                          11 out of 13
                          • First post
                            11/13
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA