LTSpice快捷键
最近在用 LTspice XVII 仿真电路时,收集了一些官方教程,都是比较基础且实用的教程,现按照类别整理一下并分享出来。后续将会对一些使用频次较高的功能做一些本地化教程。
另外,LTspice XVII 的下载和安装,本博客之前有相关的博文可供参考。下面分享一下 LTspice XVII 的官方教程。
一、LTspice XVII 基本功能
LTspice XVII 的基本功能主要包括快捷键使用、原理图的绘制、原理图或波形图标注功能、绘制电路的参数(电压、电流和功率等)波形,以及一些其他功能,包括噪声、有效值、平均值、波特图等等。
1.1 LTspice 快捷键的使用
LTspice 快捷键:LTspice: Keyboard Shortcuts
LTspice 非文档化快捷键:LTspice: Undocumented Shortcuts
LTspice 的快捷键主要有两部分:文档化的快捷键和非文档化的快捷键。
文档化的快捷键在Tools > Control Panel > Drafting Options界面下点击Hot Keys即可看到,可以根据使用习惯对快捷键进行编辑。
非文档化的快捷键,例如在波形图界面按着Alt 键并点击信号标签,即可在原理图界面看到对应的线高亮,增加了原理图和波形图之间的交互性。
1.2 LTspice 原理图绘制
LTspice 快速连线功能:LTspice: Connecting the Dots
LTspice 原理图之间的复制和粘贴功能:LTspice: Copy and Paste Between Schematics
LTspice 原理图或者波形图做标注:LTspice: Annotating Schematic & Waveform Plots
LTspice 原理图子电路的使用:LTspice: Combining Multiple Model Instances Into One Symbol
1.3 LTspice 仿真波形
LTspice 绘制参数波形:LTspice: Parametric Plots
LTspice 在带宽信号中整合噪声:LTspice: Integrating Noise Over a Bandwidth
LTspice 计算曲线的平均值或有效值:LTspice: Computing the Average or RMS Value of a Trace
LTspice 仿真开关电源的波特图:LTspice: Basic Steps in Generating a Bode Plot of SMPS
1.4 LTspice XVII 小技巧
LTspice 提高仿真速度的方法:LTspice: Speed Up Your Simulations
二、LTspice XVII 器件模型相关教程
LTspice 设置理想二极管:LTspice: Simple Idealized Diode
LTspice 设置变压器:LTspice: Simple Steps for Simulating Transformers
LTspice 设置脉冲模型:LTspice: Models of ISO 7637-2 & ISO 16750-2 Transients
LTspice 压控开关模型:LTspice: Voltage Controlled Switches
LTspice 设置恒定负载:LTspice: Modeling Constant Power Loads
LTspice 导入第三方器件模型:
LTspice 导入第三方器件模型是仿真中使用频率非常高的操作,官方给出了两种实现方法,可根据自己使用习惯任选一种,如果不清楚也可以看官方视频:
LTspice 导入第三方器件模型视频:LTspice: Adding Third-Party Models | Analog Devices
三、LTspice 信号源设置
LTspice 可以产生的信号源也多种多样,满足基本的仿真需求,包括常用的方波、正弦波、三角波和锯齿波,也可以根据需求设定周期性的电压源或电流源,并可以将相关参数导入导出。
LTspice 产生三角波和锯齿波:LTspice: Generating Triangular & Sawtooth Waveforms
LTspice 设置周期性电压源或者电流源:LTspice: Piecewise Linear Functions for Voltage & Current Sources
LTspice 导入导出 PWL 数据:LTspice: Importing & Exporting PWL Data
四、LTspice 命令相关教程
LTspice 内置命令众多,包括:
分析相关的.tran、.dc、.ac、.tf analysis、.op analysis、.noise,
加载模型相关的.lib、.inc、.include,
辅助分析相关的.step、.temp、.meas、.net、.four,
模拟初始状态相关的命令.ic、.nodeset、.savebias、.loadbias,
用户自定义的.param、.func,
网表相关的.global、.end、.ends,
以及一些其他命令。
LTspice STEP 命令 AC 分析:LTspice: AC Analysis Using The Step Command
LTspice STEP 命令执行多次仿真:LTspice: Using the .STEP Command to Perform Repeated Analysis
LTspice MEAS 和 STEP 命令计算效率:LTspice: Using .MEAS and .STEP Commands to Calculate Efficiency
五、LTspice 仿真实例
下面是 Analog 官方提供的一些 LTspice 仿真实例,都是针对特定应用的综合实例,比较有参考意义。
LTspice 仿真 SAR ADC 输入:LTspice: Simulating SAR ADC Analog Inputs
LTsipce 建模 NMOS 的工作范围:LTspice: Modeling Safe Operating Area Behavior of N-channel MOSFETs
LTspice 仿真瞬态响应:LTspice: Using Time-Dependent Exponential Sources to Model Transients
LTspice 绘制非时间轴的波形:LTSpice: Plotting a Parameter Against Something Other Than Time (e.g. Resistance)
LTspice 最恶劣情况分析:LTspice: Worst-Case Circuit Analysis with Minimal Simulations Runs
LTspice 仿真开关电源的环路增益:LTspice: Extracting Switch Mode Power Supply Loop Gain in Simulation and Why You Usually Don’t Need To
LTspice 热仿真:LTspice: SOAtherm Support for PCB and Heat Sink Thermal Models