DOC PREVIEW
Rose-Hulman ECE 320 - State Variable Control Systems

This preview shows page 1 out of 2 pages.

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

Unformatted text preview:

ECE-320 Lab 9: State Variable Control Systems Overview In this lab you will be controlling your two one degree of freedom systems you previously modeled using state controllers. You will need your model files for each system, Basic_1dof_State_Variable_Model.mdl, and Basic_1dof_State_Variable_Model_Driver.m for this lab. Design Specifications: For each of your systems, you should try and adjust your parameters until you have achieved the following: Torsional Systems (Model 205) • Settling time less than 0.5 seconds. • Steady state error less than 2 degrees for a 15 degree step, and less than 1 degree for a 10 degree step (the input to the Model 205 must be in radians!) • Percent Overshoot less than 10% Rectilinear Systems (Model 210) • Settling time less than 0.5 seconds. • Steady state error less than 0.1 cm for a 1 cm step, and less than 0.05 cm for a 0.5 cm step • Percent Overshoot less than 10% Your memo should include plots of the response of the real system and of the model for each of your 1 dof systems. Specifically, you need to plot the position of both the real system and the position of the model on one graph, and the velocity of both the real system and the velocity of the model on one graph. Use subplot to put them both on the same page and be sure to use a legend command and different line styles so I can tell them apart. Don’t depend on colors unless you print them on a color printer. You should have plots for for pole placement and for the LQR design for each of your systems. Be sure to include the values of the closed loop poles and the gains for the LQR algorithm in the caption for each figure. Your memo should compare the difference between the predicted response (from the model) and the real response (from the real system) for each of the systems For each of your two 1 dof systems, you will need to go through the following steps:Step 1: Set up the 1 dof system exactly the way it was when you determined its model parameters. Step 2: Modify Basic_1dof_State_Variable_Model_Driver.m to read in the correct model file and to use the correct saturation_level for the system you are using. Step 4: Pole Placement Design • Design a state variable controller using pole placement to control the position of the cart or disk and meet the design specs (you may have already done this in the homework). Use a constant prefilter. • Simulate the system for 1.5 seconds. Be sure to use radians for the Model 205 system! If the design constrains are not met, or the control effort hits a limit, redesign your controller (you might also try a lower input signal) • Compile the correct closed loop ECP Simulink driver, connect to the system, and run the simulation. For the model 205 this is Model205_sv1.mdl while for the model 210 use the file Model210_sv1.mdl. You will probably need to change the base address of these systems, ask for help if you need it! • Use the compare1.m file (or a modification of it) to plot the results of both the simulation and the real system on two nice, neatly labeled graphs. You need to compare both the position and the velocity of the cart/disk. The results for the torsional systems must be displayed in degrees and degrees/sec. You need to include these graphs in your memo. (Note: the steady state error is likely to be off. Placing the poles farther away can reduce this error for these systems.) Step 5: LQR Design • Design a state variable controller using the LQR algorithm to control the position of the cart or disk and meet the design specs (you may have already done this in the homework). Use a constant prefilter. • Simulate the system for 1.5 seconds. Be sure to use radians for the Model 205 system! If the design constrains are not met, or the control effort hits a limit, redesign your controller (you might also try a lower input signal) • Compile the correct closed loop ECP Simulink driver, connect to the system, and run the simulation. For the model 205 this is Model205_sv1.mdl while for the model 210 use the file Model210_sv1.mdl. • Use the compare1.m file (or a modification of it) to plot the results of both the simulation and the real system on two nice, neatly labeled graphs. You need to compare both the position and the velocity of the cart/disk. The results for the torsional systems must be displayed in degrees and degrees/sec. You need to include these graphs in your


View Full Document

Rose-Hulman ECE 320 - State Variable Control Systems

Documents in this Course
Load more
Download State Variable Control Systems
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 State Variable Control Systems 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 State Variable Control Systems 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?