Remoticon Video: The Mechanics Of Finite Element Analysis

Hardware hacking can be extremely multidisciplinary. If you only know bits and bytes, but not solder and electrons, you’re limited in what you can build. The same is true for mechanical design, where the forces of stress and strain suddenly apply to your project and the pile of code and PCBs comes crashing to the ground.

In the first half of his workshop, Naman Pushp walks you through some of the important first concepts in mechanical engineering — how to think about the forces in the world that act on physical objects. And he brings along a great range of home-built Jugaad props that include a gravity-defying tensegrity string sculpture and some fancy origami that help hammer the topics home.

In the second half of the workshop, Naman takes these concepts into computer simulation, and gives us good insight into the way that finite-element analysis simulation packages model these same forces on tiny chunks of your project’s geometry to see if it’ll hold up under real world load. The software he uses isn’t free by any definition — it’s not even cheap unless you have a student license — but it’s nonetheless illuminating to watch him work through the flow of roughly designing an object, putting simulated stresses and strains on it, and interpreting the results. If you’ve never used FEA tools before, or are looking for a compressed introduction to first-semester mechanical engineering, this talk might be right up your alley. Continue reading “Remoticon Video: The Mechanics Of Finite Element Analysis”

Mechanical Engineering Hack Chat

Join us on Wednesday, September 30 at noon Pacific for the Mechanical Engineering Hack Chat with Adam Zeloof!

Almost every non-trivial project involves some level of cross-discipline work. If you build a robot, for instance, you need to worry not just about the electronics but also the mechanical design. You need to make sure that the parts you use will be strong enough to deal with the forces that it’ll face, you have to know how much power it’ll take to move your bot, and you have to deal with a thousand details, from heat flow to frictional losses to keeping things moving with bearing and seals.

Unfortunately for many of us, the mechanical engineering aspects of a project are foreign territory. We lack the skills to properly design mechanical systems, and so resort to seat-of-the-pants decisions on materials and fasteners, or over-engineering in the extreme — the bigger the bolt, the better. Right?

Some of us, though, like Adam Zeloof, actually know a thing or two about proper mechanical engineering. Strength of materials, finite element analysis, thermodynamics — all that stuff that most of us just wing are Adam’s stock in trade. Adam brings a trained mechanical engineer’s skillset to his multi-discipline projects, like the Rotomill or his reverse-engineered ride-share scooter. And many of you will have been lucky enough to see Adam’s excellent 2019 Superconference talk on thermal design for PCBs.

Adam joins us on the Hack Chat to talk about anything and everything to do with mechanical engineering. Join us with your burning — sometimes literally — questions on how to make your designs survive the real world, where things break and air resistance can’t be ignored.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, September 30 at 12:00 PM Pacific time. If time zones baffle you as much as us, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

Continue reading “Mechanical Engineering Hack Chat”

How Precise Is That Part? Know Your GD&T

How does a design go from the computer screen to something you hold in your hand? Not being able to fully answer this question is a huge risk in manufacturing because . One of the important tools engineers use to ensure success is Geometric Dimensioning and Tolerancing (GD&T).

A good technical drawing is essential for communicating your mechanical part designs to a manufacturer. Drafting, as a professional discipline, is all about creating technical drawings that are as unambiguous as possible, and that means defining features explicitly. The most basic implementation of that concept is dimensioning, where you state the distance or angle between features. A proper technical drawing will also include tolerances for those dimensions, and I recently explained how to avoid the pitfall of stacking those tolerances.

Dimensions and tolerances alone, however, don’t tell the complete story. On their own, they don’t specify how closely the geometric form of the manufactured part needs to adhere to your perfect, nominal representation. That’s what we’re going to dig into today with GD&T.

Continue reading “How Precise Is That Part? Know Your GD&T”

Ask Hackaday: Is There A Common Mechanical Parts Library?

Like many stories, this one started on the roof. This particular roof is located in Michigan and keeps the rain and snow off of the i3Detroit hackerspace. Being an old industrial building, things up on the roof can start getting creaky, and when an almighty screech started coming from one of the rooftop vents as it swiveled in the wind, Nate, one of the group’s coordinators, knew it was time to do something about it.

Previous attempts to silence the banshee with the usual libations had failed, so Nate climbed up to effect a proper repair with real bearings. He dug into the unit, measured for the bearing, and came down to order the correct items. That’s when it struck him: How many should I order? After all, bearings are useful devices, not just to repair a wonky vent but especially handy in a hackerspace, where they can be put to all sorts of uses. Would extra bearings be put to good use, or would they just sit on a shelf gathering dust?

That’s when Nate dropped us a line and asked a question that raises some interesting possibilities, and one which we couldn’t answer offhand: Is there a readily accessible online library of common mechanical parts?

Continue reading “Ask Hackaday: Is There A Common Mechanical Parts Library?”

How To Reverse Engineer Mechanical Designs For 3D Modeling

If you’re interested in 3D printing or CNC milling — or really any kind of fabrication — then duplicating or interfacing with an existing part is probably on your to-do list. The ability to print replacement parts when something breaks is often one of the top selling points of 3D printing. Want some proof? Just take a look at what people made for our Repairs You Can Print contest.

Of course, to do that you need to be able to make an accurate 3D model of the replacement part. That’s fairly straightforward if the part has simple geometry made up of a primitive solid or two. But, what about the more complicated parts you’re likely to come across?

In this article, I’m going to teach you how to reverse engineer and model those parts. Years ago, I worked for a medical device company where the business model was to duplicate out-of-patent medical products. That meant that my entire job was reverse engineering complex precision-made devices as accurately as possible. The goal was to reproduce products that were indistinguishable from the original, and because they were used for things like trauma reconstruction, it was critical that I got it right.

Continue reading “How To Reverse Engineer Mechanical Designs For 3D Modeling”

Amazing Mechanical Linkages And The Software To Design Them

Most of us are more bits-and-bytes than nuts-and-bolts, but we have the deepest appreciation for the combination of the two. So, apparently, does [rectorsquid]. Check out the design and flow of his rolling ball sculpture (YouTube, embedded below) to see what we mean. See how the arms hesitate just a bit as the ball is transferred? See how the upper arm gently places it on the ramp with a slight downward gesture? See how it’s done with one motor? There’s no way [rectorsquid] designed this on paper, right?

Of course he didn’t (YouTube). Instead, he wrote a simulator that lets him try out various custom linkages in real time. It’s a Windows-only application (sigh), but it’s free to use, while the video guides (more YouTube) look very comprehensive and give you a quick tour of the tool. Of special note is that [rectorsquid]’s software allows for sliding linkages, which he makes very good use of in the rolling ball sculpture shown here.

We’ve actually secretly featured [rectorsquid]’s Linkage software before, in this writeup of some amazing cosplay animatronic wings that used the program for their design. But we really don’t want you to miss out if you’re doing mechanical design and need something like this, or just want to play around.

If you’d like to study up on your nuts and bolts, check out our primer on the ubiquitous four-bar linkage, or pore through Hackaday looking for other great linkage-powered examples, like this automatic hacksaw or a pantograph PCB probe for shaky hands.

Anyone know of an open-source linkage simulator that can also output STL files for 3D printing? Or in any format that could be easily transformed into OpenSCAD? Asking for a “friend”.

Continue reading “Amazing Mechanical Linkages And The Software To Design Them”

Marvelous Mechanisms: The Ubiquitous Four Bar Linkage

The four bar linkage is a type of mechanical linkage that is used in many different devices. A few examples are: locking pliers, bicycles, oil well pumps, loaders, internal combustion engines, compressors, and pantographs. In biology we can also find examples of this linkage, as in the human knee joint, where the mechanism allows rotation and keeps the two legs bones attached to each other. It is also present in some fish jaws that evolved to take advantage of the force multiplication that the four bar mechanism can provide.

How It Works

Deployable mirror with scissor linkages. By [Catsquisher] via Wikimedia Commons
The study of linkages started with Archimedes who applied geometry to the study of the lever, but a full mathematical description had to wait until the late 1800’s, however, due to the complexity of the resulting equations, the study and design of complex linkages was greatly simplified with the advent of the digital computer.

Mechanical linkages in general are a group of bodies connected to each other to manage forces and movement. The bodies, or links, that form the linkage, are connected to each other at points called joints. Perhaps the simplest example is the lever, that consists of a rigid bar that is allowed to pivot about a fulcrum, used to obtain a mechanical advantage: you can raise an object using less force than the weight of the object.

Two levers can be connected to each other to form the four bar linkage. In the figure, the levers are represented by the links a (A-D) and b (B-C).  The points A and B are the fulcrum points.  A third link f (C-D) connects the levers, and the fourth link is the ground or frame g (A-B) where the mechanism is mounted. In the animation below, the input link a (the crank) performs a rotational motion driving the rocker rod b and resulting in a reciprocating motion of the link b (the rocker).

This slider-crank arrangement is the heart of the internal combustion engine, where the expansion of gases against a sliding piston in the cylinder drives the rotation of the crank. In a compressor the opposite happens, the rotation of the crank pushes the piston to compress the gas in the cylinder. Depending on how the mechanism is arranged, it can perform the following tasks:

  • convert rotational motion to reciprocating motion, as we just discussed above.
  • convert reciprocating motion to rotational motion, as in the bicycle.
  • constrain motion, e.g. knee joint and car suspension.
  • magnify force, as in the parrotfish jaw.
Locking pliers mechanism. Image from [Engineering made easy]

Some Applications

One interesting application of the four bar linkage is found in locking pliers. The B-C and C-D links are set at an angle close to 180 degrees. When force is applied to the handle, the angle between the links is less than 180 (measured from inside the linkage), and the resulting force in the jaws tries to keep the handle open. When the pliers snap into the locked position that angle becomes less than 180, and the force in the jaws keeps the handle in the locked position.

In a bicycle, the reciprocating motion of the rider´s legs is converted to rotational motion via a four bar mechanism that is formed by the two leg segments, the bicycle frame, and the crank.

An example from nature, the Moray eel. Image from [Matthew West]
As with many other inventions of humankind, we often find that nature has already come up with the same idea via evolution. The parrotfish lives on coral reefs, from which it feeds, and has to grind the coral to get to the polyps inside. For that job, they need a very powerful bite. The parrotfish obtains a mechanical advantage to the muscle force by using a four bar linkage in their jaws! Other species also use the same mechanism, one is the Moray eel, shown in the image, which has the very particular ability to launch its jaws up in the mouth to capture its prey, much like the alien from the film series.

The joints connecting the links in the linkage can be of two types. A hinged joint is called a revolute, and a sliding joint is called a prismatic. Depending on the number of revolute and prismatic joints, the four bar linkage can be of three types:

  • Planar quadrilateral linkage formed by four links and four revolute points. This is shown in the animation above.
  • Slider-crank linkage, formed by three revolute joints and a prismatic joint.
  • Double slider formed by two revolute joints and two prismatic joints. The Scotch yoke and the trammel of Archimedes are examples.

There are a great number of variations for the four bar linkage, and as you can guess, the design process to obtain the forces and movements that we need is not an easy task. An excellent resource for the interested reader is KMODDL (Kinematic Models for Design Digital Library) from Cornell University. Other interesting sites are the 507 mechanical movements, where you can find nice animations, and [thang010146]’s YouTube channel.

We hope to have piqued your curiosity in mechanical things. In these times of ultra fast developments in electronics, looking at the working of mechanisms that were developed centuries ago, but are still present and needed in our everyday lives can be a rewarding experience. We plan to work on more articles featuring interesting mechanisms so please let us know your favorites in the comments below.