case of the
the mass is m is 4 kg and the spring constant k is 1 N/m.
mass-spring-damper,
1. Choose one model. Using Simulink, set-up the appropriate block diagram correspond-
ing to the governing differential equation (Equation 1 or 2). You'll also have to use a
scope to monitor both the forcing function (either Vert or Fert and the output (either V
or y. In the simulation, use a maximum step size of 0.01 (This is found in the "Model
Configuration Parameters" under the simulation tab. If the maximum step size is left
on auto, Simulink sometimes uses too large of a step and the outputs displayed in the
Scope box will be jagged rather than smooth). For the integrator blocks, the initial
condition is 0 at time 0. Run all simulations for 100 seconds.
The appropriate boundary conditions are either y(0) = 0 and y'(0) = 0 or V(0) = 0
and V'(0) = 0.
Finally, to introduce the forcing function into your block diagram use the "Step block"
found under sources. Choose a step time of 10 s, an initial value of 0, and a final value
of 10. If done correctly the forcing function will change from a value of 0 to 10 at 10
seconds./n2. Case 1: Run the simulation using either R = 0 or pf = 0N s/m.
3. Case 2: Run the simulation using either R = 0.62 or p = 0.6 N s/m.
4. Case 3: Run the simulation using either R= 1.52 or pf = 1.5N s/m.
5. Case 4: Run the simulation using either R = 32 or f = 3N s/m.
6. Case 5: Run the simulation using either R = 40 or y=4N s/m.
7. Case 6: Run the simulation using either R = 8N or pf = 8N-s/m.
8. Case 7: Run the simulation using either R = 16 or µ = 16 N. s/m.
9. Comment on your findings in Questions 2 through 8. In particular, you should find that
Case 5 separates Cases 2-4 from Cases 6 and 7 based on the roots of the characteristic
equation. Here, Cases 2-4 correspond to underdamped responses, Case 5 corresponds
to a critically damped response, and Cases 6-7 correspond to overdamped responses.
Case 1 corresponds to an undamped response. Here think about the influence of friction
(or resistance) on the response. Do the trends seem appropriate in terms of what we
understand about friction (or resistance)?/nDIRECTIONS:
Number your Answers!
Question 1: Show the block diagram that you used in Simulink with all blocks and signals
clearly labeled.
Questions 2-8: Show all 7 plots corresponding to each different value of either resistance
or coefficient of friction.
Question 9: Briefly discussion your findings in terms of the roots of the characteristic
equation. In particular, you should find that Case 5 separates Cases 2-4 from Cases 6 and
7. Here, Cases 2-4 correspond to underdamped responses, Case 5 corresponds to a
critically damped response, and Cases 6-7 correspond to overdamped responses. Case 1
corresponds to an undamped response. For each of these cases, calculate the damping
ratio. Comment on the effect of the dammping ratio on the type of transient response.
Save your assignment as a PDF and upload to the assignment submission window.
Fig: 1
Fig: 2
Fig: 3
Problem 1. (25 pts) Use the AE5031_HMW1_1.m code to solve the ODE df/dt = -f, f(0) = 1. a) [5 pts] Find the exact solution. b) [10 pts] Use the code for various timesteps 4t and calculate the error= | Exact- Numerical/Exact as a function of the Dt at time time t = 1. c) [10 pts] Plot the error versus the At on a logarithmic scale to confirm that the error decreases proportionally to the 4t (1st order accuracy)
Question 1 20 pts For cruise control, the longitudinal motion of a vehicle on a flat road can be modeled by the first-order nonlinear differential equation mvu - Kv - Kav², where m is the vehicle's mass, v is its speed, u is the tractive force generated by the engine, is the viscous friction force, and is the aerodynamic drag. Suppose m = 4500 lbs, Kf = 2.5N/(m/s), and K = 0.8N/(m/s)². (3+7 + 10 = 20 pts) 1. Define equilibrium values for all variables of interest for the desired equilibrium point where the equilibrium speed is ū=65 mph. 2. Linearize the system around this equilibrium point, defining all variables in the equation clearly, and specify the linearized transfer function (numerical values). 3. Suppose that the custom is at/n3. Suppose that the system is at equilibrium (at 65mph), and the road grade suddenly increases to 3% (see Elevation Grade Calculator (omnicalculator.com) if you need help with this term). The equations will now change to mi = u - K₁v-K₁v² - mgsin(0), and the speed will drop. Can you use linearization to design a control law of the form u=ū+ Au, Au=-kAv, Av=v- i , where k is the gain of the controller that you will choose by "experimentation" (too small a gain and it won't have much effect, too large a gain might cause the throttle to saturate in a real-world scenario) to bring the car speed back (close) to the equilibrium value of 65mph ? If so, show me a simulation for 10 min of the system where the grade abruptly changes from 0 to 3% at 5mins, and then drops back to zero at 7mins. Include 2 subplots, one where there is no feedback control. I.e.. Ava - SO/nequilibrium value of 65mph ? If so, show me a simulation for 10 min of the system where the grade abruptly changes from 0 to 3% at 5mins, and then drops back to zero at 7mins. Include 2 subplots, one where there is no feedback control, i.e., Au = 0, so that u =ū, and a second subplot where you have designed the above controller for an appropriately chosen gain k. Are you able to make the error converge to zero? Why do you think the above controller is unable to do so ? Later on in the course, we will see how to use integral control to make the "steady-state error" (i.e, the error as t → ∞o) zero. Upload Choose a File
The simple all-revolute 4-bar linkage shown below has an input angle of 60 degrees. Write a MATLAB.m file that performs the Newton-Raphson's method to solve for 3 and 4. Submit your code and your answer for full credit. 90'0 2 0.15 m 0.18 m 3 4 0₂ 3 0.08 m Ө.
2. Start running MATLAB at your computer. The first window that MATLAB loads up is the command window, which is blank except for the prompt »>. Change the current working directory to the mymatlab directory, i.e. type: >> cd c:\temp\mymatlab
Problem #1: Finite element beam problem L=1m Radius of the beam r=2 cm, and elastic modulus E = 200 GPa. Assume the beam is undergoing a small linearly elastic deformation. 8 a) Using MATLAB, analytically compute the deflection at the free end of the beam using the following equation: P = 100 N Px² 6EI (3L - x) b) Using the finite element method (FEM) with five beam elements of equal length: Generate the individual stiffness matrices K₂ for each element of the beam and assemble them into the global stiffness matrix Kg. Print each of the individual matrices and the global stiffness matrix. Calculate and print the displacements and rotations (in degree) for each node of the beam. Calculate and print the reaction forces and moments at each node of the beam. c) On the same figure, plot the vertical deflection throughout the beam for both analytical and FEM solution. Include title, axis labels, legends, and grid. Compare and discuss the two solutions. d) Discuss how you would increase the bending stiffness of the beam when the cross-sectional area and material must be kept the same. e) Perform Model (Frequency) Analysis of the beam in Solidworks. Take screen shot of the first three modal shapes along with their frequencies (make sure the values are readable). f) Validate the 1st natural frequency from part (e) using analytical modal analysis for cantilever beam
Throughout the next several weeks you will be developing a computer program to perform a complete analysis of a four-bar linkage. This current assignment only requires the position analysis. Velocity, acceleration, and force analyses will be added in the future. You may use any programming language. I suggest that you will want a procedural language (eg, Matlab, C++, Fortran). Input the rigid dimensions of a four-bar linkage. Your program should be flexible enough to readily accept any dimensions, ie, it should not be hard-wired for only one specific set of dimensions. Perform a position analysis of the linkage for the complete range of motion of the input link. Allow for choice of form of assembly. Inputs: R₁, R₂, R3, R4. Bp. p.Open or crossed, increment of 2 Outputs: 3, 4, and the absolute position of P, all tabulated for the entire range of 2 (b) (c) Rp (d) R₂ Homework 4 ME 3313 Fall 2023 Assigned: 9/5/2023 Bp Y answers. Program listing: P 0₂ 03 R₁ Each programming submission should include the following, submitted as a scanned image or pdf file: (a) R4 04 X Cover memo: This memo should briefly summarize what follows. Describe any known bugs or incorrect This is a text document of the program code, not the MATLAB executable. The program must be documented. Make it easy to understand what is going on. Sample run: Show a sample run with the output of the program using the following data: R₁ = 0.6 m; R₂= 0.2 m; R3 = 0.3 m; R4= 0.4 m; Bp = 0.2 m; p= 35° Verification of answers: It is important to verify your answers. In addition to the penalty for incorrect answers, you can lose another 10% for not knowing that your answers are incorrect. There is no excuse for not checking the validity of your numbers. Don't skip or skimp this part of the assignment. Include documentation that shows your verification. You will want to spot check the results for at least one position, including open and crossed configuration. You will also want to confirm that your range of motion is correct.