**5. BLDC Motor Control Based on PID**

PID consists of a set of conditions that could be applied to give a closed-loop control system precise regulation. In a closed-loop control process, the controlling device receives continuous real-time measurements of the process being controlled to ensure it reaches the desired range. The computed value, also known as the "process variable", is made by the controlling device to resemble the indented value, also known as the "set point". To complete the desired work effectively, the PID control algorithm is adapted. The most important of these is proportionate control, which measures the error value and creates proportionate changes to lower the error in the control variable. Proportional control is mostly used in many control systems. The PID controller continuously evaluates the difference between the process variable and the set point and makes the necessary corrections. Derivative control monitors the process variable's rate of change and modifies the output variable to take unexpected changes into account.

Each of the three control functions is directed by a user-defined parameter. These characteristics may differ from one control system to another, and as a result, they must be modified for the best control precision. Finding the values of these parameters is known as PID tuning. Although many people think of PID tuning as "black magic", it is always known as a precise mathematical process.

There are numerous ways to accomplish PID tuning, and any of the methods can be used to tune any system. While some PID controlling methods require more devices than others, they typically produce more accurate output with low effort. The fundamental objective of the PID controller is to execute algorithm-based tuning constants. The control engineer delivers the current plant process value and the operator's intended operating value (set point). In most situations, the controller will conduct to bring the process value as close to the set point as is practical. To perform a simple process control loop, PID algorithms will be implemented by the control engineer.
