Beruflich Dokumente
Kultur Dokumente
TABLE OF CONTENTS
1. THE POSTPROCESSOR ........................................................................................ 2 1.1. ANIMATION MODE ............................................................................................... 3 1.1.1. Making a Movie .............................................................................................. 4 1.1.2. Getting a picture ............................................................................................. 6 1.2. PLOTTING MODE .................................................................................................. 6 1.2.1. Measuring Angles ........................................................................................... 7 1.2.2. Measuring Joint Loads ................................................................................... 8 1.2.3. Calculating Power Consumption.................................................................. 13 2. CREATING LINKS WITH DIFFERENT SHAPES........................................... 15 2.1. 2.2. 3. 4. MERGING TWO BINARY LINKS ............................................................................ 15 CREATING CURVED LINKS ................................................................................. 17
COPYING LINKS AND POINTS......................................................................... 20 SAVING YOUR MECHANISM IN A NEW STARTING POSITION ............. 24
1. The PostProcessor
At the end of the last tutorial we were left with a functional 4-bar mechanism with an attached spring. Instructions were included for saving and reopening your model. After opening your model from the first tutorial, immediately export the file as file name first_tutorial. Therefore, you will now have the filefirst_tutorial.cmd, which is the command file for the mechanism you ended with in Part 1 of the tutorial. You will need this version of the mechanism for your homework this week. With this file made, we can continue moving forward. Your mechanism should look like this in the Isometric view:
You should have already learned to run simulations, so go ahead and run the same simulation as before. Lets begin by looking at the PostProcessor and delving into its many utilities. The easiest way to get into the PostProcessor is by simply pushing F8, but you can also choose Review>Postprocessing as shown in the following screenshot.
1.1.
Animation Mode
The first thing we will do is make a movie of our mechanism in action. You can easily make an AVI movie file of your mechanism by loading the animation and exporting the file. To load the animation make sure that Animation is shown in the top left drop-down menu. Then right-click on the main black screen and click Load Animation as shown below:
The same options for controlling the view and such are available by right-clicking on the animation screen again and going to View Control.
Your AVI file will be saved in the working directory you chose upon opening ADAMS, and with the file name and extension shown in the window. For the setup shown above the file will be called tutorial.avi. Go back to the Animation tab now and lets look at some of the options there. If the AVI file you create is very large (e.g.- 10 MB) you can shrink it down by increasing the frame increment as shown below.
This will make the motion more choppy, but will decrease the file size substantially. The other method for shrinking the file is to make sure that you only run your mechanism through its motion once. As you may recall, we set up our analysis to run the simulation through two revolutions of the input link. You can verify this by changing the Loop field from Forever to Once and hitting Play (the blue right arrow) as seen in the next figure.
We can easily change this redundancy in the video by changing End from 201 to 101 (half of the current value). The video plays fairly quickly as well, but this can be slowed down with the Speed Control. After adjusting it so that it plays at a reasonable speed, we are now ready to record our file and make sure it worked. Recording the AVI is simply a matter of pushing the R button and then hitting Play. Do this now. When your mechanism is done going through its motion, just hit the R again and you are ready to move on.
1.2.
Plotting Mode
Now on to looking at angles, speeds, loads and power. We need to switch from Animation mode to Plotting mode. Do this by clicking on the drop-down box in the top left and selecting Plotting from the list as seen below.
The following warning will be shown, just hit OK since you already saved the movie of your mechanism in action.
If you want to add another curve to the plot as well, you simply click on the curve you are interested in and hit Add Curves again. For example, lets look at the angular velocity of the coupler as well. Just click on WZ from the Component window and then choose Add Curves again. Your plot should now look like the image below.
you can only see one curve at a time. Click the Surf button now and then look through the Force and Torque plots.
If you were designing a bearing for this joint, what you would want to have is the magnitude of the force, not the individual direction components. There are a few ways to get this. One way would be to use the math tools available in ADAMS and calculate the sum of the magnitudes of the forces in the x and y directions. We will do this later on in the tutorial. An easier way is to look in the Objects instead of the Result Sets. This is done by clicking Objects from the drop-down menu box where it says Source (See below).
Now go to Joint_2 under the Object menu, choose Element_Force from the Characteristic menu, and then Mag for Component. Your plot should look roughly as follows.
Interlude, create a torque source (motor) As our final exercise with the PostProcessor, we will calculate the power required to run this mechanism. First we need to make a few changes to the mechanism. As can be seen on the previous plots, the spring that was added is extremely stiff. The forces that it induces are fairly unreasonable, and even if the spring did not break in two, a motor couldnt realistically drive the mechanism at the constant speed defined. Therefore, we will first deactivate the spring and motion source and replace it with a torque source. Hit F8 or select File>Close Plot Window to get back to the regular ADAMS/View window. Now right-click on the spring and select (De)Activate towards the bottom of the list as shown.
10
Hit OK and then do the same thing for the motion (motor). The large blue arrow representing the motion will still be there, but should be a darker shade now, indicating that it is not Active. Next create a torque source (motor) by selecting the Applied Force: Torque from the list with the spring in it. Remember that right-clicking on the tools in the Main Toolbox will give you many more options from within the same category. Following is a screenshot of what you should select.
11
In the menu that appears in the Main Toolbox window, check the box by Torque and enter a value of 25, meaning 25 N*mm. Make sure to follow the directions at the bottom of the window. Select the input link as the link to which the torque will be applied. Then choose point input_A as the point at which the torque will be applied.
12
Lets now simulate our mechanism again, only this time change the End time to 1 second instead of 24. This will slow things down a bit and make it easier to look at the results.
13
Follow the same procedure to plot the value of the input torque by selecting SFORCE_2>Element_Torque>Mag and again selecting Add Curves.
As expected, the value is constant at 25 N*mm as indicated on the vertical axis at the right hand side of the plot. In order to manipulate the curves as desired, we need to use the Curve Edit Toolbar. This is available by clicking on the capital sigma icon at the top middle of the window as shown in the next image.
The second row of icons appear. Most of the icons are self-explanatory, so take a look through them, they may come in handy at a later point. The one we are looking for is the third one from the left, showing a multiplication sign. When you multiply these two
14
curves (Angular Velocity and Torque) together ADAMS will complain that the units do not match, but since we know what the units are, that is not a problem. Just hit OK and on we go. Your resulting plot should look like this.
This curve represents the power required to drive this mechanism at the specified torque. If we were to select a motor to drive this, we would need a motor capable of providing at least as much power as the maximum of this curve. We can find this value quite easily by looking at a different toolbar called Plot Tracking. Click on this icon as shown below.
Now select the pink curve and the Max field will show that the maximum power required is roughly 40,200 N*mm*deg/s. Converting this value to J/s=W is quite easy, just divide by 1000 to convert mm to m. Then convert to HP by dividing by 745.7 HP/W to get a maximum power requirement of 0.054 hp.
15
Now, create another binary link between points COUPLER_A and ON_COUPLER.
Now, choose the tool that unites two solids. By following the instructions given in the status bar, choose the first link you recently created (between COUPLER_A and COUPLER_B), then choose the second link you recently created (between
16
COUPLER_A and ON_COUPLER). After you right click, to accept your two links, you will see that that coupler is now the union between the two links. Even though the two links are united, right click on the first link. Notice the part number of the link. Now, right click on the other link. Notice that the second link has the same part number. Now, lets change the width and depth of both links to be the same. You will find that you can still change the link geometry of the two individual links even though they are now united. Do this to change the width of the links to 15 mm and the depth to 10 mm.
2.2.
Now we will change the coupler link geometry one more time. First, delete the entire coupler link you just created. You will receive a message, but continue by choosing Delete All.
Next, choose the Spline tool from the toolbox. When the spline toolbox appears, click on the Closed toggle as shown in the following screenshots.
17
Right click on the back working space, and turn the working grid off. By doing this, your cursor will not automatically snap to the grid dots. Now, pick at least 8 points that make a full curve around the three coupler points. Make the curve similar to the shape shown in the figure below. When all your points are made, right click to make the total enclosed shape. We will be using this link as our new coupler link.
By moving one of the square points on the outside curve of the coupler link, you can modify the shape of the coupler. Try to roughly match the shape shown in the figure below.
18
Now, choose the Extrusion Tool. When the extrusion tools toolbox appears, set all the settings to the settings shown below. Then, select the coupler, and then select the curve on the coupler. This will extrude the part to add depth to the shape.
Rotate the mechanism to verify that the shape was extruded. From the side view, the coupler link should be exactly between the follower link and the input link.
19
Rename the part curved_coupler by right-clicking on the link and using Rename as before. Now view the mechanism from the front (just hit Shift-f). Using revolute joints, connect the coupler to the other links by adding joints between the coupler and the input link and the coupler and the follower. The coupler link is not parameterized, so when choosing the locations for the joints, just select the points that are in the position where the joints should be. For example, in this case, it is not important whether you choose INPUT_B or COUPLER_A.
Simulate the mechanism for 12 seconds to verify that it works with the new coupler link.
20
components are selected, hold down the control key and deselect all the joints and gravity and motions. (When you deselect an object, it is no longer bold.) Once this is done, rotate the mechanism to a more isometric view. (The isometric view will help us when we do the copying.) Now choose the move tool.
When the move toolbox appears, choose all the options shown below. Now, move your cursor around the mechanism until a vector pointing in the global Z direction appears. The, right click to accept.
21
From the Right view (shift-R), you will see the following.
22
We would like to have the two sides of the mechanism be reflections of each other. To do this, use the Point Table and modify the Z locations as shown below.
Now, make your joints and motions for the new half, but do not make another gravity for the new half.
23
When you rotate your mechanism, you will see that floating points and arrows are still left behind. Delete each of these individually. Make sure to delete all remaining parts of the mechanisms copy.
24
Now, run a Simulation for 12 seconds using 100 steps. Click the reset button when done. We now have the information we need to run an animation. Choose the Animation tool. Select the button in the bottom of the animation toolbox.
Attach the polyline to the ground (add to ground); extrude the polyline as a new part using the curve then run the simulation and save to new part
Using the Animation Controls that appear, use the arrow buttons to click through the frames. Find step 42. We will change our initial starting position to this position. To do this, choose the button shown below. When a pop-up box appears, change the frame to 42 and select OK.
25
Your mechanism should now look like this. Notice how the joint icons have rotated.
Also note that ADAMS has made this a new model. You can see this in the upper left hand corner of your ADAMS window.
26
Before we save our new model, we need to fix the joints and motion. (There rotated positions will create confusion during analysis.) Delete the motion and joints. The Delete option from the Edit menu will be helpful.
27
Once the original joints and motion have been deleted, create new joints and motion. For the joints between the coupler and the follower and the coupler and the input link, use the markers that are located on the ends of the follower and input link. To find them, place your cursor near the area where the joints used to be. Select the markers that automatically popup. Your mechanism should now look like this:
28
Run a 12 second, 100 step simulation again to verify that the model starts from the new location.
29