Lab 3 - Fixed-point implementation of a DC-servo controller

Responsible: Claudio Mandrioli

Material

All the material needed for the lab is contained in this zip file.

The simulink model requires Matlab 2019a or a more recent version, make sure your installation is compliant (you can download it here, include Simulink and the Contro Systems Toolbox in the installation).

Content:

  • lab_manual: fully read it carefully,
  • initialize.m: initialization script for the simulink model,
  • lab3.slx: simulink model for the DC servo control loop,
  • include directory: contains C header files, you wont need to do anything with it,
  • src directory: this directory contains the C files with the functions you will have to implement.

General Information

  • This lab is a simulated version of the DC servo embedded control.
  • Two submissions are allowed. Submission deadlines are written below.
  • Submit in canvas (see assignments) only the 4 .c files with your controllers.
  • find help on piazza (discuss high level concepts rather than ask for solutions to the lab questions), or you can contact the lab responsible claudio.mandrioli@control.lth.se 
  • a FAQ is also posted on piazza

Timetable

The deadlines are a conservative limit, you are encouraged to submit your solutions before. Correction and feedback will be provided as soon as possible.

  • 22nd February: lab material and assignment are released
  • 26th February: exercise sessions on fixed point implementation of controllers
  • 20th March: first submission deadline for students of the Master Program in Machine Learning, Systems and Control (course code FRTN60)
  • 28th March: first submission deadline for everyone else (course code FRTN01)
  • 10th April: second submission deadline.