How can i add a Common Gear Constraint to my simscape imported CAD?

13 ビュー (過去 30 日間)
Santiago Gomez
Santiago Gomez 2021 年 8 月 19 日
コメント済み: 轩 贾 2023 年 5 月 19 日
Hi, well i have the following CAD that is part of a simple planetary gear
Since simscape multibody link does not support the gear mates i remove it from the CAD and export it successfully, but in Simscape i run into the following problem
As you can see the "planet" gear is going through the solar gear, that is why i require a Common Gear Constraint block between both gears, but to be honest i don't know where to put it in this diagram that simscape generated:
I tried putting it between the Fs of Revolute1 and Revolute2
but it generates the following error
=== Simulation (Elapsed: 0.455 sec) ===
Error:['Ensamblajesinbrazonirela']: The following errors were found in the model Ensamblajesinbrazonirela.
Caused by:
['Ensamblajesinbrazonirela']: Common Gear Constraint 'Ensamblajesinbrazonirela/Common Gear Constraint' has base and follower ports that are rigidly connected. You can configure this diagnostic in the Simscape Multibody Configuration Parameters dialog.
['Ensamblajesinbrazonirela/Solver Configuration']: *** Model not assembled: position violation *** Resolve this issue in order to simulate the model.
when i dissable the option it names about "Rigidly constrained block" in model settings > simscape Multibody>Diagnostics>Rigidly constrained block >none the following error shows up
=== Simulation (Elapsed: 0.358 sec) ===
Error:['Ensamblajesinbrazonirela']: The following errors were found in the model Ensamblajesinbrazonirela.
Caused by:
['Ensamblajesinbrazonirela/Solver Configuration']: *** Model not assembled: position violation *** Resolve this issue in order to simulate the model.
i tried to solve it by changing the Solver Configuration consistency tolerance to 1, insted of 1e-9 that is by deffault, but then the planet gear goes through the solar gear, again.
The example given by my teacher was just a simple pendulum made in CAD an imported to have its position controlled, without any gear mates or "complex" relations. Help me please.
*Later i need to input a torque in the solar gear in order to control it, but i think i got that part of the explanation.
**This is not my native language i am sorry if i committed some sort of grammar / traduction mistake.
  1 件のコメント
轩 贾
轩 贾 2023 年 5 月 19 日
Hi,there is a similar question about adding a Common Gear Constraint to my simscape about gear pump.
The positions of two gears and shafts are changed,not on the same plane .
How do I set them to change the positions as before?

サインインしてコメントする。

回答 (1 件)

Steve Miller
Steve Miller 2021 年 9 月 12 日
You are on the right track. To fix your model, you will need to
  1. Adjust the connections of the gear constraint - they need to be attached to the frames that can rotate, so the other side of the revolute joints
  2. Verify that the frames of puente_1_RIGID are properly positioned
The documentation for the Common Gear Constraint block has images that help you understand how to connect this block.
There are also many examples of gears in the Simscape Multibody Parts Library.
--Steve
  1 件のコメント
轩 贾
轩 贾 2023 年 5 月 19 日
There is a similar question about adding a Common Gear Constraint to my simscape about gear pump.
I use Rigid Transform to correct the positions.but it generates the following error.
The following errors were found in the model aa.
['aa/Solver Configuration']: *** Model not assembled: position violation *** Resolve this issue in order to simulate the model.
Later,I try to change the center distance from Common Gear Constraint ,but nothing is changed.
I find adding a Common Gear Constraint is only changed the positions of gears and shafts.....
How should I do to solve it?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMultibody Dynamics についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by