Rack and Pinion Assembly Testrig
This example models a gear and a toothed bar (rack). The necessary blocks for the rack and pinion assembly are contained in a masked subsystem with the key parameters exposed in a dialog box.
Contents
Model

Rack and Pinion Assembly Subsystem

Rack and Pinion Assembly Constraints Subsystem
The Rack and Pinion 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 rack and pinion.
