Analyse the performance of the closed-loop system

Assignment Help MATLAB Programming
Reference no: EM133523395

Question 1 The ball and beam system (see Figure 1) has been used frequently in testing different control algorithms.

1886_Figure.jpg

 

Figure 1

Figures 2 and 3 illustrate the model of the system.

2142_figure1.png

 

Figure 2

1040_figure2.png

 

Figure 3

The model of the ball and beam system can be simplified as

mx¨ = mg sinθ,

Where x is the position of the ball, and θ is the beam angle. The beam angle can be assumed to be proportional to the control input u (the motor angle control voltage), and the g is the acceleration caused by gravity. That is

θ = u/g

The position of the ball can be measured by a special sensor. That is, the output is the position x.

(1). Define x1 = x, x2 = x?, write down the nonlinear state space model of the ball and beam system. Then assume the beam angle (input) is small, linearise this system and get the linear continuous time state space model of the system.

(2). Using either hand calculation or MATLAB, perform the following tasks for the linear state space model obtained in (1),

(2A) Design the state feedback control such that the poles of closed loop system are -6 and -7.

(2B) Design the state feedback LQR control law for716_matrix.jpg

(2C) Design the state observer such that the poles are -8 and -7.

(2D) Design the Kalman-Bucy filter with 1954_matrix1.jpg

(3). Analyse the performance of the closed-loop system:

Compare the LQR performance index for the closed-loop system using state feedback (2A) and the closed-loop system using state feedback in (2B). Use the Q and R given in (2B). Compute the value of the performance index of each system for three different initial state values

2052_matrix2.jpg

(4). Assume we want to control the ball position to 0.5 instead of 0, design the state feedback set point control law with the poles of the closed-loop to be -6 and -7.

Question 2:

Examine the state space model of the inverted pendulum (Question 1 in Assignment 1),

(1) Write MATLAB code to design a state observer such that the poles of the observer are -5,- 3,-6,-8.

(2) Write MATLAB code to design state feedback control law u=-Kx such that the poles of the closed-loop system are -4, -3, -5, -7 (as in Assignment 1 Question 1). Describe the state- space model of the closed-loop system including the observer and feedback control.

(3) Simulate the state trajectory of both the open-loop system and the closed-loop system (state feedback case only) for any given initial states by Simulink.

Question 3:

Consider system

812_matrix3.jpg

Choose V(x) = x12 + 3x22 and use Lyapunov stability theorem to demonstrate that the equilibrium state of the system is stable.

Question 4:

Consider a mobile robot following a circular trajectory. The mobile robot position at time t is denoted as (x(t), y(t)) and its orientation at time t is denoted as θ(t), the velocity and turn rate are denoted as ??(t) and ??(t) respectively. The nonlinear motion model can be simplified as

2006_equation2.jpg

Suppose the desired trajectory (reference trajectory) is a circular trajectory

1992_equation3.jpg

where (x0, y0) is the center of the circle, and R is the radius of the circle. Then the reference trajectory satisfies

1821_equation4.jpg

where vr = Rωr

Consider the difference between the actual robot trajectory and the desired robot trajectory in the robot local frame. That is, define new state as

1136_matrix4.jpg

Then the tracking error model is

2424_equation.jpg

Define the new control as

1393_equation1.jpg

(1) Derive the nonlinear state space model of the system with state (xe, ye, θe) and control (ve, we).

(2) Assuming xe, ye, θe, ve, ωe are all close to zero, linearise the system at the operating point (xe, ye, θe, ve, we) = (0,0,0,0,0) to derive the state-space model of the linearised control system.

(3) Let vr = 0.6, wr = 30°. Design state feedback control law for the linearised system such that the poles of the closed loop system are -4,-6,-10.

(4) Let vr = 0.5, wr = 30°. Design the state feedback LQR control for the linearised system with1626_matrix5.jpg

Question 5:

Use MATLAB simulator or Simulink to test the controller design using the model developed in Question 4 (set the desired velocity as 0.6 and the desired turn rate as 30°). A template of the MATLAB simulator and a Simulink model are provided which is used to simulate a robot moving along a straight line. You are required to

(1) change the simulator or Simulink to be the circular trajectory situation and complete the open-loop (simply fix the velocity and turn rate) and closed-loop control design (using pole placement and LQR on the linearised model as in Question 4) and integrate it with the MATLAB simulator or Simulink,

(2) compare the performance of the closed-loop systems using different controllers with that of the open-loop system, and discuss the results obtained.

For MATLAB Simulator, you are suggested to use the following template:
Run Ass2_49329_Simulation_template.m for the simulator. Choose open-loop or closed-loop in line 9-10:
closed_loop=0; % open-loop closed_loop=1; % closed-loop
You can change the simulation time period in line 12: time_period = 100; % simulation time period
For the closed-loop design, you need to modify the file: control_velocity_turnrate_49329.m

For Simulink, you are suggested to use the following template: Mobile_robot_open_loop.slx Mobile_robot_close_loop_with_noises_straight_line.slx

Reference no: EM133523395

Questions Cloud

What does it mean for an algorithm to be interpretable : What does Vispera need to accomplish technically before it can work with a client? What does it mean for an algorithm to be interpretable?
Reasoning for biennial nature of the texas legislature : Evaluate the reasoning for the biennial nature of the Texas Legislature. Does this make sense in the modern world? Why or why not?
How to prevent this social issue through : How to prevent this social issue through the lens of personality theories. The first paragraph of the paper should introduce the social
Why is ethnicity or nationalism such potent reason for wars : Why is "ethnicity" or "nationalism" such a potent reason for wars, civil wars, and genocide?
Analyse the performance of the closed-loop system : Analyse the performance of the closed-loop system and Simulate the state trajectory of both the open-loop system and the closed-loop system
Analyze costs and benefits of alternative courses of action : Develop appropriate decision models, identify and analyze the costs and benefits of alternative courses of action and recommend optimal solutions.
What is significant about the pricing strategy : Observe the strategies that you have seen or experienced. Have you experienced price discrimination? What is significant about the pricing strategy?
Why your recommendation would be an appropriate solution : Explain why your recommendation would be an appropriate solution for building connections in a distributed workforce.
Early maps contained many inaccuracies : Early maps contained many inaccuracies, resulting not just from limits of technology, finance but also from widely held beliefs about what America should look

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Write a matlab program to implement the discrete system

ECE - Assignment - Define the finite volume Vi of node i and indicate the appropriate location assignment of the magnetic field H in the mesh - Write a MatLab program to implement the discrete system given by Eq. (2) and solve for the cross-sectiona..

  Estimate the probability that the fourth ball is white

Estimate the probability that the fourth ball is white. You can use t = 10000 trials to make the estimation.

  Compute the amount you spent in buying shares

The price, in dollars, of a certain stock over a 10-day period is given as: price = [19, 18, 22, 21, 25, 19, 17, 21, 27, 29].

  How spectrograms can be used in non-stationary signals

Use calculations and/or your conceptual understanding of spectra to predict what you'd expect the spectrum of this signal to look like. Confirm this hypothesis by again using fft() in MATLAB to plot the actual spectrum. If MATLAB differs from your..

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Multidisciplinary design and engineering optimisation

Design optimisation problem from the attached list of design problems. Write a report with no more than 6500 words and no more than 15 A4 pages in the main

  Blood declines due to metabolic processes

Find an expression for the half-life in terms of k, and obtain a plot of the half-life versus k for the indicated range.

  Design the circuit and select the appropriate components

ENG318 Project - Design the circuit and select the appropriate components for that circuit to fulfill the requirements of the device and Verify your design by MATLAB simulations.

  Write a matlab program to plot the probability mass function

EECS 3300- Write a MATLAB program to plot the Probability Mass Function (PMF) of the following discrete random variables; Geometric with p = 0.6. Poisson with λ = 5 (Note, λ = np). Binomial with n = 10, p = .4.

  MATLAB Program - Sum of squares of first N natural numbers

In the given problem, sum of squares of first N natural numbers is to be computed till the SUM does not exceed 1000. This can be written in MATLAB

  You need to prepare a matlab code

You need to prepare a MATLAB code for the following - A randomly generated, [5x5] matrix (A), filled with random [2x2] sub matrices (aa).... for a total of a [10x10] matrix. Also, a multiplication factor

  Modify the functions for the bisection and false-position

Modify the functions for the bisection and false-position techniques of finding a root of an equation (see below questions) so that the number of iterations can be determined and displayed. (The count should only be displayed after the loop is com..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd