Step 18.2: Velocity: Add a Cam to the Epitrochoid Curve

<< Click to Display Table of Contents >>

Navigation:  Getting Started Tutorials - MechDesigner > Tutorial 18: Math FB >

Step 18.2: Velocity: Add a Cam to the Epitrochoid Curve

Add a Cam to the Epitrochoid Curve

You will see the difference between a 2D-Cam when you Velocity equations you enter are correct, and not correct.

A 2D-Cam is a good example. To calculate the XY-Coordinates of a 2D-Cam, MechDesigner must know the velocity of the Follower relative to the Cam.

In this Tutorial Step, we symbolically differentiate the X and Y position equations - see Step 18.1 - to enter the velocity equations into the Math FB


MechDesigner calculates the position, velocity, and acceleration (motion-values) of all Points that are kinematically-derived. Hence, if we had used an epicyclic Gear-Pair, to generate the Epitrochoid Path, we would not need to calculate those motion-values.

We are using a Math FB to generate the motion-values as an example of how we can use a Math FB.


The Parametric-Equations for the X and Y-axis Velocity Components

Symbolically differentiate the X and Y Parametric Equations for the Epitrochoid-Curve with respect to Θ.

These are the two Parametric Equations for the X and Y Velocity Components:

PXvel = -(a+b)*sin(Θ) + h*((a+b)/b) * sin((a+b)/b)*Θ)

PYvel = (a+b)*cos(Θ) - h*((a+b)/b) * cos((a+b)/b)*Θ)

As before we must replace:

a with p(0) ; b with p(1) ; h with p(2) ; Θ with p(3)

In the Math FB, the equations are:

-(( p(0)+p(1))*sin(p(3))) + p(2)*(((p(0)+p(1))/p(1)))*sin(((p(0)+p(1) ) / p(1)*p(3)))

 ((p(0)+p(1))*cos(p(3))) - p(2)*(((p(0)+p(1))/p(1)))*cos(((p(0)+p(1))/p(1)*p(3)))


Remember, you can cut and paste these equations as the Velocity Equations in the Math FB.

Enter the Parametric Equations for the Velocity Components in the Math FB

Position and Velocity Equations

Position and Velocity Equations

These are the 6 equations for the two output-connectors

Equations 1 & 2: Position and Velocity of the X -axis

Equations 4 &5: Position and Velocity for the Y-axis

Equations 3 & 6: Default - acceleration for X-axis & Y-axis respectively - not yet entered.


tog_minusTop-Tip - Cut and Paste the equations directly into the Math FB.

Add a 2D-Cam

The two Sliders move with the parametric equations to generate the Epitrochoid Curve

But, can we add a 2D-Cam and get its coordinates?

We will find that if the Velocity equations are not correct, the Cam will not be correct.

GST-T18-2-EpiCurve-Vel-1

Add a Follower to the Slider-Y of the Piggyback Sliders

1.Mechanism-Editor : Edit Slider-Y Part

2.Part-Editor : Geometry toolbar > Add Circle - Drag in the graphic-area

3.Part-Editor: Geometry toolbar > Add Dimension - Click the Circle to define its radius.

4.Part-Editor : Constraints toolbar > Coincident - Click the center-Point of the Circle and the Y-axis ; again: its center-Point and X-axis

5.Part-Editor : Exit the Part-Editor

6.Mechanism-Editor : Solids menu > Add Profile : Click the Circle, Click OK-tiny-13-17 in the Command-Manager.

Add a 2D-Cam

1.Mechanism-Editor: Click Machine element > Add 2D-Cam

The Command-Manager has two selection-boxes:

2.Mechanism-Editor: Click the Base-Part as the Cam-Part

3.Mechanism-Editor: Click the Profile - the Follower-Profile

4.Mechanism-Editor: Click OK-tiny-13-17 in the Command-Manager

GST-T18-2-EpiCurve-Vel-2

In the image above, look closely at the Cam and the Follower-Profile.

1.Run menu > Cycle or (ALT+C) , and again,  to start then stop the machine-cycle

or

1.Drag the Master Machine Angle to a different Machine Angle

You can see the contact between the 2D-Cam and the Follower.

The 2D-Cam is not correct.

GST-T18-2-EpiCurve-Vel-5

Check and correct the Velocity Equations in the Math FB.

Now, the 2D-Cam is correct.

Now you can get the Cam-Coordinates in the usual way - with a Cam-Data FB.