Automation Systems Programming

ID: 0590
Course type: vocational and applied
Course coordinator: Jovanović Ž. Radiša
Lecturers: Zarić R. Vladimir, Jovanović Ž. Radiša
Contact: Jovanović Ž. Radiša
Level of studies: B.Sc. (undergraduate) Academic Studies – Mechanical Engineering
ECTS: 6
Final exam type: written
Department: Department of Control Engineering

Lectures

Goal

• Introduction to the basic applications of digital computers in automatic control. • Candidate will be familiar with the basic statements of programming package MATLAB. • Candidate will be familiar with the application of programming packages MATLAB and Simulink in modeling and simulation of dynamical systems.

Outcome

On successful completion of the course the students should be able to: • Use of basic knowledge in programming tools MATLAB and Simulink. • Understand and use of methods for modeling, analysis and synthesis of control systems by mentioned programming tools.

Theoretical teaching

Personal computers in automatic control. Variables,matrices and vectors in MATLAB. Manipulations of vectors and matrices. Vectors and matrices operations. Input and output files. Use of strings. While loop.Conditional branching if statement. Break and continue statement. Multiple branching, switch statement. Functional file. Return value of function. Inline statement. Function of function. Creating graphics. Graphical processing of the pictures. S-functions and simulation diagrams. Introduction: concept of dynamic systems simulation. Numerical computations. Simulink library. Concept of signal and logic flow. Basic elements: blocks and lines. Manipulating with blocks. Sources and sinks. Continuous and discrete systems. Non-linear operators. Using function in Simulink model. Signals and data transfer. Making subsystems. Setting simulation parameters. Combining Matlab and Simulink. Modelling and simulation of various dynamical systems.

Practical teaching

PL: Practical examples that follow the content of course. Application of PC computer as digital controller. Modeling and simulation of various objects of automatic control on a modular educational real-time control system and acquisition of data from various peripheral devices and sensors with Matlab/Simulink.

Attendance requirement

Defined by curriculum of the study programme.

Resources

• PC computers, Computer laboratory, Faculty of Mechanical Engineering Belgrade. • Modular educational real time control system with various control plants (DC servo motor, inverted pendulum, double inverted pendulum, heat flow experiment, coupled water tanks experiment), with acquisition hardware and software. • Automatic Control Laboratory, Intelligent Control Systems Laboratory.

Assigned hours

Total assigned hours: 75

Active teaching (theoretical)

New material: 20
Elaboration and examples (recapitulation): 10

Active teaching (practical)

Auditory exercises: 0
Laboratory exercises: 30
Calculation tasks: 0
Seminar paper: 0
Project: 0
Consultations: 0
Discussion/workshop: 0
Research study work: 0

Knowledge test

Review and grading of calculation tasks: 0
Review and grading of lab reports: 0
Review and grading of seminar papers: 0
Review and grading of the project: 0
Test: 10
Test: 0
Final exam: 5

Knowledge test (100 points total)

Activity during lectures: 10
Test/test: 60
Laboratory practice: 0
Calculation tasks: 0
Seminar paper: 0
Project: 0
Final exam: 30
Requirement for taking the exam (required number of points): 30

Literature

Radiša Jovanović, Mаtlab and Simulink in Automatic Control, Faculty of Mechanical Engineering, Belgrade, ISBN 978-86-7083-896-3, 2021 (in Serbian).; Amos Gilat, MATLAB - An introduction with Applications, John Wiiley & Sons, Inc., 2004.