Presentation is loading. Please wait.

Presentation is loading. Please wait.

S4-1 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation SECTION 4 WASHING MACHINE.

Similar presentations


Presentation on theme: "S4-1 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation SECTION 4 WASHING MACHINE."— Presentation transcript:

1 S4-1 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation SECTION 4 WASHING MACHINE

2 S4-2 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation

3 S4-3 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation WASHING MACHINE n Create a simple controller to drive the washing machine spinner at a given speed. n What’s in this section: u Tracking System Velocities u Implementing Simple Controllers u Computing the Derivative of a Run-Time Function u Batch-Mode, Stand-Alone ADAMS/Solver u FILE Command u Workshop 9: Washing Machine

4 S4-4 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation TRACKING SYSTEM VELOCITIES n As with tracking system loads, there are several functions available in MSC.ADAMS that allow you to track system velocities throughout a simulation.

5 S4-5 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation TRACKING SYSTEM VELOCITIES (CONT.) n Where: u I - The marker whose velocity is being measured. u J - The marker with respect to which the velocity is being measured. Set J = 0, while still specifying l, if you want J to default to the global coordinate system. u K - The marker in whose coordinate system the velocity vector is being expressed. Set K = 0, while still specifying L, if you want the results to be calculated along the x-axis of the global coordinate system. u L - The reference frame in which the first time derivative of the displacement vector is taken. Set L = 0 or omit the argument if you want the time derivatives to be taken in the ground coordinate system (GCS). Note: Rotational velocities are reported from ADAMS/Solver (and, therefore, into your functions) in units of radians/[unit_time].

6 S4-6 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation TRACKING SYSTEM VELOCITIES (CONT.) n Make use of the operators rtod and dtor for handy conversions. Example of VM vs. VR Functions

7 S4-7 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation IMPLEMENTING SIMPLE CONTROLLERS n With the use of differential equations and state variables, simple control systems can be modeled easily in MSC.ADAMS. n Proportional-Only Controller n Proportional and Integral Controller

8 S4-8 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation IMPLEMENTING SIMPLE CONTROLLERS (CONT.) n Example MSC.ADAMS Elements (PI Controller) u ADAMS/View variables: u ADAMS/Solver variables: u Differential Equation: u Force Function:

9 S4-9 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation COMPUTING THE DERIVATIVE OF A RUN-TIME FUNCTION n You can use an implicit DIFF to get the time derivative of just about anything. Because it references itself, it requires a two-step definition in ADAMS/View. n For example, you need dataset language something like: VARIABLE/2, FUNCTION = WZ(2) DIFF/1, IMPLICIT, FUNCTION=DIF(1)-VARVAL(2) n You can then access the derivative as DIF1(1).

10 S4-10 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation COMPUTING THE DERIVATIVE OF A RUN-TIME FUNCTION (CONT.) n Caveats u Since this method writes a DIFF for MSC.ADAMS to differentiate, it will not work during a static or quasi-static analysis, as MSC.ADAMS forces the derivative of the DIFF to zero during these analyses. u This method does not work when using a coordinate partitioning method for dynamics solution. The DIF1 function will always be zero if you're using an integrator such as ABAM. u This will not work for kinematics (SIM/KIN). u You have no error control in the differentiated signal, so the accuracy of the answer can never be ascertained. The only way to control the error is by controlling the step size. u If you feed the differentiated signal back into the system it can cause integration difficulties.

11 S4-11 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation BATCH-MODE, STAND-ALONE ADAMS/SOLVER n What? u String several simulations together and run them at once, serially, on one ADAMS/Solver license. n Why? u Large models can take a long time to simulate. u Simulations run faster in stand-alone mode. u Maximize your software investment using ADAMS/View, while running simulations in ADAMS/Solver externally.

12 S4-12 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation BATCH-MODE, STAND-ALONE ADAMS/SOLVER (CONT.) n How? u General acf file syntax l Line 1: Model name l Line 2: Output name (same as model name if none entered) l Line 3 through last line: ADAMS/Solver commands l Last line: stop

13 S4-13 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation BATCH-MODE, STAND-ALONE ADAMS/SOLVER (CONT.) n Example master.acf: n Example sim_01.acf:

14 S4-14 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation BATCH-MODE, STAND-ALONE ADAMS/SOLVER (CONT.) n Notes: u It is important to delete or comment out stop to keep the simulation running. u dummy.adm must be a valid MSC.ADAMS model. For more information, see the guides, Running MSC.ADAMS on Windows and Running and Configuring MSC.ADAMS on UNIX.

15 S4-15 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation FILE COMMAND n The FILE command either restarts ADAMS/Solver with a new model (MODEL) or executes a set of commands from a file (COMMAND). u MODEL - Specifies a new dataset (.adm) file. ADAMS/Solver closes any output files from a previous simulation, and then completely restarts by setting the simulation time to zero and reading the new model. Next, ADAMS/Solver prompts you for a new command, as if ADAMS/Solver had read the model when first started. By default, the output files use the same base name as the model file. The optional OUTPUT_PREFIX argument specifies a different base name, if needed. u COMMAND - Specifies a file containing ADAMS/Solver commands. ADAMS/Solver reads and executes the commands in the file. If the FILE command was interactive, ADAMS/Solver returns to interactive input when the command file is done. If the FILE command was in a command file itself, ADAMS/Solver returns to reading commands from that file. Command files can contain other FILE commands, nested up to 10 files deep. For more information, see the ADAMS/Solver online help.

16 S4-16 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation


Download ppt "S4-1 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation SECTION 4 WASHING MACHINE."

Similar presentations


Ads by Google