![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/817304/image.gif)
Gear geometry, constraints, and creation
7 次查看(过去 30 天)
显示 更早的评论
I have a few questions about gears.
Here are some questions from the following sites.
1.Does the difference in geometry make any difference in the calculation of torque, friction, etc.?
2.Is it possible to reproduce a rack and pinion mechanism like the one in the image? I want the pinion gear to spin without any constraint from the rack when there is no gear.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/816969/image.png)
3.How can I create an accurate gear using MATLAB files and Simulink blocks?
4.How can I reproduce realistic gears with gear friction, inertia, etc.?
I would appreciate an answer.
0 个评论
采纳的回答
Steve Miller
2021-11-29
编辑:Steve Miller
2021-11-29
1. Does the difference in geometry make any difference in the calculation of torque, friction, etc.?
The transmitted force and torque depends on the gear ratio between the pinion and rack degrees of freedom and the mass/inertia of the two parts. If you attach a Rack and Pinion Gear Constraint between properly constrained rack and pinion parts, the geometry only affects the torque/force if the mass and inertia calculations are based on the geometry.
2. Is it possible to reproduce a rack and pinion mechanism like the one in the image? I want the pinion gear to spin without any constraint from the rack when there is no gear.
Yes - simply omit the Rack and Pinion Constraint
3. How can I create an accurate gear using MATLAB files and Simulink blocks?
If you are speaking of the geometry, you can import the parts from CAD or use MATLAB to define extrusions for the parts. See the Simscape Multibody Parts Library for examples.
4. How can I reproduce realistic gears with gear friction, inertia, etc.?
Inertia effects are included automatically. The Rack and Pinion Constraint only implements the constraint between the gear angle and the rack displacement; you would need to add the friction effects yourself, either by adding damping to the joints defining the pinion and rack degrees of freedom or by using the External Force and Torque block.
--Steve
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/817304/image.gif)
3 个评论
Steve Miller
2021-12-4
To disengage the pinion from the rack, you will need to connect the Rack and Pinion constraint to a "dummy" part which has a small (but not zero) mass and inertia. Connect that "dummy" part to the gear using a Weld Joint. When the Rack and Pinion should become disengaged, disable the Weld Joint using Joint Modes.
The Simscape Multibody Parts library has example models with gears in them.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/823295/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/823295/image.png)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!