Saturday, December 11, 2010

Toy-de-force: Inside the steampunk Lego lab




Andrew Carol's computers can calculate the solutions to mathematical equations and tell you the exact time and date of a lunar eclipse several hundred years into the future.
Yet these machines compute without a hint of silicon. They crunch numbers without hard drives, wires or batteries. All Carol needs to build his computers are plastic blocks, gears and a hand-operated crank, because his machines are made entirely out of Lego.


Carol's creations are Toys-R-Us meets steampunk, the science-fiction genre in which modern technology is anachronistically reimagined in pre-20th century materials like brass, wood and leather. One of his machines is a 1000-piece Lego reconstruction of the "difference engine", a Victorian mechanical calculator designed to crunch the answers to mathematical formulae automatically. His latest creation is a Lego-based Antikythera mechanismMovie Camera, an ancient Greek machine considered by some historians to be the world's first computer. With about 2000 parts and 100 gears, it can calculate the position of the sun and moon in the sky centuries ahead of time, something you might expect from a smartphone app but not from a bunch of plastic bricks.
To be sure, he operates outside the traditional Legoverse: you won't find many standard Lego bricks in Carol's home in California, and you certainly won't see any of the iconic, tiny yellow men known to fans as "minifigs". Instead, stacks of large, meticulously labelled containers hold thousands of gears, axles and chains from the Danish company's Technics range – a more sophisticated line for builders who have exhausted the possibilities of mere bricks. This kind of Lego turns, whirrs and clicks. It forms the guts of Carol's mechanical computers. "There's probably $8000 to $10,000 worth of parts in this room," he says. Like many of Lego hobbyists and artists who build from scratch, Carol scoffs at the notion of buying kits from toy stores, and trades parts on the unofficial website bricklink.com.

Making a difference

His fascination with Lego-based computation began with the difference engine, which was conceived by British mathematician Charles Babbage in the 1820s but never fully assembled in his lifetime. It was designed to calculate mathematical tables using gears and levers. Before digital calculators came along, such tables provided the results of functions such as logarithms, which could help sailors to navigate and astronomers to look up the dates and times of celestial events, for example. Babbage wanted to automate the calculations used to build the tables because human errors were rife. "Babbage was so close to creating a mechanical computer, and doing it 100 years before anybody built an electronic one," says Carol.
The first complete version of Babbage's design wasn't built until the 1990s, when a group at the London Science Museum constructed a full-size difference engine in metal. "It really moved me and set me thinking how I could build such a thing in miniature," recalls Carol.
Unfortunately, while he certainly knows his onions when it comes to computer programming – his day job is developing software for Apple – Carol acknowledges that he doesn't have much of a knack for welding metal. He was inspired to use Lego as his medium when he stumbled on the work of fellow Californian Tim Robinson, who had built a difference engine out ofMeccano, which lets you build your creations with metal girders, gears and bolts. "He does just astounding things," says Carol.

Method action

Carol's Lego difference engine converts some smart mathematics into the motion of gears. Underlying Babbage's original design is a mathematical approach called the "method of finite differences". This method breaks down relatively complex mathematics into brute-force repetitions of simple addition.
In simple terms, if the work has already been done to multiply 5 by 6, simply adding 5 to your previous total gives you the answer to 5 by 7. Carol's difference engine achieves these sequential additions by passing numerical information between modular clusters of gears. Each module performs a stage of the method of finite differences by rotating its gears a specific amount, and then passing the result to the next module, which uses that result as the basis of its next calculation, and so on. Each gear cluster is linked to a numerical read-out on the front of the machine (for which Carol stole the wheel hubs of Lego cars).
To get a result from the machine, first you manually program the rotors with an initial set of numbers. The calculation works upwards from the bottom of the machine, displaying interim results on rows of read-outs as it whirrs and turns toward a final answer. Eventually, the solution appears on a three-digit read-out on the top row.
Carol created three increasingly capable machines. After exhausting the variations on the difference engine, he turned to ancient Greece for his next contraption: the Antikythera mechanism, one of the most computationally advanced machines of the ancient world. But he soon realised that building such a thing would necessitate raising his Lego game. "I had to solve the same mathematical problems," he says. "But my mechanisms are very different."


source:agency

No comments:

Post a Comment

About Me

My photo
understanding, simple