# Gear geometry, constraints, and creation

조회 수: 8 (최근 30일)
A 2021년 11월 29일
댓글: A 2021년 12월 7일
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.
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.?

댓글을 달려면 로그인하십시오.

### 채택된 답변

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
##### 댓글 수: 3이전 댓글 1개 표시이전 댓글 1개 숨기기
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.
A 2021년 12월 7일
I didn't understand the dummy connection very well. Sorry about that.
So I made a simple rack and pinion.
Within the red block of the pinion, I want to remove the constraint so that the rack can move upward by the spring.
I would appreciate it if you could fix it.

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

R2021a

### Community Treasure Hunt

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

Start Hunting!

Translated by