Přejít k hlavnímu obsahu
Přihlásit se
Čeština ‎(cs)‎ English ‎(en)‎
Dokumentace
Čeština ‎(cs)‎ English ‎(en)‎

Optimal and Robust Control

BE3M35ORR + B3M35ORR + BE3M35ORC
  1. Titulní stránka
  2. Kurzy
  3. BE3M35ORR, B3M35ORR, BE3M35ORC - B232
  4. 18. března - 24. března
  5. Homework problem assignment #5
Tento kurz je součástí již archivovaného semestru, a proto je dostupný pouze pro čtení.

Homework problem assignment #5

Požadavky na absolvování
Termín: středa, 27. března 2024, 11.00

Use Dynamic Programming to find an optimal control policy for the following discrete-time system

\(
x_{k+1} = x_k - 0.4 x^2_k + u_k, \qquad k=0,\dots,4
\)

The state and control variables are constrained by

\(
\begin{array}{c}
-1 \leq x_k \leq 1\\
-0.5 \leq u_k \leq 0.5.
\end{array}
\)


Quantize the state into the levels \(-1, -0.8, \dots, 0.8, 1\), and the control into the levels \(-0.5, -0.4, \dots 0.4, 0.5\).

Use linear interpolation in cases where you need to get a value of the value function \(J^\ast\) or optimal control policy \(u^\ast\) outside the quantized values of \(x\).

Your goal is to get the state to zero as quickly as possible. In other words, choose a performance index so that the number of time instants at which \(x_k\) is non-zero is minimized.

Download the attached file 'hw5_cvutID.m'  where a majority of the code solving this homework assignment has already been implemented. Fill in the gaps in the code and submit the modified version of the file. Do not forget to rename the file (and the name of the main function in it) according to your CVUT ID (KOS username). Please do not change the parameters of the simulation or vectors x, u, and t. Your solution will be evaluated based on these vectors.

  • hw5_cvutID.m hw5_cvutID.m
    12. ledna 2024, 23.53
◄ Julia files for the lecture
M-files for the exercises ►
ORR
Optimal and Robust Control
B232 B232 - Letní 23/24
B162 - Letní 16/17 B172 - Letní 17/18 B182 - Letní 18/19 B192 - Letní 19/20 B202 - Letní 20/21 B212 - Letní 21/22 B222 - Letní 22/23 B242 - Letní 24/25

Známky Vyučující Účastníci
 Kontaktujte nás  Spustit znovu Průvodce uživatele
© 2025 Centrum znalostního managementu
Užitečné odkazy
Web fakulty Harmonogram Studijní oddělení FELSight Moodle API
Navigace
Přihlásit se
CTU logo