Y Axis randomly stuttering



  • I tried to start using my printer again and now have this issue where Y randomly starts stuttering. I've tried swapping X and Y and both work fine, I swap them back and both work fine, I start printing and it gets to a random place and the Y starts stuttering - https://www.youtube.com/watch?v=GGNJ-XlJy3g I've also tried breaking the harness up and pulling that wire away from everything else. This printer has worked before and I've changed nothing other than originally updating to the current 2. beta but I tried going back to 1.21 and the issue still exists.

    Config.g

    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Mar 03 2018 14:29:05 GMT-0500 (Eastern Standard Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 P"Black Widow" ; Set machine name
    M551 P" ; Set FTP/Login password
    M552 S1 ; Enable network
    M587 S"NETGEAR01" P"" ; Configure access point. You can delete this line once connected
    M586 P0 S1 ; Enable HTTP
    M586 P1 S1 ; Enable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards X S1
    M569 P1 S1 ; Drive 1 goes backwards Y S0
    M569 P2 S0 ; Drive 2 goes backwards Z
    M569 P3 S1 ; Drive 3 goes forwards E

    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z1600 E427 ; Set steps per mm for 16x microstepping
    M566 X900 Y900 Z12 E10 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z500 E1200 ; Set maximum speeds (mm/min)
    M201 X500 Y150 Z300 E200 ; Set accelerations (mm/s^2)
    M906 X1050 Y1050 Z1300 E1050 I30 ; 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 X335 Y260 Z250 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 S0 ; Set active low endstops
    M574 Z1 S2 ; Set endstops controlled by probe
    M557 X0:315 Y45:260 S20 ; Define mesh grid

    ; Heaters
    M301 H0 S0 P32.6 I1.360 D79.4 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
    ;M301 H0 S1.00 P32.6 I1.360 D79.4 T0.4 W180 B3
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S80 ; Set temperature limit for heater 0 to 80C
    M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S240 ; Set temperature limit for heater 1 to 220C

    ; Fans
    M106 P0 S0 I0 F250 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S255 I0 F10 H1 T100 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S0 I0 L51 F50 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Tools
    M563 P0 D0 H1 F2 ; 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

    M307 H3 A-1 C-1 D-1 ;
    M558 P9 X0 Y0 Z1 H9 F200 T6000
    G31 X48.8 Y-18.2 Z1.0 P25

    M911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z3 F1000"
    ;M911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"

    ; Miscellaneous
    M501
    T0 ; Select first tool



  • I could be wrong but it sounds like the belt is slipping. It could be loose or the bed may be crashing with something.



  • @genghisnico13 said in Y Axis randomly stuttering:

    I could be wrong but it sounds like the belt is slipping. It could be loose or the bed may be crashing with something.

    Bed isn't touching anything and belt is not slipping.

    I did map E1 to Y and it's been running now...I don't know how or why the Y driver got messed up



  • So I was able to finish a print using E1 as Y but now lacking a driver for the second extruder...

    Is there something I'm missing that the driver works fine for a short period of time then starts the stuttering? After power cycling the printer (unplugging it) I'm able to home and jog the machine but usually once I start a print it starts the stuttering (either immediately during homing or when doing the skirt) and then this stuttering seems to persist even through emergency stops and resets of the Duet. I tried taking the acceleration of the Y axis all the way down to 50, as well as lowering max speed change and max speed considerably with no improvement to the issue.

    Something to note that this is the first time using Cura with the printer, I'm not sure if there is some code it is sending that is screwing up the axis or not. I will try tonight to slice with S3D to see if the issue persists but I have a feeling it is driver related due to E1 working fine.



  • I took a look at the Cura generated code and there is nothing present in the lines before skirt printing that would change any of the settings. I use the same startup code in Cura that I was using in S3D so I'm really not sure why it's failing.


  • administrators

    @tjb1 said in Y Axis randomly stuttering:

    Is there something I'm missing that the driver works fine for a short period of time then starts the stuttering? After power cycling the printer (unplugging it) I'm able to home and jog the machine but usually once I start a print it starts the stuttering (either immediately during homing or when doing the skirt) and then this stuttering seems to persist even through emergency stops and resets of the Duet.

    If you are certain that it is associated with one motor driver in particular and can't be an intermittent connection in your wiring, then it's probably related to temperature. Here are a few possibilities:

    • Driver overheating. It shouldn't be because you have the current set to only 1050mA. But when the fault occurs, run M122 several times and see if there are any overheating reports for the drivers. Also touch the driver to see if it is hot.
    • Bad soldering on the motor connector on the Duet. Unlikely, but check that it looks OK from the underside of the board.
    • Bad soldering of the motor driver to the Duet. Unlikely, but not impossible.
    • Bad soldering of the microcontroller to the Duet. This is plausible, especially if you can see any of the gold plating on the PCB where the microcontroller is soldered on to it.


  • @dc42 Here is the M122 during the stuttering

    M122
    === Diagnostics ===
    Used output buffers: 3 of 32 (16 max)
    === Platform ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 1.21 running on Duet WiFi 1.02 or later
    Board ID: 08DGM-95BNL-MGPSJ-6J9FD-3SJ6R-K1WHY
    Static ram used: 16152
    Dynamic ram used: 100480
    Recycled dynamic ram: 2152
    Stack ram used: 1224 current, 4448 maximum
    Never used ram: 7840
    Last reset 00:07:28 ago, cause: software
    Last software reset at 2018-08-28 16:21, reason: User, spinning module GCodes, available RAM 7864 bytes (slot 1)
    Software reset code 0x0003 HFSR 0x00000000, CFSR 0x00000000, ICSR 0x0041f000, BFAR 0xe000ed38, SP 0xffffffff
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms
    MCU temperature: min 33.3, current 33.5, max 33.6
    Supply voltage: min 24.0, current 24.1, max 24.3, under voltage events: 0, over voltage events: 0
    Driver 0: standstill, SG min/max not available
    Driver 1: standstill, SG min/max not available
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2018-08-28 16:29:24
    Slowest main loop (seconds): 0.174435; fastest: 0.000113
    === Move ===
    MaxReps: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm 240, MaxWait: 0ms, Underruns: 0, 0
    Scheduled moves: 36, completed moves: 36
    Bed compensation in use: none
    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    Heater 1 is on, I-accum = 0.0
    === GCodes ===
    Segments left: 0
    Stack records: 2 allocated, 0 in use
    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
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.21
      WiFi MAC address 2c:3a:e8:0b:0a:87
      WiFi Vcc 3.33, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 15080
      WiFi IP address 192.168.1.16
      WiFi signal strength -35dBm, reconnections 0, sleep mode modem
      Socket states: 2 0 0 0 0 0 0 0
      === Expansion ===

    Here is a picture of the microcontroller - https://cdn.discordapp.com/attachments/424958249121611777/484101144470355969/image0.jpg - it looks like some gold is visible on a few pins.

    The driver felt a little warm but I can't tell if it's any warmer than the others.


  • administrators

    If your board is still under warranty then I suggest you ask for it to be repaired or replaced. The soldering on pin 119 of the MCU should be checked and the Y motor driver probably replaced.


Log in to reply