Exercises

  • "P" marks an ordinary problem-solving exercise, partly using Matlab.
  • "C" marks a computer exercise based on Java.
  • Exercises with the number 0 are extra exercises covering topics that most LTH students should be familiar with already before the course starts.

Problem-Solving Exercises

The material for the problem solving exercises P0 - P6 including solutions is available Download here

(pdf). You may also use the Download formula sheet (pdf)

The problem solving exercises have consisted of a seminar style lecture and a normal session for questions. The slides for the seminar style lectures are posted beneath the corresponding exercise.

Computer Exercises

For the computer exercises we, in addition to the exercise instructions and solutions found in the table below, provide a code skeleton for the individual computer exercises. The code skeleton can be downloaded here: ExerciseSkeleton.zip Download ExerciseSkeleton.zip 

Hints

Some browsers seem to not like much the links in the exercise pages. If those don't seem to work you can try different things: right click and choose "Open link in new tab", or "Download linked file", or similar. Also, changing browser can solve the problem. Another resource is the code skeleton linked above.

Course Week Exercise

Topic

Material

Session 1 Session 2
1 C0

Extra: Introduction to Java

Instructions Download Instructions Download Exercise 0.pdf

 

Tue Jan 17
13:15 - 15:00



1 C1 Threads

Instructions Download Instructions
Solutions Download Exercise 1.pdf

 

Wed Jan 18
8:15 - 10:00

Wed Jan 18
10:15 - 12:00

1 P0 Extra: Introduction to Matlab Download Real-Time Systems Exercises

Thu Jan 19
15:15 - 17:00

 

2

C2 Synchronization

Instructions Download Instructions
Solutions Download Solutions Download Exercise 2.pdf

 

Tue Jan 24
8:15 - 10:00

Tue Jan 24
15:15 - 17:00

2 P1 Discrete Approximation, PID Download Real-Time Systems Exercises
Download Slides-V1
Download Slides-V2
Thu Jan 26
10:15 - 12:00
Thu Jan 26
13:15 - 15:00
3 C3 Controller Implementation

Instructions Download Instructions
Solutions Download Solutions Download Exercise 3.pdf

 
Class interfaces for Beam problem
Class interfaces for Ball and Beam problem

Mon 30 Jan
13:15 - 15:00
Mon 30 Jan
15:15 - 17:00
3 P2 Sampling of Systems

Download Real-Time Systems Exercises

Download Slides-V1

Download Slides-V2

Tue Jan 31
13:15 - 15:00
Tue Jan 31
15:15 - 17:00
4 C4 Graphical User Interfaces

Instructions Download Instructions
Solutions

Tue Feb 7
13:15 - 15:00

Tue Feb 7
15:15 - 17:00

4 P3 Input-Output Models Download Real-Time Systems Exercises Slides-V1 Slides-V2  Wed Feb 8
10:15 - 12:00
Wed Feb 8
13:15 - 15:00
4 C5 Preparation for Lab 1 No new material Fri Feb 10
10:15 - 12:00
Fri Feb 10
13:15 - 15:00
5 P4 State Feedback & Observers Download Real-Time Systems Exercises Slides-V1 Slides-V2 

Fri Feb 17
10:15 - 12:00

Fri Feb 17
13:15 - 15:00

6 P5 Fixed-Point Implementation

Download Real-Time Systems Exercises

Slides-1

Slides-2

Fri Feb 24
10:15 - 12:00

Fri Feb 24
13:15 - 15:00
7 P6 Scheduling Theory

Download Real-Time Systems Exercises

Slides-V1

Slides-V2

Fri Mar 3
10:15 - 12:00
Fri Mar 3
13:15 - 15:00