I’m currently running a ducted fan from odrive and seem to be running into issues with the top speed I am able to achieve.
motor is a dr mad thrust 3900KV
I can change the
odrv0.axis0.controller.set_vel_setpoint between 0 and 4000 and get different speeds but any value above that has no change on the motors speed.
odrv0.axis0.motor.config.pole_pairs = 3 odrv0.axis0.requested_state = AXIS_STATE_MOTOR_CALIBRATION odrv0.axis0.motor.config.pre_calibrated = True odrv0.axis0.config.spin_up_current = 10.0 odrv0.axis0.config.spin_up_acceleration = 1000.0 odrv0.axis0.config.spin_up_target_vel = 1000.0 odrv0.axis0.controller.config.control_mode = 2 odrv0.axis0.controller.config.vel_gain = 0.01 odrv0.axis0.controller.config.vel_integrator_gain = 0.05 odrv0.axis0.controller.config.control_mode = 2 odrv0.axis0.controller.vel_setpoint = 400 odrv0.axis0.sensorless_estimator.config.pm_flux_linkage = 0.0004922 odrv0.save_configuration() #reboot odrv0.axis0.requested_state = AXIS_STATE_SENSORLESS_CONTROL
am I missing any part of the set up for sensorless or have any part drastically wrong.
I tried to set up a new motor and drive with these parameters to match the first one and it starts the pinup then loses a step and starts to slowly turn and vibrate. even though the motor is the same as the previous one does it need seperate tuning rather than reusing the previous values?