Main Content

Model Drivetrain Noise

This example shows how to inject a fault into a drivetrain using a Torque Noise Source block. Injecting noise into your model allows you to predict how your actual physical system responds when it experiences environmental or internal disturbances. It also allows you to test the robustness and responsiveness of your control system.

In the example, the noise is injected into one of the sprockets on a metal sheet feeder that is moving a piece of stock. Although you can perform most of the steps in this example using tools that the Simulink® and Simscape™ Driveline™ user interfaces provide, programmatic commands are supplied. You can combine the programmatic commands to create a script for parameter sweeps.

  1. Open the model. At the MATLAB® command prompt, enter:

    openExample('sdl/SheetMetalFeederExample')
    model = 'SheetMetalFeeder';

  2. Simulate the model and plot the results.

     Script for Generating and Plotting Simulation Results

  3. Add, configure, connect, and arrange these blocks as shown:

    • Step block — Specify 7.5 for the Step time parameter and 300 for the Final value parameter.

    • Simulink-PS Converter block

    • Mechanical Rotational Reference block

    • Torque Noise Source block — For the Sample time, specify 1e-1, for Repeatability, select Specify seed, and for Seed specify 0.

     Script for Adding, Configuring, Connecting, and Arranging Blocks

  4. Simulate the model and plot the results.

     Script for Generating and Plotting Simulation Results

    The noise injected at simulation time, t = 7.5 seconds introduces torque disturbances.

  5. Zoom in to see the effects of the disturbance.

     Script for Zooming In

    When the noise source torque exceeds ±50 N*m, it most significantly effects the torque applied by the sprocket and, therefore, the position of the stock.

See Also

| | | | |