|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: 80 millivolt sensor on breakout?
The A/D converter resides in the 9201 module. I believe that there is a serial interface between the FPGA in the cRIO chassis and the converter in the 9201 module. The FPGA is hard-coded to simply stream conversion values from all 8 channels and store them on the FPGA for you to query.
Oversampling refers to using the full 62kish samples/sec that the FPGA acquires from each 9201 and averaging, for example, 1000 at a time to effectively produce 1000x the resolution. This CAN work but it requires that the low-level signal has > 5mV peak-to-peak noise and that the noise is somewhat well-behaved. Eric's suggestion can work in many instances but it requires that your sensor be a little noisy (it's obviously a bit counterintuitive since noise is almost always undesirable). You should DEFINITELY give it a try. The only downside to oversampling is that it's a filtering process. You won't get the full 31kHz bandwidth as you would when using the raw 62k sample/sec stream. How much bandwidth do you need? If you only need about 100 samples per second from the sensor, you could consider averaging about 300 samples at a time for 62k/(300*2) = 100Hz bandwidth. That could also, theoretically, reduce your resolution from 5mV to 5/300mV = 17uV. I'd recommend that you give oversampling a chance! Russ |
|
#2
|
|||
|
|||
|
Re: 80 millivolt sensor on breakout?
I am only using LabVIEW this year, since I don't know it yet. Hopefully a C++ user can chime in with the complement to this post.
In order to use Oversampling, you will need to use GetAverageVoltage instead of GetVoltage. You may also want to use SetAveraging from the advanced palette in order to dictate exactly how much oversampling you want. Use oversampling, not averaging. This takes a number of bits rather than a number of sampling. If you choose (for example) 8 bits of oversampling, it will take (2^8=)256 samples at a time and theoretically give you 5mV/256 = 20uV resolution. Bear in mind that this makes huge assumptions about the quality of the noise, so don't think of oversampling as the golden hammer with which to solve all resolution problems. |
|
#3
|
|||
|
|||
|
Re: 80 millivolt sensor on breakout?
Okay, I'll try oversampling. The signal is from a motor, so there may be too much noise. I'll see if it works. Hopefully it does, as we have almost no other option. Also, what rate should I use (I will be sampling one ADC on each analog breakout) to get the best resolution? I'm confused, as there are several numbers and I want to know which to use. Is 62K as Russ Beavis says the fastest sampling you can get if you only need one signal, or can we go faster if we aren't using all the signals? Thank you.
Last edited by skidmarks : 13-02-2009 at 23:27. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wiring a potentiometer to the Analog Breakout | rsisk | Electrical | 6 | 19-01-2009 12:49 |
| Analog Breakout for sale? | DarKCroNo | FRC Control System | 1 | 05-01-2009 16:39 |
| Wiring analog breakout? | excel2474 | Electrical | 5 | 31-12-2008 17:30 |
| Pneumatic breakout question. | IndySam | FRC Control System | 5 | 23-12-2008 17:10 |
| 5 Amp Fuses for Analog Breakout & Solenoid Breakout | finman | Electrical | 3 | 10-12-2008 11:59 |