Přístupnostní navigace
E-application
Search Search Close
Course detail
FEKT-BPC-MTPAcad. year: 2024/2025
Students are introduced to the applications of microcomputer technology in the measurement and control of electric drives. Basic knowledge of digital technology and a basic level of English are assumed. Students will expand their knowledge of digital circuits and their applications. They work independently with development systems for STM32 series microcomputers and program them in C.
Language of instruction
Number of ECTS credits
Mode of study
Guarantor
Department
Entry knowledge
Rules for evaluation and completion of the course
Active participation in laboratory exercises, independent projects and an exam are assessed. The final exam is in the form of a test. The definition of supervised teaching and the method of its implementation are defined in the annually updated decree of the course guarantor. Laboratory teaching is compulsory.
Aims
Study aids
Prerequisites and corequisites
Basic literature
Recommended reading
Classification of course in study plans
specialization AUDB-TECH , 0 year of study, summer semester, elective
Lecture
Teacher / Lecturer
Syllabus
1. Introduction, basic concepts, microprocessor, register, memory, ALU. 2. Program in C language on single chip microprocessors, compiler, linker. 3. Number systems, data types, logical operations - bitwise, on expressions. 4. Stack, function calls, local vs. global variables. 5. Control structures in C language, connection with assembler. 6. Interrupts, interrupt vector, interrupt sources, interrupt handler functions. 7. Fixed-point arithmetic, programming functions for working with fractional arithmetic. 8. Peripherals - GPIO (general purpose input/output port), timer. 9. Introduction to microprocessor control of drives and power converters, PWM generation. 10. Peripherals - A/D converter. 11. Synchronization of A/D converter with PWM, sensing of electrical quantities in the converter for feedback control. 12. Position and speed sensors, position sensing, microprocessor processing of position sensor signals. 13. UART, SPI serial interfaces and their applications, simple user interfaces, push button keypads, character LCD displays.
Laboratory exercise
1. Laboratory workstation, development tools, measuring equipment, simple program in C language. 2. Development environment, debugging, simple work with GPIO port, use of peripheral drivers. 3. Data in memory, data types, bit operations, arrays, constant variables in FLASH memory, - practical examples. 4. Function calls, writing functions in assembler. 5. Control structures. 6. Timer, its interrupts, LED blinking. 7. Fixed and floating point arithmetic. 8. GPIO, input, output mode, interrupts. 9. PWM generator setup, analysis of output signals using oscilloscope. 10. Working with AD converter, signal processing from generator using AD converter. 11. Setting the PWM, timer and AD converter to synchronization mode, monitoring the synchronization process with oscilloscope. 12. Processing of the pulse generator signal by counter. 13. Simple communication between two microcontrollers via SPI, UART.