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

Slides:



Advertisements
Similar presentations
Chapter 7: User-Defined Functions II
Advertisements

Programming in Visual Basic
WS1-1 ADM703, Workshop 1, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 1 JET ENGINE TURBINE.
Guide To UNIX Using Linux Third Edition
EPSII 59:006 Spring Topics Using TextPad If Statements Relational Operators Nested If Statements Else and Elseif Clauses Logical Functions For Loops.
Advanced Shell Programming. 2 Objectives Use techniques to ensure a script is employing the correct shell Set the default shell Configure Bash login and.
February 21, 2000Robotics 1 Copyright Martin P. Aalund, Ph.D. Computational Considerations.
S1-1 ADM703, Section 1, August 2005 Copyright  2005 MSC.Software Corporation PART 1 ADVANCED MODELING AND BEST PRACTICES.
WS4-1 ADM703, Workshop 4, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 4 WASHING MACHINE.
1 Computing Software. Programming Style Programs that are not documented internally, while they may do what is requested, can be difficult to understand.
INTRO-1 ADM , Introduction, August 2005 Copyright  2005 MSC.Software Corporation WELCOME TO ADVANCED ADAMS/VIEW TRAINING.
S5-1 ADM730, Section 5, September 2005 Copyright  2005 MSC.Software Corporation SECTION 5 RESULTS INTERPRETATION Response = 3 + 7X 1 + X 2 + 4X 1 X 2.
Copyright © The McGraw-Hill Companies, Inc. Introduction to MATLAB for Engineers, Third Edition William J. Palm III Chapter 1 An Overview of MATLAB.
S9-1 ADM , Section 9, August 2005 Copyright  2005 MSC.Software Corporation SECTION 9 COMMAND LANGUAGE.
S7-1 ADM740, Section 7, June 2007 Copyright  2007 MSC.Software Corporation SECTION 7 CREATING AND SIMULATING FULL VEHICLES.
WS6-1 ADM703, Workshop 6, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 6 OVER-RUNNING PULLEY.
ME451:Kinematics and Dynamics of Machine Systems (Spring 09)
WS1-1 ADM740, Workshop 1, June 2007 Copyright  2007 MSC.Software Corporation WORKSHOP 1 OPEN AND RUN AN ASSEMBLY.
WS8-1 ADM740, Workshop 8, June 2007 Copyright  2007 MSC.Software Corporation WORKSHOP 8 Creating Event Files.
S6-1 ADM740, Section 6, June 2007 Copyright  2007 MSC.Software Corporation SECTION 6 CREATING AND SIMULATING SUSPENSIONS.
S6-1 ADM703, Section 6, August 2005 Copyright  2005 MSC.Software Corporation SECTION 6 OVER-RUNNING PULLEY.
ME451 Kinematics and Dynamics of Machine Systems Review of Differential Calculus 2.5, 2.6 September 11, 2013 Radu Serban University of Wisconsin-Madison.
WS13-1 ADM740, Workshop 13, June 2007 Copyright  2007 MSC.Software Corporation WORKSHOP 13 EXPLORING AND COMPLETING TEMPLATES.
WS2-1 ADM730, Workshop 2, September 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 2 UNDERSTANDING FACTORS AND RESPONSES.
S2-1 ADM , Section 2, August 2005 Copyright  2005 MSC.Software Corporation SECTION 2 EXPRESSIONS: OVERVIEW.
CSE 351 GDB Introduction. Lab 1 Status? How is Lab 1 going? I’ll be available at the end of class to answer questions There are office hours later today.
S11-1 ADM740, Section 11, September 2007 Copyright  2007 MSC.Software Corporation SECTION 11 COMMUNICATORS.
S9-1 ADM740, Section 9, June 2007 Copyright  2007 MSC.Software Corporation SECTION 9 PARAMETERIZATION.
S11-1 ADM , Section 11, August 2005 Copyright  2005 MSC.Software Corporation SECTION 11 MACROS: OVERVIEW.
ADAMS Assignment 6 ME451:Kinematics and Dynamics of Machine Systems (Fall 2013) Assigned: November 13, 2013 Due: November 20, 2013.
MSC.Software Corporation 2 MacArthur Place Santa Ana, CA 92707, USA Tel: (714) Fax: (714) Web: United States.
S0-1 ADM703, Section 0, August 2005 Copyright  2005 MSC.Software Corporation SECTION 0 WELCOME TO ADVANCED ADAMS/SOLVER TRAINING.
1 More on Readln:numerical values Note: ENTER key counts sends a carriage return and a line feed to the computer definition: “white space”: space, tab,
WS3-1 ADM703, Workshop 3, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 3 SUSPENSION SYSTEM.
WS1-1 ADM730, Workshop 1, September 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 1 INTRODUCTION Open Retracted - Bad Retracted - Good.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. A Concise Introduction to MATLAB ® William J. Palm III.
WS2-1 ADM , Workshop 2, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 2 EXPRESSIONS: OVERVIEW.
WS2-1 ADM703, Workshop 2, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 2 SPRING-DAMPER SYSTEM.
S7-1 ADM , Section 7, August 2005 Copyright  2005 MSC.Software Corporation SECTION 7 DESIGN OF EXPERIMENTS.
S3-1 ADM703, Section 3, August 2005 Copyright  2005 MSC.Software Corporation SECTION 3 SUSPENSION SYSTEM.
WS1-1 ADM , Workshop 1, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 1 INTRODUCTION.
WS16-1 ADM740, Workshop 16, June 2007 Copyright  2007 MSC.Software Corporation WORKSHOP 16 Using Adams/Linear with Adams/Car.
Structured Computer Programming EE 201 Introduction to MATLAB 7 for Engineers بسم الله الرحمن الرحيم King Abdulaziz University College of Engineering Dept.
WS7-1 ADM , Workshop 7, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 7 DESIGN OF EXPERIMENTS.
S7-1 ADM730, Section 7, September 2005 Copyright  2005 MSC.Software Corporation SECTION 7 ADVANCED TOPICS.
SECTION 6 DESIGN STUDY. What’s in this section: –Design Variables –Design Studies Overview –Specifying an Objective –Execution Display Settings –Output.
ADM703b, Workshop 3, February 2013 Copyright© 2013 MSC.Software Corporation WS3 - 1 WORKSHOP 3 INCLUDE DAMPING: THE EFFECT ON RESULTS.
S3-1 ADM703c, Section 3, February 2013 Copyright  2013 MSC.Software Corporation SECTION 3 UTILITY SUBROUTINES.
ADM711, Workshop 5, January 2013 Copyright  2013 MSC.Software Corporation WORKSHOP 5 CO-SIMULATION MODIFIERS FOR EASY 5.
WS2-1 ADM703c, Workshop 2, February 2013 Copyright  2013 MSC.Software Corporation WORKSHOP 2 EJECTOR MECHANISM.
Introduction.
WORKSHOP 1 CO-SIMULATION.
WORKSHOP 18 HATCHBACK II.
SECTION 4 WASHING MACHINE.
SECTION 2 SETUP, WRITING AND CREATING
SECTION 1 ADAMS/Solver subroutines overview
WORKSHOP 12 BOUNCING BALL
WORKSHOP 1 CUSTOM TIRE SUBROUTINE
WORKSHOP 19 HATCHBACK III
Introduction & Rectilinear Kinematics:
SECTION 13 REQUESTS.
GATLING GUN FIRE MECHANISM
GATLING GUN FIRE MECHANISM
SECTION 8 OVER-RUNNING PULLEY.
Introduction to MATLAB for Engineers, Third Edition
WORKSHOP 1 STAMPING MECHANISM
INTRODUCTION.
SECTION 3 MACROS: OVERVIEW.
WORKSHOP 3 GSE IMPORT.
Scripts & Functions Scripts and functions are contained in .m-files
Presentation transcript:

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

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

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

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.

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].

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

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

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:

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).

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.

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.

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

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:

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.

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.

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