Work

Modeling a Quadcopter Pid Controller as a Stem Project in the Training of Computer Science Students

Year: 2026
Type: article
Abstract: The training of computer science students needs learning tasks in which mathematical models, physical laws, algorithms, and programming operate as one system. A conventional explanation of a PID controller mainly through formulas does not reveal the causal relation between controller parameters, external disturbances, and the behavior of the controlled object. The aim is to develop and substantiate a methodological model of a STEM project for computer simulation of quadcopter altitude control. The study uses theoretical analysis of works on PID control and integrated STEM education, mathematical modeling of one-dimensional vertical motion, equation discretization, and a computational experiment in Python. The object is represented by mass, gravity, linear air drag, motor thrust, and a random vertical wind force. Control is implemented by a discrete PID algorithm with limits on the output and integral term. The correspondence between project stages and the Science, Technology, Engineering, and Mathematics components is substantiated. The mathematical model, implementation algorithm, parameter set, and sequence of learning actions are presented. The simulation illustrates the quadcopter reaching the 10 m reference altitude, compensating for wind gusts of different directions, and changing thrust in response to the control error. Settling time, overshoot, and integral squared error are proposed as learning-oriented performance metrics. Typical IT issues are identified: integral windup, derivative sensitivity to noise, and reproducibility of experiments with random disturbances. The learning sequence covers system formalization, algorithm discretization, parameter tuning, stress testing, and graph analysis. The project provides an integrated context for mastering feedback, numerical methods, software implementation, and engineering analysis. It can be used in the training of computer science students as an individual or team investigation. Further validation should include more complex flight models and an empirical assessment of educational outcomes.
Language: English
Subfield: Education
Open Access status: diamond
OpenAlex ID: W7236279246
FWCI:
Cites: 13
Cited by:
Related to: 10