Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← Lectures: DC motor controlModule 08

DC Motor Control 08 | LQR and LQI for Speed Tracking

InstructorDr. Redmond R. Shamshiri
AffiliationAssistant Professor of Robotics · University of Southern Denmark (SDU)
Study time35 minutes
Watch & study

Lecture video

Open on YouTube ↗

Video unavailable here? Watch on YouTube. Captions and playback speed are available in the player.

Study companion. These editable notes, worked examples and exercises supplement the source material. They are not a verbatim video transcript or a reproduction of the book.

Study DC Motor Control 08 | LQR and LQI for Speed Tracking. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Learning Objectives

  • Explain the role of quadratic state-feedback design in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: DC Motor Control 08 | LQR and LQI for Speed Tracking

Define the input, measured output, units and pass/fail condition before running the experiment.

Quadratic state-feedback design

LQR trades state deviations against control effort for a stated linear model and quadratic cost. Weights have units and change meaning when state scales change. Clipping an unconstrained LQR output alters the closed-loop behavior and must be tested.

Model, units and assumptions

\[J=\sum_{k=0}^{\infty}(x_k^TQx_k+u_k^TRu_k),\qquad u_k=-Kx_k\]

Q is positive semidefinite and R positive definite in the usual discrete-time formulation. K is calculated from the model and cost; it is not chosen by dividing Q by R. Tracking needs an explicit reference formulation or integral augmentation.

Worked engineering example

With x = [0.1, −0.2]ᵀ and K = [2,1], the command is −(0.2−0.2) = 0. Units and normalization must be checked before interpreting this cancellation physically.

Practical task and evidence

Apply the following procedure to the topic of this lesson: DC Motor Control 08 | LQR and LQI for Speed Tracking.

  • Normalize states or document their physical scales before choosing weights.
  • Compare control effort, error and saturation on the same input used for a PID baseline.
  • Repeat under changed payload or model parameters and report the degradation.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. For K = [3,2] and x = [0.2,0.1]ᵀ, calculate u.

Show worked answer

u = −0.8 in the chosen input units.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Quadratic state-feedback design: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Suggested Reading & Resources

  • Reading
    MathWorks control-system modeling

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗