Represent gear with controllable, variable gear ratio
Gears
The Variable Ratio Gear block represents a gearbox that constrains the two connected driveline axes, base (B) and follower (F), to corotate with a variable ratio that you can control. You can choose whether the follower axis rotates in the same or opposite direction as the base axis. If they rotate in the same direction, ω_{F} and ω_{B} have the same sign. If they rotate in opposite directions, ω_{F} and ω_{B} have opposite signs.
You specify the variable gear ratio as a function of time with the Simulink^{®} input signal r. You specify the first derivative of the variable gear ratio as a function of time with the Simulink input signal v.
The Variable Ratio Gear imposes a single constraint, specified by the variable gear ratio g_{FB}(t), on the motions and torques of the two axes:
±g_{FB}(t) = ω_{B}/ω_{F} = τ_{F}/τ_{B}
Warning All gear ratios must be strictly positive. If any gear ratio equals 0 or becomes negative at any time, a SimDriveline™ simulation stops with an error. |
With the Variable Ratio Gear block, you can choose to include or not include the effect of Coriolis acceleration on the gear motion. If you choose to include it, you must supply the first derivative, dg_{FB}/dt, of the gear ratio as another Simulink input signal v.
The Coriolis acceleration is a nonlinear effect proportional to the angular velocity and the first derivative of the gear ratio:
dω_{B}/dt = g_{FB}·dω_{F}/dt + ω_{F}·dg_{FB}/dt
Caution If you do not include the Coriolis acceleration, simulation with the Variable Ratio Gear block will be inaccurate by an error proportional to dg_{FB}/dt. If the gear ratio g_{FB} changes rapidly, this error can be significant. If you include the Coriolis acceleration, the v derivative signal dg_{FB}(t)/dt must be consistent with the r gear ratio signal g_{FB}(t) to ensure accurate simulation. |
If you simulate your model in linearization mode, the block holds the variable gear ratio g_{FB}(t) fixed at its initial value, g_{FB}(0).
Select to make the follower and base axes corotate in opposite directions. The default is selected.
Select to include the nonlinear effect of the nonzero first derivative of the variable gear ratio in the driveline dynamics. The default is unselected.