Skip to content

Pa1mantri/PLL_130nm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

On chip PLL

This project simulates the on chip PLL blocks to determine it's performance characteristics pre-layout.

Phase Locked Loop

Phase-Locked Loops (PLLs) are critical components in modern electronic systems, widely utilized for frequency synthesis, clock recovery, and signal modulation. Their ability to maintain a stable output frequency that is phase-locked to a reference signal makes them indispensable in applications ranging from telecommunications to consumer electronics. This PLL design using sky130nm PDK works at supply voltage of 1.8v. The design includes PFD(Phase frequency detector), CP(charge pump), Loop filter, VCO(Voltage Controlled Oscillator) and a Frequency Divider.

Tools

xschem for schematic capture

ngspice for circuit simulation

Cirucit Design of a Phase Frequency Detector

D-flipflop based phase frequency detector. This design uses two D-flipflops, an AND gate and an inverter. A and B pulse signals are given as inputs. These two signals are being conpared in phase and frequency. If A leads B, output QA transistions high, while QB transistions low. Similarly, when B leads A, QB transitions high and QA transitions low. If both signals are in phase, neither QA nor QB transitions. When both QA and QB are high, the reset logic through the and and inverter gate resets both the filpflops.

.lib /home/ttuser/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt It is a library format file. It includes silicon devices models for several process corners. TT models usually contains only the primitives. Standard cells are present in standard cell spice file.

.inlcude /home/ttuser/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice It is a spice netlist containing the definition of the subcircuits of all digital gates.

Screenshot 2024-11-03 110908

The disadvantage of using a DFF-based PDF is the dead zone. Every flip-flop has a delay associated with it, which makes it difficult for the PFD to detect any phase or frequency difference between the two signals if the phase or frequency difference is less than the flip-flop delay.

Screenshot 2024-11-03 111055

Circuit Design of a Charge Pump

Screenshot 2024-11-08 223318

M1,M2,M3 and M4 transistors are part of Bias network. M6 and M7 acts as switches. M5 and M8 acts as Current Source and sink. cp_bisas voltage sets the reference current to be used by the M5 and M8 transistors.

Charge Pump with Loop filter Screenshot 2024-11-08 223712

Loop filter consists of resistor in series with a capacitor and a parallel capacitor.

Simulation of charge pump with loop filter Screenshot 2024-11-08 223814

Circuit Design of a VCO

A ring oscillator Voltage-Controlled Oscillator (VCO) consists of odd number of inverting stages connected in a ring configuration, generating an oscillating waveform. By controlling the bias voltage of the transistors within the stages, the oscillation frequency can be adjusted. This VCO serves as the controlled oscillator in the PLL, with its frequency locked to the reference signal through the feedback loop.

Screenshot 2024-11-08 225957

Circuit Design of a Frequency Divider

Screenshot 2024-11-08 231757

Certificate

Image

About

Circuit Design and Simulation Hackathon using Opensource tools conducted by NIT Jamshedpur and VSD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors