版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Monte Carlo simulation for better yield and performance,-A tutorial,1,PPT学习交流,start,System requirement,Statistical analysis include process, mismatch effects,Initial design,Design meets the goal ?,end,NO,YES,Monte Carlo simulation for better yield and performance,Some design may degrade in performan
2、ce Overall design yield could be unexpectedly low,If fabrication process parameter and device mismatch effect on same die are not taken in to account then,Hence statistical analysis must find a high place in design cycle,2,PPT学习交流,We will perform Monte Carlo analysis on an RF-front end LNA and compa
3、re the result if no statistical analysis is done. We will also see how to analyze yield and scalar data in Monte Carlo with the help of Low pass filter example.,Monte Carlo simulation,3,PPT学习交流,Monte Carlo simulation(example),Linearity,Input matching,Bias N/W,Output matching,Cascode arch.to reduce f
4、eedback capacitance,RF-front end (LNA),Knowing System requirement Initial design based on requirement like noise,gain,narrow or wide band.,4,PPT学习交流,Monte Carlo simulation,Cadence simulation setup (Normal),Choosing affirma analog artist,2. Choosing Spectre simulator,5,PPT学习交流,Choosing model contains
5、 all MOS,reg.,cap model parameters.,Monte Carlo simulation,1.Choose setup model libraries,2.Browse and choose model the directory,Cadence simulation setup (Normal),6,PPT学习交流,Set up analysis(dc,ac,sp etc.),create netlist and run simulator,Monte Carlo simulation,1.Choose analysis to run,2.Choose outpu
6、t to plot,3.Create netlist and run,Cadence simulation setup (Normal),7,PPT学习交流,Plotting results,Monte Carlo simulation,1.Choose direct plot for analysis,2.Click to view the desired result,3.Analyze waveform,Cadence simulation setup (Normal),8,PPT学习交流,Monte Carlo modeling in Cadence spectre simulator
7、,Process Section - describes manufacturing parameter,their statistical variation and a model for device that calculates its(width,length,cap,res. Etc.)according to process parameter. Design- Specific Section designer according to his need can specify Monte Carlo analysis.For example in a current mir
8、ror circuit,matched transistors are used and designer can give some correlation factor between these matched transistor.,Monte Carlo simulation,Cadence simulation setup (Monte Carlo),9,PPT学习交流,Typical Model File,Process Section,All parameter sets to their nominal value ,no statistical variation defi
9、ned Model (NMOSs Rg) is calculated using nominal parameter value,2,1,Monte Carlo simulation,Cadence simulation setup (Monte Carlo),10,PPT学习交流,Defining process,mismatch parameter as statistically assigned value,Assesses the device mismatch on different die, which could have gone through some differen
10、t process parameters during fabrication.,Assesses the device mismatch on same die,which could have gone through some different process parameter.,Variation defined as a distributed function,Monte Carlo simulation,Process Section,Cadence simulation setup (Monte Carlo),11,PPT学习交流,Design Specific Secti
11、on,This includes the circuit connectivity(two resistors, and corresponding current sources that feed them),Defining correlation between two devices(R1,R2) ,Note :Alternatively this information can also be inserted through Artist Monte Carlo Tool.,Monte Carlo simulation,Cadence simulation setup (Mont
12、e Carlo),12,PPT学习交流,Monte Carlo simulation,Model for LNA example,NoteThis is not based on foundry data but modeled for illustrative purposes.,Cadence simulation setup (Monte Carlo),13,PPT学习交流,Monte Carlo simulation,After Initial design that meets the system requirement,statistical analysis must have
13、 to be carried out.,Make sure the addition of process and mismatch parameter section in model file. Make certain to include the particular section (for exa.Stats in spectre) in simulation model library Go to toolMonte Carlo in affirma analog artist,Cadence simulation setup (Monte Carlo),14,PPT学习交流,M
14、onte Carlo simulation,Choose no of iteration(default=100),1.Choose which variation to include Processdevice mismatch effect on two diff.die Mismatchdevice mismatch effect on same die,2.Click if you want to see the family of curve i.e. curve from each iteration,3.Define the expressions / signals on w
15、hich Monte Carlo analysis will be performed.,Note: calculator can also be used to get these expression,Finally run the analysis,Cadence simulation setup (Monte Carlo),15,PPT学习交流,Monte Carlo simulation,(Analyzing waveform),Matching,Normal simulation (without statistical variation),Monte Carlo Simulat
16、ion (with statistical variation),Process parameter and mismatch effect,Input & Output matching N/W,DEGRADES,Overall design performance (noise,gain etc.),DEGRADES,S11,S22,16,PPT学习交流,Monte Carlo simulation,(Analyzing waveform),Matching(VSWR):It tells how well input and output N/W are matched.,Monte Ca
17、rlo simulation,Normal simulation,VSWR1,VSWR2,Variations in VSWR,17,PPT学习交流,Monte Carlo simulation,(Analyzing waveform),Matching(forward and reverse transmission gain),It has deteriorated the performance significantly, as a minimum S12 and maximum S21 value is desirable.,Normal simulation,Monte Carlo
18、 simulation,S12,S21,18,PPT学习交流,Monte Carlo simulation,(Analyzing waveform),Normal simulation,Monte Carlo simulation,Stability:A Kf value 1,is desired for an stable amplifier,Kf value has become 1,and consequently creating a potential unstability,hence a large margin is required at initial design pha
19、se.,Stability factor,19,PPT学习交流,Monte Carlo simulation,(Analyzing waveform),Normal simulation,Monte Carlo simulation,Noise Performance,As visible, design has a robust noise performance at desired band(2.4-2.5 GHz) BUT.,Noise figure,Periodic Output noise,20,PPT学习交流,Monte Carlo simulation,(Analyzing w
20、aveform),But LNA as an RF-front end has to provide enough gain with maximum noise suppression to maintain an allowable SNR at demodulators input.,It fails to meet the gain requirement,Gain,21,PPT学习交流,Monte Carlo simulation,We will quickly go over another example of low pass filter and see how to ana
21、lyze scalar data and yield through Monte Carlo simulation,22,PPT学习交流,Monte Carlo simulation,Initial Design: Circuit designing according to system requirement,Low-Pass Filter,23,PPT学习交流,Monte Carlo simulation,1.Running normal analysis,2.Specifying statistical variation in model file,3.Running Monte C
22、arlo analysis,1,2,3,Cadence simulation setup (Monte Carlo),24,PPT学习交流,Monte Carlo simulation,Simulation shows db20 and phase values are greatly affected by statistical variations introduced in transistor. Hence the need for redesigning the circuit,(Analyzing results),25,PPT学习交流,Monte Carlo simulatio
23、n,(Analyzing Scalar data),1.Choose resultsplot Histogram,2.Choose parameters to plot,3. Analyze the histogram appeared in waveform window,26,PPT学习交流,Monte Carlo simulation,1.Choose results specification limits,2.Set bounds and limits,3.Choose Results yield simple in analysis window,4.Set suppression
24、 value for yield,5.Analyze yield,Only 64% iterations passes the specified limits for bandwidth and ymax,(Analyzing Yield),27,PPT学习交流,Monte Carlo simulation (PLL Components),Overview,Reference clock,Detector output,Loop filter response,Oscillator output,Clock divider output, Phase/frequency detector
25、determines the difference between the phase or frequency of two signals The loop filter removes the high-frequencies from the voltage-controlled oscillator (VCO) controlling voltage The VCO produces and output frequency controlled by a voltage,28,PPT学习交流,Monte Carlo simulation (PLL Components),Noise
26、 Sources,Detector noise,VCO noise,- Quantization noise,In PLL design it is highly desirable to be able to see the impact of all noise sources,which in turn affects the overall PLL performance.,Due to reference jitter,Due to variation in control voltage,Due to uncertainty involved in discretization,2
27、9,PPT学习交流,Monte Carlo simulation (VCO),An oscillator is a circuit capable of maintaining electric oscillations.,Frequency of oscillation =1/(LC)1/2 Controlled by voltage dependent capacitance (varactor),Power efficient since bias current is shared between the two transconductors.,Complimentary Cross
28、-Coupled LC VCO,equivalent,For operation in current -limited regime: VO = (4/) .Ibias.Req (Ideal switching) VO(apx) = Ibias.Req (High frequency),30,PPT学习交流,Causes of spectral purity degradation (phase noise): 1.) Random noise in the reference input, the PFD, loop filter and VCO (also dividers if the
29、 PLL is a frequency synthesizer) 2.) Spurious sidebands high energy sidebands with no harmonic relationship to the generated output signal. It is systematic in origin. Why is spectral purity important?,Monte Carlo simulation (VCO Phase Noise),Phase noise produces adjacent channel interference,Phase
30、noise can degrade the sensitivity of a receiver due to reciprocal mixing,31,PPT学习交流,Monte Carlo simulation (VCO Phase Noise),How do the process and mismatch variation affect phase noise?,- we will perform monte carlo analysis to assess this. Step1 Varying the process parameter only Step2 investigati
31、ng the device mismatch(in diff VCO one side mismatched to the other) in presence of process variation,The statistics block contains the distributions for parameters: Distributions specified in the process block are sampled once per Monte Carlo run, are applied at global scope, and are used typically
32、 to represent batch-to-batch (process) variations. Distributions specified in the mismatch block are applied on a per-subcircuit instance basis, are sampled once per subcircuit instance, and are used typically to represent device-to-device (on chip) mismatch for devices on the same chip.,Cadence Spe
33、ctre modeling:,32,PPT学习交流,Monte Carlo simulation (VCO Phase Noise) model file,Define statistical blocks in the model file (ideally it should be provided from the foundry),Process section,Mismatch section,33,PPT学习交流,Monte Carlo simulation (VCO Phase Noise)STEP-1,Running Monte Carlo for process variat
34、ion only,Normal simulation,Monte Carlo simulation,With applied statistical variation(in model file) an increase in noise can be observed, and at this run resulted noise is worst and unacceptable.,34,PPT学习交流,Monte Carlo simulation (VCO Phase Noise) STEP-2,Running Monte Carlo for mismatch in 2 sides o
35、f Diff. VCO,Normal simulation,Monte Carlo simulation,Again similar looking but not the same results appears and noise at this run is unacceptable .,Note: When the same parameter is subject to both process and mismatch variations, the sampled process value becomes the mean for the mismatch random num
36、ber generator for that particular parameter.,35,PPT学习交流,Monte Carlo simulation (VCO Phase Noise)- more insight,To get more insight we will vary only few parameter and check how values are assigned for different run as well as the simulation result,Defining variation for only two parameters in the mo
37、del file - -Vth -tox,36,PPT学习交流,Monte Carlo simulation (VCO Phase Noise)- more insight,Here both nmos (pmos) transistors have been assigned same process variation.In each run they take on different parameter according to distribution defined,Process variation only,NM0,NM1,PM1,PM0,37,PPT学习交流,Monte Ca
38、rlo simulation (VCO Phase Noise)- more insight,Process and Mismatch both variation together,with correlation of 0.2 between the two nmos(pmos) transistor,As conspicuous each nmos(pmos) transistor is getting different parameter value in each run.,38,PPT学习交流,Monte Carlo simulation (VCO Phase Noise)- m
39、ore insight,Process variation only,Process & mismatch variation,As visible in the case of process variation with device mismatch noise has been increased.,39,PPT学习交流,Monte Carlo simulation (PLL at a glance),In a PLL all these process variation can degrade its overall performance significantly. To se
40、e the impact of process variation we probe the output after the loop filter.,Monte Carlo simulation,As clear in one case control voltage (i.e. loop filter output) is ramping rapidly compare to other and thus will result in different performance.,40,PPT学习交流,Monte Carlo simulation,In our design PLL ha
41、s a settling time of 65 us.To simply run the analysis(transistor level) for this much period may take 2-3 days on a single machine. To do monte carlo simulation even for 10 run will make the situation worse.,To speed up Monte Carlo analysesto make them run in minutes as opposed to days -We need to r
42、educe the run time and can utilize Parallel simulation. -Such as variance reduction technique can be employed.,41,PPT学习交流,Monte Carlo simulation (Seed no & parallel simulation),Note: (1) Input have .scs extension (for exa.input.scs) (2)In spectre one can not specify different seed from GUI(by defaul
43、t it always takes seed=1).,If Monte Carlo simulation for different seed is required then.,Step 1.Create netlist(input file) a)Either from analog artist or b)Tools monte carlo simulationcreate_input_files,Seed,42,PPT学习交流,Monte Carlo simulation,Monte Carlo simulation (Seed no & parallel simulation),St
44、ep 2. Edit input.scs edit SEED=? line (number you want),Seed,43,PPT学习交流,Monte Carlo simulation,Monte Carlo simulation (Seed no & parallel simulation),Step 3.Run spectre from command line with option for example. spectre -env artist4.4.6 +log ./psf/spectre.out -format psfbin -raw ./psf input.scs,Here
45、 one should execute spectre command(or executable file) from the netlist directory.,For example one wants to simulate “PLL” design from command line Then go to your simulation directory cd /simulation/pll/spectre/schematic/netlist and here execute spectre command,Seed,44,PPT学习交流,Monte Carlo simulati
46、on,Monte Carlo simulation (Seed no & parallel simulation),Step 4.Results can be plotted with either from calculator or from Monte Carlo tool.,Seed=1,Seed=11,Seed=3,Fig:Plots for different seed value simulation,Seed,45,PPT学习交流,Monte Carlo simulation (Seed no & parallel simulation),Another way of doin
47、g similar thing(giving different seed value) from GUI would be to start simulation from different run,or say to skip some initial run as shown in the fig.,But beware skipping these runs could take much longer time for a complex design,Here it will skip first 10 runs and simulate from 11th to 110th r
48、un for 100 iteration This is quite similar to assigning different seed value.,A way around from GUI,46,PPT学习交流,Monte Carlo simulation (Seed no & parallel simulation),Running multiple analysis from one file,This can be done by defining multiple monte carlo analysis statement in the input shown below,Note: For each analysis a different name to child analysis(for example ac,dc,tran) an
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年保育知识测试题库带答案
- 2026年电气安全知识培训题库及答案
- 2026年药房管理考题题库(含答案)
- 2026年导游基础知识试题及答案
- 2026年新版药物临床试验题库(含答案)
- 2026年硕士研究生考试西医综合近年模拟题汇编及参考答案
- 2026年铁路轨道考试题库带答案
- 2026年事业编制题库及参考答案
- 2026年学年黑龙江省齐齐哈尔市统招专升本管理学自考模拟题及答案
- 2026年护理事业编制考试模拟题库及答案
- (新教材)2026年人教部编版一年级上册语文 第8课 升国旗 课件
- (2026年)实施指南《DLT 1878-2018 燃煤电厂储煤场盘点导则》
- 双电源自动切换系统实验报告
- 初中语文阅读教学主问题设计:策略、实践与效能提升
- 《韧战》(2023年福建省中考满分作文15篇附审题指导)
- 艾灸治疗鼻炎
- 《相似植物如何区别》课件
- 驾驶员素质提升培训
- My family幼儿园家庭成员介绍手抄报
- 国家安全教育大学生读本-第一章完全准确领会总体国家安全观
- 《外科学》教案:第七章 麻醉
评论
0/150
提交评论