Sunday, November 28

Analytical engine

The analytical engine, an important step in the history of computers, was the design of a mechanical general-purpose computer by English mathematician Charles Babbage. In its logical design the machine was essentially modern, anticipating the first completed general-purpose computers by about 100 years. It was first described in 1837. Babbage continued to refine the design until his death in 1871. Because of the complexity of the machine, the lack of project management science, the expense of its construction, and the difficulty of assessing its value by Parliament relative to other projects being lobbied for, the engine was never built.
A partial construction of one of Babbage's machines was done by his son Henry and also more recently the construction of one of his simpler designs was done by the British Science Museum. Indications are today that the machine could have been built successfully with the technology of the era if funding and political support had been stronger.

Design

Babbage's first attempt at a mechanical computing device was the difference engine, a special-purpose calculator designed to tabulate logarithms and trigonometric functions by evaluating finite differences to create approximating polynomials. During this project he realized that a much more general design was possible and started work designing the analytical engine.
The input (programs and data) was to be provided to the machine via punched cards, a method being used at the time to direct mechanical looms such as the Jacquard loom. For output, the machine would have a printer, a curve plotter and a bell. The machine would also be able to punch numbers onto cards to be read in later. It employed ordinary base-10 fixed-point arithmetic.
There was to be a store (that is, a memory) capable of holding 1,000 numbers of 50 decimal digits each (ca. 20.7 kB). An arithmetical unit (the "mill") would be able to perform all four arithmetic operations, plus comparisons and optionally square roots. Initially it was conceived as a difference engine curved back upon itself, in a generally circular layout, with the long store exiting off to one side. (Later drawings depict a regularized grid layout.) Like the central processing unit (CPU) in a modern computer, the mill would rely upon its own internal procedures, to be stored in the form of pegs inserted into rotating drums called "barrels", to carry out some of the more complex instructions the user's program might specify. (See microcode for the modern equivalent.)
The programming language to be employed by users was akin to modern day assembly languages. Loops and conditional branching were possible, and so the language as conceived would have been Turing-complete long before Alan Turing's concept. Three different types of punch cards were used: one for arithmetical operations, one for numerical constants, and one for load and store operations, transferring numbers from the store to the arithmetical unit or back. There were three separate readers for the three types of cards.
In 1842, the Italian mathematician Luigi Menabrea, whom Babbage had met while travelling in Italy, wrote a description of the engine in French. In 1843, the description was translated into English and extensively annotated by Ada Byron, Countess of Lovelace, who had become interested in the engine ten years earlier. In recognition of her additions to Menabrea's paper, which included a way to calculate Bernoulli numbers using the machine, she has been described as the first computer programmer. The modern computer programming language Ada is named in her honour.

Partial construction

Late in his life, Babbage sought ways to build a simplified version of the machine, and assembled a small part of it before his death in 1871. But in 1878, a committee of the British Association for the Advancement of Science recommended against constructing the analytical engine, which sank Babbage's efforts for government funding.
In 1910, Babbage's son Henry Prevost Babbage reported that a part of the mill and the printing apparatus had been constructed and had been used to calculate a (faulty) list of multiples of pi. This constituted only a small part of the whole engine; it was not programmable and had no storage. (Popular images of this section have sometimes been mislabelled, implying that it was the entire mill or even the entire engine.) Henry Babbage's "Analytical Engine Mill" is on display at the Science Museum in London


Henry Babbage's Analytical Engine Mill, built in 1910, in the Science Museum (London)
Henry also proposed building a demonstration version of the full engine, with a smaller storage capacity: "perhaps for a first machine ten[columns] would do, with fifteen wheels in each". Such a version could manipulate 20 numbers of 25 digits each, and what it could be told to do with those numbers could still be impressive. "It is only a question of cards and time," wrote Henry Babbage in 1888, "... and there is no reason why [twenty thousand] cards should not be used if necessary, in an Analytical Engine for the purposes of the mathematician."

Influence

Computer science
From 1872 Henry continued diligently with his father's work and then intermittently in retirement in 1875. . Percy Ludgate wrote about the engine in 1915 and even designed his own analytical engine (it was drawn up in detail but never built). Ludgate's engine would be much smaller than Babbage's of about 8 cubic feet (230 L) and hypothetically would be capable of multiplying two 20-decimal-digit numbers in about six seconds. Leonardo Torres y Quevedo and Vannevar Bush also knew of Babbage's work, though the three inventors likely did not know of each other. Howard Aiken considered Charles Babbage to be his intellectual "father" 
Closely related to Babbage's work on the analytical engine was the work of George Stibitz of Bell Laboratories in New Jersey just prior to World War II, as well as Howard Hathaway Aiken at Harvard University during and just after WWII. They both built electromechanical (i.e. relay-and-switch) computers, though neither was quite a modern programmable computer. Aiken's machine was largely financed by IBM and was called the Harvard Mark I. Aiken was inspired by a piece of the Analytical engine deposited at the university by Henry Babbage in 1886, and discovered by him in the 1930s. He gained access to Babbage's writings and later claimed, pointing to Babbage's books:
There's my education in computers, right there; this is the whole thing, everything I took out of a book.
In molecular nanotechnology, the earliest proposal for a way to implement extremely small and fast computers relied upon logic gates constructed from sliding rods and stubby protrusions to conditionally restrict their motion. Similar computational "rod-logic" was present in the sliding control levers and studded barrel devices which were used to access the microprogram in Babbage's design.
As soon as an Analytical Engine exists, it will necessarily guide the future course of the science.
—Passages from the Life of a Philosopher, Charles Babbage

Fiction
The cyberpunk novelists William Gibson and Bruce Sterling co-authored a steampunk novel of alternative history titled The Difference Engine in which Babbage's difference and analytical engines became available to Victorian society. The novel explores the consequences and implications of the early introduction of computational technology.
There is also mention of the Analytical Engine (or the Clockwork Ouroboros as it is also known there) in The Book of the War, a Faction Paradox anthology edited by Lawrence Miles. This machine was used to calculate a way into the "Eleven Day Empire". Its use resulted in the destruction of the original Houses of Parliament.
In the novel Perdido Street Station, by British author China MiƩville, analytical engines similar to Babbage's serve as "brains" for the robotic constructs of the city of New Crobuzon. One such engine even develops sentient thought due to a recursive algorithmic loop.
The British Empire of The Peshawar Lancers by S. M. Stirling features a massive water powered engine at Oxford, used by two of the main characters. It is noted that most of the engines run on steam, and that an even larger one is under construction at the British Capital in Delhi.
In the Michael Flynn novel In the Country of the Blind, a secret society calling itself the Babbage Society secretly financed the building of Babbage Engines in the mid-19th century. In the novel, the Society uses the Babbage engines along with a statistical science called Cliology to predict and manipulate future history. In the process, they predict the rise of the Nazis and accidentally start the US Civil War.
In the Neal Stephenson novel The Diamond Age, ubiquitous molecular nanotechology is described to make use of 'rod logic' similar to that imagined by Babbage's design for the analytical engine.
Moriarty by Modem, a short story by Jack Nimersheim, describes an alternate history where Babbage's analytical engine was indeed completed and had been deemed highly classified by the British government. The characters of Sherlock Holmes and Moriarty had in reality been a set of prototype programs written for the analytical engine. This short story follows Holmes as his program is rebooted on modern computers and he is forced to compete against his nemesis yet again in the modern counterparts of Babbage's analytical engine.
A similar setting is used by Sydney Padua in the webcomic The Thrilling Adventures of Lovelace and Babbage. It features a pocket universe where Ada Lovelace and Babbage have built the analytical engine and use it to fight crime by Queen Victoria's request. The comic is based on thorough research on the biographies and correspondence between Babbage and Lovelace, which is then twisted for humorous effect.
Georgia on My Mind is a novelette by Charles Sheffield which involves two major themes: being widowed and the quest for a legendary Babbage computer.
Hugh Cook's fantasy novels The Wishstone and the Wonderworkers and The Wazir and the Witch feature an Analytical Engine created by the scientist Ivan Pokrov. It is used to calculate income tax.

Comparison to other early computers

If the Analytical Engine had been built, it would have been in many ways more advanced than some of the first computers that emerged in the 1940s. It would have been digital, programmable and Turing complete. However, it would have been very slow. Ada Lovelace reported in her notes on the Analytical engine: "Mr. Babbage believes he can, by his engine, form the product of two numbers, each containing twenty figures, in three minutes". By comparison the Harvard Mark I could perform the same task in just six seconds. A modern PC can do the same thing in well under a millionth of a second. However, extrapolating the speed doubling rate of computers backwards (roughly every two years, according to one variant of Moore's Law) still puts the Analytical Engine far ahead of its time.
Defining characteristics of some early digital computers of the 1940s (In the history of computing hardware)
Name First operational Numeral system Computing mechanism Programming Turing complete
Zuse Z3 (Germany) May 1941 Binary floating point Electro-mechanical Program-controlled by punched film stock (but no conditional branch) Yes (1998)
Atanasoff–Berry Computer (US) 1942 Binary Electronic Not programmable—single purpose No
Colossus Mark 1 (UK) February 1944 Binary Electronic Program-controlled by patch cables and switches No
Harvard Mark I – IBM ASCC (US) May 1944 Decimal Electro-mechanical Program-controlled by 24-channel punched paper tape (but no conditional branch) No
Colossus Mark 2 (UK) June 1944 Binary Electronic Program-controlled by patch cables and switches No
Zuse Z4 (Germany) March 1945 Binary floating point Electro-mechanical Program-controlled by punched film stock Yes
ENIAC (US) July 1946 Decimal Electronic Program-controlled by patch cables and switches Yes
Manchester Small-Scale Experimental Machine (Baby) (UK) June 1948 Binary Electronic Stored-program in Williams cathode ray tube memory Yes
Modified ENIAC (US) September 1948 Decimal Electronic Program-controlled by patch cables and switches plus a primitive read-only stored programming mechanism using the Function Tables as program ROM Yes
EDSAC (UK) May 1949 Binary Electronic Stored-program in mercury delay line memory Yes
Manchester Mark 1 (UK) October 1949 Binary Electronic Stored-program in Williams cathode ray tube memory and magnetic drum memory Yes
CSIRAC (Australia) November 1949 Binary Electronic Stored-program in mercury delay line memory Yes

2010 Construction Plans

In October 2010, John Graham-Cumming started a campaign to raise funds by 'public subscription' to enable serious historical and academic study of Babbage's plans, with a view to then build and test a fully working virtual design which will then in turn enable construction of the physical Analytical Engine. 




(source:wikipedia)

No comments:

Post a Comment