Input shaping. Big fan!
-
I gotta say I upgraded my firmware on my Prusa MK4 to IS… gotta say I love it.
When I learned that I could add it to my custom build, I was elated!
Straight away I ordered the accelerometer from my spot for Duet3D products, Filastruder.
Once I get it and installed, do I just amend the config.g file and that’s it?
I see a native plugin called accelerometer, does this get turned on too?
I see a plugin available called input shaper…so I get this one too? Does this one replace both?
I am so unsure, I am not entirely certain that this is in the correct forum?
Thank you
-lost on the rabbit hole -
@TOFUATSU, yes, this is indeed the right forum. I was at the spot you are at only a few weeks ago.
yes, you will need to amend the config file
You will use the input shaping plugin to dermine what the magic config line will be that you need to use in your config file. The plugin will show vibrations from which you determine what the frequency is of vibrations in your printer. You will be able to choose different input shaping modes to optimize the reduction of the printer harmonic vibrations.The two lines that you will use are as follows:
M955 is used to set up the accelerometer so you can see what is happening
M955 P0 C"spi.cs2+spi.cs1" I60 ; configure accelerometer on mainboard using SPI pins and specify orientation only used when hardware is installedOnce you have used the plugin to determine what your harmonics are like, you will remove (or comment out the M955 line, disconnect the accelerometer and insert the following M593 line:
M593 P"zvdd" F50 L800 ; set up input shaping, 50Hz center frequency, do not apply unless accereration is over 800 mm/sec/sec
These are my settings and you will obviously need to adjust things for your own setup.
Your accelerometer might be part of a tool board or otherwise installed permanently in which case you will leave the M955 line in your config.g for future use.I don't recall using the 'accelerometer' plugin. Be aware that there are major changes in the whole setup for different versions of RRF. For me, it didn't get interesting until after I upgraded to RRF 3.5.0
At this point I have not seen much improvement but then I have not played around with it too much. I have encountered the 'blogging issue' which is currently being discussed in the forum.
See https://docs.duet3d.com/en/User_manual/Tuning/Input_shaping
-
@jens55 thank you for the information. What kind of printer do you have?
I am putting it on my 300x300x400 corexy
-
@TOFUATSU the commands are not printer dependent but the ones I quoted were from a CR10-S5, 500 x 500, cartesian, bed slinger