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

Endstop issues #34

Open MasterBPM opened 3 years ago

MasterBPM commented 3 years ago

Hi,

i have to say i am very unpleased with this Product so far. Bought 5 pre-assembled s24b v1.2 from biqu and I am now troubleshooting since 14h. So on all 5 Steppers the magnet has different dimension so I had to disassemble all of them and measure, combining spacers to fit correct distance between magnet and sensor. Also 1 Display provided a short (lucky I had spares). 1 Motor is still not running in closed loop, but in open. So much "fun" for 32€ each. Anyway ...

I am running an skr 1.4 Turbo with 5 of these and newest marlin Bugfix. The only thing I really think I can't figure out myself is the problem I had on all endstops in closed loop.


X and Y - hits endstop, stepper stops but raise up from 0.04° to ~35° error/misalignment and stepper shows red led till I press reset button or reset printer. No issues in open loop.

BL touch clone for z - axis turns up a bit (5 mm) should then pull down pin and motor steps down to heatbed, but instead it doesn't pull down the pin but also here error count goes up to ~35° , red led turns up and only reset pin or printer reboot fix it.

With other motors and tmc 2209 everything is running fine, also in open loop everything is as it should be. But I need the closed loop feature otherwise this product is absolutely useless for me.

I hope someone could help.

Cheers,

MBPM

Quas7 commented 3 years ago

is the s42b stepper driver timing already set to slow?

MasterBPM commented 3 years ago

Hi,

Iam not 100% sure what you mean. If you mean pulse settings I tried it commented, 1/500000 and 3/150000 in marlin conf adv.

Cheers,

rafaljot commented 3 years ago

I am very disappointed with the lack of a feature from the nano_stepper project. Especially the virtual endstop. I think it could be the best option to manage endstops. https://github.com/Misfittech/nano_stepper

" errorlimit Gets set the maximum number of degrees of error that is acceptable, any posistioning error about the error limit will assert the error pin, when error pin is set as error output. For example: :>errorlimit 1.8 Will set the error limit to 1.8 degrees. "

... " errorpinmode

Sets or displays the error pin mode. Allows someone to swap usage of the error pin as an enable pin on older boards. (Not compiled for use on boards 3/21/2017 or newer since they have separate enable and error pins) (Must be enabled in firmware) Modes are:

"0" - Enable mode, active high (digital input). "1" - Enable mode, active low (digital input). "2" - Error mode, active low (digital output). Active level is reached when there is an angle error. "3" - Error mode, bi-directional, (digital input/output open collector). (Not currently used).

errorpin

Sets or displays the binary state of the enable pin. Acceptable values are 0 or 1 For example:

:>errorpin 1 Will set the error pin on the terminal block to output a logic high when the error level is reached "