Google
 

Friday, July 18, 2008

Make your first test batch of biodiesel

Biodiesel

"We turned our kitchen into a sort of illicit still and made a hell of a mess in there brewing biodiesel fuel out of about 60 litres of yukky waste cooking oil we got from behind McDonald's one night (they were happy to give it to us once we told them we didn't want to eat it). We were sure it would work, but we had to make it ourselves first -- we're not chemists, and if we can make it anyone can.

"And it works! Amazing! Last night we put the stuff in Midori's old diesel Land Rover and it ran like a dream and smelt like a bunch of roses! Well, French fried roses anyway. Now it runs clean, on waste Big Mac residues we brewed up in a bucket in the kitchen, and we're very tickled!"

Make your first test batch of biodiesel

Start here -- What you need, what to do, how to do it, everything you need to know -- step-by-step instructions for making high-quality biodiesel fuel, from novice to advanced level.

Biodiesel facts

used cooking oil
The raw material -- used cooking oil.
Biodiesel is much cleaner than fossil-fuel diesel ("dinodiesel"). It can be used in any diesel engine with no need for modifications -- in fact diesel engines run better and last longer with biodiesel. And it can easily be made from a common waste product -- used cooking oil.

  • Biodiesel burns up to 75% cleaner than conventional petroleum diesel fuel.
  • Biodiesel reduces unburned hydrocarbons (-93%), carbon monoxide (-50%) and particulate matter (-30%) in exhaust fumes, as well as cancer-causing PAH (-80%) and nitrited PAH compounds (-90%). (US Environmental Protection Agency)
  • Sulphur dioxide emissions are eliminated (biodiesel contains no sulphur).
  • Biodiesel is plant-based and using it adds no extra CO2 to the atmosphere.
  • The ozone-forming (smog) potential of biodiesel emissions is nearly 50% less than petro-diesel emissions.
  • Nitrogen oxide (NOx) emissions may increase or decrease but can be reduced to well below petro-diesel fuel levels.
  • Biodiesel exhaust is not offensive and doesn't cause eye irritation (it smells like French fries!).
  • Biodiesel is environmentally friendly: it is renewable, "more biodegradable than sugar and less toxic than table salt" (US National Biodiesel Board, based on US Environmental Protection Agency studies).
  • Biodiesel is a much better lubricant than petro-diesel and extends engine life -- even a small amount of biodiesel means cleaner emissions and better engine lubrication: 1% biodiesel added to petro-diesel will increase lubricity by 65%.
  • Biodiesel can be mixed with petro-diesel in any proportion, with no need for a mixing additive.
  • Biodiesel has a higher cetane number than petroleum diesel because of its oxygen content. The higher the cetane number, the more efficient the fuel -- the engine starts more easily, runs better and burns cleaner.
  • With slight variations depending on the vehicle, performance and fuel economy with biodiesel is the same as with petro-diesel.
  • Biodiesel can be used in any diesel engine without modification.

See the US National Biodiesel Board's summary of biodiesel emissions and potential health effects, according to "the most stringent emissions testing protocols ever required by the US EPA" (Acrobat file, 40 kb):
http://www.biodiesel.org/pdf_files/fuelfactsheets/emissions.pdf

Diesel emissions and cancer

A U.S. Department of Energy study at the University of California at Davis found that using pure biodiesel instead of petro-diesel reduced cancer risks from exhaust emissions by 93.6%.

The study,
Chemical and Bioassay Analyses of Diesel and Biodiesel Particulate Matter, 1996, used a 1995 Dodge 3/4 ton pickup truck with a 5.9-litre Cummins B Turbo diesel and tested 100% biodiesel (ethyl ester of rapeseed oil -- REE), 100% diesel 2-D low-sulfur fuel and blends of 20% REE and 50% REE with the 2-D diesel fuel. In test after test the study found the highest risk came from 100% diesel fuel, followed by the 20% REE blend, the 50% REE blend and, lowest risk, the pure biodiesel.

"Use of the 100% REE fuel produced the lowest genotoxic (DNA-damaging) activity in the tests. Blended fuels in the non-catalyst-equipped engine produced less emissions than emissions than the 100% diesel fuel... The use of the 100% REE fuel resulted in the lowest emissions compared to the REE blends and 100% diesel fuels.

"The highest relative specific mass mutagenic activity collected during either the hot or cold test cycles was the particulate matter collected from the 100% diesel fuel emissions... The lowest relative specific mass mutagenic activity was from the particulate matter collected from emissions of l00% REE fuel."

NOTE: There's nothing special about ethyl ester of rapeseed oil biodiesel, other types of biodiesel have similar characteristics.

Chemical and Bioassay Analyses of Diesel and Biodiesel Particulate Matter: Pilot Study -- Final Report by Norman Y. Kado, Robert A. Okamoto and Paul A. Kuzmicky, Department of Environmental Toxicology, University of California, Davis, California, November 1996. Acrobat file, 3.1Mb.
UC Davis biodiesel study -- summary: the Summary, Results and Discussion sections of the report, in html format.

Greenhouse gases and global warming

Human-caused global warming is one of the greatest and most urgent challenges facing humanity and life on earth today.

The main culprit is the enormous amount of the potent greenhouse gas carbon dioxide (CO2) released into the atmosphere by the burning of fossil fuels (petroleum, coal, natural gas).

Burning fossil fuels releases more than 6 billion tons of CO2 per year, twice as much as the biosphere can absorb. The excess CO2 is clogging the atmosphere, with the result that less solar heat is reflected away, more heat reaches the earth's surface, and global temperatures rise.

Using vegetable oils or animal fats as fuel for motor vehicles is in effect running them on solar energy.

All biofuels (including fuel ethanol) depend on the conversion of sunlight to energy (carbohydrates) that takes place in the green leaves of plants.

Plants use water and CO2 from the atmosphere as the raw materials for making carbohydrates. Burning plant (or animal) products in an engine releases the CO2 back into the atmosphere, to be taken up again by other plants. The CO2 is recycled.

Natural mechanisms work to hold the amount of CO2 in the atmosphere at a stable level, maintaining a balance between the CO2 removed from the atmosphere to be "fixed" into growing organic matter and the CO2 released back into the atmosphere when the organic matter burns or dies and decays. The net amount of CO2 in the atmosphere stays the same.

Activitities that don't disrupt this balance are described as carbon-neutral.

In fact, there's no actual reduction in the amount of CO2 produced when biodiesel is burned instead of petro-diesel -- the same amount of CO2 will come out of the exhaust pipe with either fuel.

But the CO2 released by burning biodiesel is part of the current natural cycle, it does not raise the level of CO2 in the atmosphere and does not act as a greenhouse gas. Biodiesel is carbon-neutral and does not increase global warming.

Petro-diesel is not carbon-neutral. Burning petro-diesel unleashes CO2 that has been trapped beneath the earth for millions of years, upsetting the natural balance and raising the level of CO2 in the atmosphere, causing global temperatures to rise. Fossil-fuel CO2 is an active greenhouse gas.

In practice however, not all biodiesel is carbon-neutral. It depends how it's produced. "Life-cycle" studies of the whole production process from sowing the seed to filling the fuel tank can show a different picture.

Industrialised agricultural production of oil crops like soy or rapeseed depends heavily on fossil-fuel inputs which must be included in the equation, and biodiesel made from these crops is not carbon-neutral. But petro-diesel is a lot worse.

Organic farms don't use fossil-fuel-based chemical fertilizers and their fossil-fuel inputs are much lower, shrinking to zero when they produce their own fuel and energy on-farm, as a growing number of organic farmers are doing.

Biodiesel made from used cooking oil (WVO -- waste vegetable oil) should also qualify. Most WVO ends up in the sewers and landfills where it does no good and doesn't offset any fossil-fuel use. Converting it to biodiesel is a much better option, a social service. Reduce, reuse, recycle.

The US produces an estimated 4.5 billion gallons a year of used cooking oil, and most of it goes to waste. By comparison, US commercial production of biodiesel in 2006 was only 250 million gallons, most of it made from new soy oil, very little from used oil.

Biodiesel homebrewers, small-scale local projects and local coops nearly always use WVO, seldom new oil.



World carbon dioxide levels highest for 650,000 years, says US report, by David Adam, environment correspondent, The Guardian, Tuesday May 13 2008
http://www.guardian.co.uk/environment/
2008/may/13/carbonemissions.climatechange


Carbon dioxide emissions accelerating rapidly, Earth Policy Institute, April 9, 2008
http://www.precaution.org/lib/08/prn_co2_emissions_
accelerating.080410.htm

Energy efficiency

According to a comparative life-cycle study by the US Department of Energy's National Renewable Energy Laboratory, biodiesel requires only 0.31 units of fossil energy to make 1 unit of fuel.
An Overview of Biodiesel and Petroleum Diesel Life Cycles
http://www.ott.doe.gov/biofuels/docs/lifecycle.html

"By contrast, it takes 1.2 units of fossil resources to produce 1 unit of petroleum diesel," the study says.

We wonder what the true energy efficiency figures for biodiesel would be if fossil fuels were eliminated from the equation and the entire production process powered by biofuels produced on the farm, from planting the seeds to filling the tank. If it's an an organic farm the fossil-fuel based chemical fertilizers are eliminated as well. And why waste energy trucking energy crops to a distant large-scale central processing unit and then waste even more energy trucking the finished fuel all the way back again, instead of processing it and using it right there where it was grown?

Grow your own

For a range of small-scale oilseed presses see Oilseed presses at our Biofuels supplies and suppliers page.

Rapeseed (Brassica napus), or canola, produces about 2,000 pounds of seed per acre, yielding about 100 gallons of vegetable oil for fuel, as well as 1,200 pounds of high-protein meal (seedcake) which can be used for livestock feed, or composted, or added to a biogas digester to produce methane for cooking and heating, or used to make ethanol.

Yields from soybeans are about 60 gallons per acre, from coconuts more than 200 gallons per acre, and from oil palms more than 500 gallons per acre. (See Vegetable oil yields.)

On the small scale, one bushel of rapeseed (canola) produces about 3 gallons of biodiesel.

The Sunflower Seed Huller and Oil Press -- by Jeff Cox (from Organic Gardening, April 1979, Rodale Press): Vegetable oils used to be one of those items you just HAD to buy. Now here's how to make your own. In 2,500 square feet, a family of four can grow each year enough sunflower seed to produce three gallons of homemade vegetable oil suitable for salads or cooking and 20 pounds of nutritious, dehulled seed -- with enough broken seeds left over to feed a winter's worth of birds. Online at the Journey to Forever Biofuels Library.

Briquette Presses for Alternate Fuel Use, by Jason Dahlman with Charlie Forst, 2001 -- Design for a simple briquette press that can also be used as an oil press for seeds. Acrobat file, 2.8Mb
http://www.echotech.org/technical/
technotes/Briquete.pdf


"The Manual Screw Press for Small-Scale Oil Extraction" by Kathryn H. Potts, Keith MacHell, 1993, Practical Action, ISBN 1853391980
Manual oil extraction from peanuts or other soft oilseeds can be a viable enterprise for small businesses. Describes small-scale processes of oil extraction for use in rural areas, as well as ways to market and distribute the oilcake. From the Development Bookshop:
http://developmentbookshop.com/product_info.php?
ref=13&products_id=172&affiliate_banner_id=1

"Small-scale Vegetable Oil Extraction", S W Head, A A Swetman, T W Hammonds, A Gordon, K H Southwell and R V Harris, Natural Resources Institute, 1994, ISBN 0 85954 387-0 -- Covers a basic understanding of the science and composition of oils and economic and marketing considerations, principles of oil extraction, basic oilseed processing methods, the major oil sources with specific small and intermediate technologies for each. Results from actual third world situations are used. For example, the discussion of obtaining oil from sesame seed covers a hot water flotation method used in Uganda and Sudan, the bridge press (laboratory only), the ram press in Tanzania, the ghani process in Sudan, and a small-scale expeller in the Gambia. Technical details for each are summarized in a few paragraphs, including oil yields. Includes many drawings that are helpful in understanding each process, with a 14-page appendix listing suppliers of small-scale equipment. From the Development Bookshop:
http://developmentbookshop.com/product_info.php?
ref=13&products_id=919&affiliate_banner_id=1


Understanding Pressure Extraction of Vegetable Oils, VITA Technical Paper #40, by VITA Volunteers James William Casten and Harry E. Snyder. Full text online at CD3WD 3rd World Development online library:
http://www.cd3wd.com/cd3wd_40/vita/vegoilex/en/vegoilex.htm

Understanding Solvent Extraction of Vegetable Oils, VITA Technical Paper # 41, by VITA Volunteer Nathan Kessler. Full text online at CD3WD 3rd World Development online library:
http://www.cd3wd.com/cd3wd_40/vita/vegoilse/en/vegoilse.htm

Small-Scale Oil Extraction from Groundnuts and Copra (ILO - WEP, 1983, 128 p.), full text online at CD3WD 3rd World Development online library:
http://www.cd3wd.com/cd3wd_40/
cd3wd/foodproc/h2384e/en/b989.htm


Small Scale Vegetable Oil Extraction (NRI, 1995, 105 p.) -- Coconuts, groundnuts, oil palm, palm kernels, rapeseed/mustard seed, sesame, shea nuts, soya, sunflower seed, minor oilseeds (reference list). Full text online at CD3WD 3rd World Development online library:
http://www.cd3wd.com/cd3wd_40/
cd3wd/foodproc/nr18se/en/b981.htm

"Small-scale Oilseed Processing" by Janet Bachmann, NCAT Agriculture Specialist, Appropriate Technology Transfer for Rural Areas (ATTRA) -- Basic processes involved in small-scale oilseed processing, includes a low-tech method for raw material preparation using sunflower seeds as an example; information on methods and equipment used for oil extraction; notes on clarification, packaging, and storage. Sources for additional information and a list of suitable raw material.
http://www.attra.org/attra-pub/oilseed.html

Official

Biodiesel is recognized by both the US Environmental Protection Agency and Department of Energy as an alternative fuel, and qualifies for mandated programs under the Clean Air Act Amendments and the Environmental Protection Act of 1992 (EPAct). In California, biodiesel has been approved for use in remediation of petroleum oil spills.

US Department of Energy approval: "Vehicle fleets currently required to purchase light duty alternative fueled vehicles under the Energy Policy Act of 1992 will be now allowed to purchase biodiesel fuel as an alternative, according to the U.S. Department of Energy. Then-Secretary of Energy Spencer Abraham has approved a final rule allowing biodiesel fuel to qualify as an alternative fuel for automobile fleets under the Energy Policy Act." -- U.S. Department of Energy, April 30, 2001. "The continued use of biomass products like biodiesel in our vehicle fleets, for power generation and for other products and materials will help the environment and help diversify our energy resources," said Abraham.

USDA Clears Air with Biodiesel: Buses and other diesel-burning vehicles run cleaner if they mix biodiesel with regular diesel fuel, said the US Department of Agriculture at a biodiesel fuel seminar at a USDA research center. "The program is part of a federal effort to reduce reliance on petroleum and create new markets for US crops," said Floyd P. Horn, administrator of the Agricultural Research Service, USDA's chief scientific agency. "Crop-based diesel burns cleaner, less sooty. One of our goals is to increase the federal government's purchases of bio-based fuel and other products by 10% per year over the next 5 years. We want to encourage the private sector and local governments to do the same." (January 13, 2000)
http://www.ars.usda.gov/is/pr/2000/000113.htm

Europe leads the way in biodiesel production and consumption. Germany has more than 1,900 filling stations selling biodiesel at the pump. France is the world's largest producer: all French diesel fuel contains between 2% and 5% biodiesel, and that will soon apply to the whole of Europe, and to other countries.

Meanwhile biodiesel production in the US is growing rapidly, from only half a million gallons in 2000 to 250 million gallons in 2006, with more than 80 new large-scale plants due to come online in 2008.

China, India and Brazil are rapidly becoming major producers and many other countries are following. One report forecast that by the year 2020 as much as 20% of all on-road diesel fuel used in Europe, Brazil, China and India could be biodiesel.

Unofficial

At the local level, Journey to Forever has been at the forefront of the development of cheap, effective and safe small-scale production methods that produce high-quality fuel and that anyone can use.

Worldwide, many thousands of small, independent, local operations are now producing and using millions and millions of gallons of biodiesel a year, with millions of dollars in petro-diesel sales lost to ExxonMobil & Co.

Most of it goes right under the official radar. Nobody has any clear idea of quite who these people are or how much fuel they produce, mainly because the individual quantities are so small it's considered insignificant. But the grassroots biodiesel movement is growing fast and spreading like a weed, it's suitably out of control.

And it's not destroying rainforests and forcing up food prices so poor people can't afford to eat. It's industrialised "agrofuels" production that does that -- true biofuels production is small-scale, local and sustainable.

source:http://journeytoforever.org/

Wednesday, July 16, 2008

How to Convert a Car to Run on Vegetable Oil

How to Convert a Car to Run on Vegetable Oil

By Lilia Scott

Diesel engines can run on three basic types of fuel: petroleum diesel, biodiesel, and straight vegetable oil (SVO). Diesel fuel produces carbon dioxide, pollution, particulates and sulfur emissions and increases reliance on foreign oil because it comes from petroleum. Any diesel engine can run on biodiesel. Biodiesel is a clean-burning fuel made from domestic, renewable plant sources, such as oils from vegetables, peanuts, soy beans, canola/rape seeds, hemp seeds and some grains. It has undergone the process of transesterification, a simple chemical modification of ordinary vegetable oil that makes the fuel usable in diesel engines and keeps it from thickening at colder temperatures.


Instructions

Step1
Start with a modern diesel engine. Nearly any newer diesel engine can be converted to run on vegetable oil as long as it doesn’t have rubber seals in its fuel system (only older diesels use rubber seals). The rubber seals will deteriorate when exposed to vegetable oil over time because vegetable oil acts as a solvent.

Step2
Install a vegetable oil fuel conversion kit or have a mechanic do it. You should keep the original gas tank to hold regular diesel or biodiesel fuel for cold weather. Install a second tank for vegetable oil; these sometimes go in the trunk. The conversion kit should include hoses from the car's radiator to the vegetable oil tank to heat the oil via a heat exchanger before it enters the final fuel filter and injectors inside the engine compartment.

Step3
Get vegetable oil. New vegetable oil is easiest to acquire but very expensive. Restaurants will often give you their waste oil for free. Chinese and Japanese restaurants are best because their oils comes out cleanest. The oil should be amber in color. Oil from other types of restaurants may also be suitable but could require more filtering to remove food particles. You will need a few containers for transferring the oil from the source to your filtering destination. The five gallon jugs that the restaurants receive the fresh oil in work fine. Restaurants are usually happy to give you these containers since it saves them disposal fees.

Step4
Filter the oil. Use filter bags that are rated to 0.5 microns thick. To increase the life of your filter bags, first allow the oil to sit in a barrel for about a week to let particulate matter settle to the bottom. Then, pump or scoop the oil into a filter bag suspended above a fresh empty barrel from the top of the barrel (since most of the food particles matter and possible water is at the bottom). Start your engine using regular diesel or biodiesel fuel from the normal gas tank. Once the engine and vegetable oil are warm (after about 15 minutes depending on weather), switch to allow the vegetable oil to flow into the fuel source.

Step5
Switch back to diesel or biodiesel a few minutes before you stop your engine for any time (about 10 minutes depending on the temperature) to make sure the vegetable oil is purged from the fuel line and injectors so that they don't become clogged when the engine cools.

Tips & Warnings

  • In warm weather, the car can be started and run completely on vegetable oil.
  • Make sure to keep your regular diesel tank just in case you may run out of vegetable oil or want to travel to a cooler climate.
  • Purge the fuel line and fuel pump/injector with biodiesel or regular diesel every time you stop your engine just in case the weather turns cold unexpectedly.
  • It’s possible to change the rubber seals on older diesel vehicles so that they too can be converted to run on vegetable oil.
  • Consider using a fuel injector/piston cleaner every six months to remove any accumulated carbon deposits. To do this, just pour the 12-ounce bottle into the tank before you drive.
  • Biodiesel is the only alternative fuel that has been tested completely for health effects based on the requirements of the 1990 Clean Air Act Amendments.
  • Biodiesel is sometimes combined with standard diesel and sold under the label “biodiese.l” However, its benefits are relevant to the portion of pure biodiesel used.
  • Straight vegetable oil (SVO) is any vegetable oil that can power diesel engines but has not undergone the transesterification process. The major constraint of using SVO is that it thickens at colder temperatures (below 25 degrees Fahrenheit), but it can be warmed up before reaching the engine's fuel injectors.
  • It’s expensive to buy and use fresh cooking oil, but restaurants are often willing to donate their used cooking oil, which is commonly called Waste Vegetable Oil (WVO). Vegetable oil engine conversion kits include a heating system and usually a second gas tank to get around the cold weather issues. Like Biodiesel, SVO produces very low emissions. However, raw vegetable oil does not meet biodiesel fuel specifications and is not registered with the EPA, nor is it a legal motor fuel.
  • Converting your car to run on vegetable oil can void any warranty you have on your car. Contact your dealer or manufacturer to find out.


Source: Ehow.com



Tuesday, July 8, 2008

A Modern Sequel


Nagging Questions

In 1985 the Science Museum in London set out to construct a working Difference Engine No. 2 built faithfully to Babbage's original designs dating from 1847-9. The project was led by the then Curator of Computing, Doron Swade. The purpose of the project was both to memorialize Babbage's work in time for 200th anniversary, in 1991, of Babbage's birth, and at the same time to resolve two nagging questions: could Babbage have built his engine, and had he done so, would it have worked?

Authenticity

Babbage left twenty large design drawings which depict the Engine's mechanisms. Detailed as they are, they are insufficiently detailed to serve as manufacturing drawings. Tolerances, methods of manufacture, choice of materials and finish are not specified. New drawings were made specifying each of the 8,000 parts with sufficient detail for manufacture. Modern manufacturing methods were used but uncompromising care was taken to ensure that the precision achievable by Babbage was nowhere exceeded. Composition analysis on materials used by Babbage was carried out to ensure the best materials match.

Final Vindication

The project took seventeen years to complete. The calculating section was finished in 1991 in time for the bicentenary of Babbage's birth, and the printing and stereotyping apparatus was completed in 2002. The project had a drama worthy of Babbage - funding crises, manufacturing challenges, impossible deadlines, and technical puzzles.

The completed machine works as Babbage intended. Its 8,000 parts are equally split between the calculating section and the output apparatus. It weighs five tons and measures seven feet high, eleven feet long and is eighteen inches deep at its narrowest. As a static object it is a sight to behold - a sumptuous piece of engineering sculpture. In operation it is an arresting spectacle.

The project confirms Babbage's standing as a designer of formidable ingenuity. It also demonstrates that achievable precision was not a limiting consideration in Babbage's failures. It appears that the 19th century outcome had as much to do with politics, economics, and personalities, as with technology. We can say with some confidence that had Babbage built his engine, it would have worked.

The complete working Babbage engine is on public display at the Science Museum in London. A duplicate engine and printer, a 'second original', was recently completed for a private benefactor of the project, Nathan Myhrvold, formerly chief technology officer and Group VP at Microsoft. Myhrvold has generously agreed to delay delivery of the Engine to him and lend it to the Computer History Museum, Mountain View, California, where it will be displayed and demonstrated until May 2009.



Source:http://www.computerhistory.org/

How it Works

Principle of the Difference Engines

Difference engines are so called because of the mathematical principle on which they are based, namely, the method of finite differences. In general, calculating the value of a polynomial can require any or all of addition, subtraction, multiplication and division.

An advantage of the method of finite differences is that it eliminates the need for multiplication and division, and allows the values of a polynomial to be calculated using simple addition only. Adding two numbers using gearwheels is easier to implement than multiplication or division and so the method simplifies an otherwise complex mechanism.

If the first few values of a polynomial are known, the rest may be calculated using simple repeated addition. The method is illustrated in the diagram above for the function F(x) = x2 + 4. The values of x are shown in the first column incrementing by 1 each time (x = 1, 2, 3, 4 . . .). The values of the function x2 + 4 are shown in the second column with the first four values calculated by mental arithmetic or by hand (5, 8, 13, 20).

The next step is to calculate the first and second differences. The first differences are shown in the third column and are calculated by subtracting successive values from the previous column as shown by the solid arrows flowing from left to right (8-5=3, 13-8=5 etc.). The second differences are calculated by subtracting first difference pairs and these are shown in the last column.

With these initial values calculated the rest of the values of the function can calculated by reversing the process. The values we wish to calculate are shown below the upper dotted line. For this polynomial, the second difference is a constant (2). To calculate the value of the function for x=5 the constant difference (2) is added to the first difference (7) to obtain the next first difference (9) (red arrow), which can then be added to the last function value (blue arrow) to yield F(5) = 29. This is the desired result, achieved without performing multiplication.

The process can then be repeated to yield the next first difference (11) which may be added to the last function value to get F(6) = 40, etc. Using this method, any second-degree polynomial can be computed this way and, more generally any nth degree polynomial can be computed, using only addition, starting with the nth difference.

Babbage's Difference Engine No. 2 has 'registers' to hold one number from each of the columns in the table (for example 20, 7, 2). It would add the second difference to the first, then add that result to the function value to compute the next entry in the table. There were enough 'registers' for seven differences, allowing it to compute 31-digit values for polynomials with terms up to x7.

The Engines

The Engines

Charles Babbage (1791-1871), computer pioneer, designed two classes of engine, Difference Engines, and Analytical Engines. Difference engines are so called because of the mathematical principle on which they are based, namely, the method of finite differences. The beauty of the method is that it uses only arithmetical addition and removes the need for multiplication and division which are more difficult to implement mechanically.

Difference engines are strictly calculators. They crunch numbers the only way they know how - by repeated addition according to the method of finite differences. They cannot be used for general arithmetical calculation. The Analytical Engine is much more than a calculator and marks the progression from the mechanized arithmetic of calculation to fully-fledged general-purpose computation. There were at least three designs at different stages of the evolution of his ideas. So it is strictly correct to refer to the Analytical Engines in the plural.

Binary, Decimal and Error Detection

Babbage's calculating engines are decimal digital machines. They are decimal in that they use the familiar ten numbers '0' to '9' and they are digital in the sense that only whole numbers are recognized as valid. Number values are represented by gear wheels and each digit of a number has its own wheel. If a wheel comes to rest in a position intermediate between whole number values, the value is regarded as indeterminate and the engine is designed to jam to indicate that the integrity of the calculation has been compromised. Jamming is a form of error-detection.

Babbage considered using number systems other than decimal including binary as well as number bases 3, 4, 5, 12, 16 and 100. He settled for decimal out of engineering efficiency - to reduce the number of moving parts - as well as for their everyday familiarity.

Difference Engine No. 1

Babbage began in 1821 with Difference Engine No. 1, designed to calculate and tabulate polynomial functions. The design describes a machine to calculate a series of values and print results automatically in a table. Integral to the concept of the design is a printing apparatus mechanically coupled to the calculating section and integral to it. Difference Engine No. 1 is the first complete design for an automatic calculating engine.

From time to time Babbage changed the capacity of the Engine. The 1830 design shows a machine calculating with sixteen digits and six orders of difference. The Engine called for some 25,000 parts shared equally between the calculating section and the printer. Had it been built it would have weighed an estimated fifteen tons and stood about eight feet high. Work was halted on the construction of the Engine in 1832 following a dispute with the engineer, Joseph Clement. Government funding was finally axed in 1842.

The Analytical Engine

With the construction project stalled, and freed from the nuts and bolts of detailed construction, Babbage conceived, in 1834, a more ambitious machine, later called Analytical Engine, a general-purpose programmable computing engine.

The Analytical Engine has many essential features found in the modern digital computer. It was programmable using punched cards, an idea borrowed from the Jacquard loom used for weaving complex patterns in textiles. The Engine had a 'Store' where numbers and intermediate results could be held, and a separate 'Mill' where the arithmetic processing was performed. It had an internal repertoire of the four arithmetical functions and could perform direct multiplication and division. It was also capable of functions for which we have modern names: conditional branching, looping (iteration), microprogramming, parallel processing, iteration, latching, polling, and pulse-shaping, amongst others, though Babbage nowhere used these terms. It had a variety of outputs including hardcopy printout, punched cards, graph plotting and the automatic production of stereotypes - trays of soft material into which results were impressed that could be used as molds for making printing plates.

The logical structure of the Analytical Engine was essentially the same as that which has dominated computer design in the electronic era - the separation of the memory (the 'Store') from the central processor (the 'Mill'), serial operation using a 'fetch-execute cycle', and facilities for inputting and outputting data and instructions. Calling Babbage 'the first computer pioneer' is not a casual tribute.

A New Difference Engine

With the groundbreaking work on the Analytical Engine largely complete by 1840, Babbage began to consider a new difference engine. Between 1847 and 1849 he completed the design of Difference Engine No. 2, an improved version of the original. This Engine calculates with numbers thirty-one digits long and can tabulate any polynomial up to the seventh order. The design was elegantly simple and required three times fewer parts than No. 1 for similar computing power.

Difference Engine No. 2 and the Analytical Engine share the same design for the printer - an output device with remarkable features. It not only produces hardcopy inked printout on paper as a checking copy, but also automatically stereotypes results, that is, impresses the results on soft material, Plaster of Paris for example, which could be used as a mold from which a printing plate could be made. The apparatus typesets results automatically and allows programmable formatting i.e. allows the operator to preset the layout of results on the page. User-alterable features include variable line height, variable numbers of columns, variable column margins, automatic line wrapping or column wrapping, and leaving blank lines every several lines for ease of reading.

Physical Legacy

Aside from a few partially complete mechanical assemblies and test models of small working sections, none of Babbage's designs was physically realized in its entirety in his lifetime. The major assembly he did complete was one-seventh of Difference Engine No. 1, a demonstration piece consisting of about 2,000 parts assembled in 1832. This works impeccably to this day and is the first successful automatic calculating device to embody mathematical rule in mechanism. A small experimental piece of the Analytical Engine was under construction at the time of Babbage's death in 1871. Many of the small experimental assemblies survived, as does a comprehensive archive of his drawings and notebooks.

The designs for Babbage's vast mechanical computing engines rank as one of the startling intellectual achievements of the 19th century. It is only in recent decades that his work has been studied in detail and that the extent of what he accomplished becomes increasingly evident.

A Brief History


The Age of Machinery

The middle decades of the 19th century were times of unprecedented engineering ambition. Engineering, transport, communications, architecture, science and manufacture were in a state of feverish change. Inventors and engineers exploited new materials and processes and there seemed no end to invention and innovation. Steam engines slowly replaced animals as a source of motive power. Iron ships began to compete with sail, railway networks rapidly expanded, and the electric telegraph began to revolutionize communications. Science, engineering, and flourishing new technologies held limitless promise.

Engineers, architects, mathematicians, astronomers, bankers, actuaries, journeymen, insurance brokers, statisticians, navigators - anyone with a need for calculation - relied on printed numerical tables for anything more than trivial calculations. Printed tables were calculated, copied, checked and typeset by hand. Humans are notoriously fallible and some feared that undetected errors were disasters in waiting.

Infallible Machines

In the 1821 vignette of Babbage and his friend, the astronomer, John Herschel, checking manually calculated tables, Babbage, finding error after error, was driven to exclaim 'I wish to God these calculations had been executed by steam'. The grindingly tedious labor of manually checking tables was one thing. Worse was their unreliability. Babbage embarked on an ambitious venture to design and build mechanical calculating engines - vast machines of unprecedented size and intricacy - to eliminate the risk of human error. The infallibility of machinery would eliminate the risk of error from calculation and transcription (copying the results). Automatic typesetting would banish the risk of error when manually setting results in loose type. Stereotyping - a process that automatically impressed results on soft material for the manufacture of printing plates - would eliminate errors in repeated printing. Special security devices would ensure the integrity of the results. The outcome would be flawless. This was the intention, but one that he failed to realize.

Difference Engine No. 1 - A Fateful Start

His first machine, Difference Engine No. 1, was designed to automatically calculate and tabulate mathematical functions called polynomials which have powerful general applications in mathematics and engineering. Babbage worked closely with Joseph Clement, a master toolmaker and draftsman who was tasked with making the parts. Difference Engine No. 1 called for 25,000 parts and would have weighed an estimated fifteen tons.

Construction was abruptly halted in 1833 when Clement downed tools and fired his workmen following a dispute with Babbage over compensation for moving Clement's workshop closer to Babbage's house. The Engine was never built. Some 12,000 unused precision parts were later melted down for scrap. For the British Government that had bankrolled the venture, the project was a costly failure. When the final bills were paid the Treasury had spent £17,500 - the cost of twenty-two brand new steam locomotives from Robert Stephenson's factory in 1831 - a formidable sum.

The Finished Portion of the Unfinished Engine

A small demonstration assembly was built and delivered to Babbage by Clement in 1832. This 'beautiful fragment', one seventh of the calculating section, was all Babbage had to show after a decade of investment. Babbage used the piece to develop his ideas on computation and also for dramatic demonstrations to savants, guests, dignitaries, scientists, and friends. The device proved the soundness of the design and supported the feasibility of a full machine. It was the first successful automatic calculator and one of the finest examples of precision engineering of the time. It remains amongst the most celebrated icons in the prehistory of automatic computation.

The Analytical Engine

In 1834, with the Difference Engine project stalled, Babbage conceived of a new more ambitious machine, later called the Analytical Engine - a general-purpose programmable computing machine. The Analytical Engine was a quantum leap in logical conception and physical size, and its design ranks as one of the startling intellectual achievements of the century.

The Analytical Engine features many essential principles found in the modern digital computer and its conception marks the transition from mechanized arithmetic to fully-fledged general purpose computation. Had the Engine been built, it would have dwarfed even the vast Difference Engine and cranking it by hand would have been beyond the strongest operator. 'Calculating by steam' would have been more than a figure of speech. It is on the Analytical Engine that Babbage's standing as 'the first computer pioneer' largely rests.

Ada Lovelace

In 1833 Babbage met Ada Lovelace, daughter of the notorious British poet Lord Byron, at a party. Lovelace, just seventeen, had some mathematical training which was unusual for a woman at that time. She was entranced by the small working section of the machine and in time became an enthusiastic supporter of Babbage's work.

In 1843 Lovelace published an article by the Italian engineer Luigi Menabrea that she translated from French. In it she appended extensive notes of her own that ran to three times the length of the host article. The Notes included a description of the steps the engine would take in solving certain mathematical problems - procedures we would now call programs - the first published descriptions of the kind.

Lovelace speculated that the machine might go beyond numbers and more generally manipulate symbols in accordance with rules. She saw that numbers could represent entities other than quantity - letters of the alphabet, notes of music - and that by manipulating numbers, computing machines could extend their powers beyond the world of mathematics. In the light of developments in the 20th century, this notion is prophetic and one that Babbage appears not to have envisioned with any clarity.

The Second Difference Engine

As Babbage refined the mechanisms of the Analytical Engine he saw how he could simplify the design of the Difference Engine. Between 1847 and 1849 he designed a new engine, Difference Engine No. 2. The new design benefited from many of the techniques developed for the more demanding Analytical Engine.

The new design was elegant and efficient requiring three times fewer parts than Difference Engine No. 1 for similar computing power. With 8,000 parts, the Engine would weigh five tons and measure eleven feet long and seven feet high. Babbage made no attempt to construct the machine. It is this design that was finally built and completed in 2002, and is the first of Babbage's engine designs to be realized in its entirety.

Two Inspired Swedes

Others attempted to build difference engines in Babbage's time, all with dismal outcomes. Inspired by an account of Babbage's first engine, published in 1834, a Swedish father-and-son team, Georg and Edvard Scheutz, built a working prototype, completed in 1843. Two fully engineered versions in metal followed, the first in 1853 in Stockholm, the second in 1859 in London for the General Register Office.

Neither was much of a success. The hoped-for economies of automatic tabulation by machinery did not materialize. Worse still, the machine, made in London, lacked Babbage's security devices, tended to derangement, and required constant care. Both father and son died bankrupt. Building difference engines contributed to their ruin. The three engines now reside in museums, handsome testaments to dashed hopes and financial disaster.

Why Babbage Failed

Babbage failed to build a complete machine despite independent wealth, social position, government funding, a decade of design and development, and the best of British engineering. The reasons are still debated and the cocktail of considerations is a rich one. Babbage was a prickly character, highly principled, easily offended and given to virulent public criticism of those he took to be his enemies. Runaway costs, high precision, a disastrous dispute with his engineer, fitful financing, political instability, accusations of personal vendettas, delays, failing credibility and the cultural divide between pure and applied science, were all factors.

Babbage was also a rotten publicist. He disdained to lecture on his work and neither proclaimed nor promoted the mathematical potential of his engines. As a result the engines were judged largely on their practical utility to produce error-free tables, and experts of the day did not agree that there was any real need for new tables. Some argued that existing tables were already sufficiently accurate and that there was no economic justification for the large capital costs of building his huge machines. Others questioned whether the twenty, thirty and fifty figures of accuracy insisted upon by Babbage were justified when measurements could be made to no more than a few decimal places.

False Dawn

The 19th century movement to automate computation failed and the movement largely died with Babbage in 1871. There is no continuous line of development from Babbage to present times, and many of the principles embodied in his work were reinvented by the pioneers of the electronics era, largely in ignorance of his work. Though the legend of his work was never lost it was only in the 1970s that his designs were studied in any detail and the scale of his accomplishments emerged more clearly.

Overview

An Appeal to Steam

London, Summer 1821. Charles Babbage (1791-1871), inventor and mathematician, is poring over a set of astronomical tables calculated by hand. Finding error after error he finally exclaims 'I wish to God these calculations had been executed by steam'. His appeal to machinery, in one of the most resonant utterances of the 19th century, was the start of a new era of automatic computation.

The Tables 'Crisis'

It was not only the grindingly tedious labor of verifying a sea of figures that exasperated Babbage, but their daunting unreliability. Engineering, astronomy, construction, finance, banking and insurance depended on printed tables for calculation. Ships navigating by the stars relied on printed tables to find their position at sea. The stakes were high. Capital and life were thought to be at risk.

Infallible Machines

Babbage embarked on an ambitious venture to design and build mechanical calculating engines to eliminate the risk of human error in the production of printed tables. The 'unerring certainty of machinery' would solve the problem of human fallibility. His work on the engines led him from mechanized arithmetic to the entirely new realm of automatic computation. Tabular errors provided a practical stimulus. But this was not his only motive. He also saw his engines as a new technology of mathematics.

Final Vindication

Babbage himself failed to build a complete calculating engine and his designs remained an historical curiosity for over 150 years. Finally, in 2002, the first full-size Babbage Engine (Difference Engine No. 2), built faithfully to the original designs, was completed at the Science Museum in London, the culmination of a seventeen year project. The Engine consists of 8,000 parts, weighs 5 tons and measures eleven feet long and seven feet high. It works as Babbage intended, and brings to a close an anguished chapter in the prehistory of computing.

A duplicate engine is on display and demonstrated at the Computer History Museum in Mountain View, California. It is a sumptuous piece of engineering sculpture and an arresting sight in operation.