450-2041/01 – Programming Basics for Control Systems (ZPŘS)

Gurantor departmentDepartment of Cybernetics and Biomedical EngineeringCredits4
Subject guarantordoc. Ing. Michal Prauzek, Ph.D.Subject version guarantordoc. Ing. Michal Prauzek, Ph.D.
Study levelundergraduate or graduate
Study languageCzech
Year of introduction2010/2011Year of cancellation
Intended for the facultiesFEIIntended for study typesBachelor
Instruction secured by
LoginNameTuitorTeacher giving lectures
JAR0076 Ing. René Jaroš
PRA132 doc. Ing. Michal Prauzek, Ph.D.
STA048 Ing. Martin Stankuš, Ph.D.
Extent of instruction for forms of study
Form of studyWay of compl.Extent
Full-time Credit and Examination 2+2
Combined Credit and Examination 2+12

Subject aims expressed by acquired skills and competences

The goal of the subject is to introduce student into provide students by basic appliance for control systems programming. After finishing the subject the student will be able to create elementary programs based on simple algorithmic constructions of C language in a general development environment. He will understand the realtions between some computer architectural elemetns and their correponding mapping into programming language, wich is necessary for constructing tasks using non-satandards peripherals. He will be also able to analyze and implement simple problems using structuerd approaches.

Teaching methods

Lectures
Tutorials
Experimental work in labs
Project work

Summary

The subject is a introductory course into the problems of programming focused on preparing students for work with specialized microprocessor systems used in process control. the students are acquainted with fundamental computer hardware components. Thge algorithms are demenstrated in C language wheras studnets are instructed in structured approaches to analysis. Practical implementation and data structures are accentuated.

Compulsory literature:

Herout, P. Učebnice jazyka C. Praha: [Středisko pro podporu studentů se specifickými potřebami ELSA ČVUT], 2015. ISBN 978-80-7232-383-8.

Recommended literature:

Richta, K., Šaloun, P.: Programovací jazyk C, skriptum ČVUT, Praha 1998 Wirth, N.: Algoritmy a štruktúry údajov, Alfa, Bratislava 1989 Šaloun, P.: Programovací jazyk C. Skriptum FEI VŠB-TU Ostrava 1994 Šnorek, M. Richta K.: Připojování periferií k PC, Grada, 1996 Horák, J: Učebnice hardware, Computer Press, 2000

Way of continuous check of knowledge in the course of semester

Written tests realized during subject exercises.

E-learning

Další požadavky na studenta

Compulsory attendance at 80% of the exercise.

Prerequisities

Subject has no prerequisities.

Co-requisities

Subject has no co-requisities.

Subject syllabus:

lectures 1. Algorithm, algorithms, basic algorithmic structures. Types and variables. 2. Basic programming construction: instruction, control commands, subroutines. The program, machine language, machine code, binary system, programming languages. 3. Structure of the program in C language Simple inputs and výstupy.Základní data types. Branching and cycles. 4. Arrays, array element access. 5. Representation of the data base format specification. Function parameters and return values 6. Comments, headers - info, basic syntax, keywords, return values, main body, use features 7. Structure of the computer central unit, registers, RAM, address, external memory, program counter, fetch-execute cycle, aynchronní events. Inputs and outputs. Polling and interrupt bus. 8. Use PC peripherals for solving simple measurement tasks. 9. Structure, unions, enumerated types, work with bits. 10. indicators. Files. Using files in measurement tasks. 11. macros, dynamic allocation exceptions. Modules. Header files. Meaning dynamic allocation and exception mechanism for secure programming of control systems. 12. Standard Library 13. User Library

Conditions for subject completion

Full-time form (validity from: 2017/2018 Winter semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of points
Credit and Examination Credit and Examination 100 (100) 51
        Credit Credit 40 (40) 15
                Úkoly v laboratoři Laboratory work 10  1
                Závěrečný projekt Project 15  1
                Zápočtová písemka Written test 15  1
        Examination Examination 60 (60) 25
                Písemná zkouška Written examination 50  20
                Ústní zkouška Oral examination 10  5
Mandatory attendence parzicipation: 80% attendance at the exercises

Show history
Combined form (validity from: 2017/2018 Winter semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of points
Credit and Examination Credit and Examination 100 (100) 51
        Credit Credit 40 (40) 15
                Úkoly v laboratoři Laboratory work 10  1
                Samostatný projekt Project 15  1
                Zápočtový písemka Written test 15  1
        Examination Examination 60 (60) 25
                Písemná zkouška Written examination 50  20
                Ústní zkouška Oral examination 10  5
Mandatory attendence parzicipation: 80% attendance at the exercises

Show history

Occurrence in study plans

Academic yearProgrammeField of studySpec.FormStudy language Tut. centreYearWSType of duty
2019/2020 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Compulsory study plan
2019/2020 (B2649) Electrical Engineering (2612R041) Control and Information Systems K Czech Ostrava 2 Choice-compulsory study plan
2019/2020 (B2649) Electrical Engineering (2612R041) Control and Information Systems P Czech Ostrava 2 Choice-compulsory study plan
2018/2019 (B2649) Electrical Engineering (2612R041) Control and Information Systems P Czech Ostrava 2 Choice-compulsory study plan
2018/2019 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Compulsory study plan
2018/2019 (B2649) Electrical Engineering (2612R041) Control and Information Systems K Czech Ostrava 2 Choice-compulsory study plan
2017/2018 (B2649) Electrical Engineering (2612R041) Control and Information Systems P Czech Ostrava 2 Choice-compulsory study plan
2017/2018 (B2649) Electrical Engineering (2612R041) Control and Information Systems K Czech Ostrava 2 Choice-compulsory study plan
2017/2018 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Compulsory study plan
2016/2017 (B2649) Electrical Engineering (2612R041) Control and Information Systems P Czech Ostrava 2 Choice-compulsory study plan
2016/2017 (B2649) Electrical Engineering (2612R041) Control and Information Systems K Czech Ostrava 2 Choice-compulsory study plan
2016/2017 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Compulsory study plan
2015/2016 (B2649) Electrical Engineering (2612R041) Control and Information Systems P Czech Ostrava 2 Choice-compulsory study plan
2015/2016 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Compulsory study plan
2015/2016 (B2649) Electrical Engineering (2612R041) Control and Information Systems K Czech Ostrava 2 Choice-compulsory study plan
2014/2015 (B2649) Electrical Engineering (2612R041) Control and Information Systems P Czech Ostrava 2 Choice-compulsory study plan
2014/2015 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering P Czech Ostrava 2 Choice-compulsory study plan
2014/2015 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Compulsory study plan
2014/2015 (B2649) Electrical Engineering (2612R041) Control and Information Systems K Czech Ostrava 2 Choice-compulsory study plan
2014/2015 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering K Czech Ostrava 2 Choice-compulsory study plan
2013/2014 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering P Czech Ostrava 2 Choice-compulsory study plan
2013/2014 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering K Czech Ostrava 2 Choice-compulsory study plan
2013/2014 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Compulsory study plan
2012/2013 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Compulsory study plan
2012/2013 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering P Czech Ostrava 2 Choice-compulsory study plan
2012/2013 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering K Czech Ostrava 2 Choice-compulsory study plan
2011/2012 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering P Czech Ostrava 2 Choice-compulsory study plan
2011/2012 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Optional study plan
2011/2012 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering K Czech Ostrava 2 Choice-compulsory study plan
2010/2011 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering P Czech Ostrava 2 Choice-compulsory study plan
2010/2011 (B2649) Electrical Engineering (2601R004) Measurement and Control Engineering K Czech Ostrava 2 Choice-compulsory study plan
2010/2011 (B2649) Electrical Engineering (3901R039) Biomedical Technician P Czech Ostrava 1 Optional study plan

Occurrence in special blocks

Block nameAcademic yearForm of studyStudy language YearWSType of blockBlock owner