# 二极管建模

二极管建模是电路分析中的一种实践，即用一组紧凑的数学方程来表示半导体二极管的电流—电压（I–V）特性、电荷存储和击穿行为，使电路仿真器能够求解。在 SPICE 类仿真器中，该模型产生用于稳态 I–V 曲线的非线性电流源、用于电荷存储的非线性电容以及击穿参数，全部通过 `.MODEL` 语句选定。<sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup> 紧凑模型保持精简，通常只有少量代数方程和常微分方程，因为仿真器的计算成本随电路规模增长；完整的 TCAD 器件仿真要慢几个数量级，几乎从不直接在电路仿真器内部使用。<sup>[2](https://www.osti.gov/servlets/purl/1592881)</sup>

| 关键事实 | 数值 |
|---|---|
| 核心正向方程 | \( I_{D} = I_{S}(e^{V_{D}/(n \cdot V_{T})} - 1) \)，含串联电阻 \( R_{S} \)<sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup> |
| SPICE 默认值 | IS = 1.0E−14 A，N = 1，RS = 0 Ω，TT = 0 s，CJO = 0 F，M = 0.5，VJ = 1 V<sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup> |
| 热电压 | 室温下 \( V_{T} \) = 26 mV<sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup> |
| 动态电阻 | \( r_{d} = n V_{T}/I_{D} \)；室温下 \( n = 1 \) 时，1 mA 处约为 25.8 Ω<sup>[3](https://ece.mcgill.ca/%7Egrober4/SPICE/SPICE_Decks/1st_Edition_LTSPICE/chapter3/Chapter%203%20Diodes%20web%20version.html)</sup> |
| 电力电子精度 | 即使参数最优拟合，BYT12-600 关断时反向电压峰值的误差仍约为 66%<sup>[4](https://hal.science/hal-00140095/file/IEEE_T-INEL_48-4_08-2001_0864_OnTheValidityOf.pdf)</sup> |
| 温度跟踪 | 已发表的 1N914A 表征在环境温度范围内的误差分布在 35% 至 98% 之间<sup>[5](https://wd8iel.com/wp-content/uploads/2024/12/QEX-Cardone-Final-Draft.pdf)</sup> |

## 工作原理

模型的稳态核心是肖克利方程（Shockley equation），\( I_{D} = I_{S}(e^{V_{D}/(n \cdot V_{T})} - 1) \)，其中 \( I_{S} \) 为饱和电流，\( V_{T} \) 为热电压（室温下 26 mV），\( n \) 为发射系数。在反向偏置下（\( V_{D} \ll 0 \)），电流趋近于 \( -I_{S} \)，即漏电流。<sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup> 严格来说，肖克利方程中 \( n = 1 \)，且仅适用于理想结；实际结的 \( n > 1 \)，室温下热电压为 25.8 mV。<sup>[6](https://iopscience.iop.org/article/10.1088/2399-6528/aa95e3)</sup> 发射系数反映了耗尽区的复合效应。<sup>[7](https://alan.ece.gatech.edu/ECE3040/Lectures/Lecture15-DiodeModelsSmalSignalZener.pdf)</sup>

SPICE 大信号模型在此基础上增加了串联电阻，\( i_{D} = I_{S}(\exp[(v_{D} - i_{D} \cdot R_{S})/(\eta V_{T})] - 1) \)，用于模拟中性区电阻。<sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup><sup> • </sup><sup>[7](https://alan.ece.gatech.edu/ECE3040/Lectures/Lecture15-DiodeModelsSmalSignalZener.pdf)</sup> 动态行为由非线性电容 \( C_{D} \) 描述，它综合了过剩少数载流子电荷与空间电荷，其中渡越时间 \( \tau_{T} \) 对于长基区二极管代表少数载流子寿命，对于短基区二极管代表平均渡越时间。<sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup> 反向击穿的处理方式是将反向特性按外加电压分为四个区域；串联电阻 \( R_{S} \) 可对高电流静态 I–V 曲线做唯象拟合，但大注入载流子存储和寿命效应未被建模。<sup>[8](https://fscdn.rohm.com/en/products/databook/applinote/discrete/diodes/overview_of_rohms_simulation_models_for_diodes_an-e.pdf)</sup>

对于交流分析，指数函数在工作点处线性化。结的小信号电导为 \( g_{j} = \partial i_{D}/\partial v_{j} \)，在正向偏置下近似为 \( I_{D}/(n \cdot V_{T}) \)，因此 \( r_{j} = n \cdot V_{T}/I_{D} \)；该模型仅在 \( v_{d} \ll n \cdot V_{T} \) 时有效，考虑串联电阻后，端子增量电阻约为 \( R_{S} + n \cdot V_{T}/I_{D} \)。<sup>[7](https://alan.ece.gatech.edu/ECE3040/Lectures/Lecture15-DiodeModelsSmalSignalZener.pdf)</sup> SPICE2 通过泰勒展开自动完成这一线性化，无需新的模型参数。<sup>[8](https://fscdn.rohm.com/en/products/databook/applinote/discrete/diodes/overview_of_rohms_simulation_models_for_diodes_an-e.pdf)</sup>

两种电容并存：突变结的结电容 \( C_{J0}/(1 - V_{A}/V_{bi})^{1/2} \)，以及[扩散](https://www.edgepedia.org/zh/diffusion)电容 \( C_{\mathrm{Diffusion}} = g_{d} \cdot \tau_{T} \)，后者在零偏或反偏时可忽略，在正偏时占主导（\( C_{D} \gg C_{J} \)）。<sup>[7](https://alan.ece.gatech.edu/ECE3040/Lectures/Lecture15-DiodeModelsSmalSignalZener.pdf)</sup> 总电容为 \( C_{D} = C_{T} + C_{J} \)，其中 \( C_{T} = \tau_{T} \cdot g_{d} \)。<sup>[9](https://app.repeatlab.ru/docs/en/reference/blocklib/electronics/spiceModels/ElectronicSpiceDiode/index.html)</sup>

## 实现方法

一个 SPICE 二极管模型包含约 14 个参数，分为三组：静态参数（IS、N、RS、BV、IBV）、动态参数（CJ0、M、VJ、TT，其中 TT 描述反向恢复）以及工艺/材料参数（XTI、KF、AF、EG、FC）。<sup>[10](https://www.mdpi.com/2079-9292/11/21/3461)</sup> 默认值为 IS = 1.0E−14 A、N = 1、RS = 0 Ω、TT = 0 s、CJO = 0 F、M = 0.5、VJ = 1 V。<sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup><sup> • </sup><sup>[11](https://www.allaboutcircuits.com/textbook/semiconductors/chpt-3/spice-models/)</sup>

SPICE 模型的方程是固定的，不易修改，因此仿真精度取决于精确的参数提取，多种方法可在手持可编程计算器上实现。<sup>[12](https://ltwiki.org/files/SPICEdiodeModel.pdf)</sup> 基本的直流参数来自数据手册中的 I–V 点：对于 1N4004，取 n = 2.0、1 A 时 \( V_{D} \) = 0.925 V，由关系式 \( 1\,\mathrm{A} = I_{S}(e^{0.925/(2 \cdot 26\,\mathrm{mV})} - 1) \) 得 IS = 18.8 nA；将 RS 从 0 增至 28.6 mΩ 后，与 1.4 V 处 12 A 的点吻合。<sup>[11](https://www.allaboutcircuits.com/textbook/semiconductors/chpt-3/spice-models/)</sup> 渡越时间可由反向恢复存储电荷近似估算为 \( \tau_{T} = Q_{RR}/I_{F} \)。<sup>[11](https://www.allaboutcircuits.com/textbook/semiconductors/chpt-3/spice-models/)</sup> 非线性拟合对此作了推广：一个改进的四参数肖克利模型（IS、n、串联电阻、并联电导）能够拟合 1N4148 从 10 nA 到 10 mA 的 I–V 曲线，迭代算法不超过 5 次迭代即收敛。<sup>[6](https://iopscience.iop.org/article/10.1088/2399-6528/aa95e3)</sup> [随机](https://www.edgepedia.org/zh/stochastic)优化（Nlinfit 或 Lsqcurvefit）可从实测 I–V 和电容曲线中提取 IS、N、CJ0、M 和 VJ。<sup>[10](https://www.mdpi.com/2079-9292/11/21/3461)</sup> 基于已发表 I–V 曲线上三对数据的三参数表征，无需迭代即可使仿真曲线在参考温度下几乎与已发表曲线重合。<sup>[5](https://wd8iel.com/wp-content/uploads/2024/12/QEX-Cardone-Final-Draft.pdf)</sup> 实践中，击穿区或二极管截止时会出现收敛问题；补救措施包括设置非零 RS 或通过 `.OPTIONS` 增大 GMIN 并联电导。<sup>[13](https://class.ece.uw.edu/cadta/hspice/chapter_13.pdf)</sup>

## 起源

方程背后的 p-n 结整流理论出自 W. 肖克利（W. Shockley）1949 年发表于《贝尔系统技术杂志》（Bell System Technical Journal）的论文《半导体中 p-n 结及 p-n 结晶体管的理论》（The Theory of p-n Junctions in Semiconductors and p-n Junction Transistors，第 435–489 页），该文以锗为重点发展了电势分布和整流理论，结电流由 n 型区空穴和 p 型区电子的扩散所承载。<sup>[14](https://doi.org/10.1002/j.1538-7305.1949.tb03645.x)</sup><sup> • </sup><sup>[15](https://archive.org/details/bstj28-3-435)</sup> 二极管复合电流建模所用的复合统计理论由 W. 肖克利和 W. T. 里德（W. T. Read）于 1952 年发表在《[物理评论](https://www.edgepedia.org/zh/physical-review)》（Physical Review）上。<sup>[16](https://doi.org/10.1103/physrev.87.835)</sup>

SPICE（Simulation Program with Integrated Circuit Emphasis，集成电路重点仿真程序）是一个节点分析程序，集成了非线性直流、小信号和非线性瞬态分析，内置二极管、BJT、JFET 和 MOSFET 模型。<sup>[17](https://www2.eecs.berkeley.edu/Pubs/TechRpts/1973/Archive/ERL-m-382.pdf)</sup><sup> • </sup><sup>[1](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)</sup> 更早的手工分析模型——理想开关、开关加 0.7 V 膝电压、以及开关加膝电压加体电阻——仍用于一阶近似分析。<sup>[18](https://eng.libretexts.org/Workbench/Electronics_%28Final%29/01%3A_Physics_of_Diodes/1.04%3A_Diode_Circuit_Models)</sup> 一个包含反向恢复的物理基二极管模型由 P.O. 劳里岑（P.O. Lauritzen）和 C.L. 马（C.L. Ma）于 1991 年发表在《IEEE 电力电子汇刊》（IEEE Transactions on Power Electronics）上。<sup>[19](https://doi.org/10.1109/63.76804)</sup> 更早的一条电路理论路线将 p-n 结二极管建模为忆阻电路：L. 蔡（L. Chua）于 1971 年在《IEEE 电路理论汇刊》（IEEE Transactions on Circuit Theory）上提出忆阻器，Leon O. 蔡（Leon O. Chua）和曾崇伟（Chong-Wei Tseng）于 1974 年发表了 p-n 结二极管的忆阻电路模型。<sup>[20](https://doi.org/10.1109/tct.1971.1083337)</sup><sup> • </sup><sup>[21](https://doi.org/10.1002/cta.4490020406)</sup>

## 变体

在 SPICE 中，二极管由一条元件语句加一条以 `.MODEL` 开头的 `.MODEL` 语句描述，后者依次为模型名、字母 D 和括号内的参数值。<sup>[3](https://ece.mcgill.ca/%7Egrober4/SPICE/SPICE_Decks/1st_Edition_LTSPICE/chapter3/Chapter%203%20Diodes%20web%20version.html)</sup> 近理想二极管可用极小的发射系数近似，n 取 0.01 至 0.001 之间；低于 0.001 的值通常会导致直流收敛问题。<sup>[3](https://ece.mcgill.ca/%7Egrober4/SPICE/SPICE_Decks/1st_Edition_LTSPICE/chapter3/Chapter%203%20Diodes%20web%20version.html)</sup>

齐纳二极管和 TVS 二极管需要特殊处理，因为标准 SPICE 二极管模型对击穿区 I–V 曲线的控制有限，BV 和 IBV 仅设定击穿起始位置；宏模型子电路可以更准确地表示击穿特性。<sup>[27](https://www.onsemi.com/pub/collateral/and8250-d.pdf)</sup> 因此齐纳二极管用子电路建模，使用动态电阻 \( r_{z} \)（例如 10 Ω）和由数据手册值导出的 \( V_{Z0} \)。<sup>[3](https://ece.mcgill.ca/%7Egrober4/SPICE/SPICE_Decks/1st_Edition_LTSPICE/chapter3/Chapter%203%20Diodes%20web%20version.html)</sup> 替代方案是将 BV 设为齐纳电压，或使用带二极管钳位的子电路。<sup>[11](https://www.allaboutcircuits.com/textbook/semiconductors/chpt-3/spice-models/)</sup> LED 的正向电压较高，典型示例中约为 1.7 V，常按分段线性建模为正向电压 \( V_{f} \) 与电阻 \( r_{f} \) 串联（示例中为 8 Ω），反偏时开路。<sup>[22](https://openbooks.library.umass.edu/funee/chapter/4-3/)</sup> 隧道器件在 Star-Hspice 中获得专用模型级别：LEVEL=1 为非几何结二极管，LEVEL=2 为用于 EEPROM 的 Fowler-Nordheim 隧穿二极管，LEVEL=3 为几何结二极管。<sup>[13](https://class.ece.uw.edu/cadta/hspice/chapter_13.pdf)</sup>

宽禁带功率器件正在推动新的模型形式。针对 GaN 射频和功率器件，Sourabh Khandelwal 及其同事于 2018 年在《IEEE 电子器件汇刊》（IEEE Transactions on Electron Devices）上发表了 ASM GaN 紧凑模型。<sup>[23](https://doi.org/10.1109/ted.2018.2867874)</sup> 一个 2024 年的 SPICE 兼容子电路模型用于 SiC MPS 二极管，描述了未优化的高压 MPS 结构中（PiN 部分狭窄或漂移层极厚时）出现的回跳（snapback）机制，并以 10 kV MPS 二极管的 Sentaurus TCAD 仿真进行了校准。<sup>[24](https://www.scientific.net/SSP.360.67)</sup> onsemi 的功率器件模型是基于物理的子电路，使用受控源表示温度相关方程，可在 PSpice、LTspice、Simetrix、Spectre、ADS、SABER 和 Simplorer 中通用，无需 [Verilog-A](https://www.edgepedia.org/zh/verilog-a)；其快速恢复二极管模型建立在 劳里岑–马物理反向恢复模型之上，为电热模型，结温通过 Cauer 热阻抗网络求解。<sup>[25](https://www.onsemi.com/pub/collateral/tnd6260-d.pdf)</sup>

## 应用

由实验室数据通过三次样条插值、GMLS 和 [TensorFlow](https://www.edgepedia.org/zh/tensorflow) 神经网络构建的数据驱动紧凑模型已在桥式整流器仿真中验证，结果高度吻合。<sup>[2](https://www.osti.gov/servlets/purl/1592881)</sup> Simscape 的 Diode 模块提供分段线性（默认）、指数和表格 I-V 曲线三种模型类型，可由两个 I–V 数据点或由 IS 和 N 参数化；自 R2024a 起，齐纳反向 I-V 特性可通过 反向电压 Vr(Tj,Ir) 和反向电流 Ir(Tj,Vr) 参数直接制表，电荷动态采用劳里岑和马模型。<sup>[26](https://au.mathworks.com/help/sps/ref/diode.html)</sup> ROHM 将自家模型分为三类：基于 SPICE2 方程的紧凑 .MODEL 模型、子电路宏模型，以及使用特定数值表达式描述宏模型无法再现的特性的行为模型。<sup>[8](https://fscdn.rohm.com/en/products/databook/applinote/discrete/diodes/overview_of_rohms_simulation_models_for_diodes_an-e.pdf)</sup>

## 局限与替代方案

标准 SPICE 模型的精度局限在电力电子领域已被量化。它不建模功率 p-i-n 二极管低掺杂区的大注入效应（双极寿命），而这正是该区的主导物理现象；在某一工作条件拟合后，在任何不同工作条件下吻合度都很差，一项系统研究的作者得出结论：标准模型不适用于电力电子仿真。<sup>[4](https://hal.science/hal-00140095/file/IEEE_T-INEL_48-4_08-2001_0864_OnTheValidityOf.pdf)</sup> 即使参数最优拟合，BYT12-600 关断时反向电压峰值瞬态的误差仍约为 66%，没有任何参数组合能降低这一误差。<sup>[4](https://hal.science/hal-00140095/file/IEEE_T-INEL_48-4_08-2001_0864_OnTheValidityOf.pdf)</sup> 在大电流下，1N4148 的实测电流低于肖克利预测值（指数关系被串联电阻削弱），而在极低电流下实测电流超出预测值，这促使了四参数模型的提出。<sup>[6](https://iopscience.iop.org/article/10.1088/2399-6528/aa95e3)</sup> 温度跟踪也很薄弱：XTI 和 N 使 IS 随环境温度变化，但量化方法粗糙，已发表的 1N914A 表征在温度范围内的误差分布在 35% 至 98% 之间。<sup>[5](https://wd8iel.com/wp-content/uploads/2024/12/QEX-Cardone-Final-Draft.pdf)</sup>

替代方案按用途选择。理想模型、恒压模型和分段线性模型忽略了结电容和反向恢复，因此不适合 EMI 分析。<sup>[10](https://www.mdpi.com/2079-9292/11/21/3461)</sup>

## References

1. [The Diode (chapter from Berkeley IC book), SPICE diode model section](https://icbook.eecs.berkeley.edu/sites/icbook.eecs.berkeley.edu/files/diode.pdf)
2. [Development Demonstration and Validation of Data-driven Compact Diode Models for circuit simulation and analysis](https://www.osti.gov/servlets/purl/1592881)
3. [Describing Diodes to Spice (LTSpice course chapter, McGill ECE)](https://ece.mcgill.ca/%7Egrober4/SPICE/SPICE_Decks/1st_Edition_LTSPICE/chapter3/Chapter%203%20Diodes%20web%20version.html)
4. [On the validity of the standard SPICE model of the diode for simulation in power electronics](https://hal.science/hal-00140095/file/IEEE_T-INEL_48-4_08-2001_0864_OnTheValidityOf.pdf)
5. [Precision Generic Diode (QEX)](https://wd8iel.com/wp-content/uploads/2024/12/QEX-Cardone-Final-Draft.pdf)
6. [On a rapidly converging iterative algorithm for diode parameter extraction from a single IV curve](https://iopscience.iop.org/article/10.1088/2399-6528/aa95e3)
7. [P-N Junction Diodes Part 5: Large signal and small signal models (Georgia Tech ECE 3040, Dr. Alan Doolittle)](https://alan.ece.gatech.edu/ECE3040/Lectures/Lecture15-DiodeModelsSmalSignalZener.pdf)
8. [Overview of ROHM's Simulation Models for Diodes](https://fscdn.rohm.com/en/products/databook/applinote/discrete/diodes/overview_of_rohms_simulation_models_for_diodes_an-e.pdf)
9. [Diode (SPICE model), REPEAT documentation](https://app.repeatlab.ru/docs/en/reference/blocklib/electronics/spiceModels/ElectronicSpiceDiode/index.html)
10. [Improvement of the SPICE Model of Diode Based on Measurement and Nonlinear Fitting Random Optimization Algorithm](https://www.mdpi.com/2079-9292/11/21/3461)
11. [SPICE Models - Diodes and Rectifiers (Electronics Textbook)](https://www.allaboutcircuits.com/textbook/semiconductors/chpt-3/spice-models/)
12. [The SPICE Diode Model (Howard T. Russell, Jr., OPAL Engineering, under contract with Motorola, August 4, 1991)](https://ltwiki.org/files/SPICEdiodeModel.pdf)
13. [Star-Hspice Manual, Release 1998.2, Chapter 13: Using Diodes](https://class.ece.uw.edu/cadta/hspice/chapter_13.pdf)
14. [W. Shockley (1949). The Theory ofp-nJunctions in Semiconductors andp-nJunction Transistors. Bell System Technical Journal.](https://doi.org/10.1002/j.1538-7305.1949.tb03645.x)
15. [The Theory of p-n Junctions in Semiconductors and p-n Junction Transistors (W. Shockley), Bell System Technical Journal 28(3), July 1949, pp. 435–489](https://archive.org/details/bstj28-3-435)
16. [W. Shockley, W. T. Read (1952). Statistics of the Recombinations of Holes and Electrons. Physical Review.](https://doi.org/10.1103/physrev.87.835)
17. [A new circuit simulation program, SPICE, is described (Berkeley ERL Memo M-382, 1973)](https://www2.eecs.berkeley.edu/Pubs/TechRpts/1973/Archive/ERL-m-382.pdf)
18. [1.04: Diode Circuit Models (eng.libretexts.org)](https://eng.libretexts.org/Workbench/Electronics_%28Final%29/01%3A_Physics_of_Diodes/1.04%3A_Diode_Circuit_Models)
19. [P.O. Lauritzen, C.L. Ma (1991). A simple diode model with reverse recovery. IEEE Transactions on Power Electronics.](https://doi.org/10.1109/63.76804)
20. [L. Chua (1971). Memristor-The missing circuit element. IEEE Transactions on Circuit Theory.](https://doi.org/10.1109/tct.1971.1083337)
21. [Leon O. Chua, Chong‐Wei Tseng (1974). A memristive circuit model for p‐n junction diodes. International Journal of Circuit Theory and Applications.](https://doi.org/10.1002/cta.4490020406)
22. [4.3 Diode Circuit Models – Applied Electrical Engineering Fundamentals (UMass)](https://openbooks.library.umass.edu/funee/chapter/4-3/)
23. [Sourabh Khandelwal and colleagues (2018). ASM GaN: Industry Standard Model for GaN RF and Power Devices, Part 1: DC, CV, and RF Model. IEEE Transactions on Electron Devices.](https://doi.org/10.1109/ted.2018.2867874)
24. [A Geometry-Scalable Physically-Based SPICE Compact Model for SiC MPS Diodes Including the Snapback Mechanism](https://www.scientific.net/SSP.360.67)
25. [TND6260 - Physically Based, Scalable SPICE Modeling Methodologies for Modern Power Electronic Devices (onsemi vendor technical note)](https://www.onsemi.com/pub/collateral/tnd6260-d.pdf)
26. [Diode - Piecewise linear, exponential, or tabulated diode (MATLAB Simscape)](https://au.mathworks.com/help/sps/ref/diode.html)
27. [And8250 d (onsemi.com)](https://www.onsemi.com/pub/collateral/and8250-d.pdf)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 工程与制造 › 电气与电子工程 › Circuits and signal processing

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/diode-modeling

English original: https://www.edgepedia.org/diode-modeling
