Duet3 6CH + 3CH expansion board - Missing steps.
-
@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.
-
@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
-
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.
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.
-
@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.
-
@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.
-
@dc42 do you have any time estimates? I’m wondering when I’ll be able to print.
-
Can I have some updates? Please...
-
Still being worked on. Thanks for your patience.
-
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 -
@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.
-
@dc42 ty, we will try it.
-
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.
-
I've located the problem and tested a provisional fix. It affects systems using CAN expansion boards that have DAA enabled.
-
@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?
-
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.
-
@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.
-
@dc42 Is it possible that pressure advance has the same issue on expansion and tool boards?
-
@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.
-
@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.
-
@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.