That sounds good to me. The clarke and park transforms and their inverses are easy peasy.
What is more tedious is the space vector modulation part, tuning the Id and Iq PI loops, and the running guess at the rotor flux angle. It seems like everything needs to already be working in order for it to work at all. A motor that just sits there isn't very useful for finding mistakes. I guess I need a strategy for finding bugs without the motor actually turning. Maybe a bunch of data that could be looked at.
|