Comparison of Scilab/Xcos with Matlab/Simulink | |
Scilab is an open source suite of software for numerical computation. Xcos is an open source graphical editor to design hybrid dynamical systems models. Here we compare Scilab files with Matlab files and Xcos files with Simulink files. Specifically we list Matlab and Simulink files that were used in class for a second year undergraduate introduction to control systems (Semester 2, 2014). Scilab and Xcos files are given with similar functionality. The Scilab and Xcos files were coded by Danail Stoychev, July/August 2014. |
|
Matlab / Simulink | Scilab / Xcos |
Lecture 1 | Lecture 1 |
Introduction to the course unit and control engineering in general. | Introduction to the course unit and control engineering in general. |
Simulink file 1 Simulink file 2 Simulink file 3 Simulink file 4 |
Xcos file 1 Xcos file 2 Xcos file 3 Xcos file 4 |
Lecture 2 | Lecture 2 |
Introduction to feedback and dynamics. Recap of Laplace transform. | Introduction to feedback and dynamics. Recap of Laplace transform. |
Simulink file 1 Simulink file 2 Simulink file 3 Simulink file 4 |
Xcos file 1 Xcos file 2 Xcos file 3 Xcos file 4 |
Lecture 3 | Lecture 3 |
Unit step responses of first and second order, open-loop and closed-loop systems. | Unit step responses of first and second order, open-loop and closed-loop systems. |
Simulink file 1 Simulink file 2 Simulink file 3 Simulink file 4 Simulink file 5 Simulink file 6 Simulink file 7 |
Xcos file 1 Xcos file 2 Xcos file 3 Xcos file 4 Xcos file 5 Xcos file 6 Xcos file 7 |
Lecture 4 | Lecture 4 |
Frequency response analysis. | Frequency response analysis. |
MATLAB file 1 MATLAB file 2 Simulink file 1 Simulink file 2 Simulink file 3 Simulink file 4 |
Scilab file 1 Scilab file 2 Xcos file 1 Xcos file 2 Xcos file 3 Xcos file 4 |
Lecture 6 | Lecture 6 |
PID control. Ziegler-Nichols tuning. | PID control. Ziegler-Nichols tuning. |
Simulink file 1 Simulink file 2 Simulink file 3 Simulink file 4 Simulink file 5 Simulink file 6 Simulink file 7 Simulink file 8 Simulink file 9 Simulink file 10 Simulink file 11 Simulink file 12 Simulink file 13 |
Xcos file 1 Xcos file 2 Xcos file 3 Xcos file 4 Xcos file 5 Xcos file 6 Xcos file 7 Xcos file 8 Xcos file 9 Xcos file 10 Xcos file 11 Xcos file 12 Xcos file 13 |
Lecture 7 | Lecture 7 |
Root locus analysis. | Root locus analysis. |
Simulink file 1 | Xcos file 1 |
Lectures 8 and 9 | Lectures 8 and 9 |
The Nyquist criterion and the nyquist plot. Stability margins. | The Nyquist criterion and the nyquist plot. Stability margins. |
Simulink file 1 | Xcos file 1 |
Lecture 11 | Lecture 11 |
Design of compensators. | Design of compensators. |
MATLAB file 1 MATLAB file 2 Simulink file 1 Simulink file 2 Simulink file 3 Simulink file 4 Simulink file 5 |
Scilab file 1 Scilab file 2 Xcos file 1 Xcos file 2 Xcos file 3 Xcos file 4 Xcos file 5 |