Duet 3 Mini noisy StealthChop + no sensorless homing
-
Hi Forum,
I recently got my Duet 3 Mini and edited my Duet 2 WiFi config.
Fans, heaters etc. work but I can't get sensorless homing to work and axis movement in general is very loud and noisy.
I'm using basically a Prusa MK3 printer with their stock LDO 1.8 stepper motors. I know 0.9 motors are a big problem with TMC2209 so I wanted to start with 1.8 motors.Below is my config.g and homeall.g which worked with my Duet 2 WiFi.
I added V34 to the M569 gcode so that the speed is high enough for homing etc. for StealthChop.M569 P0.0
Drive 0 runs forwards, active low enable, timing fast, mode stealthChop, ccr 0x00053, toff 3, tblank 0, tpwmthrs 34 (110.3 mm/sec), pwmScaleSum 15, pwmScaleAuto 8, pwmOfsAuto 255, pwmGradAuto 16, pos 872I assume I need to find the right settings? With Marlin 2 and TMC2209 (other board) those stepper motors run fine when disabling hybrid mode. Is that possible for the Duet 3 Mini? I'd rather have no SpreadCycle at all and rather stick to slower print speeds (max 100 mm/s) for less problems with the settings.
My config.g:
; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Network M550 P"Pruset II MK3s" ; Set machine name M552 S1 ; Enable network ;M552 S2 ; Enable AP ;*** Access point is configured manually via M587 M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet M575 P1 S1 B57600 ; Panel Due ; Drive Mappings M569 P0.0 S1 V34 ; Drive 0 goes forwards: X Axis M569 P0.1 S0 V34 ; Drive 1 goes backwards: Y Axis M569 P0.2 S1 V34 ; Drive 2 goes backwards: Z Axis M569 P0.3 S1 V34 ; Drive 3 goes forwards: E Axis M569 P0.4 S1 V34 ; Drive 4 goes backwards: Z Axis (at E1) ; Micrpstepping and Speed M350 X16 Y16 E16 Z16 I1 ; Configure microstepping with interpolation M92 X200.00 Y200.00 Z400.00 E415.00 ; Set steps per mm ; Speeds, Acceleration and Jerk M566 X240.00 Y240.00 Z24.00 E270.00 P1 ; Set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z720.00 E3000.00 ; Set maximum speeds (mm/min) M201 X1200.00 Y1200.00 Z1000.00 E500.00 ; Set accelerations (mm/s^2) M204 P1200.0 T1200.0 ; set print and travel accelerations (mm(s^2) ; Motor currents M906 X500.00 Y550.00 Z500.00 E550.00 I10 ; Set motor currents (mA) and motor idle factor in percent M84 S30 ; Set idle timeout ; Motor remapping for dual Z and axis Limits M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1 M671 X-37:287 Y0:0 S10 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis ; Printer geometry M208 X0:250 Y-4:215 Z-0.2:205 ; X carriage moves from 0 to 250, Y bed goes from 0 to 210 M564 H0 ; allow unhomed movement ; Endstops for each Axis M574 X1 S3 ; Set endstops controlled by motor load detection M574 Y1 S3 ; Set endstops controlled by motor load detection ; Stallgaurd Sensitivy M915 X S0 F0 H200 R0 ; Set X axis Sensitivity M915 Y S0 F0 H200 R0 ; Set y axis Sensitivity ; Z-Probe Super PINDA M574 Z1 S2 ; Set endstops controlled by probe M558 P5 C"^io3.in" I1 H1 F1000 T6000 A20 S0.005 ; PINDA ; Probing Mesh Grid and Sheets M557 X24:221 Y10:195 P8 ; Define mesh grid for probing ;G31 P1000 X23 Y5 Z1.570 ; Textured G31 P1000 X23 Y5 Z1.275 ; PEI ; Heatbed Heaters and Thermistor Bed ;M308 S0 P"temp0" Y"thermistor" T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0 Bed M308 S0 P"temp0" Y"thermistor" T100000 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 0 Bed M950 H0 C"out0" T0 ; Creates Bed Heater M307 H0 A117.2 C382.7 D10.8 V23.2 B0 ; Bed PID Calibration and PWM M140 H0 ; Bed uses Heater 0 M143 H0 S120 ; Set temperature limit for heater 0 to 120C Bed ; HotEnd Heaters and Thermistor HotEnd M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.060000e-8 ;define E0 temperature sensor e3d M950 H1 C"out1" T1 ; Create HotEnd Heater M307 H1 A244.7 C85.1 D3.4 V23.7 B0 ; Hotend PID Calibration and PWM M143 H1 S285 ; Set temperature limit for heater 1 to 285C HotEnd M302 S185 R185 ; Fans M950 F1 C"out5" Q250 ; Creates HOTEND Fan M106 P1 T45 S255 H1 ; HOTEND Fan Settings M950 F0 C"out6" Q250 ; Creates PARTS COOLING FAN M106 P0 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off PARTS COOLING FAN ; Tools M563 P0 D0 H1 F0 ; Define tool 0 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C M98 P"0:/macros/02_Functions/StartupFilamentSensorCheck" ; Runout Sensor Logic: Startup with filament = runout sensor active Startup without filament = autoload active
My homeall.g:
G91 ; relative positioning G1 Z8 F800 H2 ; lift Z relative to current position G1 H1 X-255 F3800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H1 Y-215 F3800 ; move quickly to X and Y axis endstops and stop there (first pass) M913 X60 Y60 Z100 ; set X Y Z motors to 60% of their normal current G91 ; relative mode G1 H2 Z2 F2600 ; raise head 2mm to ensure it is above the Z probe trigger height G90 ; back to absolute mode G1 X104 Y100 F6000 ; put head over the centre of the bed, or wherever you want to probe G30 ; lower head, stop when probe triggered and set Z to trigger height```
-
@Argo said in Duet 3 Mini noisy StealthChop + no sensorless homing:
Fans, heaters etc. work but I can't get sensorless homing to work and axis movement in general is very loud and noisy.
did you update to the 3.2.2? there was a bug with the sensorless homing that the sensitivity was set wrong
-
M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.2.2 ELECTRONICS: Duet 3 Mini5plus Ethernet FIRMWARE_DATE: 2021-02-11
Should be the newest stable version I guess.
-
i was wrong . its in the 3.3 beta.
see
https://forum.duet3d.com/topic/21108/stall-detection-on-duet-3-mini -
Thanks just updated to
FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.3beta1 ELECTRONICS: Duet 3 Mini5plus Ethernet FIRMWARE_DATE: 2021-02-14 16:24:45But movements are still very loud and vibrate a LOT.
I had similar issues with hybrid mode at Marlin 2 and TMC22209. Solution was to just disable hybrid mode. Hope this is somehow possible. -
M569 P0 should show you what speed a switch from stealthchop to spreadcycle will take place. Not sure if the speeds you are using will trigger the switch or not.
-
With
M569 P0.0 S1 V34 ; Drive 0 goes forwards: X AxisI get:
Drive 0 runs forwards, active low enable, timing fast, mode stealthChop, ccr 0x00053, toff 3, tblank 0, tpwmthrs 34 (110.3 mm/sec), pwmScaleSum 34, pwmScaleAuto 2, pwmOfsAuto 207, pwmGradAuto 18, pos 776Homing is set to F3800 = 63,33 mm/s
In theory this should work?
-
to disable hybrid mode set V to 0
-
Looks like it should be staying in stealthchop for the homing move.
Things you might try...
- Lower the X and Y current before the homing move. You also don't seem to ever be restoring the current back to 100%.
- What happens if you set a very low stall threshold with something like M915 X S-63 F0 H200 R0, do the motors stall then?
-
@Argo said in Duet 3 Mini noisy StealthChop + no sensorless homing:
M92 X200.00 Y200.00 Z400.00 E415.00 ; Set steps per mm
if you have 1.8 degree stepper this should be X100 Y100
-
Ah I lowered the currents for testings. Normally I set them back to 100%.
I'll try lower settings now.@Veti
My bad, thanks for pointing that out. I had 0.9 motors in my Duet Wifi. Argh -
@Argo
do you where running twice the speed. thats where the noise could have come from -
Thank you guys again
With the beta version from the Dropbox archive + correct steps settings and lower sensitivity + no hybrid mode, it's working now and the motors are really quiet.
-
the real beta 1 is here
https://github.com/Duet3D/RepRapFirmware/releases/tag/3.3beta1
not on dropbox -
Are those versions the same? dc42 posted in the thread you linked that it's an unofficial beta build. Idk if he means not for public or it's just because it's a beta.
-
3.3 beta 1 was release 12 days ago.
the dropbox link was from 21.january.if its not in beta 1 then that would be good to know, in case he forgot to merge the bugfix.
-
The bug fix is in the official 3.3beta1 release. The builds currently on Dropbox are later.
-
@dc42
its not in the changelog -
@Veti said in Duet 3 Mini noisy StealthChop + no sensorless homing:
@dc42
its not in the changelogThanks for pointing this out. It is now.