Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Revision to Reducing Stand-Still Noise

Tony

+[summary_image|765]
+
[title|Reducing Stand-Still Noise]
[summary]This requires RepRapFirmware 2.0 or later[/summary]
-
-[summary_image|765]
As a side-effect of using highly configurable and advanced stepper drivers such as TMC2660 it makes it necessary to sometimes tune things based on the actual hardware used. This also goes for reducing noise of the motors. This depends on a lot of factors amongst others are motor current, resonance of motor mount, current micro-step position on the motor end as well as a lot of parameters set to the stepper drivers.
+=== How to modify these parameters ===
+
+From RRF 2.02 onward these values can be modified using the F, B,H,Y and V switches for the M569 command for a specific driver.
+
+Prior to that (from RRF 2.0 onward the configuration register could be modified directly using the "C" switch on M569. ''This is not longer required from RRF 2.02 onward''
+
=== Available Configuration Parameters ===
-TMC2660 have multiple parameters to set that can have an influence on the sounds of motors. These are all combined in the so called Chopper Control Register aka ``CHOPCONF`` that is set to the drivers by RRF. This register is made up of the following individual values:
+Trinamic drivers have multiple parameters to set that can have an influence on the sounds of motors. These are all combined in the so called Chopper Control Register aka ``CHOPCONF`` that is set to the drivers by RRF.
+
+On the TMC2660 this register is made up of the following individual values (''note it is not necessary to directly modify the register from RRF 2.02 onward, this is shown here for interest only''):
{table
[code]HSTRT + HEND <= 15[/code]
+
+For the registers of the other Trinamic drivers, see the individual datasheets.
=== Stand-Still Noise ===
=== Other Variables ===
-As said before the other variables in ``CHOPCONF`` seem to have very little effect on stand-still noise but if you still want to test these there exists a tool that lets you configure all variables and creates the appropriate value for the ``M569 Cnnn`` parameter at [https://github.com/wilriker/chopconf-generator|chopconf-generator] (with pre-compiled releases at the [https://github.com/wilriker/chopconf-generator/releases|Releases page]).
+As said before the other variables in ``CHOPCONF`` seem to have very little effect on stand-still noise but if you still want to test these the following switches can be added to the [[Gcode#Section_M569_Set_motor_driver_direction_enable_polarity_and_step_pulse_timing|M569]] command (RRF2.02 or later):
-Note that this tool also allows output of the result as hexadecimal value but ironically RRF 2.0 does no longer accept hexadecimal input values.
+'''Bnn''' Blanking time (''tbl'') in the chopper control register, 0 to 3. See the TMC driver datasheet.
+
+'''Hnn''''' thigh'' parameter for those stepper driver chips that support it. Send M569 P# (where # is the driver number) with no additional parameters to see how this translates into mm/sec. See also the V parameter.
+
+'''Yaa:bb''' or '''Yaa:bb:cc''' Hysteresis start, end and decrement values in the chopper control register. See the TMC driver datasheet for the meaning.
+
+'''Vnnn''' ''tpwmthrs ''parameter for those stepper driver chips that support it. This is the interval in clock cycles between 1/256 microsteps below which the drivers will switch from stealthChop to to spreadCycle mode. Only applies when the driver is configured in stealthChop mode. Typical value are from 100 (high speed) to 4000 (low speed). Send M569 P# (where # is the driver number) with no additional parameters to see how this translates into mm/sec.
+
+==== Directly editing the CHOPCONF register ====
+
+For TMC2660 you tool that lets you configure all variables and creates the appropriate value for the ``M569 Cnnn`` parameter at [https://github.com/wilriker/chopconf-generator|chopconf-generator] (with pre-compiled releases at the [https://github.com/wilriker/chopconf-generator/releases|Releases page]).
+
+Note that this tool also allows output of the result as hexadecimal value but RRF 2.0 no longer accepts hexadecimal input values.
==== ``HSTRT``, ``HEND`` & ``HDEC`` ====

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes