All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Aim :- Build simulink models of force applied on cutting tool, implement equation of z=3x2-5y+18 and understanding the Mass-spring-damper system. Objective :- 1. The force on a cutting tool of a shaping machine varies over the length of cut as follows: Distance (mm) 0 …
SIDDHESH PARAB
updated on 19 Oct 2021
Aim :-
Build simulink models of force applied on cutting tool, implement equation of z=3x2-5y+18 and understanding the Mass-spring-damper system.
Objective :-
1. The force on a cutting tool of a shaping machine varies over the length of cut as follows:
Distance (mm) 0 20 40 60 80 100
Force (kN) 60 72 65 53 44 50
Determine the work done as the tool moves through a distance of 100 mm.
2. Create two array data sets x = [22 3 55.6 9 12 10] and y = [5 31 95 56.3 77 61] from the command window. Create a Simulink model to implement equation z=3x2-5y+18 Store result values using To File block.
3. Go to Matlab Help. Type the keyword ‘Mass-Spring-Damper in Simulink and Simscape’. Open the model and solve the following problems:
ANSWER :-
1] Part 1 :-
The force on a cutting tool of a shaping machine varies over the length of cut as follows:
Distance (mm) 0 20 40 60 80 100
Force (kN) 60 72 65 53 44 50
Determine the work done as the tool moves through a distance of 100 mm.
Basic Blocks used in Simulink Model :-
Simulink Model :-
Google Drive Link :- https://drive.google.com/file/d/1LC1VaWW_XZRMcR5o-0RF_VRNr3Sgvbu3/view?usp=sharing
Explanation :-
2. Thereafter, we have connected scope block to output terminal of signal builder block to see input signals of Force v/s Displacement graph.
The same is as under;
3. As we aware that, we have to find the work done by cutting tool through a total distance of 100 mm. Hence, we know that we have to use following equation to get the desired result.
4. Hence, we have used integrator block to integrate all input values. Thereafter, we have connected display block to integrator block to check the total work done by cutting tool through a distance of 100 mm.
The displayed value of work done is as under;
5. Also, we have connected scope block to output terminal of integrator block to see the graph of work done by cutting tool.
Output Graph :-
Conclusion :-
PART 2:- Create two array data sets x = [22 3 55.6 9 12 10] and y = [5 31 95 56.3 77 61] from the command window. Create a Simulink model to implement equation z=3x2-5y+18 Store result values using To File block.
Blocks used in the simulink model :-
Simulink Model :-
Google Drive Link :-
https://drive.google.com/file/d/18f9tpVS4-ccuof_H23B4rDUGGiv9_nt0/view?usp=sharing
Explanation :-
1. Initially, we have created two input arrays X = [22 3 55.6 9 12 10] and Y = [5 31 95 56.3 77 61] in the command window and the same is as under;
2. Thereafter, we have attached constant blocks of value '3' and 'X' value block and further, connected to product block to get output value of 3x^2.
3. Similarly, we have attached constant blocks for value '5' and 'Y' value block and further, connected to product block to get output value of 5Y.
4. Then, we have connected input signal of 3x^2, 5Y and 18 to the sum block, so that output has been achieved for equation z= 3x^2 -5Y +18.
5. At the output of sum block, we have attached display block to see output values for particular given equation.
For particular equation, we got the output values as under;
6. Also, we have connected To file block to the output port of sum block so that all generated output values can be stored in 'untitled.mat' matlab file. The same is as under;
7. After opening, we have created the variable named 'ans' and the same was shown in the workspace. Here, we have run the simulation for 10 sec,hence total 6 values were generated for every seconds starting from 0 to 10 sec.
PART 3 :- Go to Matlab Help. Type the keyword ‘Mass-Spring-Damper in Simulink and Simscape’. Open the model and solve the following problems:
Theory :-
F.B.D. of Spring-Mass-Damper system :-
Governing Equation of the model :-
While going through the F.B.D. of Spring-Mass damper system, we observed that block of mass (m) is having displacement of x meter due to the force (F). However, damper and spring were having their damping force and spring force respectively as resisting forces to external force (F).
Therefore,
Spring force (Fs) = kx;
Coulomb Damping Force (Fd) = bx';
where,
k= Spring constant (N/m)
b= Damping coefficient (N/(m/s))
x= Displacement (m)
x' = Velocity (m/s) = dx/dt
m = block of mass (Kg)
Considering all the forces the Y direction, we get
F = -bx' - kx ......... (1)(Downward forces considered positive and Upward forces considered negative)
also,
we know that force (F) =Mass x Acceleration
However,
Acceleration = (d^2)x/dt^2 = x'' (m/s^2)
Hence, putting the values of force (F) in the equation(1), we get,
F = -bx' - kx
Mass x Acceleration = -bx' - kx
m [(d^2)x/dt^2] = -bx' - kx ...............(2)
Dividing the equation (2) by mass(m), we get
[(d^2)x/dt^2] = (-b/m)x' - (k/m)x
Resubstituting the value of acceleration =(d^2)x/dt^2 = x'' in the above equation, we get,
x" = (-b/m)x' - (k/m)x
Rearranging the equation, we get,
x"+(b/m)x' +(k/m)x = 0 .............(3)
The above equation (3) represents governing equation of above Spring-mass-damper system.
This equation is also called as Second order linear differential equation.
For default values of mass (m), damping (b) and spring constant(k), we have the output graph of velocity for simulink and simscape is as under;
mass (m) = 3.6 kg
Damping coefficient (b) = 10 N/(m/s)
Spring constant (k) = 400 N/m
When we change the input value of mass, damper and spring for simscape model and changing the value of mass, displacement as x0=2, we get
For simulink model at x0=2m,
m=10 kg
b= 10 N/(m/s)
k= 400 N/m
For simscape model at x0=1m,
m =5 kg
b= 5 N/(m/s)
k=800 N/m
Output Graph :-
Observations:-
For creating two seperate displays/ graphs, we have to modify the model as under;
Google Drive Model link :-
https://drive.google.com/file/d/19xA2PhqwfA0Syyt4PIwqpl5G57liXQCr/view?usp=sharing
Output Graphs:-
Conclusion :-
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...
Project 2-Highway Assistant-Lane Changing Assistant
Aim :- Model Based Development of Highway Assistant – Lane Changing Assistant Objective :- To develop one specific requirement of Highway Assistant – Lane Changing Assistant algorithm. Please note that the whole Highway Assistant – Lane Changing Assistant is a very huge algorithm & only one small…
14 Feb 2022 04:19 PM IST
Project 1- Traffic Jam Assistant Feature
Aim :- Traffic Jam Assistant Feature Objective :- This model must be developed in MATLAB Simulink as per MBD guidelines according to the requirements given. Tag the requirements to the Simulink model, Requirements 1 & Requirement 2 are tagged into their corresponding subsystems. Creation of Simulink Data Dictionary…
05 Feb 2022 06:55 PM IST
Design of an Electric Vehicle
AIM:- Create a MATLAB model of an electric car that uses a battery and a DC motor. Choose suitable blocks from the Powertrain block set. Prepare a report about your model including the following: ABSTRACT:- In this project, we going to build the MATLAB model of ELECTRIC CAR by using a DC motor and a suitable battery for…
01 Feb 2022 06:47 AM IST
Project 2 Adaptive Cruise Control
Aim :- Develop a MATLAB Simulink Model for Adaptive Cruise Control feature used in Automotive Vehicle Objective:- To develop a Adaptive Cruise Control feature as per the Requirement Document using MATLAB Simulink. While Developing the Adaptive Cruise Control Simulink Model, we have follow all the MBD related processes…
22 Jan 2022 08:13 AM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.