Missing Steps - Cant Print SpreadCycle StealthChop tuning help
-
@carcamerarig thanks for your efforts. If i may add one bit ...in my case it was mesh enable to create major issues (axis shifts) .
Did you run with or without mesh ? -
@carcamerarig said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:
@dc42 What mode?
Please use spreadCycle mode until there are no problems when using this mode.
-
@dc42 I can't actually get it to home now in this fw...
-
Homing does work for me with this compiled version and the timeout issues seems solved though it did not lead to any issues with my printer.
M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.3beta2+2 (2021-04-13 22:55:13) running on Duet 3 Mini5plus Ethernet (standalone mode) Board ID: ZDWF8-8296U-D65J0-40KMU-J603Z-77MM8 Used output buffers: 1 of 40 (22 max) === RTOS === Static ram: 100040 Dynamic ram: 102832 of which 176 recycled Never used RAM 37800, free system stack 112 words Tasks: NETWORK(ready,208) ETHERNET(notifyWait,566) ACCEL(notifyWait,345) HEAT(delaying,300) CanReceiv(notifyWait,944) CanSender(notifyWait,353) CanClock(delaying,332) TMC(notifyWait,99) MAIN(running,310) IDLE(ready,20) AIN(notifyWait,265) Owned mutexes: === Platform === Last reset 00:52:47 ago, cause: software Last software reset at 2021-04-14 23:24, reason: User, GCodes spinning, available RAM 37976, slot 0 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00489000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Aux0 errors 112,112,112 Aux1 errors 0,0,0 MCU revision 3, ADC conversions started 3769704, completed 3769703, timed out 0, errs 0 Supply voltage: min 22.6, current 22.7, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/12, heap memory allocated/used/recyclable 2048/528/120, gc cycles 41 Driver 0: position 18183, ok, SG min/max 0/488, read errors 0, write errors 1, ifcnt 96, reads 55172, writes 15, timeouts 0, DMA errors 0 Driver 1: position 17525, standstill, SG min/max 0/462, read errors 0, write errors 1, ifcnt 90, reads 55172, writes 15, timeouts 0, DMA errors 0 Driver 2: position 796, ok, SG min/max 0/338, read errors 0, write errors 1, ifcnt 95, reads 55169, writes 17, timeouts 0, DMA errors 0 Driver 3: position 0, ok, SG min/max 0/464, read errors 0, write errors 1, ifcnt 96, reads 55169, writes 17, timeouts 0, DMA errors 0 Driver 4: position 0, ok, SG min/max 0/342, read errors 0, write errors 1, ifcnt 95, reads 55170, writes 17, timeouts 0, DMA errors 0 Driver 5: position 0, assumed not present Driver 6: position 0, assumed not present Date/time: 2021-04-15 00:17:46 Cache data hit count 4294967295 Slowest loop: 197.42ms; fastest: 0.07ms === Storage === Free file entries: 9 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 10.6ms, write time 56.4ms, max retries 0 === Move === DMs created 83, maxWait 1500779ms, bed compensation in use: mesh, comp offset 0.000 === MainDDARing === Scheduled moves 34138, completed moves 34098, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = 0 -1, chamberHeaters = -1 -1 Heater 0 is on, I-accum = 0.4 Heater 1 is on, I-accum = 0.7 === GCodes === Segments left: 1 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is doing "G1 X96.057 Y82.736 E0.13106" 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 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is not empty: Queued 'M106 S204' for move 34130 1 of 16 codes have been queued. === Filament sensors === Extruder 0 sensor: ok === CAN === Messages queued 28678, send timeouts 28675, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17) Last cancelled message type 4514 dest 127 === Network === Slowest loop: 145.39ms; fastest: 0.03ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 1 of 8 - Ethernet - State: active Error counts: 0 0 0 0 0
-
@argo - No Bang Bang ?
-
Nope, never had issues with bangs or skipped steps.
But also had many timeouts in the M122 report which are gone now. -
@oc_geek said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:
@carcamerarig thanks for your efforts. If i may add one bit ...in my case it was mesh enable to create major issues (axis shifts) .
Did you run with or without mesh ?@oc_geek, do you still have problems with bangs or layer shifts, using more recent firmware such as the one I posted at https://www.dropbox.com/sh/qlucwfda9257p7u/AABoJogMNT-9P0kefE2W_0bxa?dl=0 ?
More generally: is anyone else apart from @carcamerarig still having this issue, using this firmware?
-
@dc42 hi i have not tried that version yet
IF i disable mesh i can print with spreadcycle forcedAre you suggesting to try the fw AND enable mesh to see how it goes (it scares me a bit...tbh as i already had two noozle hits on bed...)
Shall i disable the forcing of SpreadCycle too ?thanks
-
@oc_geek said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:
@dc42 hi i have not tried that version yet
IF i disable mesh i can print with spreadcycle forcedAre you suggesting to try the fw AND enable mesh to see how it goes (it scares me a bit...tbh as i already had two noozle hits on bed...)
Yes. Would you be able to tell if there was a problem if you air-printed a few cm above the bed, to avoid the risk of nozzle hits?
Shall i disable the forcing of SpreadCycle too ?
No, I'd rather resolve any issues running in spreadCycle mode before we look at other modes.
-
@dc42 said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:
More generally: is anyone else apart from @carcamerarig still having this issue, using this firmware?
Initially I could also reproduce the issue at will. I won't be able to confirm for a couple of weeks as I no longer have a working Mini5+ to test with (amazingly my replacement was dead on arrival, this is being handled separately by @T3P3Tony I believe).
This will of course be one of my first tests once I get a working board in my hands again.
-
@dc42 said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:
Would you be able to tell if there was a problem if you air-printed a few cm above the bed, to avoid the risk of nozzle hits?
Loaded the Beta 3.3 beta 2+2 as per your indication
- spreadcycle forced (D2)
- mesh active
it apperas to be working fine
i made two prints: one 1st layer and 4 corners prints, no issues of sortthanks
-
@fulg said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:
This will of course be one of my first tests once I get a working board in my hands again.
We all hope it will be history by then
-
@oc_geek said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:
@dc42 said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:
Would you be able to tell if there was a problem if you air-printed a few cm above the bed, to avoid the risk of nozzle hits?
Loaded the Beta 3.32+2 as per your indication
- spreadcycle forced (D2)
- mesh active
it apperas to be working fine
i made two prints: one 1st layer and 4 corners prints, no issues of sortThanks for the report! It may be that fixing the stepper driver comms timeout errors has fixed this issue.
I have just added a new M569.2 command to RRF so that if this issue still occurs, we can read the actual values of the stepper driver registers.
-
@dc42 Fairly productive day with Ian using the new fw as you know, we couldn't replicate the bangs (large travel bangs causing layer shifts) and Ian explained the mini bangs during infill are the switchovers (these never caused layer shifts, mini bangs was just how described them) Had some fun and games with homing but I think we've got something like with maybe just a bit of fine tuning.
Need to check through the config later / tomorrow and see if I can rattle off a couple of prints, fingers crossed no bangs I did mention yesterday under the 2+2 fw I couldn't get it to bang air printing. Only just back home so ill update later / tomorrow.Ian and Dave thanks for the support both.
-
@carcamerarig Yes, good day! Can you share a copy of your config.g and homeall.g? I forgot to get a copy, and I think it contains a good example of stealthchop tuning.
Ian
-
@droftarts - any chance of elaborating on the mods and changes and focus of how to sort this ?
What did we discover was happening that was corrected ?
-
@droftarts The fruits of todays efforts.
; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Network M550 P"Duet Caribou 420" ; Set machine name M552 S1 ; Enable network ;*** 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 S0 D3 V0 ; Drive 0: X Axis M569 P0.1 S0 D3 V0 ; Drive 1: Y Axis M569 P0.2 S0 D3 V0 ; Drive 2: Z Axis M569 P0.3 S0 D3 V0 ; Drive 3: E Axis M569 P0.4 S0 D3 V0 ; Drive 4: E1 used for Z1 ; 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 S4 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis ; Micrpstepping and Speed M350 X32 Y32 E16 Z16 I1 ; Configure microstepping with interpolation M92 X200.00 Y200.00 Z400.00 E830.00 ; Set steps per mm ; Speeds, Acceleration and Jerk M566 X900 Y900 Z25.00 E600.00 P1 ; Set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z720.00 E1200.00 ; Set maximum speeds (mm/min) M201 X1500.00 Y1500.00 Z1200.00 E4000.00 ; Set accelerations (mm/s^2) ; Motor currents M906 X700.00 Y700.00 Z700.00 E700.00 I20 ; Set motor currents (mA) and motor idle factor in percent X,Y,Z=1000/1.414 E=1400/1.414 M84 S30 ; Set idle timeout ; Printer geometry M208 X0:250 Y-4:215 Z-0.5:410 ; Axis Limits M564 H0 ; allow unhomed movement ; Endstops for each Axis M574 X2 S3 ; Set endstops controlled by motor load detection M574 Y1 S3 ; Set endstops controlled by motor load detection ; Stallgaurd Sensitivy ;M915 X S-2 F0 H200 R0 ; Set X axis Sensitivity MOVED TO HOMEALL.G ;M915 Y S15 F0 H200 R0 ; Set y axis Sensitivity ; Input Shaper ;M593 F58.5 P4 S0.2 ; Input Shaping 3.3/3.4 ;M593 F54.26 ; Z-Probe Super PINDA M574 Z1 S0 ; Set endstops controlled by probe M558 P5 C"^io3.in" I1 H1 F500 T4800 A30 S0.004 ; Mesh Grid M557 X24:221 Y10:195 P8 ; Define mesh grid for probing ; Sheets ;G31 P1000 X23 Y5 Z1.730 ; Satin Sheet G31 P1000 X23 Y5 Z1.91 ; Textured Sheet ;G31 P1000 X23 Y5 Z1.445 ; PEI Sheet ;G31 P1000 X23 Y5 Z1.445 ; PEI Sheet 0.6 nozzle -10 offset ; Heatbed Heaters and Thermistor 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 Q10 ; Creates Bed Heater Qnn PWM frequency in Hz. Valid range: 0-65535, default: 500. (optional) 10hz stopped clicking M307 H0 R0.273 C345.3 D10.89 S1.00 V23.8 B0 ; PID 3.2 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" T500000 B4725 C1.19622e-7 ; define E0 temperature sensor e3d M950 H1 C"out1" T1 ; Create HotEnd Heater M307 H1 R2.383 C178.5:130.6 D5.32 S1.00 V23.9 B0 ; PID 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 S235 H1 ; HOTEND Fan Settings M950 F0 C"out6" Q100 ; 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 ; StealthCop calibration - MOVED TO HOMEALL.G ; M17 ; G4 P150 ; G1 X2 Y2 Z2 F2000 ; G4 S2 ; M84 ; disable motors ; Filament Sensor Logic M98 P"0:/macros/02_Functions/StartupFilamentSensorCheck" ; Runout Sensor Logic: Startup with filament = runout sensor active Startup without filament = autoload active
; homeall.g ; called to home all axes M400 M18 ; Stallgaurd Sensitivy M915 X S1 F0 H200 R0 ; Set X axis Sensitivity M915 Y S2 F0 H200 R0 ; Set y axis Sensitivity ; StealthCop calibration M17 G4 P150 G91 G1 H2 X2 Y2 Z2 F2000 G90 G4 S1 M913 X80 Y80 Z100 ; set X Y Z motors to 50% of their normal current G91 ; relative positioning G1 H2 Z5 F800 ; lift Z relative to current position G1 H1 X255 F3600 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H1 Y-225 F3600 ; move quickly to X and Y axis endstops and stop there (first pass) G90 M913 X100 Y100 Z100 ; set X Y Z motors to 100% of their normal current G1 X104 Y100 F3800 ; 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
-
@droftarts Could you post links with a short description to explain how we configured the stall detection, sensor less homing and the trinamic flowchart. The way you explained it made more sense than the dozuki.l and I think many would understand it better.
-
@sputnikoc3d We spent a large part of the day testing @carcamerarig Mini 5+ setup. I was able to reproduce the 'small bangs' he talked about, by setting the changeover from stealthchop to spreadcycle to around 32mm/s, and it was particularly noticeable on gyroid fill sections of the test print, just like his video. If set to one or the other mode in config.g, by using M569 D(2 or 3) parameter, it stayed in the set mode and did not bang (was not using stall homing at this point, so did not need to change M569 parameters after power on). I was unable to reproduce the large bang in either mode with the latest firmware (14/4), or in 3.2.2. I ran out of time to test 3.3b2, but have set up my machine to try it out when I get the chance.
Also tested movement with bed mesh on, and with high jerk (900mm/min or 15mm/s) but didn’t push acceleration, which was set at 1500mm/s^2.
I recommended and setup for him to use stealthchop all the time, as the printer was happy to run at up to 300mm/s in stealthchop. I spent some time setting up what I regard as a good stealthchop tuning series of commands, and tuning the stall homing, which was pretty finicky to get right, and I'm still not 100% confident with.
I moved the M915 stall setup to homeall.g, and the stealthchop tuning commands (see posted homeall.g). It follows the recommendations from the Trinamic datasheet; see page 35 and 36 here https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2209_Datasheet_V103.pdf#page35
If anyone has more questions about this, please do ask, though it may be a couple of days before I get back to you.I have set up my printer now with 24V and motors that are very similar in spec to the LDO 0.9 motors. I ran a quick test in stealthchop, with the latest firmware (14/4) and found motors quiet and no banging. In our testing today with the latest firmware, we had no driver errors reported by M122.
Kind of annoying we couldn’t replicate the big bangs today, but maybe switching to an older 3.3b2 firmware will provoke it.
If anyone wants me to test a different setup eg with stealthchop/spreadcycle changeover, please let me know.
Any other questions, please ask and I’ll get back to you when I can; I’m a busy family man, as @carcamerarig experienced today!
Ian
-
This post is deleted!