Commands have limits.
Please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.mit.edu) to authenticate, and then you will be redirected back to this page.
In the propeller arm, let us consider just the "D" part of the PD controller,
For this ENTIRE question, assume
Suppose m = 1, and \theta_d[n] = 0 for n < 0 and \theta_d[n] = 0.1 for n \ge 0. What are the values of c[0], c[1] and c[2]?
Again assume \theta_d[n] = 0 for n < 0 and \theta_d[n] = 0.1 for n \ge 0. What is the smallest value of m (which is an integer) for which c[n] < 1 (strictly less than 1!)?
Now suppose \theta_d[n] = 0 for n < 0 but for n \ge 0,
If \lambda = 0.9 and m = 1, what are c[0], c[1], and c[2]?
Give an analytic expression for c[n], n \ge 1, as a function of \lambda and n. Use python syntax and use 'lam' for \lambda. For example, to enter \frac{1}{(1 - \lambda^n)}, type 1/(1-lam**n).
What is smallest value of \lambda > 0 for which is c[n] \le 1 for all n?
If \theta_d[n] = 0.1*(1 - \lambda^n), and for your \lambda above, how long, in seconds, does it take for \theta_d[n] to get to within two percent of its steady-state value \lim_{n \rightarrow \infty} \theta_d[n] = 0.1. Keep in mind that \Delta T = 1.0e-3.
Suppose we wish to determine a difference equation that smooths \theta_d. That is,
If \theta_d[n] = \theta_{d0} for n \ge 0, and zero otherwise, for what values a_1 and a_2 will \theta_{ds}[n] = theta_{d0}*(1 - \lambda^{n+1})?
Give an analytic expression for a_1 and a_2 as a function of \lambda. Use python syntax and use 'lam' for \lambda. For example, to enter \frac{1}{1- \lambda}, type 1/(1-lam).
If we change the smoothing slightly, and you have the correct coefficients for a_1 and a_2, then
Based on this difference equation, we can relate \theta_{ds}(z) to \theta_{d}(z), as in
The take-away? You can dramatically reduce the maximum value the derivative term of the motor command if you smooth the step changes in desired angle. And since the motor command for the propeller arm system has a maximum value of 1, you can either smooth the desired angle or struggle with the nonlinearity associated with limiting the motor command.