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
    8.7k
    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.:

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

      @dc42
      Is it really going to be out in a few days?

      It's out already.

      Issue is not fixed!

      M122 B1
      Diagnostics for board 1:
      Duet EXP3HC firmware version 3.2 (2021-01-05)
      Bootloader ID: not available
      Never used RAM 154848, free system stack 158 words
      HEAT 90 CanAsync 94 CanRecv 84 TMC 30 MAIN 305 AIN 257
      Last reset 01:37:18 ago, cause: power up
      Last software reset data not available
      Driver 0: position 0, 80.0 steps/mm,  standstill, reads 36849, writes 11 timeouts 0, SG min/max 0/0
      Driver 1: position 226160, 344.0 steps/mm,  ok, reads 36831, writes 32 timeouts 0, SG min/max 0/1013
      Driver 2: position 0, 80.0 steps/mm,  standstill, reads 36855, writes 11 timeouts 0, SG min/max 0/0
      Moves scheduled 15696, completed 15694, in progress 1, hiccups 380
      Next step interrupt due in 3606 ticks, enabled
      VIN: 24.6V, V12: 12.3V
      MCU temperature: min 43.8C, current 44.0C, max 44.2C
      Ticks since heat task active 228, ADC conversions started 5838220, completed 5838219, timed out 0
      Last sensors broadcast 0x00000000 found 0 232 ticks ago, loop time 0
      CAN messages queued 35, send timeouts 0, received 68218, lost 0, free buffers 36
      
      1 Reply Last reply Reply Quote 0
      • evomotorsundefined
        evomotors
        last edited by

        Should I change something else in the config? CAN bus timing?

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

          I presume you are referring to the hiccup rate. It looks like the hiccup rate has reduced from 1 hiccup every ~5.6 moves to 1 hiccup every 41 moves. That's a seven-fold improvement!

          Hiccups are not lost steps, they are delayed steps. The delay may be only a few microseconds.

          I am still a little surprised that the hiccup rate is not lower. What speed are you printing at, and what nozzle size are you using?

          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 1
          • evomotorsundefined
            evomotors @dc42
            last edited by evomotors

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

            I presume you are referring to the hiccup rate. It looks like the hiccup rate has reduced from 1 hiccup every ~5.6 moves to 1 hiccup every 41 moves. That's a seven-fold improvement!

            Hiccups are not lost steps, they are delayed steps. The delay may be only a few microseconds.

            I am still a little surprised that the hiccup rate is not lower. What speed are you printing at, and what nozzle size are you using?

            BMG direct drive extruder, 1/16 micro-stepping
            0.4 nozzle
            Current print speed 40mm/s perimeters (looks beautiful), 80mm/s infill (look like crap)

            When extruder connected directly to Duet3 I print perimeters and infill at < 200mm/s without issues.

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

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

              I presume you are referring to the hiccup rate. It looks like the hiccup rate has reduced from 1 hiccup every ~5.6 moves to 1 hiccup every 41 moves. That's a seven-fold improvement!

              Hiccups are not lost steps, they are delayed steps. The delay may be only a few microseconds.

              I am still a little surprised that the hiccup rate is not lower. What speed are you printing at, and what nozzle size are you using?

              Sorry @dc42, but it looks like missing steps if you looking on the print.

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

                You haven't shown us the print! What makes you think whatever print problems you are seeing are caused by the hiccups? If it is, then presumably the problem is only 1/7 as bad as it was before.

                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

                  PS:

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

                  Driver 1: position 226160, 344.0 steps/mm, ok, reads 36831, writes 32 timeouts 0, SG min/max 0/1013

                  The fact that the SG min is zero suggests to me that the moor may be stalling. What model of motor is it, and what motor current are you using? Are you sure the hot end temperature is high enough for the filament?

                  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 evomotors

                    @dc42
                    Like I say if I plug in extruder to main (Duet3) board, extruder works as it should.

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

                      @dc42

                      This is diagnostics from Duet3 board

                      Supply voltage: min 24.0, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
                      12V rail voltage: min 12.1, current 12.2, max 12.2, under voltage events: 0
                      Driver 0: position 74917, standstill, reads 2634, writes 6 timeouts 0, SG min/max 0/250
                      Driver 1: position 2790, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/237
                      Driver 2: position 545, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/254
                      Driver 3: position 0, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/266
                      Driver 4: position 0, ok, reads 2639, writes 2 timeouts 0, SG min/max 0/1023
                      Driver 5: position 0, ok, reads 2639, writes 2 timeouts 0, SG min/max 0/1023
                      

                      If SG min 0 means that motors stalling, than all my motors are stalling.....

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

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

                        Driver 0: position 74917, standstill, reads 2634, writes 6 timeouts 0, SG min/max 0/250 Driver 1: position 2790, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/237 Driver 2: position 545, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/254 Driver 3: position 0, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/266

                        Also this looks like B.S. these are my Z motors, how they could have different positions?

                        Driver 0: position 74917, standstill, reads 2634, writes 6 timeouts 0, SG min/max 0/250
                        Driver 1: position 2790, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/237
                        Driver 2: position 545, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/254
                        Driver 3: position 0, standstill, reads 2635, writes 6 timeouts 0, SG min/max 0/266
                        
                        1 Reply Last reply Reply Quote 0
                        • evomotorsundefined
                          evomotors
                          last edited by

                          @dc42
                          Motor is E3D-Online came with TitanAqua extruder. Temperature is 270c, I think for ABS is more than enough 🙂 ...

                          deckingmanundefined 2 Replies Last reply Reply Quote 0
                          • deckingmanundefined
                            deckingman @evomotors
                            last edited by

                            @evomotors When I've seen hiccups on extruders, it's always been retract/unretract moves that cause it, because the extruder moves much faster doing those moves than it does during printing. For example, during print moves the extruder moves are typically in the order of 5% of the carriage move (depending on nozzle size and layer height of course). So if you printed at say 100mm/sec, then the extruder speed would typically be about 5mm/sec. I note that you use firmware retraction and have it sec to 1800mm/sec.
                            So just as a test, try halving that to 900mm/sec which ought to cure the hiccups. If it does, but the print quality is not improved, then you know it's not a firmware issue.

                            Ian
                            https://somei3deas.wordpress.com/
                            https://www.youtube.com/@deckingman

                            evomotorsundefined 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
                              Like I say if I plug in extruder to main (Duet3) board, extruder works as it should.

                              Please can you provide the following:

                              1. A photo of a print, done with the extruder connected to the main board, running RRF 3.2.
                              2. The config.g file you used to produce the print in #1.
                              3. A photo of the same print, done with the extruder connected to the EXP3HC, running RRF 3.2 on both boards.
                              4. The config.g file you used to produce the print in #3, along with M122 reports for both the main board and the EXP3HC [EDIT: taken when the print has completed].
                              5. The GCode file you used to produce the prints.

                              I will then try to replicate and investigate this issue.

                              As @deckingman says, it is most likely retractions and reprimes that are causing the hiccups, however unless your steps/mm for that extruder is very high then I would not expect to see a significant number of hiccups on a 3HC.

                              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
                              • deckingmanundefined
                                deckingman @evomotors
                                last edited by

                                @evomotors The other thing that strikes me as odd (although it should help with hiccups) is that you steps per mm for the extruder looks low (I have 6 Bondetch BMGs). Mine are all around 410 - 415 and Bondtech suggest using 415 but yours is set to 344. How did you arrive at that figure?

                                I hesitate to suggest this but it seems to me that you might be having extrusion problems due to incorrectly calibrated extruder, which might appear as missed steps and that the hiccups are a "red herring". (But that does not explain why the extruder connected to the main board appears to act differently - unless you change the steps per mm as well as the driver number when swapping between boards)?

                                Ian
                                https://somei3deas.wordpress.com/
                                https://www.youtube.com/@deckingman

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

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

                                  @evomotors When I've seen hiccups on extruders, it's always been retract/unretract moves that cause it, because the extruder moves much faster doing those moves than it does during printing. For example, during print moves the extruder moves are typically in the order of 5% of the carriage move (depending on nozzle size and layer height of course). So if you printed at say 100mm/sec, then the extruder speed would typically be about 5mm/sec. I note that you use firmware retraction and have it sec to 1800mm/sec.
                                  So just as a test, try halving that to 900mm/sec which ought to cure the hiccups. If it does, but the print quality is not improved, then you know it's not a firmware issue.

                                  Firmware retraction speed is in mm/min not mm/s, so my 1800 is equal to 30mm/s

                                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                                  • deckingmanundefined
                                    deckingman @evomotors
                                    last edited by

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

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

                                    @evomotors When I've seen hiccups on extruders, it's always been retract/unretract moves that cause it, because the extruder moves much faster doing those moves than it does during printing. For example, during print moves the extruder moves are typically in the order of 5% of the carriage move (depending on nozzle size and layer height of course). So if you printed at say 100mm/sec, then the extruder speed would typically be about 5mm/sec. I note that you use firmware retraction and have it sec to 1800mm/sec.
                                    So just as a test, try halving that to 900mm/sec which ought to cure the hiccups. If it does, but the print quality is not improved, then you know it's not a firmware issue.

                                    Firmware retraction speed is in mm/min not mm/s, so my 1800 is equal to 30mm/s

                                    Yes I know. But that's still around 6 times faster than what you'll see doing print moves when printing at 100mm/sec carriage speed where the extruder would be running at about 5 mm/sec. Hence my suggestion to try it at 900mm/min (15mm/sec).

                                    Ian
                                    https://somei3deas.wordpress.com/
                                    https://www.youtube.com/@deckingman

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

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

                                      @evomotors The other thing that strikes me as odd (although it should help with hiccups) is that you steps per mm for the extruder looks low (I have 6 Bondetch BMGs). Mine are all around 410 - 415 and Bondtech suggest using 415 but yours is set to 344. How did you arrive at that figure?

                                      I hesitate to suggest this but it seems to me that you might be having extrusion problems due to incorrectly calibrated extruder, which might appear as missed steps and that the hiccups are a "red herring". (But that does not explain why the extruder connected to the main board appears to act differently - unless you change the steps per mm as well as the driver number when swapping between boards)?

                                      Extruder is calibrated using single perimeter cube, this calibration method always works best for me.

                                      I did not change steps per mm when swapped boards.

                                      You could be correct about "red herring". I maybe just afraid of the reported hiccups as I had very bed experience with extruder connected to the tool board in RRF3.1. I previously posted pictures of a 2 benchy (same gcode), one is printed with extruder connected to Tool Board and another with extruder connected to the Duet3 and the difference is like day and night.

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

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

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

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

                                        @evomotors When I've seen hiccups on extruders, it's always been retract/unretract moves that cause it, because the extruder moves much faster doing those moves than it does during printing. For example, during print moves the extruder moves are typically in the order of 5% of the carriage move (depending on nozzle size and layer height of course). So if you printed at say 100mm/sec, then the extruder speed would typically be about 5mm/sec. I note that you use firmware retraction and have it sec to 1800mm/sec.
                                        So just as a test, try halving that to 900mm/sec which ought to cure the hiccups. If it does, but the print quality is not improved, then you know it's not a firmware issue.

                                        Firmware retraction speed is in mm/min not mm/s, so my 1800 is equal to 30mm/s

                                        Yes I know. But that's still around 6 times faster than what you'll see doing print moves when printing at 100mm/sec carriage speed where the extruder would be running at about 5 mm/sec. Hence my suggestion to try it at 900mm/min (15mm/sec).

                                        Sure, I will change it to 900mm/min for my next print.

                                        deckingmanundefined 1 Reply Last reply Reply Quote 0
                                        • deckingmanundefined
                                          deckingman @evomotors
                                          last edited by

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

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

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

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

                                          @evomotors When I've seen hiccups on extruders, it's always been retract/unretract moves that cause it, because the extruder moves much faster doing those moves than it does during printing. For example, during print moves the extruder moves are typically in the order of 5% of the carriage move (depending on nozzle size and layer height of course). So if you printed at say 100mm/sec, then the extruder speed would typically be about 5mm/sec. I note that you use firmware retraction and have it sec to 1800mm/sec.
                                          So just as a test, try halving that to 900mm/sec which ought to cure the hiccups. If it does, but the print quality is not improved, then you know it's not a firmware issue.

                                          Firmware retraction speed is in mm/min not mm/s, so my 1800 is equal to 30mm/s

                                          Yes I know. But that's still around 6 times faster than what you'll see doing print moves when printing at 100mm/sec carriage speed where the extruder would be running at about 5 mm/sec. Hence my suggestion to try it at 900mm/min (15mm/sec).

                                          Sure, I will change it to 900mm/min for my next print.

                                          I'm not expecting that it will have much effect on your print - might cause a minor blob at the end of print moves but nothing drastic. However, it should reduce or eliminate the hiccups. So if you still have print issues, it means that it something other than step pulse frequency issues with expansion boards.

                                          For info, even with 3.1.1. I do not see any hiccups on either of my 2 expansion boards, each of which has 3 BMGs connected and which use 16X micro-stepping and around 410 steps per mm. - and that is also running 1800 mm/min firmware retraction (but I do see hiccups if I chnage to 32x micro-stepping). That doesn't really help your situation but adds weight to the argument that your issue might not be related to firmware.

                                          Ian
                                          https://somei3deas.wordpress.com/
                                          https://www.youtube.com/@deckingman

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

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

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

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

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

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

                                            @evomotors When I've seen hiccups on extruders, it's always been retract/unretract moves that cause it, because the extruder moves much faster doing those moves than it does during printing. For example, during print moves the extruder moves are typically in the order of 5% of the carriage move (depending on nozzle size and layer height of course). So if you printed at say 100mm/sec, then the extruder speed would typically be about 5mm/sec. I note that you use firmware retraction and have it sec to 1800mm/sec.
                                            So just as a test, try halving that to 900mm/sec which ought to cure the hiccups. If it does, but the print quality is not improved, then you know it's not a firmware issue.

                                            Firmware retraction speed is in mm/min not mm/s, so my 1800 is equal to 30mm/s

                                            Yes I know. But that's still around 6 times faster than what you'll see doing print moves when printing at 100mm/sec carriage speed where the extruder would be running at about 5 mm/sec. Hence my suggestion to try it at 900mm/min (15mm/sec).

                                            Sure, I will change it to 900mm/min for my next print.

                                            I'm not expecting that it will have much effect on your print - might cause a minor blob at the end of print moves but nothing drastic. However, it should reduce or eliminate the hiccups. So if you still have print issues, it means that it something other than step pulse frequency issues with expansion boards.

                                            For info, even with 3.1.1. I do not see any hiccups on either of my 2 expansion boards, each of which has 3 BMGs connected and which use 16X micro-stepping and around 410 steps per mm. - and that is also running 1800 mm/min firmware retraction (but I do see hiccups if I chnage to 32x micro-stepping). That doesn't really help your situation but adds weight to the argument that your issue might not be related to firmware.

                                            I reduced retraction speed to 900 mm/min and even changed E micro-stepping to 8x . I still see hiccups and still under extrusions specifically after retractions moves. And I don't see this issue when E motor is connected to Duet 3 board. I wonder if I have the same issue if E motor is connected to expansion or tool board (both 3.1 and 3.2) and I'm the only one with this issue, it could be related to faulty Duet 3 board?

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