Rewrite second order non-homogeneous differential equation as a first order systemFurther explanation needed for this first order system of linear equations which is as follows:Differential equation of a mass on a springSolving a system of equation modul0 5Stability for Nonlinear SystemConverting second order system into first order system (ODE)Calculate equilibrium points of a 2nd order systemFinding a matrix for a system of differential equationsSolve differential equation by using polar coordinatesConvert equation system in to one ODESolving system of first order differential equations using eigenvalue /eigenvector and matrix exponential approaches
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Assassin's bullet with mercury
Solving a recurrence relation (poker chips)
Should I cover my bicycle overnight while bikepacking?
Venezuelan girlfriend wants to travel the USA to be with me. What is the process?
How could indestructible materials be used in power generation?
Size of subfigure fitting its content (tikzpicture)
Zip/Tar file compressed to larger size?
Short story with a alien planet, government officials must wear exploding medallions
Ambiguity in the definition of entropy
How can saying a song's name be a copyright violation?
Why do bosons tend to occupy the same state?
Why are the 737's rear doors unusable in a water landing?
What about the virus in 12 Monkeys?
Forgetting the musical notes while performing in concert
Gatling : Performance testing tool
Can I run a new neutral wire to repair a broken circuit?
How badly should I try to prevent a user from XSSing themselves?
Detention in 1997
How would I stat a creature to be immune to everything but the Magic Missile spell? (just for fun)
How to remove strange space symbols in Word
How do I handle a potential work/personal life conflict as the manager of one of my friends?
Is there a hemisphere-neutral way of specifying a season?
What reasons are there for a Capitalist to oppose a 100% inheritance tax?
Rewrite second order non-homogeneous differential equation as a first order system
Further explanation needed for this first order system of linear equations which is as follows:Differential equation of a mass on a springSolving a system of equation modul0 5Stability for Nonlinear SystemConverting second order system into first order system (ODE)Calculate equilibrium points of a 2nd order systemFinding a matrix for a system of differential equationsSolve differential equation by using polar coordinatesConvert equation system in to one ODESolving system of first order differential equations using eigenvalue /eigenvector and matrix exponential approaches
$begingroup$
Question: I believe I am correct up until $y(t) = Cx(t)$. I was told I did it incorrectly, but I cannot figure out how to grab the position of the antenna using $y(t) = Cx(t)$. Does it look correct, if not, how can I go about finding $y(t)$? I am stumped.
We want to design and simulate a full state feedback LQR control law for a
rotating antenna. The motion of the antenna can be described by the linear second order non-homogeneous differential equation given by $$Iθ''(t) + cθ'(t) = τ (t)$$ with initial conditions: $$θ(0) = θ_0$$ $$θ'(0) = θ_1$$ where $I$ is the effective moment of inertia of all the rotating parts including the antenna,
$c ≥ 0$ is the coefficient of viscous (i.e. air; the antenna is in low earth atmosphere, not the vacuum of space) friction, $τ (t)$ is the torque applied by the motor that effects the rotation at time $t ≥ 0$, and $θ(t)$ is the angular position of the antenna at time $t ≥ 0$.
(The basis for the model is simply Newton’s second law, $F = ma$, in the context of rotary motion, i.e. torque equals the moment of inertia times the angular acceleration. The friction term is modeled as a torque that is proportional to the velocity so that it is in the direction opposite to the motion of the antenna.)
The motor torque at time $t ≥ 0$ is assumed to be proportional to $u(t)$, the input voltage to the motor, with constant of proportionality $b > 0$.
In your calculations below use the following values: $alpha = fraccI=4.6s^-1,$ $λ = fracbI = 0.787 fracradVs2 $, and $I = 10kgm^2.$
The output variable is the angular position of the antenna.
Rewrite the model as a first order system of the form $$x'(t) = Ax(t) + Bu(t)$$ $$y(t) = Cx(t)$$ $$x(0) = x_0.$$
ATTEMPT:
$$Itheta''(t) + ctheta'(t) + 0theta(t)= tau(t)$$
$$theta''(t) = frac1Itau(t)-fraccItheta'(t)-0theta(t)$$
$$x_1=theta(t)$$
$$x_2 =theta'(t)$$
$$x_1'(t) = theta'(t)$$
$$x_2'(t) = theta''(t)=fracbIu(t)-fraccItheta'(t)-0theta(t)$$
$$x_1(0) = theta(0) = theta_0$$
$$x_2(0) = theta'(t) = theta_1$$
$$x_1'(t) = 0x_1(t)+1x_2(t)+0$$
$$x_2'(t) = 0x_1(t) -fraccIx_2(t)+fracbIu(t)$$
$$x'(t)=beginpmatrixx_1'\ x_2' endpmatrix=beginpmatrix0 & 1\ 0 & frac-cIendpmatrixx(t)+beginpmatrix0\ fracbIendpmatrixu(t)$$
$$y(t)=beginpmatrix1\ 0endpmatrixx(t)$$
$$x(0)=beginpmatrixtheta_0\ theta_1endpmatrix$$
matrices ordinary-differential-equations
$endgroup$
add a comment |
$begingroup$
Question: I believe I am correct up until $y(t) = Cx(t)$. I was told I did it incorrectly, but I cannot figure out how to grab the position of the antenna using $y(t) = Cx(t)$. Does it look correct, if not, how can I go about finding $y(t)$? I am stumped.
We want to design and simulate a full state feedback LQR control law for a
rotating antenna. The motion of the antenna can be described by the linear second order non-homogeneous differential equation given by $$Iθ''(t) + cθ'(t) = τ (t)$$ with initial conditions: $$θ(0) = θ_0$$ $$θ'(0) = θ_1$$ where $I$ is the effective moment of inertia of all the rotating parts including the antenna,
$c ≥ 0$ is the coefficient of viscous (i.e. air; the antenna is in low earth atmosphere, not the vacuum of space) friction, $τ (t)$ is the torque applied by the motor that effects the rotation at time $t ≥ 0$, and $θ(t)$ is the angular position of the antenna at time $t ≥ 0$.
(The basis for the model is simply Newton’s second law, $F = ma$, in the context of rotary motion, i.e. torque equals the moment of inertia times the angular acceleration. The friction term is modeled as a torque that is proportional to the velocity so that it is in the direction opposite to the motion of the antenna.)
The motor torque at time $t ≥ 0$ is assumed to be proportional to $u(t)$, the input voltage to the motor, with constant of proportionality $b > 0$.
In your calculations below use the following values: $alpha = fraccI=4.6s^-1,$ $λ = fracbI = 0.787 fracradVs2 $, and $I = 10kgm^2.$
The output variable is the angular position of the antenna.
Rewrite the model as a first order system of the form $$x'(t) = Ax(t) + Bu(t)$$ $$y(t) = Cx(t)$$ $$x(0) = x_0.$$
ATTEMPT:
$$Itheta''(t) + ctheta'(t) + 0theta(t)= tau(t)$$
$$theta''(t) = frac1Itau(t)-fraccItheta'(t)-0theta(t)$$
$$x_1=theta(t)$$
$$x_2 =theta'(t)$$
$$x_1'(t) = theta'(t)$$
$$x_2'(t) = theta''(t)=fracbIu(t)-fraccItheta'(t)-0theta(t)$$
$$x_1(0) = theta(0) = theta_0$$
$$x_2(0) = theta'(t) = theta_1$$
$$x_1'(t) = 0x_1(t)+1x_2(t)+0$$
$$x_2'(t) = 0x_1(t) -fraccIx_2(t)+fracbIu(t)$$
$$x'(t)=beginpmatrixx_1'\ x_2' endpmatrix=beginpmatrix0 & 1\ 0 & frac-cIendpmatrixx(t)+beginpmatrix0\ fracbIendpmatrixu(t)$$
$$y(t)=beginpmatrix1\ 0endpmatrixx(t)$$
$$x(0)=beginpmatrixtheta_0\ theta_1endpmatrix$$
matrices ordinary-differential-equations
$endgroup$
add a comment |
$begingroup$
Question: I believe I am correct up until $y(t) = Cx(t)$. I was told I did it incorrectly, but I cannot figure out how to grab the position of the antenna using $y(t) = Cx(t)$. Does it look correct, if not, how can I go about finding $y(t)$? I am stumped.
We want to design and simulate a full state feedback LQR control law for a
rotating antenna. The motion of the antenna can be described by the linear second order non-homogeneous differential equation given by $$Iθ''(t) + cθ'(t) = τ (t)$$ with initial conditions: $$θ(0) = θ_0$$ $$θ'(0) = θ_1$$ where $I$ is the effective moment of inertia of all the rotating parts including the antenna,
$c ≥ 0$ is the coefficient of viscous (i.e. air; the antenna is in low earth atmosphere, not the vacuum of space) friction, $τ (t)$ is the torque applied by the motor that effects the rotation at time $t ≥ 0$, and $θ(t)$ is the angular position of the antenna at time $t ≥ 0$.
(The basis for the model is simply Newton’s second law, $F = ma$, in the context of rotary motion, i.e. torque equals the moment of inertia times the angular acceleration. The friction term is modeled as a torque that is proportional to the velocity so that it is in the direction opposite to the motion of the antenna.)
The motor torque at time $t ≥ 0$ is assumed to be proportional to $u(t)$, the input voltage to the motor, with constant of proportionality $b > 0$.
In your calculations below use the following values: $alpha = fraccI=4.6s^-1,$ $λ = fracbI = 0.787 fracradVs2 $, and $I = 10kgm^2.$
The output variable is the angular position of the antenna.
Rewrite the model as a first order system of the form $$x'(t) = Ax(t) + Bu(t)$$ $$y(t) = Cx(t)$$ $$x(0) = x_0.$$
ATTEMPT:
$$Itheta''(t) + ctheta'(t) + 0theta(t)= tau(t)$$
$$theta''(t) = frac1Itau(t)-fraccItheta'(t)-0theta(t)$$
$$x_1=theta(t)$$
$$x_2 =theta'(t)$$
$$x_1'(t) = theta'(t)$$
$$x_2'(t) = theta''(t)=fracbIu(t)-fraccItheta'(t)-0theta(t)$$
$$x_1(0) = theta(0) = theta_0$$
$$x_2(0) = theta'(t) = theta_1$$
$$x_1'(t) = 0x_1(t)+1x_2(t)+0$$
$$x_2'(t) = 0x_1(t) -fraccIx_2(t)+fracbIu(t)$$
$$x'(t)=beginpmatrixx_1'\ x_2' endpmatrix=beginpmatrix0 & 1\ 0 & frac-cIendpmatrixx(t)+beginpmatrix0\ fracbIendpmatrixu(t)$$
$$y(t)=beginpmatrix1\ 0endpmatrixx(t)$$
$$x(0)=beginpmatrixtheta_0\ theta_1endpmatrix$$
matrices ordinary-differential-equations
$endgroup$
Question: I believe I am correct up until $y(t) = Cx(t)$. I was told I did it incorrectly, but I cannot figure out how to grab the position of the antenna using $y(t) = Cx(t)$. Does it look correct, if not, how can I go about finding $y(t)$? I am stumped.
We want to design and simulate a full state feedback LQR control law for a
rotating antenna. The motion of the antenna can be described by the linear second order non-homogeneous differential equation given by $$Iθ''(t) + cθ'(t) = τ (t)$$ with initial conditions: $$θ(0) = θ_0$$ $$θ'(0) = θ_1$$ where $I$ is the effective moment of inertia of all the rotating parts including the antenna,
$c ≥ 0$ is the coefficient of viscous (i.e. air; the antenna is in low earth atmosphere, not the vacuum of space) friction, $τ (t)$ is the torque applied by the motor that effects the rotation at time $t ≥ 0$, and $θ(t)$ is the angular position of the antenna at time $t ≥ 0$.
(The basis for the model is simply Newton’s second law, $F = ma$, in the context of rotary motion, i.e. torque equals the moment of inertia times the angular acceleration. The friction term is modeled as a torque that is proportional to the velocity so that it is in the direction opposite to the motion of the antenna.)
The motor torque at time $t ≥ 0$ is assumed to be proportional to $u(t)$, the input voltage to the motor, with constant of proportionality $b > 0$.
In your calculations below use the following values: $alpha = fraccI=4.6s^-1,$ $λ = fracbI = 0.787 fracradVs2 $, and $I = 10kgm^2.$
The output variable is the angular position of the antenna.
Rewrite the model as a first order system of the form $$x'(t) = Ax(t) + Bu(t)$$ $$y(t) = Cx(t)$$ $$x(0) = x_0.$$
ATTEMPT:
$$Itheta''(t) + ctheta'(t) + 0theta(t)= tau(t)$$
$$theta''(t) = frac1Itau(t)-fraccItheta'(t)-0theta(t)$$
$$x_1=theta(t)$$
$$x_2 =theta'(t)$$
$$x_1'(t) = theta'(t)$$
$$x_2'(t) = theta''(t)=fracbIu(t)-fraccItheta'(t)-0theta(t)$$
$$x_1(0) = theta(0) = theta_0$$
$$x_2(0) = theta'(t) = theta_1$$
$$x_1'(t) = 0x_1(t)+1x_2(t)+0$$
$$x_2'(t) = 0x_1(t) -fraccIx_2(t)+fracbIu(t)$$
$$x'(t)=beginpmatrixx_1'\ x_2' endpmatrix=beginpmatrix0 & 1\ 0 & frac-cIendpmatrixx(t)+beginpmatrix0\ fracbIendpmatrixu(t)$$
$$y(t)=beginpmatrix1\ 0endpmatrixx(t)$$
$$x(0)=beginpmatrixtheta_0\ theta_1endpmatrix$$
matrices ordinary-differential-equations
matrices ordinary-differential-equations
edited Mar 21 at 13:00
Cameron Buie
86.3k773161
86.3k773161
asked Mar 21 at 8:27
PattyWatty27PattyWatty27
435
435
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
You came incredibly close!
It seems that you want $y(t)=theta(t)=x_1(t).$ Unfortunately, we can't multiply two $2times 1$ matrices together. In general, if $M$ and $N$ are non-scalar matrices (that is, neither has only one row and one column), say with $M$ being $ktimes m$ and $N$ being $ntimes p,$ we will have $MN$ defined only if $m=n,$ in which case $MN$ will be a $ktimes p$ matrix.
Instead, you want $$y(t)=beginpmatrix1 & 0endpmatrixx(t).$$ By multiplying any $1times 2$ matrix and a $2times 1$ matrix together, we obtain a $1times 1$ matrix--a scalar--as desired.
$endgroup$
add a comment |
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',
autoActivateHeartbeat: false,
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%2f3156521%2frewrite-second-order-non-homogeneous-differential-equation-as-a-first-order-syst%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You came incredibly close!
It seems that you want $y(t)=theta(t)=x_1(t).$ Unfortunately, we can't multiply two $2times 1$ matrices together. In general, if $M$ and $N$ are non-scalar matrices (that is, neither has only one row and one column), say with $M$ being $ktimes m$ and $N$ being $ntimes p,$ we will have $MN$ defined only if $m=n,$ in which case $MN$ will be a $ktimes p$ matrix.
Instead, you want $$y(t)=beginpmatrix1 & 0endpmatrixx(t).$$ By multiplying any $1times 2$ matrix and a $2times 1$ matrix together, we obtain a $1times 1$ matrix--a scalar--as desired.
$endgroup$
add a comment |
$begingroup$
You came incredibly close!
It seems that you want $y(t)=theta(t)=x_1(t).$ Unfortunately, we can't multiply two $2times 1$ matrices together. In general, if $M$ and $N$ are non-scalar matrices (that is, neither has only one row and one column), say with $M$ being $ktimes m$ and $N$ being $ntimes p,$ we will have $MN$ defined only if $m=n,$ in which case $MN$ will be a $ktimes p$ matrix.
Instead, you want $$y(t)=beginpmatrix1 & 0endpmatrixx(t).$$ By multiplying any $1times 2$ matrix and a $2times 1$ matrix together, we obtain a $1times 1$ matrix--a scalar--as desired.
$endgroup$
add a comment |
$begingroup$
You came incredibly close!
It seems that you want $y(t)=theta(t)=x_1(t).$ Unfortunately, we can't multiply two $2times 1$ matrices together. In general, if $M$ and $N$ are non-scalar matrices (that is, neither has only one row and one column), say with $M$ being $ktimes m$ and $N$ being $ntimes p,$ we will have $MN$ defined only if $m=n,$ in which case $MN$ will be a $ktimes p$ matrix.
Instead, you want $$y(t)=beginpmatrix1 & 0endpmatrixx(t).$$ By multiplying any $1times 2$ matrix and a $2times 1$ matrix together, we obtain a $1times 1$ matrix--a scalar--as desired.
$endgroup$
You came incredibly close!
It seems that you want $y(t)=theta(t)=x_1(t).$ Unfortunately, we can't multiply two $2times 1$ matrices together. In general, if $M$ and $N$ are non-scalar matrices (that is, neither has only one row and one column), say with $M$ being $ktimes m$ and $N$ being $ntimes p,$ we will have $MN$ defined only if $m=n,$ in which case $MN$ will be a $ktimes p$ matrix.
Instead, you want $$y(t)=beginpmatrix1 & 0endpmatrixx(t).$$ By multiplying any $1times 2$ matrix and a $2times 1$ matrix together, we obtain a $1times 1$ matrix--a scalar--as desired.
edited Mar 21 at 13:10
answered Mar 21 at 12:57
Cameron BuieCameron Buie
86.3k773161
86.3k773161
add a comment |
add a comment |
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.
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%2f3156521%2frewrite-second-order-non-homogeneous-differential-equation-as-a-first-order-syst%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