Resolution of analog to digital converter
![resolution of analog to digital converter resolution of analog to digital converter](https://www.110220volts.com/media/extendware/ewimageopt/media/inline/44/a/regvolt-2000-watt-deluxe-automatic-voltage-regulator-voltage-converter-transformer-ce-mark-2c8.jpg)
It depends on the holding capacitor value, an input impedance of the analog source, Vdd, conversion error, temperature etc. In layman’s terms, it is the time required to wait before starting conversion and after applying input in the analog port pin. It is the time required to fully charge the charge holding capacitor to the input channel voltage level. Digital value = * (2^resolution)įor Vref+ = Vdd, Vref- = Vss and 10 bit resolutionįor 2.49V -> Digital value = 511 (0b0111111111 in binary)įor 4.99V -> Digital value = 1023 (0b1111111111 in binary)Īnother term useful while using ADC is acquisition time. The digital value is calculated based on the following equation. In normal cases, we set Vref- as 0 and Vref+ as 5V. The PIC18F4550 pins for Vref+ are RA3 and Vref- is RA2. That means if Vref- is applied to the pin for conversion, the digital value after conversion will be 0 and for the Vref+, this will be the maximum value (1023 for 10-bit resolution). Vref- is the minimum input voltage of analog input and Vref+ is the maximum voltage. PIC18F4550 has two reference voltage inputs, Vref- and Vref+. It specifies the minimum and maximum voltage range of analog input. Other terminology usually appears while using ADC is the reference voltage. 8 choosable clock inputs are available for conversion and the module can be configured in auto triggering mode. PIC18F4550 has 13 channels which mean 13 analog input signals can be converted simultaneously using the module. The more the resolution is, ADC will be better at detecting the small voltage changes. This is where the resolution comes into the picture. It can’t detect the difference between 1mV and 3mV since both will be detected as 0. This means 4.8mV in the analog pin will be detected as 1 and 9.6mV will be 2 (10 in binary). So for a 5V reference voltage, the minimum voltage will be 5/1024 = 4.8mV. For a 10 bit resolution ADC, it is possible to divide up to 1024 (2^10) voltages. The resolution indicates how much the reference voltage can be divided. The ADC in PIC18F4550 is a successive approximation ADC with a resolution of 10 bits. For example, an ADC with 10-bit resolution as one in PIC 18F4550 can have 2^10 (1024) intervals for the range of analog input signal. The resolution of an n-bit ADC is 1/(2^n). Resolution is nothing but the number of levels or intervals which can be divided from a certain analog input range which is expressed in bits. The performance of the ADC is measured using the resolution and speed as parameters.
#RESOLUTION OF ANALOG TO DIGITAL CONVERTER CODE#
The digital code corresponding to the analog level is the desired digital representation of the analog signal. The generation is stopped when the analog level becomes larger than the analog signal.
![resolution of analog to digital converter resolution of analog to digital converter](https://i.pinimg.com/736x/56/f5/1d/56f51ddb3576fb4a392b5c2a0199a1b1.jpg)
#RESOLUTION OF ANALOG TO DIGITAL CONVERTER SERIES#
The successive approximation ADC generates a series of digital codes each corresponding to a fixed analog level with an internal counter to compare with the analog signal under conversion. The most inexpensive ADC available in the electronic market is the successive approximation type. There exist many types of ADCs for different purposes like counter type, flash type, successive approximation type, etc. Analog to digital conversion becomes inevitable when these real-world signals need to be processed in a digital environment.ĪDC is the primary means by which an analog signal is converted into digital data that can be processed easily using a digital computer. Most of the real world signals around us are analog in nature. Analog to Digital ConvertersĪnalog signals are continuous time-varying signals. This chapter describes the functioning of an analog to digital converter using PIC18F4550. Analog to digital converters are electronic devices widely used in today’s digital world as most of the real-time signals are analog ones while the day-to-day devices of the contemporary world are mostly digital devices which can process only digital signals.