Model constant envelope source
RF Blockset / Circuit Envelope / Sources
The Continuous Wave block models a constant modulation on a carrier in the RF Blockset™ circuit envelope simulation environment. For an introduction to RF simulation, see the example, Simulate High Frequency Components.
The block implements the relation
or
at the carrier ωk, depending on the source type.
Source type
— Wave typeIdeal voltage
(default) | Ideal current
| Power
Ideal Voltage
— The block
simulates a constant voltage envelope
v0 at the specified
Carrier frequencies. The envelope has real
and imaginary parts specified by the Constant in-phase
value and Constant quadrature
value parameters.
Ideal Current
— The block
simulates a constant current envelope
i0 at the specified
Carrier frequencies. The envelope has real
and imaginary parts determined by the Constant in-phase
value and Constant quadrature
value parameters.
Power
— The block simulates the
constant voltage envelope
where:
P0 is the value of the Available power parameter
Zs is the value of the Source impedance (ohms) parameter.
ϕ is the value of the Angle (degrees) parameter.
Constant in-phase value
— In-phase modulations of carrier frequencies0 V
(default) | vector of real numbers | V
| mV
| kV
In-phase modulations for each of the Carrier frequencies, specified as a vector of real numbers. Specify the units from the corresponding drop-down list.
To enable this parameter, on the Source type tab,
choose Ideal voltage
or Ideal
current
.
Constant quadrature value
— Quadrature modulations of carrier frequencies0 V
(default) | vector of real numbers | V
| mV
| kV
Quadrature modulations for each of the RF circuit carrier frequencies, specified as a vector of real numbers. Specify the units from the corresponding drop-down list.
To enable this parameter, on the Source type tab,
choose Ideal voltage
or Ideal
current
.
Source impedance(Ohm)
— Input impedance of source50
(default) | positive real number | complex number Input impedance of source, specified as a positive real number or a
complex number. The complex number must contain real and imaginary parts
greater than or equal to 1e-18
ohms.
To enable this parameter, on the Source type tab,
choose Power
.
Available power
— Input impedance of source0 W
(default) | vector of real numbers | W
| mW
| dBW
| dBm
Available power at the specified Carrier frequencies,
specified as a vector of real numbers. Specify the units from the drop-down
list. The default value is
0
W
.
To enable this parameter, on the Source type tab,
choose Power
. The default value is
0
W
Angle(degrees)
— Phase angle of power waves0
(default) | vector of real numbersPhase angle of power waves at the specified Carrier
frequencies, specified as a vector of real numbers. The
default value is 0
degrees.
To enable this parameter, on the Source type tab,
choose Power
.
Carrier frequencies
— Carrier frequencies0
(default) | vector of real positive numbers | Hz
| kHz
| MHz
| GHz
Carrier frequencies, specified as a vector of real positive numbers. The
elements in the carrier frequencies are combinations of fundamental tones
and corresponding harmonics in the Configuration block. The default
value is 0
Hz
.
Add phase noise
— Add phase noiseoff
(default) | on
Select this parameter, to add phase noise to your system with continuous wave source.
Phase noise frequency offset (Hz)
— Phase noise frequency offset0
(default) | scalar | vector | matrixPhase noise frequency offset, specified as a scalar or vector or matrix with each element units in hertz.
If you specify a matrix, each column should correspond to a non-DC carrier frequency of the CW source. The frequency offset values must be bounded by the envelope bandwidth of the simulation. For more information see, Configuration.
To enable this parameter, select Add phase noise.
Phase noise level (dBc/Hz)
— Phase noise level0
(default) | scalar | vector | matrixPhase noise level, specified as a scalar or vector or matrix with element unit in decibel per hertz.
If you specify a matrix, each column should correspond to a non-DC carrier frequency of the CW source. The frequency offset values must be bounded by the envelope bandwidth of the simulation. For more information see, Configuration.
To enable this parameter, select Add phase noise.
Automatically estimate impulse response duration
— Automatically estimate impulse response durationon
(default) | off
Select this parameter to automatically calculate impulse response for phase noise. Clear this parameter to manually specify the impulse response duration using Impulse response duration.
Impulse response duration
— Impulse response duration1e-10
s
(default) | scalarImpulse response duration used to simulate phase noise, specified as a scalar in seconds. You cannot specify impulse response if the amplifier is nonlinear.
Note
The phase noise profile resolution in frequency is limited by the duration of the impulse response used to simulate it. Increase this duration to improve the accuracy of the phase noise profile. A warning message appears if the phase noise frequency offset resolution is too high for a given impulse response duration, specifying the minimum duration suitable for the required resolution
To set this parameter, first clear Automatically estimate impulse response duration.
Ground and hide negative terminals
— Ground RF circuit terminalson
(default) | off
Select this option to internally ground and hide the negative terminals. To expose the negative terminals, clear the option. By exposing these terminals, you can connect them to other parts of your model.
By default, this option is selected.