# 完美匹配层

完美匹配层（PML）是人为添加在计算域边缘的一种吸收层，使离开计算域的波被吸收而基本不产生反射，从而让时域有限差分法（FDTD，有限差分时域电磁仿真方法）和有限元法（FEM）等有限方法能够模拟自由空间或其他无界介质。<sup>[1](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)</sup>让-皮埃尔·贝朗热（Jean-Pierre Bérenger）于1994年提出了该方法。<sup>[2](https://doi.org/10.1006/jcph.1994.1159)</sup>早期的吸收边界条件反射系数只能达到−40至−50 dB，而PML无论出射波的频率或入射角如何都能将其吸收，这正是“完美匹配”的含义：在连续方程中，层界面不产生任何反射。<sup>[3](https://cecas.clemson.edu/cvel/pdf/TR94-6-017.pdf)</sup><sup> • </sup><sup>[4](https://stsynkov.math.ncsu.edu/publications/a49e.jcp.pdf)</sup>

| 关键事实 | 数值 |
|---|---|
| 提出 | 贝朗热，1994年，分裂场形式<sup>[2](https://doi.org/10.1006/jcph.1994.1159)</sup> |
| 连续形式反射 | 在所有入射角和所有频率下均为零<sup>[5](https://onlinelibrary.wiley.com/doi/10.1002/mop.4650071304)</sup> |
| 典型FDTD层厚度 | 4–16个网格，外端以理想电导体（PEC）终止<sup>[6](https://tentzeris.ece.gatech.edu/ap_nov_1999.pdf)</sup> |
| 可达反射 | 8个网格约−80 dB，稠密网格上16个网格低于−100 dB<sup>[6](https://tentzeris.ece.gatech.edu/ap_nov_1999.pdf)</sup> |
| 渐变分布 | 在约半个波长或更薄的厚度内按二次或三次曲线开启<sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup> |
| CPML变体 | Roden与Gedney，2000年，在非均匀、有耗、各向异性、色散或非线性介质中无需修改即可使用<sup>[8](https://doi.org/10.1002/1098-2760%2820001205%2927:5<334::aid-mop14>3.3.co;2-1)</sup> |
| 扩展 | 声学、弹性动力学、弹性力学、各向异性色散介质、超材料<sup>[9](https://www.esaim-m2an.org/articles/m2an/pdf/2023/02/m2an220116.pdf)</sup> |

## 工作原理

该层通过复坐标拉伸工作：垂直于边界的坐标被延拓到复平面中，使出射波传播进入层内并呈指数衰减，而麦克斯韦方程的拉伸坐标形式允许吸收边界在所有入射角和所有频率下实现零反射。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1002/mop.4650071304)</sup>变量替换将PML区域内的方程变为复坐标系中形式普通的麦克斯韦方程，同样的拉伸方法可推广到非笛卡尔坐标系。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1002/mop.4650071304)</sup>

存在两种等价形式。贝朗热最初的分裂场PML将选定的电磁场分量分解为与导数相关的子分量；更常见的单轴PML（UPML）则将吸收层表示为人工单轴各向异性介质中的麦克斯韦方程，其本构张量实现PML。两者都可由相同的复坐标拉伸导出，因此分裂场形式并不具有唯一优越性。<sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup>

## 实现方法

实现时需在三项相互矛盾的要求之间取得平衡：层要薄以降低计算成本，电导率变化要小以限制尖锐离散梯度引起的虚假反射，理论反射要小。<sup>[1](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)</sup>实践中，电导率从界面处的小值上升到外侧的较大值。<sup>[1](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)</sup>在连续理论中，增加层厚度或电导率对降低理论反射的效果是等价的，但离散化之后并非如此，因为电导率的急剧变化会引起虚假的数值反射。<sup>[1](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)</sup>

在约半个波长或更薄的层内以二次或三次曲线开启吸收，通常产生的反射可以忽略不计。<sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup>在一项FDTD参数研究中，多项式渐变参数\( a = b = 2.5 \)在金属背衬处低场强与衰减过陡引起的反射之间取得了最佳折中。<sup>[10](https://cecas.clemson.edu/cvel/modeling/EMAG/EMAP/emap4/PML.html)</sup>对于与边界法线成θ角入射的平面波，层厚度应增至原来的\( 1/\cos(\theta) \)倍，以保持一个有效波长的厚度。<sup>[11](https://doc.comsol.com/6.4/doc/com.comsol.help.comsol/comsol_ref_definitions.21.137.html)</sup>

在稠密网格上采用二次电导率变化时，对于正入射下\( 10^{-5} \)的理论反射系数，8个PML网格给出的数值反射接近−80 dB，16个网格在整个频率范围内低于−100 dB；对于多模TEM加TM传播，相应数值约为−70 dB和低于−100 dB。<sup>[6](https://tentzeris.ece.gatech.edu/ap_nov_1999.pdf)</sup>在接近奈奎斯特极限的粗网格上（网格尺寸\( \lambda/2.5 \)），至少需要32个网格才能获得可接受的反射系数。<sup>[6](https://tentzeris.ece.gatech.edu/ap_nov_1999.pdf)</sup>将理论最大反射从\( 10^{-5} \)改为\( 10^{-6} \)，数值性能仅变化4–5 dB，因此理论参数的重要性不及离散化质量。<sup>[6](https://tentzeris.ece.gatech.edu/ap_nov_1999.pdf)</sup>

## 起源

贝朗热于1994年在《计算物理杂志》上提出将PML作为一种材料吸收边界条件。<sup>[2](https://doi.org/10.1006/jcph.1994.1159)</sup>同年，周永祖（Weng Cho Chew）和William H. Weedon独立提出了由修改后带拉伸坐标的麦克斯韦方程得到的3D完美匹配介质，确立了坐标拉伸的观点。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1002/mop.4650071304)</sup>周永祖与Weedon的论文将各向异性介质解释归功于Sacks及其同事。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1002/mop.4650071304)</sup>主要前驱是吸收边界条件而非吸收层：1977年基于单向波方程的Engquist–Majda吸收边界条件，以及1981年其二阶FDTD实现——Mur吸收边界条件，后者在十多年间是数值电磁学中最流行的边界处理方式。<sup>[1](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)</sup>

## 变体

有名称的形式包括分裂场PML、UPML、拉伸坐标PML（SC-PML）、NPML、CPML、GT-PML和多轴PML（M-PML）。<sup>[1](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)</sup><sup> • </sup><sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup>Roden和Stephen D. Gedney于2000年在《微波与光学技术快报》上提出了卷积PML（CPML），它建立在拉伸坐标形式、递归卷积和复频移（CFS）参数之上；它不需要场分裂，也不需要针对非均匀、有耗、各向异性、色散或非线性宿主介质做任何修改。<sup>[8](https://doi.org/10.1002/1098-2760%2820001205%2927:5<334::aid-mop14>3.3.co;2-1)</sup>一本教科书称CPML可以说是当今最好的PML形式。<sup>[12](https://eecs.wsu.edu/~schneidj/ufdtd/chap11.pdf)</sup>李钊（Li Zhao）于2000年在《国际数值建模杂志》上发表了曲线坐标系下PML的广义理论（GT-PML）<sup>[13](https://doi.org/10.1002/1099-1204%28200009/10%2913:5<457::aid-jnm377>3.0.co;2-y)</sup>，Collino和Monk也将PML推广到了曲线坐标系。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S0021999121000759)</sup>在一项统一的有限体积时域比较中，M-PML、U-PML和GT-PML在理论上等价，对于截止频率以上的传播模式性能几乎相同；在共形时域方法中，U-PML等非分裂麦克斯韦模型足以满足大多数应用需求。<sup>[15](http://www.eleceng.adelaide.edu.au/personal/cfumeaux/documents/2008_ACES_PMLRev.pdf)</sup>CFS-PML则与众不同：其拉伸使层被拉长并增强倏逝波的衰减，以增加计算量为代价额外提供最多30 dB的吸收，而且在波导截止频率以下，它是所比较的吸收边界条件中唯一能够吸收的一种。<sup>[15](http://www.eleceng.adelaide.edu.au/personal/cfumeaux/documents/2008_ACES_PMLRev.pdf)</sup>

## 应用

PML在麦克斯韦方程的FDTD和FEM求解中用于截断计算域，包括开放微波电路元件和波导的表征。<sup>[1](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)</sup><sup> • </sup><sup>[6](https://tentzeris.ece.gatech.edu/ap_nov_1999.pdf)</sup>虽然是为电磁学导出的，同样的思想可以直接应用于其他波动方程<sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup>，该技术也已推广到声学、弹性动力学、弹性力学、各向异性色散介质和超材料。<sup>[9](https://www.esaim-m2an.org/articles/m2an/pdf/2023/02/m2an220116.pdf)</sup>

## 局限与替代方案

PML仅对精确的连续波动方程无反射；离散化之后，解析上的完美性便丧失了，尽管反射仍然很小并随分辨率提高而减小。<sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup>衰减率与\( |k| \cdot \cos\theta \)成正比，因此在掠入射时趋于零，对于任何固定厚度，足够接近掠入射的波都会产生显著的往返反射。<sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup>PML还要求介质在垂直于边界的方向上不变，而且对于光子晶体或声子晶体等周期介质，它在无限分辨率下也不再无反射。<sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup>在具有实拉伸分布的标准PML中，传播波被衰减，而纯倏逝波不会被额外衰减，不过复拉伸可以增强纯倏逝波的衰减，而当吸收变得极大时，这本身又可能引起虚假反射。<sup>[1](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)</sup><sup> • </sup><sup>[19](https://math.mit.edu/~stevenj/papers/OskooiZh08.pdf)</sup>

不稳定性是最严重的失效模式。贝朗热的笛卡尔PML对各向异性介质是不稳定的，Bécache、Fauqueux和Joly证明了其中一些是由反向传播波引起的高频不稳定性，在许多各向异性材料中都会出现。<sup>[16](https://arxiv.org/pdf/2401.13483)</sup>对于反向波同轴波导，无论电导率取何种符号，总有一族模式呈指数增长，此时必须放弃PML，改用逐渐开启的标量电导率，即绝热吸收体。<sup>[7](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)</sup>Oskooi及其同事分析了PML的失效情况，并于2008年在《光学快报》上提出以绝热吸收体作为补救方案。<sup>[17](https://doi.org/10.1364/oe.16.011376)</sup>与在−40至−50 dB处反射的旧式Mur和Engquist–Majda吸收边界条件相比，PML在二维和三维中的吸收效果要好得多。<sup>[3](https://cecas.clemson.edu/cvel/pdf/TR94-6-017.pdf)</sup>在理论方面，能量衰减结果说明了贝朗热模型的吸收特性，Yee格式离散PML的稳定性也已得到证明。<sup>[18](https://numdam.org/articles/10.1051/m2an:2002004/)</sup>

## References

1. [Perfectly Matched Layer (PML) for Computational Electromagnetics (J.-P. Bérenger, Morgan & Claypool synthesis lecture)](https://www.ece.mcmaster.ca/faculty/bakr/ECE757/PMLlecture_Berenger.pdf)
2. [Jean-Pierre Berenger (1994). A perfectly matched layer for the absorption of electromagnetic waves. Journal of Computational Physics.](https://doi.org/10.1006/jcph.1994.1159)
3. [Perfectly Matched Layers Used as Absorbing Boundaries in a Three-dimensional FDTD Code (Clemson technical report)](https://cecas.clemson.edu/cvel/pdf/TR94-6-017.pdf)
4. [Journal of Computational Physics paper (doi:10.1016/j.jcp.2008.04.018)](https://stsynkov.math.ncsu.edu/publications/a49e.jcp.pdf)
5. [A 3D perfectly matched medium from modified Maxwell's equations with stretched coordinates (Chew & Weedon, Microwave and Optical Technology Letters, 1994)](https://onlinelibrary.wiley.com/doi/10.1002/mop.4650071304)
6. [PML absorbing boundary conditions for the characterization of open microwave circuit components (IEEE Trans. Antennas Propag., 1999)](https://tentzeris.ece.gatech.edu/ap_nov_1999.pdf)
7. [Notes on Perfectly Matched Layers (PMLs) (S. G. Johnson, MIT 18.369)](https://math.mit.edu/~stevenj/18.369/spring16/pml.pdf)
8. [Convolution PML (CPML): An efficient FDTD implementation of the CFS–PML for arbitrary media (Microwave and Optical Technology Letters, 2000)](https://doi.org/10.1002/1098-2760%2820001205%2927:5<334::aid-mop14>3.3.co;2-1)
9. [Developing and analyzing an explicit unconditionally stable finite element scheme for an equivalent Bérenger's PML model (ESAIM M2AN, 2023)](https://www.esaim-m2an.org/articles/m2an/pdf/2023/02/m2an220116.pdf)
10. [Perfectly Matched Layers (Clemson CVEL EMAP notes)](https://cecas.clemson.edu/cvel/modeling/EMAG/EMAP/emap4/PML.html)
11. [COMSOL 6.4, PML Implementation](https://doc.comsol.com/6.4/doc/com.comsol.help.comsol/comsol_ref_definitions.21.137.html)
12. [Chapter 11 (Perfectly Matched Layers), Understanding FDTD (J. B. Schneider)](https://eecs.wsu.edu/~schneidj/ufdtd/chap11.pdf)
13. [10)13:5<457::aid jnm377>3.0.co (doi.org)](https://doi.org/10.1002/1099-1204%28200009/10%2913:5<457::aid-jnm377>3.0.co;2-y)
14. [Stable Perfectly Matched Layers with Lorentz transformation for the convected Helmholtz equation (J. Comput. Phys.)](https://www.sciencedirect.com/science/article/abs/pii/S0021999121000759)
15. [ACES September 2008 Journal (PML comparison in FVTD)](http://www.eleceng.adelaide.edu.au/personal/cfumeaux/documents/2008_ACES_PMLRev.pdf)
16. [Radial perfectly matched layers and infinite elements for the anisotropic wave equation (arXiv, 2024)](https://arxiv.org/pdf/2401.13483)
17. [Ardavan F. Oskooi and colleagues (2008). The failure of perfectly matched layers, and towards their redemption by adiabatic absorbers. Optics Express.](https://doi.org/10.1364/oe.16.011376)
18. [On the analysis of Bérenger's perfectly matched layers for Maxwell's equations (M2AN, 2002)](https://numdam.org/articles/10.1051/m2an:2002004/)
19. [math.mit.edu](https://math.mit.edu/~stevenj/papers/OskooiZh08.pdf)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 物理学方法、实践与学术共同体 › Applied and interdisciplinary physics › Computational and simulation physics › Numerical methods in physics › Field and continuum simulation methods › Computational electromagnetics

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/perfectly-matched-layer

English original: https://www.edgepedia.org/perfectly-matched-layer
