Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

5. for the discrete-time system \\ \\mathbf{x}(k+1) = \\mathbf{a}\\math…

Question

  1. for the discrete-time system

\\ \mathbf{x}(k+1) = \mathbf{a}\mathbf{x}(k) + \mathbf{b}u(k) \\
where
\\ \mathbf{a} = \

$$\begin{bmatrix} 1 & -1 \\\\ 1 & 1 \\end{bmatrix}$$

, \\
let
\\ \mathbf{b} = \mathbf{b}_1 = \

$$\begin{bmatrix} 1 \\\\ 1 \\end{bmatrix}$$

\quad \text{and} \quad \mathbf{b} = \mathbf{b}_2 = \

$$\begin{bmatrix} 1 \\\\ -1 \\end{bmatrix}$$

. \\
(i) for each \\(\mathbf{b}\\), determine if the system is completely controllable.
(ii) for each \\(\mathbf{b}\\) that results in a completely controllable system, find the shortest input sequence that drives the state to zero if
\\ \mathbf{x}(0) = \

$$\begin{bmatrix} 4 \\\\ -2 \\end{bmatrix}$$

. \\

Explanation:

🆕 New Concept Discovered: Controllability of Discrete-Time Systems
Checking if we can steer any state to any other state

Step 1: Define the Controllability Matrix

For a second-order discrete-time system (\(n = 2\)) given by:

$$ \mathbf{x}(k+1) = \mathbf{A}\mathbf{x}(k) + \mathbf{b}u(k) $$

The system is completely controllable if and only if the controllability matrix \(\mathbf{C}\) has full rank (rank equal to \(2\)):

$$ \mathbf{C} = LATEXBLOCK0 $$

Given:

$$ \mathbf{A} = LATEXBLOCK1 $$

Step 2: Test Controllability for \(\mathbf{b}_1\)

Let \(\mathbf{b} = \mathbf{b}_1 =

$$\begin{bmatrix} 1 \\ 1 \end{bmatrix}$$

\).

Compute \(\mathbf{A}\mathbf{b}_1\):

$$ \mathbf{A}\mathbf{b}_1 = LATEXBLOCK3 LATEXBLOCK4 = LATEXBLOCK5 = LATEXBLOCK6 $$

Construct the controllability matrix \(\mathbf{C}_1\):

$$ \mathbf{C}_1 = LATEXBLOCK7 = LATEXBLOCK8 $$

Calculate the determinant of \(\mathbf{C}_1\):

$$ \det(\mathbf{C}_1) = (1)(2) - (0)(1) = 2 eq 0 $$

Since \(\det(\mathbf{C}_1)
eq 0\), the matrix \(\mathbf{C}_1\) has full rank (\(\text{rank} = 2\)).
Thus, the system is completely controllable for \(\mathbf{b} = \mathbf{b}_1\).

Step 3: Test Controllability for \(\mathbf{b}_2\)

Let \(\mathbf{b} = \mathbf{b}_2 =

$$\begin{bmatrix} 1 \\ -1 \end{bmatrix}$$

\).

Compute \(\mathbf{A}\mathbf{b}_2\):

$$ \mathbf{A}\mathbf{b}_2 = LATEXBLOCK10 LATEXBLOCK11 = LATEXBLOCK12 = LATEXBLOCK13 $$

Construct the controllability matrix \(\mathbf{C}_2\):

$$ \mathbf{C}_2 = LATEXBLOCK14 = LATEXBLOCK15 $$

Calculate the determinant of \(\mathbf{C}_2\):

$$ \det(\mathbf{C}_2) = (1)(0) - (2)(-1) = 2 eq 0 $$

Since \(\det(\mathbf{C}_2)
eq 0\), the matrix \(\mathbf{C}_2\) has full rank (\(\text{rank} = 2\)).
Thus, the system is also completely controllable for \(\mathbf{b} = \mathbf{b}_2\).

Step 4: Find the Shortest Input Sequence to Drive State to Zero

We want to find the shortest sequence of inputs \(u(0), u(1), \dots, u(N-1)\) that drives the initial state \(\mathbf{x}(0) =

$$\begin{bmatrix} 4 \\ -2 \end{bmatrix}$$

\) to the origin \(\mathbf{x}(N) =

$$\begin{bmatrix} 0 \\ 0 \end{bmatrix}$$

\).

The state equation propagates as:

$$ \mathbf{x}(1) = \mathbf{A}\mathbf{x}(0) + \mathbf{b}u(0) $$
$$ \mathbf{x}(2) = \mathbf{A}\mathbf{x}(1) + \mathbf{b}u(1) = \mathbf{A}^2\mathbf{x}(0) + \mathbf{A}\mathbf{b}u(0) + \mathbf{b}u(1) $$

Setting \(\mathbf{x}(2) = \mathbf{0}\):

$$ \mathbf{0} = \mathbf{A}^2\mathbf{x}(0) + LATEXBLOCK18 LATEXBLOCK19 $$
$$ LATEXBLOCK20 LATEXBLOCK21 = -\mathbf{A}^2\mathbf{x}(0) $$
$$ \mathbf{C} LATEXBLOCK22 = -\mathbf{A}^2\mathbf{x}(0) $$

Since the system is controllable in 2 steps, the shortest sequence length is at most \(N = 2\). Let's check if it can be done in \(N = 1\) step:
For \(N = 1\), \(\mathbf{x}(1) = \mathbf{A}\mathbf{x}(0) + \mathbf{b}u(0) = \mathbf{0} \implies \mathbf{b}u(0) = -\mathbf{A}\mathbf{x}(0)\). This requires \(-\mathbf{A}\math…

Answer:

(i) Controllability
  • For \(\mathbf{b} = \mathbf{b}_1 =
$$\begin{bmatrix} 1 \\ 1 \end{bmatrix}$$

\): Completely controllable (since \(\det(\mathbf{C}_1) = 2
eq 0\)).

  • For \(\mathbf{b} = \mathbf{b}_2 =
$$\begin{bmatrix} 1 \\ -1 \end{bmatrix}$$

\): Completely controllable (since \(\det(\mathbf{C}_2) = 2
eq 0\)).

(ii) Shortest Input Sequence to Drive State to Zero

The shortest sequence length is \(N = 2\) steps.

  • For \(\mathbf{b}_1\):
$$ u(0) = -2, \quad u(1) = -4 $$
  • For \(\mathbf{b}_2\):
$$ u(0) = -6, \quad u(1) = 8 $$