PS Constant Offset Estimator

Measure constant offset value of periodic signal

  • Library:
  • Simscape / Foundation Library / Physical Signals / Periodic Operators

Description

The PS Constant Offset Estimator block measures the constant offset value of a periodic signal.

A signal is periodic if it completes a pattern within a measurable time frame, called a period, and repeats that pattern over identical subsequent periods. The signal base frequency is the number of periods per second.

The constant offset is the amount by which the average value of the periodic signal is not centered around the t-axis.

Both the input and the output are physical signals. Untyped physical ports facilitate unit propagation. The output signal has the same physical unit as the input signal.

To obtain meaningful results, run the simulation for at least one full time period of the signal.

Ports

Input

expand all

Input physical signal. The signal must be periodic.

The port name is not visible in the block icon, but you can see this name in the underlying source file (accessible by clicking the Source code link in the block dialog box).

Output

expand all

Output physical signal.

The port name is not visible in the block icon, but you can see this name in the underlying source file (accessible by clicking the Source code link in the block dialog box).

Parameters

expand all

Base frequency of the periodic signal.

Compatibility Considerations

expand all

Behavior changed in R2019a

Extended Capabilities

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

Introduced in R2015b