ArticleslgStudy

computer science

Digital differential analyzer

Digital differential analyzer is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Digital differential analyzer rather than just read about it. In short: A digital differential analyzer (DDA), also sometimes called a digital integrating computer, is a digital implementation of a differential analyzer. The integrators in a DDA are implemented as accumulators, with the numeric result converted back to a pulse rate by the overflow of the accumulator.

Digital differential analyzer — main illustration
Digital differential analyzer — illustration

Key takeaways

  • Digital differential analyzer belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Digital differential analyzer to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Digital differential analyzer from memory before moving on to harder problems.

Reference excerpt

A digital differential analyzer (DDA), also sometimes called a digital integrating computer, is a digital implementation of a differential analyzer. The integrators in a DDA are implemented as accumulators, with the numeric result converted back to a pulse rate by the overflow of the accumulator. The primary advantages of a DDA over the conventional analog differential analyzer are greater precision of the results and the lack of drift/noise/slip/lash in the calculations. The precision is only limited by register size and the resulting accumulated rounding/truncation errors of repeated addition. Digital electronics inherently lacks the temperature sensitive drift and noise level issues of analog electronics and the slippage and "lash" issues of mechanical analog systems. Despite the electronic circuitry and value representation being based on the same basic digital circuitry as modern digital computers (Von Neumann Architecture example), the DDA is more accurately classified as an analog computer for the fact that its operation is based on the same paradigm of classical analog computation using analog hardware structure and analogous dynamical processes, instead of a purely symbolical representation of the solution. For problems that can be expressed as differential equations, a hardware DDA can solve them much faster than a general purpose computer (using similar technology). However reprogramming a hardware DDA to solve a different problem (or fix a bug) is much harder than reprogramming a general purpose computer. Many DDAs were hardwired for one problem only and could not be reprogrammed without redesigning them. The implementation of a DDA hardware configuration is usually identical to the configuration of a classical analog computer, mapping a differential equation into a configuration of specialized computing elements.

History One of the inspirations for ENIAC was the mechanical analog Bush differential analyzer. It influenced both the architecture and programming method chosen. However, although ENIAC as originally configured could have been programmed as a DDA (the "numerical integrator" in Electronic Numerical Integrator And Computer), there is no evidence that it ever actually was. The theory of DDAs was not developed until 1949, one year after ENIAC had been reconfigured as a stored program computer. The first DDA built was the Magnetic Drum Digital Differential Analyzer of 1950.

Theory

The basic DDA integrator, shown in the figure, implements numerical rectangular integration via the following equations:

y∗=y±∑Δy S∗=S±y∗∑Δx Where Δx causes y to be added to (or subtracted from) S, Δy causes y to be incremented (or decremented), and ΔS is caused by an overflow (or underflow) of the S accumulator. Both registers and the three Δ signals are signed values. Initial conditions for the problem can be loaded into both y and S prior to beginning integration. Other more refined methods such as Heun or Runge-Kutta and implicit Euler can be implemented but are way more hardware expensive. This produces an integrator approximating the following equation:

ΔS=K∫ΔyΔx where K is a scaling constant determined by the precision (size) of the registers as follows:

K=1radixn where radix is the numeric base used (typically 2) in the registers and n is the number of places in the registers. If Δy is eliminated, making y a constant, then the DDA integrator reduces to a device called a rate multiplier, where the pulse rate ΔS is proportional to the product of y and Δx by the following equation:

ΔS=KyΔx

Error sources There are two sources of error that limit the accuracy of DDAs:

Rounding/truncation errors due to the limited precision of the registers, Approximation errors due to the chosen numerical integration method. Both of these error sources are cumulative, due to the repeated addition nature of DDAs. Therefore longer problem time results in larger inaccuracy of the resulting solution. The effect of rounding/truncation errors can be reduced by using larger registers. However, as this reduces the scaling constant K, it also increases problem time and therefore may not significantly improve accuracy and in real time DDA based systems may be unacceptable. The effect of approximation errors can be reduced by using a more accurate numerical integration algorithm than rectangular integration (e.g., trapezoidal integration) in the DDA integrators. DDAs could be seen as a special form of analog computers, being configured like analog computers with digital instead of analog computing elements. All computing elements perform integration not as a numerical representation but as a continuous accumulation of differential quantities in the form of impulses. Therefor this type of computer has both advantages and drawbacks via the digital implementation of the analog computing paradigm. These are primarily introduced by numerical instabilities caused by the choice of the integration method and the fact that high clocking frequencies and short integration steps are needed, which also leads to a higher energy demand. On the other hand complex functions and variables like in partial differential equations are easier to simulate on a DDA than on a classical differential analyzer or analog computer.

Patents U.S. patent 3,313,925 U.S. patent 3,564,223 U.S. patent 3,598,974

References

External links MADDIDA (Magnetic Drum Digital Differential Analyzer)

Worked examples

Example 1 — a first encounter with Digital differential analyzer

Start with the simplest possible case. Write down what Digital differential analyzer claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Digital differential analyzer before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Digital differential analyzer ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Digital differential analyzer

In research
Digital differential analyzer appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Digital differential analyzer in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Digital differential analyzer is common in secondary-school and first-year university syllabi. It links to neighbouring topics Early computers, so understanding it makes those chapters shorter.
In everyday life
Look for Digital differential analyzer outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Digital differential analyzer” →

How to study Digital differential analyzer in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Digital differential analyzer means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Digital differential analyzer out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Digital differential analyzer in simple terms?

A digital differential analyzer (DDA), also sometimes called a digital integrating computer, is a digital implementation of a differential analyzer. The integrators in a DDA are implemented as accumulators, with the numeric result converted back to a pulse rate by the overflow of the accumulator.

Why does Digital differential analyzer matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Digital differential analyzer?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Digital differential analyzer.

Tags

  • Early computers

Keep exploring