Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] New Chopper Timing Preset Option For Noisy/Vibrating 0.9 Degree Steppers. #18542

Closed
Portzal opened this issue Jul 5, 2020 · 20 comments
Closed
Labels

Comments

@Portzal
Copy link

Portzal commented Jul 5, 2020

On the back of #18286 (comment)
would it be reasonable to include another Chopper timing Preset tuned towards noisy/vibrating 0.9 degree steppers?
Possible Name "CHOPPER_09STEP_24V" (3, -1, 5)
After a full day of testing different chopper timing combinations I have come up with the following numbers.
CHOPPER_TIMING { 3, -1, 5 }
These numbers give a good balance between StealthChop, above 110mm/s noise levels starring to increase and
SpreadCycle, above 120mm/s steppers start to calm down.

@h3po did some testing with 3 different settings and posted the following video, https://youtu.be/A7GWkTTyzW0

@Portzal Portzal changed the title [FR] New Chopper Timing Preset Option For 0.9 Degree Steppers. [FR] New Chopper Timing Preset Option For Noisy/Vibrating 0.9 Degree Steppers. Jul 5, 2020
@boelle boelle added the T: Feature Request Features requested by users. label Jul 5, 2020
@thisiskeithb
Copy link
Member

Which stepper manufacturer/model numbers has this been tested with? It may not be universal for all 0.9 degree steppers.

@Portzal
Copy link
Author

Portzal commented Jul 6, 2020

@thisiskeithb My machine has E3D Steppers, I believe it has worked with some other brands as well. It’s not aimed at all 0.9 steppers, only as a option if you are experiencing excessive noise or vibration with 0.9 degree steppers. It would probably need the inclusion of short explanation for the use of this preset.

@Portzal
Copy link
Author

Portzal commented Jul 7, 2020

@boelle @thisiskeithb I have made the changes in my firmware and it builds successfully.
could I please get some feedback as to whether I actually have it set up correctly.
I will then work on following the guides and learn how to do a Pull request.
tmc_util.h

#define CHOPPER_DEFAULT_12V  { 3, -1, 1 }
#define CHOPPER_DEFAULT_19V  { 4,  1, 1 }
#define CHOPPER_DEFAULT_24V  { 4,  2, 1 }
#define CHOPPER_DEFAULT_36V  { 5,  2, 4 }
#define CHOPPER_PRUSAMK3_24V { 3, -2, 6 }
#define CHOPPER_MARLIN_119   { 5,  2, 3 }
#define CHOPPER_09STEP_24V   { 3, -1, 5 }  // <-- new preset

configuration_adv.h

  • Optimize spreadCycle chopper parameters by using predefined parameter sets
    • or with the help of an example included in the library.
    • Provided parameter sets are
    • CHOPPER_DEFAULT_12V
    • CHOPPER_DEFAULT_19V
    • CHOPPER_DEFAULT_24V
    • CHOPPER_DEFAULT_36V
    • CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
    • CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9
    • CHOPPER_09STEP_24V //option for noisy or vibrating 0.9 degree steppers new preset
    • Define you own with
    • { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
      */

@thisiskeithb
Copy link
Member

I haven’t tuned chopper settings beyond the defaults, but I assume it’ll need to be adjusted for everyone’s specific drivers & motor characteristics.

@teemuatlut would likely know more.

@Evg33
Copy link
Contributor

Evg33 commented Jul 8, 2020

Very cool !!!
Now there is no that nasty sound!
SKR1.4T + 2209 + 0.9/2A (StepperOnline 17HM19-2004S 0.9deg 2.0A 3.0mH)

@00xED
Copy link

00xED commented Jul 9, 2020

Works nice. Tried it with SKR1.3 + TMC2208 + 0.9A (StepperOnline 17HM15-0904S 0.9deg 0.9A 12.0mH).

@freighttt
Copy link

To chime in, I have LDO 0.9’s but these values did improve things for me. I ended up adjusting mine further via the calculator but I do support adding the values posted. They definitely are a big improvement from stock.

@wolfgangmauer
Copy link

Nice work, i have SKR 1.3/TMC2209 on 12V, hope this will work also with 12V ?!

@looxonline
Copy link
Contributor

To chime in, I have LDO 0.9’s but these values did improve things for me. I ended up adjusting mine further via the calculator but I do support adding the values posted. They definitely are a big improvement from stock.

I'm about to install some LDOs. Any chance of explaining what further adjustments you did?

@freighttt
Copy link

To chime in, I have LDO 0.9’s but these values did improve things for me. I ended up adjusting mine further via the calculator but I do support adding the values posted. They definitely are a big improvement from stock.

I'm about to install some LDOs. Any chance of explaining what further adjustments you did?

i plugged the specs into the tmc2209 calculator. the chopper settings ended up being 3, -1, 1

@teemuatlut
Copy link
Member

3, -1, 1 would be the same as CHOPPER_DEFAULT_12V.

@SFRSKZ
Copy link

SFRSKZ commented Sep 4, 2020

To chime in, I have LDO 0.9’s but these values did improve things for me. I ended up adjusting mine further via the calculator but I do support adding the values posted. They definitely are a big improvement from stock.

I'm about to install some LDOs. Any chance of explaining what further adjustments you did?

i plugged the specs into the tmc2209 calculator. the chopper settings ended up being 3, -1, 1

i searched that calculator but couldnt find. 3,-1, 5 was good for LDO 0.9 but my new Moons 2a 0.9s didnt like it. now motors sound like driven by a4988

@Hyrules
Copy link

Hyrules commented Sep 21, 2020

It would be nice if someone could post the link to the calculator. I also have 0.9 moon's stepper motor on 2209 and skr1.4 and they are noisy and vibrating as well. I'm about to try the new preset to see if this fixes it or would like to try to fix it with the calculator if this does not do it.

@looxonline
Copy link
Contributor

It would be nice if someone could post the link to the calculator. I also have 0.9 moon's stepper motor on 2209 and skr1.4 and they are noisy and vibrating as well. I'm about to try the new preset to see if this fixes it or would like to try to fix it with the calculator if this does not do it.

Just because you asked so nicely :)
TMC2209_Calculations-1.xlsx

@Hyrules
Copy link

Hyrules commented Sep 21, 2020

Thanks alot !

@ShohninDmitriy
Copy link

ShohninDmitriy commented Sep 21, 2020

TMC2209_Calculations-1.xlsx

You have an error in the TMC Configurator the driver can't work at 168 MHz it works at 12 MHz

@Hyrules
Copy link

Hyrules commented Sep 21, 2020

To chime in, I have LDO 0.9’s but these values did improve things for me. I ended up adjusting mine further via the calculator but I do support adding the values posted. They definitely are a big improvement from stock.

I'm about to install some LDOs. Any chance of explaining what further adjustments you did?

i plugged the specs into the tmc2209 calculator. the chopper settings ended up being 3, -1, 1

I also get this value when I enter my details in the calculator for my moon's MS17HA2P4150 motors.

@ShohninDmitriy
Copy link

ShohninDmitriy commented Sep 21, 2020

[>] I also get this value when I enter my details in the calculator for my moon's MS17HA2P4150 motors.

3, - 3, 1
TMC2209_Calculations.xlsx

@Hyrules
Copy link

Hyrules commented Sep 22, 2020

Well this makes less noises indeed but i'm still having some acceleration vibrations.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests