In this thesis, the design and implementation of a control system for a DC motor using the NI myRIO development platform and the LabVIEW FPGA environment is presented. The objective of the work was to compare the use of the default FPGA configuration and custom-developed FPGA programs, which enable greater flexibility and system optimization.
The theoretical part first introduces the mathematical model of a DC motor and the basic building blocks of the control system: pulse-width modulation (PWM), measurement of rotational speed with an incremental encoder, and the use of a PI controller. The speed control loop and parameterization methods for the proportional and integral terms of the controller are briefly introduced.
The second part describes the actual implementation of the fundamental control system components and compares the approaches between the default configuration and the custom FPGA program. The implementation of rotational speed measurement, PWM signal generation, and the PI controller is explained both using the default FPGA configuration and the custom FPGA design.
The experimental results have shown that the default FPGA personality is suitable for rapid prototyping and simple applications, as it includes preconfigured functional blocks. However, it was also demonstrated that this approach has certain limitations. The custom FPGA program enabled extended functionality and more precise adjustments, but it requires more compilation and development time.
|