I came across a cheap EV hybrid motor on eBay a while back. It’s designed to act as a starter/generator for a car, and provide up to 20 kW peak power for acceleration and regeneration while braking. It’s a 6 pole (3 pp) motor, with interior permanent magnets. Amazingly, I was able to replace the resolver it used with an AMT103 encoder, and used my Nucelo + DRV8302 board controller to effortless drive it using SimpleFOC, with full current sensing active. Really, really cool to see how flexible this library is! Obviously, this setup is no where near capable of driving the motor to anywhere near full power, but as a proof of concept, its really neat.
Excited to see regen control come to the library in time!