Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet Maestro Freefall

    Scheduled Pinned Locked Moved
    Firmware wishlist
    10
    51
    5.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LeonMFundefined
      LeonMF
      last edited by

      I'm at work and can't test right now but I'm 99% positive that the bed isn't being driven down in the crash situation. I'll try to do some testing tonight.

      Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
      Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

      deckingmanundefined 1 Reply Last reply Reply Quote 0
      • deckingmanundefined
        deckingman @LeonMF
        last edited by

        @leonmf said in Duet Maestro Freefall:

        I'm at work and can't test right now but I'm 99% positive that the bed isn't being driven down in the crash situation. I'll try to do some testing tonight.

        Well whatever. How do you explain that it drops faster in the second two videos with power applied, than it does with no power to the steppers as in the first video?

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        1 Reply Last reply Reply Quote 0
        • wilrikerundefined
          wilriker @LeonMF
          last edited by wilriker

          @leonmf said in Duet Maestro Freefall:

          @wilriker The bed crash is caused when the z is driven into an immovable object like the hot end and stalls out.

          I'm sorry, I was not clear enough: I wanted to know which action you had to take that led to your third video. What did you command to printer to do? Home Z? Bed leveling? Start a print? You must have done something so that the printer started moving and eventually this led to the crash. I want to know what was the last thing you did. This information is required to narrow down where to search for the problem.

          Re being driven: At least in the third video you linked I can hear the motors and as Ian already pointed out (and you also said somewhere above) it is much too fast to be only due to gravity.

          Manuel
          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
          with probably always latest firmware/DWC (incl. betas or self-compiled)
          My Tool Collection

          LeonMFundefined 1 Reply Last reply Reply Quote 0
          • LeonMFundefined
            LeonMF @wilriker
            last edited by

            @wilriker I'll do a test to confirm free-fall vs driven tonight.

            To make this happen, I stalled the motor by jogging the bed up into the nozzle slowly until it stalled and exhibited the crash behavior.

            Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
            Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

            1 Reply Last reply Reply Quote 0
            • LeonMFundefined
              LeonMF
              last edited by

              Slow motion video with object on bed showing that we're not moving faster than unassisted freefall:
              https://youtu.be/c3VssMlqBgU

              Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
              Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

              1 Reply Last reply Reply Quote 0
              • LeonMFundefined
                LeonMF
                last edited by

                I learned that the free fall is temporary and that the steppers stay enabled on the bed crash scenario.

                https://youtu.be/tZbV72hGlCU

                Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                wilrikerundefined 1 Reply Last reply Reply Quote 0
                • wilrikerundefined
                  wilriker @LeonMF
                  last edited by

                  @leonmf That is a really strange behavior...

                  Meanwhile I "inlined" your config.g for better overview of everything that is defined in there and I will append it below. Next up is looking if there is anything strange in there.

                  ; CONFIGURATION FILE for Duet Maestro
                  ; K'Tana Nozzle
                  
                  ; Executed by the firmware on start-up
                  
                  ; Headers within parenthesis are headings in Duet3D documentation=https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer
                  ; Visit https://reprap.org/wiki/G-code for an explanation of G-code commands
                  
                  ; --- SECTION: GENERAL PREFERENCES ( ) ---
                  
                  M564 S1 H1                               ; Enables Homing Requirement For Motor Activation and set axes limits
                  
                  ; --- SECTION: Z-PROBE & MESH COMPENSATION ---
                  
                  M558 P4 I1 X0 Y0 Z1 H5 F100 T5000        ; Set Z probe type -- Enable LIMIT SWITCH
                  G31 P999 X-52 Y30 Z3.38                  ; Set Z probe (limit switch) trigger value, offset
                  
                  M557 X0:325 Y30:380 S30                  ; Define heightmap mesh
                  M376 H25                                 ; Define height(mm) over which to taper off heightmap compensation
                  
                  G29 S1                                   ; Load heightmap after power cycle
                  
                  ; --- SECTION: DRIVES (MOVEMENT SECTION) & ENDSTOPS ---
                  
                  M667 S1                                  ; Enable coreXY mode
                  M569 P0 S0                               ; Drive 0 goes forwards, CoreXY_1
                  M569 P1 S1                               ; Drive 1 goes forwards, CoreXY_2
                  M569 P2 S1                               ; Drive 2 goes forwards, Z Motor
                  M569 P3 S0                               ; Drive 3 goes forwards, Left Extruder
                  M569 P4 S1                               ; Drive 4 goes forwards, Right Extruder
                  M574 X2 Y2 Z2 S0                         ; Set xy end-stops types (S0 is active low, applied to XY)
                  M906 X680 Y680 Z600 E400:400 I60         ; Set motor currents (mA) and idle current percentage
                  M201 X2000 Y2000 Z75 E150:150            ; accleration
                  M203 X9000 Y9000 Z2300 E5000:5000        ; velocity
                  M566 X350 Y350 Z50 E60:60                ; jerk
                  M208 X0 Y0 Z-0.5 S1                      ; Set axis minima
                  M208 X383 Y388 Z377 S0                   ; Set axis maxima
                  M92 X79.8 Y79.8 Z282.6961                ; Set axis steps/mm
                  M350 X32 Y32 Z32                         ; Setting microstepping to 1/32.
                  M92 E180.4:180.4                         ; Extruder Steps/mm
                  M350 E128:128                            ; Setting microstepping to 1/128.
                  G21                                      ; Work in millimetres
                  G90                                      ; Set to absolute coordinates...
                  M84 S1                                   ; Set idle timeout
                  
                  ; --- SECTION: HEATERS, BED & THERMISTOR ---
                  ; H0 is bed
                  ; H1 is left heater
                  ; H2 is right heater
                  
                  M570 H0 P25 T30                          ; Allow heater to be off by as much as 30C for 25 seconds
                  M570 H1 P15 T30                          ; Allow heater to be off by as much as 30C for 15 seconds
                  M570 H2 P15 T30                          ; Allow heater to be off by as much as 30C for 15 seconds
                  M305 P0 T100000 B4138 C0 R2200           ; Set thermistor + ADC parameters for heater 0, For heated Bed thermistor
                  M305 P1 X501 R2200                       ; Define left side extruder PT1000
                  M305 P2 X502 R2200                       ; Define right side extruder PT1000
                  M307 H0 A78.9 C265.2 D9.5 S1.00 V24.0 B0 ; Forcing heated bed PID control after power-cycle. Basic bed heating auto-tune
                  M307 H1 A309 C96 D5.2 S0.75 V24.1 B0     ; Set PID values use M303 auto-tune calibration settings
                  M307 H2 A309 C96 D5.2 S0.75 V24.1 B0     ; Set PID values use M303 auto-tune calibration settings
                  M302 P1                                  ; Allow Cold extrudes
                  M143 H0 S120                             ; Set maximum bed temperature to 120 C
                  M143 H1 S320                             ; Set maximum heater temperature to 320C for hot end 1
                  M143 H2 S320                             ; Set maximum heater temperature to 320C for hot end 2
                  
                  ; --- SECTION: FANS ( ) ---
                  
                  M106 P0 S0 I0 F4 H-1 L0.3                ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
                  ; M106 P1 S0 I0 F4 H-1 L0.3              ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
                  M106 P1 H1:2                             ; LEG - Enable thermostatic mode for fan 1 using heaters 1 and 2
                  M106 P2 S0 I0 F4 H-1 L0.3                ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
                  
                  ; --- SECTION: TOOLS ( ) ---
                  
                  ; Comment: Remember! H0 is the heated bed!
                  ; Comment: D0 is the first driver after movement (X, Y and Z) drives, which is left extruder
                  ; D1 is right extruder
                  
                  ; K'tana Tools
                  ; Left Nozzle T0
                  M563 P0 D0 H1 F2 S"Ktana Single Left"    ; Define tool 0, left side tool (single extruder)
                  G10 P0 X0.0 Y0 Z0                        ; Tool 0, set axis offsets
                  G10 P0 S0 R0                             ; Tool 0, set active (S0) and standy temp (R) of 0
                  
                  ; Right Nozzle T1
                  M563 P1 D1 H2 F2 S"Ktana Single Right"   ; Define tool 0, right side tool (single extruder)
                  G10 P1 X12 Y0 Z0                         ; Tool 0, set axis offsets
                  G10 P1 S0 R0                             ; Tool 0, set active (S0) & standy temp (R) of 0.
                  
                  
                  T0                                       ; Automatic tool select
                  
                  ; --- SECTION: NETWORKS (PROLOGUE & COMMUNCATIONS SECTION) ---
                  M111 S0                                  ; Debugging off
                  M550 PPromega                            ; Set machine name, type promega/ in your browser!
                  M586 P0 S1                               ; Enable HTTP
                  M586 P1 S0                               ; Disable FTP
                  M586 P2 S0                               ; Disable Telnet
                  
                  ; --- SECTION: MISCELLANEOUS ---
                  
                  M572 D0:1 S0.07                          ; Extruder Pressure Advance
                  

                  Manuel
                  Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                  with probably always latest firmware/DWC (incl. betas or self-compiled)
                  My Tool Collection

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by dc42

                    Please can you try changing the Z driver mode from stealthchop2 to spread cycle. Assuming the Z motors are wired to the Z driver output(s), you can do this by sending the following commands:

                    1. Send M569 P2. It should report that the driver mode is stealthChop.
                    2. Send M569 P2 D2.
                    3. Send M569 P2 again. It should report that the driver mode is spreadCycle.

                    Then test whether the problem still occurs.

                    We've had some issues reported recently when stealthchop mode is used at high speeds, and I am wondering whether this is another one.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    LeonMFundefined 1 Reply Last reply Reply Quote 0
                    • LeonMFundefined
                      LeonMF @dc42
                      last edited by

                      @dc42 That did it. It sounds like a printer full of angry snakes at idle now but the bed no longer crashes.

                      https://youtu.be/Tzt-8yiRHqM

                      Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                      Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                      wilrikerundefined 1 Reply Last reply Reply Quote 0
                      • wilrikerundefined
                        wilriker @LeonMF
                        last edited by

                        @leonmf You can get these snakes under control by following the guide to Reducing Stand-still Noise. 😉

                        Manuel
                        Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                        with probably always latest firmware/DWC (incl. betas or self-compiled)
                        My Tool Collection

                        LeonMFundefined 1 Reply Last reply Reply Quote 0
                        • LeonMFundefined
                          LeonMF
                          last edited by

                          @dc42 said in Duet Maestro Freefall:

                          M569 P2 D2

                          Also, thank you everyone for the help. You've helped a whole community of users who were struggling with this issue!

                          Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                          Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                          1 Reply Last reply Reply Quote 1
                          • LeonMFundefined
                            LeonMF @wilriker
                            last edited by

                            @wilriker Thank you! I will try that as soon as I can!

                            Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                            Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                            1 Reply Last reply Reply Quote 0
                            • sigxcpuundefined
                              sigxcpu
                              last edited by

                              Or you can wait to get old. My printer is almost quiet, I just need few more years 🙂

                              deckingmanundefined 1 Reply Last reply Reply Quote 2
                              • dc42undefined
                                dc42 administrators
                                last edited by

                                I'm glad that worked. I am preparing a new release that switches from stealthchop to spread cycle at higher speeds, which may be part of a better solution.

                                Duet WiFi hardware designer and firmware engineer
                                Please do not ask me for Duet support via PM or email, use the forum
                                http://www.escher3d.com, https://miscsolutions.wordpress.com

                                dc42undefined 1 Reply Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators @dc42
                                  last edited by

                                  PS - one way of reducing idle motor noise on the Maestro in spread cycle mode may be to use the M917 command to reduce the motor standstill current from its default of 75%, e.g. M917 Z40.

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  1 Reply Last reply Reply Quote 0
                                  • deckingmanundefined
                                    deckingman @sigxcpu
                                    last edited by

                                    @sigxcpu said in Duet Maestro Freefall:

                                    Or you can wait to get old. My printer is almost quiet, I just need few more years 🙂

                                    👍 Like it (and I know the feeling).

                                    Ian
                                    https://somei3deas.wordpress.com/
                                    https://www.youtube.com/@deckingman

                                    1 Reply Last reply Reply Quote 1
                                    • dc42undefined
                                      dc42 administrators
                                      last edited by

                                      Thise who have experienced this issue, please see https://forum.duet3d.com/topic/6614/new-duet-maestro-firmware.

                                      Duet WiFi hardware designer and firmware engineer
                                      Please do not ask me for Duet support via PM or email, use the forum
                                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                                      LeonMFundefined 1 Reply Last reply Reply Quote 0
                                      • LeonMFundefined
                                        LeonMF @dc42
                                        last edited by

                                        @dc42 Closing the loop on this. I haven't had time to do any real significant testing but here's what I've got.

                                        • Disabling stealthchop does solve the problem.
                                        • This makes way worse stepper noise than the older drivers on Duet 2 ( I think? Maybe It's a system difference between this and my Delta)
                                        • Tuning stepper noise with M569 P2 F# changes noise but not necessarily for the better.
                                        • The new 2.0RC1 does not inherently solve the bed crash problem because the motor is in stealthchop when doing the types of move (slowly approaching a nozzle for calibration) most likely to result in exceeding the motor torque causing the freefall bed crash.
                                        • Given the above the video of the fix demonstrated by M3D on their discord channel doesn't make sense unless they are running the Z axis into the nozzle past the stealthchop/spreadcycle transition and thus demonstrating a use case not normally seen in operation.

                                        Would substituting a Duet 2 Ethernet in place solve this problem?

                                        Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                                        Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                                        1 Reply Last reply Reply Quote 0
                                        • dc42undefined
                                          dc42 administrators
                                          last edited by dc42

                                          Here are some options:

                                          1. Switch the Z motor only to spreadCycle.

                                          2. Increase the M569 V parameter sufficiently so that the corresponding mm/sec value displayed by M569 P2 is below the Z movement speed that triggers the problem.

                                          3. Does the machine have two Z motors? If so, connecting them in parallel (instead of in series, which is what you get if you plug them into Za and Zb) and using just one of the Z motor connectors may solve the original problem and/or make spreadCycle quieter. Don't forget to double the motor current setting.

                                          The Duet Ethernet doesn't do stealthchop mode, so it would be in spreadCycle mode all the time, with the same noise issue if you are unable to find settings that silence it.

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                                          LeonMFundefined 1 Reply Last reply Reply Quote 0
                                          • LeonMFundefined
                                            LeonMF @dc42
                                            last edited by

                                            @dc42 There is only one Z motor and it's on a novel belt system. This has low friction and allows the motor to freewheel fast enough that the motor doesn't catch itself when it drops.

                                            Option 1 does solve the problem. Option 2 would do so if we were moving faster than the transition to spreadcycle. However, the most likely issues occur when the motion is very slow as you are inching up to the nozzle. That means that you'll always be in stealthchop in this situation.

                                            For now, I've added code into the calibration scripts to enable spreadcycle during the risky moves and re-enable stealthchop during normal operation. It's better than nothing since what I'm interpreting here is that this can't be fixed and have stealthchop enabled.

                                            Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                                            Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA