Printer Model: Sunlu S8
MCU / Printerboard: Stock with replaced drivers to TMC2209
Host / SBC: RPi Zero 2W with Mainsail OS
klippy.log klippy(1).log (604.9 KB)
Describe your issue:
Hi.
I experience weird issue. My Y axis stepper motor makes lot of noise (vibrations). I thought that it’s bad motor, but for sure I did some tests.
I found out, that when I connect the motor to X axis wire, the noise/vibrations are maybe 50% lower (and I would say normal).
I have stock board, but I replaced the motor drivers to TMC2209 and connected them with UART.
Settings in printer.cfg is “same” for both axis and TMC DUMP also show same settings (except MSCURACT, MSCNT and fclktrim, which I suppose is normal).
Any idea why one driver should make the motor to vibrate more?
Yeah, activating the stealthchop makes the motor more silent, but it doesn’t explain why Y axis is much more noisy (and even with stealthchop it’s still pretty noisy).
I will do tests also on Z axis and with X stepper motor…
You switched your x motor to your y driver, to test it. But did you switch your y motor to your x driver to test that?
If you know your x driver is good, and you connect your y motor to it and test it and Y is still noisy. It’s either a mechanical problem (probably a loose set screw on your pulley) or a bad motor (unlikely).
I connected Y motor to X driver (because I thought that the motor is bad).
I have now the motor completely disconnected, so it’s not mechanical issue (like belt, pulley, screws…).
I did more test. When I connect Y motor to X driver, it’s quieter.
If I connect X motor to Y driver, it’s noisier.
So it’s definitely something with the Y driver. I will try tomorrow to hook up an oscilloscope…
Is that a copper wire or a scratch in the PCB in this picture? If it’s a copper wire it’s super close to the pins on that resistor array and the trimpot. It could easily be vibrating and touching those pads, or even be throwing things off due to capacitance between the wire and the pads (I’ve seen weirder).
It’s a copper wire. I guess someone fixed a design flaw on the PCB.
But it looks like enameled copper wire, so it should be isolated. I doubt, that’s the cause of the problem.
Shot in the dark, Check the solder joints on the stepper motor wiring connector. Wondering if there is a flaky connection somwhere. Not enough to throw an error but enough to interrupt the actual stepper drive movements a bit.
BTW I tried to calculate now the set current, and I got different result.
In config I have Rsense 0,1 ohm and run_current 0,8A. From TMC DUMP the IRUN is set to 23.
When I use formula in TMC2209 datasheet, The result is 1,4A…
I tried to desolder and swap X and Y axis drivers (to see if it’s problem in the driver itself).
But I made short of one motor output to GND. The chip detected this (s2gb flag), but after loading klipper, the driver started to output power to motor! (motor was stuck on place and I measured 24V on pins after disconnecting).
I would expect, that when klipper is able to read the status of the driver, it will not try to get it to work?
Tomorrow I will try to resolder it to see, if it’s still alive…
are you sure this is the right way to go? Particularly hand soldering stresses the components.
You stressed those at least 3 times. 1st placement, 2nd removing, 3rd placement!
Soldering those QFN’s with a big pad underneath ain’t that easy. Are you sure you soldered those thermal pads properly? Drivers get very hot and need a very low thermal resistance to the PCB! The most thermal energy is dissipated over the PCB! The pad has to be properly soldered!
Maybe the hand soldering process caused your initial problems.
How much time and money (new TMC2209s) did you spend?
Honestly, I would buy a new printer mainboard with step stick sockets.