Array of slope A/Ds in FPGA?

Sylvain Munaut skrev:

I believe someone has a patent on that, I'm not sure how good they work but for 8 bits it may be good enough

-Lasse

Reply to
langwadt
Loading thread data ...

Hi.

I need to digitize an array of signals (24) with minimum 8-bit resolution, with < 2ms conversion time. Signals are single-ended 0 to

5V. I am trying to keep costs low, therefore I am trying to avoid multiple A/Ds and/or complex multiplexing situations.

I know of the "slope" A/D technique of charging a capacitor or the sigma-delta technique of using a PWM DAC and a comparator to form an A/D.

Would it be possible to get the speed I want using either of those techniques with an FPGA?

Thank you. H.

Reply to
Hw

You can easily accomplish the digital requirements in an FPGA. The problem comes with the analog.

You either need 1) a 24:1 analog mux or 2) 24 channels of slope circuitry and comparator. I would NOT recommend using the FPGA inputs as precision comparators.

Multichannel A/D converters are available off-the-shelf but 24 channels may be hard to accommodate in fewer than 3 devices at a cost you would like. Check out Analog Devices at analog.com or some of you other "favorite" analog houses.

Reply to
John_H

circuitry

precision

20 mV for 1 LSbit for 8 bits at 5V may be workable but are the inputs happy with 5V swing? The slope method I recall cahrged a cap up from 0V from a voltage-controlled current source for a fixed time and back down to 0V from a fixed constant-current source. The count gave the A/D value. The 0V could be moved to a nice Vref level. The charge-up voltage could be large and resistor-limited to the FPGA so the out-of-range high voltage (limited by the I/O protection diode) always gives a good high result and the finish/end crossover is well within the specified ranges. The problem still remains: 24 channels of analog MUX or 24 channels of slope circuitry.
Reply to
John_H

What about using a differential input of the FPGA ?

Sylvain

Reply to
Sylvain Munaut

FPGA usually do not contain comparator inputs which you need for a slope conversion. How about using a cheap ADC plus a few low cost 8:1 muxes (74HC or CD series)?

Regards, Joerg

formatting link

Reply to
Joerg

Kolja,

When Xilinx patents an application on our FPGAs (ie a use patent), one can use it with OUR FPGAs, without restriction. However, we are not likely to license it for free for use with a competitor's product.

If you need a letter to that effect, please contact our legal dept.

Aust> See Figure 10 of Patent US000006246258B1.

Reply to
austin

"Joerg" a écrit dans le message de news: 7dOQe.798$ snipped-for-privacy@newssvr19.news.prodigy.com...

Yes Joerg, or a cheap ADC (or a small microcontroller with ADC) and an external 32 channels mux (available from Analog Device, ADG731, for $4,5 /

1k, probably far less than an FPGA...

Friendly yours,

--
Robert Lacoste
ALCIOM - The mixed signal experts
www.alciom.com
Reply to
Robert Lacoste

The Xilinx lvds differential inputs are actually pretty good comparators but I doubt you could get a solid 8 bits from them. Besides, single-slope adc's are tacky.

I bet you could do a good delta-sigma adc in an fpga, with a few external parts.

But the op needs a cheap 8-bit adc and a mux. There's nothing very complex about multiplexing.

John

Reply to
John Larkin

See Figure 10 of Patent US000006246258B1. Check with Austin for a license.

Kolja Sulimma

Hw schrieb:

Reply to
Kolja Sulimma

Well,

Digi-Key has stock of the HC4051 from Texas Instruments, STMicroelectronics, Philips, Fairchild Semiconductor, and Toshiba.

So what is the problem?

Daniel Lang

Reply to
Daniel Lang

Hello Robert,

That would be an option. However, I was thinking about a mux that is around 10dB lower in cost. Three CD4051 should do which run about $0.15 to $0.18 a pop in >1k quantities. The HC versions must somehow have fallen from grace because they are sometimes unavailable and when you find them they are expensive. Guess the market didn't accept them much.

Regards, Joerg

formatting link

Reply to
Joerg

Thank you all for the helpful responses.

n article ,

Some more info, so you don't think I'm completely crazy :).

First, I made a big mistake in my original post and said 2 milliseconds instead of 2 *micro* seconds. My target sample latency is under 2 microseconds.

Currently, I am multiplexing all inputs down into a 8-input ADC that feeds a uC. I have a latency of 8 us per sample (microseconds, not ms as I originally said) and samples are obtained round-robin. I want to reduce the latency down to 1 us if possible, and also grab all samples at once.

I have trouble finding an 8-input+ ADC, 8-bit resolution+, 1 Msamples/sec that doesn't cost an arm and a leg.

A new design I am working on will need an FPGA anyway, so I wanted to suck the ADC+uC functionality into the FPGA (probably Xilinx) if possible.

Could a delta-sigma style ADC be able to produce new samples at 1 us (1Msamples/sec) w/8-bit+ resolution? I can live with the multiplexing since I'm having to do that anyway.

I am guessing the external circuitry would be a comparator, RC network for filtering the PWM, and maybe a FET/BJT to clear the cap of charge?

Thanks again. H.

Reply to
Hw

Hello John,

I have done a lot of tacky tricks in electronics. Other things they said in design reviews were "weird, gross, unorthodox, yech, ...". Somehow that always happens when cost rules.

I am not sure what these diff inputs would do on slow transitions. If they'd let off a wee oscillation-like burst every time the FCC might not be so enthused about that.

Or just use a really cheap audio converter, maybe the kind that is in the $4.99 sound cards. Heck, you even get more bits, like buy eight and get another eight for free.

Thanks to the CD4051 it would boil down to about two cents per channel. Just my two cents :-)

Do you know what happened to the HC4051? They became expensive and non-stock in a lot of places. Did they fall from grace?

Regards, Joerg

formatting link

Reply to
Joerg

Hello

Care to give us a first name?

We would never think that way of anyone. Well, most of us wouldn't.

Oops, three orders of magnitude. That calls for a "real" ADC. I am not sure whether it would make sense to do that within an FPGA but John would be the expert on that, not me. Just keep in mind that your FPGA size and thus cost might grow beyond of what a simple ADC would have cost and you can't really mux with them.

Sound like a good concept. I don't think there is a decently price ADC with 24 inputs.

How about TLV1570? 8-channel 10bits for well under $4.

ADS7888 is a serial 8-bit one-channel for under a buck. Can't beat that, really. For muxing the CD4051 is a bit hard pressed at 1usec but can possibly be used.

Regards, Joerg

formatting link

Reply to
Joerg

Hello Daniel,

Thanks. I realized my error, I was looking at the mil spec parts.

Regards, Joerg

formatting link

Reply to
Joerg

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.