PDA

View Full Version : Computers: why do they still only use binary code?


stuyguy
08-09-2000, 10:13 AM
Forgive me if this sounds naive, but he's a Q for all you computer geeks:

Everyone knows that computers read binary (base 2) code. I assume (...and maybe I'm wrong here...) this was done because primative computers only has the ability to "read" and/or "write" ones and zeros (ons and offs, as it were).

But, hell, that was fifty years ago. Has anyone invented the technology that would enable a computer to use "tri-nary" (base 3) code? Or how about good ol' decimal (base 10) code?

Binary seems very simple, very elegant, and probably pretty foolproof -- but also inefficient (storage-wise) and cumbersome (calculation-wise). I assume it's sort of like building a house with Legos -- sure it can be done, but wouldn't real bricks work better?

Now, before everyone chimes in about the cost, difficulty and undesirability of replacing an entrenched, accepted technology, be warned that that is not what this Q is all about. I just want to know if there are substantial benefits of using a higher-base code, and if anyone has ever tried it. Thanks one and all.

jasonb94
08-09-2000, 10:27 AM
Maybe someone else can help fill in details, but IIRC, there are some physicists working on the concept of quantum computing. Instead of ones ond zeros, the computer would identify one of 32(?) possible spin states of electrons used to carry info. I may be a bit off-base with the details here, but the upshot is that a quantum computer would be exponentially more powerful than a binary computer.

Wonko The Sane
08-09-2000, 10:34 AM
Hello all!

individual spots in memory, called bits, are either in a state of being on, or off. Hence, 0 or 1. I suppose they could be in a state of neutral, negative or positive charge, which would increase the amount of info that could be stored in a given ram chip, but computers would need to be redesigned radically.(bigtime).


This endeth.... The lesson.

lask
08-09-2000, 10:35 AM
A computer's hardware consists of transistors, which are bi-state: On or Off. This is why binary was adopted. It is the perfect system for such hardware.
Some computers and operating systems also use base 8 and 16 (octal and hexadecimal) since a physical byte contains 8 bits (registers for and On or Off).
It is faster and more efficient to use a binary code with low level hardware. It bridges the gap between the hardware and software.

gazpacho
08-09-2000, 10:36 AM
The short answer is no there is not a lot of benefit to going to base 10. It is easy to make circuits that are on or off but much harder to make circuits that have more than two states on, sort of on and off.

Computer programmers for the most part don't really wory about base two they let the compilier wory about it.

Computer designers worry about it less and less as we now have synthesizer to make the base two stuff for us. The people who design gates that the synthesizers use still worry about base two but they only design 1 each of the legos and the synthesizer builds the house from the plans that the computer desigers give them. How about that set of goofy analogies.

A while back Intel said that they had flash memory that stored more than just on and off. They were getting four states per cell. oon, sort of on, sort of off and off. this would have allowed them to double that amount of memory stored in the same amount of space. that was a few years ago and I haven't heard anything about it so they must not have been ably to make it cheap enough.

Besides that base 10 stuff is old it has been around for thousands of years well at least hundreds. When did the arab math guys discover zero anyway?

Balduran
08-09-2000, 11:34 AM
I think there are two key (although entirely distinct) things you need to make a computer. You need to be able to store information and you need to manipulate it. Binary is fairly simple on both these accounts (flip-flops, logic gates) from the logic gates you can devise methods for higher level operations and data extraction.

There are methods of storage of information in more than two states such as has previously mentioned and optical storage. I beleive the main difficulty is in developing higher than two state logic and data manipulation. There are people working on this. Optical computing seems to hold some promise in this area.

I think though, there has not been more research in this area, because there is still a lot of room for binary computers to grow. Once their theoretical wall is hit you will see more research in these other areas.

as an aside,

Quantum computing is another area of intense research right now (I attended a seminar by one of Stephen Hawking's old grad students on this). Much more difficult. The number of states available depends on the physical system used. The electron only has two spin basis states (it is a spin 1/2 particle) but I suppose you could find a molecule with 32 different basis states. Each unit is know as a qbit (quantum bit). For an electron by itself you have a two state qbit, for the molecule you have a 32 state qbit. I have heard that they have been able to make a 3qbit computer using a Magenetic Resonance Machine (basis of MRI).

This is when it starts to get really weird! Not only do you have the basis states of the qbit availale to you, but you also have every linear combination of them (recall Schroedinger's cat). Although you only have logic on the number of basis states of the qbit, all these combinations can be operated on simultaneously! Known as "massively parallel computing".

In addition to this parallel ability, you can do logic operations which are impossible in classical computers. For instance I beleive you can make a gate which can do the square root of -1.

The main challenges with quantum computing are:
1) Building a system that is stable (the Physicist's job) using techniques like quantum error correction and quantum teleportation.
2) Designing logic and algorithms that a quantum computer can use ( the Mathematician's job). For instance Shor's Factoring Lemma theoretically allows you to factor large numbers in minutes on a quantum computer what is would take years on a classical computer

Diver
08-09-2000, 12:02 PM
As has been stated, it's much easier to tell the difference between about 0 volts and about 3 volts or 5 volts or whatever the voltage that represents an on state is, than it is to divide the voltage up into several levels and detect them. That's even more true now than in the past because the high speeds today have caused the noise margins available to decrease. Reflections due to impedence mismatches and noise due to ground bounce are part of the problem. PC boards nowadays have to be designed as waveguides to help aleviate the problem.

As an exercise I once assumed base 3 logic, devised the truth tables and designed some counters and other circuitry. It reduced the number of components needed to construct basic logic items such as counters, but at the expense of circuit complexity.
So it's very possible to use multi-state logic and there are some advantages to doing so, but the disadvantages still outweigh the advantages (I think).

Crafter_Man
08-09-2000, 12:12 PM
As far as traditional, transistor-based computing goes, binary is the only way to go. Sure, you could design a 3-state, 4-state, or n-state machine (it has already been done). And mathematicians tell us a 2-state system is inherently inefficient. But an n-based system where n does not equal 2 won't work very well.

Why?

Because of the way states are represented in the circuitry. Let me explain…

In most logic circuits, ones and zeros are represented by voltage levels. For example, in TTL technology a "1" is represented by 5V and a "0" is represented by 0 V. (Actually, a "0" is represented by a voltage less than 0.7V, and a 1 is represented by a voltage between 2V and 5V, but I'm trying to keep this simple.)

Now let's say you want to design a 3-state system. So you do the following:

A "0" is represented by 0V.
A "1" is represented by 2.5V.
A "2" is represented by 5V.

And you design and build the system. And you turn it on. And it doesn't work.

Why?

Because you've got a big problem when you're trying to go directly from "0" to "2" and "2" to "0".

When you go from "0" to "2" the voltage is continuously changing from 0V to 5V, thus it passes through 2.5V. So it will look like you're trying to send a "0" "1" "2"! (It is impossible to go from 0V to 5 V without going through every voltage in-between.)

And you've got the same problem going from "2" to "0".

The only way around this problem is to do one of the following:

1. Implement a global clock.
2. Implement clocks on each logic gate.

Neither solution is desirable. Many design operate asynchronously, and therefore do not have a global clock. And the second solution would be terribly complex.

CurtC
08-09-2000, 12:59 PM
lask wrote:
A computer's hardware consists of transistors, which are bi-state: On or Off. This is why binary was adopted.

Just to clear up one point, transistors aren't inherently two-state devices. They were designed to be linear amplifiers, and do a very good job of that in the area between where they first turn on and where they get saturated. In binary systems, it's just that they're designed to operate at one of the two rails.

It's fairly easy to design systems to drive the transistor either all the way on or all the way off. For a higher-state system, you'd have to be careful that when you want one of the middle states, that's what you'll get. My hunch is that the extra complexity in controlling this is not worth the savings in fewer devices.

The OP is a good question, at least I think so because I've thought about it many times and I'm a geek. By the way, I hear people all the time use the word "digital" to refer to something that's either on or off, when they should be using "binary".

yabob
08-09-2000, 01:55 PM
The OP is a good question, at least I think so because I've thought about it many times and I'm a geek. By the way, I hear people all the time use the word "digital" to refer to something that's either on or off, when they should be using "binary".

Correct. And it's interesting how this whole discussion has revolved around "digital N state" vs. binary. As a mathematician turned software guy (years ago), I will defer to the hardware types on why there are or are not practical design reasons for binary computing devices vs. ones using base 3, 4, 10, 60 or 666 digital circuitry.

However, I sometimes DO wonder if more people shouldn't be revisiting analog computing. We basically gave that the heave-ho decades ago, except for specialized applications, mostly because binary was faster and didn't present calibration problems. It seems to me that a hybrid analog / digital environment might be better for a large class of applications.

Balduran
08-09-2000, 03:38 PM
So I guess I was wrong in assuming (at least mathematically) that it is difficult to make higher than two state logic.
Diver, What kind of gates would you have? Are they just extensions of AND NAND etc? I kind of remember the truth tables so you can show me in that form if you wish.
What's the highers that are physically realized?

yabob, I'd be interested to hear more about analog computing.

JoeyBlades
08-09-2000, 04:26 PM
Crafter's hit the nail on the head... at least, the big nail. The hardware problem is one of "level versus synchronization". Multi-state logic is feasible and, in fact, has been demonstrated on numerous occasions, however it does not tend to be practical for a variety of reasons. Fundamentally, it comes down to cost. It's still cheaper to build binary computers that evolve basically according to Moore's law, than it is to develop a whole new technology and swing the entire industry over to this new standard.

There are opportunities for change, however, particularly in the arena of optical computers because you can use wavelengths to represent states and it's possible to toggle between wavelengths (colors) without inadvertantly hitting intermediate states. Optical gates are of constant complexity, so it doesn't cost you much more to support a wider 'variety' of states. Also, holographic memories would be able to store data in non binary formats, which I think is key to facilitating the change to non-binary machines.

The question I ponder is, asside from density improvements, are there any other benefits / implications to non binary computing? I think it's possible that wildly new architectures (non von Neuman) will be possible. Artificial neural nets are an example that comes to mind. Today these are mostly emulated - if there was a native hardware infrastructure that supported the architecture, this might open up a whole new universe to computing...

yabob
08-09-2000, 08:16 PM
Neural nets might be one of the prime examples I would contemplate analog architectures for. I should have also mentioned the Von Neumann architecture as something else that hastened the shift to digital machines - another problem with analog was that "programming" was too much of an exercise in hardware design. It's for this reason I think you would want to go to a hybrid analog/digital design : you still need digital support functionality to control and configure the analog computing elements.

**** background ****

(not really my field, but since I shot off my mouth, I'll
give it a try)

Analog computers are devices which manipulate data represented by continous quantities rather than discrete states. It might, for instance, add two numbers together by just combining the quantities in a manner crudely analogous to pouring two glasses of water together and seeing how much water you have now. For general purpose computing, digital took over because it operated much faster, wasn't prone to minor changes in voltage levels and so on causing "drift" in the represented data, and control logic could itself be represented as digital data so that programming could become purely a software exercise. And processing of floating point numbers became something that was really still a manipulation of discrete digital patterns internally.

Analog continued to be used in special purpose things like system simulations and signal processing applications. These are things involving HEAVY floating point - complex interactions of continous variables, and you may be worried about the effect of quantizing "real world" measurements or probability distributions into discrete levels.

sailor
08-09-2000, 09:08 PM
You have a better idea?

Luckie
08-09-2000, 10:58 PM
first, tri-state componants are routinely used on buses. the states are on, off, and high-impedance. this is kinda-almost non-binary logic, but not really really.
second, one advantage of binary leaps to mind: low power dissipation. with cmos circuitry (and i'm sure more modern varients), the logic circuits can have zero quiescent current, all the power dissipation comes when you clock the circuit. I don't think you could build a ternary logic circuit with that property unless piped in a second voltage supply for the third state.
third, there is also a big advantage with DRAM. in DRAM, you effectively charge a tiny capacitor to indicate a 1, leave it uncharged for a 0. over the following microseconds, the capacitor will be discharging, but it can drop to, oh say, 1/3 Vcc before it gets called a zero. So you have to recharge it before it drops that far, say every 250 microseconds(don't know real numbers). If you have a middle state initially charged to 1/2 Vcc, it would drop to 1/6 at the end of the rechrge cycle. so now to determine the state you have to know how long ago the last recharge was, either that or make the recharges more frequent.
maybe you could make a DRAM cell that could hold 3 levels without getting them mixed up, but it would probably take up more chip space than just building two binary cells.

just a few thoughts, it's really not my field....
-luckie

------------------------------
mp3.com/InSyzygy
mp3.com/RobRyland

stuyguy
08-10-2000, 01:27 AM
Hey Sailor, just for the record I thought your snide post was uncalled for. Apparently the 10+ other posters who really seem to know about this stuff did not find my OP as absurd as you did.

Even the Dopers who poo-pooed non-binary systems did so with a gracious explanation and an open mind. Others, who thought the concept might have promise sound rightly cautious, but also open-minded. (I'm grateful to them all -- and I bet other Dopers who found this thread worth reading are too.) You, however, brought nothing to the party except your bucket of cold water.

RussellM
08-10-2000, 03:43 AM
You don't have to move away from binary systems to get other options.

There has been considerable research into optical bistable elements - effectively transistors which operate with laser rather than electrical inputs. The advantage here is that the 'optical transistors' can be made massively parallel, so that a matrix of hundreds of switches can be made on a single slice of crystal, all of which can operate independently.

Here is an discussion of Optical Logic Arrays (http://www.phy.hw.ac.uk/resrev/OLA.html)

In theory, this could mean that absurdly fast processors could be constructed.

In practise, it doesn't seem to have happened. I guess it's like the notion of finding something better than wheels for cars - it could be done a different way, but it's too much effort for not enough gain?

Russell

JoeyBlades
08-10-2000, 08:08 AM
Russell:


The advantage here is that the 'optical transistors' can be made massively parallel, so that a matrix of hundreds of switches can be made on a single slice of crystal, all of which can operate independently.


There are other advantages, as well. Optical computers consume much less power, which will in turn, make them more reliable. Also optical systems would be much easier to reconfigure (no soldering) and test (no contact).



In practise, it doesn't seem to have happened.


Have a little patience. Until recently, the problem has been how to make laser diodes with the right wavelengths, size, and quality, not to mention low cost (oops, just mentioned it). This hurdle has been overcome and I suspect we will see considerable more progress in the near future.

sailor
08-10-2000, 10:27 AM
stuyguy, my comment was not intended as snide but rather as humorous and it had a point which is that sometimes simple things are the best. Your OP makes it sound like binary is some backward system and there are better ones available.

There are cases where this is true (for example, some modem modulations send more than one bit per sample) and in those cases it is used. But in the end binary is the best system invented for digital logic, precisely because it is simple.

Sorry if you didn't like my remark. it was not meant that way.

stuyguy
08-10-2000, 11:09 AM
Sailor: Thanks for the gentlemanly reply. And consider the matter forgotten.

casdave
08-10-2000, 11:46 AM
The reason transistors are used in either on or off states only is that heat dissipation is small.

When a transistor is off it is easy to understand how it consumes no power, when it is fully on the resistance is very small and since

P= I2 *R

Where P = power - related to dissipation of heat in this case

I = Current consumed

R = Resistance

If the resistance is kept very small such as when a transistor is turned on fully it follows that less heat will be dissipated,

When a tranistor is between on and off states, in transition, the time it take to do so is directly related to the heat dissipated and the more often transition takes place the higher the temperature.

If you were to use transistors with discrete voltage states between on and off the amount of power consumed would make the thing unfeasible, as it is transition time is one of the limiting factors in chip design.

In reality nobody actually waits for a transistor to be fully turned on or off as it takes time to do this.This means that logical 0 or 1 does not actually mean 0 volts and line volts, once a treshold is achieved this is taken to mean the required state.

yabob
08-10-2000, 06:13 PM
If anybody's interested, a poked around a bit concerning a resurgence of analog-based computing. I've got company, it seems (I wasn't entirely unaware of that, actually).

This is interesting, given my offhand remarks about neural nets:

http://www.eetimes.com/story/OEG19981103S0017

Here's an academic who seems rather interested in the topic:

http://www.cs.indiana.edu/hyplan/jwmills/MAFC/mafc.html

A bit more out there - there is a guy named Paul Saffo, a visionary type who's current thing is "intelligent materials". Scan down to "Analog, the new frontier" or something like that in this article:

http://www.uta.edu/huma/enculturation/2_2/rieder

sailor
08-10-2000, 11:28 PM
Check out http://developer.intel.com/design/flcomp/isfbgrnd.htm for intel's flash memory that stores two or three bits per cell

Diver
08-11-2000, 01:01 PM
pweeman said "What kind of gates would you have? Are they just extensions of AND NAND etc?"

Ah geeze, you would ask me that. I did the exercise 28 years ago when I was fresh out of college.
As I recall though, I started with the 3 state equivalent of the binary truth table.
The binary far right column (A) was 0101,
the column to the left (B)was 0011.
The weight for A was 2^0 or 1.
The weight for B was 2^1 or 2.
A 0101
b 0011
The AND function would be 1 & 1 = 1
All other combos = 0

The 3 state equivalent would be:
A 012012012 weight 3^0 = 1
B 000111222 weight 3^1 = 3
The AND function would be:
1&1 = 1
2&2 = 2
All other combos = 0
(The C column - not used here - would have nine 0s, then nine 1s, then nine 2s, weight = 3^2 = 9)
OR gates are similar. NOT functions are comparable
The fun part is extending the concept to flip-flops and then designing a 0 to 10 counter.

Like my favorite instructor used to say "That's obvious to the most casual observer and is left as an exercise for you students"
How's that for a cop-out?

The Ryan
08-11-2000, 02:44 PM
Originally posted by stuyguy
Everyone knows that computers read binary (base 2) code. I assume (...and maybe I'm wrong here...) this was done because primative computers only has the ability to "read" and/or "write" ones and zeros (ons and offs, as it were).
No, it was because that was the simplest coding.

But, hell, that was fifty years ago. Has anyone invented the technology that would enable a computer to use "tri-nary" (base 3) code? Or how about good ol' decimal (base 10) code?
Actually, Babbage's machines, which preceded ENIAC by about a century, were designed around base 10. We certainly could have base ten computers, but why? What's so "good" about it? The only reason that we use it is because we have ten fingers.

Binary seems very simple, very elegant, and probably pretty foolproof -- but also inefficient (storage-wise)
How is it inefficient?

and cumbersome (calculation-wise).
On the contrary, it's quite simple. People learn digital calculation at a very young age, and binary at a much older age, if at all. Because of this, digital sems simpler than binary, but it's not. Do you know what the multiplication table looks like in binary?
0 0
0 1
Now compare that to the digital one. Not quite as simple, is it? I could probably teach a five year old binary arithmatic in less than an hour.

I assume it's sort of like building a house with Legos -- sure it can be done, but wouldn't real bricks work better?
I think abetter analogy would be between building a house with normal size Legos (binary), or Legos the size of bricks (digital). Normal Legos give you much more flexibility.

tbea925
08-11-2000, 09:53 PM
Some computers do use "decimal" logic. Mainframes (e.g. IBM 360 and others) use BCD or Binary Coded Decimal numbers for some calculations. It's just slower than binary.

Binary has a advantages. It's incredibly cheap, it's fast (reducing logic to and/or/nand/nor gates and flip-flops are things that electrons can travel along real good), and it reduces everything to the simplest possible representation.

Oddly, Digital isn't digital at all, it's binary.

(Sigh) I guess nobody remembers Core anymore.

sailor
08-13-2000, 12:57 AM
tbea925, BCD *is* binary just like ASCII is binary.

yabob
08-13-2000, 10:28 AM
I think what tbea925 was referring to is that some mainframes of that vintage had what was known as a "decimal accumulator" that performed arithmetic on collections of BCD digits (hex values F0 - F9, why the HELL do I remember that!). The machine I learned assembler on was a Xerox Sigma, which had decimal accumulator instructions as well as "normal" arithmetic. Those instructions treated some block of the 16 general purpose registers as the decimal accumulator, and let you add memory containing numbers expressed as EBCDIC digits to it, and so on. Never made use of them.

sailor is correct in noting that this is still manipulation of binary patterns, but it is worth noting that the arithmetic is not done by the machine actually manipulating binary representations of the numbers as we are accustomed to in most arithmetic operations today.

Balduran
08-13-2000, 04:12 PM
yabob, and Diver Thanks for the info. I think I've ruptured a few brain cells trying to figure out what you guys said.

Chas.E
08-15-2000, 01:11 AM
jeez, I missed out on this thread, and as always, I look like a crabby curmudgeon when I jump into a thread quite late and (as usual) point out that you guys are all barking up the wrong tree. This n-state logic and quantum computing is all blue-sky thinking. Analog computing has been around for many years, and at least one major manufacturer that I know of produced these machines in quantity.

Hewlett-Packard used to make a series of analog computers in the 1960s. They used normal binary logic for most control functions, but computationally intensive functions like trigonometry, square roots, etc, were programmed into analog computing circuits. The hard work was all done in analog, then read by high-resolution (VERY hi-rez) analog to digital converters and output by the digital side. These machines were used in scientific computing where fast, high precision number crunching was necessary. At that time, binary computers were slow, and analog circuits could do instantly what would take many hundreds of CPU cycles.

So yes, there are advantages to analog computing. Occasionally, people trot out this old technology and proclaim it is a new invention. It always surprises me that nobody remembers the old analog machines.

JoeyBlades
08-15-2000, 09:19 AM
Chas writes:


jeez, I missed out on this thread, and as always, I look like a crabby curmudgeon when I jump into a thread quite late...


I don't think this one's gone stale yet.



... and (as usual) point out that you guys are all barking up the wrong tree. This n-state logic and quantum computing is all blue-sky thinking.


Well, quantum computers exist today, so I'm not sure how blue-sky that is...



Analog computing has been around for many years, and at least one major manufacturer that I know of produced these machines in quantity.


yabob's already pointed that out. The problems with analog computing for the future are many. First, the technologies to dive this down the price/size/power/performance curves are not well advanced. Even with today's most advanced analog technologies an analog computer capable of similar complex instructions (to compete with a 486) would fill a small house.



Hewlett-Packard used to make a series of analog computers in the 1960s.

So yes, there are advantages to analog computing.


That was then and this is now. While analog computing is certainly still used for some applications, it does have it's technological limits. Most analog computers use a -10V to +10V swing. In the real world, voltage can't swing from rail to rail instantaneously, plus the reactive components in the system require some settling time. The bottom line is that there are no computations on analog computers that can't be done faster with the near gigahertz binary machines of today.



It always surprises me that nobody remembers the old analog machines.


Somebody remembers 'em. I used to use them and I gather yabob has more than a casual exposure to them.

yabob
08-15-2000, 11:08 AM
Somebody remembers 'em. I used to use them and I gather yabob has more than a casual exposure to them.

Actually, my exposure IS casual - just from what I've read / heard, etc. Never worked with one. I had professors who had. I just bring up the technology as something that bears reinvestigation, particularly with reference to things like neural nets, as mentioned.

The problems with analog computing for the future are many. First, the technologies to dive this down the price/size/power/performance curves are not well advanced. Even with today's most advanced analog technologies an analog computer capable of similar complex instructions (to compete with a 486) would fill a small house.

2 points - it's exactly because the development curve is NOT advanced that I think there is potential. And since I don't see analog replacing digital, I wouldn't even try to build a machine with similar complex instructions to an x86 machine.

The modern analog machine probably would have quite a bit of digital support and program control, and would be used for the AI / real world sensor applications we've been discussing, not standard data processing applications. Perhaps analog computing could become something like a fancy coprocessor that the digital chip could control and configure the elements of, and allow it to do the real gruntwork involved in your neural net or simulation.

Chas.E
08-15-2000, 02:06 PM
Originally posted by JoeyBlades
The problems with analog computing for the future are many. First, the technologies to dive this down the price/size/power/performance curves are not well advanced. Even with today's most advanced analog technologies an analog computer capable of similar complex instructions (to compete with a 486) would fill a small house.


That isn't necessarily so. For example HP used analog circuitry in some of its early desktop scientific calculators, I used to play with one that my neighbor owned, way back in the late '60s/early 1970s. They were astonishingly expensive, something like $15k, but there were people willing to pay that price, because the only alternative solution was to use the old iterated succesive approximation for functions like square root, which took damn forever on the existing +-/* calculators. The analog circuitry allowed you to just poke one button and get an answer instantly, instead of spending several minutes doing repeated cycles of calculation to get an approximation. The calc had several analog boards inside, it was a huge beast, about a foot wide, a foot tall, and 2 feet deep. It had a cool oscilloscope display too, a true vintage computing device. So it isn't THAT expensive to do analog computing, particularly if you factor in the labor involved in alternative methods.

Originally posted by JoeyBlades
That was then and this is now. While analog computing is certainly still used for some applications, it does have it's technological limits. Most analog computers use a -10V to +10V swing. In the real world, voltage can't swing from rail to rail instantaneously, plus the reactive components in the system require some settling time. The bottom line is that there are no computations on analog computers that can't be done faster with the near gigahertz binary machines of today.


Sometimes speed and cost isn't the issue. For example, I recently read about an analog computing device that detects radioactive decay particles to generate truly random numbers and then output them through an A to D converter. No binary machine can generate true random numbers, only pseudorandom numbers.

But anyway, this analog vs. digital discussion reminds me of the annual Soroban (abacus) competition in Japan. Every year, they give a series of calculations to two teams, one with the abacus, one with pocket calculators, and see who can complete the calculation fastest. Every year, the Soroban team wins. One year, the calculator team beat the Soroban team for speed, but was disqualified because they got the wrong answer..

JoeyBlades
08-15-2000, 06:41 PM
yabob:


2 points - it's exactly because the development curve is NOT advanced that I think there is potential.


It's not for lack of trying, that analog is not as advanced as digital in terms of speed, power, size, etc.. There are large teams of engineers cranking away at it each year and there are far more patents for analog-ish things than digital ones. Not that many people are working on analog multipliers, I'll grant you, but the concepts are not that dissimilar for the analog features that we continually integrate onto microcontroller devices (those special microcomputers that control your ABS, air bags, and engine in your car, and are used for thousands and thousands of everyday devices). Simple physics is the primary bottleneck.



Chas:


So it isn't THAT expensive to do analog computing, particularly if you factor in the labor involved in alternative methods.


True, for certain specific functions, you can build analog computers that are not **TOO** big or **TOO** costly, however the point was that for most applications, analog methods are not a suitable replacement for digital ones. I know that you and yabob are talking about hybrids, but I'm not sure there are many applications that could actually benefit from analog features.


For example, I recently read about an analog computing device that detects radioactive decay particles to generate truly random numbers and then output them through an A to D converter. No binary machine can generate true random numbers, only pseudorandom numbers.


What you're really talking about is a sensor. I'd hardly classify this as an analog computing device unless it does more than what you describe. The analogy that I instantly draw is with a microphone. If a microphone is exposed to a reasonable level of random noise, by playing with the sensitivity you can accomplish the same random number generation task. The only real difference here is that you can nearly always count on radioactive decay, but you can't always count on audio noise, bubt that's not a function of the computer - it's a function of the sensor.

Analog computers are still the architecture of choice for many servo applications, but digital is starting to take over...