Hi,
I have a custom low induction sensorless outrunner motor, which I use InstaSPIN FOC to control. Sometimes, especially when the stator resistance (Rs) is estimated too high, I get a weird shaking behavior when the speed-setpoint is 0. It is hard to describe without a video, but it shakes and vibrates. However, the motor seems to behave nicely when I give it a speed setpoint. My hypothesis is that it is the FAST algorithm that causes it to move, and it is injecting too high currents which makes the motor move.
Is this something you are familiar with?
This is the parameters I use for my motor:
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (7)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (0.005)
#define USER_MOTOR_Ls_d (9.5e-06)
#define USER_MOTOR_Ls_q (9.5e-06)
#define USER_MOTOR_RATED_FLUX (0.018)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (3.0)
#define USER_MOTOR_IND_EST_CURRENT (-3.0)
#define USER_MOTOR_MAX_CURRENT (16.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (76.0)
#define USER_MOTOR_ENCODER_LINES (5.0)
#define USER_MOTOR_MAX_SPEED_KRPM (6.5)
#define USER_SYSTEM_INERTIA (0.121264)
#define USER_SYSTEM_FRICTION (0.30)
#define USER_SYSTEM_BANDWIDTH_SCALE (20)
#define USER_ENC_SAMPLE_PERIOD \
(USER_ISR_FREQ_Hz / USER_NUM_PWM_TICKS_PER_ISR_TICK) / \
(USER_MOTOR_MAX_SPEED_KRPM * 1000 / 60 * 2)
Best regards,
Jørgen