Difference between revisions of "Difference Engine"

From Computer History Wiki
Jump to: navigation, search
(Addition of error prevention/detection mechanisms; printer)
m (External links: More accurate phrasing)
 
Line 19: Line 19:
 
==External links==
 
==External links==
  
* Doron Swade, ''[https://ed-thelen.org/bab/DoronSwadeIEEE.pdf The Construction of Charles Babbage’s Difference Engine No. 2]'', Annals of the History of Computing, Volume 27, Number 3, July–September 2005, pp. 70-88 - covers the technical aspects of the Engine, and its construction, in some detail; also covers the details and building of the printer, not covered in his book
+
* Doron Swade, ''[https://ed-thelen.org/bab/DoronSwadeIEEE.pdf The Construction of Charles Babbage’s Difference Engine No. 2]'', Annals of the History of Computing, Volume 27, Number 3, July–September 2005, pp. 70-88 - covers the technical aspects of the Engine, and the construction of the contemporary one, in some detail; also covers the details and building of the printer, not covered in his book
 
* Bruce Collier, [http://robroy.dyndns.info/collier/ ''The Little Engines that Could've: The Calculating Machines of Charles Babbage''], Harvard University, Cambridge, 1970 - has a good description of his machines
 
* Bruce Collier, [http://robroy.dyndns.info/collier/ ''The Little Engines that Could've: The Calculating Machines of Charles Babbage''], Harvard University, Cambridge, 1970 - has a good description of his machines
 
* Allan G. Bromley, [https://ed-thelen.org/comp-hist/CBC-Ch-02.pdf ''Difference and Analytical Engines'']; Chapter Two in William Aspray (editor), [https://ed-thelen.org/comp-hist/CBC.html ''Computing Before Computers''], Iowa State University Press, Ames, 1990
 
* Allan G. Bromley, [https://ed-thelen.org/comp-hist/CBC-Ch-02.pdf ''Difference and Analytical Engines'']; Chapter Two in William Aspray (editor), [https://ed-thelen.org/comp-hist/CBC.html ''Computing Before Computers''], Iowa State University Press, Ames, 1990

Latest revision as of 19:17, 14 September 2024

The Difference Engine was a very early purely mechanical decimal digital computing device invented by Charles Babbage in the early 1800's, following an idea originated by Johann Helfrich von Müller in 1786. It was intended to compute mathematical tables (logarithms, etc), which at that point were computed by hand, and thus often contained errors.

The basic concept is that many mathematical functions can be expressed as polynomials (of the form C0 + C1X + C2X^2 + C3X^3 ... where C0, etc are the coefficients). Successive values of the function are fairly easy to compute by adding differences to running totals (hence the name of the machine), with addition being the only operation needed.

There were in fact two generation of his Engines; a prototype of the first was started in the 1820's, but never finished (although it did spark considerable improvements in the manufacture of advanced mechanical components).

He then became diverted into working on the Analytical Engine - but this turned out to be not without benefit to the Difference Engines. Using what he had learned in his work on the Analytical Engine, he created a new, and better, design for a Difference Engine (the 'Difference Engine No. 2') in 1847-49; his re-design resulted in reduction of the part count from 25,000 to 8,000. It also included several mechanisms included to reduce the chance of un-detected errors; its digital nature made these easier to add.

The design included both a printer, and a mechanism for creating printing plates of the tables, the latter to reduce the scope for human error (in transcription of the results).

Alas, no actual work on it was undertaken in his lifetime. The plans were preserved, though, and as memorial tribute to Babbage on the 200th anniversary of his birth, during 1985-1991 the Science Museum in London built an actual Difference Engine, using those plans. It was finished just in time for the anniversary, and actually worked quite well (thereby lending credence to his other planned, but never finished, Engines).

Further reading

  • Bruce Collier, James MacLachlan, Charles Babbage: And the Engines of Perfection, Oxford University, Oxford, 1998 - has good coverage of his machines
  • Doron Swade, Charles Babbage and His Calculating Engines, Science Museum, London, 1991 - exhibition catalogue
  • Doron Swade, The Difference Engine: Charles Babbage and the Quest to Build the First Computer, Viking, New York, 1991 - excellent history of the Science Museum's project to build an actual Difference Engine, includes biographical content and historical context of the original

External links