DE0190 Microprocessors - based Automation Systems

Code DE0190
Name Microprocessors - based Automation Systems
Status Compulsory/Courses of Limited Choice
Level and type Post-graduate Studies, Academic
Field of study Computer Science
Faculty Faculty of Computer Science, Information Technology and Energy
Academic staff Iļja Galkins, Aleksandrs Bubovičs, Kristaps Vītols
Credit points 5.0
Parts 1
Annotation The study course has been composed for any student who has elementary knowledge in the field of electrical engineering and programming and wish to gain basic practical skills of utilization of microcontrollers MSP430. The study course briefly discusses basic design features of microcontrollers MSP430 in the context of various architectures of microprocessors, microcontrollers and peripheral devices. A significant part of the study course is devoted to the programming of MSP430 using assembler language – including the programming of digital I/O, watchdog and arithmetical operations. The study course is based on practical studies and assumes active individual training of the students in the laboratory or at home. Development of a complete embedded, MSP430 microcontroller-based control system with sensors and actuators is planned within the scope of the study course..
Contents
Content Full- and part-time intramural studies Part time extramural studies
Contact hours Independent work Contact hours Independent work
L0 Introduction, LC1 Structure of microcontrollers. 3 4 1 6
LC2A Digital inputs/outputs. 3 5 1 7
LC2B Interrupts of digital inputs/outputs. 3 4 1 6
LC3 Clock system. 3 5 1 7
LC4 Watchdog timer. 3 4 1 6
LC5 Interval measurement, pulse signal generation and its parameter measurement using timer TA. 3 5 1 7
LC6 Measurement of analog signals with analog comparator, ADC and options of synthesis of analog signals. 3 4 1 6
LA1 MCU architectures, LA2A Structure of processor, commands, operands. 3 5 1 7
LA2B Assembler statements and cycles, processing of arrays, LA2C Assembler arithmetic. 3 4 1 6
LA3, LA4 Processor command formats, addressing modes, command sizes and execution time, LA5 Design of machine code. 3 5 1 7
LA6 Stack, subroutines, interrupts, LA7 Simultaneous use of Assembler and C code. 3 4 1 6
LK11 Utilization of timer TA and analog devices to connect sensors. Information extraction from sensors. 3 5 1 7
LK12 Utilization of timer TA to control actuators. 3 4 1 6
LK21 Utilization of microcontroller UART communication to connect sensors and obtain measurement data. 3 5 1 7
LK22 Utilization of microcontroller SPI communication to connect sensors and obtain measurement data. 3 4 1 6
LK23 Utilization of microcontroller I2C communication to connect sensors and obtain measurement data. 3 5 1 7
Total: 48 72 16 104
Goals and objectives
of the course in terms
of competences and skills
The aim of the study course is to develop students' abilities to develop embedded control systems with microcontrollers. The set goal requires given tasks: 1) Introduce students to the structure of microprocessor embedded control systems and its key elements (processor, memory, peripheral devices) to recognize microcontroller and processor architectures and identify their advantages and drawbacks. 2) Provide information about typical microprocessor peripheral modules, their functions and to develop their utilization skills. 3) Train students to quickly design an MSP430 microcontroller machine code by composing the initial code in C language and perform its debugging. 4) Train students to design an efficient MSP430 microcontroller machine code in assembler language and perform its debugging. 5) Develop student skills to use MSP430 microcontrollers with sensors and actuators using typical peripheral modules as required to design fully embedded control systems. 6) Develop student skills to use MSP430 microcontrollers with communication modules as required for design of fully functional embedded control systems.
Learning outcomes
and assessment
Is able to recognize the most significant elements of microprocessors and microprocessor systems (processor, memory, peripheral devices), identify their architectures, benefits and drawbacks. Knowledge about microprocessor embedded control system component interaction. - Exam (weekly quizzes as an alternative).
Is able to explain operation of CPU, memory, some peripheral devices (digital I/Os and watchdog) and other significant part of MSP430. - Exam (weekly quizzes as an alternative).
Is able to quickly design and debug MSP430 microcontroller machine code to initialize and utilize peripherals in C language. - Laboratory tasks.
Is able to design and debug efficient MSP430 microcontroller machine code. - Practical tasks.
Is able to connect sensors and actuators to MSP430 microcontroller using typical peripherals. - Laboratory tasks.
Is able to connect sensors and actuators to MSP430 microcontroller using communication modules. - Laboratory tasks.
Evaluation criteria of study results
Laboratory tasks - 30%
Practical tasks - 30%
Exam or quizzes - 40%
 
Course prerequisites Basic knowledge in the field of electrical engineering, digital electronics and programming.
Course planning
Part CP Hours Tests
Lectures Practical Lab. Test Exam Work
1 5.0 18.0 18.0 18.0 *

[Extended course information PDF]