All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
AIM: To find work done by a cutting tool, create a model to implement a given equation and analyze the example 'Mass-Spring-Damper' using Simulink. OBJECTIVE: 1. To determine the work done as the tool moves through a distance of 100 mm using the given data. Distance (mm) 0 20 40 60 80 100…
Ayush Ulhas Deshmukh
updated on 22 Jul 2020
AIM: To find work done by a cutting tool, create a model to implement a given equation and analyze the example 'Mass-Spring-Damper' using Simulink.
OBJECTIVE:
1. To determine the work done as the tool moves through a distance of 100 mm using the given data.
Distance (mm) | 0 | 20 | 40 | 60 | 80 | 100 |
Force (kN) | 60 | 72 | 65 | 53 | 44 | 50 |
2. To implement the equation z=3x2-5y+18 and store result values using To File block.
Given array data sets are;
x = [22 3 55.6 9 12 10] and y = [5 31 95 56.3 77 61]
3. To run the Simulink example 'Suspension System Comparison' and determine:
- Derive the governing equation for the model.
- Change the value of mass, damper, and spring for the Simscape model and plot the result. Change the value of Mass x0=2 in the Simulink model and plot the results.
- Make the response from Simscape and Simulink as two separate displays.
SOLUTION:
Part #1: A Simulink model for the given problem is shown below.
Input #1: A plot for the Force vs. Distance is displayed below for d = 100 mm.
Output #1: A plot for the work done at each time instance is displayed below for d = 100 mm.
Part #2: A Simulink model for the given function is shown below.
Code #2: The MATLAB program to solve the given equation is shown below.
% Program to solve the given equation.
% Input variables:
x = [22 3 55.6 9 12 10];
y = [5 31 95 56.3 77 61];
% Output:
z = (3*x.^2) - (5*y) + 18
Output #2: Similar values are obtained in workspace output as that of the Simulink model display.
A plot for the output values is displayed below according to given input arrays.
Part #3:
THEORY: A mass-spring-damper (MSD) system is a discretized model of any dynamic system.
The mass of the dynamic system is lumped into a single point mass in the MSD system. The inertial effect of the dynamic system is related through this lumped mass. The stored energy/internal energy of the dynamic system is modelled as a one-dimensional spring in the MSD system. The spring is able to store energy inside when it is stretched or compressed from its original length. The energy dissipated out of the dynamic system is modelled through a one-dimensional damper in the MSD system. The viscous damper, for instance, is able to dissipate energy as heat outside the dynamic system.
#3.1: Deriving the governing equation for the model.
From the figure; considering the free body diagram (FBD):
ma=ΣF=F-kx-bv
ma=F-kx-bv
ma+bv+kx=F
For equilibrium condition, F=0
ma+bv+kv=0 i.e. md2xdt2+bdxdt+kx=0
This is the required expression.
where;
a=..x=d2xdt2 = Acceleration (m/s2)
v=.x=dxdt = Velocity (m/s)
x = Displacement (m)
m = Mass (kg)
b = Damping coefficient [N/(m/s)]
OR
At Summation block,
[-kx-bv]1m=a
-kx-bv=ma
ma+bv+kx=0
#3.2:
- Change the value of mass, damper and spring for the Simscape model and plot the result.
For b = 20 N/(m/s), k = 250 N/m, m = 10 kg
For b = 40 N/(m/s), k = 100 N/m, m = 25 kg
- Change the value of Mass x0=2 in the Simulink model and plot the results.
#3.3: Make the response from Simscape and Simulink as two separate displays.
- Simscape output (b = 10 N/(m/s), k = 400 N/n, m = 3.6 kg)
- Simulink output (b = 10 N/(m/s), k = 400 N/m, m = 3.6 kg)
CONCLUSION: From the above results, we can infer that:
1. Net Work done is the area under the curve (Force vs Distance) and found to be 5780 kN.mm i.e. 5780 N.m
2. All values are displayed in the workspace and stored in the file z.mat
3.
3.1 Governing equation was derived in two ways
3.2 Increasing the damping coefficient value decreases the amplitude of the output, Incrementing the initial condition increases the oscillations
3.3 Simulink and Simscape outputs are same irrespective of their environments
REFERENCES:
1. Image Source
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Simple Crank Mechanism for different cases using HYPERWORKS
AIM #1: To simulate the simple crank mechanism using cylinders (diameter = 2m) in a 2D plane (XY) as shown in the figure below. In the case shown above, Revolute joints are located at P0 and P1. What type of joint must be given at P2 (Joint C) so that the system doesn't have redundancy issues? NOTE: Joint…
26 Mar 2021 03:39 PM IST
Compound Pendulum using HYPERWORKS
AIM: To simulate the motion of a compound pendulum under the influence of gravity as per the figure shown below. - Location of the points are shown in the figure, at P0 and P1 the rods are connected by revolute joints, all characteristic data for the rods/cylinders should be taken from…
22 Mar 2021 08:22 PM IST
Projectile Motion of a Cylinder using HYPERWORKS
AIM: To simulate the projectile motion of a cylinder (diameter = 2m) in a 2D plane (XY) as per the figure shown below. - Initial translation velocity about the center of mass = 10 m/s, Initial angular velocity about the center of mass = 10 rad/s. - All physical attributes for the model must be automatically…
22 Mar 2021 08:13 PM IST
Free Falling Body using HYPERWORKS
AIM: To simulate and plot a free-falling body (point mass) of mass 1 kg and inertial properties 1 kgm2 in the Y-axis (gravity should be 9.81 m/s2 in the negative Y-direction, use dimension of length in meters not mm) A screenshot of the entire interface must be attached including the plot…
22 Mar 2021 08:11 PM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.