Skip to content

SultanShadow/Bi_DIR_AMP_5G

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inductor Less Bi-Directional Amplifier for 5G

License CI Caravan Build


❗ Important Note
⚠️ Use this sample project for analog user projects.

Refer to docs/AMP_DOC for this project documentation in PDF. PDF version contains clearer images/graphs

Table of Contents

1 Introduction

2 Bi-Directional Amplification Architecture

2.1 State of Switches During Reception

2.2 State of Switches During Transmission

3 Budget Analysis

3.1 Transmission Budget Analysis

3.2 Reception Budget Analysis

4 Circuit Specifications

5 Schematic

5.1 Design Process

5.2 DC Bias Point Simulations

5.3 Two Stage Low Noise Amplifier

5.3.1 Gain

5.3.2 Input Matching

5.3.3 Noise Figure

5.4 Complete Schematic

6 Layout

7 Post layout Simulation

7.1 Noise Figure

7.2 Input Matching

7.3 Voltage Gain

8 Post layout Results Summary

9 Conclusion

10 Design and Simulation Files

Bi-Directional Amplifier Architecture for Sub-6 GHz 5G

PICO Design Contest Submission

Introduction

  • TDD (Time division duplexing) RF front ends operate in such a manner that

    • During Transmission, Receiver side is isolated using and switch and power amplifier is driving the transmission antenna, as shown in Figure 1

    • During Reception, transmitter chain is isolated and the received signal from the antenna is fed to a low noise amplifier, as shown in Figure2

A screenshot of a computer Description automatically generated with low confidence

Figure 1 Transmitter on

A screenshot of a computer Description automatically generated with medium confidence

Figure 2 Receiver on

Bi-Directional Amplification Architecture

  • The Bi-Directional Amplifier architecture aims to exploit the inherent TDD nature of the classical architecture.

  • At a given time, either the power amplifier (Transmission) or the low noise amplifier (LNA) is working.

  • Both LNA and PA occupy silicon space and have power consumption.

  • Bi-Directional architecture makes use of a single circuit that acts as both the power amplifier (during transmission) and the low noise amplifier (during reception).

  • This way we can conserve area and power, thereby, reduce cost.

Figure 3 shows the proposed architecture of bi-directional amplification using same amplifier and a set of switches.

Figure 3 Bi-Directional Amplifier Architecture using Switches

State of Switches During Reception

Figure 4 shows the state of switches during the reception mode. In this mode the amplifier acts as a low noise amplifier. The power received from antenna is fed to the amplifier and the amplified signal is then sent to receiver path.

Figure 4 Amplification During Reception

State of Switches During Transmission

Figure 5 shows the state of switches during transmission. In this case the signal from transmitter is power amplified and fed to a 50(\Omega) antenna.

Budget Analysis

A simple power budget analysis was done to get the design specifications for the circuit.

Transmission Budget Analysis

  • Output Power at Antenna (\geq) 10dBm (WLAN standard)

  • Gain of Pre-Driver Circuit= 30 dB

  • Minimum input power level required from Power Source= -20 dBm (10dBm – 30dB)

  • The 50 Ohm buffer should have P1dB (out) > 10 dBm

Reception Budget Analysis

  • Minimum power at the antenna(\geq) -80 dBm (WLAN standard)

  • Gain of LNA=30 dB

  • Power of signal after LNA=-50 dBm (-80 dBm+30dB )

  • Further amplification is usually done in the IF/Baseband domain

  • The LNA should have noise Figure (\leq 4dB)

Circuit Specifications

  • Since the amplifier in the loop is now acting as both the power amplifier and the low noise amplifier, it must have following characteristics
Specification Value
Gain >20 dB
Area As low as possible
Noise Figure ~ 3dB
Power ~30 mW
Linearity ~-20 dBm (input referred)
Output Power ~10 dBm (WLAN Applications)
Input Matching <-10 dB in the band

Schematic

Figure 6 shows the 2-stage amplifier that is used to provide voltage gain in the circuit. In the first stage Transistors M0 and M1 provide transconductance. Transistor M1 also reduces current through M2 and increases the value of Resistor and drain of M2. Due to this cascode and current re-use technique we obtain a large voltage gain. Transistor M4 is used to provide voltage to current feedback from output to input such that the input impedance is governed transistor M4. Transistor M5 establishes bias voltage for the gate of M0. The second stage combines the differential output from stage 1 in such a way that the noise contribution of transistor M4 is cancelled.

Figure 6 2-Stage Low Noise Amplifier With 50 Ohm Buffer

The equations describing the above circuits are

Chart Description automatically generated

Design Process

  • Optimum Size for good Noise Figure at selected bias conditions

  • Selection of feedback transistor size for input matching

  • Selection of proper size at stage two for noise cancellation

  • Output buffer to match 1/gm=50 Ohms

Figure 7 shows the schematic setup to simulate small signal noise figure in Xschem and Ngspice. The noise response at selected size and bias is shown in Figure 8.

Chart Description automatically generated

Figure 7 Schematic setup to simulate small signal noise figure

Chart, line chart Description automatically generated

Figure 8 Noise Figure Response @200u/0.15u

Since by design this noise figure will be reduced by 3~4 dB at first stage this size was chosen.

DC Bias Point Simulations

To calculate bias points an Xschem Schematic was mad with all transistors at their bias points as shown in Figure 9.

Diagram, schematic Description automatically generated

Figure 9 DC Bias Point Simulation for all transistors

Two Stage Low Noise Amplifier

Diagram Description automatically generated

Figure 10 Xschem Schematic for two stage amplifier shown in Figure 6

Gain

Figure 11 shows the gain vs frequency graph of 2 Stage LNA. The voltage gain is 32 dB with the band width of 6.5 GHz.

A picture containing graphical user interface Description automatically generated

Figure 11 Gain vs Frequency graph of 2 stage LNA

Input Matching

Figure 12 shows the input matching characteristic of the LNA in the form of S11. The S11<-10 dB in the band of interest.

The S11 is estimated from ac analysis using

Chart Description automatically generated

Chart Description automatically generated

Figure 12 S11 of 2-Stage LNA

Noise Figure

Figure 13 shows the small signal noise figure graph of the 2-stage LNA.

Chart, line chart Description automatically generated

Figure 13 Noise Figure of 2-Stage LNA

Complete Schematic

Diagram, schematic Description automatically generated

Figure 14 Complete Schematic of Bi- Directional Amplifier Architecture

Layout

After schematic simulations, the layout was done in Magic VLSI. Individual modules were laid out separately with clean DRC and LVS and then were combined together. The layouts are shown in Following Figures.

Graphical user interface Description automatically generated with low confidence

Figure 15 Layout of First stage of LNA

Graphical user interface Description automatically generated

Figure 16 Layout of Second Stage of Amplifier

A picture containing text, writing implement, stationary, pencil Description automatically generated

Figure 17 Layout of Switches

Graphical user interface, diagram Description automatically generated

Figure 18 Complete DRC, Antenna, LVS clean layout of Bidirectional Amplifier

Chart, treemap chart Description automatically generated

Figure 19 GDS view of complete layout in KLayout tool

Post layout Simulation

Netlists extracted from the magic were simulated again in xschem to verify circuit functionality post layout. The schematic symbol is shown in Figure 20.

Diagram, schematic Description automatically generated

Figure 20 Post Layout Simulation Setup in Xschem against magic extracted netlists

Noise Figure

The noise figure response is shown in Figure 21. Surprisingly the noise figure has improved. This is probably due to the fact that no parasitic resistances were calculated at the RFIN net since we were not able to extract resistance in magic (some issue to do with extresist command not working in hierarchical designs).

A picture containing text, sky, screenshot, document Description automatically generated

Figure 21 Post layout Noise Figure Response

Input Matching

Figure 22 shows the matching at input in the form of S11.

Chart, line chart Description automatically generated

Figure 22 Post Layout S11 graph

Voltage Gain

Figure 23 shows the voltage gain of the amplifier when the switches for receiver path (LNA) are on. We can see that the gain is 25 dB as compared to original 32dB. The 7dB loss is due to the buffer at the output to drive 50(\Omega) test equipment. Also the LNA to PA isolations is about 35 dB. The bandwidth is 4.5 GHz.

Graphical user interface, application, email Description automatically generated

Figure 23 Post Layout Voltage Gain of LNA

Figure 24 shows the voltage gain when switches for Transmitter (PA) are on. We can see that the voltage gain is about 27dB. The isolation between LNA and PA is still greater than 35 dB.

Graphical user interface Description automatically generated with low confidence

Figure 24 Post Layout small signal PA Gain

However, this is really a small signal voltage gain and does not include compression and non-linear effects of large signal saturation. Since Ngspice does not have a PSS/Harmonic balance simulator we were not able to do large signal analysis. However, we did plot output vs input power using transient analysis. The 1-dB compression graph is shown in Figure 25.

Chart, line chart Description automatically generated

Figure 25 Post layout Input Vs Output Power

Post layout Results Summary

Conclusion

The design is ready to be integrated in caravan chip

Design and Simulation Files

xschem/CompleteAMP is Complete Top Level Schematic

xschem/Top_PostLayout.sch is post layout Schematic that uses xschem/TopModule.spice which was extracted from TopModule.mag using magic

mag/TopModule is TopLevel Layout file of magic

netgen/

/Xschem_Top.spice is xschem LVS file for schematic

/Top.spice is Magic extracted netlist for LVS (does not contain diodes and Decaps)

/comp.out is netgen LVS comparison result

gds/TopModule.gds is magic generated gds of Top Module that is to be integradted in caravan

media/ contains all images in README file

docs/AMP_DOC.pdf contains design documentation in pdf form