Home / Expert Answers / Mechanical Engineering / 2-swing-up-of-a-torque-limited-pendulum-using-trajectory-optimization-in-this-problem-we-will-co-pa610

(Solved): 2. Swing up of a torque-limited pendulum using trajectory optimization: In this problem, we will co ...



student submitted image, transcription available below
2. Swing up of a torque-limited pendulum using trajectory optimization: In this problem, we will consider the problem of swinging up of the pendulum in minimum time Figure 1: Single link pendulum. Consider the pendulum shown in Fig. 1. The equation of the pendulum is where is the angle as shown and is the torque at the pin joint. The torque is bounded . The initial position and velocity of the pendulum are and where is the time. The goal is to get the pendulum upright in the minimum amount of time and . Formulate and solve the problem using either direct collocation or shooting method discussed in the class. (a) Formulate the optimization problem. Clearly define the objective, the constraints, and the optimization variables. (b) Program and solve the problem using scipy.optimize.minimize. Use . Submit the cost, plots of the angle vs. time, angular velocity vs time, and torque vs. time. (c) Now re-solve the problem, but with . Submit the cost, plots of the angle vs. time, angular velocity vs time, and torque vs. time.


We have an Answer from Expert

View Expert Answer

Expert Answer



We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe