Computer Engineering and Real-time Systems, 6 credits

Datorteknik och realtidssystem, 6 hp

TSEA81

Main field of study

Computer Science and Engineering Electrical Engineering

Course level

Second cycle

Course type

Programme course

Examiner

Anders Nilsson

Director of studies or equivalent

Tomas Svensson

Education components

Preliminary scheduled hours: 40 h
Recommended self-study hours: 120 h
ECV = Elective / Compulsory / Voluntary
Course offered for Semester Period Timetable module Language Campus ECV
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Control and Information Systems) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Control and Information Systems) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Control and Information Systems) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Control and Information Systems) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Control and Information Systems) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Mechatronics) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Mechatronics) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Mechatronics) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Mechatronics) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (Mechatronics) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (System-on-Chip) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (System-on-Chip) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (System-on-Chip) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (System-on-Chip) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering (System-on-Chip) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYY Applied Physics and Electrical Engineering, M Sc in Engineering 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CYYY Applied Physics and Electrical Engineering, M Sc in Engineering (Control and Information Systems) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla C/E
6CYYY Applied Physics and Electrical Engineering, M Sc in Engineering (Mechatronics) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla C
6CYYY Applied Physics and Electrical Engineering, M Sc in Engineering (System-on-Chip) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEN Electronics Design Engineering, M Sc in Engineering 9 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Chinese 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Chinese (Master Profile Automatic Control) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Chinese (Specialization Computer Science and Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Chinese (Specialization Electrical Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - French 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - French (Master Profile Automatic Control) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - French (Specialization Computer Science and Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - French (Specialization Electrical Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - German 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - German (Master Profile Automatic Control) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - German (Specialization Computer Science and Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - German (Specialization Electrical Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Japanese 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Japanese (Master Profile Automatic Control) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Japanese (Specialization Computer Science and Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Japanese (Specialization Electrical Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Spanish 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Spanish (Master Profile Automatic Control) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Spanish (Specialization Computer Science and Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Spanish (Specialization Electrical Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIII Industrial Engineering and Management, M Sc in Engineering 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIII Industrial Engineering and Management, M Sc in Engineering (Master Profile Automatic Control) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIII Industrial Engineering and Management, M Sc in Engineering (Specialization Computer Science and Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CIII Industrial Engineering and Management, M Sc in Engineering (Specialization Electrical Engineering) 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E
6CMMM Mechanical Engineering, M Sc in Engineering 7 (Autumn 2017) 2 4 Swedish Linköping, Valla E

Main field of study

Computer Science and Engineering, Electrical Engineering

Course level

Second cycle

Advancement level

A1X

Course offered for

  • Industrial Engineering and Management - International, M Sc in Engineering
  • Industrial Engineering and Management, M Sc in Engineering
  • Mechanical Engineering, M Sc in Engineering
  • Applied Physics and Electrical Engineering - International, M Sc in Engineering
  • Applied Physics and Electrical Engineering, M Sc in Engineering
  • Electronics Design Engineering, M Sc in Engineering

Entry requirements

Note: Admission requirements for non-programme students usually also include admission requirements for the programme and threshold requirements for progression within the programme, or corresponding.

Prerequisites

Computer Hardware and Architecture, Programming and Data Structures, basic knowledge of programming in the C programming language. (If you have used C in your bachelor project in Electronics this is typically enough.)

Intended learning outcomes

To develop an understanding of hardware/software interactions in computer systems with parallel activities and time constraints, and to develop basic skills for integration of software using a real-time operating system.
After a completed course, the student shall be able to:

  • give examples of hardware/software interactions for handling of parallel activities and time constraints
  • explain properties of software with parallel activities
  • describe the structure, and give examples from the implementation, of a real-time kernel
  • summarize how the underlying computer architecture and instruction set influences the implementation of a real-time operating system
  • design and implement software with parallel activities and time constraints
  • use a real-time operating system
  • exhibit basic skills in integration of software and a real-time operating system for a specific computer architecture

Course content

Introduction to real-time systems, parallel activities and time constraints, parallel activities on a processor, interrupt-driven systems, foreground/background systems, processes and threads, real-time operating systems, shared resources, mutual exclusion, semaphores, condition variables, message-based systems, structure and implementation of a real-time kernel, context switch implementation, hardware support for parallel activities, interrupts and exceptions, user mode and supervisor mode in a processor, memory protection, virtual addressing, examples of real-time operating systems, examples of industrial applications

Teaching and working methods

The course contains lectures, assignments, and laboratory exercises. The assignments and laboratory exercises constitute a coherent series, where a sequence of assignments give the student basic competence in design and implementation of real-time systems using a real-time operating system. The assignments are performed independently by the students, with support given in lessons with guidance and examination. A selected set of the assignments are also examined by a written report. The assignments are done on a PC, with Windows or Linux.
The laboratory exercises use external hardware, in the form of an embedded system. A first laboratory exercise treats integration and bring-up of a real-time operating system in an embedded system, combined with verification of an application developed in the assignments. A second, and concluding, laboratory exercise treats, using the same embedded system, a larger application, where the knowledge obtained during the course is used and put in a larger context, e.g. using Linux in an embedded system.
The course uses the programming language C.

Examination

LAB1Translation is not available4 creditsU, G
TEN1Written Examination2 creditsU, 3, 4, 5
Grade for the course: The grade for the course is based on the grade from the written exam

Grades

Four-grade scale, LiU, U, 3, 4, 5

Department

Institutionen för systemteknik

Director of Studies or equivalent

Tomas Svensson

Examiner

Anders Nilsson

Course website and other links

http://www.isy.liu.se/en/edu/kurs/TSEA81/

Education components

Preliminary scheduled hours: 40 h
Recommended self-study hours: 120 h

Course literature

Additional literature

Books

  • Dahl, Ola, (2004) Realtidsprogrammering
    Studentlitteratur
  • Sloss, A., Symes, D., Wright, C., (2004) ARM System Developer's Guide: Designing and Optimizing System Software,
    Referenslitteratur
Code Name Scope Grading scale
LAB1 Translation is not available 4 credits U, G
TEN1 Written Examination 2 credits U, 3, 4, 5
Grade for the course: The grade for the course is based on the grade from the written exam

Regulations (apply to LiU in its entirety)

The university is a government agency whose operations are regulated by legislation and ordinances, which include the Higher Education Act and the Higher Education Ordinance. In addition to legislation and ordinances, operations are subject to several policy documents. The Linköping University rule book collects currently valid decisions of a regulatory nature taken by the university board, the vice-chancellor and faculty/department boards.

LiU’s rule book for education at first-cycle and second-cycle levels is available at http://styrdokument.liu.se/Regelsamling/Innehall/Utbildning_pa_grund-_och_avancerad_niva. 

Additional literature

Books

Dahl, Ola, (2004) Realtidsprogrammering

Studentlitteratur,

Sloss, A., Symes, D., Wright, C., (2004) ARM System Developer's Guide: Designing and Optimizing System Software,

Referenslitteratur

Note: The course matrix might contain more information in Swedish.

I = Introduce, U = Teach, A = Utilize
I U A Modules Comment
1. DISCIPLINARY KNOWLEDGE AND REASONING
1.1 Knowledge of underlying mathematics and science (G1X level)

                            
1.2 Fundamental engineering knowledge (G1X level)
X

                            
1.3 Further knowledge, methods, and tools in one or several subjects in engineering or natural science (G2X level)
X
LAB1
TEN1

                            
1.4 Advanced knowledge, methods, and tools in one or several subjects in engineering or natural sciences (A1X level)

                            
1.5 Insight into current research and development work

                            
2. PERSONAL AND PROFESSIONAL SKILLS AND ATTRIBUTES
2.1 Analytical reasoning and problem solving
X

                            
2.2 Experimentation, investigation, and knowledge discovery

                            
2.3 System thinking
X

                            
2.4 Attitudes, thought, and learning
X
X
LAB1
TEN1

                            
2.5 Ethics, equity, and other responsibilities

                            
3. INTERPERSONAL SKILLS: TEAMWORK AND COMMUNICATION
3.1 Teamwork

                            
3.2 Communications
X
X
LAB1
TEN1

                            
3.3 Communication in foreign languages
X

                            
4. CONCEIVING, DESIGNING, IMPLEMENTING AND OPERATING SYSTEMS IN THE ENTERPRISE, SOCIETAL AND ENVIRONMENTAL CONTEXT
4.1 External, societal, and environmental context

                            
4.2 Enterprise and business context

                            
4.3 Conceiving, system engineering and management

                            
4.4 Designing

                            
4.5 Implementing

                            
4.6 Operating

                            
5. PLANNING, EXECUTION AND PRESENTATION OF RESEARCH DEVELOPMENT PROJECTS WITH RESPECT TO SCIENTIFIC AND SOCIETAL NEEDS AND REQUIREMENTS
5.1 Societal conditions, including economic, social, and ecological aspects of sustainable development for knowledge development

                            
5.2 Economic conditions for knowledge development

                            
5.3 Identification of needs, structuring and planning of research or development projects

                            
5.4 Execution of research or development projects

                            
5.5 Presentation and evaluation of research or development projects

                            

This tab contains public material from the course room in Lisam. The information published here is not legally binding, such material can be found under the other tabs on this page.

There are no files available for this course.