Duet Wifi 1.04 on Ender5,motor noise



  • Hi

    I have setup the Duet Wifi it on my Ender 5

    All motors are stock only the Extruder i have changes it to this one:
    https://www.amazon.de/gp/product/B07TXD7ZCF/ref=ppx_yo_dt_b_asin_title_o01_s01?ie=UTF8&psc=1

    before i home all axes is all quite and nice but after homing the motors are making to much noise, with my old board it was all quite.

    my config.g:

    M350 X16 Y16 Z16 E16 I1                 ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E411.53        ; Set steps per mm
    M566 X600.00 Y600.00 Z60.00 E300.00      ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000.00 Y30000.00 Z500.00 E6000.00  ; Set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z200.00 E6000.00    ; Set accelerations (mm/s^2)
    M906 X580.00 Y650.00 Z580.00 E650.00 I10  ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30                                  ; Set idle timeout
    

    if you need more infos i will post

    thanks



  • @lui2004 first guess is that your speed M203 X and Y is set too high (try 6000). You can analyze by running the printer a bit (while it's loud) and then make a M122 and look for the hiccups number. If it's high, you lost steps.
    The M906 currents for X and Y may be too low (try 50 - 80 % of stepper current), but this depends on the steppers. Do you have information on them or a type label?
    If there is another reason, it would be good if you post your complete config and homeall, and tell your firmware version.



  • @JoergS5 said in Duet Wifi 1.04 on Ender5,motor noise:

    M122

    Hi

    the Motors for x,y and z are stock from Ender 5 only the Extruder motor was changed to this one:

    schematic.jpg motor.jpg

    thats my firmware version:
    Board: Duet 2 WiFi (2WiFi)
    Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.1.1 (2020-05-19b2)
    Duet WiFi Server Version: 1.23

    M112:

    M122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later
    Board ID: 08DGM-917NK-F23T0-6JTD2-3S86S-KYBND
    Used output buffers: 3 of 24 (14 max)
    === RTOS ===
    Static ram: 27980
    Dynamic ram: 93840 of which 44 recycled
    Exception stack ram used: 544
    Never used ram: 8664
    Tasks: NETWORK(ready,368) HEAT(blocked,1224) MAIN(running,1552) IDLE(ready,80)
    Owned mutexes: WiFi(NETWORK)
    === Platform ===
    Last reset 00:00:55 ago, cause: power up
    Last software reset at 2020-07-24 22:31, reason: User, spinning module GCodes, available RAM 8736 bytes (slot 3)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
    Error status: 0
    MCU temperature: min 28.4, current 31.6, max 31.8
    Supply voltage: min 24.2, current 24.4, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max 0/232
    Driver 1: standstill, SG min/max 88/216
    Driver 2: standstill, SG min/max 0/312
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2020-07-25 08:54:29
    Cache data hit count 95067176
    Slowest loop: 4.60ms; fastest: 0.12ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Storage ===
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest read time 1.0ms, write time 0.0ms, max retries 0
    === Move ===
    Hiccups: 0(0), FreeDm: 169, MinFreeDm: 167, MaxWait: 23772ms
    Bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves: 12, completed moves: 12, StepErrors: 0, LaErrors: 0, Underruns: 0, 0  CDDA state: -1
    === AuxDDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0  CDDA state: -1
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
    === GCodes ===
    Segments left: 0
    Movement lock held by null
    HTTP is idle in state(s) 0
    Telnet is idle in state(s) 0
    File is idle in state(s) 0
    USB is idle in state(s) 0
    Aux is idle in state(s) 0
    Trigger is idle in state(s) 0
    Queue is idle in state(s) 0
    Daemon is idle in state(s) 0
    Autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 155.68ms; fastest: 0.00ms
    Responder states: HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
    HTTP sessions: 1 of 8
    - WiFi -
    Network state is active
    WiFi module is connected to access point 
    Failed messages: pending 0, notready 0, noresp 0
    WiFi firmware version 1.23
    WiFi MAC address 84:f3:eb:83:4f:81
    WiFi Vcc 3.45, reset reason Unknown
    WiFi flash size 4194304, free heap 23568
    WiFi IP address 192.168.2.112
    WiFi signal strength -68dBm, reconnections 0, sleep mode modem
    Socket states: 0 0 0 0 0 0 0 0
    

    Config.g:

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Tue May 07 2019 23:06:50 GMT+0100 (British Summer Time)
    
    ; General preferences
    G90                                      ; Send absolute coordinates...
    M83                                      ; ...but relative extruder moves
    
    ; Network
    M550 P"Ender 5"                          ; Set machine name
    M552 S1                                  ; Enable network
    M587 S"WLAN-110995" P"39510069647710671890"                 ; Configure access point. You can delete this line once connected
    M586 P0 S1                               ; Enable HTTP
    M586 P1 S0                               ; Disable FTP
    M586 P2 S0                               ; Disable Telnet
    
    ; Drives
    M569 P0 S1                               ; Physical drive 0 goes forwards
    M569 P1 S1                               ; Physical drive 1 goes forwards
    M569 P2 S0                               ; Physical drive 2 goes backwards
    M569 P3 S0                               ; Physical drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1                 ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E411.53        ; Set steps per mm
    M566 X600.00 Y600.00 Z60.00 E300.00      ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000.00 Y30000.00 Z500.00 E6000.00  ; Set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z200.00 E6000.00    ; Set accelerations (mm/s^2)
    M906 X580.00 Y650.00 Z580.00 E650.00 I10  ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30                                  ; Set idle timeout
    
    ; Axis Limits
    M208 X0 Y0 Z0 S1                         ; Set axis minima
    M208 X220 Y220 Z300 S0                   ; Set axis maxima
    
    ; Endstops
    M574 X1 S1 P"xstop"                            ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop"                            ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S1 P"zstop"                            ; configure active-high endstop for low end on Z via pin zstop
    
    ; Z-Probe
    M558 PO H2 F120 T6000
    M557 X20:220 Y20:220 S65                       ; define mesh grid
    M376 H20
    
    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0                          ; create bed heater output on bedheat and map it to sensor 0
    M307 H0 B0 S1.00                               ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0                                        ; map heated bed to heater 0
    M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
    M308 S1 P"e0temp" Y"thermistor" T100000 B3950  ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1                           ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00           
    
    ; Fans
    M950 F0 C"fan0" Q500                           ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1                                 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500                           ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T45                              ; set fan 1 value. Thermostatic control is turned on
    
    ; Tools
    M563 P0 D0 H1                            ; 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
    
    ; Automatic saving after power loss is not enabled
    
    ; Custom settings are not configured
    M501
    M575 P1 S1 B57600
    

    homeall:

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Tue May 07 2019 23:06:50 GMT+0100 (British Summer Time)
    G91                     ; relative positioning
    G1 Z5 F6000 H2          ; lift Z relative to current position
    G1 H1 X-225 Y-225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 X5 Y5 F6000          ; go back a few mm
    G1 H1 X-225 Y-225 F360  ; move slowly to X and Y axis endstops once more (second pass)
    G1 H1 Z-305 F1800       ; move Z down stopping at the endstop
    G90                     ; absolute positioning
    G92 Z0                  ; set Z to axis minimum (you may want to adjust this)
    
    ; Uncomment the following lines to lift Z after probing
    ;G91                    ; relative positioning
    ;G1 S2 Z5 F100          ; lift Z relative to current position
    ;G90                    ; absolute positioning
    

    homex.g:

    ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Tue May 07 2019 23:06:50 GMT+0100 (British Summer Time)
    G91               ; relative positioning
    G1 Z5 F6000 H2    ; lift Z relative to current position
    G1 H1 X-225 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 X5 F6000       ; go back a few mm
    G1 H1 X-225 F360  ; move slowly to X axis endstop once more (second pass)
    G1 Z-5 F6000 H2   ; lower Z again
    G90               ; absolute positioning
    

    homey.g:

    ; homey.g
    ; called to home the Y axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Tue May 07 2019 23:06:50 GMT+0100 (British Summer Time)
    G91               ; relative positioning
    G1 Z5 F6000 H2    ; lift Z relative to current position
    G1 H1 Y-225 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F6000       ; go back a few mm
    G1 H1 Y-225 F360  ; move slowly to Y axis endstop once more (second pass)
    G1 Z-5 F6000 H2   ; lower Z again
    G90               ; absolute positioning
    

    homez.g:

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Tue May 07 2019 23:06:50 GMT+0100 (British Summer Time)
    G91               ; relative positioning
    G1 Z5 F6000 H2    ; lift Z relative to current position
    G1 H1 Z-305 F1800 ; move Z down until the endstop is triggered
    G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
    
    ; Uncomment the following lines to lift Z after probing
    ;G91              ; relative positioning
    ;G1 S2 Z5 F100    ; lift Z relative to current position
    ;G90              ; absolute positioning
    




  • @lui2004 did you try changing
    M203 X30000.00 Y30000.00 Z500.00 E6000.00
    to
    M203 X6000.00 Y6000.00 Z500.00 E6000.00
    and then turn off/on printer to be sure the change is active?

    I don't see errors in M122 and config.



  • yes i have changed the values but still the same with noise



  • @lui2004 I watched the video with audio on now 😉
    My impression is, the most noise don't come from the steppers, but the fans. It's difficult to decide. Probably after homing some fans are activated because something heats up (heatbreak fan eg).

    Your trapezoid spindle for Z movement is black, this may be abrasive from some spindle nut or you needed lubrication. There may be too much friction between nut and spindle. This could produce noise also (and has the danger of slip-stick and inexact Z movement also). The coupler between stepper and spindle is of a type where the stepper and trapezoid axis must match exactly. Better would be dog clutch (Rotex coupler, Oldham). They are better than those aluminium coupler with horizontal gaps.


  • Moderator

    It's hard to tell from the video if it's fan noise or the motor idle noise. The creality motors are a bit noisier on the Duet I think. There is a bit more whine from them.

    M906 X580.00 Y650.00 Z580.00 E650.00 I10 ; Set motor currents (mA) and motor idle factor in per cent

    Current setting on the Duet 2 WiF/Ethernet is done in steps of 100mA and is rounded down. Current setting on the Duet Maestro is in steps of 50mA and rounded down.

    https://duet3d.dozuki.com/Wiki/Gcode#Section_M906_Set_motor_currents

    So keep that in mind when setting your currents.

    You may find this helpful: https://duet3d.dozuki.com/Wiki/Reducing_Stand-Still_Noise



  • @Phaedrux said in Duet Wifi 1.04 on Ender5,motor noise:

    M906 X580.00 Y650.00 Z580.00 E650.00 I10 ; Set motor currents (mA) and motor idle factor in per cent

    this parameters are from marlin

    M906 X580.00 Y650.00 Z580.00 E650.00 I10 ; Set motor currents (mA) and motor idle factor in per cent

    so if i have the Duet wifi how to set up ? like this ?

    M906 X480.00 Y550.00 Z480.00 E550.00 I10 ; Set motor currents (mA) 
    


  • @lui2004 can you locate what is loud? X, Y, Z steppers or fans (and which fan)?


  • Moderator

    Those values will be rounded down to the nearest 100ma.

    So this: M906 X480.00 Y550.00 Z480.00 E550.00

    Will actually be this: M906 X400.00 Y500.00 Z400.00 E500.00





  • Hi

    the noise from the motors seems like rustle


Log in to reply