Tool/software:
I am implementing FOC for PMSM and have built my own code.
Speed and torque FOC mode are working properly but there is something I want to implement that I have seen in a controller.
I will put here some question regarding this FOC control and want to know if i can implement it with TI FOC or is this kind of control known in FOC.
So the controller have classic foc speed mode, where command is scaled as speed ref.
And then in other mode, the command is scaled as Max Vq Clamp, and the motor is driven in speed mode? how it computed speed ref? So if you stop the motor it will stop and vq will be clamped to max vq clamped sent via command. Its not torque mode because motor has no load speed and when i release the command, controller applied opposite Vq to stop the motor and that cannot happen in simple torque mode, this can only happen in speed mode? Or it can happen it torque mode too? suddenly removing iq ref, will the current controller make it zero by applying opposite vq?
To give more details, the controller also accepts a byte as speed scale where you can adjust no load speed in this torque limited mode and a byte where you can change the scale for max vq clamp. So command sets max vq clamp and motor also starts spinning, if you send scale to 0 speed scale, the no load vq applied wll be equal to vq clamp and very less vq available for torque. Similarly if you increase speed scale to 100, no load speed will decrease, all vq will be a lot less than vq clamp and thus more vq available for torque.