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

RRF 3.4 input shaping preview available

Scheduled Pinned Locked Moved
Beta Firmware
25
205
25.2k
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
    dc42 administrators @skrotz
    last edited by dc42 7 Nov 2021, 18:51 11 Jul 2021, 18:40

    @skrotz said in RRF 3.4 input shaping preview available:

    @dc42 I mis-typed, I meant that PA clunked unless I took it down to 0.04 (not 0.4), reducing it from my usual 0.12 value. Sorry about that.

    Interesting, my Duet WiFi powered delta normally runs at PA 0.2 and has been fine. My tool changer didn't have the correct extrusion with the earlier firmware, but that uses a tool board and it is running fine now with the later firmware.

    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 11 Jul 2021, 18:47 Reply Quote 0
    • undefined
      skrotz @dc42
      last edited by skrotz 7 Nov 2021, 18:49 11 Jul 2021, 18:47

      @dc42 definitely some extruder weirdness for me that I don't get on 3.3.

      I only had PA on briefly (the clunking is disconcerting) on a test print of a calibration cube but did notice this from M122:

      === Move ===
      DMs created 83, segments created 35, maxWait 135339ms, bed compensation in use: mesh, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 11522, completed moves 11522, hiccups 511, stepErrors 2, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1

      my extruder motor is the standard LDO one in a filastruder railcore kit, used as a direct drive.

      undefined 1 Reply Last reply 11 Jul 2021, 18:49 Reply Quote 0
      • undefined
        dc42 administrators @skrotz
        last edited by dc42 7 Nov 2021, 18:50 11 Jul 2021, 18:49

        @skrotz thanks.The step errors are not right. Please can you connect a laptop to the Duet via USB, load a terminal emulator (e.g. YAT), and send M111 S1 P4. That will enable Move debugging. Then run that print. For each step error recorded you should get a few lines of DDA and DM printout in the terminal. Post those lines here.

        Also please post the print file and your config.g.

        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 2021, 04:54 Reply Quote 0
        • undefined
          Argo @dc42
          last edited by 11 Jul 2021, 20:52

          @dc42

          Using the same frequency with ZVDD or other shaper is giving me worse results. I don‘t think I can just use the measured ringing frequency with shapers other than ZVD?

          1 Reply Last reply Reply Quote 0
          • undefined
            skrotz @dc42
            last edited by 12 Jul 2021, 04:54

            @dc42 it took a bit of finagling to get things hooked up to the PC, but so far even though I heard the clunking it didn't output anything on the terminal at that point even with the debug enabled. I may be able to try again later, is there anything else I could/should enable? an M122 after stopping showed "hiccups" but no stepper errors at that point. I only did a small amount of the print though, I had to stop as I think I injected something via the terminal at the wrong time and caused some problems.

            I've included my config file and the gcode I'm printing.

            config.g

            CFFFP_xyzCalibration_cube_195.gcode

            undefined 1 Reply Last reply 12 Jul 2021, 06:46 Reply Quote 0
            • undefined
              dc42 administrators @skrotz
              last edited by dc42 7 Dec 2021, 06:46 12 Jul 2021, 06:46

              @skrotz please can you try again, this time wait until M122 shows some step errors, as it did in your previous M122 that you posted here.

              Some extduders do sound clunky when used with pressure advance, however it shouldn't be different in the latest 3.4 with input shaping compared to 3.3.

              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 2 Replies Last reply 12 Jul 2021, 16:34 Reply Quote 0
              • undefined
                OwenD
                last edited by 12 Jul 2021, 13:23

                @dc42
                Just an update.
                Upgraded to the latest binary.
                This time the print completed with no apparent missed step issues, or clunking including during sectioins using DAA.
                No step errors in the M122 report, but a couple of hiccups.

                M122
                === Diagnostics ===
                RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.0beta1-inputshaping (2021-07-11 11:04:56) running on Duet WiFi 1.02 or later
                === MainDDARing ===
                Scheduled moves 34420, completed moves 34420, hiccups 4, stepErrors 0, LaErrors 0, Underruns [0, 0, 6], CDDA state -1
                === AuxDDARing ===
                Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1

                Nothing of note shows up in the M111 debug log.

                Too late in the night to evaluate the results in regards to print quality of each mode.

                1 Reply Last reply Reply Quote 0
                • undefined
                  skrotz @dc42
                  last edited by 12 Jul 2021, 16:34

                  @dc42 There's definitely different behavior between 3.3 and 3.4 - no clunks on 3.3. I need to do a quick print on 3.3 with PA disabled to double check some strangeness I see with same on 3.4, then will try and collect the data again, I think I sorted out what went wrong previously with my 3.4 print (user error basically).

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    skrotz @dc42
                    last edited by 12 Jul 2021, 20:02

                    @dc42 ok I did a simple print of the xyz calibration cube on 3.3 with PA disabled, and it looks clean, but the same print on 3.4 shows some zits or bubbles in spots that don't show in the 3.3 print - it looks like it is overextruding sometimes before it changes direction, they occur in several spots on the "X" of the calibration cube. They are consistent in where they occur in 3.4, multiple prints show them in the same places. Something is definitely wonky with extrusion in general for me in 3.4, and made worse when PA is enabled.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Adrian52
                      last edited by 13 Jul 2021, 10:40

                      I get extruder clunking on the 11/7 3.4 on delta Duet2wifi not seen with 3.3. The 3.4 gives 1941 hiccups over 22457 moves (no step errors) ; under the same conditions 3.3 gave 0 hiccups. This is printing the first 25mm of the ringing stl.

                      undefined 1 Reply Last reply 13 Jul 2021, 11:48 Reply Quote 0
                      • undefined
                        dc42 administrators @Adrian52
                        last edited by dc42 13 Jul 2021, 11:48

                        @adrian52 and @skrotz, thanks for your feedback. Please provide your config.g files and the gcode files that you printed. Also tell me what input shaping if any you were using.

                        @skrotz are you quite certain that you had PA disabled in the 3.3 print? Excess extrusion when changing direction without PA is common.

                        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 undefined 4 Replies Last reply 13 Jul 2021, 12:58 Reply Quote 0
                        • undefined
                          Adrian52 @dc42
                          last edited by 13 Jul 2021, 12:58

                          @dc42 The gcode was generated by superslicer and has M593 commands embedded to change the shaping through none, zvd, zvdd, ei2, ei3 and daa at 10 mm intervals. The config used actually had PA set to 0.5, and M593 set to "none".
                          20210713 config.g.txt
                          ringing_tower 10mm bands incl daa 210 195 30mm_sec.gcode

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            skrotz @dc42
                            last edited by 13 Jul 2021, 19:12

                            @dc42 Pretty certain PA was off, I used the console to set the S value to 0 for it to disable. I see bulging corners and telltale signs of no PA on the print, but there's the occasional blips that don't show on the same print with no PA on 3.3.

                            I may have had some input shaping enabled though on the 3.4 PA disabled print, I can do another quick test and super verify turning off PA and input shaping to see if the "blips" go away doing that. I'll try and capture some more debugging data soonish also.. getting things hooked up to a PC is a bit tricky, I should get a longer USB cable to be able to do it more easily on my setup..

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              JenPet @dc42
                              last edited by JenPet 16 Jul 2021, 14:39

                              @dc42 Hi I still have the issue that the extruder extrudes not enought filament at the end of of a line/move. This happens only when PA (0.08) is enabled. Im printing with input shaper ZVDD F55.0. I thing there is still a bug in firmware. I use Duet2Wifi and extruder is connected to main board.

                              undefined 1 Reply Last reply 29 Jul 2021, 14:47 Reply Quote 0
                              • undefined
                                skrotz @dc42
                                last edited by skrotz 17 Jul 2021, 18:15

                                @dc42 I was able to do a 3.4 print with PA disabled and input shaping completely disabled (My previous 3.4 print with PA off had DAA enabled still, as that was my default start up) - with no PA and no input shaping, there are no zits or bubbles, things look perfect. M122 reports no stepper hiccups or errors.

                                So it seems confirmed that input shaping is causing some extrusion issues, and they are amplified by PA.

                                update: I enabled input shaping (ei2 f41 s0.10) and got the zits/blobs, same location each time. PA still off. M122 reported 4 step errors, 0 hiccups. Next I'll try and do the print with the debugging enabled and catch the step errors.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  sebkritikel
                                  last edited by 18 Jul 2021, 23:31

                                  From what I've seen so far, print quality improvements from input shaping are only really seen when the motion into and out of a 'junction' are straight lines. Input shaping as implemented seems to have negligible impact on more complicated motion paths - splines after a junction, etc.

                                  Please ignore the faint zebra stripes... perhaps there are very faint artifacts there, but its chiefly a trick of the light and camera combination.
                                  e854fb35-ce89-441c-a47a-eaf0fdc5ea74-image.png

                                  Vase/spiral mode, so no z-hops. With ZVDD, targeting 22-23Hz, the straight surfaces look excellent. Once the lofts begins (and input shaping is on), you can hear an audible change in the printer's motion (not an unusual sound, it simply sounds as if input shaping is missing). During the lofted sections I would turn off input shaping, collect some accelerometer data, and then turn it back on after verifying frequencies of note. No real difference in print quality is seen in the lofted sections when shaping is on or off.

                                  FWIW circles (cylinders, cones, anything with a true circular cross section) looks great.

                                  Large(ish?) IDEX - 6HC, 1HCL
                                  Stratasys Dimension 1200es to 6HC Conversion

                                  undefined undefined 2 Replies Last reply 19 Jul 2021, 06:49 Reply Quote 0
                                  • undefined
                                    dc42 administrators @sebkritikel
                                    last edited by 19 Jul 2021, 06:49

                                    @sebkritikel you are quite right. Input shaping is applied only to individual move segments. Applying IS to curves that start or end at a sharp corner would require analysis and modification of several segments that make up the curve.

                                    In future we may be able to apply IS to whole G2 and G3 moves. Then you could use Arc Welder to preprocess the file.

                                    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
                                    • undefined
                                      GeneRisi
                                      last edited by 19 Jul 2021, 16:24

                                      @dc42 Will you always post a message if you have updated the firmware? Thanks!

                                      undefined 1 Reply Last reply 19 Jul 2021, 17:12 Reply Quote 0
                                      • undefined
                                        dc42 administrators @GeneRisi
                                        last edited by 19 Jul 2021, 17:12

                                        @generisi we always post a message when we do a new official release (including a beta or RC release). If you have a github account then you can get additional notifications. To set them up, go to https://github.com/Duet3D/RepRapFirmware and click on Watch.

                                        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 20 Jul 2021, 00:08 Reply Quote 0
                                        • undefined
                                          bot @sebkritikel
                                          last edited by bot 19 Jul 2021, 19:12

                                          Very interesting post, thank you for sharing.

                                          This is encouraging news, to me. It really shows that it works but that it's not magic.

                                          IMO, you can tune your printer to achieve better results than shown. The amount that the input shaping is reducing the ringing on the flat sections is tremendous. You had an absolutely enormous amount of ringing showing through (but I grant that the lighting may be showing it worse).

                                          If, before applying input shaping, you tune your jerk/accel/feedrate settings to be much more conservative, I bet you will either see some effect from input shaping on those smaller moves or those smaller moves will at least be less noticeably problematic.

                                          *not actually a robot

                                          1 Reply Last reply Reply Quote 1
                                          43 out of 205
                                          • First post
                                            43/205
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA