Hello,
We are using sensored Instaspin to run an 8 pole pair, 10000rpm, 200kW, 700 Volts motor. We are also using a resolver as the position sensor, the output of the resolver is fed to a resolver to encoder converter chip and the encoder output fed to the microcontroller (TMS320F28069).
The inverter is being working pretty well up until 3000-4000 rpm, but then we started to have lots of control issues. After a lot of investigation we found out that there is a problem with the output of the resolver. If we run up the motor with an external motor to 5000rpm and read the speed calculated you can see it going up and down up to +-200 rpm (when its real speed is completely constant).
Then we run the motor with a comercial inverter and saw the same problem, but that inverter has a PLL option to apply to the encoder signal and when we turned it on the speed becomes much more constant (within +-3rpm). Therefore, even though we are investigating the source of that resolver problem it seems that having a software PLL would be very useful for cases in which the quality of the encoder or resolver signal is not very good.
My question is therefore, is there any available code about how to implement a software PLL for this kind of application? I have seen that there is a software PLL implementation for solar applications when connected to grid to align the generated voltage with the grid's voltage, can this be somehow modified to fit my application? Has anyone done something like this before that could give me some advice on how to do it?
Any help or advice would be pretty much appreciated.
Regards,
Javier

