AC Motor Closed-Loop Control Software

Job ID: 40435099

Budget: £100,000 – £0 GBP

I need a compact piece of software that will run a closed-loop control algorithm for an AC motor, using a Hall effect sensor as the sole feedback device. The firmware will sit on a microcontroller that is already wired to the motor driver stage; what’s missing is the logic that reads the Hall pulses, calculates speed and position error in real time, and then updates the drive signals so the shaft tracks a commanded RPM with tight accuracy.

Here is what I expect to receive:
• Well-commented source code (C or C++) that compiles with GCC/Clang, plus a makefile or project file.
• A brief user guide outlining pin assignments, interrupt timing, and how to tune the gains.
• A short test log (scope screenshots or serial prints are fine) proving the loop holds speed within ±2 % from 200 RPM up to 3 000 RPM under a 50 % load change.

I can supply the register map for the driver IC, current schematics, and sample Hall waveforms as soon as we start.