I have a mathematical Block Model of a current controlled bldc motor, this model includes the motors parameters itself, including that of a flywheel, This model works exactly the way I expect it to, producing the same plots and dynamics as my mathematica fitted model.
I would now like to separate the ‘flywheel’ part of this, and connect a fixed BodyShape with a Rotor1D from another multibody model I have. The intention is to study the gyroscopic effects and later develop an angular momentum controller.
My assumptions where I could simply attach my mathematical model to a Torque and then the BodyShape with the parameters of the flywheel itself. I have made a working test example to attempt this, my expectations being that the motor dynamics would remain unchanged. However this appears to not be the case.
I have attached the test example, plus the flywheel motor. The variable J being the inertia of the system has currently the value (0.0000135), while in the first imaged example (where the flywheel is included in the mathematical model, J would be 0.00013612480196014234 )
The test example, is what i how I planned to attach models together, namely motor → flywheel → fixed translation of multibody like so:
In the test example, world would be the step-in for the fixed translation. How do I attach my mathematical model to the multibody one?
If there is a way to simply attach my already verified mathematical model to a fixed translation in a a multi body model and then be able to study the effects, I’d also love to know how, either solution would be great however.
Thanks!
flywheel_motor.mo (4.39 KB)
test.mo (4.08 KB)







