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 Translational Velocity Source

Produce sinusoidal translational velocity

  • Library:
  • Simscape / Driveline / Sources

Description

The Sinusoidal Translational Velocity Source block produces sinusoidal translational velocity with a constant offset.

The relative translational velocity between the base and follower interfaces is

vFB=vFvB,

where:

  • v FB is the relative translational velocity.

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

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

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

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

where:

  • v is the output translational velocity.

  • vo is the offset translational 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 translational conserving port associated with the base interface.

Mechanical translational conserving port associated with the follower interface.

Parameters

expand all

Average value that the output sinusoidal translational velocity oscillates about.

Peak amplitude of the output sinusoidal translational velocity.

Phase shift of the output sinusoidal translational velocity

Frequency of the output sinusoidal translational 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