This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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:

    model = 'sdl_sheet_metal_feeder';

  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

| | | | |