Main Content

Model Drivetrain Noise

This example shows how to inject a fault into a drivetrain using aTorque Noise Source块。将噪声注入你的模型允许你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®andSimscape™ 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'; open_system(model)

  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:

    • Stepblock — Specify7.5for theStep timeparameter and300for theFinal valueparameter.

    • Simulink-PS Converterblock

    • Mechanical Rotational Referenceblock

    • Torque Noise Sourceblock — For theSample time, specify1e-1, forRepeatability, selectSpecify seed, and forSeedspecify0.

    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

|||||