I'm working with a custom board based on TMS320F28027F. The drive moves by sinudoidal speed profile 0.5Hz with 200 RPM amplitude. Instaspin manual says that in order to start under full load
14.3.1 Motor Startup with Full Load Considerations
The considerations discussed in the previous sections also apply to this mode of operation:
• Enable offsets recalibration; described in Section 14.1.1.1.
• Enable stator Rs recalibration; described in Section 14.1.1.2.
• Enable forced angle; described in Section 14.3.1.1.
• Tune speed controller to avoid motor stall; described in Section 14.1.1.4.
• Tune voltage feedback circuit; described in Section 14.1.1.5.
I enabled all the required items, but still the rotor would stall and start spinning after second delay. The main concern is Rs recalibration. The average value is 0.67 Ohm. If I run debug session in Code composer, I see that during Rs estimation state Rs just grows above expected value during all the EST_Rs_State_RampUp+EST_Rs_State_Coarse+EST_Rs_State_Fine timeouts. Whatever timeouts I set, It just grows and doesn't stabilize. Rs online works well, Rs is estimated correctly if the motor running. If I disable Rs Recalibration, it also fails sometimes. It appears as rotor stall or jerky motion. I'm able to fix this on some particular setup adjusting timeouts and initial Rs value so it doesn't grow to high. But if I run the same firmware on another setup (similar, the difference is only in manufacturing tolerances of the motor and PCB elements) it doesn't work.
I'd prefer to just get rid of Rs recalibration during startup, but I guess rotor alignment also happens during this time and this is highly desired feature for smooth start.
I tried also different types of start: with/without offsets and/or rs recalibration. But the best results provide start with rs and offsets recalibration both. And with the latter I have described above issue.
Also, I'm thinking about
// run Rs online
runRsOnLine(ctrlHandle);
this routine is called also during Rs recalibration. May it affect recalibration?
Any help is appreciated.
There is my full user.h
/cfs-file/__key/communityserver-discussions-components-files/38/5775.user.h