Computing the discrete-time difference equation when the system matrix is non-invertible

Multi tool use
up vote
2
down vote
favorite
If we have a continuous time equation,
$$ dot{x}(t) = A x(t) + B u(t)$$
where $A in mathbb{R}^{n times n}, x in mathbb{R}^{ntimes1}, B in mathbb{R}^{n times m}, u in mathbb{R}^{m times 1}$, the analytical solution is obtained as
$$x(t) = e^{A t} x(0) + int_0^t e^{A(t-tau)}B u(tau), dtau$$
Converting this to discrete-time, with sample-time $T_s$, and assuming that all eigen-values of $A$ are real & distinct and $u$ remains constant within each sample interval, $k$ to $k+1$, we get the following difference equation,
$$x[k+1] = e^{A T_s} x[k] + left[int_0^t e^{Atau}B , dtauright] u[k]$$
Which can be written as
$$x[k+1] = A_d x[k] + B_d u[k]$$
When the original matrix $A$ is invertible, the integral term corresponding to $B_d$ can be written as
$$B_d = A^{-1}(A_d - I)$$
The question is, What about the case when A is non-invertible? In particular, if my $A=begin{bmatrix}a_1 & 0 & 0 \ 0 & a_2 & 0 \ 0 & 0 & 0 end{bmatrix}$ and $B=begin{bmatrix}b_1 \ b_2 \ b_3 end{bmatrix}$. How do I obtain the corresponding $B_d$?
differential-equations dynamical-systems matrix-equations
add a comment |
up vote
2
down vote
favorite
If we have a continuous time equation,
$$ dot{x}(t) = A x(t) + B u(t)$$
where $A in mathbb{R}^{n times n}, x in mathbb{R}^{ntimes1}, B in mathbb{R}^{n times m}, u in mathbb{R}^{m times 1}$, the analytical solution is obtained as
$$x(t) = e^{A t} x(0) + int_0^t e^{A(t-tau)}B u(tau), dtau$$
Converting this to discrete-time, with sample-time $T_s$, and assuming that all eigen-values of $A$ are real & distinct and $u$ remains constant within each sample interval, $k$ to $k+1$, we get the following difference equation,
$$x[k+1] = e^{A T_s} x[k] + left[int_0^t e^{Atau}B , dtauright] u[k]$$
Which can be written as
$$x[k+1] = A_d x[k] + B_d u[k]$$
When the original matrix $A$ is invertible, the integral term corresponding to $B_d$ can be written as
$$B_d = A^{-1}(A_d - I)$$
The question is, What about the case when A is non-invertible? In particular, if my $A=begin{bmatrix}a_1 & 0 & 0 \ 0 & a_2 & 0 \ 0 & 0 & 0 end{bmatrix}$ and $B=begin{bmatrix}b_1 \ b_2 \ b_3 end{bmatrix}$. How do I obtain the corresponding $B_d$?
differential-equations dynamical-systems matrix-equations
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
If we have a continuous time equation,
$$ dot{x}(t) = A x(t) + B u(t)$$
where $A in mathbb{R}^{n times n}, x in mathbb{R}^{ntimes1}, B in mathbb{R}^{n times m}, u in mathbb{R}^{m times 1}$, the analytical solution is obtained as
$$x(t) = e^{A t} x(0) + int_0^t e^{A(t-tau)}B u(tau), dtau$$
Converting this to discrete-time, with sample-time $T_s$, and assuming that all eigen-values of $A$ are real & distinct and $u$ remains constant within each sample interval, $k$ to $k+1$, we get the following difference equation,
$$x[k+1] = e^{A T_s} x[k] + left[int_0^t e^{Atau}B , dtauright] u[k]$$
Which can be written as
$$x[k+1] = A_d x[k] + B_d u[k]$$
When the original matrix $A$ is invertible, the integral term corresponding to $B_d$ can be written as
$$B_d = A^{-1}(A_d - I)$$
The question is, What about the case when A is non-invertible? In particular, if my $A=begin{bmatrix}a_1 & 0 & 0 \ 0 & a_2 & 0 \ 0 & 0 & 0 end{bmatrix}$ and $B=begin{bmatrix}b_1 \ b_2 \ b_3 end{bmatrix}$. How do I obtain the corresponding $B_d$?
differential-equations dynamical-systems matrix-equations
If we have a continuous time equation,
$$ dot{x}(t) = A x(t) + B u(t)$$
where $A in mathbb{R}^{n times n}, x in mathbb{R}^{ntimes1}, B in mathbb{R}^{n times m}, u in mathbb{R}^{m times 1}$, the analytical solution is obtained as
$$x(t) = e^{A t} x(0) + int_0^t e^{A(t-tau)}B u(tau), dtau$$
Converting this to discrete-time, with sample-time $T_s$, and assuming that all eigen-values of $A$ are real & distinct and $u$ remains constant within each sample interval, $k$ to $k+1$, we get the following difference equation,
$$x[k+1] = e^{A T_s} x[k] + left[int_0^t e^{Atau}B , dtauright] u[k]$$
Which can be written as
$$x[k+1] = A_d x[k] + B_d u[k]$$
When the original matrix $A$ is invertible, the integral term corresponding to $B_d$ can be written as
$$B_d = A^{-1}(A_d - I)$$
The question is, What about the case when A is non-invertible? In particular, if my $A=begin{bmatrix}a_1 & 0 & 0 \ 0 & a_2 & 0 \ 0 & 0 & 0 end{bmatrix}$ and $B=begin{bmatrix}b_1 \ b_2 \ b_3 end{bmatrix}$. How do I obtain the corresponding $B_d$?
differential-equations dynamical-systems matrix-equations
differential-equations dynamical-systems matrix-equations
asked May 23 at 19:51
Krishna
1438
1438
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2793448%2fcomputing-the-discrete-time-difference-equation-when-the-system-matrix-is-non-in%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2793448%2fcomputing-the-discrete-time-difference-equation-when-the-system-matrix-is-non-in%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
wT UX etI6SB 2OvSqyzZwx0uy 0XJlU5D7X4nAWiV7VWjHrD80DyVvRnhy6,Lf4 2Xy aUH