News for hackers. Stuff that matters.
Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by mindcrime on Friday February 17, 2017 @11:18AM (#13669322)
Interesting, especially in light of the "modern" view where the prevailing narrative is that analog computers are (in general) less precise, but faster. And, of course, less flexible, but I think that goes without saying.

I am curious to what extent an analog/digital hybrid can blend the best of both worlds, especially for something where the speed <-> precision tradeoff may somewhat favor speed. Like training neural networks.

Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by DigitalJack on Friday February 17, 2017 @01:38PM (#13670572)
Everything is analog when you look at a small enough time scale. "Digital" is an abstraction on top of analog, not a substitute.
Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by dragontamer on Friday February 17, 2017 @12:07PM (#13669818)
It appears that digital is king for modern calculations. However, digital exists only in the ~millivolt to 5V range, its difficult to get a purely digital circuit to "sense" microvolts or nanovolts.

That's where Analog comes in. You can shape and calculate microvolt and even nano-volt level signals before upscaling them to millivolts so that the CPU can handle the rest of things.

In general, digital RAM will hold a value more reliably for a longer-period of time than an analog storage device (aka: capacitor). True, RAM is implemented using capacitors (DRAM needs to be "Refreshed" as those capacitors lose value).

Its easy to "refresh" a capacitor if you only care about two states: high and low. If you're analog however and care about microvolts / nanovolts, its impossible to "refresh" capacitors.

After all, what does a capacitor at 5000uV really mean? In digital, you can refresh it back to 6000uV every few seconds. In analog, you don't know if part of the information leaked out or not.

Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by brandmeyer on Friday February 17, 2017 @05:12PM (#13672162)
At the boundary between analog and digital, you typically need to provide an anti-aliasing filter.

If you are measuring a differential signal with a large high-frequency common-mode component, then it also makes sense to perform the subtraction in analog. Otherwise the inevitable small phase shift between the sampling of the two channels in your ADC will end up coupling the common-mode signal into your difference.

Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by dragontamer on Friday February 17, 2017 @06:19PM (#13672564)
While what you say is true, its incredibly amazing how good ADCs are in the modern era.

3 Gigasamples / second: http://www.ti.com/lit/ds/symlink/adc07d1520.pdf

The fastest OpAmp I can find is this 18GHz GBP: http://www.ti.com/lit/ds/symlink/ths4303.pdf

At 3 GHz, the OpAmp would only offer a gain of 6 which isn't really enough for much accuracy.

Granted, the OpAmp is like $5 and the ADC is hundreds of dollars (and the ADC is only 7-bit accurate)... but the digital world has gotten scary fast and scary good.

That's why Oscilloscopes, even GHz-Oscilloscopes are being made with digital technology today.

Hell, this crazy product raises eyebrows: http://www.digikey.com/product-detail/en/analog-devices-inc/...

26Giga-samples (Nyquist of 13). I mean, 3-bits sucks, but holy crap is that fast. A 26GHz ADC would be able to perform digital-filter analysis on 2.4GHz Bluetooth and Wifi without any aliasing what-so-ever.

Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by brandmeyer on Monday February 20, 2017 @11:02PM (#13693194)
Like anything, its a cost tradeoff. DSP can be much cheaper than active analog for many frequency ranges. You can certainly oversample your way to a cheaper antialiasing filter in many applications. But you can't ever eliminate it entirely.
Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by nickpsecurity on Friday February 17, 2017 @06:53PM (#13672731)
That exists. It's called mixed-signal ASIC's. They mix digital and analog components.