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.

Sinusoidal Rotational Velocity Source

Produce sinusoidal rotational velocity

  • Library:
  • Simscape / Driveline / Sources

Description

The Sinusoidal Rotational Velocity Source block produces sinusoidal rotational velocity with a constant offset.

The relative rotational velocity between the base and follower interfaces is

vFB=vFvB,

where:

  • v FB is the relative rotational velocity.

  • vF is the absolute rotational velocity at the follower interface.

  • vB is the absolute rotational velocity at the base interface.

The defining equation for the sinusoidal rotational velocity that the block generates is

v=vo+A*sin(2πft+φ),

where:

  • v is the output rotational velocity.

  • vo is the offset rotational velocity of the output.

  • A is the peak amplitude of the sinusoid.

  • f is frequency of the sinusoid in Hz.

  • t is time.

  • φ is phase shift of the sinusoid.

Ports

Conserving

expand all

Mechanical rotational conserving port associated with the base interface.

Mechanical rotational conserving port associated with the follower interface.

Parameters

expand all

Average value that the output sinusoidal rotational velocity oscillates about.

Peak amplitude of the output sinusoidal rotational velocity.

Phase shift of the output sinusoidal rotational velocity.

Frequency of the output sinusoidal rotational velocity. The frequency must be greater than or equal to 0.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2016b