Hi everyone,
I have some problems with Instaspin-FOC and motor startup. My setup is as follow:
- Microcontroller TMS320F28054F.
- Own hardware design.
- PMSM motor (attached user.h).
- Offset recalibration disabled (I did once and the voltage and current offset values were update into the user.h).
- Rs recalibration enabled.
- Force angle enable when (fabs(gMotorVars.Speed_krpm) > _IQ(0.06)). Disable in other case.
- Speed control mode.
- In the main loop I get the gTorque_Nm = EST_getTorque_Nm(obj->estHandle). If this value is bigger than 1.0Nm, I stall the motor (it is a security level).
The problem is as follow…sometimes, when the motor is stopped and the speed reference is set to 40rpm, with MaxAccel_krpmps=_IQ(0.06), gTorque_Nm if bigger than 1Nm, no matter the load is applied to the shaft, and the motor doesn’t spin. In parallel, the torque is measured with a torque sensor and the torque real value is far from 1Nm.
I tried to work with the force angle always enable and the opposite, and the problem is still there.
Any help will be appreciate. Thank you in advance. 4645.user.h
