Course detail

Embedded systems for industrial control

FEKT-NPORAcad. year: 2019/2020

Basic terms: programming model, addressing modes, assembler, embedded peripherals, counters, timers, interrupt subsystem. Mapping and addressing of peripherals.
Peripherals: A/D and D/A converters, counters and timers, synchronous and asynchronous serial interface. Power elements. Intelligent display. Connection of external peripherals like memory, A/D and D/A converters, displays, keyboards. Buses I2C, 485 and 422. Programming techniques for embedded systems. Introduction to Real time OS. Introduction to Faul-tolerant systems.

Language of instruction

English

Number of ECTS credits

6

Mode of study

Not applicable.

Learning outcomes of the course unit

After the course student is able to:
- define of basic microcontroller system and its peripherals requirements
- describe of basic microcontroller system and its peripherals
- design of basic microcontroller system and its peripherals
- analyze of basic microcontroller system and its peripherals
- construct of basic microcontroller system and its peripherals
- review of basic microcontroller system and its peripherals
- utilize of basic microcontroller system and its peripherals
- program of basic microcontroller system and its peripherals

Prerequisites

Student is able to:
- explain of basic physical characteristics of passive and active components (resistor, inductor, capacitor, transistor, diode, LED, voltage regulator, transformer, optocoupler, XTAL, etc.)
- calculate with basic electric characteristics
- analyze of basic electric circuits
- calculate the basic electric circuits
- explain basic logic circuits
- calculate with logic operations
- simplify of logic functions
- design of logic circuit
- program in ISO C language
- design the algorithms
- program the algorithms
- design the state machine (Moor, Mealy)
- transform of state machine to algorithm
- explain of basic computer terms (CPU, RAM, ROM, EPROM, etc.)
- explain of basic computer architectures (Harvard, VonNeuman)
- discuss the basic terms of probability and statistics
- calculate with different numerical systems (HEX, octal, decimal, binary)

Co-requisites

Not applicable.

Planned learning activities and teaching methods

Techning methods include lectures and computer laboratories.Students have to write six small test and a single project/assignment during the course.

Assesment methods and criteria linked to learning outcomes

- up to 40 points from laboratory (six written tests per 5 point, one individual test on PC per 10 points)
- up to 60 points from examination (examination by test form)
- credit can by done, if student receive >= 20 point from laboratory tests

Course curriculum

- Introduction to logic systems. Introduction to numeric systems. State machines.
- Microcontroller programming in ISO C. Computer structures.
- Microcontroller and its internal peripherals description – XTAL, timer/counter, UART, memory
- Introduction to microcontroller system design
- Introduction to peripheral devices – address decoder, PIO, alphanumerical display
- Introduction to peripheral devices – discrete PIO, secondary address decoder, matrix keyboard
- Introduction to I2C bus
- Introduction to I2C bus design – RTC, A/D, D/A, PIO, RAM, EEPROM
- Introduction to RT-OS
- Introduction to Fault-tolerant systems

Work placements

Not applicable.

Aims

Students achieve knowledge with micorcontroller and microprocessor architecture and connected peripherals and subsystems. Students acquire knowledge with sophisticated programming languages

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

Predko M.,: Handbook of microcontrolers, McGraw-Hill, ISBN 0079137164, 1998 (EN)

Recommended reading

Not applicable.

Classification of course in study plans

  • Programme EECC-MN Master's

    branch MN-KAM , 1 year of study, summer semester, compulsory

Type of course unit

 

Lecture

26 hod., optionally

Teacher / Lecturer

Syllabus

Internal architecture of microprocessor. Programming model. Addressing modes. Assembler.
Embedded peripherals: counters/timers, asynchronous serial interface, Watch-Dog, power monitor.
Connection of external memories and mapping of peripheral. Extension of I/O, relay and transistor outputs.
Principles of peripherals connections. Intelligent display, its programming, register and modes description.
Multiplex control of displays. Devices for control of displays. Keyboard: connection, control.
I2C bus, multi-master mode, peripherals I2C devices.
Peripherals devices on I2C: RTC, EEPROM, RAM and I/O expander
Interfacing of microcontroller to process. A/D and D/A converters. Inputs multiplexing. Connecting of sensors.
Power elements and their connection to control system. Switching bridges. DC power elements. PWM implementation.
Serial bus for communication. RS232, RS485, RS422 and CAN standards.
Implementation of control algorithms. Signal filtration.
Advanced embedded systems. PC104, DIMM-PC, operating systems.
Real-time systems. Multiprocessors communication.

Laboratory exercise

39 hod., compulsory

Teacher / Lecturer

Syllabus

Organization. Introduction to embedded system.
Development environment. Specific attributes of C language for microcontrollers. Basic program modules. Introduction to programming.
Embedded peripherals. Time slope generation. Timers modes. Watch-Dog.
Inputs, outputs. Data memory. Variables and structures definition. Mapping and masking external peripherals.
Programming of intelligent display. Procedures redefinition.
Keyboard. Connection and programming. Periodical reading. Edge testing. Interrupt subsystem. Procedures redefinition.
I2C bus. SW implementation. RAM and EEPROM devices on I2C. Programming.
I2C bus. RTC device. Setting and utilizing of calendar.
Synchronous serial interface. SW emulation. A/D converters on SCI.
Programming and utilizing of A/D and D/A converters, multiplexing and calibration.
RTC generating. SW implementation of PWM.
Asynchronous serial interface. RS232. Interconnection of embedded systems with PC. Basic communication. XON/XOFF data flow control.
Semester project checking.