This is an old revision of the document!
The EDK and Vivado HDL designs are provided with integrated FOC and speed & torque controllers generated from Simulink models. The controllers are designed in Simulink and the corresponding HDL code is generated using the Mathworks HDL Coder.
Below is presented a block diagram of the controller.
The controller is implemented using the following flow.
Simulink native blocks are using to design the controller. Below is presented the top level diagram of the controller's model.
The FOC controller model is provided by Mathworks. It is integrated in the HDL designs as a black box netlist file. Below is presented a top level diagram of the controller's Simulink model.