Figure 2.
Essential parts of a BLDC motor control.