--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/fd9a076b-8aad-4aeb-9765-6fc765d4119a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b4cdd147-1fcc-4667-bb8b-8ca36843a716%40googlegroups.com.
In the jupyter notebook (https://nbviewer.jupyter.org/github/ndevelop/sympy_3D_pendulum/blob/master/3D%20pendulum.ipynb) I have added 3 reference frames (Inertial, one for the anchor point and other to the mass).
The anchor frame is not really necessary since its the same as the inertial frame for this problem, however futher down the line I want to test the system with a mobile anchor point (imagine it as a balloon with a lift force applied in the anchor center of mass).
The mass frame is centered on the "Mass" center of mass (this nomenclature is not the best) and it's orientation in relation to the inertial frame is composed by 3 euler angles.
Now the twist in the problem is that the mass is "actuated". Besides the gravity force acting on its center of mass (along the inertial frame z-axis), there is also a force F applied on the positive direction of x-axis of the mass reference frame and a torque T about the z-axis of the mass reference frame.
Furthermore, I want to "model" the cable connecting the mass to the anchor point, by using a distance constraint: (r_anchor - r_mass) - cable_length = 0
The goal is to obtain the equations of motion for this system.
I have set everything as described in this jupyter notebook, however I'm not sure if the way I'm doing things is correct, since the resulting equations of motion seem to be really large for such a simple problem. Then again, I'm not experienced with this kind of problems.
Thanks in advance for all the help,
Nuno
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/41580794-f61d-4106-9425-d2552d71424a%40googlegroups.com.
Nuno,You can only select one set of independent generalized coordinates for things to work out. You seem to be setting two sets, both the cartesian and the angular coordinates. You may need to refer to a dynamics text to see how to go about selecting generalized coordinates.
On Thu, Aug 11, 2016 at 4:30 AM, Nuno <nmi...@gmail.com> wrote:
Right now I'm trying to get the equations of motion of a 3D pendulum system (spherical pendulum) and I want to describe the system using the (x,y,z) coordinates of the mass as well as its attitude (phi, theta, psi),
In the jupyter notebook (https://nbviewer.jupyter.org/github/ndevelop/sympy_3D_pendulum/blob/master/3D%20pendulum.ipynb) I have added 3 reference frames (Inertial, one for the anchor point and other to the mass).
The anchor frame is not really necessary since its the same as the inertial frame for this problem, however futher down the line I want to test the system with a mobile anchor point (imagine it as a balloon with a lift force applied in the anchor center of mass).
The mass frame is centered on the "Mass" center of mass (this nomenclature is not the best) and it's orientation in relation to the inertial frame is composed by 3 euler angles.
Now the twist in the problem is that the mass is "actuated". Besides the gravity force acting on its center of mass (along the inertial frame z-axis), there is also a force F applied on the positive direction of x-axis of the mass reference frame and a torque T about the z-axis of the mass reference frame.
Furthermore, I want to "model" the cable connecting the mass to the anchor point, by using a distance constraint: (r_anchor - r_mass) - cable_length = 0
The goal is to obtain the equations of motion for this system.
I have set everything as described in this jupyter notebook, however I'm not sure if the way I'm doing things is correct, since the resulting equations of motion seem to be really large for such a simple problem. Then again, I'm not experienced with this kind of problems.
Thanks in advance for all the help,
Nuno
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/4d22f6ec-f826-4a45-98ac-14152edaeac5%40googlegroups.com.
This doesn't make the mass a 6DOF system, since the (x,y,z) of the mass are dependent of the anchor point position, and in fact in the jupyter notebook I created I have set only (phi, theta, psi) as the independet generalized coordinates and (x,y,z) are dependent.
That being said I'm sure I'm still making mistakes, so if it was possible for you to clarify what I'm doing wrong or suggest how to do it properly I would really appreciate it.
Thanks again for all the help,
Nuno
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscribe@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/f110136b-df04-4d04-a06d-d7041ccc789d%40googlegroups.com.
The system that you drew only has two degrees of freedom regardless of what forces you apply to the system. It also isn't clear as to whether you consider the mass a particle or a rigid body. The problem is very different depending on that. If you want a conical pendulum that has forces applied to the particle, then all you need are two generalized coordinates to describe the pendulum's configuration and some definition of force that is applied to the particle.
On Thu, Aug 18, 2016 at 8:01 AM, Nuno <nmi...@gmail.com> wrote:
Thanks for the input!I probably wasn't able to explain it properly, but in this pendulum system the mass is actuated. Think of it as a differential drive robot with fans instead of wheels (instead of the mass). The force acting on the x-axis of the mass frame and the torque about the z-axis of the mass frame are the result of such structure.This makes it different from the normal pendulum where the z-axis is aligned with the cable. The reference frames would look something like this:
This doesn't make the mass a 6DOF system, since the (x,y,z) of the mass are dependent of the anchor point position, and in fact in the jupyter notebook I created I have set only (phi, theta, psi) as the independet generalized coordinates and (x,y,z) are dependent.
That being said I'm sure I'm still making mistakes, so if it was possible for you to clarify what I'm doing wrong or suggest how to do it properly I would really appreciate it.
Thanks again for all the help,Nuno
quinta-feira, 18 de Agosto de 2016 às 15:48:35 UTC+1, James Milam escreveu:To kind of expand on what Jason's saying a 3D pendulum can be completely defined using just (x, y, z) and you can deduce the angles from these coordinates. In your case the pendulum only has two degrees of freedom (x and y for instance and z be calculated because the pendulum has a fixed length) and is why Jason suggests using only two generalized coordinates. A quadcopter does actually have 6 degrees of freedom and is why it would use (x, y, z) in addition to (pitch, roll, yaw).
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.