PS Harmonic Estimator (Amplitude, Phase)

Measure harmonic amplitude and phase of periodic signal


Physical Signals/Periodic Operators


The PS Harmonic Estimator (Amplitude, Phase) block measures amplitude and phase of a single frequency component (harmonic) 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 block accepts a physical signal with one or more harmonics present. It outputs the phase and amplitude for the selected harmonic.

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


Base frequency

Specify the periodic signal frequency. The default value is 60 Hz.

Harmonic number

Specify the number of harmonic within the periodic signal. The value must be a positive integer. The default value is 1.

Minimum amplitude for phase detection

Specify the minimum amplitude necessary for measuring the harmonic phase. If the harmonic amplitude is less than this number, the output at port Phi is 0. The default value is 0.001.


The block has one physical signal input port and two physical signal output ports:

  • A — Outputs the harmonic amplitude.

  • Phi — Outputs the harmonic phase.

Introduced in R2015b

Was this topic helpful?