Skip to content

This repository presents the design of Four-Quadrant CMOS Analog Multiplier based on Gilbert Cell implemented using Synopsis Custom Compiler on 28nm CMOS Technology.

Notifications You must be signed in to change notification settings

virginrobotics/CMOS-analog-multiplier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Four-Quadrant CMOS Analog Multiplier

This repository presents the design of Four-Quadrant CMOS Analog Multiplier based on Gilbert Cell implemented using Synopsis Custom Compiler on 28nm CMOS Technology as a part of Cloud Based Analog IC Design Hackathon.

Table of Contents

Introduction:

Bipolar version of the Gilbert cell [1] has been successfully used for many years in the form of analog multipliers. Replacing the Bipolar Junction Transistors with MOSFETs heavily limit the range of the differential input signals. This is because the output current of the MOS differential pair depends non-linearly on the tail bias current and the input signal. The MOS analog multiplier is however an extremely useful circuit in integrated VLSI systems. In this design, an attempt has been made to increase the input range of the signal swing by employing attenuating stages which reduce the input signal levels before giving the input into the Gilbert cell stage.

MOS Differential Pair:

The circuit diagram of the MOS Differential Pair is shown in Fig. 1. The sum of the currents flowing through both MOSFETs is constant and equal to the tail current. Under Zero signal conditions, by symmetry half of the Tail current flows in each of the MOSFETs.


Fig. 1: MOS Differential Pair

With simple analysis it can be proven that when a differential input voltage signal is applied, the differential output current is represented by the equation:

Where,

The equation is valid as long as,

Beyond which the complete tail current will flow in either of the MOSFETs.

For a small signal Vx, the differential output current can be approximated to be linear with Vx. Therefore, this circuit can be considered as a current steering circuit.

Gilbert Cell:

The Gilbert cell uses Three of these differential pairs and two inputs to steer tail currents depending on the two inputs.


Fig. 2: MOS Gilbert Cell

Voltage Vx determines the tail current for each of the differential pairs stacked above (M3-M4 and M5-M6). Differential current in M3-M4 and M5-M6 is determined by the input voltage signal Vy. Currents of M3 and M5 are summed up to produce I1 and currents of M4 and M6 are summed up to produce I2. The differential current (I1-I2) is therefore made a function of both Vx and Vy (approximated as the scaled product of Vx and Vy under small signal conditions). This current can then be passed into a pair of resistors to sense them as a differential voltage.

Attenuator:

A PMOS transistor in the common source configuration with a diode connected NMOS transistor can be used either as an amplifier or attenuator by appropriately varying the device aspect ratio. The configuration is followed by a NMOS source follower.


Fig. 3: Attenuator Circuit

The gain of the given configuration is:

This gain formula is valid even for fairly large voltage swings at the input. For attenuation, the denominator term must be greater than the numerator term and this can be achieved by making the aspect ratio of the NMOS device larger than that of the PMOS device.

Circuit Diagram:


Fig. 4: Reference Circuit Diagram

Tools Used:

• Synopsys Custom Compiler:
 The Synopsys Custom Compiler™ design environment is a modern solution for full-custom analog, custom digital, and mixed-signal IC design. As the heart of the Synopsys Custom Design Platform, Custom Compiler provides design entry, simulation management and analysis, and custom layout editing features. This tool was used to design the circuit on a transistor level.

• Synopsys Primewave:
 PrimeWave™ Design Environment is a comprehensive and flexible environment for simulation setup and analysis of analog, RF, mixed-signal design, custom-digital and memory designs within the Synopsys Custom Design Platform. This tool helped in various types of simulations of the above designed circuit.

• Synopsys 28nm PDK:
 The Synopsys 28nm Process Design Kit(PDK) was used in creation and simulation of the above designed circuit.

• Krita:
 Digital hand-drawn circuit diagrams used for illustration were made using Krita graphics editor.

Pre-Layout Schematics:

Gilbert Cell:


Fig. 5: Gilbert Cell Schematic


Fig. 6: Gilbert Cell Symbol

Attenuator:

The lengths of all transistors are 0.03um. The width of the diode connected NMOS device (0.3um) is greater than the width of the PMOS device(0.1um) which makes this circuit function as an attenuator.


Fig. 7: Attenuator Schematic


Fig. 8: Attenuator Symbol

Multiplier:

The transistors in the schematic shown in Fig. 9 work as current mirrors and provide bias currents to other blocks in the circuit.


Fig. 9: Multiplier Schematic


Fig. 10: Multiplier Symbol

Circuit for Testing:

Two of the resistors are used in converting the output differential current into differential voltage. The other resistor is used to set the bias currents for the circuit.


Fig. 11: Schematic for the testbench

Simulation:

Transient Analysis:

Two sine waves of different frequencies are being used as inputs. The output wave form is the multiplication of the two sine waves. This waveform can also be considered as Amplitude modulation - DSBSC (Dual side Band Suppressed Carrier).


Fig. 12: Multiplication of two Sine Waves.


Fig. 13: Multiplication of two Sine Waves.

Parametric Sweep:

This is used to plot any output attribute over varying input attribute. Here, both the inputs are being varied from -1.5V to +1.5V and the outputs have been plotted.


Fig. 14: Transfer Characteristics of the Multiplier.

Results with 250kohm Loads:


Fig. 15: Multiplication of two Sine Waves.


Fig. 16: Transfer Characteristics of the Multiplier.

Netlist of the Circuit:

Refer to the netlist of the circuits here: Netlist

Observations:

The output is fairly linear with respect to both the inputs within the range -1V to +1V. The circuit functions as expected even with frequencies ranging in the order of hundreds of Megahertz. A tradeoff exists between the overall gain obtained and the linearity of the circuit with respect to each input. Output signal amplitudes depend on the load resistances and can be futher amplified by placing another differential stage for gain.

Author:

• Salai Pragadeshwaran B, B.Tech(ECE), National Institute of Technology, Trichy-620015.

Acknowledgements:

• Kunal Ghosh, Co-founder, VSD Corp. Pvt. Ltd.
Cloud Based Analog IC Design Hackathon
Synopsys India
VLSI System Design (VSD) Corp. Pvt. Ltd India
• Chinmay panda, IIT Hyderabad
• Sameer Durgoji, NIT Karnataka

References:

[1] B. Gilbert, “A high-performance monolithic multiplier using active feedback,” IEEE J. Solid-State Circuits, vol. SC-9, pp. 364-373, Dec. 1974.

[2] SHI-CAI QIN ANDRANDY L. GEIGER, A +-5-V CMOS Analog Multiplier, IEEE Journal of Solid State Circuits, vol SC-22, pp.1143– 1146, Dec. 1987.

[3] Razavi, Behzad. 2001. Design of analog CMOS integrated circuits. Boston, MA: McGraw-Hill.

About

This repository presents the design of Four-Quadrant CMOS Analog Multiplier based on Gilbert Cell implemented using Synopsis Custom Compiler on 28nm CMOS Technology.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published