- Input Signal > Sinestream when the sample time of the I/Os is continuous.
- Input Signal > Fixed Sample Time Sinestream when the sample time of the I/Os is
discrete.
You can specify the frequencies to use in the sinestream in one of two ways:
- Manually, as shown in “Estimate Frequency Response Using Linear Analysis Tool” on
page 5-7 - Based on the dynamics of a linear model, such as a linearization of your system, as
shown in “Estimate Frequency Response with Linearization-Based Input Using Linear
Analysis Tool” on page 5-13
Other parameters you can specify for a sinestream signal in Linear Analysis Tool include:
- Amplitude — Amplitude of injected sine waves
- Number of periods — Total number of periods at each frequency
- Settling periods — Number of periods to discard for the estimation computation
- Ramp periods — Number of periods for ramping up the amplitude of each sine wave
to its maximum value - Perform filtering to improve estimation results — Filter the response data before
estimating frequency response (see the Algorithms section of frestimate)
Create Sinestream Signals Using MATLAB Code
To create a sinestream signal for estimation at the command line with frestimate, use:
- frest.Sinestream — Use when signal at input linearization point is continuous.
- frest.createFixedTsSinestream — Use when signal at input linearization point
is discrete.
Sinestream Signals for Online Estimation
You can use a sinestream signal for online estimation with the Frequency Response
Estimator block. To do so, set the Experiment mode parameter to Sinestream. Other
relevant block parameters include:
- Frequencies — Vector of frequencies for the sinestream signal.
- Amplitudes — Signal amplitudes. You can specify a single amplitude for all
frequencies, or separate amplitudes for each frequency.
5 Frequency Response Estimation