saber仿真软件tdsa模块使用说明

合集下载

图示化Saber仿真软件详解

图示化Saber仿真软件详解

图示化Saber仿真软件详解—暨开关电源仿真目录第一章Saber Sketch 工作界面及下拉菜单 (1)1.1Saber Sketch工作界面 (1)1.2Saber Sketch下拉菜单详解 (2)1.2.1 File菜单 (2)1.2.1.1New选项 (2)1.2.1.2Open 选项 (2)1.2.1.3Close 选项 (3)1.2.1.4Save 选项 (3)略。

(3)1.2.1.5Export 选项 (3)1.2.1.6Configuration选项 (4)1.2.1.6.1 File 标签 (4)1.2.1.6.2 Preferences标签 (5)1.2.2Edit菜单 (5)1.2.2.1 Find/Select 选项 (6)1.2.2.2 Alter选项——快捷图标 (7)1.2.2.2.1 Netlist标签 (8)1.2.2.2.2 History标签 (9)1.2.2.3 Experiment选项——快捷图标 (9)1.2.2.3.1 File菜单 (10)1.2.2.3.2 Edit菜单 (11)1.2.2.3.2.1Loop Option选项 (11)1.2.2.3.2.2Analysis Option选项 (11)1.2.2.3.3Analysis菜单 (12)1.2.2.3.4 PostProcessing选项 (13)1.2.2.4Grid Status 选项 (14)1.2.2.5Border Configuration 选项 (14)1.2.2.5.1 Outline 标签 (15)1.2.2.5.2Rulers标签 (15)1.2.2.5.3Top Left Top Right Bottom Right Next To B_R 标签 (15)1.2.2.6 Schematic Preferences选项 (16)1.2.2.6.1 General标签 (16)1.2.2.7 Parts Gallery Preferences选项 (17)1.2.2.8 Design Tool Settings 选项 (21)1.2.2.9List Settings选项 (22)1.2.2.10Library Configuration Editor选项 (22)1.2.2.11 Saber(R)Guide Preferences 选项 (23)1.2.2.12 Saber/Netlister Settings选项 (23)1.2.3View菜单 (26)1.2.3.1 Color/Grayscale选项 (27)1.2.4 Design菜单 (28)1.2.4.1 Use选项 (28)1.2.4.2 Simulator选项 (28)1.2.4.3 Netlist 选项 (28)1.2.4.4 Simulate 选项 (29)1.2.4.5 Back-Annotate选项 (29)1.2.4.6 check Symbols选项 (29)1.2.5Schematic菜单 (29)1.2.5.1 Rotate 选项 (30)1.2.5.2 Filp 选项 (31)1.2.5.3 Back选项 (31)1.2.5.4 Front 选项 (32)1.2.5.5 Get Part选项 (32)1.2.5.5.1 Parts Gallery选项——快捷键图标 (33)1.2.5.5.2 By Symbol Name...选项 (34)1.2.5.5.3 Parametric Search选项 (34)1.2.5.6 Great选项 (35)1.2.5.7 Multi-Sheet 选项 (36)1.2.5.8 Switch Style Sheet 选项 (36)1.2.5.9 Define Style sheet选项 (37)1.2.6Analyses 菜单 (38)1.2.6.1 Operation Point 选项 (38)1.2.6.1.1 DC Operating Point 直流工作点分析——快捷键图标 (38)1.2.6.1.2 DC Transfer直流传输分析——快捷键图标 (40)1.2.6.2 Time Domain 选项 (42)1.2.6.2.1 Transient 瞬态分析——快捷键图标 (43)1.2.6.2.2 Operating Point/ Transient选项—快捷键图标 (46)1.2.6.3 Frequency频域分析 (48)1.2.6.3.1 Small Signal AC交流小信号分析——快捷键图标 (48)1.2.6.3.2Noise噪声分析 (49)1.2.6.3.3 Distortion失真分析 (51)1.2.6.3.3Two-Port两端口分析 (52)1.2.6.4 Linear Systems Analysis线性系统分析 (54)1.2.6.4.1Pole-Zero...零极点分析——快捷键图标. (55)1.2.6.4.2Linear Time Response 线性时间响应 (56)1.2.6.3Frequency Response频率响应分析 (57)1.2.6.4Estimate System Time Parameters 评估系统时间参数 (59)1.2.6.5Estimate System Frequency Parameters评估系统频率参数 (60)1.2.6.6Parametric 参数分析 (61)1.2.6.6.1 Vary选项——快捷键图标 (62)1.2.6.6.1.1Edit菜单 (62)1.2.6.6.1.2 Addloop菜单 (63)1.2.6.6.1.3 Vary对话框 (64)1.2.6.6.1.4 Add Analysis菜单 (65)1.2.6.5.2 Sensitivity灵敏度分析——快捷图标 (66)1.2.6.5.2.1 Edit标签 (67)1.2.6.5.2.2 Add Analysis标签 (68)1.2.6.6 Statistical统计分析 (68)1.2.6.6.1 Monte Carlo蒙特卡洛分析——快捷键图标 (69)1.2.6.6.2 Statistical Summary统计摘要 (69)1.2.6.6.3 Histogram 直方图 (70)1.2.6.7 Stress应力分析 (71)1.2.6.8 Fourier傅里叶分析 (73)1.2.6.8.1 Fouier(傅里叶变换) (73)1.2.6.8.2 FFT快速傅里叶变换 (75)1.2.6.8.3 IFFT 逆快速傅里叶变换 (77)1.2.6.9 Batch Messure批测量 (78)1.2.6.10 Forms表格 (79)1.2.6.11 Interupt中断——快捷键图标 (80)1.2.6.12 Continue继续仿真 (80)1.2.7 Extrat菜单 (80)1.2.7.1 Add Signals to Plotfile选项 (80)1.2.7.2 Get Initial Point选项 (81)1.2.7.3 Transform Plotfile选项 (82)1.2..7.4 Limit Poles and Zeros选项 (84)1.2.8 Results菜单 (85)1.2.9 Probe菜单 (85)1.2.10 Tools菜单 (86)1.2.10.1 Command Line命令行选项 (86)1.2.10.2 Drawing Tool绘图工具——快捷图标 (86)1.2.10.3 Part Gallery元件库——快捷键图标 (86)1.2.10.4 Design Tool设计工具——快捷键图标 (86)1.2.10.5 Macro Recorder宏记录器——快捷键图标 (87)1.2.10.6 SaberRT——快捷键图标 (87)1.2.10.7 Model Architect模型构造大师——快捷键图标 (88)1.2.10.8 Design Example设计示例——快捷键图标 (88)1.2.10.9 Report 报告——快捷键图标 (89)1.2.10.10 Testify验证——快捷键图标 (90)1.2.11 window菜单略 (92)1.2.12 Help 菜单略 (92)第二章ComosScope 工作界面及下拉菜单 (93)2.1ComosScope工作界面 (93)2.2ComosScope下拉菜单 (93)2.2.1 File菜单 (93)2.2.2 Edit 菜单 (94)2.2.2.1 Find signal寻找信号选项 (94)2.2.2.2 Hotkeys快捷键选项 (95)2.2.2.3 Preferences属性选项 (95)2.2.3 Graph菜单 (100)2.2.3.1 Member Attributes...选项 . (101)2.2.3.2 Measure Results选项 (102)2.2.3.3 Waveform Compar选项 (103)2.2.4. Signal菜单 (104)2.2.4.1 Attributes选项 (104)2.2.4.2 Member Attributes成员属性选项 (105)2.2.4.3 Measure Results测量结果选项 (105)2.2.4.4Annotate Info注释信息选项 (105)2.2.4.5 Move to Stack Region选项 (105)2.2.4.6 Bring to Front 选项 (106)2.2.4.7 Color 选项 (106)2.2.4.8 Style 选项 (106)2.2.4.9 Line Width 选项 (107)2.2.4.10 Symbol选项 (107)2.2.4.11 Symbol Size选项 (108)2.2.4.12 Bar选项 (108)2.2.4.13 View 选项 (109)2.2.4.14 Create Bus 选项 (109)2.2.4.15 Burst Bus选项 (110)2.2.4.16 Contract Bus 选项 (111)2.2.4.17 Great Mult-Member选项 (112)2.2.4.18 Convert to Digital (A2D) 选项 (113)2.2.4.19 Convert to Analog (D2A) 选项 (114)2.2.4.20 Trace Hight 选项 (115)2.2.4.21 Set Digital Display选项 (115)2.2.4.22 Display Digital Signal Grid选项 (116)2.2.4.23 To Time Domain选项 (116)2.2.4.24 Envelope Spectrum频谱包络选项 (116)2.2.5 Axis菜单 (117)2.2.5.1 Attributes选项 (117)2.2.5.2 Zoom选项 (118)2.2.5.3 Pan选项 (118)2.2.5.4 Scale选项 (118)2.2.5.5 Display Axis Grid选项 (119)2.2.6 Tools菜单 (121)2.2.6.1 Command Line选项——快捷键图标 (121)2.2.6.2 Drawing Tool选项——快捷键图标 (122)2.2.6.3 Signal Manage r选项——快捷键图标 (123)2.2.6.3.1 File菜单 (123)2.2.6.3.2 Poltfile菜单 (124)2.2.6.3.3 Signals菜单 (124)2.2.6.4 Measurement Tool测量工具选项——快捷键图标 (124)2.2.6.5 Waveform Calculator波形计算选项(波形计算器)——快捷键图标 (125)2.2.6.6 Macro Recorder宏记录器选项——快捷键图标 (126)2.2.6.7 RF Tools射频工具选项——快捷键图标 (126)2.2.6.8 Matlab Command Line Matlab命令行选项——快捷键图标 (126)2.2.7 Windows菜单 (127)2.2.8 Help菜单 (127)第三章测量仿真波形 (128)3.1测量工具菜单介绍 (128)3.1.1 General 常规测量项 (129)3.1.2 Time Domain 时域测量 (129)3.1.3 Levels 电平测量 (129)3.1.4 Frequency Domain 频域测量 (130)3.1.5 S Domain S域测量 (130)3.1.6 Statistics 统计测量 (130)3.1.7 RF 射频测量 (131)3.2波形操作技巧 (131)3.2.1 波形的缩放 (131)3.2.2 合并波形 (132)3.2.3 坐标轴调整 (133)3.3 测量实例 (135)3.3.1 General 常规测量 (135)3.3.1.1 At X 测量——快捷图标 (135)3.3.1.2 Threshold(At Y)测量——快捷图标 (137)3.3.1.3 Delta X 测量 (138)3.3.1.4 Delta Y 测量 (139)3.3.1.5 Length 测量 (140)3.3.1.6 Slop 斜率测量 (141)3.3.1.7 Local Max/Min 测量 (142)3.3.1.9 Horizontal Level 测量 (145)3.3.1.10 Vertical Level测量 (146)3.3.1.11 Vertical Cursor测量 (147)3.3.1.12 Point Marker测量 (148)3.3.1.13 Point to Point测量——快捷图标 (149)3.3.1.14 Vertical Marker测量——快捷图标 (150)3.3.2 Time Domain 时域测量 (151)3.3.2.1 Falltime下降时间测量 (151)3.3.2.2 RiseTime上升时间测量 (152)3.3.2.3 Slew Rate转换速率测量 (154)3.3.2.4 Period周期测量 (155)3.3.2.5 Frequency频率测量 (156)3.3.2.6 Duty Cycle占空比测量 (157)3.3.2.7 Pulse Width脉宽测量 (158)3.3.2.8 Delay延时测量 (160)3.3.2.9 Overshoot过冲测量 (161)3.3.2.10 Undershoot负过冲测量 (162)3.3.2.11Settle Time稳定时间测量 (162)3.3.2.12 Eye Diagram 眼状图测量 (164)3.3.2.13 Eye Mask测量 (165)3.3.3 Levels电平测量 (165)3.3.3.1 maximum最大值测量 (166)3.3.3.2minimum最小值测量 (167)3.3.3.3 X at Maximum测量 (168)3.3.3.4 X at minimum测量 (168)3.3.3.5 Peak to Peak峰-峰值测量 (169)3.3.3.6 Topline顶线测量 (170)3.3.3.7Baseline基线测量 (170)3.3.3.8Amplitude振幅测量 (171)3.3.3.9Average 平均值测量 (172)3.3.3.10RMS有效值测量(均方根) (172)3.3.3.11AC Coupled RMS 有效值交流分量测量 (173)3.3.4Frequency Domain频域测量 (174)3.3.4.1 Lowpass(3db Point)低通(3db点)测量 (174)3.3.4.2 Highpass(3db Point)高通(3db点)测量 (175)3.3.4.3 Bandwidth带宽测量 (176)3.4.4.4 Stopband带阻测量 (177)3.4.4.5 Gain Margin增益余量测量 (179)3.4.4.6 Phase Margin相位裕量测量 (180)3.4.4.7 Slope斜率测量 (181)3.4.4.8 Magnitude等级测量 (181)3.4.4.9 dB分贝测量 (182)3.4.4.10 Phase相位测量 (183)3.4.4.11 Real实部测量 (184)3.4.4.13 Nyquist Plot Frequency奈奎斯特绘图频率测量 (186)3.4.4.14 THD/SNR/SINAD总谐波失真/信噪比/信号噪声余波形失真比测量 (187)第四章波形计算器 (188)4.1 波形计算器的用户界面 (188)4.2 波形计算器的下拉菜单 (189)4.2.1File菜单 (189)4.2.2 Edit 菜单 (190)4.2.3 Preferences菜单 (190)4.3 计算器快捷图标 (190)4.4扩展操作按钮 (191)4.4.1 Misc 按钮 (191)4.4.1.1 vma 选项 (191)4.4.2 Wave 按钮 (192)4.4.3 Cmplx 按钮 (193)4.4.4 Logic 按钮 (193)4.4.5 Trig 按钮 (193)4.4.6 Stack 按钮 (194)4.4.7 基本操作按钮 (194)4.5 波形计算器的基本操作 (194)4.5.1 代数运算 (194)4.5.1.1 2个数字运算 (194)4.5.1.2 多个数字运算 (197)4.5.1.3 单个数字运算 (199)4.5.2 复数运算 (204)4.5.3 波形的计算 (207)4.6.波形计算器编程 (210)第五章创建原理图 (212)5.1 Saber元件库的界面 (212)5.1.1 快捷图标 (213)5.1.2 Browse/Search 标签 (213)5.1.2.1 Browse 标签 (213)5.1.2.2 Search 标签 (213)5.1.2.2.1 Parametric Search 参数搜索 (214)5.1.3 Saber 元件库分类介绍 (215)5.2 生成原理图 (216)5.2.1 查找元件 (216)5.2.2 设定元件参数 (220)5.2.3 连接元件 (221)5.3 编辑导线属性 (223)第六章常用基本仿真分析 (224)6.1 直流分析 (225)6.1.1 DC Operating Point直流工作点分析 (225)6.1.2 DC Transfer直流传输分析 (227)6.1 时域分析 (237)6.2.1 Transient 瞬态分析 (237)6.3 Frequency频域分析 (244)6.3.1交流小信号(small singal AC)分析 (244)6.3.3 Noise噪声分析 (254)6.3.3 Distortion失真分析 (258)6.3.4 Two-port二端口分析 (258)6.4 Linear Systems Analysis线性系统分析 (260)6.4.1 Pole-Zero零极点分析 (260)6.4.1.1测量系统零极点 (260)6.4.1.2调整系统相位裕量 (262)直流工作点分析,确认静态误差能满足要求。

Saber器件使用知识

Saber器件使用知识

Saber器件使用知识Saber器件使用知识1.模型查找器件模型分为模板(template)和器件(component):模板(template)是基于某一类器件的通用模型,它需要用户根据需要设置各种参数以达到使用要求;而器件(component)是某一或者某一系列商用元件(如LM324)的模型,它无须用户进行任何设置即可使用。

对于需要设置参数template模型,需要去PartGallery中寻找,而component模型则直接可以利用PartGallery的search功能或者ParametricSearch工具进行进行查找。

Saber的component库分两种,DX库和SL库,后者比前者缺少容差和应力分析参数;以_sl结尾的'属于SL库,这种模型没有MC和STRESS特性,但仿真速度很快;1.按技术应用分类:PartGallery目录中单击MASTPartsLibrary目录,即可得到按技术分类目录:各种激励源或者参考地在Sources,Power,Ground目录下.各种模拟数字电路在Electronics目录下;2.参量化器件搜索:1.调出partsgallery;2.点击searchobjects后的下拉菜单中的parametricsearch;3.在参数搜索想到中General菜单可设置器件相关参数以缩小搜索范围;4.在maximumrating中可设置极限参数;5.在performancespecialization中可设置具体参数;2.基本参数设置1.primitive是参数的模型名称,一般不可更改,ref则是原理图给予的唯一名称,用于标识;2.电容或电感初始电压或电流值设置:在电容或电感元件的属性里有一项ic设置,默认未设置(undef),设置其为想要的值即可;3.器件编辑可实现批量编辑功能,至需要选中待编辑器件,双击任一选中器件即可批量编辑;。

Saber仿真软件入门教程解析

Saber仿真软件入门教程解析

SABER讲义第一章使用Saber Designer创建设计本教材的第一部分介绍怎样用Saber Design创建一个包含负载电阻和电容的单级晶体管放大器。

有以下任务:*怎样使用Part Gallery来查找和放置符号*怎样使用Property Editor来修改属性值*怎样为设计连线*怎样查找一些常用模板在运行此教材前,要确认已正确装载Saber Designer并且准备好在你的系统上运行(找系统管理员)。

注:对于NT鼠标用户:两键鼠标上的左、右键应分别对应于本教材所述的左、右键鼠标功能。

如果教材定义了中键鼠标功能,还介绍了完成该任务的替代方法。

一、创建教材目录你需要创建两个目录来为你所建立的单级放大器电路编组数据。

1. 创建(如有必要的话)一个名为analogy_tutorial的目录,以创建教材实例。

2. 进入analogy_tutorial目录。

3. 创建一个名为amp的目录。

4. 进入amp目录。

二、使用Saber Sketch创建设计在这一部分中,你将使用Saber Sketch设计一个单级晶体管放大器。

1. 调用Saber Sketch(Sketch),将出现一个空白的原理图窗口。

2. 按以下方法为设计提供名称3) 通过选择File>Save As …菜单项,存储目前空白的设计。

此时将出现一个Save Schematic As对话框,如图1所示。

图 12) 在File Name字段输入名称Single_amp。

3) 单击OK。

3. 检查Saber Sketch工作面1)将光标置于某一图符上并保持在那里。

会显示一个文字窗口来识别该图符。

在工作面底部的Help字段也可查看有关图符的信息2)注意有一个名为Single_amp的Schematic窗口出现在工作面上。

三、放置部件在教材的这一部分你将按图2所示在原理框图上放置符号。

图中增加了如r1、r2等部件标号以便参照。

图 2 单级晶体管放大器部件布局1.按以下方式查找和放置npn晶体管符号:1) 单击Parts Gallery图符出现Parts Gallery对话框,如图3所示。

Saber所有模块说明

Saber所有模块说明

Saber主要软件模块功能说明产品编号:6771-0说明:SaberSketch原理图输入工具所需模块:功能:∙所有建模工具,包括二极管、MOSFET、磁性器件,图表建模等∙与其他软件的接口,如SIMULINK、ModelSim、cadence、mentorSaber Sketch是Saber的原理图输入工具,通过它可以直接进入Saber仿真引擎。

在Saber Sketch中,用户能够创建自己的原理图,起动Saber完成各种仿真,可以直接在原理图上察看仿真结果。

Saber Sketch及仿真功能可以帮助用户完成混合信号、混合技术(电气、机械、液压、气动、控制等)系统的仿真分析。

Saber Sketch中的原理图可以输出成多种标准图形格式,用于报告、设计审阅或创建文档。

Saber提供了多种建模工具,磁性器件建模工具可以帮助建立电感、绕组、变压器等的模型;StateAMS可以用状态机方法建模;二极管,MOSFET、IGBT建模工具帮助建立自己的模型与其他软件的接口,如数字仿真器ModelSim、cadence、mentor,信号流仿真工具SIMULINK 等的接口扩充了Saber的应用。

产品编号:6770-0说明:Saber® Mixed-Signal SimulatorSaber®混合信号仿真器(包括CosmosScope)所需模块:功能:∙MAST®模拟硬件描述语言(HDL)∙SaberGuide™交互式仿真环境∙NSPITOS−SPICE(2G6)到Saber网表的转换器∙实时仿真工具∙故障状态分析(FMEA)工具∙直流传输特性∙直流工作点分析∙瞬态分析∙交流小信号分析∙打印机绘图仪驱动程序∙参数替换与参数扫描∙提取内部模型参数Extract∙SaberBook 在线文档internal model parameters∙少量基本模板,如电阻、电容∙模型加密Saber混合信号仿真器提供了分析模拟及混合信号系统完整行为的方法,这些混合系统包括电子、机械、液压、气动、控制和含有其它技术的子系统,以及他们之间的相互作用。

Saber软件应用详细介绍

Saber软件应用详细介绍

Saber 软件简介Saber软件主要用于外围电路的仿真模拟,包括SaberSketch和SaberDesigner两部分。

SaberSketch用于绘制电路图,而SaberDesigner 用于对电路仿真模拟,模拟结果可在SaberScope和DesignProbe中查看。

Saber的特点归纳有以下几条:1.集成度高:从调用画图程序到仿真模拟,可以在一个环境中完成,不用四处切换工作环境。

2.完整的图形查看功能:Saber提供了SaberScope和DesignProbe来查看仿真结果,而SaberScope功能更加强大。

3.各种完整的高级仿真:可进行偏置点分析、DC分析、AC分析、瞬态分析、温度分析、参数分析、傅立叶分析、蒙特卡诺分析、噪声分析、应力分析、失真分析等。

4.模块化和层次化:可将一部分电路块创建成一个符号表示,用于层次设计,并可对子电路和整体电路仿真模拟。

5.模拟行为模型:对电路在实际应用中的可能遇到的情况,如温度变化及各部件参数漂移等,进行仿真模拟。

第一章用SaberSketch画电路图在SaberSketch的画图工具中包括了模拟电路、数字电路、机械等模拟技术库,也可以大致分成原有库和自定义库。

要调用库,在Parts Gallery中,通过对库的描述、符号名称、MAST模板名称等,进行搜索。

画完电路图后,在SaberSketch界面可以直接调用SaberGuide对电路进行模拟,SaberGuide的所有功能在SaberSketch中都可以直接调用。

➢启动SaberSketchSaberSketch包含电路图和符号编辑器,在电路图编辑器中,可以创建电路图。

如果要把电路图作为一个更大系统的一部分,可以用SaberSketch将该电路图用一个符号表示,作为一个块电路使用。

启动SaberSketch:▲UNIX:在UNIX窗口中键入 Sketch▲Windows NT:在SaberDesigner程序组中双击SaberSketch图标下面是SaberSketch的用户界面及主要部分名称,见图1-1:退出SaberSketch用 File>Exit。

saber中文手册

saber中文手册

第一章使用Saber Designer创建设计本教材的第一部分介绍怎样用Saber Design创建一个包含负载电阻和电容的单级晶体管放大器。

有以下任务:*怎样使用Part Gallery来查找和放置符号*怎样使用Property Editor来修改属性值*怎样为设计连线*怎样查找一些常用模板在运行此教材前,要确认已正确装载Saber Designer并且准备好在你的系统上运行(找系统管理员)。

注:对于NT鼠标用户:两键鼠标上的左、右键应分别对应于本教材所述的左、右键鼠标功能。

如果教材定义了中键鼠标功能,还介绍了完成该任务的替代方法。

一、创建教材目录你需要创建两个目录来为你所建立的单级放大器电路编组数据。

1. 创建(如有必要的话)一个名为analogy_tutorial的目录,以创建教材实例。

2. 进入目录。

3. 创建一个名为amp的目录。

4. 进入amp目录。

二、使用Saber Sketch创建设计在这一部分中,你将使用Saber Sketch设计一个单级晶体管放大器。

1. 调用Saber Sketch(Sketch),将出现一个空白的原理图窗口。

2. 按以下方法为设计提供名称3) 通过选择File>Save As …菜单项,存储目前空白的设计。

此时将出现一个Save Schematic As对话框,如图1所示。

图 12) 在File Name字段输入名称Single_amp。

3) 单击OK。

3. 检查Saber Sketch工作面1) 将光标置于某一图符上并保持在那里。

会显示一个文字窗口来识别该图符。

在工作面底部的Help字段也可查看有关图符的信息2) 注意有一个名为Single_amp的Schematic窗口出现在工作面上。

三、放置部件在教材的这一部分你将按图2所示在原理框图上放置符号。

图中增加了如r1、r2等部件标号以便参照。

图 2 单级晶体管放大器部件布局1. 按以下方式查找和放置npn晶体管符号:1) 单击Parts Gallery图符出现Parts Gallery对话框,如图3所示。

SABER实践教程(关于saber在电源仿真中的几个技巧)

SABER实践教程(关于saber在电源仿真中的几个技巧)

1,知道了传递函数,如何得出bode图?2,如何测量波形的THD、PF值以及各次谐波?3,测电压、电流各种方法小结。

4,实现变压器的功能:耦合电感的用法。

(技巧分享就到此了,有什么问题可留言,推荐去看看107楼的内容)刚才Q上有人问我关于混合仿真的,这里增加个:5,控制系统与模拟系统下的混合仿真。

比如说现在要画下面传递函数的bode图:首先,在saber的搜索栏里输入“tf_rat”,出来如下图:可以选择第一个:两个串联即可,如下图:这样就实现了上面的传递函数。

这里的source需要用到控制系统下的,可搜“c_sin”,选择第一个,如下:当然了,不一定非要这个,因为可以通过接口转换来实现,这是后话。

关于tf_rat的设置如下:这样就实现了函数:1/(s+1)最后的连接图:先netlist再DC分析然后小信号分析,看下面设置:最后的bode图:至此,bode图已经画出来了,很简单哈,剩下的就是自己去分析了~这里附上上面仿的附件,方便下载。

双击轴线,AXIS ATTRIBUTE对话框里的GRID increment可以调制轴线等分间距!!路径中不能有中文,要在全英文下看波形可以放大的,选中托一下即可。

要恢复回来,按下面按钮:不错,既然你仿出来了,你再试试这个传递函数哈:怎么跟上图差不多呢关于区别,你看看:这样看就出来区别了,哈哈怎么把两个波形放在同一个图中的?讲讲波形计算器吧,比如如何把某一个电流扩大十倍,电压扩大十倍便找个简单的电流扩大十20倍的小例子这是一个电流波形,点出计算器来点击图形右侧的电流标号i(l.lr),标号呈现白色表示选中,然后在计算器光标处左键按一下,右键再按一下,至此i(l.lr)添加到计算器中了。

其次在光标处输出20*,再次输入内容的话,以前的内容自动清除,从而计算器自动生成了i(l.lr)*20,这样计算器完成了计算。

计算其中delete为删除键。

最后点击Δ左边的绿色波形图,电流扩大十倍后如下图所示在saber,常用的电容就一种,可以不分极性的,如下:,如何测量波形的THD、PF值以及各次谐波在PFC的仿真以及并网逆变中,经常需要测量波形的THD,PF值,看各次谐波的大小。

saber使用操作

saber使用操作

1.翻转元件:选中该元件(可选多个),按R键,可实现90度翻转。

2.电容或电感初始电压或电流值设置:在电容或电感元件的属性里有一项ic设置,默认未设置(undef),设置其为想要的值即可。

3.Saber中,设置元件属性时,不能带任何单位符号,如电阻的“Ω”,电压的“V”,时间的“S”等,否则saber会报错。

4.Saber中,仿真文件名不能和元件库中的元件同名,否则会报错。

5.Saber中,原理图名称最好不要与路径名中有重复,否则会报错。

6.原理图放大或缩小:按“page up”或“page down”即可7.局部放大显示波形:直接拖动鼠标放大,或按“page up”即可8.恢复波形显示原始大小:按“page down”,或在右键菜单里点“zoom →to fit”即可9.按鼠标中键可拖动整个原理图包括波形显示图。

10.波形高级分析:①.双击波形图标,进入cosmosScooe 窗口界面,②.点击tools →measurement tool 显示measurement 窗口,③.点击measurement 窗口的measurement 后面的按钮,默认为At X 按钮,④.共有general 、time domain 、levels 、statistics 、RF 共5个可设置项,分别说明如下:*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***A.general(综合)设置,共有14 个参数:*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***At X :显示X轴Y轴参数At Y :只显示X轴参数Delta X :测量X轴任意两点间的时间,单位:SDelta Y :测量Y轴任意两点间的电压,单位:V(电压有方向)Length :测量Y轴任意两点间的电压,单位:V(电压无方向,取绝对值)Slope :测量斜坡???Local max/min :局部最大、最小测量Crossing :交叉Horizontal level :水平测量线Vertical level :垂直测量线Vertical cursor :垂直测量指针Point marker :波形任意单个点数据测量Point to point :波形任意两点间综合测量Vertical marker :垂直测量线*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***B.time domain(时频)设置,共有14 个参数:*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***falltime :测量脉冲下降时间risetime :测量脉冲上升时间slew rate :脉冲从0上升到最大值所需的时间period :测量脉冲周期frequency :测量脉冲频率fulse width :测量脉冲频率delay :测量脉冲延迟时间overshoot :测量脉冲正峰值undershoot :测量脉冲负峰值settle time :测量脉冲稳定时间eye diagram :*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***C.levels 设置,共11 个测量参数*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***maximum :波形最大值minimum :波形最小值x at maximum :最大值出现时间x at minimum :最小值出现时间peak to peak :脉冲峰–峰值topline :脉冲群顶线base line :脉冲群基线amplitude :脉冲振幅(0 ~ 正最大值)arerage :脉冲直流平均值(包括脉冲负值)RMS :脉冲直流均方根值(正平均值)AC coupled RMS :脉冲交流有效值*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***D.statistics(统计)设置,共13 个测量参数*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***maximum :波形最大值minimum :波形最小值rangl :脉冲峰–峰值mean :脉冲直流平均值(包括脉冲负值)median :中线值standard deviation :标准背离mean +3 std_dev :mean -3 std_dev :histogram :直方图。

绿山xsaber模块操作手册

绿山xsaber模块操作手册
balancegain平衡增益bandpassfiltering带通滤波datumstatics基准面静校正topmuting顶部切除linearmoveout线性动校正美国绿山地球物理公司xsaber用户使用手册美国绿山地球物理公司xsaber用户使用手册bandpassfiltering带通滤波在tracedisplay道显示窗口点击processingparameters处理参数按钮并选择tracepreprocessing道预处理参数列表栏对地震道进行butterworth带通滤波的参数设置
3. Batch Picking 批量拾取
你应该用少量的炮点记录来测试你的道预处理和图像预处理的参数设置。查看工区内不同地区的 炮点记录,查看初至参数去除初至到达前噪音的效果及初至趋势增强效果如何。你可以在 Trace Display(道显示)窗口中使用导航工具,或者在 Fold Plot (覆盖显示)窗口按下 shift 键并 在一个特定炮点处点击鼠标左键,以获取不同的炮点记录。用同一参数设置将一个真实的地震测 线上每一炮点记录转化为一个良好的可进行拾取的位图,是不可想象的。你只需要调整此设置并 进行足够多的点校验,以确认你的参数对多数炮点记录是否也能得到合理结果。
在 XSaber 中,我们决心使用一个不同的方法以处理拾取初至问题。我们不再看地震道的属 性,而是试图简化此问题。人眼对于识别线性趋势的图像很擅长。经过一定的对数据准备, 计算机边缘检测的算法已经证明是很成熟的。XSaber 使用多种图像处理技术以加强和分离 出地震记录的初至。
Method 方法
XSaber 将地震炮点记录转化为灰度位图图像。每一道代表位图中的一列像素。图像中每一 个样点像素值代表着原始地震道样点上的瞬时振幅,标准化为 0 到 255。在将数据转化为位 图前,有一些标准化地震处理技巧可以先应用于炮点记录,以极大地改进这一转换过程。 XSaber 在转换图像之前,可应用一些常规处理功能如滤波、振幅标定、初至切除和应用静 校正。

SABER 环路计算,补偿和仿真

SABER 环路计算,补偿和仿真

BUCK 电路的环路计算,补偿和仿真Xia Jun 2010-8-14 本示例从简单的BUCK 电路入手,详细说明了如何进行电源环路的计算和补偿,并通过saber 仿真验证环路补偿的合理性。

一直以来,环路的计算和补偿都是开关电源领域的“难点”,很多做开关电源研发的工程师要么对环路一无所知,要么是朦朦胧胧,在产品的开发过程中,通过简单的调试来确定环路补偿参数。

而这种在实验室里调试出来的参数真的能满足各种实际的使用情况吗?能保证电源产品在高低温的情况下,在各种负载条件下,环路都能够稳定吗?能保证在负载跳变的情况下收敛吗?太多的未知数,这是产品开发的大忌。

我们必须明明白白的知道,环路的稳定性如何?相位裕量是多少?增益裕量是多少?高低温情况下这些值又会如何变化?在一些对动态要求非常严格的场合,我们如何折中考虑环路稳定性和动态响应之间的关系?有的放矢,通过明确的计算和仿真,我们的产品设计才是科学的,合理的,可靠的。

我们的目标是让产品经得起市场的检验,让客户满意,让自己放心。

一切从闭环系统的稳定性说起,在自动控制理论中,根据乃奎斯特环路稳定性判据,如果负反馈系统在穿越频率点的相移为180°,那么整个闭环系统是不稳定的。

很多人可能对这句话很难理解,虽然自动控制理论几乎是所有大学工科学生的必修课,可大部分是是抱着应付的态度的,学完就忘了。

那就再给大家讲解一下吧。

等式:V out=[Vin-V out*H(S)]*G(S)公式:Vout Vin G S ()1G S ()H S ()⋅+G(S)/(1+G(S)*H(S))就称之为系统的闭环传递函数,如果1+G(S)*H(S)=0,那么闭环系统的输出值将会无限大,此时闭环系统是不收敛的,也即是不稳定的。

G(S)*H(S)是系统的开环传递函数,当G(S)*H(S)=-1时,以S=j ω带入,即获得开环系统的频域响应为G(j ω)*H(j ω)=-1,此时频率响应的增益和相角分别为:gain =‖-1‖=1angle=tan -1(0/-1)=180°从上面的分析可以看出,如果扰动信号经过G(S)和H(S)后,模不变,相位改变180°,那么这个闭环系统就是不稳定的。

Saber中文使用教程之软件仿真流程

Saber中文使用教程之软件仿真流程

Saber中文使用教程之软件仿真流程(1)今天来简单谈谈 Saber 软件的仿真流程问题。

利用 Saber 软件进行仿真分析主要有两种途径,一种是基于原理图进行仿真分析,另一种是基于网表进行仿真分析。

前一种方法的基本过程如下:a. 在 SaberSketch 中完成原理图录入工作;b. 然后使用 netlist 命令为原理图产生相应的网表;c. 在使用 simulate 命令将原理图所对应的网表文件加载到仿真器中,同时在Sketch 中启动 SaberGuide 界面;d. 在 SaberGuide 界面下设置所需要的仿真分析环境,并启动仿真;e. 仿真结束以后利用 CosmosScope 工具对仿真结果进行分析处理。

在这种方法中,需要使用 SaberSketch 和 CosmosScope 两个工具,但从原理图开始,比较直观。

所以,多数 Saber 的使用者都采用这种方法进行仿真分析。

但它有一个不好的地方就是仿真分析设置和结果观察在两个工具中进行,在需要反复修改测试的情况下,需要在两个窗口间来回切换,比较麻烦。

而另一种方法则正好能弥补它的不足。

基于网表的分析基本过程如下:a. 启动 SaberGuide 环境,即平时大家所看到的 Saber Simulator 图标,并利用 load design 命令加载需要仿真的网表文件 ;b. 在 SaberGuide 界面下设置所需要的仿真分析环境,并启动仿真;c. 仿真结束以后直接在 SaberGuide 环境下观察和分析仿真结果。

这种方法要比前一种少很多步骤,并可以在单一环境下实现对目标系统的仿真分析,使用效率很高。

但它由于使用网表为基础,很不直观,因此多用于电路系统结构已经稳定,只需要反复调试各种参数的情况;同时还需要使用者对 Saber 软件网表语法结构非常了解,以便在需要修改电路参数和结构的情况下,能够直接对网表文件进行编辑。

saber使用方法截图

saber使用方法截图

仿真开始按钮:
想看电流时需要添加电流表
对波形的结果进行分析:
然后进入下一页面:
即可选择所想要进行的操作:
选择后显示的界面如下:
进入元器件库后,点击search,即可搜索所想要的元器件了
平时我们测量到的是电压,而如想测量其他量,如电流,则还必须进行设置:
下一界面设置:
切换到through
在进行小信号分析前必须先进行直流工作点分析,否则会报错,因为软件无法确定该系统的
直流工作点
每次仿真结束后,总是跳出多个图形文件,本身只需当前仿真的那一个文件,而实际上却跳出多个,这个时候可以设置如下:
当同时在不同界面中打开了相同的文件中,则会显示如下错误:。

Saber软件应用详细介绍

Saber软件应用详细介绍

S a b e r软件简介Saber软件主要用于外围电路的仿真模拟,包括SaberSketch和SaberDesigner两部分。

SaberSketch用于绘制电路图,而SaberDesigner用于对电路仿真模拟,模拟结果可在SaberScope和DesignProbe中查看。

Saber的特点归纳有以下几条:1.集成度高:从调用画图程序到仿真模拟,可以在一个环境中完成,不用四处切换工作环境。

2.完整的图形查看功能:Saber提供了SaberScope和DesignProbe来查看仿真结果,而SaberScope功能更加强大。

3.各种完整的高级仿真:可进行偏置点分析、DC分析、AC分析、瞬态分析、温度分析、参数分析、傅立叶分析、蒙特卡诺分析、噪声分析、应力分析、失真分析等。

4.模块化和层次化:可将一部分电路块创建成一个符号表示,用于层次设计,并可对子电路和整体电路仿真模拟。

5.模拟行为模型:对电路在实际应用中的可能遇到的情况,如温度变化及各部件参数漂移等,进行仿真模拟。

第一章用SaberSketch画电路图在SaberSketch的画图工具中包括了模拟电路、数字电路、机械等模拟技术库,也可以大致分成原有库和自定义库。

要调用库,在Parts Gallery中,通过对库的描述、符号名称、MAST模板名称等,进行搜索。

画完电路图后,在SaberSketch界面可以直接调用SaberGuide对电路进行模拟,SaberGuide的所有功能在SaberSketch中都可以直接调用。

启动SaberSketchSaberSketch包含电路图和符号编辑器,在电路图编辑器中,可以创建电路图。

如果要把电路图作为一个更大系统的一部分,可以用SaberSketch将该电路图用一个符号表示,作为一个块电路使用。

启动SaberSketch:▲UNIX:在UNIX窗口中键入 Sketch▲Windows NT:在SaberDesigner程序组中双击SaberSketch图标下面是SaberSketch的用户界面及主要部分名称,见图1-1:退出SaberSketch用 File>Exit。

saber仿真软件tdsa模块使用说明

saber仿真软件tdsa模块使用说明

saber仿真软件tdsa模块使⽤说明tdsa tdsa (MX-Scan)Associated Symbols:tdsaLicense Requirements:MODEL_SYNTHESISPart Category:Analog Model Synthesis Templates Related Topics:Analog Model Synthesis Overview Functional DescriptionThe tdsa template uses sine wave stimulus techniques to obtain phase and gain information for a large-signal circuit. You connect the output as a source for the design under test, and the input to the output of the design. When you run a transient analysis, tdsa simulates the design, measures its output, and calculates phase and gain information, which it stores in a plot file. It also offers an optional bandpass input filter, and includes a source for a standard AC analysis.Template Description SectionsConnection PointsSymbol PropertiesPost-Processing InformationModel DescriptionUsage NotesExampletdsa Connection PointsName Type Descriptionoutp electrical positive output of sinusoidal source outm electrical negative output of sinusoidal source inp electrical positive input for measurements inm electrical negative input for measurements enbl logic_4enable input for frequency sweepMX Scan (tdsa)tdsa tdsa Symbol PropertiesPropertyprimitive Description:This symbol calls the templatetdsa. The template will create anAC or complex plot file for thecircuit under test during atransient analysis. This is notmeant to replace the standard ACanalysis, but to allow AC resultsto be obtained for circuits thatwill not work with the standardAC analysis. An example isswitching circuits.file, analyses with looping (suchas vary and mc) will not functionas expected. Only the AC dataobtained from the last loop will bein the plot file created by the tdsatemplate.ref Description:Suffix appended to a template name that uniquely identifies apart in a schematic.Default: If not specified will be assignedby Schematic Capture ToolExampleCan be any alpha-numeric stringInput:fbegin Description:Starting frequency value for the frequency sweep. A value isrequired and it must be > 0.Default (units):value required (Hz)ExampleInput:100fend Description:Ending frequency value for the frequency sweep. A value isrequired and it must be > 0.Default (units):value required (Hz)ExampleInput:10kpfile Description:Name of the plot file created by tdsa template. File identifier(suffix) identifying AC plot fileshowing the frequency responsedetermined by tdsa.ac_tdsaExample Input: Can be any alpha-numeric string in quotes. ac_1 Plot file generated: design.ac_1 Propertytdsa ampl Description:Peak amplitude of output sinewave relative to DC offset.Default (units): 100m (V)ExampleInput:200moffset Description:Offset voltage of the outputwaveform.Default (units): 0 (V)ExampleInput:2npoints Description:Number of frequency steps totake during the frequency sweepfrom fbegin to fend. Must be aninteger > 0.Default (units): 100 (—)Example Input: 200Propertymode Description:Type of frequency sweep to beperformed.Default (units):logswp (—)Values:linswp Linear spacing offrequency points. All points areequally spaced from fbegin tofrequency points. All points areequally spaced on a log scale.rlogswp1-log base 10 spacing offrequency points. Distribution ofpoints is weighted toward fendon a log scale.Example Input:logswpPropertytdsa max_err Description:Maximum error allowed for writing data to the plot file andgoing to the next frequency pointin the sweep. Error is calculatedfor gain and phase and both mustbe less then max_err to continueon to next frequency point. Mustbe > 0.Default (units): 0.01 (—)ExampleInput:0.005max_nper Description:Maximum number of periods allowed before switching to thenext frequency point, even if theerror is larger then max_err.Data gets written to the plot fileand a warning is sent to thescreen. Must be an integer >= 3.Default (units): 30 (—)Example Input: 40Proprequired before switching to thenext frequency even if the error isless than max_err. Must beinteger >= 3 and < max_nper.Default (units): 3 (—)ExampleInput:4min_tspp Description:Minimum number of time steps taken during a period. Forcircuits with very little switchingyou need to insure a reasonablenumber of time steps are takenper period. Must be >= 20. Thisaffects the accuracy of the phaseinformation obtained. A largernumber increases the accuracybut can slow down the simulation.Default (units): 40 (—)Example Input: 35Propertytdsa a0 Description:The gain of the input bandpass filter. Can be positive or negativeif you want to invert the inputsignal.Default (units): 1 (—)ExampleInput:1q0 Description:The quality factor of the input bandpass filter. A larger valuequality factor effects thebandwidth of the filter as well asthe settling time.Quality = Center Frequency/BandWidthDefault (units): 10 (—)Example Input: 10Propertyfilter Description:The input signal can be ran through a second order bandpassfilter. The gain and qualityfactors are controlled by theparameters a0 and q0. The centerfrequency of the filter changes asthe frequency is swept fromfbegin to fend. For circuits withswitching and/or Non-linearcomponents the prefilter shouldbe used to filter out unwantedharmonics. If the circuit undertest already has filtering then useof the input filter is optional.Default (units): yes (—)Values: yes(Filter the input signal)no(Do not Filter the input signal)Example Input: noPropertyac Description:Specify parameters for a standard AC analysis.Input:1,0enbl_init Description:Used to internally enable thetdsa. If _1 is specified, then thetdsa will be enabled even thoughthe enable pin is not connected.Other values imply the tdsa isnot enabled. If the enable pin isconnected, then events on thatpin will override the effect of theinternal enable.Default: _1Values:_0 logic 0_1 logic 1_x logic x_z logic zExample Input: _xPropertytdsa Post Processing InformationName Type Units Descriptionvin V input differential voltage (vin =v(inp) - v(inm))vout V output differential voltage (vout =v(outp) - v(outm))gain_err V calculated gain error for the inputsignalphase_err rad calculated phase error for the inputsignalcycle_cnt—number of complete sine waveperiods taken to obtain a gain andphase error less than max_err tdsa_info—grouping of signals (vin, vout,tdsa Model DescriptionThe tdsa template uses sine wave stimulus techniques to obtain phase and gain information for a circuit. Note that output impedance is zero and input impedance is infinite. A sine wave from the output stimulates the circuit under test. The output response from the circuit under test is measured and phase, gain information are calculated.tdsa The on/off input is digital and turns a sweep on or off. Each time on/off goes high a new sweep is started. Keep in mind that any previous sweep data will be deleted. If you want to perform multiple sweeps you need to halt the simulation alter the pfile parameter of the tdsa template and then restart the simulation.To use the template connect the output of our source to the portion of the circuit under test that you want to stimulate. Then connect the input or measurement pins to the output of the circuit under test that you want the AC results for. If you leave the on/off input unconnected the sweep will start at the beginning of the tr analysis. Otherwise the sweep will start when on/off goes high.A set of signals have been grouped together under the name tdsa_info. These can be useful in determining what is actually happening during the tr analysis. Use the extraction command to extract these signals and view them after the tr analysis has completed.tdsa Usage NotesThe tdsa template is useful for performing an AC analysis in cases where the standard analysis techniques do not produce useful information (some examples are switching power supplies, sigma delta A/D converters, and mixed technology systems). The template has a set of output ports for simulating a design and a set of input ports for measuring the response of the design. It also has an enable port (labeled ON/OFF on the symbol) to which you can connect a device to control how and when it is enabled.During a transient (time domain) simulation, the template stimulates the design with a sine wave over a range of frequency points. For each frequency, it measures the output of the design and calculates the phase shift and gain. From the data points generated for all the frequencies it constructs a frequency response, which it writes to a plot file. Normally, good results can be produced for signal attenuation down to -80 dB.By adjusting the max_err, max_nper and min_nper arguments, you can instruct the tdsa template how to determine when and if it has a reliable response from the design and when to move on to the next frequency point. By setting the offset property value to match the steady-state voltage level of the circuit, you can maintain the design’s typical operating conditions while it is being simulated (tdsa detects a measurable response only when the signal from the circuit crosses this threshold value). When you invoke the simulator on a design that includes tdsa, or change the values of the properties of tdsa, it calculates the maximum and estimated TEnd (Time End) for the simulation, and alerts you with a message on the screen. As the simulation run proceeds, status messages tell you how much of the simulation period has elapsed. When you compare this to the “real”time that has elapsed, you can estimate how long it will take your computer to complete the entire simulation run. This is useful information (particularly for switched systems) for simulation runs that can take hours, depending on the switching frequency and the sweep arguments.tdsa Because a template is creating the plot file (rather than the simulator), the analyses with looping (such as “vary” or “Monte Carlo”) do not produce multi-segment signals in the plot file, unlike a plot file generated by the simulator. Only the AC data obtained from the last loop is recorded in the plot file created by tdsa. If you want to perform multiple frequency sweeps during the same simulation session, rename the plot files between sweeps to avoid overwriting the previously-generated one.The tdsa template automatically halts a simulation when the frequency sweep is completed. You can stop a sweep before the last frequency point is reached by using the enbl input (labeled ON/OFF on the symbol). If you do this, the simulation continues but stops taking measurements. The simulation also stops if tdsa cannot obtain valid results due to a lack of threshold crossings on the measurement input.Several tdsa arguments affect accuracy and simulation time: npoints determines how many frequency points will be measured. Increasing this value increases theresolution of the results, but also increasesimulation time.comparing it to the current phase and gain. Whenthe calculated measurement error is belowmax_err, data is written to the plot file and thenext frequency point is started.Large-signal systems may produce unwanted harmonics. You can use the bandpass filter to remove these unwanted harmonics from the input waveform. The filter automatically changes its center frequency to each frequency point during the sweep. The filter section uses a second-order filter of the form:max_nper and min_nper sets upper and lower bounds on the number of periods tdsa can continue generating a signal at a given frequency . If npoints is large, the error insome circuits will be less than max_err within 3 to4 periods. However, the phase and gain error is stillaffected by values from the previous frequency .Setting min_nper = 5 ensures that all the phaseand gain values used to calculate the phase andgain error are based on the current frequency value.The max_nper argument is supplied to help limitsimulation times. It overrides the max_errargument, causing the template to go to the nextfrequency , even if the calculated measurement erroris still too large.min_tspp sets minimum time steps per period, which affectsthe accuracy of the phase. Because tdsa calculatesphase information from zero crossings, the moretime steps per period, the more accurate the zerocrossing calculation. Increasing this number yieldsmore accurate phase information but slowssimulation. The default value of 40 gives goodresults for most circuits.tdsaThe arguments a0 and q0 let you control filter gain and quality, respectively. The bandwidth is determined by f0/q0, so a larger q0narrows the bandwidth, but increases the input settling time, which can increase simulation time. In some switched circuits, if the switching noise is large compared to the stimulus signal, a high q0 value can actually reduce simulation time. If you do not connect the enbl input (labeled ON/OFF on the symbol) and you set the argument enbl_init to a value of _1write any data to the plot file for that frequency point. If this occurs, a warning message is sent and the simulation proceeds to the next frequency point. This can happen if you set tdsa to take large frequency steps (a small npoints value) and/or you set the max_nper value too low. If tdsa skips three consecutive frequency points due to lack of threshold crossings, it assumes no valid phase and gain information can be obtained after that point, at which time it halts the simulation and alerts you with a warning message.。

浅谈Saber仿真步骤

浅谈Saber仿真步骤

浅谈Saber仿真步骤①绘制设计对象的电路。

 首先进人SaberSketch 界面,点击Part。

二响按钮,调出所需要的元器件。

寻找元件的方法有两种,可以通过Search String搜索,也可以双击Available Categorie中的Mast Parts Library项,在各类别中寻找。

 第二步编辑元器件属性,双击元器件即可编辑。

 第三步将各元器件连接。

得到原理图。

 如果电路图较复杂,则要为各分电路图创建符号,符号名要与电路图名一致,后缀为.Ai-sym。

符号要与电路或MAST 模板连接。

最后点击Design 菜单中的Netlist选项生成该设计的网络表。

点击Design 菜单中的Simulate 选项加载设计。

此后就可以进行仿真分析。

 ②电路分析。

 Saber 中主要有直流工作点分析、直流传递特性分析、时域分析、频域分析、线性系统分析、灵敏度分析、参数扫描分析、统计特性分析(蒙特卡罗分析等)、傅立叶变换。

其中,直流工作点分析要注意Holldnodes项的设置以及算法的选择;直流传递特性的分析要注意在某一电源变化时电路中的参数随电源的变化规律;交流小信号分析要注意number of points项设置;暂态分析要注意Run DAnalysis First 项,Allow IP=EP项,Initial Point File 的设置。

计算直流工作点,点击Analyses > Operating Point >DOperating Point…,确定后即开始分析。

通过Results>Operating Point Report…生成的报告可以看到直流分析结果。

 频域分析,点击Analyses >Frequency >Small-SignAC…,设定Start Frequency :0.1;End Frequency :1000;Number of Points:10000;Plot。

Saber仿真软件入门教程

Saber仿真软件入门教程

Saber仿真软件入门教程SABER讲义第一章使用Saber Designer创建设计本教材的第一部分介绍怎样用Saber Design创建一个包含负载电阻和电容的单级晶体管放大器。

有以下任务:*怎样使用Part Gallery来查找和放置符号*怎样使用Property Editor来修改属性值*怎样为设计连线*怎样查找一些常用模板在运行此教材前,要确认已正确装载Saber Designer并且准备好在你的系统上运行(找系统管理员)。

注:对于NT鼠标用户:两键鼠标上的左、右键应分别对应于本教材所述的左、右键鼠标功能。

如果教材定义了中键鼠标功能,还介绍了完成该任务的替代方法。

一、创建教材目录你需要创建两个目录来为你所建立的单级放大器电路编组数据。

1. 创建(如有必要的话)一个名为analogy_tutorial的目录,以创建教材实例。

2. 进入analogy_tutorial目录。

3. 创建一个名为amp的目录。

4. 进入amp目录。

二、使用Saber Sketch创建设计在这一部分中,你将使用Saber Sketch设计一个单级晶体管放大器。

1. 调用Saber Sketch(Sketch),将出现一个空白的原理图窗口。

2. 按以下方法为设计提供名称3) 通过选择File>Save As …菜单项,存储目前空白的设计。

此时将出现一个Save Schematic As对话框,如图1所示。

图 12) 在File Name字段输入名称Single_amp。

3) 单击OK。

3. 检查Saber Sketch工作面1)将光标置于某一图符上并保持在那里。

会显示一个文字窗口来识别该图符。

在工作面底部的Help字段也可查看有关图符的信息2)注意有一个名为Single_amp的Schematic窗口出现在工作面上。

三、放置部件在教材的这一部分你将按图2所示在原理框图上放置符号。

图中增加了如r1、r2等部件标号以便参照。

(完整版)Saber仿真软件介绍

(完整版)Saber仿真软件介绍

Saber 软件简介Saber软件主要用于外围电路的仿真模拟,包括SaberSketch和SaberDesigner两部分。

SaberSketch用于绘制电路图,而SaberDesigner 用于对电路仿真模拟,模拟结果可在SaberScope和DesignProbe中查看。

Saber的特点归纳有以下几条:1.集成度高:从调用画图程序到仿真模拟,可以在一个环境中完成,不用四处切换工作环境。

2.完整的图形查看功能:Saber提供了SaberScope和DesignProbe 来查看仿真结果,而SaberScope功能更加强大。

3.各种完整的高级仿真:可进行偏置点分析、DC分析、AC分析、瞬态分析、温度分析、参数分析、傅立叶分析、蒙特卡诺分析、噪声分析、应力分析、失真分析等。

4.模块化和层次化:可将一部分电路块创建成一个符号表示,用于层次设计,并可对子电路和整体电路仿真模拟。

5.模拟行为模型:对电路在实际应用中的可能遇到的情况,如温度变化及各部件参数漂移等,进行仿真模拟。

第一章用SaberSketch画电路图在SaberSketch的画图工具中包括了模拟电路、数字电路、机械等模拟技术库,也可以大致分成原有库和自定义库。

要调用库,在Parts Gallery中,通过对库的描述、符号名称、MAST模板名称等,进行搜索。

画完电路图后,在SaberSketch界面可以直接调用SaberGuide对电路进行模拟,SaberGuide的所有功能在SaberSketch中都可以直接调用。

➢启动SaberSketchSaberSketch包含电路图和符号编辑器,在电路图编辑器中,可以创建电路图。

如果要把电路图作为一个更大系统的一部分,可以用SaberSketch将该电路图用一个符号表示,作为一个块电路使用。

启动SaberSketch:▲UNIX:在UNIX窗口中键入Sketch▲Windows NT:在SaberDesigner程序组中双击SaberSketch图标下面是SaberSketch的用户界面及主要部分名称,见图1-1:退出SaberSketch用File>Exit。

Saber仿真新手入门就看这几步(经典)

Saber仿真新手入门就看这几步(经典)

Saber仿真新⼿⼊门就看这⼏步(经典)Saber2011仿真步骤1.画好原理图。

例如:2.保存,格式命为XX.ai_sch3.DC⼯作点分析,主要是求解系统的静态⼯作点,为其他分析提供初始值。

设置如下:采样点密度进度显⽰控制调试释放保留点⾃动显⽰结果结束⽂件是否使⽤初始条4.瞬态(transient)分析(时域分析),瞬态分析⽤于检验系统的时域特性,此分析通常从静态⼯作点开始。

但对于⾃激振荡电路应从零时刻开始:结束时间时间步长显⽰进度先运⾏DC分析5.显⽰瞬态分析结果:点击Results > Operating Point Report,弹出:下划线可以减少空间点击Design > Back-Annotate > Place Across Values,查看每个点的电压值。

6.在设计⽂件中放探头(probe)查看时域波形:在原理图的连线上点击右键,选择probe,就会弹出⼀个⽅框显⽰各点波形,拖动箭头可以显⽰各点的波形(电压---时间)。

7.交流⼩信号分析:点击OK后将会弹出CosmosScope窗⼝双击每个点将会显⽰波形,例如双击n_1得到下图:8.测量波形中每个点的值;还是在CosmosScope窗⼝的左下⽅单击,将会弹出:单击可以显⽰所测的项⽬。

9.参数变化时,为每个电阻值分析:直流⼯作点分析,瞬态分析,⼩信号分析。

下⾯以三极管的发射极电阻(re)变化时的分析举例:在saber sketch窗⼝中单击,显⽰:单击上⾯对话框中的显⽰窗⼝应更改后的对话框如下:后单击Accept,回到Looping Commands中单击选择Within Loop(s)> Transient显⽰下窗⼝:点击弹出:只需要修改InputOut的参数,所以点击并修改参数后如下所⽰:然后点击Accept.回到Looping Commands对话框中单击显⽰如下:只需要修改InputOutput,修改后如下:点击Accept,后点击OK10.显⽰参数扫描结果a.打开CosmosScope窗⼝,点击清除先前的波形;b.关掉先前的XX.vary_ac.ai_pl窗⼝;c.从Signal Manager中单击在新的对话框中按Shift键选择后点击“打开”,显⽰:后选择下的各点显⽰波形:可以从上图中删除(DEG):F(Hz)图形,剩下就是我们需要的图形:d.双击XX.vary_tr.ai_pl中的每个点,(V):t(s)图形也将会显⽰在Graph中。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

tdsa tdsa (MX-Scan)Associated Symbols:tdsaLicense Requirements:MODEL_SYNTHESISPart Category:Analog Model Synthesis Templates Related Topics:Analog Model Synthesis Overview Functional DescriptionThe tdsa template uses sine wave stimulus techniques to obtain phase and gain information for a large-signal circuit. You connect the output as a source for the design under test, and the input to the output of the design. When you run a transient analysis, tdsa simulates the design, measures its output, and calculates phase and gain information, which it stores in a plot file. It also offers an optional bandpass input filter, and includes a source for a standard AC analysis.Template Description SectionsConnection PointsSymbol PropertiesPost-Processing InformationModel DescriptionUsage NotesExampletdsa Connection PointsName Type Descriptionoutp electrical positive output of sinusoidal source outm electrical negative output of sinusoidal source inp electrical positive input for measurements inm electrical negative input for measurements enbl logic_4enable input for frequency sweepMX Scan (tdsa)tdsa tdsa Symbol PropertiesPropertyprimitive Description:This symbol calls the templatetdsa. The template will create anAC or complex plot file for thecircuit under test during atransient analysis. This is notmeant to replace the standard ACanalysis, but to allow AC resultsto be obtained for circuits thatwill not work with the standardAC analysis. An example isswitching circuits.WARNING! Since a template andnot the simulator creates the plotfile, analyses with looping (suchas vary and mc) will not functionas expected. Only the AC dataobtained from the last loop will bein the plot file created by the tdsatemplate.ref Description:Suffix appended to a templatename that uniquely identifies apart in a schematic.Default: If not specified will be assignedby Schematic Capture ToolExampleCan be any alpha-numeric stringInput:fbegin Description:Starting frequency value for thefrequency sweep. A value isrequired and it must be > 0.Default (units):value required (Hz)ExampleInput:100fend Description:Ending frequency value for thefrequency sweep. A value isrequired and it must be > 0.Default (units):value required (Hz)ExampleInput:10kpfile Description:Name of the plot file created bytdsa template. File identifier(suffix) identifying AC plot fileshowing the frequency responsedetermined by tdsa.Default(units):ac_tdsaExample Input: Can be any alpha-numeric string in quotes. ac_1 Plot file generated: design.ac_1Propertytdsa ampl Description:Peak amplitude of output sinewave relative to DC offset.Default (units): 100m (V)ExampleInput:200moffset Description:Offset voltage of the outputwaveform.Default (units): 0 (V)ExampleInput:2npoints Description:Number of frequency steps totake during the frequency sweepfrom fbegin to fend. Must be aninteger > 0.Default (units): 100 (—)Example Input: 200Propertymode Description:Type of frequency sweep to beperformed.Default (units):logswp (—)Values:linswp Linear spacing offrequency points. All points areequally spaced from fbegin tofend.logswp Log base 10 spacing offrequency points. All points areequally spaced on a log scale.rlogswp1-log base 10 spacing offrequency points. Distribution ofpoints is weighted toward fendon a log scale.Example Input:logswpPropertytdsa max_err Description:Maximum error allowed forwriting data to the plot file andgoing to the next frequency pointin the sweep. Error is calculatedfor gain and phase and both mustbe less then max_err to continueon to next frequency point. Mustbe > 0.Default (units): 0.01 (—)ExampleInput:0.005max_nper Description:Maximum number of periodsallowed before switching to thenext frequency point, even if theerror is larger then max_err.Data gets written to the plot fileand a warning is sent to thescreen. Must be an integer >= 3.Default (units): 30 (—)Example Input: 40Propertymin_nper Description:Minimum number of periodsrequired before switching to thenext frequency even if the error isless than max_err. Must beinteger >= 3 and < max_nper.Default (units): 3 (—)ExampleInput:4min_tspp Description:Minimum number of time stepstaken during a period. Forcircuits with very little switchingyou need to insure a reasonablenumber of time steps are takenper period. Must be >= 20. Thisaffects the accuracy of the phaseinformation obtained. A largernumber increases the accuracybut can slow down the simulation.Default (units): 40 (—)Example Input: 35Propertytdsa a0 Description:The gain of the input bandpassfilter. Can be positive or negativeif you want to invert the inputsignal.Default (units): 1 (—)ExampleInput:1q0 Description:The quality factor of the inputbandpass filter. A larger valuewill cause longer settling timesand longer simulations. Thequality factor effects thebandwidth of the filter as well asthe settling time.Quality = Center Frequency/BandWidthDefault (units): 10 (—)Example Input: 10Propertyfilter Description:The input signal can be ranthrough a second order bandpassfilter. The gain and qualityfactors are controlled by theparameters a0 and q0. The centerfrequency of the filter changes asthe frequency is swept fromfbegin to fend. For circuits withswitching and/or Non-linearcomponents the prefilter shouldbe used to filter out unwantedharmonics. If the circuit undertest already has filtering then useof the input filter is optional.Default (units): yes (—)Values: yes(Filter the input signal)no(Do not Filter the input signal)Example Input: noPropertyac Description:Specify parameters for a standardAC analysis.Default (units): [mag=1,phase=0] (V, degrees)ExampleInput:1,0enbl_init Description:Used to internally enable thetdsa. If _1 is specified, then thetdsa will be enabled even thoughthe enable pin is not connected.Other values imply the tdsa isnot enabled. If the enable pin isconnected, then events on thatpin will override the effect of theinternal enable.Default: _1Values:_0 logic 0_1 logic 1_x logic x_z logic zExample Input: _xPropertytdsa Post Processing InformationName Type Units Descriptionvin V input differential voltage (vin =v(inp) - v(inm))vout V output differential voltage (vout =v(outp) - v(outm))gain_err V calculated gain error for the inputsignalphase_err rad calculated phase error for the inputsignalcycle_cnt—number of complete sine waveperiods taken to obtain a gain andphase error less than max_err tdsa_info—grouping of signals (vin, vout,gain_err, phase_err,cycle_cnt)tdsa Model DescriptionThe tdsa template uses sine wave stimulus techniques to obtain phase and gain information for a circuit. Note that output impedance is zero and input impedance is infinite. A sine wave from the output stimulates the circuit under test. The output response from the circuit under test is measured and phase, gain information are calculated.tdsa The on/off input is digital and turns a sweep on or off. Each time on/off goes high a new sweep is started. Keep in mind that any previous sweep data will be deleted. If you want to perform multiple sweeps you need to halt the simulation alter the pfile parameter of the tdsa template and then restart the simulation.To use the template connect the output of our source to the portion of the circuit under test that you want to stimulate. Then connect the input or measurement pins to the output of the circuit under test that you want the AC results for. If you leave the on/off input unconnected the sweep will start at the beginning of the tr analysis. Otherwise the sweep will start when on/off goes high.A set of signals have been grouped together under the name tdsa_info. These can be useful in determining what is actually happening during the tr analysis. Use the extraction command to extract these signals and view them after the tr analysis has completed.tdsa Usage NotesThe tdsa template is useful for performing an AC analysis in cases where the standard analysis techniques do not produce useful information (some examples are switching power supplies, sigma delta A/D converters, and mixed technology systems). The template has a set of output ports for simulating a design and a set of input ports for measuring the response of the design. It also has an enable port (labeled ON/OFF on the symbol) to which you can connect a device to control how and when it is enabled.During a transient (time domain) simulation, the template stimulates the design with a sine wave over a range of frequency points. For each frequency, it measures the output of the design and calculates the phase shift and gain. From the data points generated for all the frequencies it constructs a frequency response, which it writes to a plot file. Normally, good results can be produced for signal attenuation down to -80 dB.By adjusting the max_err, max_nper and min_nper arguments, you can instruct the tdsa template how to determine when and if it has a reliable response from the design and when to move on to the next frequency point. By setting the offset property value to match the steady-state voltage level of the circuit, you can maintain the design’s typical operating conditions while it is being simulated (tdsa detects a measurable response only when the signal from the circuit crosses this threshold value).When you invoke the simulator on a design that includes tdsa, or change the values of the properties of tdsa, it calculates the maximum and estimated TEnd (Time End) for the simulation, and alerts you with a message on the screen. As the simulation run proceeds, status messages tell you how much of the simulation period has elapsed. When you compare this to the “real” time that has elapsed, you can estimate how long it will take your computer to complete the entire simulation run. This is useful information (particularly for switched systems) for simulation runs that can take hours, depending on the switching frequency and the sweep arguments.tdsa Because a template is creating the plot file (rather than the simulator), the analyses with looping (such as “vary” or “Monte Carlo”) do not produce multi-segment signals in the plot file, unlike a plot file generated by the simulator. Only the AC data obtained from the last loop is recorded in the plot file created by tdsa. If you want to perform multiple frequency sweeps during the same simulation session, rename the plot files between sweeps to avoid overwriting the previously-generated one.The tdsa template automatically halts a simulation when the frequency sweep is completed. You can stop a sweep before the last frequency point is reached by using the enbl input (labeled ON/OFF on the symbol). If you do this, the simulation continues but stops taking measurements. The simulation also stops if tdsa cannot obtain valid results due to a lack of threshold crossings on the measurement input.Several tdsa arguments affect accuracy and simulation time: npoints determines how many frequency points will bemeasured. Increasing this value increases theresolution of the results, but also increasesimulation time.max_err sets the maximum allowable error of the phase and gain. It is calculated by keeping a running averageof the last 3 phase and gain measurements andcomparing it to the current phase and gain. Whenthe calculated measurement error is belowmax_err, data is written to the plot file and thenext frequency point is started.Large-signal systems may produce unwanted harmonics. You can use the bandpass filter to remove these unwanted harmonics from the input waveform. The filter automatically changes its center frequency to each frequency point during the sweep. The filter section uses a second-order filter of the form:max_nper and min_nper sets upper and lower bounds on the number of periods tdsa can continue generating a signal at a given frequency . If npoints is large, the error insome circuits will be less than max_err within 3 to4 periods. However, the phase and gain error is stillaffected by values from the previous frequency .Setting min_nper = 5 ensures that all the phaseand gain values used to calculate the phase andgain error are based on the current frequency value.The max_nper argument is supplied to help limitsimulation times. It overrides the max_errargument, causing the template to go to the nextfrequency , even if the calculated measurement erroris still too large.min_tspp sets minimum time steps per period, which affectsthe accuracy of the phase. Because tdsa calculatesphase information from zero crossings, the moretime steps per period, the more accurate the zerocrossing calculation. Increasing this number yieldsmore accurate phase information but slowssimulation. The default value of 40 gives goodresults for most circuits.tdsaThe arguments a0 and q0 let you control filter gain and quality, respectively. The bandwidth is determined by f0/q0, so a larger q0narrows the bandwidth, but increases the input settling time, which can increase simulation time. In some switched circuits, if the switching noise is large compared to the stimulus signal, a high q0 value can actually reduce simulation time.If you do not connect the enbl input (labeled ON/OFF on the symbol) and you set the argument enbl_init to a value of _1 (enabling tdsa), it initiates a frequency sweep at the beginning of a transient simulation. If you connect the enbl input, it controls when a sweep starts and stops.If no threshold crossings occur for the input signal at a given frequency, tdsa cannot obtain accurate AC data, and does not write any data to the plot file for that frequency point. If this occurs, a warning message is sent and the simulation proceeds to the next frequency point. This can happen if you set tdsa to take large frequency steps (a small npoints value) and/or you set the max_nper value too low. If tdsa skips three consecutive frequency points due to lack of threshold crossings, it assumes no valid phase and gain information can be obtained after that point, at which time it halts the simulation and alerts you with a warning message.。

相关文档
最新文档