52677389 proe mechanism les3

12
Lesson Objective : In this lesson, we will look at the joint axis settings in more detail using the pin constraint that we have already learned. We will learn about limits, regeneration settings, and zero references. In the last lesson, we learned how to identify the default zero location of a pin joint axis. We also learned how to type in any angle to see the pin joint update. We even went one step further and took a non-zero Lesson http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less... 1 of 12 05-Apr-11 8:52 PM

Upload: inthemoney8

Post on 13-Apr-2015

18 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 52677389 Proe Mechanism Les3

Lesson Objective: In this lesson, we will look at the joint axis settings in more detail using the pinconstraint that we have already learned. We will learn about limits, regeneration settings, and zeroreferences.

In the last lesson, we learned how to identify the default zero location of a pin joint axis. We also learnedhow to type in any angle to see the pin joint update. We even went one step further and took a non-zero

Lesson

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

1 of 12 05-Apr-11 8:52 PM

Page 2: 52677389 Proe Mechanism Les3

location (45 degrees, for example) and turn it into the new global zero location for that pin joint (using theMake Zero button). In this lesson, we will learn how to use our surrounding geometry to define the zero location. Therefore,open up the assembly entitled Zero_Refs.asm, which will look like the following.

This assembly consists of a base and a lid, which is attached using a pin connection. We are going to startby investigating where the current zero reference is for the pin joint. Therefore, go to Applications,Mechanism to activate mechanism mode. Next, click on the pin joint symbol on the model so it becomes highlighted in red. Finally, right mouse clickand select Joint Settings. This will bring up the following window.

We can see that the lid is currently at the zero location, but we want the lid to be completely closed when itis at zero. Instead of trying different values in the field until we get one that looks like it mates the lid withthe base (which we may never get an exact value), we are going to pick on references in the part to controlthis. In the middle of the Joint Axis Settings window, we see three tabs, entitled Zero Refs, Regen Value andProperties. The Zero Refs tab is already selected, which is the one that we want.Before we do anything, we are going to look at our model, which currently has one of the parts highlighted ingreen, while the other is highlighted in orange, as shown below.

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

2 of 12 05-Apr-11 8:52 PM

Page 3: 52677389 Proe Mechanism Les3

From the above figure, we can see that the base part (Zero_Refs_1.prt) is our green part, while the lid(Zero_Refs_2.prt) is our orange part. In the window, we can see that we are going to select a referencefor each of these models. Therefore, click in the little check box entitled Specify References and then you will be prompted to selectthe reference on the orange part. We are going to pick the flat bottom of the rim that we want to mate upwith the base part. When prompted to select the reference on the green part, we are going to select the top, flat rim of thebase part. The two references are shown below (highlighted in yellow to make it easier to see them).

Once both references are selected, we will now look back into our joint settings window. We can see theangle value between them (which is currently 135 degrees). Therefore, we know that 45 degrees separatesour lid and base in its current position. We will type in “0” and this is what we see.

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

3 of 12 05-Apr-11 8:52 PM

Page 4: 52677389 Proe Mechanism Les3

This is the opposite of what we want, so we will change the value to 180, and this is our result.

This is exactly what we want. Now, we might be tempted to click on the Make Zero button, but it is notavailable at this time. Therefore, if we want this to be considered the absolute zero, we can uncheck theSelect References box, and then click on Make Zero. Now, our zero value is set with the lid closed. Click on OK once you have made this the new global zero reference. What do you notice? The lid goesback to its open state. We will address this in the next section. Save the assembly for now.

Go back to the joint axis settings for the pin joint again. In the middle, click on the second tab entitledRegen Value. This will look like the following figure.

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

4 of 12 05-Apr-11 8:52 PM

Page 5: 52677389 Proe Mechanism Les3

We can see that our joint axis is currently at -45 degrees. Down in the Regen Value area, we will click onthe Specify Regeneration Value check box, and then keep the default of 0 in the Regeneration Value field,as shown below.

What we are doing is telling Pro/ENGINEER that every time we regenerate this assembly, we want this pinjoint to go back to its zero degree value, which will cause it to close. Click on OK. Your assembly may ormay not automatically close. If it does not, regenerate your assembly and it will close, as shown in the nextfigure. To regenerate, you will need to go back to standard mode (Applications, Standard).

Save the assembly for now.

There is one more thing we can define in the joint axis settings for this pin connection, and that is theproperties – which allows you to control the limits of the motion of the connection. IMPORTANT: Limits should only be set to control the range of motion while dragging. You should get in the

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

5 of 12 05-Apr-11 8:52 PM

Page 6: 52677389 Proe Mechanism Les3

habit of turning them off when you are ready to animate your mechanism, unless you need to simulatespecific forces that arise from bodies hitting each other, where the limit assumes an impact location. To demonstrate the limits of this part, we will first rotate the assembly so we are looking at the back whereit is hinged, as shown below.

We will begin by clicking on the drag icon ( ) and open up the lid past the vertical position, as shownbelow.

Click on Close to get out of the drag window. The lid should remain open. Return to standard mode(Applications, Standard), and then run a global interference check using Analysis, Model Analysis,Global Interference, Compute. You should see an interference all along the back edge of the lid, asshown in the next figure.

Therefore, we know we can’t go too far, or we will have interference. This assembly was designed so thatat 90 degrees, the back of the lid rests on the back of the base. But, suppose, we didn’t know that it was

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

6 of 12 05-Apr-11 8:52 PM

Page 7: 52677389 Proe Mechanism Les3

90 degrees. How can we find out how far we can go? We will use the Zero References again to find out the angle that we need to set as our limit. Therefore, goback into mechanism mode using Applications, Mechanism. Go back into the joint axis settings for the pinjoint, and make sure you are on the first tab, entitled “Zero Refs”. Start by typing in a value of “0” in the fieldat the top to close the lid. Next, click in the check box to “select references”, and then pick the following two entities (shown highlightedin yellow in the next figure).

When we do this, our joint axis settings window looks like the following figure.

From this window, we can see that the angle between these two surfaces when the lid is closed is -90degrees. Therefore, we can go from 0 to -90 degrees before the lid will start to interfere with the base atthe back. Click on Cancel in this window to deselect the references that we just selected. IMPORTANT: If you clickon OK, it now sets the new zero location differently than what it was before. When we click on Cancel the lid goes back to the last location we dragged it to. Therefore regenerate theassembly (in standard mode) to get it to go back to zero (lid closed). Return to mechanism mode and then go back to the joint axis settings for this joint one more time, and thistime click on the Properties tab, which will look like the following.

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

7 of 12 05-Apr-11 8:52 PM

Page 8: 52677389 Proe Mechanism Les3

Start by clicking in the checkbox entitled Enable Limits. This will make the other fields available, as shownin the next figure.

When setting joint axis limits, always remember that negative values are smaller than positive values, andtherefore the smallest number is placed in the “Minimum” field. Therefore, we are going to enter -90 in theMinimum field, and 0 in the Maximum field, as shown in the following figure. IMPORTANT: The maximum range for limits is 180 degrees. For example, if you are starting at -20degrees, you can go to 160 degrees for a maximum. To simulate a range over 180 degrees, you will beusing servo motors (described in a later lesson).

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

8 of 12 05-Apr-11 8:52 PM

Page 9: 52677389 Proe Mechanism Les3

Coefficient of Restitution

The following excerpt comes from the online help, and best describes what this field is for: “If you want to simulate impact forces for your cam-follower connection, slot-follower connection, or joint,specify a value for the coefficient of restitution. The coefficient of restitution is defined as the ratio of thevelocity of two entities after and before a collision. Typical coefficients of restitution can be found inengineering textbooks, or from empirical studies. Coefficients of restitution depend upon factors includingmaterial properties, body geometry, and impact velocity. Applying a coefficient of restitution to yourmechanism is a way to simulate non-rigid properties in a rigid body calculation. For example, a perfectly elastic collision has a coefficient of restitution of 1. A perfectly inelastic collision hasa coefficient of restitution of 0. A rubber ball has a relatively high coefficient of restitution. A wet lump of clayhas a value very close to 0.” For our purposes, we are going to leave this with a value of 0, and then click on OK to finish out of thiswindow. Use the drag tool and try moving your lid. Notice that it will stop at the closed and 90 degree positions. This is simulating a realistic range of motion for this assembly.

In Mechanism mode, you can test the robustness of your mechanism using Mechanism, Connect. Whatthis will do is set any joint axes to their regeneration values, checks the body definitions to make sure youdon’t have three different bodies used for a single constraint, etc. This is one way to get out of having to go back to standard mode to regenerate the model. To demonstratethis, drag the lid back to an arbitrary location between its limits. Then, go to Mechanism, Connect. Thefollowing window appears.

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

9 of 12 05-Apr-11 8:52 PM

Page 10: 52677389 Proe Mechanism Les3

With this window, you can specify certain components (bodies) that are immune to the check. In our case,we will let all of the bodies get checked. Therefore, click on Run, and then we will see the following.

At the same time, the lid closed, because it set the pin joint to its regeneration value of “0 degrees”. Since itchanged the current configuration of the assembly, it gives you the choice to accept the change or reject it. To accept it, click on Yes. Our assembly is back at the closed state.

When defining mechanism constraints, you should always look at the joint axis settings for each constraint. You can control the absolute zero location for the joint, as well as limits that the joint can travel. For consistency, you should set your regeneration value so that each time you regenerate or connect up theassembly, it goes back to the standard configuration. Use existing references on the models to find out where your zero location is, or how far you can go for alimit setting.

Open up the Robot.asm assembly again. If you recall from the last exercise, we created six different pinconstraints. For consistency, we’ll refer to them in the following order.

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

10 of 12 05-Apr-11 8:52 PM

Page 11: 52677389 Proe Mechanism Les3

For this robot, we want to reset the zero value for joint #2 to be at the current -45 degree value. We alsowant to reset the zero value for joint #3 to be at the current 45 degree value. Then, set the joint axissettings for limits and regeneration values as the following:

Joint Axis # Regeneration Value Minimum Limit Maximum Limit1 0 -90 902 0 -90 453 0 -90 904 0 -90 905 0 0 1806 0 -90 90

Once you are done, try dragging your assembly around to see where everything stops. When we run aMechanism, Connect at the very end, and return to standard mode, we should have the following assemblyconfiguration.

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

11 of 12 05-Apr-11 8:52 PM

Page 12: 52677389 Proe Mechanism Les3

http://sharptechdesign.com/Tutorials/Mechanism_WF2/MDX_WF2_Less...

12 of 12 05-Apr-11 8:52 PM