- Find the steady state values of the current ‘i’ and voltage v, which are needed to balance the ball at a desired position, y = r > 0.

- Compute the linearized model at this equilibrium point and show that the equilibrium point obtained by taking u = v(steady state value of the voltage) is unstable.

- Write a Matlab function that returns the equilibrium current, voltage and state space matrices as a function of r.

- Using linearization, design state feedback control laws to stabilize the ball at y = 1cm, y = 5cm and y = 8cm. You may use the commands place and 1qr. In each case, carry out closed loop performance analysis (e.g time responses to step commands).

- Assume that the permissible range of y is 0 to 10 cm and the permissible range of the voltage is 0 to 50 V. Starting with the ball at equilibrium, move it a small distance up (and the down) and let it go. Using simulation, determine the largest range of initial disturbance for which the ball will return to the equilibrium position without violating the constraints of y and v. To account for the constraints on v, include a limiter in your simulation.

- The non-linear closed loop system responses will be computed with Matlab/Simulink. The effect of 20% parameter variations from nominal values for all parameters will be investigated as well as the effect of the current protection circuits (‘i’ will be set to zero if it goes over a certain value ‘imax’ = 5A.

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

%Clearing memory and screen, closing all open windows
close all;

%Defining symbolic variables
syms x1 x2 x3 m g k L0 a R L1 u r x1e x2e x3e ue

%Defining differential equations

%Jacobian linearization
A=[diff(x1dot,x1) diff(x1dot,x2) diff(x1dot,x3);diff(x2dot,x1) diff(x2dot,x2) diff(x2dot,x3);diff(x3dot,x1) diff(x3dot,x2) diff(x3dot,x3)]

%Defining matrix C
C=[1 0 0];

%Finding and defining equilibrium states

This is only a preview of the solution. Please use the purchase button to see the entire solution

Related Homework Solutions

Get help from a qualified tutor
Live Chats