This example illustrates how you can build your own custom planetary gear components from the Simscape™ Driveline™ Planetary Subcomponents library. The example is based on Example 10.7 published in K.J. Waldron, G.L. Kinzel "Kinematics, Dynamics, and Design of Machinery", 1999. It consists of a coupled planetary train built from simple and compound planetary trains with a common carrier and bevel gears. The simple train fundamental train ratio is -N_4/N_2 * N_7/N_4 = -N_7/N_2. It connects shafts S2 and S7. The compound planetary train fundamental ratio is -N_4/N_2 * N_6/N_5 and it connects shafts S2 and S6. When the input shaft of the train is rotated at 100 rpm, the model shows the output shaft rotates at 1.4456 rpm as given in the reference.
The custom gear is implemented using a Simulink® masked subsystem. If viewing the model in Simulink, the implementation of the custom gear can be seen by right-clicking on the block and selecting Look Under Mask. If viewing the model in Simulink, right-click on the subsystem and select Edit Mask to see how the mask parameters are passed to the blocks within the masked subsystem. Further notes on the implementation of this gear train using three Sun-Planet Bevel gear blocks are also contained in the subsystem model.