Course detail

Microprocessor technics for drives

FEKT-BMTPAcad. year: 2012/2013

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

Czech

Number of ECTS credits

6

Mode of study

Not applicable.

Learning outcomes of the course unit

Principle of microcontrollers and programming with development systems.

Prerequisites

The subject knowledge on the secondary school level is required.

Co-requisites

Not applicable.

Planned learning activities and teaching methods

Teaching methods depend on the type of course unit as specified in the article 7 of BUT Rules for Studies and Examinations.

Assesment methods and criteria linked to learning outcomes

Requirements for completion of a course are specified by a regulation issued by the lecturer responsible for the course and updated for every.

Course curriculum

Lectures:
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

Not applicable.

Aims

Basic principles of digital control by microcontrollers, basic knowledges of programming.

Specification of controlled education, way of implementation and compensation for absences

The content and forms of instruction in the evaluated course are specified by a regulation issued by the lecturer responsible for the course and updated for every academic year.

Recommended optional programme components

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Klíma B., Stupka R.;Mikroprocesorová technika v elektrických pohonech; Elektronický text FEKT VUT v Brně (CS)

Recommended reading

Freescale Semiconductor; DSP56800E 16-Bit DSP Core Reference Manual, www.freescale.com (EN)
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

  • Programme EECC Bc. Bachelor's

    branch B-SEE , 3 year of study, summer semester, elective specialised

  • Programme EEKR-CZV lifelong learning

    branch EE-FLE , 1 year of study, summer semester, elective specialised

Type of course unit

 

Lecture

26 hod., optionally

Teacher / Lecturer

Syllabus

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 exercise

39 hod., compulsory

Teacher / Lecturer

Syllabus

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