Developing the control system
In this section, we will cover control system development.
Electronic speed controllers and flight controllers
An electronics speed controller (ESC) is a small device that comes between the flight controller (FC) and the BLDC motors. An ESC, as the name suggests, controls the speed at which the BLDC motor rotates as per the signals received from the flight controller. Each motor requires one ESC to control its speed and is connected to the flight controller. The FC simultaneously has pulse with modulation (PWM) pins to which the ESC is connected. The FC gives the PWM/DShot signal to the ESC as per the commands given by the GCS RC to run the motors. The ESC gets power from the battery and signals from the flight controller. The following diagram illustrates this setup:
Figure 4.4 – The workings of an ESC
The ESC is connected to the battery and supplies the battery voltage to the motors. The ESC is a kind of oscillator...