We know that some ADCs have two output data format, offset binary and 2's complement output format.What differenc between them,and which is a better choose when we use a ADC,just as this picture.look forward your answer
Each data format has its advantage and disadvantage. The conversion result of the ADC will be handled by the digital processing unit or microcontroller or CPU. Now depending on the application to what data format data will it prefer.
When dealing with bipolar inputs it will have to deal with signed numbers, whether it is a positive or negative. To represent each positive or negative result correctly in digital form, it will need to have proper formatting. The Offset binary and 2s compliment are most common. Offset binary are normally used in application where it has a bipolar input and the digital result would not require signed bits to process the data in digital format and this is commonly used in image processing. In offset binary the most negative value is all zeros while the most positive are all 1s. This show that instead if having a negative representation, the result is biased or offset that all values will be represented.
On the other hand the 2s compliment has a way to represent sign and magnitude. On this data format it can represent the a value with the same magnitude but different sign. In programming these are signed integers. In 2s compliment the MSB will tell if the integer is a positive or negative, a 0 MSB represents positive while a 1 MSB represent a negative. Because of the sign value representation it will not require another process to determine if it is representing a negative or positive value. The 2s compliment is an offset binary were the bits are inverted and a value of 1 is added.
The data format can be used depending on your application and how would you prefer to process the conversion data.
May I know what ADI part you are using in your application.
Retrieving data ...