Hi, I spent some time under the hood, klipper has a nice codebase.
So, I made TMC CoolStep work and also made some tools to measure live driver values (similar to ADXL345).
There are some graphs of XY.
A bit of explaining:
- They are cumulative - no time here only value distribution
- CS is the actual current scaler max value 31 (or IRUN)
- SG is stall guard live measurements.
I had TMC5160 with ~48V power for reference, LDO 2504 & 1.768A RMS.
This is my Ratrig V-Core 3.1 400 mm.
What can I say for now:
- It works, in my case with almost default registers.
- I tuned it by sensorless homing and after by graphs above.
- It is more or less reliable above 100 mm/s
- Without aggressive tuning, looks like the current can be decreased by 20% may be.
But I don’t measure it with real print for now.
10 min orca tolerance test print, but without filament for now.
Looks like under 150 mm/s is noisy and can be unreliable.
Extruder data, modern extruders often has small motors and plenty of power.
So it is possible that coolstep can allow run them cooler.
There is Orbiter 2.0 on TMC2209.
Gear Ration 7.5:1 and rotational distance 35.
Simplified to 4.67 mm per rotation.
Velocity to flow for that extruder is:
10.5 * (3.14 * (1.75/2)**2) = 25.24 # ~ 2 RPS
Graphs are much more stable and reproducible here.
After 2 RPS (10 mm/s or ~ 25 mm^3), the driver can regulate the current and downscale.
So, this is only will work for High Flow hot end or extruder with a higher gear ratio.
The topic will be updated if there is interest or if I have new interesting data.
fork with dirty patches (coolstep-manual branch): GitHub - nefelim4ag/klipper at coolstep-manual
Thanks