Implementing Control Engineering Algorithm on ESP32 Microcontroller: Case Study – DC Motor Speed Control
Publication Date : 17/01/2023
Implementing control engineering algorithm on a microcontroller will aid students understanding of the subject matter. Practically, the effect of different type of excitation with or without disturbance can be viewed in real-time. Students will be conversant with control algorithms and also, be able to apply it on any kind of system. This paper presents a cheap and easy method of implementing control engineering algorithm on ESP32 microcontroller focusing on speed control of a DC motor. Two popular control algorithms: proportional integral derivative (PID) and pole placement (PP) controller were used. A linearized model of the DC motor was obtained, and a discretized PID and PP controller was designed. For the PID controller, a trial by error tunning method was used to obtain suitable gains. While for PP controller, it was designed with poles located at different locations on the unit circle of the z-plane. Simulations were carried out in MATLAB to investigate the performance of the PID and PP controller before implementing on a real DC motor.
No. of Downloads :