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

    A few problems after setting up board... Includng stepper sounds

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    15
    932
    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.
    • Phaedruxundefined
      Phaedrux Moderator @nmsmith89
      last edited by

      @nmsmith89 said in A few problems after setting up board... Includng stepper sounds:

      I have a 24v PSU hooked up via a relay. When I first booted the board I could control it. (I put an M80 in the config so the board can see the toolboard on boot) But now after updating the firmware on everything I can't control it with M80/M81 its just always on.

      By tool board do you mean raspberry pi, or do you mean an actual tool board?

      @nmsmith89 said in A few problems after setting up board... Includng stepper sounds:

      After running PID tuning on the bed and hotend (the bed was giving a slow heating fault). Both heaters now give me an "overpowered" error on boot.

      This is normal. It's telling you what it calculates the potential max temperature would be in a runaway heater situation. It's a warning.

      https://duet3d.dozuki.com/Wiki/FAQ#Section_M307_Heater_1_appears_to_be_over_powered_If_left_on_at_full_power_its_temperature_is_predicted_to_reach_521C

      @nmsmith89 said in A few problems after setting up board... Includng stepper sounds:

      If anyone has some M569 or M915 numbers for the TMC2209 to use as a starting point that would be great!

      https://forum.duet3d.com/topic/22436/missing-steps-cant-print-spreadcycle-stealthchop-tuning-help

      There's some bug fixing going on with the mini5 drivers at the moment so might want to follow in that thread to see if you're seeing something similar. At the end of that thread there is a test firmware build you might want to try.

      Z-Bot CoreXY Build | Thingiverse Profile

      nmsmith89undefined 1 Reply Last reply Reply Quote 0
      • nmsmith89undefined
        nmsmith89 @Phaedrux
        last edited by

        @phaedrux

        Thanks for the links!

        Yeah I mean Toolboard 1LC but I am also running in SBC mode.

        I pretty much set the steppers to stay in StealthChop and I also got homing working. But, for some reason the BLTouch is constantly flashing red when not being used. It also looks a little different than the normal BLTouch error flashing.

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

          @nmsmith89 said in A few problems after setting up board... Includng stepper sounds:

          So now the motors are quiet if I stay in StealthChop but SpreadCycle is still really loud. To me at least, it doesn't sound right. So idk what to do about that.

          That isn't right. What stepper motors are you using, what current are you running them at, and what VIN voltage?

          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

          Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
          • Luke'sLaboratoryundefined
            Luke'sLaboratory @dc42
            last edited by

            @dc42

            I'll add to some of this as well:

            I've dug around in the source code, but still definitely have some questions on motor noise - spreadcycle on my d3 is significantly louder than spreadcycle on my skr mini, both with 24v, both with the same motors.

            Is there any config in particular thats recommended for the trinamic settings for the 2209's? Any unique things designed into the circuitry that deviate from the norm as well?

            I remember from a seperate thread that the voltage is actually capping the current delivered and that might generate noise, is that what's going on here? I run similar currents thru the e3 mini vs the D3

            Luke
            http://lukeslab.online

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

              @luke-slaboratory, do you definitely have microstepping interpolation enabled?

              If there is insufficient VIN voltage to supply the requested current at high speeds, then the motors will become noisy because microstepping won't work.

              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

              Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
              • Luke'sLaboratoryundefined
                Luke'sLaboratory @dc42
                last edited by

                @dc42 Yes - microstepping interpolation is on - generating at 16x.

                This noise is both idle and in motion, however. In motion it makes plenty of sense, this machine goes fast, but the idle noise is always what gets me compared to the machine with an SKR mini

                Luke
                http://lukeslab.online

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

                  If the idle noise is different with the same VIN voltage and motor type, there are a few possibilities:

                  • Current setting is different. Does whatever firmware you are using on the SKR board set the current correctly?
                  • Standstill current reduction factor is different. On Duet Mini you can change it using M917. It defaults to 75%. Perhaps the firmware on your other board has a lower default.
                  • Other relevant parameters are different, for example toff, tblank, hstart/hend/hdec.

                  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

                  Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
                  • Luke'sLaboratoryundefined
                    Luke'sLaboratory @dc42
                    last edited by Luke'sLaboratory

                    @dc42

                    Thanks for the reply

                    1. 99% sure it sets it correctly - Klipper. When I TMC_DUMP the values seem to line up where I've asked them to be (I could be interpreting the registers wrong - klipper doesn't translate them like marlin/rrf does into mAmps)

                    2. Samsies - I made them match between the D3 Mini and the SKR mini, and they're the same between RRF/Klipper on the D3 mini, 75%

                    3. This is the curious part to me - When I run my D3 Mini in RRF, the standby noise is different in character, as well as just a touch quieter. When I'm running Klipper, the standby is noisier and the operation is noisier. This is with the same current delivery specified - RRF does it in Peak, Klipper does it in RMS, so there's a sqrt2 between the two

                    Klipper uses the following config as their defaults:
                    #driver_IHOLDDELAY: 8
                    #driver_TPOWERDOWN: 20
                    #driver_TBL: 2
                    #driver_TOFF: 3
                    #driver_HEND: 0
                    #driver_HSTRT: 5
                    #driver_PWM_AUTOGRAD: True
                    #driver_PWM_AUTOSCALE: True
                    #driver_PWM_LIM: 12
                    #driver_PWM_REG: 8
                    #driver_PWM_FREQ: 1
                    #driver_PWM_GRAD: 14
                    #driver_PWM_OFS: 36
                    #driver_SGTHRS: 0

                    is there anything in RRF you've specifically changed to match the circuitry/tuning of the D3 mini?

                    Luke
                    http://lukeslab.online

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

                      @luke-slaboratory said in A few problems after setting up board... Includng stepper sounds:

                      is there anything in RRF you've specifically changed to match the circuitry/tuning of the D3 mini?

                      No, except we added an output filter to reduce EMI.

                      RRF defaults to tblank= 0 which I presume corresponds to the TBL=2 that you've quoted for Klipper. The other spreadCycle parameters look the same to me.

                      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

                      Luke'sLaboratoryundefined nmsmith89undefined 2 Replies Last reply Reply Quote 1
                      • Luke'sLaboratoryundefined
                        Luke'sLaboratory @dc42
                        last edited by

                        @dc42

                        Interesting - I'll make some changes and give it a test to see what happens 🙂

                        Luke
                        http://lukeslab.online

                        1 Reply Last reply Reply Quote 0
                        • nmsmith89undefined
                          nmsmith89 @dc42
                          last edited by

                          @dc42

                          I'm using the stock CR-10 steppers at 800 mA; VIN is measured at 24.2 V; 1/16 microstepping interpolation on

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

                            @nmsmith89 said in A few problems after setting up board... Includng stepper sounds:

                            @dc42

                            I'm using the stock CR-10 steppers at 800 mA; VIN is measured at 24.2 V; 1/16 microstepping interpolation on

                            Do you have a model number for the stepper motors?

                            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
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA