Hello Neil!
The flywheel motor model does indeed work fine. I guess perhaps my naming convention is confusing....sorry about that. I want to do one of two things, either:
1) Attach my flywheel_motor_model.mo
, where variable J is equal to 0.00013612480196014234 to a fixed translation
and Revolute
in a different multibody model and then study the gyroscopic effects.
2) or I would like to attach a mathematical motor model where J is equal to 0.000013.... we can call it current_control_motor.mo
, and use it to apply a torque to the objects Bodyshape
+ Rotor1D
, which are suppose to represent just the flywheel, which are all connected on said different multibody model, so namely, an assembly of flywheel and motor connected to the different mulitbody model.
My expectations are that 1 and 2 should produce the exact same plots, which in my images they don't as you correctly say, it's likely the objects are all connected wrong and I don't get it.
In the end I want to simulate a cube satellite, with flywheels connected to motors built inside, but I'm having problems, as you say with the Rotor1D
, Bodyshape
and how to correctly apply my mathematical motor model's torque to these objects.
The flywheel in reality is 103mm in diameter, 6mm thick, 120g with an inertia tensor approx:
I_11 == 0.000122/2
I_22 == 0.000122/2
I_33 == 0.000122
my Expectations are
current_control_motor.mo
gets a step signal, and with it connected to the Rotor1D
, and Bodyshape
they all begin to accelerate in unison as one assembly to the same top angular velocity, 400 1/s, in about 3 seconds.
Currently this does not happen. As you saw, the Revolute, bodyshape and Rotor1D, and current_control_motor.mo
motor all have different angular velocities.
I have looked for hours at Gyroscopic3dEffects, and I don't get anywhere closer, unfortunately.