Duet wifi stepper noise in signal
-
Here is my config. Just to let you all know, I manage a print farm with custom and commercial desktop FDM printers, so I’m not anywhere near new to printing. I have them all tuned and printing very well, but they’re running marlin, repetier, and smoothie.
The big issues I’m still having is rough movement from the printer and a poor rough top layer where the extruder fills a 2-7mm section. Both of these issues (from experience) are normally related to jerk and acceleration, yet I have tried nearly every single possible combination with results not getting much better from the last test ran. I've tried tuning pressure advance and it helps, but needs a value of about 0.75 to smooth out that top layer, but trashes the rest of the print. I also get uneven extrusions, and different print results from running the same gcode right after the first. To throw in, I’ve tried S3D, Cura, slic3r, idea maker, and Pathio, all horrible results. I’ve still not gotten an answer to this post regarding the very strange jittery and noisy stepper signal. Yes, the drivers manipulate the signal, but does mine look at all similar to any of yours? To be clear, I’m not talking about audible noise, I’m referring to noise in the signal. Seems like a couple of you may have drifted from that.
About a year ago I started THIS thread. My config file has been changed since then, but results haven’t gotten much better, a year ago.
OEM setttings for marlin:
#define DEFAULT_MAX_ACCELERATION {900,1000,30,2000}
#define DEFAULT_MAX_FEEDRATE {200, 200, 25, 25}
#define DEFAULT_XYJERK 4.0
#define DEFAULT_ZJERK 0.4
#define DEFAULT_EJERK 1.0These images reflect the gcode.
1_1556294322049_simple_boat5.gcode 0_1556294322048_config.g -
Here are the images:
-
@ret said in Duet wifi stepper noise in signal:
Makergear M2
where did you get the values for the M305 from?
From what i can see in their firmware both hed and thermistor are the same.
yet your config has different values.
also those values do not correspond to the marlin thermistor 1 values. -
The bed and hotend thermistor are in fact the same model. I did try with the equivalent thermistor settings from marlin, but went further on tuning them.
-
I don't know about the motor signal noise. @dc42 would have to weigh in there.
From your config.g though your jerk values seem very low.
M566 X240 Y240 Z30 E120
Remember those values are mm/min not mm/s for reprap. Though it looks like you're just using the values from marlin. However, the way jerk works between the two isn't necessarily the same if I recall. Certainly not the same when it comes to the extruder and how jerk interacts with pressure advance. Not to mention how Z jerk can interact with mesh grid compensation.
Try
M566 X900 Y900 Z120 E6000
I know that for me, with X and Y jerk values that low the quick back and forth zig zag moves slow down way too much and ends up oozing a lot leading to the rough surface like in your picture.
-
The only good way to tell if the stepper driver is supplying the correct waveform to the stepper motors is to use a current probe in series with one of the windings. Modern stepper drivers use various techniques to reduce EMI and, achieve accurate low current microstepping, and to implement advanced features such as stealthchop.
-
@Phaedrux I'm aware of the units. I initially copied over the exact (converted) units from marlins FW, with no success. I've tried more duet printer standard accel and jerk like yours and it doesn't improve anything. I printed the little boat again with your exact jerk settings and it turned out worse than with the low jerk and accel. The makergear is a very solid printer, but its not designed for very high speeds, accel, and jerk. Any other suggestions?
-
Can you show us a comparison of two photos of prints, one showing the effects you're trying to correct and another that doesn't show these effects, ideally printed on the same printer?
The prints you have shown don't look amazing, but they don't look bad. I would hesitate to implicate anything other than different settings exciting mechanical errors in different ways.
-
@bot I ran out of white, but this is the same sliced settings, printed on my rambo, just modified the jerk and acceleration gcode commands and format. You can clearly see the difference between the two, and that's not even using my normal RAMBO slicing settings, that's using the settings that work the best on the duet, but are still not good.
-
That was printed on the exact same printer? I do see a difference, and it seems related to the extruder axis IMO. Would you agree?
Can you post the accel, jerk, and speed settings you are using in marlin, and then post what settings you used on the duet? Please include the values for the extruder axis.
-
How confident are you in the accuracy of your thermistor values?
M305 P1 T100000 B4138 C0 R4700
The white one does look kind of over extruded, but that could also be from printing too hot?
-
@bot yes, same printer. I copied the exact same values used in the gcode I posed, just converted them from reprap firmware to marlin, and converted the units where needed. At this point im not quite sure what to think. If i was trying to debug someone else having this issues, id probably agree with you about extruder, but from my perspective, it doesn't make sense at all. Reducing flow on the duet only minimizes the problem proportionally and ruins the rest of the part, so it seems its not flow.
@Phaedrux ---I'm pretty confident in the accuracy since its what I used in marlin as well for a little bit. To be honest, I made the changes long ago and reverted them back to defaults and see no difference in quality at all. PLA has such a wide range of printing temperatures that it must have just been okay.
-
@ret said in Duet wifi stepper noise in signal:
[...] I copied the exact same values used in the gcode I posed, just converted them from reprap firmware to marlin, and converted the units where needed. [...]
Jerk does not work the same way as in marlin, afaik. IIRC, you essentially have to use half the jerk value in RRF than you do in marlin. This is because, and my memory might be failing me here, marlin uses half the jerk value as the start/stop speed, and the jerk value itself is used for cornering speeds or something.
Anyway, it's obvious that copying and pasting the settings isn't working, so you should start trying different values to see what changes things.
-
Is there a Makergear user group somewhere that you could check in with and see if others are having similar issues using the Duet?
-
@bot I'm aware its different, just not by what degree. Please re-read my post as ive not just copied and pasted and started asking for help. I've gone through many many many different configurations with the jerk and accel from really low to super high with no significant quality improvements. Please don't get me wrong here, i do appreciate everyones help on this, i'm just very frustrated with this issue. If i in fact need to reduce my jerk by half, ill be running at around X120 Y120 Z15 E30 which in my opinion, as of what everyone else settings are, is on the very low end of things. I have in fact tried half of my original settings from marlin with very very jerky slow prints, which makes sense.
@Phaedrux I've sent messages out to a few people who've put the duet on their printer and their settings near match mine and the marlins default values. They both say they love their duet, which makes me wonder if I've either got a faulty board, or am having unrealistic expectations for the duet.
-
Are you positive that your maximum speeds and accelerations are the same as for marlin? Or maybe marlin doesn't coordinate the E axis well with the X/Y/Z axes, and so you have to increase your accel/jerk for the E extruder a lot, without adjusting the X/Y values.
If you want, I'll lend you a Duet WiFi to see if you have a faulty board. Just pay for postage and promise to send it back.
-
@bot Thank you so much for that kind offer, but I couldn't possibly take one of your printers offline for that.
On a side note-
Pressure advance makes my top layers worse in tight back and forth top fill, and doesn't make my corners any less rounded/bulged. But, it does make my extruder skip a lot if over 0.25, which makes sense. Any idea why that could be, maybe tied into the underlying issue? Printing without Pressure advance improves my quality on top and corners, but still nowhere near what I'd consider "good"Besides that, do you have any other suggestions to try?
-
@ret I actually have a couple spare wifis that are not being used, so it wouldn't take a printer out of service.
I can't think off-hand anything worth trying to improve things. Just keep coming up with theories and testing them, eventually you'll get it! haha... that's my strategy.
-
Not sure if it’s been said but when I had issues like this I noticed that the config override file was not set/being used like I thought. It’s worth making sure you either have the right mcodes in place to run the override file or intentionally not use it.
-
@ret said in 0_1556294322048_config.g
M587 @ ; Configure access point. You can delete this line once connected
As the comment says remove this from you configuration file once you have successfully connected your printer to the wifi.
@ret said in 0_1556294322048_config.g
M350 X16 Y16 Z16 E16 I1
I can see a few different settings but it doesn't appear that you have tried 256?
@ret said in 0_1556294322048_config.g
M566 X240 Y240 Z30 E120 ; Set jerk (maximum instantaneous speed changes) (mm/min)
This is conservative as others have said. Fair enough you may have tried many different settings but an iterative correction process may settle on a completely wrong value with values this far off. I've a comparatively flexible Ormerod running on:
M566 X900 Y900 Z12 E800
...and another with a reprap 3:1 geared extruder running at E3600. This firmware (as with most) will slow the moves to fit the acceleration and instant speed of the slowest axis.
I can however see that you have copied the values from Marlin and multiplied by 60.
@ret said in 0_1556294322048_config.g
M201 X900 Y1000 Z30 E2000
Acceleration not far off my Ormerod settings. If you're running a geared extruder that isn't struggling try E3600.
@ret said in 0_1556294322048_config.g
M906 X1400 Y1000 Z750 E1000 I30
Lots of different motors on your system? Others have reported surface finish artefacts when running the motors with a current limit significantly lower than the motors rated current. Set the motors to 80% (unless the values above are already higher than this) of the rated current an feel how warm they get.
The marlin firmware seems to have the motors limited to 0.75A? Are they high inductance motors? I had an issues on an Up printer where the machine would run really rough of the current limit was too high. It was basically the resistance of the coils that limited the current not the chopper driver and it didn't seem to like that!
@ret said in 0_1556294322048_config.g
; Axis Limits
M208 X0 Y0 Z-5 S1 ; Set axis minima
M208 X220 Y255 Z203 S0 ; Set axis maximaThis won't help you at all but I liked one of the recent changes that allowed the above to be condensed into one line as follows. I find it much more readable.
M208 X0:220 Y0:255 Z-5:203
@ret said in 0_1556294322048_config.g
M570 H0 S1200 ;heater faults for 1200 seconds
M570 H1 S1200I'm suspecting something is seriously amiss with your heaters if you have the need to have a heater fault existing for 20 minutes before the system shuts down?
Others have raised the concern about config override but there is no M501 in your configuration file, so that shouldn't be being read in.
Are your PID values from a Duet auto tune or also copied from the Marlin config?