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

Periodicity of ringing

Scheduled Pinned Locked Moved
General Discussion
s-curve ringing
17
98
18.0k
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
    kuhnikuehnast @dc42
    last edited by 6 Aug 2018, 14:35

    @dc42 said in Periodicity of ringing:

    @kuhnikuehnast said in Periodicity of ringing:

    Is there any chance to calculate the max Acc possible concerning all settings? (E-Steps / E-Acc /Acc on axis etc) this would maybe help me to figure out the ACC that is used while Ringing occurs.

    I have an experimental build that adjusts the acceleration dynamically to try to avoid exciting ringing at one specific frequency. So if you can measure the ringing frequency (which I described how to do earlier), you could try it out if you like.

    My problem is, that I can't calculate the period of ringing as I don't know the exact speed... (requested speed is 150mm/s top speed shown on the web interface ~137.4 mm/s)

    I printed a 5 cm square in vase mode. Every 5 mm the print speed changed from 50 - 100 - 150 mm/s. And every 3 speed changes were tested with different ACC- values. (M201 from 500 at the start up to 3500 at the top (always +500)). But the print looks pretty the same for all ACC- values (I thought at least that it would end as spaghetti with a ACC-value of 3500) ..

    I already tried to insert a M117 command that tells me the actual ACC (to test whether the g-code really changes the ACC-value) but this is also impossible 😞

    0_1533565032665_20180731_223239 (Large).jpg

    undefined 1 Reply Last reply 6 Aug 2018, 14:46 Reply Quote 0
    • undefined
      dc42 administrators @kuhnikuehnast
      last edited by dc42 8 Jun 2018, 14:48 6 Aug 2018, 14:46

      @kuhnikuehnast said in Periodicity of ringing:

      I already tried to insert a M117 command that tells me the actual ACC (to test whether the g-code really changes the ACC-value) but this is also impossible

      You can insert a M201 command without parameters, that should echo the current values to the GCode console.

      The ripples on your photo look to me to have constant pitch and not fade away from the corner. So I suspect they are caused by belts, not ringing. [Edit: although they don't line up perfectly, which seems odd.]

      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 6 Aug 2018, 14:56 Reply Quote 0
      • undefined
        timcurtis67 @dc42
        last edited by 6 Aug 2018, 14:56

        @dc42 said in Periodicity of ringing:

        @kuhnikuehnast said in Periodicity of ringing:

        I already tried to insert a M117 command that tells me the actual ACC (to test whether the g-code really changes the ACC-value) but this is also impossible

        You can insert a M201 command without parameters, that should echo the current values to the GCode console.

        The ripples on your photo look to me to have constant pitch and not fade away from the corner. So I suspect they are caused by belts, not ringing. [Edit: although they don't line up perfectly, which seems odd.]

        They probably don't line up due to mechanical backlash in the axis? Maybe the head goes back and forth?

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by dc42 13 Aug 2018, 07:15

          I have now released firmware 2.02beta1 which includes an experimental Dynamic Acceleration Adjustment feature. So if you measure the frequency of the ringing (see earlier posts) you can now use M593 to feed that value into the firmware and have it calculate the optimum acceleration on every move. Any acceleration limits you set using M201 and M204 will still be honoured; so if your slicer generates M204 commands to limit acceleration, make sure that the limits configured in the slicer are not too low.

          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
            burtoogle
            last edited by 13 Aug 2018, 07:16

            Hi David, that's great news. I have installed the release and will be doing some test prints this morning. Thanks!

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 13 Aug 2018, 17:23

              This is great. Can't wait to try it out.

              https://duet3d.dozuki.com/Wiki/GCode#Section_M593_Configure_Dynamic_Acceleration_Adjustment

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                RCarlyle
                last edited by 21 Aug 2018, 04:23

                I like this idea a lot. Need to play with it a bit. I just put a Duet in a Cartesian printer for the first time so I'll have a good platform to try some things.

                I'll review the math in the resonant frequency calculator as soon as I get a chance; I've been doing some similar work for my book on the motor side of things that should be relevant. Have you considered adding rod flex? This is typically small for i3 type machines but can be large for XY gantry machines when printing near bed center.

                If we're going to go so far as to calculate elasticities and measure oscillation periods and such, the next obvious step to my thinking is to put some model-based feed-forward action into the corner jerk to cancel out the elasticity overshoot due to the velocity jump. Basically you'd fire off a few reverse-direction microsteps when you get to the corner to "wind up" the motor and belt elasticity to apply high force at the velocity jump. Then undo those microsteps to "unwind" the jerk force as the printer accelerates into the next segment.

                If you know the moving mass, elasticity, motor torque, etc you can mode-shape the commanded motions to cancel out all the overshoot/ringing. (Or just use an accelerometer and measure it directly.) Which should provide crisper corners.

                1 Reply Last reply Reply Quote 1
                • undefined
                  jkdp
                  last edited by 22 Aug 2018, 06:06

                  200 jerk and 1050 accel got rid of the bulging corners for me

                  undefined 1 Reply Last reply 22 Aug 2018, 06:17 Reply Quote 0
                  • undefined
                    burtoogle @jkdp
                    last edited by 22 Aug 2018, 06:17

                    @jkdp said in Periodicity of ringing:

                    200 jerk and 1050 accel got rid of the bulging corners for me

                    Is that the X/Y or E values? Thanks.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      jkdp
                      last edited by 22 Aug 2018, 06:37

                      basically low accceel and high jerk

                      undefined 1 Reply Last reply 22 Aug 2018, 06:54 Reply Quote 0
                      • undefined
                        burtoogle @jkdp
                        last edited by 22 Aug 2018, 06:54

                        @jkdp said in Periodicity of ringing:

                        basically low accceel and high jerk

                        Is that the X/Y or E values? Thanks.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          jkdp
                          last edited by 22 Aug 2018, 22:04

                          M566 X1250 Y1250 Z78 E310 ; Set maximum instantaneous speed changes (mm/min)
                          M203 X15000 Y15000 Z160 E9000 ; Set maximum speeds (mm/min)
                          M201 X210 Y210 Z100 E2755

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            3dmntbighker
                            last edited by 22 Aug 2018, 22:50

                            Question for @dc42

                            Are there any plans to offer a "debug" DWI mode that is tailored to tuning? So once tuned you just flip a code switch and return to the normal interface.

                            Scratch built CoreXY with Maestro
                            Heavily modified Ender 3 with Maestro
                            MPCNC work in progress with Duet WiFi

                            undefined 1 Reply Last reply 24 Aug 2018, 21:23 Reply Quote 0
                            • undefined
                              dc42 administrators @3dmntbighker
                              last edited by 24 Aug 2018, 21:23

                              @3dmntbighker said in Periodicity of ringing:

                              Question for @dc42

                              Are there any plans to offer a "debug" DWI mode that is tailored to tuning? So once tuned you just flip a code switch and return to the normal interface.

                              What did you have in mind for debug mode?

                              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 24 Aug 2018, 21:31 Reply Quote 0
                              • undefined
                                3dmntbighker @dc42
                                last edited by 24 Aug 2018, 21:31

                                @dc42 I'll try to put some notes together and post back. I was just thinking in general there must be a lot of things you want to know during the build and tune process that isn't necessarily interesting once your into the "production" printing phase. If you do a mod or a hardware change you flip that switch to help adjust for the change. Some of us would probably never get to the production phase of course because we can't leave well enough alone 😉

                                Scratch built CoreXY with Maestro
                                Heavily modified Ender 3 with Maestro
                                MPCNC work in progress with Duet WiFi

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators
                                  last edited by 26 Dec 2018, 13:53

                                  For anyone who was following this thread, there is an example of how the new Dynamic Acceleration Control in RRF 2.02 helps to reduce ringing at https://forum.duet3d.com/topic/8256/reprapfirmware-2-02rc7-available/21/

                                  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 dc42 referenced this topic 13 Feb 2024, 18:27
                                  • First post
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA