Přístupnostní navigace
E-application
Search Search Close
Course detail
FEKT-MPC-MRPAcad. year: 2024/2025
The course discusses modern microprocessor circuits and their use in electric drives with feedback control. The STM32 microcontroller with ARM core is used in the laboratory exercises to demonstrate the subject. In the laboratory exercises, the students are introduced to the Nucleo development platform, on which they implement simple tasks to learn about the architecture and peripherals of microcontrollers for electric drives (DSP instructions, A/D converter, pulse-width modulation generator, timers, etc.) and also control loop algorithms are implemented on a real laboratory drive.
Language of instruction
Number of ECTS credits
Mode of study
Guarantor
Department
Entry knowledge
Rules for evaluation and completion of the course
A condition for the award of credit is participation in at least 80% of the exercises and obtaining a non-zero number of points for each project. Laboratory exercise: 40b (activity, preparation of independent tasks). 60b Laboratory exercises are required. The possibility of making up missed exercises depends on individual arrangement.
Aims
Study aids
Prerequisites and corequisites
Basic literature
Recommended reading
Elearning
Classification of course in study plans
Lecture
Teacher / Lecturer
Syllabus
Organizational information. Representation of numbers, number systems and conversions between them, logical functions, Boolean algebra. Demonstration of the software used. Repetition - C language. ARM processor architecture: memory organisation, buses, registers, program execution and data processing, subroutines, exceptions. STM32 microcontrollers, basic modules, principle of operation. Microcontroller peripherals: ports, timers, analogue converters, direct memory access. Incremental sensor, speed and position measurement, resolver. Pulse width modulation for transistor inverter control. Introduction to signal processing, MAC instruction, digital integrator and 1st order filter, derivation of differential equation. Approximation of functional dependencies: LUT, polynomial. BLDC motor control. AC drive control algorithms: three phase sinusoidal pulse width modulation.
Laboratory exercise
Introduction, safety regulations, familiarization with the workplace. Configuring GPIO inputs/outputs using, debugger demonstration, reading and overwriting registers. Timers I: generating peridic interrupt - reload and output compare, treating button jams. Timers II: pulse width modulation (PWM), PWM center vs. edge align - two channels, complementary output, deadtime. Assignment and work on an independent project. A/D converter: reading data from AD converter, synchronization with TIM1 (PWM), using DMA. Digital integrator, 1st order low pass, triangle signal generator. PSD controller: component and closed form, floating and fixed point implementation, anti-windup. Assignment and work on an independent project. BLDC motor control, creation of commutation table, speed control. Three phase pulse width modulation, space vector modulation.