Abstract:
In this paper, a comprehensive method for the development of an embedded PID controller for the speed control of small scale dc motors using a low cost FPGA(Field Programmable Gate Array) is presented. The PID controller in FPGA is represented in terms of VHDL code. For choosing the controller parameters and system identification, MATLAB is used with the open loop step response of the motor obtained from an experimental setup. UART communication interface along with a glitch filter is also implemented with the controller on the same FPGA which makes it an efficient plug and play device. The simulation results for the PID controller are shown using Xilinx ISim. The hardware implementation is made in Xilinx Spartan 6 FPGA chip with a sampling time of 10ms.