Computing the moment of inertia for a rotary inverted pendulum

  • Thread starter Thread starter Remusco
  • Start date Start date
AI Thread Summary
The discussion centers on calculating the moment of inertia for a rotary inverted pendulum, specifically about the motor shaft. The original poster seeks a derivation or formula, assuming uniform rods for both the pendulum and motor arm while neglecting the inertia of the motor shaft and rotary encoder. Participants emphasize the need for a labeled diagram to clarify the variables used in the relevant equations, which include the total moment of inertia formula. The conversation highlights the importance of defining parameters like mass and length for accurate calculations. Overall, the thread aims to assist in deriving the moment of inertia based on the specified system configuration.
Remusco
Messages
30
Reaction score
3
Homework Statement
Compute the moment of inertia seen by the motor shaft for a rotary inverted pendulum
Relevant Equations
I_{\mathrm{total}}=I_m+\frac{1}{3}m_al_a^2+\frac{1}{3}m_pl_p^2+m_p\left(l_a+\frac{l_p}{2}\cos{\left(\theta_{i-1}\right)}\right)^2
I looked all over the internet and I can't find a derivation of this. It is over my head to derive this.
This is my system:
1743111571615.png


I want to assume that the pendulum and motor arm are uniform rods. I want to ignore the motor shaft inertia and the rotary encoder inertia since they are negligible. Does anyone have the formula for J about the motor shaft? I imagine this is dependent on the angle of the pendulum.
 
Physics news on Phys.org
Remusco said:
Homework Statement: Compute the moment of inertia seen by the motor shaft for a rotary inverted pendulum
Relevant Equations: I_{\mathrm{total}}=I_m+\frac{1}{3}m_al_a^2+\frac{1}{3}m_pl_p^2+m_p\left(l_a+\frac{l_p}{2}\cos{\left(\theta_{i-1}\right)}\right)^2

I looked all over the internet and I can't find a derivation of this. It is over my head to derive this.
This is my system:
View attachment 359080

I want to assume that the pendulum and motor arm are uniform rods. I want to ignore the motor shaft inertia and the rotary encoder inertia since they are negligible. Does anyone have the formula for J about the motor shaft? I imagine this is dependent on the angle of the pendulum.
Hi, please wrap your text with Latex tags ##'s.
 
Relevant Equations: ##I_{\mathrm{total}}=I_m+\frac{1}{3}m_al_a^2+\frac{1}{3}m_pl_p^2+m_p\left(l_a+\frac{l_p}{2}\cos{\left(\theta_{i-1}\right)}\right)^2##

You need to post a labeled diagram of your system. How can we possibly assist if we don't know the meanings of the symbols ##I_m,m_a,l_a,m_p,l_p,\theta_{i-1}##?
 
renormalize said:
Relevant Equations: ##I_{\mathrm{total}}=I_m+\frac{1}{3}m_al_a^2+\frac{1}{3}m_pl_p^2+m_p\left(l_a+\frac{l_p}{2}\cos{\left(\theta_{i-1}\right)}\right)^2##

You need to post a labeled diagram of your system. How can we possibly assist if we don't know the meanings of the symbols ##I_m,m_a,l_a,m_p,l_p,\theta_{i-1}##?
I assume this is effectively a continuation of https://www.physicsforums.com/threads/simulating-a-rotary-inverted-pendulum-in-python.1079126/
 
  • Informative
  • Like
Likes berkeman and renormalize
renormalize said:
Relevant Equations: ##I_{\mathrm{total}}=I_m+\frac{1}{3}m_al_a^2+\frac{1}{3}m_pl_p^2+m_p\left(l_a+\frac{l_p}{2}\cos{\left(\theta_{i-1}\right)}\right)^2##
OK, thanks to @haruspex I've found your previous post that defines most of the variables in your Relevant Equation:
Remusco said:
# System Parameters
m_p = 0.1 # Mass of pendulum (kg)
m_a = 0.5 # Mass of arm (kg)
l_p = 0.2 # Length of pendulum (m)
l_a = 0.15 # Length of arm (m)
g = 9.81 # Gravity (m/s^2)
b = 0.00 # Damping coefficient
I_a = (1/3) * m_a * l_a**2 # Arm moment of inertia
I_p = (1/3) * m_p * l_p**2 # Pendulum moment of inertia
And from the photo of your apparatus in post #1 I surmise that the following is a reasonable representation of your inverted pendulum (but without the Mass at the end of the pendulum rod):
1743140223464.png

(From: https://www.st.com/content/dam/AME/...to_Integrated_Rotary_Inverted_Pendulum_v2.pdf)
If my surmise is correct, can you attempt to write down the formula for the moment-of-inertia ##I_{\text{total}}## seen by the Motor-shaft, in terms of the variables ##r,l,\theta,\phi## shown in Fig. 1 and the masses of the Rotor and Pendulum rods?
 
renormalize said:
OK, thanks to @haruspex I've found your previous post that defines most of the variables in your Relevant Equation:

And from the photo of your apparatus in post #1 I surmise that the following is a reasonable representation of your inverted pendulum (but without the Mass at the end of the pendulum rod):
View attachment 359098
(From: https://www.st.com/content/dam/AME/2019/Educational Curriculums/motor-control/Introduction_to_Integrated_Rotary_Inverted_Pendulum_v2.pdf)
If my surmise is correct, can you attempt to write down the formula for the moment-of-inertia ##I_{\text{total}}## seen by the Motor-shaft, in terms of the variables ##r,l,\theta,\phi## shown in Fig. 1 and the masses of the Rotor and Pendulum rods?
Yes this is what I am looking for. Thanks for clarifying.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top