Course detail
Microprocessor technics for drives
FEKT-BMTPAcad. year: 2011/2012
The course familiarizes students with applications of microprocessors used for measurements and process control. They are expected to have basic knowledge of digital circuits and elementary level of English. The students will widen their knowledge of digital circuits and their use. They will work individually with development systems for the Freescale DSP56F800E microprocessors, develop programs in the C language and uses measurement instrumentation for microprocessor circuits analysis. The course is focused on applications of the one-chip microcontrollers, measurement of electric and nonelectric quantities and digital control.
Language of instruction
Number of ECTS credits
Mode of study
Guarantor
Learning outcomes of the course unit
Prerequisites
Co-requisites
Planned learning activities and teaching methods
Assesment methods and criteria linked to learning outcomes
Course curriculum
1. Introduction, basic terms, microprocesor principle
2. C program in sigle chip microprocesor, compiler, linker.
3. Number systems, data types, bitwise logic operations, logic operation on expresions.
4. Stack, subroutine calling, local variables vs. globale variables.
5. Control structures in C, its relation to assembler, status register
6. Interrupts, interrupt vector, interrupt sources, interrupt service routine
7. Fractional arithmetics, programing functions for fractional arithmetics
8. Peripherials - GPIO, Timer
9. Introduction into microprocessor control of electric drives. Peripherial - PWM
10. Peripherial A/D converter
11. A/D converter - PWM synchronization. Electric quantities sensing.
12. Speed and position sensors in electric drives. Processing of position sensors signals
13. Serial interfaces SPI, SCI. Simple Huma Machine Interfaces - keypads, character LCD displays
Laboratory exercises:
1. Laboratory workplace, development tools, measuremet instrumentation. Simple C program
2. Development environment, debugging, simple expample with GPIO, peripherial drivers usage.
3. Data in memory, data types, bit operations, data fields, structures, constant variables in FLASH - examples.
4. Subroutine calling, writing of assembler function
5. Control structures in assembler function
6. Timer, its interrupt, LED blinking
7. Subroutine in fractional arithmetics
8. GPIO input, output mode, interrupt
9. PWM generator settings, PWM output signal analysis
10. A/D converter, conversion of signal from a generator
11. PWM, Timer, and A/D converter in synchronization mode
12. Pulse signal processring by counter
13. Simple SPI, SCI two node communication
Work placements
Aims
Specification of controlled education, way of implementation and compensation for absences
Recommended optional programme components
Prerequisites and corequisites
Basic literature
Recommended reading
Freescale Semiconductor; DSP56800E_Quick_Start_Users_Manual, www.freescale.com (EN)
Freescale Semiconductor; 56F8000 16-bit Digital Signal Controllers Data Sheet, www.freescale.com (EN)
Freescale; 56F802x and 56F803x Peripheral Reference Manual (EN)
Classification of course in study plans
Type of course unit
Lecture
Teacher / Lecturer
Syllabus
2. C program in sigle chip microprocesor, compiler, linker.
3. Number systems, data types, bitwise logic operations, logic operation on expresions.
4. Stack, subroutine calling, local variables vs. globale variables.
5. Control structures in C, its relation to assembler, status register
6. Interrupts, interrupt vector, interrupt sources, interrupt service routine
7. Fractional arithmetics, programing functions for fractional arithmetics
8. Peripherials - GPIO, Timer
9. Introduction into microprocessor control of electric drives. Peripherial - PWM
10. Peripherial A/D converter
11. A/D converter - PWM synchronization. Electric quantities sensing.
12. Speed and position sensors in electric drives. Processing of position sensors signals
13. Serial interfaces SPI, SCI. Simple Huma Machine Interfaces - keypads, character LCD displays
Laboratory exercise
Teacher / Lecturer
Syllabus
2. Development environment, debugging, simple expample with GPIO, peripherial drivers usage.
3. Data in memory, data types, bit operations, data fields, structures, constant variables in FLASH - examples.
4. Subroutine calling, writing of assembler function
5. Control structures in assembler function
6. Timer, its interrupt, LED blinking
7. Subroutine in fractional arithmetics
8. GPIO input, output mode, interrupt
9. PWM generator settings, PWM output signal analysis
10. A/D converter, conversion of signal from a generator
11. PWM, Timer, and A/D converter in synchronization mode
12. Pulse signal processring by counter
13. Simple SPI, SCI two node communication