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

General information

In this laboratory exercise, you will control a rotating servo by using a real microcontroller. You will also get some experience of how to perform fixed-point arithmetic in C. Please note the preparatory exercises.

Material

Preparations

  • Review Lecture 12 (on computer arithmetic)
  • Review Problem Solving Exercise P4 (on design of state feedback and observers in MATLAB)
  • Review Problem Solving Exercise P5 (on fixed-point arithmetic)
  • Study the manual and code skeleton carefully, make sure you understand the structure of the program
  • Solve the Preparatory Assignments 1, 3, 5, 6 and 8

Signup

https://sam.control.lth.se/LabsSelectSession?occasionId=512 Links to an external site.

Contact

For all questions regarding lab instructions, submission or bugs, refer to either: