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

    Duet3 6CH + 3CH expansion board - Missing steps.

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    12
    153
    9.3k
    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.
    • evomotorsundefined
      evomotors @dc42
      last edited by

      @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

      I was confusing you with the other guy having a problem with print quality when the extruder is on an expansion board. I searched through the 128 posts in this thread and eventually found your video. It looks like it's printing correctly most of the time, but occasionally there is a big jolt which results in a shift in X and/or Y. That ties in with the lost CAN messages that are reported by M122 B1.

      The bottom line is when I connect XY motors to Duet3 board that problem disappears, but E steps still missing or not synchronized with XY movement and that produces bad quality print. Unfortunately I cannot connect extruder to duet3 as well as Duet3 has 6 stepper drivers, but I need 7.

      1 Reply Last reply Reply Quote 0
      • jbarrosundefined
        jbarros @dc42
        last edited by

        @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

        I was confusing you with the other guy having a problem with print quality when the extruder is on an expansion board.

        If you're refering to a ToolBoard then I'm the guy 🙂 and this is my thread: https://forum.duet3d.com/topic/20899/duet3d-6hc-toolboard-missing-filament-on-curves

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

          Yes, it figures that extrusion will be affected as well. Most of the moves in a print involve X, Y and E movement. So even if you move X and Y to the main board, there is still a CAN packet sent for the E movement.

          I think the reason we haven't seen this before is that your print uses sequences of tiny movements, smaller than our other tests use. For example:

          G0 F12000 X273.288 Y248.054
          G1 F4800 X273.303 Y248.082 E0.00106
          G1 X273.539 Y248.591 E0.01866
          G1 X273.542 Y248.6 E0.00032
          G1 X273.603 Y248.759 E0.00566
          G1 X273.682 Y248.966 E0.00737
          G1 X273.759 Y249.171 E0.00728
          G1 X273.763 Y249.184 E0.00045
          

          Here are those moves imported into a spreadsheet. The columns are X, Y, change in X, change in Y, move distance, and move time.

          d21e1da1-2f59-4adb-93e4-f0637b734902-image.png

          There are really small moves. The fourth one is less than 10 microns long and it will execute in just 120 microseconds. The longest one takes only 7 milliseconds and all the rest are below 3 milliseconds. So the system is having to process a very high rate of moves. Still, I don't see any evidence that the CAN bus is being overloaded, so I expect to resolve the issues with this print by improving the efficiency of processing the incoming move commands on the expansion board.

          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

          evomotorsundefined 2 Replies Last reply Reply Quote 0
          • evomotorsundefined
            evomotors @dc42
            last edited by

            @dc42 Could my issue exists due to faulty Duet board ? I'm dead in the water. I cannot print at all for several weeks already.

            Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
            • Luke'sLaboratoryundefined
              Luke'sLaboratory @evomotors
              last edited by

              @evomotors

              @dc42 said:

              So I am still not seeing any loss of XY done vs. requested steps, only a loss of 0.14% of E steps. This is with pressure advance set to zero. OTOH there have been 2226 lost CAN messages, presumably mostly movement messages, so moves will have been lost.

              Luke
              http://lukeslab.online

              1 Reply Last reply Reply Quote 0
              • evomotorsundefined
                evomotors @dc42
                last edited by

                @dc42 do you have any time estimates? I’m wondering when I’ll be able to print.

                1 Reply Last reply Reply Quote 0
                • evomotorsundefined
                  evomotors
                  last edited by

                  Can I have some updates? Please...

                  1 Reply Last reply Reply Quote 1
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    Still being worked on. Thanks for your patience.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • Multisaftundefined
                      Multisaft
                      last edited by

                      I would like to tell u that ur not alone with this issue. My colleague and myself have exactly the same problem. Connecting xy to the expansion board and we had what u have shown on ur Youtube Video. Switching back to the Mainboard and everything is fine.

                      Unfortunately we need also 7 motors driven to print. Now we have the extruder on the expansion board and have the issue there.

                      It's nice to see that dc is working on it now especially because I have this problem since the board was officially released... It's some time now.

                      Fingers crossed that there is a solution soon.

                      Best regards.
                      Multisaft

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

                        @Multisaft, it's likely that the changes already made in 3.3beta will fix the issue for you. The issue I am pinning down now occurs when all of XYE are on the same expansion board and there is a very high rate of very short moves sent to the board. Even if 3.3beta doesn't fix the issue, the improved diagnostics will reveal what is going on.

                        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

                        Multisaftundefined 1 Reply Last reply Reply Quote 0
                        • Multisaftundefined
                          Multisaft @dc42
                          last edited by

                          @dc42 ty, we will try it.

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

                            Good progress today. I had been assuming that the remaining problem seen by @evomotors was caused by the expansion board firmware being too slow, so over the past few days I have been making it more efficient. But additional diagnostics reveal that it's a problem with the way the main board firmware is scheduling CAN moves. With this particular file it's sending the expansion board some moves which are impossible to execute in time. Main board firmware is easier to debug than expansion board firmware, so tracking down why shouldn't take long.

                            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 located the problem and tested a provisional fix. It affects systems using CAN expansion boards that have DAA 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

                              evomotorsundefined 1 Reply Last reply Reply Quote 1
                              • evomotorsundefined
                                evomotors @dc42
                                last edited by

                                @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

                                I've located the problem and tested a provisional fix. It affects systems using CAN expansion boards that have DAA enabled.

                                When and how can I test?

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

                                  I've put new Duet 3 MB6HC firmware in https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0. I expect it to work well with the EXP3HC firmware already there. I am testing with newer EXP3HC firmware, but it is still somewhat experimental.

                                  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

                                  evomotorsundefined 1 Reply Last reply Reply Quote 0
                                  • evomotorsundefined
                                    evomotors @dc42
                                    last edited by

                                    @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

                                    I've put new Duet 3 MB6HC firmware in https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0. I expect it to work well with the EXP3HC firmware already there. I am testing with newer EXP3HC firmware, but it is still somewhat experimental.

                                    I started the test print with the early 3.3beta that you are posted last week and DAA disabled. Then I will upgrade to the new 6CH and try again.

                                    1 Reply Last reply Reply Quote 0
                                    • evomotorsundefined
                                      evomotors
                                      last edited by

                                      @dc42 Is it possible that pressure advance has the same issue on expansion and tool boards?

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

                                        @evomotors said in Duet3 6CH + 3CH expansion board - Missing steps.:

                                        @dc42 Is it possible that pressure advance has the same issue on expansion and tool boards?

                                        It's not pressure advance that triggers the problem I found today, it's DAA. Pressure advance will not trigger it. I ran the section of your test file that I have been using to replicate the problem with pressure advance 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

                                        evomotorsundefined 1 Reply Last reply Reply Quote 0
                                        • evomotorsundefined
                                          evomotors @dc42
                                          last edited by

                                          @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

                                          @evomotors said in Duet3 6CH + 3CH expansion board - Missing steps.:

                                          @dc42 Is it possible that pressure advance has the same issue on expansion and tool boards?

                                          It's not pressure advance that triggers the problem I found today, it's DAA. Pressure advance will not trigger it. I ran the section of your test file that I have been using to replicate the problem with pressure advance enabled.

                                          I can confirm that stuttering XY moves are gone with M593 disabled. No more layer shifts. I will still complete the print to see if issue with extrusions irregularity is gone as well.

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

                                            @evomotors, thanks for your preliminary results.

                                            I've now put the latest expansion and tool boards firmwares in that folder at https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0. The older versions are in the "Previous-16-Jan-21" subfolder.

                                            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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA