Lego Difference Engine
Lego Difference Engine
Saturday, 30 October 2010

A few Lego bricks might have been all Babbage needed to realise his dream of building the first working digital computer.

Banner

 

LEGO enthusiast Andrew Carol has built three versions of Charles Babbage's Difference Engine, the computational machine originally designed by Babbage in the mid C19th century but not built during his lifetime. A working model was built by the London Science Museum in 1991 and now there's another replica - in LEGO  Carol's models is not just a gimmick - it works!

Babbage's design could evaluate 7th order polynomials to 31 digits of accuracy. Carol set out to build a working Difference Engine using only standard LEGO parts which could compute 2nd or 3rd order polynomials to 3 or 4 digits.

 

difference

 

His first attempt fell short of the goal - it calculated 2nd order differences to 3 digits but issues with the performance of the 'carry' operation prevented easy expansion to more orders of difference or the addition of more digits. It also included a "modified" LEGO part in each adder unit. The second model overcame those limitations being capable of  3rd order differences and 4 digits accuracy and, other than the paper printed digit labels used to output the answer, using only standard LEGO pieces without modification.

 

The latest 3rd generation machine operates five times faster than the 2nd generation.This machine can evaluate polynomials of the form Ax^2 + Bx + C for x=0, 1, 2, ...n with 3 digit results.A new answer is produced every 20 turns of the crank: 10 turns of the crank adds the bottom two digit register into the middle two digit register. The next 10 turns of the crank adds the middle two digit register into the top three digit accumulator, yielding the next result.

See it in action here:

 

        

Andrew Carol's intention is that other enthusiasts will build similar models and he has plenty of information of how it works at

http://acarol.woz.org/

part of Steve Wozniak's web site 

Further reading

Charles Babbage

What if Babbage..

Pre-history of computing

Plans to build Babbage's Analytical Engine

 

Banner


Kotlin - New Language For Android
18/05/2017

This is not one you could have guessed and even with perfect hindsight it doesn't seem obvious. The latest Android Studio 3.0, now in the Canary channel, supports Kotlin, the JVM language that JetBrai [ ... ]



Google Assistant Prepares For Dominance
19/05/2017

So far Google seems to have been oddly lagging in the race to incorporate AI into interfaces. But news from Google I/O suggests that it could leapfrog the competition - and all because of its superior [ ... ]


More News


<ASIN:0670910201>

and is capable of being expanded to 3rd order differences and 4 digits accuracy. Other than the paper printed digit labels used to output the answer, standard LEGO pieces are used without modification
Last Updated ( Saturday, 30 October 2010 )
 
 

   
Banner
Banner
RSS feed of news items only
I Programmer News
Copyright © 2017 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.