My professor assigned me a project which i have to choose on my on. I t should be a closed loop circuit, means input is applied and a sensor checks the output and if there is any deficiency it increase or decrease the input. I had an idea of controlling…