This interactive simulator is designed to visualize the inner workings of BLDC and PMSM control algorithms and provide a test bed for prototyping of more advanced control algorithms. Parameters like rotor inertia, bus voltage, PWM timer frequency, and many more can be adjusted in real time to see their effects on the control policy.
Precompiled binaries: On 64 bit Windows, download the precompiled binaries zip. After extracting, run simulator.exe
.
Compiling from source: Install the bazel build system and clone this project. Run bazel run -c opt simulator:simulator
Step 1. In the Commutation Control Mode tab, enable FOC.
Step 2. Then set a desired torque.
Step 3. Adjust the step multiplier to change the speed of simulation.