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 using inputs.

Step 1: Define the Controllability Matrix

For a second-order discrete-time system \( \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 \( \mathcal{C} \) has full rank (rank equal to the dimension of the state space, which is 2).

The controllability matrix is defined as:

$$ \mathcal{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}$$

\).

First, compute \( \mathbf{A}\mathbf{b}_1 \):

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

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

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

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

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

Since the determinant is non-zero, \( \mathcal{C}_1 \) has full rank (rank = 2).
Thus, the system is completely controllable for \( \mathbf{b}_1 \).

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

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

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

\).

First, compute \( \mathbf{A}\mathbf{b}_2 \):

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

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

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

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

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

Since the determinant is non-zero, \( \mathcal{C}_2 \) has full rank (rank = 2).
Thus, the system is completely controllable for \( \mathbf{b}_2 \).

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

We want to find the shortest sequence of inputs \( u(0), u(1), \dots, u(N-1) \) such that the state at step \( N \) is zero:

$$ \mathbf{x}(N) = \mathbf{0} $$

The state equation propagated over \( N \) steps is:

$$ \mathbf{x}(N) = \mathbf{A}^N \mathbf{x}(0) + \sum_{i=0}^{N-1} \mathbf{A}^{N-1-i} \mathbf{b} u(i) $$

Since the system is controllable and of dimension 2, any state can be driven to the origin in at most \( N = 2 \) steps. Let's check if it can be done in \( N = 1 \) step first.

Case 1: For \( N = 1 \) step
$$ \mathbf{x}(1) = \mathbf{A}\mathbf{x}(0) + \mathbf{b}u(0) = \mathbf{0} $$
$$ \mathbf{b}u(0) = -\mathbf{A}\mathbf{x}(0) $$

Let's compute \( -\mathbf{A}\mathbf{x}(0) \):

$$ -\mathbf{A}\mathbf{x}(0) = - LATEXBLOCK16 LATEXBLOCK17 = - LATEXBLOCK18 = LATEXBLOCK19 $$

For \( \mathbf{b}_1 =

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

\):

$$ LATEXBLOCK21 u(0) = LATEXBLOCK22 $$

There is no scalar \( u(0) \) that satisfies this.

For \( \mathbf{b}_2 = \begin{bmatrix} 1 \\ -1…

Answer:

(i) Controllability Analysis
  • For \( \mathbf{b}_1 \): The system is completely controllable because \( \det(\mathcal{C}_1) = 2

eq 0 \).

  • For \( \mathbf{b}_2 \): The system is completely controllable because \( \det(\mathcal{C}_2) = 2

eq 0 \).

---

(ii) Shortest Input Sequence to Drive State to Zero

The shortest sequence length is \( N = 2 \) steps for both cases:

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