2022年4月6日 星期三

【教學】Calculate ENOB of ADC in Cadence - Custom IC Design



各位小夥伴們,當各位設計好ADC或DAC的時候,我們一般都是去計算ENOB或INL,來

去判斷效能是否沒問題。

一般普遍大眾的作法,應該都是將ADC輸出轉出來,再用MATLAB去做運算。

這個方法雖然是沒問題,但是卻很浪費時間

因此我們建議使用Cadenc內建的計算工具,來去幫我們算出ENOB和FFT。


Dear friends, when you design ADC or DAC, we usually calculate ENOB or INL 

to judge whether the performance is ok.

The general practice of the general public should be to transfer the ADC output, and then 

use MATLAB to do the calculation.This method is fine, but it's a waste of time.

Therefore, we recommend using Cadenc's built-in calculation tools to help us calculate 

ENOB and FFT.

---------------------------------------------------------------------------------------------------------------

1.Open ADC Output Wave


下圖為16-bits SAR ADC輸出波形。

The figure below shows the 16-bits SAR ADC output waveform.

ADC Data Output



2.Open Tool


打開上面的Measure->Spectrum。

Open Measure->Spectrum.

ADC Data Output



3.Calculate ENOB/FFT


會出現右邊的欄框,按照以下步驟一步接著一步設定。

-設定 FFT Input Method =>Calculate Start Time

-設定結束時間(需要穩態點)

-設定取樣點數和取樣時間

-設定完上述,按遺下Start/End那欄的"s"

-設定Harmonic計算=>15

-設定完上述,按Plot

下圖為 16-bits 500KS/s ADC(取樣點數256點)


The right frame will appear, follow the steps below to set it step by step.

-Set FFT Input Method =>Calculate Start Time

- Set end time (requires steady state point)

- Set the number of sampling points and sampling time

- After setting the above, press the "s" in the Start/End column

- set Harmonic calculation => 15

- After setting the above, press Plot

The picture below shows a 16-bits 500KS/s ADC (256 sampling points)

Cadence Calculate ENOB/FFT



4.Final Result


按下PLOT,會出現FFT圖形以及ENOB。


Press plot, the FFT graph and ENOB will appear.

Cadence Calculate ENOB/FFT




ENOB : Effective number of bits
FFT : Fast Fourier Transform

4 則留言:

  1. 阿佑大哥請問r string dac是用在電視和顯示器的driver dac,用來將影片信號轉換成模擬電壓訊號嗎?
    請問你有聽說過hqplayer 它是運行在電腦用來將音訊升頻,它的官網建議配搭teac ud701n這款dac使用,這軟件有選項來設置oversampling ,但我發現其實ud701n是強制delta sigma 128fs oversampling,如果電腦運行hqplayer oversampling了,傳給dac是不是還要進行第二次oversampling?

    回覆刪除
    回覆
    1. 你好,DAC基本上就是將數位訊號轉換成類比訊號喔!
      另外,hqplayer我不太了解它產品實際操作
      但以IC設計的角度來看,有Oversampling 抗Noise能力會比較好,但不開Oversampling IC 一樣能正常操作才對!

      刪除
    2. 阿佑請問oled電視和lcd顯示器用的dac是delta sigma dac還是r string dac抑或是r 2r dac?來自顯示卡或者電視盒的hdmi訊號來到電視或顯示器是不是最後的一步就是dac將數碼轉為類比信號,也就是電壓的像素顯示在人眼面前?幾乎沒有測試網站講出電視和顯示器分別是採用什麼dac.有dac的話也代表顯示設備有amplifier放大類比電壓訊號嗎?
      另外我到lg 的工程模式看到adc data為什麼oled要需要analog to digital convert?謝謝

      刪除
  2. 作者已經移除這則留言。

    回覆刪除