bigtreetech / BIGTREETECH-S42B-V1.0

The closed-loop drive is to feedback the rotation angle of the stepping motor to the control panel, compare the distance that needs to be rotated with the distance of the actual rotation, calculate the error value, and then compensate, so as to prevent the problem of multi-step and lost step. The closed-loop drive can completely overcome the lost step of the open-loop stepping motor, and can also significantly improve the performance of the motor at high speed
108 stars 53 forks source link

Direction of motor rotation during calibration? #33

Open IhorNehrutsa opened 3 years ago

IhorNehrutsa commented 3 years ago

My motor was worked well only in an open-loop mode (DIP 3 is OFF). After Calibration (when DIP 3 is ON) when the motor shaft was rotated manually, the Err: parameter changed near +/- 1 degree. I pushed the magnet out of the motor housing as described in issue #19. That not helped.

Closed-loop mode began work, only when I swapped two wires of one motor coil. That changed the direction of motor rotation during the calibration process. So I think there is a bug in the calibration process which requires a certain direction of motor rotation. First CCW, then CW (View from the shaft, not from the driver board).

Quas7 commented 3 years ago

Interessting. I will test this next weekend.

ElekPat commented 3 years ago

Thank you very much, I could not get my motor to run in closed loop (i tried all previous suggestions) until I tried this: IT WORKS NOW !!!

dzid26 commented 3 years ago

Or one can change DirPin direction in the menu.

Edit: sometimes the phases need to be rotated no matter the setting.