-
Notifications
You must be signed in to change notification settings - Fork 171
Be clearer about units in RobotR3 motor #4591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/Utilities/Motor.mo
Outdated
Show resolved
Hide resolved
Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/Utilities/Motor.mo
Outdated
Show resolved
Hide resolved
parameter SI.AngularVelocity w_max=315 "Maximum speed of motor"; | ||
parameter SI.Current i_max=9 "Maximum current of motor"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parameter SI.AngularVelocity w_max=315 "Maximum speed of motor"; | |
parameter SI.Current i_max=9 "Maximum current of motor"; |
Remove if not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not confident in removing that in this PR.
Plotting the different axis*.motor.emf.i and axis*.motor.speed.w; indicates that the speed is within the bounds - but that the current peaks above the maximum. (For axis3 it is close to 15 A, so significantly above.)
I don't know - it could even be different for the different axis (it's worse for axis 1, 2, 3 and they are different.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope @MartinOtter can give feedback.
Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/Utilities/Motor.mo
Outdated
Show resolved
Hide resolved
48fe8ca
to
5542be3
Compare
WalkthroughThis change updates the motor model in the RobotR3 utilities by adjusting parameter types and modifying calculation formulas. The parameter Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
I find the experiment with coderabbit interesting and the statements look suggestive. |
Yes, it's experimental. The summary feature is rather useless. The actual review comments seem more promising to me, however that's not part of a free service and only available now during the coderabbit trial phase of 14 days. |
But the poem, oh, the poem... |
The only controversial part is the name RaR. Without this change based on La.L=250/(2*D*w) and C.C=(1/250)*D/w one might conclude that D has unit Siemens (inverted Ohm).
…s/Motor.mo Change to angular frequency, seems likely to be correct. Co-authored-by: Thomas Beutlich <[email protected]>
5542be3
to
544d814
Compare
The only controversial part is the name RaR.
Without this change based on
La.L=250/(2*D*w)
andC.C=(1/250)*D/w
one might conclude that
D
has unit Siemens (inverted Ohm).Summary by CodeRabbit
New Features
Refactor