2018年12月25日 星期二

【教學】如何在Cadence OA版本,完成Monte Carlo Simulation



今天要講的是如何在OA版本使用ADE XL,完成Monte Carlo Simulation。




以下圖模擬當例子,在定電流(1mA)情況下,流過電阻時VO的電壓變化。




1.打開ADE


先將要存的資料設定好,然後打開ADE XL。



2.Create File


這邊選擇Create New View,按OK。

Monte Carlo Mismatch Simulation


繼續按OK。

Monte Carlo Mismatch Simulation



3.Monte Carlo Sampling


出現這個新介面ADE XL,我們在中間選擇Monte Carlo Sampling。

Monte Carlo Mismatch Simulation


4.設定


在它旁邊有一個設定按鈕(綠色),打開之後按照下圖設定即可(Point是Monte Carlo要跑幾次)。

Monte Carlo Mismatch Simulation



5.Choose Mismatch component


點選下面紅色圈圈處,這邊是在選擇哪些元件要模擬Mismatch,選好之後按APPLY。

Monte Carlo Mismatch Simulation


繼續按OK。

Monte Carlo Mismatch Simulation


6.Include Modle File


接著要把Mismatch的Modle檔叫近來,選完之後點選OK。

Monte Carlo Mismatch Simulation


7.Simulation


可以直接跑模擬了(綠色按紐)。

Monte Carlo Mismatch Simulation


8.Simulation Results


可以看到模擬結果,VO如預期的會變來變去。

Monte Carlo Mismatch Simulation


9.Histogram Plot

它還有一個不錯的功能,可以將常態分布圖畫出來,打開Histogram。

Monte Carlo Mismatch Simulation


10.設定


輸出檔案,Number of Bins,按OK。

Monte Carlo Mismatch Simulation


11.輸出結果


得到我們想要的常態分佈圖,旁邊還會標示和mean的大小。

Monte Carlo Mismatch Simulation

沒有留言:

張貼留言