Digital controllers have several advantages over analog controllers, including flexibility, decision-making capability, and high performance for a lower cost. They can also be easily designed and tested through simulations. A digital control system uses analog to digital converters to digitize sensor signals and digital to analog converters to generate control signals. It samples continuous sensor signals and holds the values constant between samples, introducing quantization error that can be reduced by increasing the number of quantization levels.