SlideShare a Scribd company logo
1 of 13
Dynamics & Control
For Any Quarries or info,
Contact us on :- +1 678 648 4277
You can Mail us on :- info@matlabassignmentexperts.com
Visit us on :- https://www.matlabassignmentexperts.com/
matlabassignmentexperts.com
Problem 7.1 : Derivation of the equation of the motion for a rolling half-disk
Half-disk is rolling without slipping on the plane surface.
i) Derive the equation of the motion. Keep all nonlinear terms and do not linearize.
ii) Linearize the nonlinear motion in case of small angle oscillation. Hint: use small angle approximations such
as sinθ≈θ
iii) Solve the linearized equation of motion obtained in ii) analytically with following initial conditions:
.
matlabassignmentexperts.com
Solution:
Rolling half-disk has only one degree of freedom with the constraint of A v O = rq Generalized coordinate q1 is the
rotation angle of half-disk ( q1 = q ).
Frame A is attached to the ground, and frame B is attached to the center of disk, O. For kinetic energy of rolling half-
disk,
To obtain the speed of half-disk at the center of mass with respect to frame A, A |v CM | , the linear velocity for
rolling half-disk at the center of mass with respect to frame A, A v CM should be calculated first.
matlabassignmentexperts.com
So, the speed of half-disk at the center of mass with respect to frame A is
In addition, the moment of inertia around the center of mass is
Therefore,
For the potential energy of rolling half-disk,
where A P is the position of center of mass
APCM can be calculated as below:
matlabassignmentexperts.com
where L : Lagrangian, T : kinetic energy, V : potential energy, and q : generalized coordinate
matlabassignmentexperts.com
(ii) For small θ, sinθ≈θ & cosθ≈1
In addition, the product of θ and higher order derivatives such as θ,θ
goes to zero: θ 2 ≈0
Therefore, the linearized equation of motion for rolling half-disk
(iii) Homogenous solution can be obtained as follows:
Therefore,
matlabassignmentexperts.com
For the given initial conditions θ(0)= θ0, θ(0)= θ0
Therefore, the solution for the linearized equation of the motion is
matlabassignmentexperts.com
Problem 7.2 : Generate simulation codes for motion for rolling half-disk
Generate functions to simulate the trajectory of θ for rolling half-disk based on following instructions. Simulation time
is 10 seconds. Set r =1m.
i) Use the nonlinearized equation of motion obtained in problem 7.1. i). Use “ode45” for simulation. Function
name (and m-file name) should be ‘RockerRK_your_kerberos_name’ and upload it to 2.003 MIT Server site. You
also submit the hardcopy of your code with appropriate comments. Function has following structure.
function [t,theta]= RockerRK_your_kerberos_name(theta0)
t: time matrix (N×1)
theta: angle matrix (N×1)
theta0: initial condition matrix (1×2)
ii) Use analytical solution obtained in 7.1. iii). Trajectory can be obtained by simply evaluating the analytical solution as
a function of time. Function name (and m-file name) should be ‘RockerAN_your_kerberos_name’ and upload it to
2.003 MIT Server site. You also submit the hardcopy of your code with appropriate comments.
Function has following structure.
function [t,theta]= RockerAN_your_kerberos_name(theta0)
t: time matrix (N×1)
theta: angle matrix (N×1)
theta0: initial condition matrix (1×2)
matlabassignmentexperts.com
Solution:
i) The same method used in the homework #6 is used: Runge-Kutta. Most procedures are identical to the one used in
homework #6. Following is the m-code for the simulation of rolling half-disk.
matlabassignmentexperts.com
ii) The analytic solution you obtained in P7.1 iv) is used to find the trajectory of rotation angle of rolling half-disk. First,
you make time vector which have numbers from 0 to 10 with enough step to describe motion well (I chose 0.01 sec.)
Then, some constants are given, and calculate solution with respect to time matrix. Matrix operation should be used.
The following is m-code for calculating the analytical solution for rolling half-disk.
matlabassignmentexperts.com
Problem 7.3 : Trajectory of θ (t) for both small and large angle oscillations
For the initial conditions given below, simulate the nonlinear motion and the linearized motion for rolling half-disk
up to 10 seconds (use results of Problem 7.2). Compare these results by plotting both of them in the same figure
with the appropriate legends. Are they identical? Otherwise, explain why not. You should hand in hardcopy of the
plots.
i) Small angle oscillation: θ (0) = 5o and θ&(0) = 0 .
ii) Large angle oscillation: θ (0) = 30o and θ&(0) = 0 .
Solution:
i) As expected, the results with Runge-Kutta method and analytic approach are pretty close. The linearization
works for small angle rotation very well. Note that the unit of angle is radian, not degree, when you give the
initial conditions to function you made. Triangular function in MATLAB such as sin, cos, and tan accept for
only radian. The following codes describe how to generate the below plot where the result with different
simulation methods are compared.
matlabassignmentexperts.com
ii) For the case of large angle rotation of half-disk, the linearized rotation motion is quite different from numerical
simulation of nonlinear rotation motion. Rotation obtained with nonlinear equation is a little slower than the one
with the linear equation since nonlinear terms in the differential equation is dominant when the rotation angle
becomes larger. The following codes describe how to generate the below plot where the result with different
simulation methods are compared.
matlabassignmentexperts.com
matlabassignmentexperts.com

More Related Content

Similar to Control System Assignment Help

2015 Recycle Rush2
2015 Recycle Rush22015 Recycle Rush2
2015 Recycle Rush2
Yongjae Kwon
 
From the Front LinesOur robotic equipment and its maintenanc.docx
From the Front LinesOur robotic equipment and its maintenanc.docxFrom the Front LinesOur robotic equipment and its maintenanc.docx
From the Front LinesOur robotic equipment and its maintenanc.docx
hanneloremccaffery
 

Similar to Control System Assignment Help (20)

Project seminar ppt_steelcasting
Project seminar ppt_steelcastingProject seminar ppt_steelcasting
Project seminar ppt_steelcasting
 
Matlab robotics toolbox
Matlab robotics toolboxMatlab robotics toolbox
Matlab robotics toolbox
 
A New Method For Solving Kinematics Model Of An RA-02
A New Method For Solving Kinematics Model Of An RA-02A New Method For Solving Kinematics Model Of An RA-02
A New Method For Solving Kinematics Model Of An RA-02
 
project final
project finalproject final
project final
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
 
Loop parallelization & pipelining
Loop parallelization & pipeliningLoop parallelization & pipelining
Loop parallelization & pipelining
 
MATLABgraphPlotting.pptx
MATLABgraphPlotting.pptxMATLABgraphPlotting.pptx
MATLABgraphPlotting.pptx
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Microelectromechanical Assignment Help.com_Microelectromechanical Assignment ...
Microelectromechanical Assignment Help.com_Microelectromechanical Assignment ...Microelectromechanical Assignment Help.com_Microelectromechanical Assignment ...
Microelectromechanical Assignment Help.com_Microelectromechanical Assignment ...
 
2015 Recycle Rush2
2015 Recycle Rush22015 Recycle Rush2
2015 Recycle Rush2
 
From the Front LinesOur robotic equipment and its maintenanc.docx
From the Front LinesOur robotic equipment and its maintenanc.docxFrom the Front LinesOur robotic equipment and its maintenanc.docx
From the Front LinesOur robotic equipment and its maintenanc.docx
 
Kinematics Modeling of a 4-DOF Robotic Arm
Kinematics Modeling of a 4-DOF Robotic ArmKinematics Modeling of a 4-DOF Robotic Arm
Kinematics Modeling of a 4-DOF Robotic Arm
 
Quantum algorithm for solving linear systems of equations
 Quantum algorithm for solving linear systems of equations Quantum algorithm for solving linear systems of equations
Quantum algorithm for solving linear systems of equations
 
Matlab tutorial and Linear Algebra Review.ppt
Matlab tutorial and Linear Algebra Review.pptMatlab tutorial and Linear Algebra Review.ppt
Matlab tutorial and Linear Algebra Review.ppt
 
Ch09 ssm
Ch09 ssmCh09 ssm
Ch09 ssm
 
Mlab i
Mlab iMlab i
Mlab i
 
Design of sampled data control systems part 2. 6th lecture
Design of sampled data control systems part 2.  6th lectureDesign of sampled data control systems part 2.  6th lecture
Design of sampled data control systems part 2. 6th lecture
 
DAA Notes.pdf
DAA Notes.pdfDAA Notes.pdf
DAA Notes.pdf
 
Presnt3
Presnt3Presnt3
Presnt3
 
Sample quizz test
Sample quizz testSample quizz test
Sample quizz test
 

More from Matlab Assignment Experts

More from Matlab Assignment Experts (20)

🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊
🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊
🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
MAtlab Assignment Help
MAtlab Assignment HelpMAtlab Assignment Help
MAtlab Assignment Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Matlab Homework Help
Matlab Homework HelpMatlab Homework Help
Matlab Homework Help
 
MATLAB Assignment Help
MATLAB Assignment HelpMATLAB Assignment Help
MATLAB Assignment Help
 
Matlab Homework Help
Matlab Homework HelpMatlab Homework Help
Matlab Homework Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Computer vision (Matlab)
Computer vision (Matlab)Computer vision (Matlab)
Computer vision (Matlab)
 
Online Matlab Assignment Help
Online Matlab Assignment HelpOnline Matlab Assignment Help
Online Matlab Assignment Help
 
Modelling & Simulation Assignment Help
Modelling & Simulation Assignment HelpModelling & Simulation Assignment Help
Modelling & Simulation Assignment Help
 
Mechanical Assignment Help
Mechanical Assignment HelpMechanical Assignment Help
Mechanical Assignment Help
 
CURVE FITING ASSIGNMENT HELP
CURVE FITING ASSIGNMENT HELPCURVE FITING ASSIGNMENT HELP
CURVE FITING ASSIGNMENT HELP
 
Design and Manufacturing Homework Help
Design and Manufacturing Homework HelpDesign and Manufacturing Homework Help
Design and Manufacturing Homework Help
 
Digital Image Processing Assignment Help
Digital Image Processing Assignment HelpDigital Image Processing Assignment Help
Digital Image Processing Assignment Help
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 

Recently uploaded

Recently uploaded (20)

Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 

Control System Assignment Help

  • 1. Dynamics & Control For Any Quarries or info, Contact us on :- +1 678 648 4277 You can Mail us on :- info@matlabassignmentexperts.com Visit us on :- https://www.matlabassignmentexperts.com/ matlabassignmentexperts.com
  • 2. Problem 7.1 : Derivation of the equation of the motion for a rolling half-disk Half-disk is rolling without slipping on the plane surface. i) Derive the equation of the motion. Keep all nonlinear terms and do not linearize. ii) Linearize the nonlinear motion in case of small angle oscillation. Hint: use small angle approximations such as sinθ≈θ iii) Solve the linearized equation of motion obtained in ii) analytically with following initial conditions: . matlabassignmentexperts.com
  • 3. Solution: Rolling half-disk has only one degree of freedom with the constraint of A v O = rq Generalized coordinate q1 is the rotation angle of half-disk ( q1 = q ). Frame A is attached to the ground, and frame B is attached to the center of disk, O. For kinetic energy of rolling half- disk, To obtain the speed of half-disk at the center of mass with respect to frame A, A |v CM | , the linear velocity for rolling half-disk at the center of mass with respect to frame A, A v CM should be calculated first. matlabassignmentexperts.com
  • 4. So, the speed of half-disk at the center of mass with respect to frame A is In addition, the moment of inertia around the center of mass is Therefore, For the potential energy of rolling half-disk, where A P is the position of center of mass APCM can be calculated as below: matlabassignmentexperts.com
  • 5. where L : Lagrangian, T : kinetic energy, V : potential energy, and q : generalized coordinate matlabassignmentexperts.com
  • 6. (ii) For small θ, sinθ≈θ & cosθ≈1 In addition, the product of θ and higher order derivatives such as θ,θ goes to zero: θ 2 ≈0 Therefore, the linearized equation of motion for rolling half-disk (iii) Homogenous solution can be obtained as follows: Therefore, matlabassignmentexperts.com
  • 7. For the given initial conditions θ(0)= θ0, θ(0)= θ0 Therefore, the solution for the linearized equation of the motion is matlabassignmentexperts.com
  • 8. Problem 7.2 : Generate simulation codes for motion for rolling half-disk Generate functions to simulate the trajectory of θ for rolling half-disk based on following instructions. Simulation time is 10 seconds. Set r =1m. i) Use the nonlinearized equation of motion obtained in problem 7.1. i). Use “ode45” for simulation. Function name (and m-file name) should be ‘RockerRK_your_kerberos_name’ and upload it to 2.003 MIT Server site. You also submit the hardcopy of your code with appropriate comments. Function has following structure. function [t,theta]= RockerRK_your_kerberos_name(theta0) t: time matrix (N×1) theta: angle matrix (N×1) theta0: initial condition matrix (1×2) ii) Use analytical solution obtained in 7.1. iii). Trajectory can be obtained by simply evaluating the analytical solution as a function of time. Function name (and m-file name) should be ‘RockerAN_your_kerberos_name’ and upload it to 2.003 MIT Server site. You also submit the hardcopy of your code with appropriate comments. Function has following structure. function [t,theta]= RockerAN_your_kerberos_name(theta0) t: time matrix (N×1) theta: angle matrix (N×1) theta0: initial condition matrix (1×2) matlabassignmentexperts.com
  • 9. Solution: i) The same method used in the homework #6 is used: Runge-Kutta. Most procedures are identical to the one used in homework #6. Following is the m-code for the simulation of rolling half-disk. matlabassignmentexperts.com
  • 10. ii) The analytic solution you obtained in P7.1 iv) is used to find the trajectory of rotation angle of rolling half-disk. First, you make time vector which have numbers from 0 to 10 with enough step to describe motion well (I chose 0.01 sec.) Then, some constants are given, and calculate solution with respect to time matrix. Matrix operation should be used. The following is m-code for calculating the analytical solution for rolling half-disk. matlabassignmentexperts.com
  • 11. Problem 7.3 : Trajectory of θ (t) for both small and large angle oscillations For the initial conditions given below, simulate the nonlinear motion and the linearized motion for rolling half-disk up to 10 seconds (use results of Problem 7.2). Compare these results by plotting both of them in the same figure with the appropriate legends. Are they identical? Otherwise, explain why not. You should hand in hardcopy of the plots. i) Small angle oscillation: θ (0) = 5o and θ&(0) = 0 . ii) Large angle oscillation: θ (0) = 30o and θ&(0) = 0 . Solution: i) As expected, the results with Runge-Kutta method and analytic approach are pretty close. The linearization works for small angle rotation very well. Note that the unit of angle is radian, not degree, when you give the initial conditions to function you made. Triangular function in MATLAB such as sin, cos, and tan accept for only radian. The following codes describe how to generate the below plot where the result with different simulation methods are compared. matlabassignmentexperts.com
  • 12. ii) For the case of large angle rotation of half-disk, the linearized rotation motion is quite different from numerical simulation of nonlinear rotation motion. Rotation obtained with nonlinear equation is a little slower than the one with the linear equation since nonlinear terms in the differential equation is dominant when the rotation angle becomes larger. The following codes describe how to generate the below plot where the result with different simulation methods are compared. matlabassignmentexperts.com