主要内容

Sinusoidal Force Source

R2026b

Produce sinusoidal force

  • Sinusoidal Force Source block

Libraries:
Simscape / Driveline / Sources

Description

The Sinusoidal Force Source block produces sinusoidal force with a constant offset. A positive force value generates force acting from port B to port F.

The defining equation for the sinusoidal force that the block generates is

F=Fo+A*sin(2πft+φ),

where:

  • F is the output force.

  • Fo is the offset force 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.

Programmatic Use

Port: B

Mechanical translational conserving port associated with the follower interface.

Programmatic Use

Port: F

Parameters

expand all

Average value that the output sinusoidal force oscillates about.

Programmatic Use

Parameter: offset

Peak amplitude of the output sinusoidal force.

Programmatic Use

Parameter: amplitude

Phase shift of the output sinusoidal force.

Programmatic Use

Parameter: phase_shift

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

Programmatic Use

Parameter: frequency

Extended Capabilities

expand all

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

Version History

Introduced in R2016b