Friday, November 13, 2020

charge pump non-ideal design consideration

The practical design issues in PLLs related to the charge pump block is the unbalanced large-signal operation that transforms the timing information or phase difference information to analogue quantity in voltage to control the VCO. 

Three different design considerations for PFD+CP noise performance:

- leakage current of Charge Pump: the reference spur caused by the leakage current is possibly substantial in frequency synthesizers. (If the spur level is not enough to meet the requirement, the loop bw should be further narrowed or the charge pump current should be increased. Note: reducing the division value by increasing the frequency frequency like fractional-N frequency synthesizers is very helpful to relax the charge pump design.)

- mismatches in Charge Pump: CP mismatch has two factors: one is the current mismatch, the other is the switching-on time mismatch of UP/DOWN operations. When the mismatch is given in the charge pump, it is important to reduce the turn-on time of the PFD that is equivalent to the minimum pulse width of the output to avoid the dead-zone. 

- timing mismatch in PFD: timing mismatch is inherent in PFD with the single-ended charge pump since the UP/DOWN outputs have to drive PMOS and NMOS switches. (When delay mismatch is much smaller than the turn-on time of PFD, the timing mismatch issue is less significant compared to the leakage current or the mismatch in the charge pump.)

Wednesday, November 11, 2020

Different Extraction Tools

For IC design, different extraction tools can be used to generate the post-layout netlist.

  • StarRC - from Synopsys
  • Quantus QRC - from Cadence
  • Calibre xRC - from Mentor Graphics

Noise discussion in PFD/CP

The two noise contributions in the PFD/CP:

  • PFD jitter
  • noise in the output current of the CP

The PFD noise will all be in the charging and discharging edges and will be independent of how long the CP is on. However, the total noise produced by the CP will be proportional to how long it is on.

Two current sources provided to loop filter by the CP: one is pull-up current and the other pull-down current. Which one is activated depends on whether the edges on the reference input lead or lag those on the feedback input signal. When edges from PFD or UP/DOWN signals occur simultaneously, both the pull up and pull down current sources will turn on for a very short period of time. From an output current perspective the pull up and pull down currents will act to cancel each other and so the effective output current is zero. (If the current is not zero, what happens?)

And both current sources will be contributing uncorrelated noise (“Uncorrelated” means that the values are independent; that is, knowing one value provides no information about the others.) to the output while they are on. Thus, it is best to characterize the noise of the PFD/CP with simultaneous edges occurring on both the reference and feedback inputs. The output should be connected to a current probe (ideal voltage source) that is biased to present the expected voltage to the output of the CP.

Using Cadence PSS+Pnoise analysis, the phase noise of the PFD/CP can be obtained. Which is the right sweep type correct: relative or absolute?

If setting the sweep type= relative, the actual sweeping frequency is f1+n*Fpss to f2+n*Fpss, where f1 and f2 are the defined sweeping range and n is the relative harmonic number, Fpss is the PSS fundamental frequency. The benefits of the relative sweep is when simulating oscillators, because you want to look at the noise skirts around the oscillator frequency, but you don't know the oscillator frequency (accurately enough) before running, so letting PSS find it itself, and doing a relative sweep makes sense.

What about absolute sweep?

Recommended operational amplifier (opamp) reference books

 Design of Low-Voltage Low-Power Operational Amplifier Cells

- Written by Ron Hogervost and Johan Huijsing


Introduction to CMOS Opamps and Comparators

- Written by Roubik Gregorian


Operational Amplifiers -Theory and Design 

- Written by Johan H. Huijsing


Analog Integrated Circuit Design 

- Written by David Johns and Ken Martin

Tuesday, November 3, 2020

Cadence ViVA Commonly-Used Keybindings

RMB = right mouse buttom

MMR = middle mouse roll


Function

Bindkey

Zoom in

RMB-drag box or ]

Zoom out

[

Zoom in X

Shift-RMB-drag or X (RMB-drag) or Shift-MMR

Zoom in Y

Ctrl-RMB-drag or Y (RMB-drag) or Ctrl-MMR

Zoom Full or Fit into window

F

Undo

U

Pan

Arrow keys or Ctrl-Alt-RMB

Edit Properties

Q

Trace Cursor

C (toggle)

Horizontal Marker

H

Vertical Marker

V

A/B Marker

A/B

Point Marker

M

Delta Marker

D

Rise/Fall Time Marker

T

Reference Point Marker

R

Delete

Delete

Delete All

E

Delete All Markers

Ctrl-E

Snap Markers to Previous/Next

P/N

Cut

Ctrl-X

Copy

Ctrl-C

Paste

Ctrl-P

Select All traces in strip

Ctrl-A

Select All traces in subwindows

Shift-Ctrl-A

Create New Window

Ctrl-N

Reload Current subwindow

Ctrl-R