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

    Periodicity of ringing

    Scheduled Pinned Locked Moved
    General Discussion
    s-curve ringing
    17
    98
    18.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.
    • dc42undefined
      dc42 administrators
      last edited by

      3D printer mechanics comprise some element or elements with significant mass (e.g. the print head, and the bed in the case of a moving-bed cartesian printer) driven by elastic elements (belts and motors). Any time you combine a mass with a spring, you will get a resonance (assuming the dampling isn't very heavy). Any time you try to accelerate or decelerate the mass, you will excite the resonance to a greater or lesser extent.

      I think the main cause of visible ringing is when the print head or bed is subject to deceleration in one direction, and then a perimeter is printed in a direction at right angles or with a component at right angles. For example, if you print a square tower and there is a resonance in the Y axis, then at the end of printing a perimeter on the Y face, the Y deceleration may cause the Y axis to ring, so that when the perimeter on the X face is printed it waves a little in the Y direction instead of being printed in a straight line.

      If there is X axis ringing, then the acceleration along the X axis at the start of printing the X face will cause the feed rate to oscillate a little too, resulting in under- and over-extrusion. I would expect this to cause less visible ringing on the X-face than Y axis ringing would, but I could be wrong.

      Ringing will in general be excited even when using zero jerk; but high jerk settings may make it worse.

      I think a good way to expose and measure ringing should be to print a square tower in vase mode, either at constant speed but changing the XY acceleration every several layers, or with constant XY acceleration but changing the printing speed every few layers. I intend to try this out on my 3 printers later today or tomorrow.

      I already have a build of RepRapFirmware that adjusts the acceleration dynamically to avoid exciting a particular ringing frequency. It works quite well with the sloshing-glass test, but I have yet to do any printing tests with it.

      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 3
      • mrehorstdmdundefined
        mrehorstdmd
        last edited by

        I see. I will try some test prints tonight and see what comes of it. I have noticed in my high acceleration tests I am getting some really amazing ringing.

        https://drmrehorst.blogspot.com/

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

          Yes, short acceleration/deceleration periods are most effective at exciting ringing.

          If you can, please measure the ringing frequency or frequencies. It's the speed at which you printed the perimeters (in mm/sec) divided by the observed wavelength of the ringing (in mm).

          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
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            I've found this to be a really good model to test for ringing as it rotates the walls from 0 to 45 degrees as it raises.

            https://www.thingiverse.com/thing:2798485

            @mrehorstdmd In case you missed it above, I also went and created an Excel table that will help calculate the new accel value. Ringing Calculator.xlsx

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @phaedrux said in Periodicity of ringing:

              I've found this to be a really good model to test for ringing as it rotates the walls from 0 to 45 degrees as it raises.

              https://www.thingiverse.com/thing:2798485

              Thanks, I'm printing that now. As the layer time is so short, when printing it in PLA I have found it necessary to scale it up to 2x size and add some infill. I selected 3 perimeters to avoid the infill showing on the outside and leaving a pattern that could be confused with ringing.

              When I've done some more tests, I'll make the 2.02alpha build with dynamic ringing cancellation available.

              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
              • dc42undefined
                dc42 administrators
                last edited by

                I've used that test piece to measure the predominant ringing frequencies of my printers:

                Cartesian (Ormerod): 24Hz
                Delta (Kossel): 44Hz
                SCARA: 12.5Hz

                Next step is to reprint them with DRC enabled.

                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
                • mrehorstdmdundefined
                  mrehorstdmd
                  last edited by

                  I ran a 100 mm cube print on my coreXY machine with speed at 50, 100, 150 and 200 mm/sec, and acceleration at 1000, 2000, 3000, 4000, and 5000 mm/sec^2.

                  0_1532705685244_test cube close small.jpg

                  It was hard to find lighting that made it easy to see all the weirdness because the print warped quite a bit (ABS, single wall, straight sides- not much to be done about it), but at 150mm/sec, A=3000 mm/sec^2 and at 200 mm/sec, A=4000, the ringing all but disappears. There are some other weird ripples in the 200 mm/sec layers that I suspect are related to extruder settings, not XY motion settings. Jerk was 100 in X and Y.

                  All the ringing is on the start of motion in the Y direction after finishing a move in the X direction. There is some very minor ringing on the X parallel sides, but appears to be completely gone at 50 mm/sec, A=1000 and 2000 mm/sec^2, and several other settings. Where it is visible, the amplitude is so low I probably wouldn't complain about it.

                  There are some random bumps scattered all over the surface- not sure what's causing those.

                  I may try the same test with the cube rotated 45 degrees on the plate to see what happens when only one motor is driving the motion on each side.

                  https://drmrehorst.blogspot.com/

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

                    Have you measured the ringing frequency? See my earlier response.

                    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

                    mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                    • burtoogleundefined
                      burtoogle
                      last edited by

                      I printed out that twisting test piece on the Kossel XL and downstream of the corners I get expected ringing with a wavelength of around 1mm. But I also notice on each side a similar pattern but with a wavelength of around 5mm. It looks like it has the same amplitude on all four sides and amplitude doesn't appear to alter with the twist. The part was printed with 3 walls and no infill.

                      dc42undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators @burtoogle
                        last edited by

                        @burtoogle said in Periodicity of ringing:

                        I printed out that twisting test piece on the Kossel XL and downstream of the corners I get expected ringing with a wavelength of around 1mm. But I also notice on each side a similar pattern but with a wavelength of around 5mm. It looks like it has the same amplitude on all four sides and amplitude doesn't appear to alter with the twist. The part was printed with 3 walls and no infill.

                        Can you post a photo? Are you sure that the 5mm pattern isn't infill showing through, if you used infill?

                        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

                        burtoogleundefined 1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator @burtoogle
                          last edited by

                          @burtoogle Could the additional 5mm pattern coincide with an oscillation from a travel move?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          burtoogleundefined 1 Reply Last reply Reply Quote 0
                          • mrehorstdmdundefined
                            mrehorstdmd @dc42
                            last edited by

                            @dc42 I cut the print up and put it under a microscope to measure - I counted as many waves as I could in each speed acceleration combo then divided the total distance by the wave count to get the wavelength:

                            0_1532743468071_measurements.jpg

                            the "x" entries are where the amplitude was so small or the duration so short I couldn't measure it - i.e. not really a print quality issue.

                            The X axis values were generally high frequency, and very short lived, very small amplitude and I couldn't get any useful/reliable numbers from them.

                            It's interesting that the period values mostly tend to cluster around 0.02 sec. Something is resonating at about 50 Hz...

                            https://drmrehorst.blogspot.com/

                            DocTruckerundefined dc42undefined 2 Replies Last reply Reply Quote 0
                            • DocTruckerundefined
                              DocTrucker @mrehorstdmd
                              last edited by DocTrucker

                              A pair of lead acid car batteries would be good for 45Ah which would do 1.2kW for an hour. I expect most printers draw less than this,especially when prewarmed. 27.6V maybe an issue though.

                              If you were planning to do this regularly then deep cycle batteries would be needed. I'm just thinking about a perfect ripple free 24VDC source for a test as I suspect if you look at any switch mode power supply (especially cheaper ones) on the oscilliscope you'll see a 50Hz wobble if you look close enough, but it may not be an issue.

                              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
                              • DocTruckerundefined
                                DocTrucker
                                last edited by

                                Just checked. Duet 2 limited to 25VDC input. May find the car batteries dip under this on load, but as our heaters can be PID the the load cand drop to low levels which may let the voltage go over. You'd need a DC-DV regulator I think.

                                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!

                                JoergS5undefined 1 Reply Last reply Reply Quote 0
                                • burtoogleundefined
                                  burtoogle @dc42
                                  last edited by

                                  Can you post a photo? Are you sure that the 5mm pattern isn't infill showing through, if you used infill?

                                  0_1532758120427_IMG_20180728_070527318_cropped.jpg

                                  Photo just about shows both 1mm and 5mm pitch patterns - printed with 3 walls and no infill.

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

                                    @mrehorstdmd said in Periodicity of ringing:

                                    I cut the print up and put it under a microscope to measure - I counted as many waves as I could in each speed acceleration combo then divided the total distance by the wave count to get the wavelength:

                                    Try adding a column to your table for acceleration time, calculated as (speed - jerk)/acceleration. You should find that the 'x' columns in your table correspond to the acceleration time being close to a multiple of the ripple period.

                                    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

                                    mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                                    • JoergS5undefined
                                      JoergS5 @DocTrucker
                                      last edited by JoergS5

                                      @DocTrucker

                                      for testing, someone who uses 12 V and have this 50 Hz pattern could test this easier with a 12 V car battery. Maybe someone has this constellation.

                                      If it has influence, you don't need to base it solely to a DC source. You can e. g. use some flywheel solution between AC source and your DC target, without storing the energy, just to transform and straighten.

                                      DocTruckerundefined 1 Reply Last reply Reply Quote 0
                                      • DocTruckerundefined
                                        DocTrucker @JoergS5
                                        last edited by DocTrucker

                                        @joergs5 said in Periodicity of ringing:

                                        @DocTrucker

                                        for testing, someone who uses 12 V and have this 50 Hz pattern could test this easier with a 12 V car battery. Maybe someone has this constellation.

                                        If it has influence, you don't need to base it solely to a DC source.

                                        Doh! Ha ha, yes of course! Was thinking too much on how I could access if a ripple on the DC is a problem before doubling the PSU budget!

                                        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
                                        • mrehorstdmdundefined
                                          mrehorstdmd @dc42
                                          last edited by

                                          @dc42 ummm, not so much... multiple, yes, but not necessarily whole number multiple.

                                          0_1532787667472_Clipboard01.jpg

                                          Maybe my measurements of the ripple aren't so great. I made a couple new test prints that are easier to read:

                                          0_1532787787715_test prints.jpg

                                          The one on the left tests individual motors in the corexy mechanism. The ringing looks identical on all sides of that print, as one would expect since the moving mass is the same and the motors and currents are the same. A couple settings generate some ripple effects at the end of motion.

                                          The other print will be easier to measure than my original because it is warped. I used 3 perimeters and the ringing in each perimeter layer reinforces the ringing in the next perimeter, so even the ringing wavelengths I couldn't read before look like they are now readable.

                                          These prints are 50 mm on a side, so at acceleration =1000 they only hit 200 mm/sec for a few mm at the center of the side.

                                          I will measure and create a new spreadsheet...

                                          https://drmrehorst.blogspot.com/

                                          1 Reply Last reply Reply Quote 0
                                          • burtoogleundefined
                                            burtoogle @Phaedrux
                                            last edited by burtoogle

                                            @phaedrux said in Periodicity of ringing:

                                            @burtoogle Could the additional 5mm pattern coincide with an oscillation from a travel move?

                                            My theory is that it is the delta's frame wobbling and so I taped a 2-axis accelerometer to the top of the delta frame and captured some spectra while twatting the top of the frame and, lo and behold, there is a nice resonance peak at around 7.5 Hz which equates to 5.33 mm wavelength, pretty much spot on.

                                            So my next move is to put a load of mass on the top of the delta frame to push the resonant frequency down and see what effect that has. Stay tuned (haha)

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