Sunday, August 11, 2013

NXT Auto-Engraver Prototype

Lego-NXT-Engraver-Main
Typically, the main raison d'ĂȘtre of my LEGO projects is fun, but this one was actually ignited by a specific task that occured, initially unrelated to LEGO: the aim was to engrave a given digital bitmap on a flat surface of a few plastic objects. Sounds like a job for NXT & Technic duet, doesn't it?

Lego-NXT-Engraver-Open Some time ago I've attempted to build an entire NXT CNC for plastic with an electric drill and everything, and it turned out just a tad over-ambitious. This time the basic concept would remain the same ― that is, a vertical rotating drill bit which moves in 3D above the engraved surface. However, this time the mechanical requirements were significantly lower, and the machine doable using fairly regular techniques and parts. The intention was actually to build a prototype as a proof of concept (which explains its ugliness, kludges and devilish colour-clashing), and make a final, finely designed and engineered engraver afterwards, if it turns out to be used regularly.

The drill bit is a standard diamond-coated one used for engraving, and as such the only part which is not LEGO. It is driven by a PF XL and M motors running through and adder to reach sufficient rotation speed without sacrificing the torque, and this structure can be moved vertically with four gear racks and 12T gears, rotated by the first NXT motor. This whole mechanism is suspended on a frame which slides on four rails built using tiles and Technic bricks, and is moved by a pair of large linear actuators running in parallel. The actuators were an obvious choice thanks to their high precision, whereas the vertical movement of the drill is not as critical, since it pushes into the surface to be engraved with the entire weight of the structure anyway.

The Y dimension is regulated by moving the object itself, again on a rail built with tiles and Technic bricks, and moved by a linear actuator ― but this time one was sufficient. The entire extents of the actuators can be used, resulting in an engraving area of slightly over 5x5 studs (40x40 mm), which is more than enough for the objects in question. They are held in place using cradles built from Technic bricks, and secured in place with stop pins. A couple of them simultaneously easily keep the object in place while the drill does its job.

Lego-NXT-Engraver-Structure To speed up and simplify the tedious task of rotating the actuators by hand while moving the drill to a desired starting point, I've added two PF L motors, each of which can be engaged to the actuators' driveshafts when needed using the standard gearbox driving rings, operated manually. In addition, the entire drilling structure can be lifted sideways to allow access to the cradle and the object, and also to change the drill bit if necessary.

The NXT script is very simple ― it reads the movement instructions from an onboard text file. This file is beforehand generated by a short Python program I've made for the purpose, which opens a desired image file, simply rounds it to white and black pixels, and then generates and uploads the file on the Smart brick. It uses a simple scanning algorithm (left-to-right in each line, and each line top-to-bottom) to provide as consistent and precise movements as possible, reduce gear whiplash effects, axle tensions, etc.

All in all, the machine works pretty well. While obviously not engraved on professional equipment, the result was fairly satisfactory and its resolution was even better than I had skeptically expected. For a moderately complex logo about 20x8 mm in size it took about ten minutes, and with some movement optimizations I haven't taken the trouble for in this prototype phase, I'm sure this could be reduced down to about six or seven. Of course, some kind of external power supply is mandatory for mass engraving (which is underway at the time of writing).

A FEW MORE PHOTOS

Lego-NXT-Engraver-Drill Lego-NXT-Engraver-Sample Lego-NXT-Engraver-Superpos

SHORT VIDEO

Tuesday, May 21, 2013

Having fun at the nearby lake

Lego_Catamaran_Boat_Legoism5

I'm well aware that working, remotely controlled Technic boats based on compact LEGO hulls have already been confirmed as a working concept, but I just couldn't help giving it a little try myself, in the catamaran layout. Nothing extremely developed or fancy ― the intention was to just have some fun testing it at the nearby lake.

It turns out that this design works rather well, and the boat was both swift when running under full throttle, and maneuvrable. Instead of having a drive & rudder motor configuration, it actually uses two parallel propellers, each connected to its independently controlled Power Functions L motor*. Turning is, just like a tank, done by turning the propellers at different speeds, or in the extreme case, turning them in the opposite directions (i.e. a differential drive). They are controlled by an IR V2 receiver and powered by a standard battery pack.

The boat was pretty stable and did not rock too dangerously even when maneuvering rapidly. Design allows the battery pack to be mounted at several points longitudinally (along a Technic liftarm), so that the overall balance of the boat could be finely adjusted in the center. It turns out I was lucky, and the initial configuration from the workbench was already working well.

What wasn't working so well were the propellers which had the tendency to collect every bit of weed floating around the lake and get stuck, and the IR controls which struggled with the intense sunlight, reducing the control range to just barely a meter or two. Of course, in theory an NXT smart brick could be used instead, which offers the extended range of Bluetooth communication, but I simply didn't want to risk ruining it in the water if anything went wrong. Fortunately, it didn't anyway, and the boat actually easily handled some extra weight of a GoPro camera.

In any case, it is not too difficult to build (just make sure it's sturdy and simple), and the hulls can be found on BrickLink for reasonable prices, so give it a try if you feel like a LEGO Captain!

GALLERY

Lego_Catamaran_Boat_Legoism1 Lego_Catamaran_Boat_Legoism2 Lego_Catamaran_Boat_Legoism3 Lego_Catamaran_Boat_Legoism4 Lego_Catamaran_Boat_Legoism6

VIDEO

* Thanks to Sariel for the transmission idea

Monday, December 17, 2012

Chain-based CVT

Lego-Technic-Chain-CVT-Title In the LEGO realm, CVT (Continuously Variable Transmission) mechanisms are by far outnumbered by standard gearboxes, but some specific systems simply require a CVT. Its most notable real-world usage is in cars ― its popularity has been steadily rising through the past decade, and will likely continue as it allows better fuel economy and, when required, better distribution of power.

Lego-Technic-Chain-CVT-Otherside Many LEGO implementations of CVT are based on friction, often following concepts such as a variator. However, constrained by LEGO parts' mechanical limits, they are prone to slippage and thus reduce the available torque at the output. This CVT tries to work around the problem by using a chain.

In theory, the concept is really simple: a sprocket with a continuously variable radius can obviously serve as a basis for a CVT. Here, this sprocket is built from four L-shaped beams, each allowed to freely rotate one end around its off-center holes on the underlying 40T gears, and having fixed 16T gears on its other ends. By spreading these four arms outwards or collecting them at the center the entire system works as a sprocket with a variable radius.

Each of the arms' outer ends is connected to a cone pointing sideways. By pushing any suitably-sized round object (in this case, a 2695c01 Model Team wheel) towards and between the cones, they will spread, and thus effectively increase the radius. In this case, the wheel is pushed by two control rods ― there is a slight inconvenience as they need to be controlled from the same area where the motor rotating the entire system is located, but that is easy enough to solve using a frame that slides around the motor. Whether it is a linear actuator, a rack & pinion, pneumatics or something else that actually moves these control rods does not matter much, as long as it can provide sufficient force against the wheel, and in turn, the cones. In this case it is just a simple arm connected off-center to a motor through a worm gear for higher precision.

Lego-Technic-Chain-CVT-Readside At the other end, rotation is transmitted to the secondary (receiver) sprocket ― a 24T gear. Since the primary sprocket changes its effective radius and the total chain length remains constant, the secondary sprocket needs to be movable and keep the chain under slight tension to reduce any slack. A simple arm tensioned by a soft spring, as pictured, works well for this purpose and is not much unlike the mechanism employed by many gearbox-equipped bicycles at the rear wheel. It also helps to contract the arms of the primary sprocket when the control rods and the wheels are retracting. Finally, a Schmidt coupling picks up the rotation from a moving axle of the secondary sprocket to a static axle, via three T-shaped beams. (An alternative is to use a separate third sprocket whose only task is keeping the chain tensioned.)

In this configuration, the total input-output ratios are variable within range 1:1.25-1.71. Larger and more finely granulated extents (as the span of employed chain links increases) could be reached by using longer sprocket arms, for the price of significantly larger dimensions.

Torque transmission is acceptable, working pretty reliably in both directions and through a wide range of speeds. It works also in reverse (if the secondary sprocket drives the variable primary), albeit in that case the chain occasionaly doesn't "catch" each fixed gear on the arms.

For more power, a version using dual chains, and even two symmetric cones, wheels and control rods, would work ― the latter, thanks to a more favourable distribution of force and less skewing, perhaps even more reliably.

Since the primary sprocket shape is effectively a square with rounded corners instead of a circle, transmission of angle is not nicely linear. This offset is not as high to cause problems e.g. in car powertrains, but may play a role in some systems that demand high precision.

GALLERY

Lego-Technic-Chain-CVT-Rear Lego-Technic-Chain-CVT-SideLego-Technic-Chain-CVT-TopLego-Technic-Chain-CVT-VRSLego-Technic-Chain-CVT-WorkingLego-Technic-Chain-CVT-SprocketConcept

VIDEO

Saturday, August 18, 2012

Technic 9398 4x4 Crawler Review: A Double Milestone

Lego-9398-Review-Intro-Normal

The Lego Group has always been reluctant to launch a Technic vehicle with an electric drive ― while various functions powered by electric motors aboard are quite common, the drive was entrusted to the builders' hands rather than motors. This approach is not without a legitimate reason: large powered Technic vehicles (as many MOC's attest) are usually complex to build, tend to be fragile, and often can't produce breathtaking performance. Being the construction perfectionists which they are, TLG obviously wanted to address these problems as much as possible before crossing this line. But now, with 9398 they have crossed it, introducing some important new parts along the way, thus easily qualifying the set as a "Double Milestone", as mentioned in the title.

Upon the ceremonial opening of the box, a familiar sight greets: a couple of bags numbered for easy assembly in two steps ― the chassis and the bodywork, with the latter requiring much less diligence and attention than the former.

BUILDING AND CONSTRUCTION

Lego-9398-Review-Side For a 4x4 crawler with dual live axle suspension, quad portal axles and all wheel steering (actually being a 4x4x4!), building isn't too difficult. Partly to thank for are the large, easily understood instructions with only a few parts added per step in average. There are three instruction booklets, with an additional diptych clarifying the correct orientation and positioning of mechanical parts in several building steps. Also, there are many auxiliary structures, such as beams and frames that hold the model together while under construction and are removed afterwards, and pins whose only purpose is to prevent you from inserting a part wrongly oriented (e.g. a differential).

The front and the rear axles are largely symmetric, each holding its own power motor, while the ball links keep them connected to the main chassis where the servo PF motor is located, which controls the steering through reinforced U-joints. The chassis is actually completely independent of the bodywork and can run without it ― the bodywork is attached only at the last steps. This serves its own purpose: it is intended to be released with two pins accessible behind the openable doors, and lifted to allow easy access to the battery pack. (It could have been placed in the bodywork too, but that would probably keep the Crawler's center of mass far too high for an offroad vehicle.)

Building a 9398, one can notice some tricks, well-known among experienced MOCers, employed to ensure more strength than needed for the conventional models ― e.g. using two 1/2 bushes instead of a single fullsize bush for more friction. The overall result is staggering: this is certainly one of the structurally strongest models in Lego history, surviving rolling falls and quite severe offroading accidents without more than, say, losing a rear-view mirror. And don't think it's light: with batteries, it weighs a bit over a kilogram and a half*.

Lego-9398-Review-Susp Overall, it is a satisfying model to build. Only once I've had a feeling I was fiddling with excessive detail, when assembling the front grille which consists of dozens of small parts.

One may feel, and some have published, too, that the remotely controlled 4-wheel drive and steering, dual live-axle suspension and openable doors are a bit short list of functions for a Technic flagship. But I tend to disagree: toying with additional functions might make it more fragile, reduce its offroading performance, and detract from the idea of a good, focused vehicle which does one thing and does it well.

The bodywork was also designed with strength in mind, but still it looks good too, especially since it uses some less typical colours. There are no functions here ― seats and tailgate are fixed, and steering wheel, gear lever and extra lights purely decorational.

All that strength implies something else: this set is a real pain to disassemble, especially because it uses over a hundred friction axle pins, most of which are stuck into other connectors, and you will need a crater-load of patience to pluck them all out.

PARTS

Important new parts, largely responsible for the amount of attention this set has received long before it hit the shelves, are the PF L and Servo motors. As you may already know, the PF L fills the gap between a M and XL motor: noticeably more powerful than the former, but smaller and more easy to mechanically integrate than the latter. This set contains two of those and I'm sure we are going to see these motors a lot in MOC's, too.

Lego-9398-Review-Persp-Open Servo, which should put an end to various recentering mechanisms, simply has its axle mimic the movements of the controller (be it small, included in this set, or the large, with 7 levels in both directions), instead of rotating at the speed proportional to it. Of course, this is a perfect part for steering in any vehicle, but will find its usage for many other applications. If you're interested in technical specifications of these new motors, take a look at Philo's website ― he has painstakingly measured them and published the results.

A new IR receiver has been released too, labeled "V2" at the front. It can handle more power, required to run two PF L motors adequately on a single channel, but otherwise it behaves just like the old one. In addition, we've got a new axle with a stop and a perpendicular connector, but they aren't as spectacular introductions as the PF components.

As one would expect, this is an excellent source of general Technic building material ― various beams, panels, pins, connectors, axles and similar parts are all supplied generously. Also, there is a significant amount of valuable, rare parts: beside the still ĂŒber-rare new PF components, 4 large 94.8x44R tyres, 4 new triangular liftarms, 2 large ball joints, 4 portal axle housings and 2 super-hard 9.5L springs are certainly welcome to any builder's collection.

There is some amount of relatively rare white parts which may also be useful. Also there are some orange parts, but far too little for building something spectacularly orange. Majority is still, however, in the familiar red-grey-black scheme.

PERFORMANCE

Lego-9398-Review-Pose All that devotion to mechanical strength, suspension and drivetrain pays off: the Crawler is unstoppable by mere mortal obstructions. Although the instructions carefully tell not to drive it outdoors (to keep the parts from being milled by sand and stuck by dust), if you choose to live on the edge and disobey, you will find it drives over rough outdoor terrain very well ― climbs the boardwalks and hills, bridges the gaps and consistently resists tipping over.

This performance largely owes to the portal axles and a very agile suspension (e.g. easily over 10 cm displacement for a single wheel from the plane of other three), and the PF L motors that provide serious power and torque. It is not uncommon for the Crawler, being stopped dead by a wall, to actually spin the rims inside the static, blocked tyres. The large passive torque of the motors produces one more cool effect: when they are turned off during a ride, the car just stops dead in place.

Since the axles are pointing slightly downward when the car is level, steering makes it lean into the curves, similar to the motorcycles. Extents of steering are not too wide, but thanks to the four wheel steering, the turning circle remained small enough for easy maneuvering. Without the rear wheel steering, it would resemble dragging a stubborn dog around.

You will have plenty of fun inventing all kinds of trials and obstacle tracks for the 9398, but make sure to have an assistant with wheelbarrow loaded with spare batteries follow you around. Faithfully following the image of the offroaders, its fuel consumption is not extremely economical.

Lego-9398-Review-RearMODIFICATIONS

With lots of torque available onboard, it shouldn't be a problem for 9398 to carry extra weight, probably added or rebuilt at the rear, behind the cabin. Also, it should be able to pull some load or a trailer, at least not on very steep ascents.

Furthermore, since the bodywork serves no mechanical function and can be simply detached from the chassis that does all the work, it can just as easily receive any other type of custom bodywork, as long as it can attach more or less to it. In fact, a B-model truck follows this approach.

The chassis itself is less prone to modifications ― it is built very tightly and mechanical parts are reinforced like a nuclear shelter. So any attempt would probably mean rebuilding lots of components from scratch.

GENERAL PROS & CONS

+ Good, strong construction, interesting to build
+ Fun to drive (good offroad performance!)
+ Valuable new PF parts and overall building material
+ Very easy to change or rebuild a custom bodywork

- Disassembly horror
- Some components are quite fiddly to build

▪ VERDICT ▪

A Technic flagship which does well what Technic flagship need to do: provide interesting new concepts and useful parts, lots of fun building and using ― and customizing if that's your cup of tea. Cheap it certainly isn't, but the bang-for-buck ratio is still quite good. I'd be crazy not to recommend it.

*1570 g, to be precise.

GALLERY

Lego-9398-Review-G-Front Lego-9398-Review-G-Back Lego-9398-Review-G-Side Lego-9398-Review-G-Bottom Lego-9398-Review-Box-Closed Lego-9398-Review-Box-Open Lego-9398-Review-Controller Lego-9398-Review-Intro-Clean Lego-9398-Review-Powermodule Lego-9398-Review-Sideopen

Thursday, June 14, 2012

LDR world map with altitudes

WhiteLegoEarth One small thingy while collecting ideas and time for the next project: I've created a Lego world map Ldraw/MLCad (.LDR) file with altitudes, for a friend who's preparing a small geography fair and considers building one. For the case you might find some usage for it too, it's also available for download here.
It's a quite large map, 250x125 studs (2x1 meters, approx. 80"x40"), and the model consists of about 130 000 smallest plates stacked where necessary ― it's up to the builder to choose the most convenient reinforcements and substitutions with larger plates, bricks or columns. The altitudes are, of course, drastically out of scale, and there are two colours: white for the land and blue for the seas, as you can see on the rendered picture. It includes the Antarctica and some tiny ocean islands represented by just a single brick, but there should be no problem deleting them in MLCAD or any similar LDR editing application if necessary.
Legoism-Download

Sunday, June 3, 2012

Medieval Watermill

Lego-Watermill-ActualIntro2

I've been toying with the idea of harvesting hydro power with Lego for some time. While a prototype of a crude yet functional water turbine could be done quite easily with Technic parts, building a small, medieval minifig-scale watermill was too attractive idea to ignore, even if it meant a little detraction from my usual Technic & Classic Space habitat.

Lego-Watermill-Innermech As evident from the photos, its design is really simple, yet it took a couple of unsuccessful tries and total rebuilds to make it work smoothly and reliably. A flume, to which a water source is connected at the top end, leads the water over the millhouse and drops it on the water wheel blades, from where it falls into a riverbed, and finally, flows out from the MOC. In the house, the axle is geared down to one third where it rotates the millstone, of course using standard Technic parts. Everything else on this 32x32 diorama is purely decorational.

The first version was designed with an undershot water wheel, but unfortunately the water stream was just too weak to start even the freely-rotating water wheel. I suppose it could be done with a strong stream and the blades that match the riverbed very tightly, but I rather opted for the overshot form, which works much better: it provides sufficient torque, is started easily, and keeps a nice proportion between the water flow and its rotation speed. Actually, it requires very modest flow, as it works reliably even below one liter per minute.

Lego-Watermill-Parchment Still, the amount of torque provided this way is really minimal: if you will want to build one, forget about doing any "serious" work such as lifting weight unless you are ready to accept it will be drastically geared down and thus intolerably slow, or even worse, attaching it to a motor axle (using it as a generator) to provide some tiny amount of electric power. A seriously large MOC with complex bucketed wheel(s) that could handle flows of at some 20L/min or more could perhaps do that, but building this I didn't want to venture into megalomania.

Watertightness is ensured by a bit of cheating: both the flume and the riverbed have double walls and floors that snugly fit one into other, with a flexible plastic kitchen foil spread between them. It remains watertight even when deformed by the studs connected through it, and if cut precisely at the outer edges with a razor blade, it can be completely hidden from view. The flume is at a slight angle to help the water flow towards the wheel, and of course, the riverbed has a dent at the far end to let the water drain exactly there, instead of flooding the entire diorama.

This MOC has confirmed the basic idea of using hydro power, and the next step might be an advanced Technic water turbine that could handle considerable flow and provide more efficiency and power.

GALLERY

Lego-Watermill-Intro Lego-Watermill-Otherside Lego-Watermill-Topview Lego-Watermill-Waterwheel Lego-Watermill-Wheeldrive Lego-Watermill-Wtrsnapshot

VIDEO