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

Too much current goes klunk!

Scheduled Pinned Locked Moved
Tuning and tweaking
3
11
503
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.
  • undefined
    brs
    last edited by 28 Jun 2022, 15:49

    In the information search along with trial-&-error for setting up my Duet3d converted CreatbotF430 I've learned something(s). Perhaps this will be helpful to the next newbe. That is, too much stepper current seems to make a Klunk sound. I'm not sure why, perhaps someone else can explain it.

    So, the F430 uses two motors which are labeled (in my case) ...
    42HS63-1504A05-D21 & 42HS48-1304JA05-D24
    Technical information was hard to find but this morning I discovered a site that suggested that the current rating is right there in plain sight. Turns out that xxHSxx-1504xxxx and xxHSxx-1304xx means 1.50 amps and 1.30 amps respectively. the xxx4 just means 4 leads. But before finding this information

    I discovered, through trial and error, that running the 42HS63-1504 motor at 1.2 amps was too much.

    Video at 1.2 amps: (turn up your sound)
    42HS63-at-1.2amp.mp4

    Here is the same test but done at 800ma...
    42HS63-at-800ma-.mp4

    undefined 1 Reply Last reply 28 Jun 2022, 15:53 Reply Quote 0
    • undefined
      fcwilt @brs
      last edited by 28 Jun 2022, 15:53

      @brs said in Too much current goes klunk!:

      In the information search along with trial-&-error for setting up my Duet3d converted CreatbotF430 I've learned something(s). Perhaps this will be helpful to the next newbe. That is, too much stepper current seems to make a Klunk sound. I'm not sure why, perhaps someone else can explain it.

      So, the F430 uses two motors which are labeled (in my case) ...
      42HS63-1504A05-D21 & 42HS48-1304JA05-D24
      Technical information was hard to find but this morning I discovered a site that suggested that the current rating is right there in plain sight. Turns out that xxHSxx-1504xxxx and xxHSxx-1304xx means 1.50 amps and 1.30 amps respectively. the xxx4 just means 4 leads. But before finding this information

      I discovered, through trial and error, that running the 42HS63-1504 motor at 1.2 amps was too much.

      Video at 1.2 amps: (turn up your sound)
      42HS63-at-1.2amp.mp4

      Here is the same test but done at 800ma...
      42HS63-at-800ma-.mp4

      It is also related to these settings:

      M566 X900 Y900 Z120 ; max instant speed change (jerk) (mm/min) (defaults 900 900 12) (120 z value from phaedrux)
      M201 X500 Y500 Z240 ; acceleration (mm/s^2) (defaults 500 500 20) (240 z value from phaedrux)

      Try restoring the current and experimenting with these settings so you can see how they can contribute.

      Frederick

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      1 Reply Last reply Reply Quote 0
      • undefined
        brs
        last edited by brs 30 Jun 2022, 03:28

        @fcwilt
        I tried tweaking M566 & M201 to no avail. Actually I had increased Y current back to 1200ma and ran my test macro and the klunk didn't happen. Go figure, so perhaps it not the amps after all. However...

        What got me going down this rabbit path was an effort to tune the Y axis. Any help would sure be appreciated. I've activated stealth tune the best that I can figure. When I run my test macro X axis is silent but Y is not. It gets very noticeable when printing a circle tube. Here are my scrips...

        ; General preferences
        M575 P1 S1 B57600 ; enable support for PanelDue
        G90 ; send absolute coordinates...
        M83 ; ...but relative extruder moves
        M550 P"F430" ; set printer name
        ; Network
        M551 P"F430" ; set password
        M552 P192.168.0.200 S1 ; enable network and set IP address
        M553 P255.255.255.0 ; set netmask
        M554 P192.168.0.1 ; set gateway
        M586 P0 S1 ; enable HTTP
        M586 P1 S0 ; disable FTP
        M586 P2 S0 ; disable Telnet
        ; Drives
        M569 P0.1 S0 ; physical drive (X axis) 0.1 goes backwards
        M569 P0.2 S0 ; physical drive (Y axis) 0.2 goes backwards
        M569 P0.3 S1 ; physical drive 0.3 goes forwards
        M569 P0.4 S1 ; physical drive 0.4 goes forwards
        M584 X0.1 Y0.2 Z0.3 E0.4 ; set drive mapping
        M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
        M92 X78.82 Y131.23 Z640.00 E415.00 ; set steps per mm
        M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous (JERK) speed changes (mm/min)
        M203 X6000.00 Y6000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min)
        M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
        M906 X800 Y1200 Z1200 E650 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 X420 Y300 Z290 S0 ; set axis maxima
        ; Endstops
        M574 X1 S1 P"io1.in" ; configure microswitch endstop for low end on X via pin io1.in
        M574 Y1 S1 P"io2.in" ; configure microswitch endstop for low end on Y via pin io2.in
        M574 Z2 S1 P"io5.in" ; configure microswitch endstop for High end on Z via pin io5.in
        ;M574 Z2 S2 ; configure Z-probe endstop for high end on Z
        ; Z-Probe
        M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
        M558 P9 C"io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
        G31 P500 X-4 Y75.5 Z3.1 ; set Z probe trigger value, offset and trigger height
        M557 X5:400 Y76:286 S30 ; define mesh grid
        ; Heaters
        M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
        M950 H0 C"out3" T0 ; create bed heater output on out3 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 S160 ; set temperature limit for heater 0 to 160C
        M308 S1 P"temp1" Y"pt1000" ; configure sensor 1 as PT1000 on pin temp1
        M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
        M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
        M143 H1 S420 ; set temperature limit for heater 1 to 420C
        M308 S2 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin temp2
        M950 H2 C"out2" T2 ; create chamber heater output on out2 and map it to sensor 2
        M307 H2 B1 S1.00 ; enable bang-bang mode for the chamber heater and set PWM limit
        M141 H2 ; map chamber to heater 2
        M143 H2 S70 ; set temperature limit for heater 2 to 70C
        ; Fans
        M950 F0 C"out4" Q3000 ; create fan 0 on pin out4 and set its frequency
        M106 P0 C"Part Cooler" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
        M950 F1 C"out5" Q4000 ; create fan 1 on pin out5 and set its frequency
        M106 P1 C"HotEnd" S0 H1 S0.5 T100 ; set fan 1 name and value. Thermostatic control is turned on
        M950 F2 C"out8" Q500 ; create fan 2 on pin out8 and set its frequency
        M106 P2 C"onXstepper" S0.15 H-1 ; set fan 2 name and value. Thermostatic control is turned off
        M950 F3 C"out9" Q500 ; create fan 3 on pin out9 and set its frequency
        M106 P3 C"Duet-board" S0.1 H-1 ; set fan 3 name and value. Thermostatic control is turned off
        ; 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
        ; Custom settings are not defined
        ; Miscellaneous
        M501 ; load saved parameters from non-volatile memory
        M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
        M150 x0 R100 U100 B100 P100 S107 ; set DotStar LEDs (dim white)
        T0 ; select first tool
        ; homeall.g
        ; called to home all axes
        ;
        ; generated by RepRapFirmware Configuration Tool v3.3.10 on Fri Jun 10 2022 15:08:30 GMT-0700 (Pacific Daylight Time)
        G91 ; relative positioning
        G1 H2 Z5 F6000 ; lift Z relative to current position
        G1 H1 X-425 Y-305 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
        G1 H2 X5 Y5 F6000 ; go back a few mm
        G1 H1 X-425 Y-305 F360 ; move slowly to X and Y axis endstops once more (second pass)
        G90 ; absolute positioning
        ;stealthchop tuning AT1
        M18 X Y ; disable x and y steppers
        M569 P0.1 D3 V5 H5 ; enable stealthchop and set tpwmthrs and thigh for X
        M569 P0.2 D3 V5 H5 ; enable stealthchop and set tpwmthrs and thigh for Y
        M915 P0.1 T5 ; set tcoolthrs for X [needed if stallguard is not used???]
        M915 P0.2 T5 ; set tcoolthrs for Y [needed if stallguard is not used???]
        M17 X Y ; enable x and y steppers [will this enable full run current or idle current???]
        G4 P150 ; pause for 150ms to satisfy AT1 condition
        G92 X0 Y0 ; set home positions again after position loss due to M18
        G90 ; absolute positioning
        ;stealthchop tuning AT2 (and goto probe bed-center)
        G1 X200 Y75 F6000 ; tuning move at "typical speed" that is nearly a straight line...
        ; ...in order to move both steppers (CoreXY) significantly i.e. >400 full steps @ 60-300RPM
        ;homing z
        G1 X209 Y 67.5
        G30 ; home Z by probing the bed
        G91 ; relative positioning
        G1 Z50 F1000 ; lift Z relative to current position
        G90 ; absolute positioning
        1 Reply Last reply Reply Quote 0
        • undefined
          brs
          last edited by brs 7 Jan 2022, 22:48 1 Jul 2022, 22:28

          More learning
          More questions

          In regard to the videos in the first post.
          -with StealthC off and the Y current reduced to 1100ma, a Y only move does-not create that 'bark' sound when changing directions. Though it 'barks' above 1100ma.
          -with StealthC on (current still at 1100ma) a Y only move does create that 'bark' sound.

          Q: why?

          • with StealthC on, a linear move in either X or Y is very quite (except for the Y 'bark').
          • still with StealthC on, again, a diagonal move from X to Y is very noisy.

          Q: why?

          ....Five minutes later
          I just disabled StealthChop on the Y axis but left it on for the X axis. This works much better! Seems there is an issue with StealthChop and the Y motor.

          Q: Any Ideas Why?

          undefined 1 Reply Last reply 2 Jul 2022, 01:26 Reply Quote 0
          • undefined
            moth4017 @brs
            last edited by moth4017 7 Feb 2022, 01:27 2 Jul 2022, 01:26

            @brs
            your find there is more friction on the X axis, just turn off the motors and move the X and Y axis by hand.

            do you have different types of stepper motor on Y and X?

            <

            undefined 1 Reply Last reply 2 Jul 2022, 03:14 Reply Quote 0
            • undefined
              brs @moth4017
              last edited by 2 Jul 2022, 03:14

              @moth4017
              Yes X an Y are very different. Much less friction on X than Y.

              X drives just a belt (so 1:1) and the motor is only about an inch tall. Only moves the head.

              Y drives the gantry through a step-up pulley (~1.7:1) which drives a shaft to two belts one on each side to the gantry. The motor is about 2.5" (60mm).

              undefined 1 Reply Last reply 2 Jul 2022, 08:43 Reply Quote 0
              • undefined
                moth4017 @brs
                last edited by 2 Jul 2022, 08:43

                @brs the klunk on the video sound like something
                is loose

                <

                undefined 1 Reply Last reply 2 Jul 2022, 15:46 Reply Quote 0
                • undefined
                  brs @moth4017
                  last edited by brs 7 Feb 2022, 15:47 2 Jul 2022, 15:46

                  @moth4017 said in Too much current goes klunk!:

                  @brs the klunk on the video sound like something
                  is loose

                  Ha, no not at all - nothing is loose. But yes, kinda sounds like it. It's demonstrably related to Current and StealthChop. No doubt there is much more to it, but it's not physical, at least not the cause. It amazes me how these steppers bing 90% electric/electronic can make such a variety of sounds. Do the sounds come from that 10% mechanical? Makes no sense to me.

                  undefined 1 Reply Last reply 2 Jul 2022, 16:56 Reply Quote 0
                  • undefined
                    fcwilt @brs
                    last edited by 2 Jul 2022, 16:56

                    @brs

                    It's usually the sudden acceleration/deceleration that leads to that sound.

                    I had it on one printer. Changing the acceleration and "jerk" parameters got rid of it with little impact on performance.

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    undefined 1 Reply Last reply 2 Jul 2022, 18:50 Reply Quote 0
                    • undefined
                      brs @fcwilt
                      last edited by 2 Jul 2022, 18:50

                      @fcwilt said in Too much current goes klunk!:

                      @brs

                      It's usually the sudden acceleration/deceleration that leads to that sound.

                      I had it on one printer. Changing the acceleration and "jerk" parameters got rid of it with little impact on performance.

                      Frederick

                      Frederick, per your previous post (and my response) I already spent considerable time tweaking M566 & M201. Nothing seemed to make any difference. Thanks though.

                      undefined 1 Reply Last reply 2 Jul 2022, 19:32 Reply Quote 0
                      • undefined
                        fcwilt @brs
                        last edited by 2 Jul 2022, 19:32

                        @brs said in Too much current goes klunk!:

                        Frederick, per your previous post (and my response) I already spent considerable time tweaking M566 & M201. Nothing seemed to make any difference. Thanks though.

                        It's hard to remember what I have responded to and what I have yet to respond to.

                        Sorry about that.

                        It should have been able to silence it completely. I do not understand why it couldn't.

                        Frederick

                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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