Question: In this assignment you will determine parameters for a controller design based on linearized EOM and determine the efficacy of the design by simulating the
In this assignment you will determine parameters for a controller design based on linearized
EOM and determine the efficacy of the design by simulating the nonlinear EOM with the
controller implemented. Specifically:
Create a python program that uses the parameters SI units and
to calculate and given and
Within the program create a function that provides the statespace representation of the
nonlinear EOM. Use the state variables vec and implement the controller as
Use the double pendulum example as a template for the state
space representation.
Simulate the system given the initial condition vecremember to convert
to radians Congratulate yourself on the response for before noticing the unacceptable
response for Simulate for seconds.
Simulate the system given the initial condition vec to see if the
controller will still bring despite the initial conditions being so far from the
reference value about which you linearized. Conclude that maybe the other state variable
needs to be feed back.
Try using guesses for and until frustration
sets in then try and the initial
condition vec and then congratulate yourself on the overall response.
Observe that even though the initial condition is far from the state about which you
linearized, the controller still works. This course will be in large part, about techniques
for designing the controller without relying completely on trial and error.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
