All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > The Projects Forum

Notices

The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 04-06-2010, 06:33 AM
dksoba dksoba is offline
Junior Member
 
Join Date: Jan 2010
Posts: 25
Default ADC Calibration Circuit

I'm building a circuit with a 24-bit ADC (Overkill, I know... but 10 is not enough and my instructor had a 24-bit ADC (cirrus5528) on hand). The CS5528 has two methods of calibration. Self calibration, and system calibration. For self calibration, all the calibration happens internally, but the gain calibration cannot be 100% accurate because the reference voltage is only 2.5V, and on a full 5V scale there can be errors (Not too sure exactly how this works, but this is what it says in the data sheet). Now, at 2.5V full scale, it can do the internal calibration. In order to get the most accurate gain calibration for a 5V full range scale, I need to apply 5V to the input pin of interest. To do this, I'm thinking I'll need a transistor? If I use an NPN transistor, controlled by a PIC, to put 5V on the PIN, will the voltage actually get to 5V on the PIC (aka, 0V drop over the transistor). Or do I need to tackle this with another method? I also need to connect ground for the offset calibration.

Also, I'm building this circuit at home. I can measure the voltage w/my little craftsman voltmeter, but I'm not sure about the accuracy, and the precision isn't very good (xx.xx in the 20V full scale range). I have access to better voltage meters at school, but I don't want to take my whole circuit there because it's on a breadboard and development board .

I appreciate your input and thanks!
Matt

Last edited by dksoba; 04-06-2010 at 06:55 AM. Reason: Forgot to subscribe!
Reply With Quote
  #2  
Old 04-06-2010, 12:38 PM
beenthere's Avatar
beenthere beenthere is offline
Senior Member
 
Join Date: Apr 2004
Location: Missouri, USA (GMT -6)
Posts: 15,815
Blog Entries: 10
Default

There is so much stray capacitance and such on a breadboard that you may have a hard time getting stable results. You might only be able to get a useful 12 bit output.

Typically, you present the converter with 0 volts and the full scale voltage, and see if the output is 000000h and FFFFFFh (you have to assume linearity). If you have a precision voltage source and a 6 1/2 digit bench meter, you have a chance of actually coming up with the 5.00000 volt input - and that's not adequate for the precision of the converter.

24 bits gives 16,777,216 states. For a 5 volt input, the low order bit is equivalent to .0000003 volts. 300 nanovolts is hard to resolve.
__________________
First comes the hardware, then the software.
Reply With Quote
  #3  
Old 04-06-2010, 01:09 PM
rjenkins rjenkins is offline
Senior Member
 
Join Date: Nov 2005
Location: Sheffield, England
Posts: 1,015
Default

You will need to use a high quality anaog switch to swap the ADC input from the signal you are measuring to the 5V calibration reference.

You also need a 5V reference that is at least as accurate, tolerance wise, as the readings you want to take.

The preferred way of getting accurate readings with an ADC (where possible) is to use it in 'ratiometric' mode. This means using the same reference voltage for both the signal source (eg. a pot or transducer) and the ADC reference.

If you can do that, changes or drift of the reference voltage do not affect the reading accuracy.

This is a some useful info on ADCs, plus figure 8 & the text above cover the ratiometric setup.
http://www.maxim-ic.com/app-notes/index.mvp/id/748
__________________
Robert Jenkins.
Reply With Quote
  #4  
Old 04-06-2010, 03:15 PM
dksoba dksoba is offline
Junior Member
 
Join Date: Jan 2010
Posts: 25
Default

Quote:
Originally Posted by rjenkins View Post
You will need to use a high quality anaog switch to swap the ADC input from the signal you are measuring to the 5V calibration reference.

You also need a 5V reference that is at least as accurate, tolerance wise, as the readings you want to take.

The preferred way of getting accurate readings with an ADC (where possible) is to use it in 'ratiometric' mode. This means using the same reference voltage for both the signal source (eg. a pot or transducer) and the ADC reference.

If you can do that, changes or drift of the reference voltage do not affect the reading accuracy.

This is a some useful info on ADCs, plus figure 8 & the text above cover the ratiometric setup.
http://www.maxim-ic.com/app-notes/index.mvp/id/748
Yes, I'm planning to use ratiometric mode. I think I can put my reference voltage as my +5V rail, and then use the "2.5V" mode, even though my reference is 5V.

I'll try that now I guess...

Edit: Tried that, works great. Well, using some high precision resistors (sort of, I guess, 0.1%), and making different voltage dividers, I get good results. I can calibrate internally at the 2.5V mode, even though 5V is my reference. The ADC can calibrate accurately in the 2.5V mode, according to the datasheet. Since my voltage divider and my reference voltage are running off a 5V rail, this will be a ratiometric mode. Also, I don't need 24 bits of precision, 12 or 13 bits is probably more than enough.

Matt
Reply With Quote
Reply   Post New Thread

Tags
, ,


Related Site Pages
Section Title
Textbook Frequency and phase measurement : Ac Metering Circuits
Textbook AC voltmeters and ammeters : Ac Metering Circuits
Worksheet DC metrology
Worksheet Design Project: Voltmeter
Worksheet Ammeter design
Textbook Slope (integrating) ADC : Digital-analog Conversion
Textbook Make your own multimeter : Dc Circuits
Textbook Ohmmeter design : Dc Metering Circuits
Textbook Ammeter design : Dc Metering Circuits
Textbook Voltmeter design : Dc Metering Circuits


Similar Threads
Thread Thread Starter Forum Replies Last Post
555 timer circuit for servos MoC General Electronics Chat 4 03-18-2010 12:33 PM
Newbie need help with LED semiconductor strobe circuit customsportbike The Projects Forum 6 02-12-2010 01:44 AM
pulse burst averaging circuit cwaitang The Projects Forum 2 05-19-2009 05:43 PM
egg timer circuit Thamil Homework Help 4 04-10-2009 09:15 AM
Math Help with a Simple LED circuit fish4fun The Projects Forum 3 03-03-2009 04:04 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:52 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.