SECTION 4 WASHING MACHINE.

Slides:



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

Chapter 2 Basic Elements of Fortan
01-1 Physics I Class 01 1D Motion Definitions.
Guide To UNIX Using Linux Third Edition
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.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
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.
S9-1 ADM , Section 9, August 2005 Copyright  2005 MSC.Software Corporation SECTION 9 COMMAND LANGUAGE.
WS6-1 ADM703, Workshop 6, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 6 OVER-RUNNING PULLEY.
S4-1 ADM703, Section 4, August 2005 Copyright  2005 MSC.Software Corporation SECTION 4 WASHING MACHINE.
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.
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.
S11-1 ADM , Section 11, August 2005 Copyright  2005 MSC.Software Corporation SECTION 11 MACROS: OVERVIEW.
2.1 Position, Velocity, and Speed 2.1 Displacement  x  x f - x i 2.2 Average velocity 2.3 Average speed  
MSC.Software Corporation 2 MacArthur Place Santa Ana, CA 92707, USA Tel: (714) Fax: (714) Web: United States.
WS3-1 ADM703, Workshop 3, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 3 SUSPENSION SYSTEM.
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.
S3-1 ADM703, Section 3, August 2005 Copyright  2005 MSC.Software Corporation SECTION 3 SUSPENSION SYSTEM.
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.
S7-1 ADM730, Section 7, September 2005 Copyright  2005 MSC.Software Corporation SECTION 7 ADVANCED TOPICS.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 4, 2010 Chapter 6 © Dan Negrut, 2010 ME451, UW-Madison TexPoint fonts.
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.
WORKSHOP 3 Belt Modeling – Lawn Mower
Introduction.
WORKSHOP 1 CO-SIMULATION.
Adams/CHASSIS INTERFACE
SECTION 5 Full Vehicle Analysis.
WORKSHOP 18 HATCHBACK II.
SECTION 4 GSE IMPORT METHOD.
Prof: Dr. Shu-Ching Chen TA: Samira Pouyanfar Spring 2017
MATLAB – More Script Files
Modeling and Simulation Dr. Mohammad Kilani
SECTION 2 SETUP, WRITING AND CREATING
C-Shell with Functions
SECTION 1 ADAMS/Solver subroutines overview
WORKSHOP 12 BOUNCING BALL
WORKSHOP 1 CUSTOM TIRE SUBROUTINE
WORKSHOP 19 HATCHBACK III
Introduction & Rectilinear Kinematics:
SECTION 8 ROTATION AND FRICTION Review the problem statement.
INTRODUCING Adams/CHASSIS
Topics Introduction to Repetition Structures
L – Modeling and Simulating Social Systems with MATLAB
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
Dynamics: Newton’s Laws of Motion
WORKSHOP 7 OVER-RUNNING PULLEY.
Getting Started with C.
SECTION 3 MACROS: OVERVIEW.
WORKSHOP 3 GSE IMPORT.
Scripts & Functions Scripts and functions are contained in .m-files
This pointer, Dynamic memory allocation, Constructors and Destructor
Virtual Machine Emulator Tutorial
1. KINEMATICS -MOTION GRAPHS
Kinematics of Particles
© Sharif University of Technology - CEDRA By: Professor Ali Meghdari
Presentation transcript:

SECTION 4 WASHING MACHINE

WASHING MACHINE Create a simple controller to drive the washing machine spinner at a given speed. What’s in this section: Tracking System Velocities Implementing Simple Controllers Computing the Derivative of a Run-Time Function Batch-Mode, Stand-Alone ADAMS/Solver FILE Command Workshop: Washing Machine

TRACKING SYSTEM VELOCITIES As with tracking system loads, there are several functions available in MSC.ADAMS that allow you to track system velocities throughout a simulation.

TRACKING SYSTEM VELOCITIES (CONT.) Where: I - The marker whose velocity is being measured. 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. 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. 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].

TRACKING SYSTEM VELOCITIES (CONT.) Make use of the Adams/Solver constants RTOD and DTOR for handy conversions. Example of VM vs. VR Functions

IMPLEMENTING SIMPLE CONTROLLERS With the use of differential equations and state variables, simple control systems can be modeled easily in MSC.ADAMS. Proportional-Only Controller Proportional and Integral Controller

IMPLEMENTING SIMPLE CONTROLLERS (CONT.) Example MSC.ADAMS Elements (PI Controller) ADAMS/View variables: ADAMS/Solver variables: Differential Equation: Force Function:

COMPUTING THE DERIVATIVE OF A RUN-TIME FUNCTION 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. For example, you need dataset language something like: VARIABLE/2, FUNCTION = WZ(2) DIFF/1, IMPLICIT, FUNCTION=DIF(1)-VARVAL(2) You can then access the derivative as DIF1(1).

COMPUTING THE DERIVATIVE OF A RUN-TIME FUNCTION (CONT.) Caveats 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. 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. This will not work for kinematics (SIM/KIN). 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. If you feed the differentiated signal back into the system it can cause integration difficulties.

BATCH-MODE, STAND-ALONE ADAMS/SOLVER What? String several simulations together and run them at once, serially, on one ADAMS/Solver license. Why? Large models can take a long time to simulate. Simulations run faster in stand-alone mode. Maximize your software investment using ADAMS/View, while running simulations in ADAMS/Solver externally.

BATCH-MODE, STAND-ALONE ADAMS/SOLVER (CONT.) How? General acf file syntax Line 1: Model name Line 2: Output name (same as model name if none entered) Line 3 through last line: ADAMS/Solver commands Last line: stop

BATCH-MODE, STAND-ALONE ADAMS/SOLVER (CONT.) Example master .acf: Example sim_01.acf:

BATCH-MODE, STAND-ALONE ADAMS/SOLVER (CONT.) Notes: It is important to delete or comment out stop to keep the simulation running. 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.

FILE COMMAND The FILE command either restarts ADAMS/Solver with a new model (MODEL) or executes a set of commands from a file (COMMAND). 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. 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.

WORKSHOP Complete Workshop 04: Washing Machine