Control Systems Design Project – ECE147C
&
Advanced Mechanical Engineering Laboratory – ME 106A
Spring 2010
Tu Th
The objective of this course
is to provide students with the necessary knowledge to design, implement, and
document a control engineering project.
The course has three components: lectures, prepared laboratories (in the form of a project that is the same for all students), and a design project (specific to each group of students).
The lectures and laboratories cover a range of special topics related to the practical implementation of control systems that are not covered in introductory control courses but that are likely to arise in the professional career of controls engineers. These include:
1. Model identification and parameter estimation (least-square identification of a auto-regressive model; nonparametric identification in the time domain; and nonparametric identification in the frequency domain)
2. Robust Control (Nyquist-plots, small-gain, and passivity)
3. Optimal control (LQR/LQG for state-space systems and time-optimal controller for the positioning of a mass using force actuation)
4. Nonlinear control (Lyapunov’s stability method; feedback linearization controller for a fully actuated 2nd order mechanical system; backstepping for triangular nonlinear systems)
The course is heavily project-oriented and the students will be required to design, implement, document, and present a significant control systems project, which requires them to address the issues covered in the lectures.
Prerequisites: ECE147A or ME155A or ME173 or equivalent. Open to all engineering majors.
João P. Hespanha (hespanha at ece.ucsb.edu), phone: (805) 893-7042, office: Frank Hall, 5157.
Hosein Mahjoubi (hosein_mahjoubi at umail.ucsb.edu)
Office hours: Tue Wed
The course will be based on the following notes: ECE147c-ME106a-LectureNotes
5 units (ECE147C)
The second half of the laboratory time is devoted to the final project.
Possible projects include
The final project must make extensive use of two out of the four topics taught in the lectures, which are Model Identification, Robust Control,
LQG/LQR, Nonlinear Control.
See due dates below…
The syllabus, homework, laboratories handouts, and all other information relevant to the course will be continuously posted at the course's web page. The URL is
http://www.ece.ucsb.edu/~hespanha/ece147c-me106a/
The following is a tentative schedule for the course.
As revisions are needed, they will be posted on the course's web page.
Recommended readings for the topics covered on each class will be posted in the
3rd column.
|
Class |
Lecture content |
References |
Laboratory |
|
Mar 30 |
no
class |
|
Laboratory session enrollment No laboratory class |
|
Apr 1 |
no
class |
|
|
|
#1 Apr 6 |
Course overview Computer-controlled systems (review) Part I—Model identification and
parameter estimation ·
Parametric
identification ·
Least-squares
fitting |
Chapters 1-2 |
Introduction to laboratory |
|
#2 Apr 8 |
ARX model ARX model identification |
Chapter 3 |
|
|
#3 Apr 13 |
Partial identification (known parameters) Choice of inputs, model order and sampling frequency |
Chapter 4 |
Parametric identification of the two-cart system |
|
#4 Apr 15 |
Nonparametric identification ·
Time
domain: impulse response, time response, arbitrary input ·
Frequency
domain: sine wave testing, correlation method |
Chapter
5 |
|
|
#7 Apr 20 |
Part ·
Frequency
domain uncertainty ·
Nyquist
criteria |
Chapter 6 MATLAB script used to generate the plots in the notes Simulink file for Noisy identification Exercise 2 |
Parametric identification of the
two-cart system (cont.) Closed-loop control of the identified
model |
|
#8 Apr 22 |
·
Small-gain ·
Loop-shaping
control design |
|
|
|
#9 Apr 27 |
Part IV—Optimal control: LQR/LQG ·
LQR
problem ·
Solution
to the LQR problem ·
Stability
and robustness |
Chapters 8 and 9 MATLAB script used to generate the plots in the notes |
Closed-loop control of the identified
model (cont.) |
|
#10 Apr 29 |
·
Loop-shaping
using LQR ·
Output
feedback ·
LQG
state-estimation |
|
|
|
#11 May 4 |
·
LQG/LQR
output-feedback ·
Separation
principle |
Chapter 10 |
Final project |
|
#12 May 6 |
·
Loop-gain
recovery ·
Set-point
control |
Chapter 11 |
|
|
#13 May 11 |
Part V—Control of Nonlinear systems ·
Feedback
linearization ·
Lyapunov
stability |
Chapter 12 |
Final project |
|
#14 May 13 |
·
Lyapunov stability
theorem ·
LaSalle’s
invariance principle |
Chapter 13 |
|
|
#15 May 18 |
·
Liénard equation ·
Lyapunov-based
control design |
Chapter 14 |
Final project |
|
#16 May 20 |
TBA |
|
|
|
#17 May 25 |
TBA |
|
Project
presentations The
project presentations will take place in the laboratory, May 25 and 27. A
computer projector will be available. |
|
#18 May 27 |
TBA |
|
|
|
#19 Jun 1 |
TBA |
|
|
|
#20 Jun 3 |
TBA |
|
Schedule TBA
Weekly 3 hour session: Wed 5-8pm (Eng I, 3120A)
There will be weekly laboratory sessions to complement the material covered in the lectures. A portion of the laboratory should be prepared before the lab session.
Most laboratories will require the use of MATLAB/Simulink with the CONTROL SYSTEMS and IDENTIFICATION Toolboxes.
The following document provides a general description of what the students are expected to do before and during the lab and it also serves as a template for the final lab report that will be turn in the middle of the quarter. The final project report (due at the end of the quarter) should also follow this basic template:
The first laboratory class will be on 4/16/2010. The TA will use this class to introduce students to the equipment. Please print and read the following handout before the class (you can ignore the pre-lab exercises):
Introductory laboratory handout
|
Description |
Due date |
|
Final project topic 1-2
paragraph description of your project. Please make sure that you include the
following information: 1) Which
system do you plan to control? 2) What
variables to you plan to control, which variables can you measure? 3) What
type of closed-loop specifications make sense for that problem? 4) Do you
plan to use simulation or experiments? In case you plan to use simulations,
where will you get the model from? [We may be able to give you a hand here] 5) Which two out of the four topics taught in the lectures (Model
Identification, Robust Control, LQG/LQR, Nonlinear Control) will the project
make extensive use? |
April 22 |
|
Mid-term project report The report,
must follow the template in the handout that you were previously given (http://www.ece.ucsb.edu/~hespanha/ece147c/web/project1.pdf) There is a
strict limit on the page length: at most 10 pages, 10pt. This must include
all figures, plots, abstract, introduction, discussion of results,
conclusions, etc. To fit
everything in 10 pages, you must be very selective in which figures to
include. You will also need to overlay several plots. E.g., you may show the
identified process bode plots for several different inputs all in the same
figure (remember to label everything so that it is clear which line
corresponds to what!). Your report
must also include text (and equations) to explain the process model, to
justify the choices that you made, and to discuss the results that you
obtained. The main objective of the report is to support the claim that the
model that you identified is accurate and that the controller that you
designed is good. You should think of the report as a conference paper and
not as a homework assignment. A significant portion of the grade
will be based on the quality of the report (length, completeness, how well it
reads, etc.) |
May 6 |
|
Final project presentation The
presentations of the final project will take place in the laboratory and take
30 minutes. For group
projects all students should participate in the presentation. The
presentation should use a computer projector. The
presentation should include: ·
presentation
outline ·
description
of the system to be controlled, sensors, and actuators (use pictures!) ·
description
of the control objectives ·
identification
method and summary of the identification results (if the project involves
identification) ·
control
design method and summary of the closed-loop performance achieved ·
simulation
results ·
hardware
results (if the project involves hardware) ·
hardware
demo (if the project involves hardware) ·
conclusions
and discussion of future work |
May 25 and 27 |
|
Final project report This report
should follow the same guidelines as the mid-term project report. Please read
all comments that you will receive regarding the mid-term project report and
make sure that you follow any advice given when you prepare the final project
report. A significant portion of the grade will
be based on the quality of the report (length, completeness, how well it
reads, etc.) |
June 3 |
The following exercises should be solved to prepare for the laboratory sessions and to complement the lectures
Please respect the deadlines for the homework assignments. The TA may accept late assignments for a couple of days after the deadline, but these will only get 50% of the full grade. Moreover, once solutions are posted you will get no credit for the assignment.
|
Number |
Posted on |
Due date |
Exercises |
|
#1 |
Mar 23 |
April 13 |
Exercises
3.2, 4.1, 4.2, 4.3 of the identification module. Data for Exercise 3.2 (selected parameters) Simulink file and m-script for Exercise 4.1 (input magnitude) Data for Model-order Exercise 4.2 (model order) For the lab
work, you will need to adapt exercise 3.1 to take into account that the
system has an integrator (instead of a zero at a known location). The MATLAB
scripts for exercises 4.1, 4.2, 4.3 will be useful to perform parametric
identification with the data collected in the lab (tentatively starting on
Apr 13) |
|
#2 |
Mar 23 |
April 27 |
Download
the exercise from here. Exercises
5.1, 5.2 of the identification module. Simulink file for Exercises 5.1 (step
response) and 5.2 (correlation method) The MATLAB scripts for these exercises will be used to
perform nonparametric identification in the lab (tentatively starting on Apr
27) [If you are taking the course for 3
credit you do not need to turn in these assignments] |
|
#3 |
April 19 |
May 4 |
Exercises
6.2, 6.3, 7.1 of the robust control module. Simulink file for
Exercise 6.2 (Noisy identification) This material will be needed to collect experimental data
on model uncertainty (session 3, tentatively starting on May 3). [If you are taking the course for 3
credit you do not need to turn in these assignments] |
|
#4 |
May 10 |
May 18 |
Exercises
9.2, 10.1 of the LQR/LQG module. [If you are taking the course for 3
credit you do not need to turn in these assignments] Design an LQR/LQG robust controller for the process identified in the
lab (details in the lab template) |
|
#5 |
May 10 |
May 25 |
Exercises 12.2,
13.2, 13.3 of the nonlinear control module. [If you are taking the course for 3
credit you do not need to turn in these assignments] |