• No results found

New Models Simulate RF Circuits

N/A
N/A
Protected

Academic year: 2021

Share "New Models Simulate RF Circuits"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

New Models Simulate RF Circuits

Its no news to those who simulate that the accuracy of SPICE is directly related to the accuracy of the models. What may be news is that simulation of high frequency circuits well into the gigahertz range is now possible due to the introduction of some new RF SPICE models.

To illustrate the improved simulation accuracy, the RF models were used to analyze a 500 MHz oscillator (Figure 1). The oscillator generates a relatively high power output with a very distorted output waveform (typical at power levels over the 1-2mW range). The simulation goals were to study the start-up characteristics, oscillating frequency and amplitude, and the resulting harmonic distortion. Two simulations were run. The first using the standard Gummel-Poon BJT model and simple inductor chokes and a second using an improved 2N5109 model along with a new Intusoft RF bead model from the RF Device Library. Above approximately 100-200 MHz, the built-in SPICE BJT model, based on the Gummel Poon model, fails to accurately predict the real device performance. The BJT must be remodeled as a subcircuit (Table 1) in order to accurately model the package and bond wire parasitics which are of greater significance at higher frequencies. The improved model includes the package parasitics and matches the s-parameters up to 2 GHz. The RF library was created by Analog & RF Models, specialists in the creation of RF models, for Intusoft [1].

1 2 4

3

5

Figure 1, A 500 MHz oscillator and RF Bead (shaded area) test circuit.

6 11 5 7 9 22 4 3 13 12 8 16 17 18 30 14 15 1 2 X1 QN5109 CB2 47PF LB2 3NH CB1 10PF LB1 3NH LCX 5NH REX 47 LEX 5NH CEX 5PF RBL 1K D1 DN4148 RBU 2.2K VCC 8V LBX 3NH CBC 22PF LS1 3NH LT 20NH RTI 10K VVT 4V CCO 12PF LS2 3NH RL 50 VIN PWL CG 100PF RGC1K V(3) START V(3) START V(15) VOUT XLSP B9112 XLEC B9112 X2 DN5441 V(7) VPOWER R2 10E6 R3 1K LSP 170NH LEC 170NH STARTUP CIRCUITRY VARACTOR LB1, LB2, LS1, and LS2 are parasitic inductances for the capacitors. LBX, LCX, and LEX represent the additional lead inductance beyond the plane where the manufac-turer measured the transistor s-parameters. LEC and LSP are RF chokes. The varactor includes parasitic capaci-tance and induccapaci-tance inside the subcircuit.

(2)

Although SPICE does contain a model for a nonlinear inductor it does not have a built-in bead model. Fortunately, one can be created using the a nonlinear magnetics model and passive elements. The new model, as shown in Figures 1 & 2, accurately simulates the impedance vs. frequency response and the change in impedance vs. temperature. The change in impedance with DC bias is also modeled due to the addition of the core model instead of a simple inductor. The bead model gives a very low DC impedance while providing a large impedance at higher frequen-cies. The model used here is for a ferrite bead made of a medium permeability nickel zinc material from Fair-Rite, P#2743009112. Other types of beads including beads on leads, wound beads and surface mount beads can be found in the RF library [2].

Modeling An RF Bead

Starting An Oscillator

Figure 2, The Intusoft RF Bead model simulates the proper impedance vs.

frequency characteristics. The graph displays the response for several devices.

2

4 3 1

1MEG 10MEG 100MEG 1G

Impedance (Ohms) vs. Frequency in Hz 180 140 100.0 60.0 20.0 Z (2743009112) in Ohms 180 140 100.0 60.0 20.0 Z (2743003112) in Ohms

Simulation of oscillators present a variety of challenges, not the least of which is getting the oscillator to oscillate. When ISSPICE performs an AC or Transient analysis it first performs a DC analysis in order to establish the starting initial operating point for the circuit. If a stable operating point is found, which is the goal of the DC analysis, the oscillator may not oscillate during the transient (time domain) analysis unless some random distur-bance is encountered.

There are a number of ways to start an oscillator; each with varying results and consequences (Figure 3). The method cho-sen here was to introduce a voltage pulse into the circuit, specifi-cally, at the emitter of the transistor (VIN 1 0 PWL...). Another possible method is to insert a current pulse somewhere in the resonant portion of the circuit, for example at LT (I1 18 17 PULSE

(3)

5 1 2 3 4 5.0000N 15.000N 25.000N 35.000N 45.000N TIME in Secs Input Current Pulse At Time 0

Input Voltage Pulse Ramping The Power Supply

UIC Transient Option

No Starting Help Given

Figure 3, Comparison of the various methods of “thumping” an oscillator to get it

started show a current pulse at LT to be the most effective for this circuit.

is unstable and may want to oscillate without any help, the UIC keyword can be issued in the .TRAN statement. For example,

.TRAN .1NS 50NS UIC. This will cause the simulation to proceed

directly to the Transient analysis bypassing the DC analysis. The .IC and “IC=” parameters can then be used to set initial transient conditions and unbalance the oscillator. One problem with using UIC is that no DC operating point will be produced inhibiting study of the circuit bias. The last method is similar to the first and involves ramping of the power supply (VCC 8 0 PULSE 0 8V 0 5NS). This method may not work well, however, due to the bypass capacitors. In general, when ramping a source, make sure to give the ramp a realistic slope in order to avoid “timestep too small” errors. The first two methods are the most often recommended as the other methods may not work or may introduce transient start-up residues [3].

The oscillator circuit was first simulated with two inductor chokes, LSP and LEC (Figure 1), and a standard .MODEL statement for the 2N5109 transistor. In SPICE, the standard representation for a transistor uses the Gummel-Poon model. Various parameters in the SPICE .MODEL statement are altered in order to cause the “generic nature” of the Gummel-Poon template to represent a particular device.

In a second simulation, the chokes were each replaced with the new RF bead model. The simple transistor model was replaced with a subcircuit representation. Since the Gummel-Poon model can not adequately represent BJT behavior above approximately 200MegHz, a composite model must be assembled. The SPICE subcircuit, containing a BJT model and various parasitic ele-ments, is utilized for this purpose.

(4)

When simulating in SPICE it is best to use a subcircuit represen-tation for a device rather than forcing model parameters to have unreasonable values. If model parameters are used outside their physical bounds, the model may work well in one area, but incorrectly in another. For example, the device may behave properly during the AC small signal analysis, but poorly during the nonlinear transient analysis. Some vendors who produce SPICE model use this approach and the user should beware. Models for RF transistors that are going to be used for both linear and nonlinear analysis can not be produced this way. A subcircuit representation must be used!

Note: Parasitics for the passive elements were maintained for both simulation cases.

1

2

5.000N 15.00N 25.00N 35.00N 45.00N

WFM.2 VPOWER vs. TIME in Secs 14.69 12.69 10.69 8.690 6.690 VPOWER in Volts 1.000 0 -1.000 -2.000 -3.000 VOUT in Volts

With Bead and Parasitics

Figure 4, Comparison of the start-up and power supply waveforms with (Top) and

without (Bottom) the new RF bead model.

2 1

5.000N 15.00N 25.00N 35.00N 45.00N

WFM.1 VOUT vs. TIME in Secs 1.000 0 -1.000 -2.000 -3.000 VOUT in Volts 11.81 9.811 7.811 5.811 3.811 VPOWER in Volts

(5)

In order to isolate VCC and not contaminate the power supply with the 500 MHz oscillating waveform, adequate bypassing is re-quired. A voltage generator represents a perfect bypass because it is zero ohms at all frequencies. This is quite different from the real world.

As shown in Figure 4, use of an inductor causes a droop in the VCC voltage. The reason for the droop is that the 170nH repre-sents a large impedance. As the oscillator starts up, the transistor wants more current. Because of the large inductance it can't draw adequate current so it starts to discharge the bypass capacitors. This appears as a drooping in the VCC power (lower graph). The bead, on the other hand, has a very low DC impedance and a high AC impedance. By choosing the proper bead, a frequency re-sponse can be selected that will block all the AC around the oscillation frequency. With the bead (upper graph), the VCC line doesn't droop and shows that the size of the ripple stays the same revealing the imperfections in the bypassing. Also note that the oscillation starts slower and does not have quite as much power out with the bead inserted (to be expected) as it does when the inductors are used.

The oscillator with no BJT parasitics or beads still oscillates because it was made to be tolerant of package parasitics, but the results predicted were inaccurate in several important areas. As shown in Figure 5, the FFT and transient response of the circuit with beads and new RF BJT subcircuit model reveals that the frequency of oscillation is lower and the distortion higher.

From the simulations performed, it is clear that modeling the proper circuit parasitics is of vital importance, especially at RF frequencies. It is recommended that initial simulations run for many cycles in order to verify that stable oscillation is actually taking place. As for performing an FFT, the ISSPICE .TRAN tstart parameter can be used to delay the start of data taking until steady state oscillation has been reached.

With the new bead and BJT models in the RF library, ISSPICE is able to show the peak component stresses when power is applied, the transient start-up performance, and the variations in the power supply. In contrast to the linear analysis programs commonly used by RF designers, ISSPICE simulations can reveal many important circuit properties such as efficiency, power dissi-pation, start up characteristics, and harmonic distortion. Charac-teristics that would be either difficult or impossible to measure.

Results

(6)

1 519.5MEG 733.3M < x > 1.052G 135.4M < x > 2 200.0MEG 600.0MEG 1.000G 1.400G 1.800G WFM.2 VOUT vs. TIME in Secs

800.0M 600.0M 400.0M 200.0M 0 FFT of VOUT (WBWP) in Volts 1.600 1.200 800.0M 400.0M 0 FFT of VOUT (NBNP) in Volts FFT Responses dx = 532.8MEG dy = -597.9M With Beads and BJT Parasitics With Inductors and No Parasitics 2 1 91.00N 93.00N 95.00N 97.00N 99.00N TIME in Secs 1.000 0 -1.000 -2.000 -3.000 VOUT (NBNP) in Volts 3.000 2.000 1.000 0 -1.000 VOUT (WBWP) in Volts

Output Waveforms at Steady State

With Inductors and No Parasitics With Beads and BJT

Parasitics

Figure 5, Comparison of the frequency spectrum and time waveforms using the new

Intusoft BJT and bead models vs. the Gummel-Poon model and inductor chokes. The new models give a more accurate prediction of distortion and oscillation frequency.

Table 1, ISSPICE Subcircuit for an RF Transistor & Bead

.SUBCKT QN5109 1 2 3 LC 1 4 0.875E-9 LB 2 6 1.590E-9 LE 5 3 2.650E-9 CC 4 3 1.410E-12 CB 4 6 0.561E-12 Q1 4 6 5 QR33

.MODEL QR33 NPN ( BF=44 VAF=160 VAR=16.0 RC=0.69 +RB=1.57 RE=2.75 IKF=0.28E+00 ISE=0.36E-13 TF=0.111E-09 +TR=0.80E-08 ITF=0.82E-01 VTF=0.66E+01 CJC=2.758E-12 +CJE=1.822E-12 XTI=3.0 NE=1.5 ISC=0.12E-13 EG=1.11 +XTB=1.5 BR=1.14 VJC=0.75 VJE=0.75 IS=0.40E-14 +MJC=0.33 MJE=0.33 XTF=4.0 IKR=0.28E+00 KF=0.1E-14 +NC=1.7 FC=0.50 RBM=1.1 IRB=0.40E-01 XCJC=0.5 ) .ENDS .SUBCKT BEAD 1 2 R4 1 2 220 TC=-.00333 C2 1 2 .9PF RX 3 2 1E12 CB 3 2 7.432N F1 1 2 VM1 1 G2 2 3 1 2 1 E1 4 2 3 2 1 VM1 4 5 RB 5 2 341.5 RS 5 6 3.7904 VP 7 2 300 D1 6 7 DCLAMP VN 2 8 300 D2 8 6 DCLAMP .MODEL DCLAMP D +CJO=8.2286P VJ=25 .ENDS 4 6 5 3 2 1 Q1 LB CB LC LE CC

(7)

References

[1] Analog & RF Models, Bill Sands (602) 575-5323, FAX (602) 297-5160

[2] RF Device Library, Intusoft, 1990

[3] “SIMULATING WITH SPICE”, L.G. Meares, C.E. Hymowtiz, Intusoft, 1988

References

Related documents

Landscape Fine sediment production Pan/Eur opean Soil Er osion Risk Assessment model (PESERA) (Kirkby et al. 2004 )

Methods: Using longitudinal lung function (FEV 1 ) measurements and time-to-event data on pulmonary exacerba- tions from individuals in the United States Cystic Fibrosis Registry,

This chapter provides basic information about the long-term care ombudsman representative (LTCO) role with abuse, neglect, and exploitation..

p) Authentication Key – Enter a string of characters to be used as a key for authentication between the two VPNs. Once the VPN settings are entered, click on the Save button,

The standard Model 845-XX includes amplitude modulation (AM), DC-coupled, low distortion wideband frequency modulation (FM), PM, FSK and PSK, frequency chirp, and fast pulse

Captcha proves you are a writ of fieri facias must have an order of magistrate court rules legal firm focused on an em dash and payment, is the word.. Disbursed to the hands of

However, based on reports of heightened vulnerability to drug dependence after adolescent onset of drug use among humans, we predicted that rats that acquired

Create the Greek equivalent of the underlined English word or phrase; be sure to use correct Gen- der/ Number/ and Case to agree with antecedent or grammar.. Αθ 5β.10 PTB: ADJ