blockLogFrequencySweep
Logarithmic frequency sweep
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Information
The output y performs a logarithmic frequency sweep.
The logarithm of frequency w performs a linear ramp from log10(wMin) to log10(wMax).
It uses wMin*(wMax/wMin)^x instead of the equivalent 10^(log10(wMin)+log10(wMax)-log10(wMin)*x) to help with unit-checking.
The output is the decimal power of this logarithmic ramp.
For time < startTime the output is equal to wMin.
For time > startTime+duration the output is equal to wMax.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | wMin | Start frequency | |
| Real | wMax | End frequency | |
| SI.Time | startTime | 0 | Start time of frequency sweep |
| SI.Time | duration | Duration of ramp (= 0.0 gives a Step) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal |