Skip to main content

Featured Post

Servo vs. Stepper Motors: The Engineer's Guide

Figure 1: Visual comparison . Steppers (Left) are dense and simple. Servos (Right) are longer and include a visible feedback encoder housing on the rear. The Million Dollar Question: "Which Motor Do I Need?" If you are designing a CNC machine, a packaging robot, or a conveyor system, you face the same dilemma every time: Stepper or Servo? Make the wrong choice, and you face two disasters: The Stepper Trap: Your machine "loses steps" (positional error) without knowing it, scrapping parts. The Servo Trap: You spend $5,000 on a system that could have been done for $500, blowing your budget. This guide bridges the gap between mechanical requirements and electrical reality. 1. The Stepper Motor: The "Digital Ratchet" Think of a Stepper Motor like a very strong, magnetic ratchet. It divides a full rotation into equal steps (typically 200 steps per revolution, or 1.8°). Pros: Incredible Holding Torque: Ste...
Disclosure: As an Amazon Associate, I earn from qualifying purchases.

Dynamic Simulation using UG NX4 Motion Simulation Module

Which software are you using in your mechanical design project?

I have been using Solid Edge 3D CAD software for 1-2 years for my mechanical design projects in the past. But now, according to the standardization in my design organization, I have to switch to use Unigraphics software instead, or we call it in short as "UG NX4" (the latest versions are simply called NX).

To be honest, at first, I still liked Solid Edge because I think I can make modeling and assembly in Solid Edge faster and easier than in UG. But one of the good things for UG is the Motion Simulation module that helps me simulate the movement of mechanical assemblies before releasing for manufacturing. I know that Solid Edge also has this kind of simulation module, but I didn't have a chance to use it (no license). So in this post, I would like to share how easy it is to set up motion simulation in UG NX4.

Let's start with a very simple modeling.

NX Assembly Model

I would like to see how the cylinder moves when it is pushed by the rotating lever. So I start by making UG modeling as shown above. Those parts can be "features" in a single UG file or the assembly of several UG files.

Once the assembly is ready, I can then start "Motion Simulation".

Start Motion Simulation

At Motion Navigator, right-click and select "New Simulation".

New Simulation

UG NX4 will show the pop-up Motion Joint Wizard window for automatic setting of joints for simulation. For this example, I just click the cancel button in order to set the links and joints manually.

Next, what I have to do is to set necessary links and joints for motion simulation. I have to start with the creation of links. Parts or features that cannot be moved and have no contact with other parts can be excluded from the link setting. In the example, the fixed column can be excluded from link setting. I can leave it as it is, just for showing purposes only.

First, I would set the lever as a link in motion simulation by clicking at the "link" icon and selecting the lever and renaming it as "lever".

Define Lever Link

Do the same thing for the cylinder and the block.
Why do I need to set the block as a link?

I have to set the block as a link even though it is not moving because I would like to set the 3D contact between the cylinder and the block, otherwise, the cylinder will fall down during simulation! I have to also select "fix the link" for the block in order to prevent falling down when the simulation starts.

Define Block Link

At Motion Navigator, I can see the links and joints I've created. We can see that though I don't set the joint for each link yet, there is a "J001" joint at the Motion Navigator pane because UG NX4 creates a "fixed joint" automatically when we select "fix the link" during the creation of the link.

Motion Navigator Links

Next, I create a revolute joint and set the motion driver for the lever. This step is very important. The point and direction of the joint must be correct i.e. Z-axis should be the axis of rotation.

Create Revolute Joint

Then I create the 3D Contact between the cylinder and the block and also between the lever and the cylinder.

Create 3D Contact

Then we're ready to start simulation. But we have to make sure that the solver environment is "Dynamics" not "Kinematics" because I would like to see the effect of 3D contact. (Click at the calculator icon).

Solver Settings

Next, start motion simulation by clicking at "Animation" and set time = 1 and step = 100 and see the result.

Animation Setup

Watch the following video for the result.

Recommended articles related to Unigraphics NX Motion Simulation

Comments

Popular posts from this blog

Hoekens Linkage: Kinematics, Optimization, and Walking Robot Applications

🚀 New Design Guide Available Don't just read about it—build it. Check out our new tutorial: How to Design a Hoeken’s Linkage in Excel (with Free VBA Simulator) Introduction to the Hoekens Linkage The Hoekens linkage is a specialized four-bar mechanism designed to convert rotational motion into an approximate straight-line motion. While it serves a similar purpose to other straight-line generators, its unique coupler curve—a "tear-drop" shape—makes it exceptionally useful for intermittent motion and walking machines. One of the most fascinating aspects of kinematic theory is the concept of "Cognates." The Hoekens linkage is actually a cognate linkage of the Chebyshev Straight-line Mechanism . This means that while the physical structure and link lengths differ, they can generate the exact same coupler curve geometry. Search for "Design of Machinery" Books Kinematics and Optimization Unlike ...

The Engineer’s Guide to Precision Alignment: Dowel Pins, Diamond Pins & Fits

The Unsung Heroes of Precision: Dowel Pins & Locators           In the world of Precision Engineering , the difference between a high-quality product and a scrap part often comes down to microns. While bolts hold parts together, they are terrible at positioning them. This is where Dowel Pins and Locating Pins become essential components in industrial tooling . What is a Dowel Pin?   Dowel pins are precision-ground fasteners used to secure the relative position of two parts. They are typically machined to extremely tight tolerances (often within 0.0001 inches) and are available in materials like: Hardened Steel: For high-wear applications in CNC fixtures . Stainless Steel: For corrosion resistance in medical or food processing machinery.  Plastic (Thermoplastic): For lightweight, non-conductive, low-load alignment. The "Play" Problem: Bolts vs. Dowels   When mechanical design engineers create components, they cannot rely...

Watt Straight-Line Mechanism: Analysis, Geometry, and Automotive Applications

Watt Straight-Line Mechanism: Analysis, Geometry, and Automotive Applications Figure 1: Kinematic diagram showing the path generated by the central point of a Watt's linkage. Introduction to Watt's Linkage The Watt's linkage (also known as the parallel motion linkage) is a cornerstone in the history of mechanical engineering. It is a type of four-bar linkage originally invented by James Watt in the late 18th century to solve a critical problem in steam engine design: constraining the piston rod to move in a straight line without using high-friction guideways. Before this invention, engines used chains to connect the piston to the beam, which meant they could only pull, not push. Watt's rigid linkage allowed for double-acting engines (pushing and pulling), doubling the power output. He was immensely proud of this kinematic solution, describing it in a 1784 letter to his partner Matthew Boulton: I have got a glimpse of a method of causing...