Every control system may be divided into three general sections: input devices (sensors), controllers, and output devices (actuators). The input…