Utilizing SIMULINK and MATLAB in A Graduate Nonlinear Systems Analysis Course
Utilizing SIMULINK and MATLAB in A Graduate Nonlinear Systems Analysis Course
Utilizing SIMULINK and MATLAB in A Graduate Nonlinear Systems Analysis Course
Analysis Course
Although, a lot of work has been done in This course is offered to advanced
incorporation of MATLAB [15] into undergraduate undergraduate and graduate students. The goal of this
control system textbooks and courses [7-14], there is no course is to expose the students to the basic methods in
reference textbook for a graduate level nonlinear system the modeling, analysis, and design of nonlinear control
analysis course. It should be mentioned that some of the system. To accomplish this goal, the following topics are
work done in an undergraduate control systems textbook, typically covered in a semester:
using MATLAB, could also be applied to a graduate level
course. In this section we will first present the way that 1. Examples of nonlinear control systems (4 classes).
this course is structured at Penn State University Great 2. Second order systems (3 classes).
Valley Campus and the University of Arkansas. Next, we 3. Fundamental properties of nonlinear differential
present the topics that are covered in this course. equations (4 classes).
4. Lyaponov stability (4 classes).
Nonlinear Systems Analysis at Penn State 5. Invariance principle (2 classes).
Great Valley 6. Input-output stability (1 class).
7. Control and observer design based on local
Penn State Great Valley Campus, one of the linearization (1 class).
eighteen campuses of the Penn State University, is a 8. Exact linearization (4 classes).
graduate center designed to address the educational need 9. Analysis of perturbed systems by the Lyapunov
of the working engineers in Philadelphia area. Almost method and Bellman-Gronwall lemma.
all of our students are working engineers, with a wide 10. Ultimate boundedness and its achievement by min-
variety of backgrounds using simulation packages. The max design of controller and observers (2 classes).
nonlinear analysis course deals with the analysis and the
design of nonlinear control systems. In the analysis, a One class is normally 80 minutes of lecture. Usually two
nonlinear closed-loop system is assumed to have been in class exam is given and the rest of the grading is based
designed, and we wish to determine the characteristics of on weekly homework assignments and the student
the system’s behavior. In the design section a nonlinear portfolio that includes the class notes, corrected
plant is given and our task is to construct a controller so homework, etc. The major use of
that the closed loop system meets the desired MATLAB/SIMULINK is in homework assignments.
characteristics. The nonlinear systems course covers the
following topics: Use of MATLAB/SIMULINK in a Nonlinear
Systems Analysis Course
1. Phase Plane Analysis
2. Fundamentals of Lyapunov Theory In this section we will present those features of
3. Advanced Stability Theory the MATLAB/SIMULINK that we have found most
4. Describing Function Analysis useful in our classes, based on the aforementioned course
5. Feedback Linearization outlines. Due to the nature of the SIMULINK, a
6. Sliding Control and Estimation graphical user interface program, that is basically using
7. Adaptive Control block diagram approach for simulating different system,
it can be effectively used in simulation of different
[16] and [17] are used in teaching the course. Students nonlinear systems. The block diagram nature of the
are given weekly assignments that also include computer program will enable us to study the behavior of the
simulation/usage. Exams also include a take home part system under different nonlinearities. This will enable us
that have computer simulations. Student have access to to use the software in investigating finite escape time,
student versions of MATLAB and SIMULINK. multiple equilibria, limit cycles and their nature (stable
or unstable), etc. For example students are given 2-
dimensional tunnel-diode model and are asked to
investigate the behavior of the system by plotting the
phase portrait diagram. In another example students are
given the chaotic Lorenz attraction equation , with proper
ranges of parameters and initial conditions. They are the extra work required of students and instructors, the
asked to plot the three phase plane portraits for this 3- maintenance and operation of these packages on an
dimensional system for various parameter values. Then, accessible computer system, and assuring that the
they are asked to change the initial conditions to observe packages are inserted in the baseline curriculum as part
the sensitivity of the system to the initial conditions. of the required course material. The general student
Individual state trajectories are plotted to see the reaction to the use of SIMULINK and MATLAB has
seemingly random (chaotic) behavior. SIMULINK also been very positive.
contains Sources library that allows one to choose the
input (forcing functions) necessary for simulation. The References
Linear library contains transfer functions and summers
where as the Nonlinear library has many common 1. Martin, T.W., A. Azemi, D. Hewett, and C.P.
nonlinearities like dead zone, saturation, etc. The Sinks Schneider, “PSpice in Electrical Engineering
library has the Scope, for example, that displays any Laboratories,” Proceedings of the ASEE
desired signal. Blocks are activated by double clicking, Annual Conference, pp. 1307-1308, 1992.
and holding the mouse which the object is being dragged
to the proper location. Connections are also made by the 2. Andrews, D., A. Azemi, S. Charlton, and E.
same “dragging” procedure. Parameters are selected Yaz, “Computer Simulation in Electrical
from the simulation menu after the block diagram is Engineering Education,” Proceedings of the
complete and Start is used to carry out the simulation. ASEE Gulf-Southwest Section Meeting, pp. 77-
There are many other facilities available in SIMULINK 82, 1994.
which is beyond the scope of this paper. In addition to 3. Azemi, A, and E. Yaz, “PSpice and MATLAB
the simulation capability of the SIMULINK, MATLAB’s in Undergraduate and Graduate Electrical
Control System Toolbox can be used e.g. to investigate Engineering Courses,” Proceedings of the 24th
the stability of the perturbed linear systems. EIG can be Frontiers in Education Conference, pp. 456-
used for finding the eigenvalues of the system matrix of a 459, 1994.
linear system to check whether they are all in the left half
complex plane or inside the unit circle for continuous- 4. Yaz, E., and A. Azemi. “Utilizing MATLAB in
and discrete-time systems, respectively. When these two Graduate Electrical Engineering Courses,”
systems are perturbed, there are many stability robustness Proceedings of the 25th Frontiers in Education
bounds that can be calculated via the use of LYAP or Conference. pp. 2c6.1-2c6.4, 1995.
DLYAP for continuous- and discrete-time algebraic 5. Azemi, A., and C. Stook. “Using MATLAB in
matrix Lyapunov equations [17]-[18]. Controllers and Graduate Electrical Engineering Courses,”
observers can be designed using linear techniques e.g. Proceedings of the ASEE Annual Conference, to
PLACE to assign the poles of a linear system by state appear.
feedback or LQR to design an optimal state feedback
control used on local linearizations of nonlinear systems. 6. Haggard. Roger, “Classroom Experiences and
Observer design s can be realized by duality. Finally, the Student Attitudes toward Electronic Design
performance of nonlinear controller and observer Automation,” Proceeding of the 25th
schemes like feedback linearization and min-max designs Southeastern Symposium on Systems Theory.
can be assessed using SIMULINK. IEEE Computer Society Press, pp. 411-415,
1993.
Conclusion 7. Dorf, R., and R. Bishop. Modern Control
Systems, seventh edition, Addison-Wesley
In this paper, we have presented the use of Publishing Company, 1995.
SIMULINK/MATLAB software packages in our graduate
8. Franklin, G., J. Powell, and M. Workman,
curriculum, at Penn State University and the university of
Digital Control of Dynamic Systems. Addison-
Arkansas. Several of the advantages provided by
Wesley Publishing Company, 1990.
computer simulation packages, such as SIMULINK,
include a reinforcement of student understanding of 9. Strum, R., and D. Kirk. Contemporary Linear
theoretical principles, allowing assignment of larger, and Systems using MATLAB. PWS publishing
more complex designs, increased student attentiveness, company, 1994.
and enhanced professional development. The main
10. Saadat, H. Computational Aids in Control
disadvantages of using computer simulation packages are
Systems Using MATLAB. McGraw-Hill, 1993.
11. Shahian, B., and M. Hassul. Control System
Design Using MATLAB. Prentice Hall, N.J.,
1993.
12. Leonard, N.E., and W.S. Levine. Using
MATLAB to Analyze and Design Control
Systems. Benjamin/Cummings, 1992.
13. Ogata, K. Solving Control Engineering
Problems with MATLAB. Prentice Hall, N.J.,
1994.
14. Hanselman, D.C., and B.C. Kuo. MATLAB
Tools For Control System Analysis and Design.
Prentice Hall, 2nd edition, 1995.
15. The MathWorks Inc., 21 Eliot St., South
Natick, MA, 01760.
16. Slotine, Jean-Jacques, and Weiping Li. Applied
Nonlinear Control,Prentice Hall, 1991.
17. Khalil, H.K. Nonlinear Systems, 2nd edition,
Prentice Hall, 1995.
18. Weinmann, A. Uncertain Models and Robust
Control, Springer-Verlag, New York, 1991.