Accelerating the pace of engineering and science

# Continuous Wave

Model constant envelope source

Sources

## Description

The Continuous Wave block models a constant modulation on a carrier in the SimRF™ circuit envelope simulation environment. For an introduction to RF simulation, see the example, Simulate High Frequency Components.

The block implements the relation

$v\left(t\right)={v}_{0}{e}^{j{\omega }_{k}t}$

or

$i\left(t\right)={i}_{0}{e}^{j{\omega }_{k}t}$

at the carrier ωk, depending on the source type.

## Dialog Box and Parameters

Source type

Specify the wave type as:

• 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

${v}_{0}=2\sqrt{{\text{P}}_{0}\text{Re}\left({Z}_{s}\right)}{e}^{j\frac{\pi }{180}\varphi }$

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.

The default value of this parameter is Ideal Voltage.

Constant in-phase value

When the Source type is Ideal Voltage or Ideal Current, specify the in-phase modulations for each of the specified Carrier frequencies as a vector of real numbers. Specify the units from the corresponding drop-down list. The default value of this parameter is 0 V.

When the Source type is Ideal Voltage or Ideal Current, specify the quadrature modulations for each of the specified Carrier frequencies as a vector of real numbers. Specify the units from the corresponding drop-down list. The quadrature value at baseband must equal 0. The default value of this parameter is 0 V.

Source impedance (ohms)

When the Source type is Power, specify the source impedance as either 0 or a complex number with real and imaginary parts that are greater than or equal to 1e-18 Ohm. If you set this parameter to a value with real or imaginary part between 0 and 1e-18 Ohm, the block uses a value with real or imaginary part equal to 1e-18 Ohm during simulation. The default value of this parameter is 0 Ohm.

Available power

When the Source type is Power, specify the available power at the specified Carrier frequencies as a vector of real numbers. Specify the units from the corresponding drop-down list. The default value of this parameter is 0 W.

Angle (degrees)

When the Source type is Power, specify the phase angles of the power waves at the specified Carrier frequencies as a vector of real numbers. The default value of this parameter is 0 degrees.

Carrier frequencies

Enter a vector of carrier frequencies whose elements are combinations of fundamental tones and corresponding harmonics in the Configuration block. Specify the units from the corresponding drop-down list. The default value of this parameter is 0 Hz.

Ground and hide negative terminals

Select this option to internally ground and hide the negative terminals. Clear this to expose the negative terminals. By exposing these terminals, you can connect them to other parts of your model.

By default, this option is selected.

## Examples

All models in the SimRF documentation that contain a Mixer block also contain a Continuous Wave block used as a local oscillator.