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

    Extruder drive lag with toolboard

    Scheduled Pinned Locked Moved
    General Discussion
    4
    21
    805
    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.
    • kuonundefined
      kuon
      last edited by

      Ok, after tinkering and trying to understand what was causing the issue, I found it. It's the hot end fan.

      I did more tests and realized that under some conditions, I did not have the issue with either carriage. And finally, I pin pointed it to fan.

      If the temperature is above 45° on the carriage and fan on -> issue
      If below and fan off -> no issue. (45° is what I configured with M106).

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

        Are you quite sure it is the fan causing the trouble, not the heater?

        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

        kuonundefined 1 Reply Last reply Reply Quote 0
        • kuonundefined
          kuon @dc42
          last edited by

          @dc42 Yes, because if I put the temp at 50, no issue until the fan is on (I ran the macro two times between 30 and 45°). Then I turned the heater off, and let it cool. Issue was present until fan turned off.

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

            What sort of fan is it? Does the other tool use the same type of fan?

            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

            kuonundefined 1 Reply Last reply Reply Quote 0
            • kuonundefined
              kuon
              last edited by

              I made a video, it is not very good because it is hard to film, but we can clearly see the extruder drive turning at the end of the moves.

              https://imgur.com/a/JqvbmAP

              1 Reply Last reply Reply Quote 0
              • kuonundefined
                kuon @dc42
                last edited by

                @dc42 https://www.digikey.ch/product-detail/en/delta-electronics/AUB0412VD-00/603-2091-ND/8680959

                Both tools have the same fan, and the problem is present on BOTH tools with the fan on. I was just doing my test with one hot and one cold when I was trying to understand the initial issue.

                1 Reply Last reply Reply Quote 0
                • kuonundefined
                  kuon
                  last edited by

                  I just realized I have another issue (which is surely totally unrelated but as I just noticed it, I put it here), is that when I move the X carriage all the way with a single G0 or G1 (like G0 X250 F12000), the carriage will slow down around the middle. https://imgur.com/a/z1gqYpY

                  If I do the same command with the U axis, I do not have the issue, but if I change to the second tool (the one using U axis), and do it on the mapped X axis (so the second carriage moves), the issue is also present with the second carriage. This issue is always present regardless of fan states.

                  kuonundefined 1 Reply Last reply Reply Quote 0
                  • kuonundefined
                    kuon @kuon
                    last edited by

                    @kuon said in Extruder drive lag with toolboard:

                    I just realized I have another issue (which is surely totally unrelated but as I just noticed it, I put it here), is that when I move the X carriage all the way with a single G0 or G1 (like G0 X250 F12000), the carriage will slow down around the middle. https://imgur.com/a/z1gqYpY

                    If I do the same command with the U axis, I do not have the issue, but if I change to the second tool (the one using U axis), and do it on the mapped X axis (so the second carriage moves), the issue is also present with the second carriage. This issue is always present regardless of fan states.

                    Just realized this issue is present only if I load bed compensation with G29 S1 (might not be a bug).

                    Stephen6309undefined 1 Reply Last reply Reply Quote 0
                    • Stephen6309undefined
                      Stephen6309 @kuon
                      last edited by

                      @kuon You need to increase the set maximum instantaneous speed change or jerk for the Z axis.

                      kuonundefined 1 Reply Last reply Reply Quote 0
                      • kuonundefined
                        kuon @Stephen6309
                        last edited by

                        @Stephen6309 Ok that makes sense, thanks.

                        1 Reply Last reply Reply Quote 0
                        • kuonundefined
                          kuon
                          last edited by

                          Just to confirm the fans are the issue, I configured them as manual with M106, and when everything is cold, I can clearly "turn the issue on/off" with the fans, but only if it is being PWMed, at 0 or 100% the issue is not here.

                          Vetiundefined 1 Reply Last reply Reply Quote 0
                          • Vetiundefined
                            Veti @kuon
                            last edited by

                            @kuon
                            some fans do not like to run with pwm.

                            you can try changing the frequency, but it might not work.

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

                              @kuon, please can you update both main and tool board firmware to 3.2beta4.1 and check whether the problem still exists.

                              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
                              • kuonundefined
                                kuon
                                last edited by

                                It took me a while to update everything, but I got everything on latest version.

                                Just a note, while updating I got two issues:

                                When doing apt-get upgrade I had this error, but it seems the update went through:

                                Sending update request to DCS... Error: Failed to send update request
                                Unhandled exception. System.Threading.Tasks.TaskCanceledException: A task was canceled.
                                   at DuetAPIClient.BaseConnection.PerformCommand[T](BaseCommand command, CancellationToken cancellationToken) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetAPIClient/BaseConnection.cs:line 188
                                   at DuetControlServer.Program.CheckForAnotherInstance() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Program.cs:line 306
                                   at DuetControlServer.Program.Main(String[] args) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Program.cs:line 84
                                   at DuetControlServer.Program.<Main>(String[] args)
                                Aborted
                                Process
                                

                                Duet3Bootloader-SAMC21.bin was not present after apt-get upgrade (on unstable) and I had to CURL it.

                                Anyway, now with this version I don't see the issue anymore. I will do some more tests and keep you updated.

                                1 Reply Last reply Reply Quote 0
                                • kuonundefined
                                  kuon
                                  last edited by

                                  Ok, while it made the problem less obvious, the issue is till here.

                                  I thought things where OK, but when printing, I see some oozing https://imgur.com/a/hHgzC6X . If I put the fans at 100% without PWM, the issue is fixed.

                                  The oozing is caused because the extrusion is slightly "late". When watching closely, I can clearly hear the filament retraction sound about 300ms after the z-hop sound.

                                  For now I will run my fans at 100%. But I am very curious at what is causing the issue. I will certainly replace them for noctua fans that have proper PWM.

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

                                    That's very strange. As on all Duet boards, the PWM is generated by hardware, so the load on the processor is the same whether the PWM is zero or 100% or anything in between.

                                    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

                                    kuonundefined 1 Reply Last reply Reply Quote 0
                                    • kuonundefined
                                      kuon @dc42
                                      last edited by

                                      @dc42 said in Extruder drive lag with toolboard:

                                      That's very strange. As on all Duet boards, the PWM is generated by hardware, so the load on the processor is the same whether the PWM is zero or 100% or anything in between.

                                      If you want me to run some tests just let me know. I fixed it by running my fans at 100% all the time, but it's noisy, so if I can PWM them a bit, I'd be happy.

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