Mixed-mode Simulation of RF
Communication Link

Gennady Serdyuk*, Boris Shelkovnikov **



Abstract Paper describes techniques and example of mixed level mixed mode simulation of complete communication link. Proposed approach uses co-simulation to compute overall link merits, allowing to simulate digital parts of link using existing commercial digital simulator(s) and RF parts using Modulation Harmonic Balance simulator. Simulation example is presented.

 

Keywords Harmonic Balance, co-simulation, mixed-level simulation, RF design.

I. Introduction

Design of RF link entails significant amount of  simulation at different levels. System-level simulation allows estimating design solutions and making first-order estimation of link merits. Basing on  system-level design, specifications on constituting blocks are established and those blocks are designed. This outlines to-down “waterfall” design flow. But, most often, such design flow is insufficient, as it does not take into account block interaction and block non-idealities, which may take influence onto complete link merits (like bit or symbol error level, unnecessary RF radiation, etc.). To be sure about system properties, system verification have to be performed, which very often brings to new design iterations.

That laborious iterative approach may be alleviated, providing more information t each level of development, so that designers of each block can estimate behavior of their units in realistic system environment.

Multilevel multi-domain simulation can make sufficient influence onto overall RF system design process, simplifying it and speeding it up. It allows mix on one simulation environment digital and analog subsystems, which usually constitute modern communication systems. Also, such approach helps in simulation of particular analog blocks in system environment, helping out to create proper excitations and estimate reactions. Another one important feature of such approach is ability to match circuit elements in circuit-level simulation to fit system merits.

Many authors paid their attention to this topic [1,2,14].  Similar objectives also can be met using macromodeling, but those approach does not allow to establish links between circuit element values and global merits of communication link.

In following sections co-simulation system implementation is described. It uses discrete complex envelopes technique for system-level simulation and Modulation Harmonic Balance (MHB) technique for circuit-level simulation. Simulation example of circuit-level power amplifier model as a part of system-level communication link model is presented.

II. Simulation Techniques

Complex envelope technique is a most widely used for communication system simulation. According to it, information signal along the system is represented in a form of two orthogonal components – I and Q, which are called inphase and quadrature and considered to be continuous in time. All signal transformations in system blocks (dissipation, filtering, nonlinear distortions, etc.) are considered as transformations of envelope [3].

Convenient representation for envelope components is discrete representation of continuous complex functions. After sampling, reaction of the block to input may be defined as: 

                                               (1)

for linear blocks or as: 

                        (2)

in more general nonlinear case, where – linear block response,  – nonlinear block function,  –sample number.  If blocks constitute directed graph without loops with incidence matrix , then  resulting system response may be written as:

 

                       (3)

where  - excitation components at n-th time sample and - response components, - component index in a vector.

At circuit level, RF and MW circuits in digital communication links are usually under excitation of complex shape signals with much different time constants. Convenient way to simulate such circuits is modulation (envelope) harmonic balance (MHB) [4,5,13]. MHB equations are formulated simultaneously in time domain w.r.t. to “slow” time (information component of excitation) and in frequency domain w.r.t. “fast” component (carrier):

    (4)

Here k-th harmonic component of unknowns  as function of time , vector-function of nonlinear responses, vector-function of reactive nonlinear responses,  and matrices of linear components of circuit response: resistive and reactive,  - frequencies matrix,  – free excitation term, - harmonic number. It is an extension of Harmonic Balance technique [6,7,9].

MHB Eq. (4) can be sampled in discrete moments of time of Eq. (3). That will allow substituting terms of Eq. (4) in Eq. (3) composing equations into one system.

Considering equation interaction, let us allow Eqs. (1) and (2) to be coupled only via their stimuli and . So, any value of vector  at (1) can be assigned to  and any  can be assigned to. Please, note that both values are complex, as both represent complex amplitudes. This simplifies consideration and shows how each part of combined task can be simulated with own specific solver.



III. Co-simulation System Implementation




Two ready-made components were chosen to build co-simulation system: Matlab/Simulink [10] and Rincon [11]. Simulink was chosen for its extendibility using common programming language like C/C++ and ready-to-use communication and DSP libraries. Rincon implements MHB and allows circuits to be defined with VHDL-AMS/FD [8,9,11] – extension of VHDL-AMS language, with frequency-domain modeling capabilities. In addition, it can be integrated with external tools via pipe interfaces. Simulink’s capability to extend components using C or C++ programming languages was used to code interface part, which arranges simulators interaction. Simulink - Rincon interaction is built such way, that Rincon is considered as one of the discrete Simulink blocks with fixed signal sampling frequency. Simulink also is used to perform results visualization, as any circuit variable inside Rincon is available in Simulink. Rincon, in turn, get stimuli envelopes, simulates circuit and returns data back to Simulink. Circuit element values, harmonics numbers and additional data can be passed into Rincon as function parameters.

IV. QPSK Link Simulation

To demonstrate the abilities of implemented co-simulation system, model of communication link with QPSK modulation (Fig. 1) has been simulated. Link starts with random number generator, and then follows QPSK modulator (block from Simulink toolbox), raised cosine filter, power amplifier, AWGN channel and demodulator. Power amplifier, being represented at circuit level, has been co-simulated with the whole system. Schematic of power amplifier is presented at Fig. 2. It is one-transistor MESFET power amplifier with reactive load. Input and output passive circuits model matching circuits and interconnections. Schematic is shown with input source and load.



Simulink S-function (“simulink_rincon_caller”) performs all necessary initializations, starts separate process of circuit simulation using Modulation Harmonic Balance technique and performs required communication: input data for circuit-level simulation are got from Simulink and, after simulation, are returned to it. That is performed for each step of Simulink simulation cycle. 16 points per transmitted digit are used in simulation.

Simulation results are presented at the following figures. Spectrum at input and output of amplifier is presented at Fig. 3 to show regrowth due to amplifier nonlinearities. Signal trajectories before and after amplifier are shown at Fig. 4 and eye diagrams are shown at Fig. 5. Inphase and quadrature components at amplifier input and output are shown at Fig.6. Figure illustrates channel interaction due to amplifier nonlinearity.



Amplifier schematic was taken from [12].

V. Conclusion

Principles of implementation of multilevel mixed-mode co-simulation environment for communication link simulation are discussed.  Viable methods are considered for different levels of representation and ways of their interaction are presented. New implementation based onto proposed approach for co-simulation is described, which allows usage models of different levels. Results are illustrated with mixed-level mixed-mode simulation example, which includes power amplifier operated under complex modulated signals in QPSK RF communication link. Example allows visualizing signal impairments caused by amplifier nonlinearities.






References

[1]   Piet Wambacq et al., High-level Simulation and modeling tools for mixed signal front-ends of wireless systems, Proc of AACD, Spa, Belgium, March 2002.

[2]   Uwe Knochel, Jurgen Hartung, Approaches to consider analog RF components in system level simulation of mobile communications, ANALOG 2002, Bremen, May, 2002, pp. 219-224.

[3]   M. Schiff, Baseband Simulation of Communication Systems, Ap. Note AN 133, April, 26, 2000, Elanix, Inc.

[4]   How-Siang Yap, "Designing to Digital Wireless Specifications Using Circuit Envelope Simulation", Applied Microwave & Wireless, June, 1998, pp. 84-89.

[5]   G. Serdyuk, B. Shelkovnikov, Multilevel modeling and simulation of communication link, Proc of 14th Int-l Crimean conference “Microwave and Telecommunication Technology”, CRIMICO-2004, pp. 151-154.  (in Russian).

[6]   B.Shelkovnikov, V. Zhabitskiy. Spectral Simulation of Nonlinear Electronics Circuits under Two Arbitrary Power Excitations. Design Automation in Electronics, collected articles, Kiev, 1982, vol. 25, pp.91-100 (in Russian).

[7]   B.N.Shelkovnikov, K.S.Sunduchkov, G.V.Serdyuk, Lomaka V.L., A.A.Mikryukov, O.V.Kolchanov, Mathematics and Software for Microwave Circuit Design; Proc. of the International Symposium on Signals, Systems and Electronics (ISSSE'92), Paris, 1992.

 [8]  Gennady Serdyuk, Boris Shelkovnikov, VHDL-AMS Subset Usage for Harmonic Balance Circuit Simulation, Conf. Proceedings, TCSET-2004, Lviv, Slavsko, 2004.

[9]   Gennady Serdyuk, Boris Shelkovnikov, VHDL-AMS Modeling for Harmonic Balance Circuit Simulation, Conf. Proc., MIKON-2004, Warshava, 2004

[10] James Dabney, Thomas Hartney, Mastering  Simulink 4, 2nd Edition, Prentice Hall, NJ, 2001.

[11] G. Serdyuk, D. Goodman, VHDL Approach Improves Nonlinear Simulation,  Microwaves & RF, November 2001, pp. 76-102.

[12] C.-C. Huang et al, Analysis of Microwave MESFET Power Amplifiers for Digital Wireless Communications Systems, IEEE Trans. on MTT, vol. 52, No. 4, April 2004, pp. 1284-1291.

[13] Ken Kundert,  Simulation Methods for RF Integrated Circuits, ICCAD-97, November, 1997.

[14] Kurt R. Matis, Multilevel Simulation of WCDMA Systems for Third-Generation Wireless Applications, http://sss-mag.com/pdf/wcdma.pdf.