Difference between revisions of "Difference Engine"

From Computer History Wiki
Jump to: navigation, search
m (External links: typo)
(Addition of error prevention/detection mechanisms; printer)
Line 5: Line 5:
 
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).
 
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. Alas, no actual work on it was undertaken in his lifetime.
+
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 plans were preserved, though, and as memorial tribute to Babbage on the 200th anniversary of his birth, the Science Museum in London built an actual Difference Engine, using those plans, during 1985-1991; it was finished just in time for the anniversary, and actually worked reasonably well.
+
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==
 
==Further reading==
Line 17: 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
 
* 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
 
* [https://ed-thelen.org/bab/bab-intro.html Babbage Difference Engine #2]
 
* [https://ed-thelen.org/bab/bab-intro.html Babbage Difference Engine #2]
** [https://ed-thelen.org/bab/bab_tech.html Charles Babbage's Difference Engine No. 2 Technical Description]
+
** Doron Swade, ''[https://ed-thelen.org/bab/bab_tech.html Charles Babbage's Difference Engine No. 2 Technical Description]'', Science Museum Papers in the History of Technology, Number 5, September 1996 - a description of the details of the Engine, prepared as it was being constructed
** [https://ed-thelen.org/bab/bab_inst.html Instruction Manual to Operate and Maintain Charles Babbage's 2nd Difference Engine] - actual manual for the Science Museum Engine
+
*** [https://ed-thelen.org/bab/bab_tech_build.html#bab-t-build Build] - "issues of construction, assembly, and setting up that arose during the engine build"
 +
*** [https://ed-thelen.org/bab/bab_tech.html#bab-t-append Appendix: Drawings]
 +
** Barrie Holloway and Reg Crick, ''[https://ed-thelen.org/bab/bab_inst.html Instruction Manual to Operate and Maintain Charles Babbage's 2nd Difference Engine]'', June 1991 - actual manual for the Science Museum Engine, prepared by the engineers who built it
 
* [https://www.computerhistory.org/babbage/engines/ The Engines]
 
* [https://www.computerhistory.org/babbage/engines/ The Engines]
 
** [https://www.computerhistory.org/babbage/howitworks/ Principle of the Difference Engines]
 
** [https://www.computerhistory.org/babbage/howitworks/ Principle of the Difference Engines]

Revision as of 20:32, 31 August 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