Equilibrium points of an inverted pendulum on a cart
$begingroup$
Question
Find the equilibrium points of the inverted pendulum on a cart system whose dynamics equation are given by
$$
begin{bmatrix}
(M+m) & -m l costheta\
-m l costheta & (J+m l^2)
end{bmatrix}
begin{bmatrix}
ddot{p} \
ddot{theta}
end{bmatrix}
+
begin{bmatrix}
c dot{p}+ m l sintheta theta^2\
gamma dot{theta} - m g sin theta
end{bmatrix}
=
begin{bmatrix}
F\
0
end{bmatrix}
$$
where $M$ is the mass of the base, $m$ and $J$ are the mass and moment of inertia of the system to be balanced, $l$ is the distance from the base to the center of the mass of the balanced body, $c$ and $gamma$ are coefficients of viscous friction, $g$ is the acceleration due to the gravity and $F$ represents the force applied at the base of the system, assumed to be in the horizontal direction.
Attempt
State-space representation
We can rewrite the dynamics of the system in state space form by taking the input as $u=F$ and defining four state as follows
$$
{x} =
begin{bmatrix}
x_1\
x_2\
x_3\
x_4
end{bmatrix}
=
begin{bmatrix}
p \
theta\
dot{p}\
dot{theta}\
end{bmatrix}
$$
For readability purposes, we define
begin{equation*}
s_theta=sintheta, hspace{0.6cm} c_theta=costheta, hspace{0.6cm} M_t = M + m, hspace{0.6cm} J_t = J + ml^2,
end{equation*}
and define the equations of motion then become
$$
dot{x} =
begin{bmatrix}
dot{x_1}\
dot{x_2}\
dot{x_3}\
dot{x_4}
end{bmatrix}
=
underbrace{
begin{bmatrix}
x_3\
x_4\
frac{ displaystyle
-m l s_{x_2}{x_4}^2 + m g (m l^2/J_t) s_{x_2} c_{x_2}- c x_3 - (gamma/ J_t) m l c_{x_2} {x_4} +u}
{displaystyle M_t - m (m l^2 / J_t) c_{x_2} }\
frac{ displaystyle
-m l s_{x_2} c_{x_2} {x_4}^2 + M_t g l s_{x_2} - c l c_{x_2} x_3 - gamma (M_t/ m){x_4} +l c_{x_2} u}
{displaystyle J_t (M_t/m) - m (l c_{x_2})^2 }\
end{bmatrix}
}_{f(x,u)}\
$$
Equilibrium points
The pair $(x_{eq}, u_{eq})$ is called an equilibrium point of the dynamic system if $f(x_{eq}, u_{eq})=0$. Setting $f(x,u)=0$, we get the following system of equations
$$
left{begin{aligned}
x_3 &= 0 \
x_4 &= 0 \
frac{ displaystyle -m l s_{x_2}{x_4}^2 + m g (m l^2/J_t) s_{x_2} c_{x_2}- c x_3 - (gamma/ J_t) m l c_{x_2} {x_4} +u} {displaystyle M_t - m (m l^2 / J_t) c_{x_2} } &= 0 \
frac{ displaystyle
-m l s_{x_2} c_{x_2} {x_4}^2 + M_t g l s_{x_2} - c l c_{x_2} x_3 - gamma (M_t/ m){x_4} +l c_{x_2} u}
{displaystyle J_t (M_t/m) - m (l c_{x_2})^2 } &= 0
end{aligned}right.
$$
From the above system of equations, we have
$$
x_{eq} =
begin{bmatrix}
x_1 \
? \
0\
0
end{bmatrix},
hspace{0.6cm} text{and} hspace{0.6cm}
u_{eq}= ?
$$
I'm stuck at finding $x_2$ and $u_{eq}$. How should I proceed?
MATLAB Code
syms x1 x2 x3 x4 u m l g c gamma Mt Jt p
% Define f(x,u)
f=sym(zeros(4,1));
f=[x3;
x4;
(-m*l*sin(x2)*x4^2+m*g*((m*l^2)/Jt)*sin(x2)*cos(x2)-c*x3...
-(gamma/Jt)*m*l*cos(x2)*x4+u)/(Mt-m*(m*l^2/Jt)*cos(x2));
(-m*l^2*sin(x2)*cos(x2)*x4^2+Mt*g*l*sin(x2)-c*l*cos(x2)*x3...
-gamma*(Mt/m)*x4+l*cos(x2)*u)/(Jt*(Mt/m)-m*(l*cos(x2))^2);
];
% Find equilibrium points
sol=solve(f==zeros(4,1),x1, x2, x3, x4)
I get sol.x1=z1, sol.x2=z, sol.x3=sol.x4=0
. But this is not what I'm expecting. I believe there should be an $npi$ there somewhere.
systems-of-equations control-theory
$endgroup$
add a comment |
$begingroup$
Question
Find the equilibrium points of the inverted pendulum on a cart system whose dynamics equation are given by
$$
begin{bmatrix}
(M+m) & -m l costheta\
-m l costheta & (J+m l^2)
end{bmatrix}
begin{bmatrix}
ddot{p} \
ddot{theta}
end{bmatrix}
+
begin{bmatrix}
c dot{p}+ m l sintheta theta^2\
gamma dot{theta} - m g sin theta
end{bmatrix}
=
begin{bmatrix}
F\
0
end{bmatrix}
$$
where $M$ is the mass of the base, $m$ and $J$ are the mass and moment of inertia of the system to be balanced, $l$ is the distance from the base to the center of the mass of the balanced body, $c$ and $gamma$ are coefficients of viscous friction, $g$ is the acceleration due to the gravity and $F$ represents the force applied at the base of the system, assumed to be in the horizontal direction.
Attempt
State-space representation
We can rewrite the dynamics of the system in state space form by taking the input as $u=F$ and defining four state as follows
$$
{x} =
begin{bmatrix}
x_1\
x_2\
x_3\
x_4
end{bmatrix}
=
begin{bmatrix}
p \
theta\
dot{p}\
dot{theta}\
end{bmatrix}
$$
For readability purposes, we define
begin{equation*}
s_theta=sintheta, hspace{0.6cm} c_theta=costheta, hspace{0.6cm} M_t = M + m, hspace{0.6cm} J_t = J + ml^2,
end{equation*}
and define the equations of motion then become
$$
dot{x} =
begin{bmatrix}
dot{x_1}\
dot{x_2}\
dot{x_3}\
dot{x_4}
end{bmatrix}
=
underbrace{
begin{bmatrix}
x_3\
x_4\
frac{ displaystyle
-m l s_{x_2}{x_4}^2 + m g (m l^2/J_t) s_{x_2} c_{x_2}- c x_3 - (gamma/ J_t) m l c_{x_2} {x_4} +u}
{displaystyle M_t - m (m l^2 / J_t) c_{x_2} }\
frac{ displaystyle
-m l s_{x_2} c_{x_2} {x_4}^2 + M_t g l s_{x_2} - c l c_{x_2} x_3 - gamma (M_t/ m){x_4} +l c_{x_2} u}
{displaystyle J_t (M_t/m) - m (l c_{x_2})^2 }\
end{bmatrix}
}_{f(x,u)}\
$$
Equilibrium points
The pair $(x_{eq}, u_{eq})$ is called an equilibrium point of the dynamic system if $f(x_{eq}, u_{eq})=0$. Setting $f(x,u)=0$, we get the following system of equations
$$
left{begin{aligned}
x_3 &= 0 \
x_4 &= 0 \
frac{ displaystyle -m l s_{x_2}{x_4}^2 + m g (m l^2/J_t) s_{x_2} c_{x_2}- c x_3 - (gamma/ J_t) m l c_{x_2} {x_4} +u} {displaystyle M_t - m (m l^2 / J_t) c_{x_2} } &= 0 \
frac{ displaystyle
-m l s_{x_2} c_{x_2} {x_4}^2 + M_t g l s_{x_2} - c l c_{x_2} x_3 - gamma (M_t/ m){x_4} +l c_{x_2} u}
{displaystyle J_t (M_t/m) - m (l c_{x_2})^2 } &= 0
end{aligned}right.
$$
From the above system of equations, we have
$$
x_{eq} =
begin{bmatrix}
x_1 \
? \
0\
0
end{bmatrix},
hspace{0.6cm} text{and} hspace{0.6cm}
u_{eq}= ?
$$
I'm stuck at finding $x_2$ and $u_{eq}$. How should I proceed?
MATLAB Code
syms x1 x2 x3 x4 u m l g c gamma Mt Jt p
% Define f(x,u)
f=sym(zeros(4,1));
f=[x3;
x4;
(-m*l*sin(x2)*x4^2+m*g*((m*l^2)/Jt)*sin(x2)*cos(x2)-c*x3...
-(gamma/Jt)*m*l*cos(x2)*x4+u)/(Mt-m*(m*l^2/Jt)*cos(x2));
(-m*l^2*sin(x2)*cos(x2)*x4^2+Mt*g*l*sin(x2)-c*l*cos(x2)*x3...
-gamma*(Mt/m)*x4+l*cos(x2)*u)/(Jt*(Mt/m)-m*(l*cos(x2))^2);
];
% Find equilibrium points
sol=solve(f==zeros(4,1),x1, x2, x3, x4)
I get sol.x1=z1, sol.x2=z, sol.x3=sol.x4=0
. But this is not what I'm expecting. I believe there should be an $npi$ there somewhere.
systems-of-equations control-theory
$endgroup$
$begingroup$
What state do you want your system to have in the equilibrium point? Namely when $u_{eq}neq0$ you have a bit more freedom besides the vertical up and down positions.
$endgroup$
– Kwin van der Veen
Dec 3 '18 at 23:49
$begingroup$
@KwinvanderVeen Can you elaborate more on this?
$endgroup$
– Lod
Dec 4 '18 at 14:32
$begingroup$
You can disregard my previous comment. Namely I was thinking about just an inverted pendulum, so no cart. But when solving for the equilibrium point you should also solve for $u$ at the same time and also take into consideration the magnitude of $M_t$ and $J_t$ relative to the other parameters.
$endgroup$
– Kwin van der Veen
Dec 4 '18 at 15:05
$begingroup$
Most likely you have some expression $u(theta)$. Realistically some problems occur when the pendulum is aligned with the floor, i.e. you cannot solve for $u$. More realistically, the input is bounded, which restricts the set of equilibrium points even more.
$endgroup$
– WalterJ
Dec 4 '18 at 16:15
add a comment |
$begingroup$
Question
Find the equilibrium points of the inverted pendulum on a cart system whose dynamics equation are given by
$$
begin{bmatrix}
(M+m) & -m l costheta\
-m l costheta & (J+m l^2)
end{bmatrix}
begin{bmatrix}
ddot{p} \
ddot{theta}
end{bmatrix}
+
begin{bmatrix}
c dot{p}+ m l sintheta theta^2\
gamma dot{theta} - m g sin theta
end{bmatrix}
=
begin{bmatrix}
F\
0
end{bmatrix}
$$
where $M$ is the mass of the base, $m$ and $J$ are the mass and moment of inertia of the system to be balanced, $l$ is the distance from the base to the center of the mass of the balanced body, $c$ and $gamma$ are coefficients of viscous friction, $g$ is the acceleration due to the gravity and $F$ represents the force applied at the base of the system, assumed to be in the horizontal direction.
Attempt
State-space representation
We can rewrite the dynamics of the system in state space form by taking the input as $u=F$ and defining four state as follows
$$
{x} =
begin{bmatrix}
x_1\
x_2\
x_3\
x_4
end{bmatrix}
=
begin{bmatrix}
p \
theta\
dot{p}\
dot{theta}\
end{bmatrix}
$$
For readability purposes, we define
begin{equation*}
s_theta=sintheta, hspace{0.6cm} c_theta=costheta, hspace{0.6cm} M_t = M + m, hspace{0.6cm} J_t = J + ml^2,
end{equation*}
and define the equations of motion then become
$$
dot{x} =
begin{bmatrix}
dot{x_1}\
dot{x_2}\
dot{x_3}\
dot{x_4}
end{bmatrix}
=
underbrace{
begin{bmatrix}
x_3\
x_4\
frac{ displaystyle
-m l s_{x_2}{x_4}^2 + m g (m l^2/J_t) s_{x_2} c_{x_2}- c x_3 - (gamma/ J_t) m l c_{x_2} {x_4} +u}
{displaystyle M_t - m (m l^2 / J_t) c_{x_2} }\
frac{ displaystyle
-m l s_{x_2} c_{x_2} {x_4}^2 + M_t g l s_{x_2} - c l c_{x_2} x_3 - gamma (M_t/ m){x_4} +l c_{x_2} u}
{displaystyle J_t (M_t/m) - m (l c_{x_2})^2 }\
end{bmatrix}
}_{f(x,u)}\
$$
Equilibrium points
The pair $(x_{eq}, u_{eq})$ is called an equilibrium point of the dynamic system if $f(x_{eq}, u_{eq})=0$. Setting $f(x,u)=0$, we get the following system of equations
$$
left{begin{aligned}
x_3 &= 0 \
x_4 &= 0 \
frac{ displaystyle -m l s_{x_2}{x_4}^2 + m g (m l^2/J_t) s_{x_2} c_{x_2}- c x_3 - (gamma/ J_t) m l c_{x_2} {x_4} +u} {displaystyle M_t - m (m l^2 / J_t) c_{x_2} } &= 0 \
frac{ displaystyle
-m l s_{x_2} c_{x_2} {x_4}^2 + M_t g l s_{x_2} - c l c_{x_2} x_3 - gamma (M_t/ m){x_4} +l c_{x_2} u}
{displaystyle J_t (M_t/m) - m (l c_{x_2})^2 } &= 0
end{aligned}right.
$$
From the above system of equations, we have
$$
x_{eq} =
begin{bmatrix}
x_1 \
? \
0\
0
end{bmatrix},
hspace{0.6cm} text{and} hspace{0.6cm}
u_{eq}= ?
$$
I'm stuck at finding $x_2$ and $u_{eq}$. How should I proceed?
MATLAB Code
syms x1 x2 x3 x4 u m l g c gamma Mt Jt p
% Define f(x,u)
f=sym(zeros(4,1));
f=[x3;
x4;
(-m*l*sin(x2)*x4^2+m*g*((m*l^2)/Jt)*sin(x2)*cos(x2)-c*x3...
-(gamma/Jt)*m*l*cos(x2)*x4+u)/(Mt-m*(m*l^2/Jt)*cos(x2));
(-m*l^2*sin(x2)*cos(x2)*x4^2+Mt*g*l*sin(x2)-c*l*cos(x2)*x3...
-gamma*(Mt/m)*x4+l*cos(x2)*u)/(Jt*(Mt/m)-m*(l*cos(x2))^2);
];
% Find equilibrium points
sol=solve(f==zeros(4,1),x1, x2, x3, x4)
I get sol.x1=z1, sol.x2=z, sol.x3=sol.x4=0
. But this is not what I'm expecting. I believe there should be an $npi$ there somewhere.
systems-of-equations control-theory
$endgroup$
Question
Find the equilibrium points of the inverted pendulum on a cart system whose dynamics equation are given by
$$
begin{bmatrix}
(M+m) & -m l costheta\
-m l costheta & (J+m l^2)
end{bmatrix}
begin{bmatrix}
ddot{p} \
ddot{theta}
end{bmatrix}
+
begin{bmatrix}
c dot{p}+ m l sintheta theta^2\
gamma dot{theta} - m g sin theta
end{bmatrix}
=
begin{bmatrix}
F\
0
end{bmatrix}
$$
where $M$ is the mass of the base, $m$ and $J$ are the mass and moment of inertia of the system to be balanced, $l$ is the distance from the base to the center of the mass of the balanced body, $c$ and $gamma$ are coefficients of viscous friction, $g$ is the acceleration due to the gravity and $F$ represents the force applied at the base of the system, assumed to be in the horizontal direction.
Attempt
State-space representation
We can rewrite the dynamics of the system in state space form by taking the input as $u=F$ and defining four state as follows
$$
{x} =
begin{bmatrix}
x_1\
x_2\
x_3\
x_4
end{bmatrix}
=
begin{bmatrix}
p \
theta\
dot{p}\
dot{theta}\
end{bmatrix}
$$
For readability purposes, we define
begin{equation*}
s_theta=sintheta, hspace{0.6cm} c_theta=costheta, hspace{0.6cm} M_t = M + m, hspace{0.6cm} J_t = J + ml^2,
end{equation*}
and define the equations of motion then become
$$
dot{x} =
begin{bmatrix}
dot{x_1}\
dot{x_2}\
dot{x_3}\
dot{x_4}
end{bmatrix}
=
underbrace{
begin{bmatrix}
x_3\
x_4\
frac{ displaystyle
-m l s_{x_2}{x_4}^2 + m g (m l^2/J_t) s_{x_2} c_{x_2}- c x_3 - (gamma/ J_t) m l c_{x_2} {x_4} +u}
{displaystyle M_t - m (m l^2 / J_t) c_{x_2} }\
frac{ displaystyle
-m l s_{x_2} c_{x_2} {x_4}^2 + M_t g l s_{x_2} - c l c_{x_2} x_3 - gamma (M_t/ m){x_4} +l c_{x_2} u}
{displaystyle J_t (M_t/m) - m (l c_{x_2})^2 }\
end{bmatrix}
}_{f(x,u)}\
$$
Equilibrium points
The pair $(x_{eq}, u_{eq})$ is called an equilibrium point of the dynamic system if $f(x_{eq}, u_{eq})=0$. Setting $f(x,u)=0$, we get the following system of equations
$$
left{begin{aligned}
x_3 &= 0 \
x_4 &= 0 \
frac{ displaystyle -m l s_{x_2}{x_4}^2 + m g (m l^2/J_t) s_{x_2} c_{x_2}- c x_3 - (gamma/ J_t) m l c_{x_2} {x_4} +u} {displaystyle M_t - m (m l^2 / J_t) c_{x_2} } &= 0 \
frac{ displaystyle
-m l s_{x_2} c_{x_2} {x_4}^2 + M_t g l s_{x_2} - c l c_{x_2} x_3 - gamma (M_t/ m){x_4} +l c_{x_2} u}
{displaystyle J_t (M_t/m) - m (l c_{x_2})^2 } &= 0
end{aligned}right.
$$
From the above system of equations, we have
$$
x_{eq} =
begin{bmatrix}
x_1 \
? \
0\
0
end{bmatrix},
hspace{0.6cm} text{and} hspace{0.6cm}
u_{eq}= ?
$$
I'm stuck at finding $x_2$ and $u_{eq}$. How should I proceed?
MATLAB Code
syms x1 x2 x3 x4 u m l g c gamma Mt Jt p
% Define f(x,u)
f=sym(zeros(4,1));
f=[x3;
x4;
(-m*l*sin(x2)*x4^2+m*g*((m*l^2)/Jt)*sin(x2)*cos(x2)-c*x3...
-(gamma/Jt)*m*l*cos(x2)*x4+u)/(Mt-m*(m*l^2/Jt)*cos(x2));
(-m*l^2*sin(x2)*cos(x2)*x4^2+Mt*g*l*sin(x2)-c*l*cos(x2)*x3...
-gamma*(Mt/m)*x4+l*cos(x2)*u)/(Jt*(Mt/m)-m*(l*cos(x2))^2);
];
% Find equilibrium points
sol=solve(f==zeros(4,1),x1, x2, x3, x4)
I get sol.x1=z1, sol.x2=z, sol.x3=sol.x4=0
. But this is not what I'm expecting. I believe there should be an $npi$ there somewhere.
systems-of-equations control-theory
systems-of-equations control-theory
edited Dec 4 '18 at 14:35
Lod
asked Dec 3 '18 at 18:31
LodLod
128113
128113
$begingroup$
What state do you want your system to have in the equilibrium point? Namely when $u_{eq}neq0$ you have a bit more freedom besides the vertical up and down positions.
$endgroup$
– Kwin van der Veen
Dec 3 '18 at 23:49
$begingroup$
@KwinvanderVeen Can you elaborate more on this?
$endgroup$
– Lod
Dec 4 '18 at 14:32
$begingroup$
You can disregard my previous comment. Namely I was thinking about just an inverted pendulum, so no cart. But when solving for the equilibrium point you should also solve for $u$ at the same time and also take into consideration the magnitude of $M_t$ and $J_t$ relative to the other parameters.
$endgroup$
– Kwin van der Veen
Dec 4 '18 at 15:05
$begingroup$
Most likely you have some expression $u(theta)$. Realistically some problems occur when the pendulum is aligned with the floor, i.e. you cannot solve for $u$. More realistically, the input is bounded, which restricts the set of equilibrium points even more.
$endgroup$
– WalterJ
Dec 4 '18 at 16:15
add a comment |
$begingroup$
What state do you want your system to have in the equilibrium point? Namely when $u_{eq}neq0$ you have a bit more freedom besides the vertical up and down positions.
$endgroup$
– Kwin van der Veen
Dec 3 '18 at 23:49
$begingroup$
@KwinvanderVeen Can you elaborate more on this?
$endgroup$
– Lod
Dec 4 '18 at 14:32
$begingroup$
You can disregard my previous comment. Namely I was thinking about just an inverted pendulum, so no cart. But when solving for the equilibrium point you should also solve for $u$ at the same time and also take into consideration the magnitude of $M_t$ and $J_t$ relative to the other parameters.
$endgroup$
– Kwin van der Veen
Dec 4 '18 at 15:05
$begingroup$
Most likely you have some expression $u(theta)$. Realistically some problems occur when the pendulum is aligned with the floor, i.e. you cannot solve for $u$. More realistically, the input is bounded, which restricts the set of equilibrium points even more.
$endgroup$
– WalterJ
Dec 4 '18 at 16:15
$begingroup$
What state do you want your system to have in the equilibrium point? Namely when $u_{eq}neq0$ you have a bit more freedom besides the vertical up and down positions.
$endgroup$
– Kwin van der Veen
Dec 3 '18 at 23:49
$begingroup$
What state do you want your system to have in the equilibrium point? Namely when $u_{eq}neq0$ you have a bit more freedom besides the vertical up and down positions.
$endgroup$
– Kwin van der Veen
Dec 3 '18 at 23:49
$begingroup$
@KwinvanderVeen Can you elaborate more on this?
$endgroup$
– Lod
Dec 4 '18 at 14:32
$begingroup$
@KwinvanderVeen Can you elaborate more on this?
$endgroup$
– Lod
Dec 4 '18 at 14:32
$begingroup$
You can disregard my previous comment. Namely I was thinking about just an inverted pendulum, so no cart. But when solving for the equilibrium point you should also solve for $u$ at the same time and also take into consideration the magnitude of $M_t$ and $J_t$ relative to the other parameters.
$endgroup$
– Kwin van der Veen
Dec 4 '18 at 15:05
$begingroup$
You can disregard my previous comment. Namely I was thinking about just an inverted pendulum, so no cart. But when solving for the equilibrium point you should also solve for $u$ at the same time and also take into consideration the magnitude of $M_t$ and $J_t$ relative to the other parameters.
$endgroup$
– Kwin van der Veen
Dec 4 '18 at 15:05
$begingroup$
Most likely you have some expression $u(theta)$. Realistically some problems occur when the pendulum is aligned with the floor, i.e. you cannot solve for $u$. More realistically, the input is bounded, which restricts the set of equilibrium points even more.
$endgroup$
– WalterJ
Dec 4 '18 at 16:15
$begingroup$
Most likely you have some expression $u(theta)$. Realistically some problems occur when the pendulum is aligned with the floor, i.e. you cannot solve for $u$. More realistically, the input is bounded, which restricts the set of equilibrium points even more.
$endgroup$
– WalterJ
Dec 4 '18 at 16:15
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Substituting in that $x_{3,eq}=x_{4,eq}=0$ and multiplying by the denominator of the fractions (since those should always be greater than zero and bounded) into the equations that you want to solve for the equilibrium point reduces the equations to
$$
left{begin{aligned}
m g (m l^2/J_t) s_{x_2} c_{x_2} + u &= 0 \
M_t g l s_{x_2} + l c_{x_2} u &= 0 end{aligned}right.
$$
Solving the first equation for $u$ and substituting it into the second equation gives
$$
u = -m g (m l^2/J_t) s_{x_2} c_{x_2} \
M_t g l s_{x_2} = l c_{x_2} m g (m l^2/J_t) s_{x_2} c_{x_2}
$$
Simplifying the last equation, when assuming that $s_{x_2}neq0$, yields
$$
c_{x_2}^2 = frac{M_t,J_t}{m^2 l^2}
$$
but $M_t>m$ and $J_t>m,l^2$, which would imply $c_{x_2}^2>1$ which would require a complex value for $x_2$ and thus is not feasible. This would only leave $s_{x_2}=0$ as solution candidate.
$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%2f3024483%2fequilibrium-points-of-an-inverted-pendulum-on-a-cart%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$
Substituting in that $x_{3,eq}=x_{4,eq}=0$ and multiplying by the denominator of the fractions (since those should always be greater than zero and bounded) into the equations that you want to solve for the equilibrium point reduces the equations to
$$
left{begin{aligned}
m g (m l^2/J_t) s_{x_2} c_{x_2} + u &= 0 \
M_t g l s_{x_2} + l c_{x_2} u &= 0 end{aligned}right.
$$
Solving the first equation for $u$ and substituting it into the second equation gives
$$
u = -m g (m l^2/J_t) s_{x_2} c_{x_2} \
M_t g l s_{x_2} = l c_{x_2} m g (m l^2/J_t) s_{x_2} c_{x_2}
$$
Simplifying the last equation, when assuming that $s_{x_2}neq0$, yields
$$
c_{x_2}^2 = frac{M_t,J_t}{m^2 l^2}
$$
but $M_t>m$ and $J_t>m,l^2$, which would imply $c_{x_2}^2>1$ which would require a complex value for $x_2$ and thus is not feasible. This would only leave $s_{x_2}=0$ as solution candidate.
$endgroup$
add a comment |
$begingroup$
Substituting in that $x_{3,eq}=x_{4,eq}=0$ and multiplying by the denominator of the fractions (since those should always be greater than zero and bounded) into the equations that you want to solve for the equilibrium point reduces the equations to
$$
left{begin{aligned}
m g (m l^2/J_t) s_{x_2} c_{x_2} + u &= 0 \
M_t g l s_{x_2} + l c_{x_2} u &= 0 end{aligned}right.
$$
Solving the first equation for $u$ and substituting it into the second equation gives
$$
u = -m g (m l^2/J_t) s_{x_2} c_{x_2} \
M_t g l s_{x_2} = l c_{x_2} m g (m l^2/J_t) s_{x_2} c_{x_2}
$$
Simplifying the last equation, when assuming that $s_{x_2}neq0$, yields
$$
c_{x_2}^2 = frac{M_t,J_t}{m^2 l^2}
$$
but $M_t>m$ and $J_t>m,l^2$, which would imply $c_{x_2}^2>1$ which would require a complex value for $x_2$ and thus is not feasible. This would only leave $s_{x_2}=0$ as solution candidate.
$endgroup$
add a comment |
$begingroup$
Substituting in that $x_{3,eq}=x_{4,eq}=0$ and multiplying by the denominator of the fractions (since those should always be greater than zero and bounded) into the equations that you want to solve for the equilibrium point reduces the equations to
$$
left{begin{aligned}
m g (m l^2/J_t) s_{x_2} c_{x_2} + u &= 0 \
M_t g l s_{x_2} + l c_{x_2} u &= 0 end{aligned}right.
$$
Solving the first equation for $u$ and substituting it into the second equation gives
$$
u = -m g (m l^2/J_t) s_{x_2} c_{x_2} \
M_t g l s_{x_2} = l c_{x_2} m g (m l^2/J_t) s_{x_2} c_{x_2}
$$
Simplifying the last equation, when assuming that $s_{x_2}neq0$, yields
$$
c_{x_2}^2 = frac{M_t,J_t}{m^2 l^2}
$$
but $M_t>m$ and $J_t>m,l^2$, which would imply $c_{x_2}^2>1$ which would require a complex value for $x_2$ and thus is not feasible. This would only leave $s_{x_2}=0$ as solution candidate.
$endgroup$
Substituting in that $x_{3,eq}=x_{4,eq}=0$ and multiplying by the denominator of the fractions (since those should always be greater than zero and bounded) into the equations that you want to solve for the equilibrium point reduces the equations to
$$
left{begin{aligned}
m g (m l^2/J_t) s_{x_2} c_{x_2} + u &= 0 \
M_t g l s_{x_2} + l c_{x_2} u &= 0 end{aligned}right.
$$
Solving the first equation for $u$ and substituting it into the second equation gives
$$
u = -m g (m l^2/J_t) s_{x_2} c_{x_2} \
M_t g l s_{x_2} = l c_{x_2} m g (m l^2/J_t) s_{x_2} c_{x_2}
$$
Simplifying the last equation, when assuming that $s_{x_2}neq0$, yields
$$
c_{x_2}^2 = frac{M_t,J_t}{m^2 l^2}
$$
but $M_t>m$ and $J_t>m,l^2$, which would imply $c_{x_2}^2>1$ which would require a complex value for $x_2$ and thus is not feasible. This would only leave $s_{x_2}=0$ as solution candidate.
answered Dec 4 '18 at 16:29
Kwin van der VeenKwin van der Veen
5,3552826
5,3552826
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%2f3024483%2fequilibrium-points-of-an-inverted-pendulum-on-a-cart%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
$begingroup$
What state do you want your system to have in the equilibrium point? Namely when $u_{eq}neq0$ you have a bit more freedom besides the vertical up and down positions.
$endgroup$
– Kwin van der Veen
Dec 3 '18 at 23:49
$begingroup$
@KwinvanderVeen Can you elaborate more on this?
$endgroup$
– Lod
Dec 4 '18 at 14:32
$begingroup$
You can disregard my previous comment. Namely I was thinking about just an inverted pendulum, so no cart. But when solving for the equilibrium point you should also solve for $u$ at the same time and also take into consideration the magnitude of $M_t$ and $J_t$ relative to the other parameters.
$endgroup$
– Kwin van der Veen
Dec 4 '18 at 15:05
$begingroup$
Most likely you have some expression $u(theta)$. Realistically some problems occur when the pendulum is aligned with the floor, i.e. you cannot solve for $u$. More realistically, the input is bounded, which restricts the set of equilibrium points even more.
$endgroup$
– WalterJ
Dec 4 '18 at 16:15