So I did make the motor to atleast spin in Sensorless Mode a few days back. But then i reflashed the firmware and starting out anew now, checked out the Getting started Docs to see what commands to make the motor run again in Sensorless Mode, but not able to make it even spin. These are the commands I am using (Motor is connected to M1, so I’m using axis1):
odrv0.axis1.requested_state = AXIS_STATE_MOTOR_CALIBRATION
odrv0.config.brake_resistance = 0.03
odrv0.axis1.controller.config.vel_gain = 0.01
odrv0.axis1.controller.config.vel_integrator_gain = 0.05
odrv0.axis1.controller.config.control_mode = 2
odrv0.axis1.controller.vel_setpoint = 400
odrv0.axis1.motor.config.direction = 1
odrv0.axis1.motor.config.pole_pairs = 14
odrv0.axis1.motor.config.current_lim = 1.2
odrv0.axis1.sensorless_estimator.config.pm_flux_linkage = 5.51328895422 / (14 * 230)
odrv0.axis1.requested_state = AXIS_STATE_SENSORLESS_CONTROL
Also according to the docs, if I request AXIS_STATE_FULL_CALIBRATION_SEQUENCE, the motor should rotate in one direction and then the reverse after the beep. But my motor is just rotating in one direction after the beep and stops. I actually don’t know the wiring scheme of the BLDC motor so i tried all 6 possible combinations of the wiring and still same effect. Only thing is for different combinations, the direction of motor rotation changes while calibration but still rotates in one direction.
These commands i’m giving is a culmination of the other posts on the topic of sensorless mode not working and still its not working for me. What am I missing?