Problem 19.169 Transient Response By: Matt Lausmann ME 114 Granda Assignment #3.

Slides:



Advertisements
Similar presentations
AP C UNIT 3 WORK & ENERGY.
Advertisements

1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Lecture 14 User-defined functions Function: concept, syntax, and examples © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
PLOTTING PHASE PORTRAITS WITH MATLAB:
Operational Amplifiers Luke Gibbons CSUS Fall 2006 ME 114.
Kinematics of simple harmonic motion (SHM)
Chapter 8 Potential energy and conservation of energy Key contents Potential energy Conservative forces Conservation of mechanical energy Equilibrium points.
MEEG 5113 Modal Analysis Set 3.
Getting started with Simulink An introductory tutorial ES205 Analysis and Design of Engineering Systems Rose-Hulman Institute of Technology © R. Layton.
1 A Tool for System Simulation: SIMULINK Can be used for simulation of various systems: – Linear, nonlinear; Input signals can be arbitrarily generated:
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
1 Frequency Response Methods The system is described in terms of its response to one form of basic signals – sinusoid. The reasons of using frequency domain.
HossamTalaat - MATLAB Course - KSU - 21/1/24 1 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink By Prof. Hossam Talaat.
Systems of Linear Equations
Ch 3.9: Forced Vibrations We continue the discussion of the last section, and now consider the presence of a periodic external force:
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
ME 270 Final Project Presentation Operational Amplifiers.
EPSII 59:006 Spring Topics Using TextPad If Statements Relational Operators Nested If Statements Else and Elseif Clauses Logical Functions For Loops.
AP Calculus AB/BC 6.1 Notes - Slope Fields
Friction 5.2 Static and Kinetic Friction
CAMP-G/Matlab Vehicle Crash Test
Simpson Rule For Integration.
1 Tips for solving Project 1 Reactor SO 3 SO 2 +O 2.
Bond Graph Assignment Richard Mullen ME 114 Fall 2006.
Example System – Tumor Growth Tumor p(t) is the tumor volume in mm 3 q(t) is the carrying capacity of the endothelial cells in mm 3, α,B,d,G are constants.
Control Theory Lab 4 Modeling of Physical-SİMULİNK.
Chapter 11 - Simple Harmonic Motion
This Week’s Objectives Establish Dynamic Models of System to be Controlled –Second Order Systems Obtain Solutions using LaPlace Transforms Create Simulink.
5.3 Geometric Introduction to the Simplex Method The geometric method of the previous section is limited in that it is only useful for problems involving.
COMPUTER ASSIGNMENT ME 270 BY VAMSHI KRISHNA REDDY CHADA.
Chapter 5 Energy. Forms of Energy Mechanical May be kinetic (associated with motion) or potential (associated with position) Chemical Electromagnetic.
Marine Engine Propeller Marine Engine Propeller ME 270 Dr. Granda Dong-Un Sul.
First, a little review: Consider: then: or It doesn’t matter whether the constant was 3 or -5, since when we take the derivative the constant disappears.
Vehicle Crash Test Dong-Un Sul Dr. Granda ME 270.
Final Project ME 270 NASA CDSL 6-DOF Platform Jesse Kaneko.
Section 10.1 Section 10.1 Energy and Work ●Describe the relationship between work and energy. ●Calculate work. ●Calculate the power used. In this section.
COMPUTER ASSIGNMENT ME 270 BY Nishith Shah. PROJECT AIM An engineering model and a bond graph model of the car,person,seat belts,bumper needs to be created.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VII Introduction to SIMULINK Rajeev Madazhy
First Step BOND GRAPH Hand Work Second Step  Put bond graph into CAMP-G  Interface to Matlab  Results: Four Files  campgmod.m, campgequ.m, campgnum.m,
Graphing Most people at one time or another during their careers will have to interpret data presented in graphical form. This means of presenting.
EE3417 – Introduction to Simulink
Modeling of Power Converters using Matlab and Simulink
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
Using CAMP-G to solve the following spring/damper/mass system: F m1m1 m2m2 k1k1 k2k2 b1b1 b2b2 where: k 1 = 40 N/m b 1 = 3 N-s/m m 1 = 2 kg k 2 = 60 N/m.
Work and Energy. Scalar (Dot) Product When two vectors are multiplied together a scalar is the result:
Work Readings: Chapter 11.
In Chapters 6 and 8, we will see how to use the integral to solve problems concerning:  Volumes  Lengths of curves  Population predictions  Cardiac.
4.8 Using matrices to solve systems! 2 variable systems – by hand 3 or more variables – using calculator!
Copyright ©2015 Pearson Education, Inc. All rights reserved.
Functions 2 Copyright © Cengage Learning. All rights reserved.
Modeling First Order Systems in Simulink And Analyzing Step, Pulse and Ramp Responses SOEN385 Control Systems and Applications.
Getting started with Simulink
Simulink Modelling Tutorial In Simulink, it is very straightforward to represent a physical system or a model. In general, a dynamic system can be constructed.
Getting started with Simulink An introductory tutorial.
WORKSHOP 1 CO-SIMULATION.
Modeling and Simulation Dr. Mohammad Kilani
ME 270 Vehicle Analysis By: Kevin McClain.
Vehicle Crash Test Lab Justin Otero Fall 2007
ME 114 Computer Assignment #1
Harmonic Motion (III) Physics 1D03 - Lecture 33.
Damped Forced Vibrations Analysis Using CAMP-G® and Simulink® Modeled Solutions to Problem (
1.5 Applications and Modeling with Quadratic Equations
One degree of freedom vibration analysis
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
Getting Started With Simulink
Chapter 7 Work and Energy
Lecture 4 Work & Energy.
Copyright © 2017, 2013, 2009 Pearson Education, Inc.
Presentation transcript:

Problem Transient Response By: Matt Lausmann ME 114 Granda Assignment #3

The Problem

Possible Solutions Two very fast and efficient methods to analyze the transient response of this set up would be to employ the use of: 1)Camp-G and it’s MATLAB interface 2)SIMULINK Both methods produce the same results. Since we are trying to find the amplitude of the displacement of the block, and the amplitude of the force of the spring/damper combination on the ground, certain modifications and parameters need to be attended to for both methods of solution.

Camp-G – Bond Graph The following is the bond graph model used to create the differential equations with the Camp-G-MATLAB interface tool. In this bond graph, the SF entities are initialized to zero. You can see there are 2 springs and one damper, and one Source of Force (from the motor).

Camp-G – Campgequ.m The first modification done to campgequ.m was to define the equation used to calculate the Input function SE1. This is a sinusoidal input. The second modification done to the campgequ.m file was to activate the lines that define the output vectors for efforts and flows. The efforts vector was defined as the sum of the efforts of the 2 springs and the damper. This is so the plot of the spring and damper force on the ground could be generated.

Camp-G – Campgmod.m The campgmod.m file that was generated from Camp-G also needed slight modifications. The first was modification was the initialization of input variables (spring constants, etc). The second modification needed in campgmod.m dealt with the plots. The first figure is the plot of Q6, which is the first row of the p_q array and represents the vertical displacement of the motor. The second figure is the plot of the force on the ground from the spring/damper combination.

Camp-G – Vertical Displacement This is a plot of the vertical displacement of the motor. The plot seems to level out around x10 -6 meters. This corresponds exactly with the solution given in problem

Camp-G – Force of Spring and Damper on Ground This is a plot of the force of the spring and damper combination on the ground. The maximum force of the combination appears to be roughly 5.7 Newtons, which also agrees with the solution given for

Simulink – Block Model 1 This is a copy of the block model created in Simulink. To create the Sinusoidal forcing function, a clock and sine function were employed. The top left corner of the block function represents the input forcing sinusoidal function in the differential equation of motion shown above. A scope was placed on this in order to measure its magnitude.

Simulink – Block Model 2 The rest of the block model is exactly like previous simple spring/damper problems. On the right side of the sum block, the differential equation is divided by the mass as shown in the “Gain2” block. Then the differential equation of motion is integrated twice. A scope is placed after the 2 nd integration in order to graph the vertical displacement of the motor. A summation block also joins the gain blocks containing the spring and damper constants b and k. This is the summation of –(b/m)xdot and –(k/m)x (which both have units of Force). The scope joined to this summation enables the plotting of the force of the spring and damper combination.

Simulink – Block Initialization During the construction of the block model, certain blocks were given variables, such as the gain blocks containing the variables k and b, and the gain box containing the 1/m multiplier that divides the equation of motion by the mass. For the simulation to be run, these variables needed initializations. This can be done directly in the Simulink, or can be done via the use of an external.m file. I chose to use an external input file “input.m.” This appears to the right.

Simulink – Force of Spring and Damper on Ground The plot of the Spring/Damper force exerted on the ground is shown to the right. This is exactly the same plot generated by the Camp- G-MATLAB method. The maximum force exerted on the ground appears to be about 5.7 Newtons.

Simulink – Vertical Displacement This is a plot of the Vertical Displacement of the Motor. This value varies slightly from the Camp-G value and the value from the solution to Simulink generates a maximum displacement of a little over 5x10 -6 meters, instead of 7.1x10-6 meters. I used the same initial conditions for the model, and cannot find a solution to why there is this discrepancy. However, the variance in result is somewhat insignificant, varying by only 2 micro meters.

Conclusion In conclusion, both methods to analyze the transient response of this system are efficient and accurate. With accurate bond graphs and Simulink block models, plots displaying the same results calculated by hand in the solution to can be obtained readily and easily. Although there was a slight discrepancy in values with the Simulink model, I still feel the answers generated are within a reasonable margin. Both Simulink and Camp-G are extremely valuable tools when used in conjunction with MATLAB to solve transient spring/damper problems!