ODESC v4.2 (odrive 0.5.6) sensorless mode issue

Hello, help needed.
Trying to test a motor : A2212, 7 poles, 2700KV(ali)
XXD A2212 2700KV brushless outrunner motor:
Rpm/V: 2700KV
Net Weight: 50g
Weight: 60g
Motor Dimensions: 27*26mm
Battery Opernating: 2-3 Lipo
Idle current: 1.8A
Load current: 18.5A
Power (Watt): 240
ESC(A): 30A,20A
Peak.Amps :14-22 A

ODESC 4.2 and odrivetool 0.6.5

was able to calibrate the motor (after some headaches), but once i run the motor, its doesnt do a good job.
found this vid https://www.youtube.com/watch?v=qf-7ovBZ1Kk
tried the same config (with my max current parameter), but without a luck (

firstly: odrive doc

(Setting up Sensorless

The ODrive can run without encoder/hall feedback, but there is a minimum speed, usually around a few hundred RPM. In other words, sensorless mode does not support stopping or changing direction!)

says that in sensorless mode you cant stop or change direction of the rotation: vid shows the opposite. also it rotates slowly (which is good for me).

it starts the rotation which look ok, then i’m trying to stop it, works too, but changing direction, or start again stops the motor with an error: MotorError.CURRENT_LIMIT_VIOLATION
set current_lim to 30, same thing. changing the speed drastically stops the motor with current error too, if i increase the speed by one each time, goes well.

trying to tweak the controller.config.vel_gain, but cannot figure out the right value.

i think i have written too many issues at once, but i think they are somehow related.
im using this motor for test and learning

big thanks in advance!!!

update:
still cannot get the reason for this issue, but my guess is some tweaks should be made because of the impedance of this motor.
I used two bigger motors
6015 300kv and 5210 180kv, both worked good.
now i want to understand why the 2700kv is not working the same.

any ideas?!

Hi! The ODESC is a clone of the ODrive v3, and is based on a previous version, such as the v3.4 or v3.5, which have significant signal integrity issues. As sensorless control requires a high degree of precision in the motor driver, I would generally not expect good performance here. If you require sensorless control, I’d recommend switching to the ODrive S1.

firstly thanks for your reply.
second its a clone yes, chinese one from v3.6
BUT, as i updated, i have successfully controlled the bigger (less kv) motors.
But I still do have two problems:
For some reason A and B outputs of the encoder are super noisy, and yet some how odecs is able to read them (trying to understand why. my guess is the encoder assembly is bad) and second WHY is the smaller motor behave weirdly…

As for S1, its price is higher (yes, i know that i pay for better quality), dont need such quality right now. Price is matter is this project.
I have googled and find out that a lot of ppl use this controller without problems (or at least they didnt mentioned them).
So i still want to find the way to work this out. Help is welcomed )

thanks again

Hello

Can you show a picture or image of your setup and the setting you entered?

Kind regards

Stijn

Fully understood! Unfortunately those clones have a lot of changes and a lot of things wrong with them, so we cannot support them. You likely have to tune your PID gains, especially for smaller motors like those.