Rack & Pinion
R2026bRack and pinion gear coupling translational and rotational motion, with adjustable pinion radius and friction losses
Libraries:
Simscape /
Driveline /
Gears /
Rotational- Translational
Description
The Rack & Pinion block represents a rack and pinion mechanism that converts between translational and rotational motion. The rotational-translational gear constrains the pinion, P, and the rack, R, to move together at a given ratio. You can choose whether the rack axis translates in a positive or negative direction as the pinion rotates in a positive direction.
The block defines the relationship between the pinion angular velocity and the rack velocity, such that
where,
ωP is the angular velocity of the pinion shaft.
β is the rack direction, where
+1represents positive motion, and-1represents negative motion, specified by the Rack direction parameter.vR is the translational velocity of the rack.
rP is the effective radius of the pinion.
When you set the Parameterize by parameter to
Pinion radius, you specify
rP directly by using the
Pinion radius parameter. When you select Tooth
parameters, the block finds the pinion radius from the tooth geometry,
such that
where,
NP is the number of teeth on the pinion, specified by the Number of teeth parameter.
xR is the rack tooth spacing, specified by the Rack tooth spacing parameter.
The pinion torque and rack force satisfy a force balance along the direction of motion. The block relates the rack force to the pinion torque, such that
where,
FR is the force of the rack on the pinion.
τP is the torque of the rotational network on the pinion.
Floss is the total loss force.
When you set the Friction model parameter to No
meshing losses - Suitable for HIL simulation, Floss = 0. When you select Constant efficiency or
Temperature-dependent efficiency, the block uses the
torque transfer efficiency to evaluate Floss, such that
whwhere,
PP is the power of the rotational network acting on the pinion.
η is the torque transfer efficiency.
Pthr is the power threshold, specified by the Rack power threshold parameter.
You can specify η as a constant or
temperature-dependent value. When |PP| >
Pthr, the block applies the full value
of η. Otherwise, the block uses a hyperbolic tangent function to
smooth η to 1 when
ωP = vP = 0.
The block applies the same efficiency for forward and reverse power flow.
The block uses a subcomponent implementation of the Rotational Damper and Translational Damper blocks to apply rotational and translational viscous friction, respectively. For general considerations on nonideal gear modeling, see Model Gears with Losses.
Thermal Model
You can model
the effects of heat flow and temperature change by enabling the optional thermal port. To enable
the port, set Friction model to Temperature-dependent
efficiency.
Hardware-in-the-Loop Simulation
For optimal performance of your real-time simulation, set the Friction
model to No meshing losses - Suitable for HIL
simulation on the Meshing Losses tab.
Variables
Use the Variables settings to set the priority and initial target values for the block variables before simulating. For more information, see Set Priority and Initial Target for Block Variables.
Limitations
Gear inertia is assumed to be negligible.
Gears are treated as rigid components.
Coulomb friction slows down simulation. For more information, see Adjust Model Fidelity.
Ports
Conserving
Parameters
Extended Capabilities
Version History
Introduced in R2011a
