Using the Common Gear Block
This example models a pair of gears with parallel axes. The assembly contains the two gears and all constraints required for the gear set. The assembly can be configured to model an external or internal gear set by adjusting parameters in the mask.
Model
Common Gear Assembly Subsystem
Common Gear Assembly Constraints Subsystem
The Common Gear Constraint requires that the rest of the mechanism hold the two frames to which it is connected in alignment. This subsystem has the necessary constraints and parameterized Rigid Transform to hold the frames in the right position and orientation.
Simulation Results from Simscape Logging
The plot below shows the speeds of the two shafts connected by the common gear assembly in an external configuration.
The plot below shows the speeds of the two shafts connected by the common gear assembly in an internal configuration.