Algerian Journal of Engineering Research
Volume 2, Numéro 3, Pages 58-63

Calculation Of The Parameters Of A Regulator Pid By The Pso Optimization Method For A Level Tank Control And Acquisition Of The Data By An Ultrasonic Sensor Through An Interface Board Arduino

Authors : Abdelhalim Fetimi . Mohamed Bahita . Mourad Hamachi .


This research consists of design a PID Controller by PSO algorithm. The object is to control the water level in a tank. The conventional gain tuning of PID controller such as Ziegler-Nichols Z-N method usually produces a big overshoot, and therefore modern heuristics approach such as genetic algorithm (GA) and particle swarm optimization (PSO) are employed to enhance the capability of traditional techniques. As a comparative study in this work, PSO-based PID (PSO-PID) and ZN-PID performances will be presented. To conclude this work, a level measurement experience is implemented. This last is realized via the Arduino UNO electronic card and using an ultrasonic HC-SR04 sensor. The results of simulation are validated under the environment of programming MATLAB and those of the implementation part are validated by handling the programming language Delphi.


PID controller, Ziegler-Nichols, Particle Swarm Optimization, PSO, Arduino