RF Architectural tools for the modern system designer Malcolm Edwards Email: malcolm.edwards@awrcorp.com Applied Wave Research UK (Europe) 2 Hunting Gate Hitchin, Herts, UK. SG4 0TJ Abstract Current RF architectural tools available for system designers consist of a mixture of budget simulators, spur searching utilities and frequency planning tools. Often these tools or utilities are based on spreadsheets, or perhaps are hard coded algorithms with some user interface. The home brew utilities have a reputation of being poorly supported. The current drive for reducing time to market and efficient design flow means that engineers are no longer encouraged to build their own design utilities. Engineering managers prefer engineers to be designing products, not tools. This presentation aims to outline the types of utilities needed for RF architectural decision making and the benefits of having an integrated approach. We will show some good reasons why spread sheets have their limitations! Introduction Systems fall into two major classes, transmitters and receivers. For both classes, a properly designed system transports the input signal from the input port or source block to the output port through control blocks, frequency translation and signal conditioning. Signal conditioning includes gain, gain control, and filtering. Most often for a transmitter the source is at some low frequency and information will be added by the use of standard modulation techniques. For a receiver, the input or source will be an antenna. Vector Signal Analyzers, Spectrum analyzers derive their signals at the input connector. Likewise, the output port of signal generators is generally a font panel connector. For communication systems, ECM applications and Radar a transceiver employs both transmitter and receiver functions in the same hardware. Having both classes of system sharing the same physical space can lead to integration problems. 1. System Architecture. The challenges that face an RF/Microwave system designer can be stated as follows … transport a signal from one location in a system at some power/frequency combination to another location in a system at some other power/frequency combination without distorting any potential modulation present on the signal, without adding additional signals in the form of spurs and at minimum cost. The cost can be reliability, mass, volume or manufacturing cost. At worst the failure to meet these aims can result in a poorly-working system; that is a system that has marginal performance or one that requires special attention when being used. There are apocryphal stories of fire control radars being switched off whilst missiles are being launched, or command and control links to satellites affecting the payload systems (command and control at L Band, payload at K Band). More mundane evidence can be found in R&D laboratories. Try this simple experiment; connect a 50 ohm load to the input connector of a spectrum analyzer to ensure that there is no input signal, increase the sensitivity and view the signals present on the display. With a few simple tests an experienced receiver designer can establish quite a lot of information about the system architecture … without reference to a datasheet! Signal distortion can manifest itself through spectral widening, either around the carrier frequency or by harmonic generation. Both these mechanisms provide threats to adjacent channels known as Adjacent Channel Power Ratio (ACPR) or adjacent systems. In the case of communications channels both these forms of spectral widening are regulated by groups such as the Federal Communications Commission (FCC) etc. Whilst these defects affect only other channels sharing the air interface (used in its most general sense to encompass Radar Malcolm Edwards Page 1 of 8 ARMMS November 2009 systems as well as communication systems) for the channel in question the distortion limits the system dynamic range. Two figures of merit are employed to define this distortion, Error Vector Magnitude (EVM) and Bit Error Rate (BER). Normally only a few major building blocks found within a system affect the EVM and related distortion figures of merit; for example, with a power transmitter the PA and the PA driver, or with a receiver the first mixer or any pre-amplification. When a system is poorly designed the degradation in performance maybe due to an unlikely component that at first sight appears to be well specified but actually determines the overall system performance. This can occur when signal levels within a system have not been fully defined. For example a system with an inadequate distribution of power saturation specifications can start to exhibit compression at signals levels that are below the expected powers. In affect the linearity requirements of the final stages are over specified leading to unnecessary cost and wasted R&D resource. Signal management (constraining wanted and unwanted signals to specific locations within a system) balances filter complexity, module screening technology and block to block interconnection solutions. Leakage control is of paramount importance in complex systems and with systems that house both transmitters and receivers given the disparate signal levels these engineering decisions are critical. Module screening ranges from simple screwed lids, with or without RF gaskets, through to double screen lids with perhaps a welded lid being used for the ultimate in isolation provision. The more exotic solutions whilst delivering excellent isolation come at a high price … manufacturing costs and repair costs. Welded lids need to be removed using machining and then re-welded. The same issues are found when lids are fixed with conductive glues. With tight weight and volume specifications these more advanced solutions are not always attractive. Piping signals between the functional blocks can be accomplished by using simple flexible coaxial cables, double screened cables and for superior isolation semi-ridged cables. The latter solution poses it own assembly difficulties when space is at a premium and tend to be more expensive than the flexible cables. With the trend towards the hybrid circuit realization being replaced with integrated semiconductor circuits (GaAs MMIC and SiGe and Si RFIC) the real-estate required to perform a particular circuit function reduces but the packaging and isolation problems still persists! Ironically, with shrinking circuit sizes comes the demand for more functionality … a simple example is the modern mobile phone that can posses up to six radios … Edge/GSM, Bluetooth, GPRS, FM radio, UMTS, LAN. Of course not all six radios need to operate at the same time. A possible two radio operating mode could be with the Bluetooth radio providing phone to Laptop connection and the UMTS radio operating as a Modem. This combination would be used to provide internet access whilst the laptop is away from a WiFi access point. With non-military applications, signals are generally classified as wanted or unwanted. For military applications the signals can be divided into wanted signals and threats. The threats are subdivided into friendly and unfriendly threats. A friendly threat is the Radar channel being used by a friendly aircraft sharing the same radar band (whose channel allocation is synchronized in some fashion … a topic beyond the scope of this paper), an unfriendly threat not unexpectedly is the term reserved for the enemy aircraft. Warships tend to have the greatest number of friendly threats which navigation radars, search and tracking radars, communications systems, missile and fire control radars, with some very challenging signal power ratios. Several complimentary approaches to system design have been employed by designers in the past with the design tools implemented using Spreadsheets and spur calculation programs. Whilst these tools have served the designers well in the past they have suffered from some several problems … the severity of these problems depending upon the stand point of the reviewer. This will become clear as the discussion on system architectural tools widens. The tools most commonly used are Budget Analysis, Spur searching and Frequency Planning; each providing an insight into the system performance and system design. Malcolm Edwards Page 2 of 8 ARMMS November 2009 2. Frequency Planning. The task of frequency planning takes as the initial system definition the input signal frequency/power specification and the output frequency/power specification. The goal of the systems engineer is to design a system that transports the wanted signal from the input port to the output port using the minimum number of frequency translations (along with the simplest synthesizer architecture) and using the lowest cost filter technology. The phrase lowest cost filter technology means using filters that have realistic circuit Q, a reasonable number of resonators and most importantly filters that meet the environmental specification of the equipment. More filters, more complex synthesizers translate directly into cost, volume, and weight. There are two aspects of frequency planning. The first to be considered is more of a design tool, which commonly uses so-called spur charts and related algorithms. The second which is closer to a verification process is commonly known as spur searching. Spur searching accounts not only for the mixer generated spurs but also spurs generated by any of the nonlinear building blocks used in the system, not necessarily found in the main signal path but also in any of the mixer synthesizer subsystems. In this section we will first focus on the use of spur charts and describe the general process of spur searching more fully in the third part of this article. In equation (1) we have the classic mixer equation ωmix = ±n * ωlo ±m * ωrf (1) This equation defines mixing products both wanted and unwanted generated by the process of frequency translation using a mixer driven by a local oscillator. This seemingly innocuous equation understates the complex picture of unwanted signal growth or generation. Remember; this equation describes the signal growth of a single frequency translation block. With complex systems containing multiple frequency translations, the potential for unwanted signal creation grows alarmingly. A typical spur chart (Fig. 1) displays the output signals as a function of input frequency for n and m values. The n and m values have bee constrained to a maximum magnitude of n-Max and m-Max respectively. In this specific chart it will be seen that the input and output frequencies have been normalized to the LO frequency. Figure 1: Spur Chart Normally accompanying such plots would tables that define the relative magnitudes of the mixing products using mixer spur tables derived from mixer manufacturer’s data sheets, measurements or simulation. Malcolm Edwards Page 3 of 8 ARMMS November 2009 Figure 2: Spur Chart Suppression Table The mixer model employed for spur table generation could either be the classical equations used by mixer manufacturing companies or these could be derived from a complete circuit based model. Whilst spur charts of the form described above demonstrate the existence of spurs some designers prefer to display the results using a spectral plot. Here the spur equations are enhanced to add the loss and filtering action of the input and output filters. In Fig. 1 the two horizontal lines represent the output filter characteristics. In this example the filter has infinite order; that is the low and high frequency band transition between stop band and pass band are infinitely steep. Obviously a more useful plot would recognize a finite filter skirt slope. Figure 3: Spur spectral plot The green rectangles visible in Fig.3 are the Lower Side Band (LSB) and Upper Side Band (USB) conversion products, in other words for this plot the input filter is open to all signals. Note; the spectral plot is input signal referenced, the LO frequency has been set to 1000 MHz for simplicity. Spur charts enable system designers to make judgments about the allocation of LO frequencies, the filter orders at different points in the system and the number of conversions required. Signal loss is introduced with each frequency conversion (frequency translation) Malcolm Edwards Page 4 of 8 ARMMS November 2009 and the application of filters to constrain signals. Of course if the frequencies are low enough for the application of active devices in the mixer design, then some gain maybe possible. To overcome the loss extra gain stages are required which in turn increases the possibility of generation distortion products. Having defined the mixer architecture, the number of mixing stages and the amplification required to bring the input power to the required output power range one can then sensibly carry out a general spur search procedure. The chief algorithm employed for spur searching tracks signals though the system blocks and at each birth of a new spur or signal setting up the parent child relationship. This child’s heritage in then stored in memory. In the following example using Visual System Simulator (VSS) one of a suite of design tools available from AWR a set of spurs is clearly visible (Fig. 4). Figure 4: Spur search results The annotation associated with one of the spurs can be seen in the spectral plot (Fig. 4) describes the spur frequency, power and parent. This information can be expanded to show a comprehensive description of the heritage of a particular spur. To avoid excessive memory requirements a user defined threshold can be set, below this power level new spurs are ignored. A practical approach would be to ignore spurs that fall below the system noise floor. Figure 5: Heritage information of the spur search results Above we see the comprehensive data displayed after selecting a specific spur in the plot seen in Fig. 4. Here we see the partial heritage of the wanted signal. Alongside this information is the data associated with the unwanted tones. Malcolm Edwards Page 5 of 8 ARMMS November 2009 3. Budget Analysis. Spreadsheets have traditionally been the favorite approach to budget analysis. The primary advantage of using spreadsheets is the simplicity of capturing the effects of channel defects such a noise and two tone intermodulation as well as defining the system block properties; structuring the information in a linear fashion. Another compelling reason why spreadsheets have been popular is their ubiquitous nature … they come virtually free with the PC! Spreadsheets also support relatively advanced graphical and graph plotting capabilities, meaning that information sharing can be both textual and graphical. With this simplicity come several disadvantages. The first and most obvious is the difficulty of making topology changes. Another difficulty is the lack of linkage between the frequency planning and spur searching tools that should accompany the budget analysis. These three views of the system architecture need to be synchronized by the designer. A process that is nearly impossible with a spreadsheet approach to system design. A schematic diagram is the preferred way to capture system topology and system block properties, a working method that has long been the first choice of circuit designers. Yield Analysis 128 interations TP ID=TP1 TONE ID=A4 FRQ=5180 MHz PWR=-65 dBm PHS=0 Deg CTRFRQ= SMPFRQ= ZS=_Z0 Ohm T=_TAMB DegK NOISE=RF Budget only PNMASK= PNOISE=No phase noise BPFC ID=F3 LOSS=0 dB N=5 FP1=5080 MHz FP2=5280 MHz AP=0.1 dB NOISE=RF Budget only RFATTEN ID=S1 LOSS=2 dB NOISE=RF Budget only PAD AMP_B ID=A1 GAIN=20 dB P1DB= IP3=10 dBm IP2= MEASREF= OPSAT= NF=2 dB NOISE=RF Budget only RFIFRQ= BPF BPFC ID=F2 LOSS=0 dB N=3 FP1=5168 MHz FP2=5193 MHz AP=0.01 dB NOISE=RF Budget only MIXER_B ID=A2 MODE=DIFF FCOUT= RFIFRQ= GCONV=-4 dB P1DB=10 dBm IP3=30 dBm LO2OUT=-225 dB IN2OUT=-200 dB LO2IN=-25 dB OUT2IN=-25 dB PLO=10 dBm PLOUSE=Spur reference only PIN=-10 dBm PINUSE=IN2OUTH Only NF=17 dB NOISE=RF Budget only IN LNA BPF 200MHz BW TP ID=TP2 LPFB ID=F1 LOSS=0 dB N=5 FP=7 MHz NOISE=RF Budget only OUT Down Convert LO LPF 25MHz BW TONE ID=A3 FRQ=5180 MHz PWR=10 dBm PHS=0 Deg CTRFRQ= SMPFRQ= ZS=_Z0 Ohm T=_TAMB DegK NOISE=RF Budget only PNMASK= PNOISE=No phase noise Figure 6: System Diagram Whilst a schematic or diagram captures the intent of the system designer in a fashion that appeals to many system engineers nevertheless spreadsheets are an excellent way to convey meaning necessary for peer reviews, a fact recognized by AWR who have added a spreadsheet views to complement the budget tools found in VSS. Figure 7: Spreadsheet display of budget information One objective of the budget tool is to define the location of the gain control blocks, either the static beginning of life (BOL) adjustments made in the factory, or AGC blocks to account for variations in signal magnitude (target range, distance from antenna etc). For the BOL gain adjustments, knowledge of the spread in system gain is necessary, a measurement that is non-trivial when using spread sheets. With a circuit based approach Monte Carlo Cascaded NF 10 9 8 7 A 5% normal distribution of amplifier's and mixer's NF reveals a MIN and MAX value. DB(C_NF(TP.TP1,TP.TP2,1,1,0,0))[11] 802_11a RX MAX 6 5 4 MIN 3 2 1 RFATTEN (S1) BPFC (F3) AMP_B (A1) BPFC (F2) MIXER_B (A2) LPFB (F1) Figure 8: Budget analysis with statistical variation and its effect on system NF Malcolm Edwards Page 6 of 8 ARMMS November 2009 Cumulative Gain 60 DB(C_GN(TP.Start,TP.End,0,0))[T] Rx Chain p1 40 20 p1: Casc aded Linear Gain, dB Fr eq=0 MHz 0 AM P_ B ( DP M ) RF A T T E N ( CA B L E 1 ) RF A T T E N ( V a r a i be l Dg i A t t e n )A M P_ B ( R F Am p 1 ) RF A T T E N ( I m age F tli e r ) B PF B ( F 1 ) M I X E R_ B ( M I X E R) RF A T T E N ( Dp i e l x er ) AM P_ B ( I F Am p 1) R F A T T E N ( S w ti c h 1) RF A T T E N ( SAW F tli e r ) R F A T T E N ( S w ti c h 2) A M P_ B ( I F Am p 2) RF A T T E N ( T h e r m a l P a d ) AM P_ B ( I F Am p 3 )R F A T T E N ( A n t i - A a il s F tli e r ) RF A T T E N ( B a u l n) Figure 9: Budget analysis with statistical variation and its effect on system gain. For these types of simulation the VSWR interactions between the blocks is accounted for, along with first order parameter changes. Unlike the spreadsheet approach, a true parameter sensitivity analysis can be conducted. Another important consideration when designing systems is accounting for image noise. This is most often overlooked with the spreadsheet approach to system design. The system algorithm within VSS accounts for image noise allowing the designer to make rational judgments as to the filter order and BW of the pre-mixer filter to minimise NF degradations. Of course for some applications image noise cannot be suppressed; regardless the system designer needs to account for all noise sources in these calculations. For a versatile approach to system design it is important that the figures of merit that define each block are eventually substituted with simulation data derived from circuit tools, and when available measured data. By doing so the system simulation becomes more accurate as the calculations are based on real system block data (circuit data) and not figures of merit. VSS has links to Microwave Office whereby the circuit simulation of amplifiers, oscillators and mixers can be linked into the system simulation in an automated fashion. Replacing block descriptions such as gain and NF can be down as circuit data becomes available. This link between circuit and system tools has implications in the way circuit designers and systems designers interact and share design ideas. The aim of having a system tool that is integrated with a circuit toll is to promote a more healthy discussion between circuit and system design groups. The chief benefits of this approach are the creation of more optimum systems and improved communication. There are systems in manufacture that have been over engineered, a process that leads to excessive R&D effort and overly complex and expensive solutions. Under engineered systems have their own problems. In the next figure (Fig 10.) the combination of system and circuit tools is illustrated. Here a simple test of a PA is being conducted. VS A ID =M1 V A R N A ME ="" V A LU E S =0 N A V G= P B A S E =-76 Swept variable Q A M_S R C ID =A 1 MOD =16-QA M (G ray ) O U TLV L=-10.7 O LV LTY P =A vg. P ow er (dB m) R A TE =_D R A TE C TR FR Q =6 GH z P LS TY P =R oot R ais ed C os ine A LP H A =0.35 P LS LN = SRC TP ID =A MP In MEAS Vector Signal Analyzer N L_S ID =S 1 N E T="A M P M B ench.A P _H B " N O IS E =R F B udget only R FIFR Q = TP ID =A MP Out General Receiver TP ID =6 A W GN ID =A 3 P W R =-170 P W R TY P =A v g. P ow er, S ymbol (dB W ) LOS S =0 dB 1 16QAMSource Circuit Based Amplifier Channel BE R ID =5 V A R N A ME ="P B A S E " V A LU E S =stepped(-76,-40,2) OU TFL="" Q A M_R X ID =A 2 R D IQ 5 4 2 BER 3 BER Detector TP ID =R X C ons tell ation 16QAM System Figure 10: Amplifier test with 16-QAM modulation. The amplifier is actually defined using measured data; in this example, as can be seen by the close examination of the schematic the measured data is being used in the Cardiff model. The nonlinear data could have equally been S-functions or X-parameters. Malcolm Edwards Page 7 of 8 ARMMS November 2009 PORT_PS1 P=1 Z=50 Ohm PStart=-10 dBm PStop=18 dBm PStep=0.5 dB HBTUNER2 ID=DCBlock2 Mag1=0.35 Ang1=64.5 Deg Mag2=0 Ang2=0 Deg Mag3=0 Ang3=0 Deg Fo=6 GHz Zo=50 Ohm SUBCKT ID=PA1 NET="Netlist>CardiffModel" Vlim_low= Vlim_high= Re_Z= Im_Z= ISOL8R ID=U1 R=50 Ohm LOSS=0 dB ISOL=30 dB BIASTEE ID=DCBlock1 2 DC 2 3:Bias RF & DC RF 1 2 1 1 3 Zre=50 Zim=0 Zout=Zre+j*Zim Zout: (50,0) PORT P=2 Z=50 Ohm DCVS ID=V2 V=9 V DCVS ID=V1 V=0.3 V Figure 11: Amplifier circuit simulation ACPR 0 DB(PWR_SPEC(TP.6,1000,0,10,0,-1,0,-1,1,0,4,0,1,0)) (dBm) 16QAMSystem -20 -40 -60 -80 -100 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 Frequency (GHz) 7.5 8 8.5 9 9.5 10 Figure 12: Spectrum showing the PA nonlinearity The spreadsheet approach works well for spot frequencies, or narrow band systems whereby the system block parameters are constant over frequency, but does not provide a simple interface when a wideband system is being considered. The budget tools in modern system simulators do support the simulation of wideband systems … indeed, if required for ECM applications, over multiple octaves. The example below (Fig. 13) shows the NF simulation over a finite bandwidth. The system block data is provided by data files that capture NF, Gain two tone third order intercept point data etc over a user specified frequency range. This data can be provided either by simulation or from measurements. Cascaded NF over Frequency 9 8.75 DB(C_NF(TP.Start,TP.Stop,1,1,0,0)) RF System 8.5 8.25 8 7.75 7.5 7.25 7 0.6 0.602 0.604 0.606 Frequency (GHz) 0.608 0.61 Figure 13: Swept frequency budget analysis Conclusions The art of system design entails budget planning, frequency planning and spur searching. The use of a single system diagram to capture the system topology and system block parameters leads to a more productive and problem free design flow. To complement the system tools, its integration into a circuit design tool provides the system and circuit designers a robust method of sharing information at all stages of the system design, from the initial architectural decisions through to the prototype phase. Malcolm Edwards Page 8 of 8 ARMMS November 2009