130 Chapter
7
Table 7-3. Model parameters
Name Unit Default
value Description
VO V 0.0
Offset
voltage
PA_DBM
dBm
-100.0
Power amplitude of sine wave
FREQ
Hz
1.0e03
Frequency of sine wave
PHASE
rad
0.0
Phase of sine wave
PA2_DBM
dBm
-100.0
Power amplitude of sine wave (second tone)
FREQ2
Hz
1.0e03
Frequency of sine wave (second tone)
PHASE2
rad
0.0
Phase of sine wave (second tone)
ROUT Ohm 50.0
Output
resistance
Model implementation
architecture SINGLE_TONE of P_SIN is
constant PA: REAL:= 10**((PA_DBM-30.0)/10.0);
constant PA: REAL:= SQRT(PA * 2.0 * ROUT);
terminal N_INT: ELECTRICAL;
quantity V_ROUT across I_ROUT through P to N_INT;
quantity V_SRC
across I_SRC
through N_INT to M;
begin
-- signal source
V_SRC == 2.0 * (VO + VA * SIN(NOW * MATH_2_PI*FREQ + PHASE));
-- output port resistance
V_ROUT == ROUT * I_ROUT;
end architecture SINGLE_TONE;
The complete model is included on the CD-ROM that is provided with
this book.
Simulation example
For a simulation example using independent sources see Section 7.3.2.
7.2.2
Modulated sources
Functional description
In this section different sources are provided in a SPICE-like notation but
with RF-specific extensions. They are named p_sin since the sinusoidal
output of the source is specified in terms of power. Also, in contrast to
SPICE sources, a positive and finite value for the output resistor is required.
By calling different architectures it is possible to decide whether to use an
amplitude modulated (AM) or a frequency modulated (FM) sinusoidal
source. Refer to the previous section for further architectures of the same
source.
Summary :
Model parameters Name Unit Default value Description VO V 0.0 Offset voltage PA_DBM dBm -100.0 Power amplitude of sine wave FREQ Hz 1.0e03 Frequency of sine wave PHASE rad 0.0 Phase of sine wave PA2_DBM dBm -100.0 Power amplitude of sine wave (second tone) FREQ2 Hz 1.0e03 Frequency of sine wave (second tone) PHASE2 rad 0.0 Phase of sine wave (second tone) ROUT Ohm 50.0 Output resistance Model implementation architecture SINGLE_TONE of P_SIN is constant PA: REAL:= 10**((PA_DBM-30.0)/10.0);
Tags :
wae,sine,rout,sources,phase,output,source,power,modulated,second,nint,tone,amplitude