# Documentation

## Mechanical Shaft

This example shows the mechanical shaft model.

C.Semaille, Louis-A. Dessaint (Ecole de technologie superieure, Montreal)

### Description

The model outputs the transmitted torque through the shaft regarding the speed difference between the driving side and the loaded side of the shaft.

The shaft has a stiffness of 17190 N.m and an internal damping factor of 600 N.m.s. This shaft is designed to have 0.1 degree of angular deflection for a 30 N.m load torque.

The shaft is driven by a variable speed source and is connected to a load. The load has an inertia of 0.35 kg.m2 and a viscous friction term of 0.006 N.m.s

### Simulation

Start the simulation. You can observe the driving and the load speeds, the speed difference, the angular deflection and the transmitted torque values on the scope.

At t = 0 s, the driving speed starts climbing to 1750 rpm with a 500 rpm/s acceleration ramp. The angular deflection jumps to about 0.06 degree and the shaft transmits about 18.5 Nm to the load in order to accelerate it. At t = 0.2 s, the driving and load speeds tend to equalize. During the acceleration phase, the angular deflection increases slowly in order to transmit a higher torque to compensate the viscous friction increase.

At t = 3.5 s, the driving speed settles at 1750 rpm. This reduces the angular deflection and also the transmitted torque which settles around 1.1 Nm to compensate the viscous friction of the load.

At t = 5 s, the driving speed lowers towards 0 rpm with a -500 rpm/s deceleration ramp. The angular deflection becomes negative and thus the transmitted torque in order to decelerate the load. During the deceleration phase, the angular deflection increases in order to transmit a higher deceleration torque to compensate the reduction of viscous friction.

At t = 8.5 s, the driving speed stabilizes at 0 rpm. This causes the angular deflection to reduce to 0 degree, the transmitted torque becomes nul and the load stops.

### Notes

1) The shaft has been discretized with a 10 us time step.

2) In order to reduce the number of points stored in the scope memory, a decimation factor of 10 is used.