EML6351 Project 1 Solved

30.00 $

Category:

Description

5/5 - (1 vote)

1         Dynamics

Consider the two-link dynamic system

where are the angle, angular velocity, angular acceleration,

and input torque of the arm joints

 ,

mi,li ∈R>0 are the unknown constant mass and length of link i, g = 9.8 sm2 is gravity,

ci = cos(Ï•i), si = sin(Ï•i),

c12 = cos(Ï•1 + Ï•2), s12 = sin(Ï•1 + Ï•2).

2         Design and Simulation

Assume m ≤ mi ≤ m, l ≤ li ≤ lare known bounds on the unknown mass and length of link i, with

mi = 2kg, li = 0.5m, m = 1kg, m = 3kg, and l = 0.25m, l = 0.75m. Also, assume that ϕ,ϕ,˙ ϕ¨ are all measurable. Let the desired trajectory have a magnitude of, at a frequency of fϕd ≜ 0.2Hz,

a phase shift, and bias of, such that

implying  and .

  1. (50 pts) Design a gradient adaptive controller that regulates the system to the desired trajectory and prove the designed controller is stable using Lyapunov-based methods. Show all your work and discuss the approach you took.
  2. (50 pts) Simulate the system tracking the provided desired trajectory. Additionally, provide the following:

1

  • Plot the norm of your tracking error and filtered tracking error over time.
    1. Based on these plots, how well did the designed controller track the desired trajectory?
  • Plot the norm of your parametric error over time.
    1. Based on the plots how well did you estimator approximate the unknown parameters?
    2. Plot the norm of the total input, the feedback portions of the input, and the feedforwardportions of the input and discuss how the total input behaved over time (e.g., did the input rely on feedback the majority of the time or did the feedforward portion become the majority of the input over time).
  • Based on the plots, use quantitative and qualitative descriptions of the plots and data to brieflydiscuss whether your simulation matches your stability result, and describe anything you think would improve the result.

2

  • Project-1-jraomw.zip