Merge branch 'main' of https://github.com/ryanrocket/caravel_automatic_gain_control into main
tree: be79e0e5606ab208bcb61d8bab7332531a68c6ad
  1. .github/
  2. docs/
  3. gds/
  4. mag/
  5. netgen/
  6. openlane/
  7. verilog/
  8. xschem/
  9. .gitignore
  10. LICENSE
  11. Makefile
  12. README.md
README.md

Integrated Automatic Gain Control

License CI Caravan Build


Automatic Gain Control project submission to the Google-funded Open-MPW program.

Introduction

Automatic Gain Control is a feedback loop used in receiver architectures for signal amplification. Its primary usage is in environments where the relative signal strength is variable and could pose oversaturation on the receiving amplifier, such as that of radar recievers.

Architecture

architecture

In order to achieve optimal amplification from the LNA, a digitally-stepped attenuator is placed preceeding the LNA to attenuate any signal over a specific saturation threshold. After the signal is amplified, the output is coupled into a power detector circuit, which is then fed into an ADC and back into the DSA to drive the signal attenuation. Once the power detector is able to realize oversaturation at the output, it will drive the DSA to further attenuate the signal, reducing the power output.

Implementation

This AGC chip is part of a larger project; an FMCW radar for robotic applications. An AGC is paramount in radar applications where the distance between the antenna and the object for detection is unknown. If the object is further away than anticipated; amplification of the received signal will be needed. If it's too close; attenuation may be necessary to prevent ‘blowout’ of the reciever architecture.

Design

Digitally-Stepped Attenuator

dsa

This pseudo-differential DSA consists of 4 fixed-attenuation stages, each with SPDT transmission gates to either pass the input signal into the resistor or through to the next stage. The attenuation increases in each stage.

Low-Noise Amplifier

lna

Fully differential common-source amplifier with active loads and tail current mirror.

Power Detector

pd

Takes the differential input and creates a self-mixed DC current, which gets mirrors and converted into a voltage.