DOC PREVIEW
Rose-Hulman ECE 520 - ECE 520 Homework 8

This preview shows page 1-2-3-4 out of 12 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

ECE-520: Discrete-Time Control Systems Homework 8 Due: Tuesday February 10 In this homework we will simulate and study minimum order observers coupled with state variable feedback, and then we will add on integral control. Minimum order observers only estimate those states we don’t know or can’t measure. If a state is know, the minimum order observer uses that state. For the first four problems, utilize the continuous time torsional system models available from the class website (the same models as we used for homework 7). 1a) Copy your program DT_sv1_observer_driver.m to DT_sv1_min_obs_driver.m You will need to modify the part of the code that determines the observer gains, and you will have to have the program call the simulation DT_sv1_min_observer.mdl. Copy the Simulink file DT_sv1_observer.mdl to DT_sv1_min_observer.mdl . Modify this new file to implement state variable feedback using a minimum order observer to estimate the states for a one degree of freedom system. In addition, you will need to modify your code so that you can utilize different sampling rates. Assume we want the state vector written as []Tdxux. You need to modify both G and to reflect this new ordering. You also need to fix the demuxes in your Simulink file to reflect this new order. H b) Assume the only known state is the position, and the output is the position of the disk. Use a sampling interval of 0.05 seconds, assume all the state feedback poles are at 0.5, and the observer poles are at 0.2 and 0.3. Also assume the system initially starts at a position of 10 degrees, with an initial velocity of 10 degrees, and an initial delayed input of 10 degrees (be careful of units here! The model works in radians.). The initial estimates of the observer are zero. For a 10 degree step input you should get the graph shown in Figure 1. Turn in your plot. c) Now assume the same initial conditions as in part a, but both the position of the disk and the delayed input signal are known. The observer pole is placed at 0.3 and the sampling interval is still at 0.05. For a 10 degree step input you should get the graph shown in Figure 2. Turn in your plot. d) Now assume the same conditions as c, but with a sampling interval of 0.03 seconds. For a 10 degree step input you should get the graph shown in Figure 3. Turn in your plot.Figure 1. Results for problem 1b. Figure 2. Results for problem 1c.Figure 3. Results for problem 1d. 2) Now we want to combine the minimum observer and state feedback with integral control for the one degree of freedom system. a) Create a driver file DT_sv1_min_obs_servo_driver.m and a corresponding Simulink file DT_sv1_min_obs_servo.mdl. Modify this new file to implement state variable feedback using a minimum order observer to estimate the states for a one degree of freedom system. In addition, you will need to modify your code so that you can utilize different sampling rates. Assume we want the state vector written as []Tdxux. You need to modify both G and to reflect this new ordering. You also need to fix the demuxes in your Simulink file to reflect this new order. H b) Assume the only known state is the position, and the output is the position of the disk. Use a sampling interval of 0.05 seconds, assume all the state feedback poles are at 0.5, and the observer poles are at 0.2 and 0.3. Also assume the system initially starts at a position of 10 degrees, with an initial velocity of 10 degrees, and an initial delayed input of 10 degrees (be careful of units here! The model works in radians.). The initial estimates of the observer are zero. For a 10 degree step input you should get the graph shown in Figure 4. Turn in your plot. c) Now assume the same initial conditions as in part b, but both the position of the disk and the delayed input signal are known. The observer pole is placed at 0.3 and the sampling interval is still at 0.05. For a 10 degree step input you should get the graph shown in Figure 5. Turn in your plot.d) Now assume the same conditions as part c, but with a sampling interval of 0.03 seconds, For a 10 degree step input you should get the graph shown in Figure 6. Turn in your plot. Figure 4. Results for problem 2b. Figure 5. Results for problem 2c.Figure 6. Results for problem 2d. 3) Copy your program DT_sv2_observer_driver.m to DT_sv2_min_obs_driver.m You will need to modify the part of the code that determines the observer gains, and you will have to have the program call the simulation DT_sv2_min_observer.mdl. Copy the Simulink file DT_sv2_observer.mdl to DT_sv2_min_observer.mdl . Modify this new file to implement state variable feedback using a minimum order observer to estimate the states for a one degree of freedom system. In addition, you will need to modify your code so that you can utilize different sampling rates. Assume we want the state vector written as[]2112Tdxxxxu. You need to modify both and to reflect this new ordering. You also need to fix the demuxes in your Simulink file to reflect this new order. GH You also need to modify the get_desired_states variable as follows so the ECP system will put your states in this order: get_desired_states = [0 0 1 0 0 0 0 0; 1 0 0 0 0 0 0 0; 0 1 0 0 0 0 0 0; 0 0 0 1 0 0 0 0]; b) Assume the only known state is the position of the second disk, and the output is the position of the first disk. Use a sampling interval of 0.05 seconds, assume all the state feedback poles are at 0.5, and the observer poles are at [0.01 0.015 0.02 0.025]. Also assume the system initially starts with disk 2 at zero degrees, disk 1 at 5 degrees, and both disks with an initial velocity of 5 degrees/sec (be careful of units here! The model works in radians.). The initial estimate of the delayed input signal is zero. The initial estimates of the observer are zero. For a 10 degree step input you should get the graph shown in Figure 7. Turn in your plot.c) Same conditions as in b, but assume the output is the position of the second disk. For a 10 degree step input you should get the graph shown in Figure 8. Turn in your plot. d) Same conditions as b, but now the positions of both disk 1 and disk 2 are known (the output is the position of the first disk). Place the state feedback poles all at 0.2 and the observer poles at [0.01 0.015 0.02]. For a 10 degree step input you should get the graph shown in


View Full Document
Download ECE 520 Homework 8
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view ECE 520 Homework 8 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view ECE 520 Homework 8 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?