# 去模糊化

去模糊化是[模糊推理系统](https://www.edgepedia.org/zh/fuzzy-inference-system)中的一个步骤，它将模糊输出集——即可能输出值上的隶属函数——转换为执行机构或决策程序可以使用的单一清晰数值。它是传统模糊推理模型三个基本步骤中的最后一步，位于模糊化和推理过程之后。<sup>[1](https://www.taylorfrancis.com/chapters/edit/10.1201/9780429142741-33/defuzzification-masaharu-mizumoto)</sup> 之所以需要这一操作，是因为机械、电气、语音及其他执行机构只能接受和使用确定性信号，因此必须将各条规则聚合后的输出归结为一个值。<sup>[1](https://www.taylorfrancis.com/chapters/edit/10.1201/9780429142741-33/defuzzification-masaharu-mizumoto)</sup> 在现有的模糊逻辑控制器中，重心法是被广泛使用的去模糊化方法，<sup>[1](https://www.taylorfrancis.com/chapters/edit/10.1201/9780429142741-33/defuzzification-masaharu-mizumoto)</sup> 而 [MathWorks](https://www.edgepedia.org/zh/mathworks) 指出，默认的质心法对大多数应用来说已经足够好。<sup>[2](https://www.mathworks.com/help/fuzzy/defuzzification-methods.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 流程中的位置 | 模糊化、推理、去模糊化三步中的第三步<sup>[1](https://www.taylorfrancis.com/chapters/edit/10.1201/9780429142741-33/defuzzification-masaharu-mizumoto)</sup> |
| 质心定义 | \( u = \frac{\int u \cdot \mu(u)\,du}{\int \mu(u)\,du} \)，即隶属函数下图形区域质心的 u 坐标<sup>[3](https://www.cs.utep.edu/vladik/slides/nafips20centroid.pdf)</sup> |
| MATLAB 内置方法 | 质心法、平分线法、最大隶属度中点法、最大隶属度最小值法、最大隶属度最大值法<sup>[2](https://www.mathworks.com/help/fuzzy/defuzzification-methods.html)</sup> |
| Sugeno 替代方案 | 用加权平均 \( \frac{\sum_{i} w_{i} \cdot z_{i}}{\sum_{i} w_{i}} \) 代替二维质心计算<sup>[4](https://www.mathworks.com/help/fuzzy/types-of-fuzzy-inference-systems.html)</sup> |
| 运算次数 | COG 需要 \( 3 \cdot N_{q} - 1 \) 次运算，最大值类方法约需 \( 2 \cdot N_{q} \) 次简单运算，COA 需 \( 4 \cdot N_{q} \)<sup>[5](https://www.wseas.us/e-library/conferences/crete2002/papers/444-764.pdf)</sup> |
| 同集合比较 | 在一个算例的聚合集上，COG 给出 \( x^{*} = 5.008 \)，而中心和法给出 \( x^{*} = 5.35 \)<sup>[6](https://cse.iitkgp.ac.in/~dsamanta/courses/archive/sca/Archives/Chapter%205%20Defuzzification%20Methods.pdf)</sup> |
| 二型代价 | Karnik–Mendel 迭代超指数收敛，通常十次或更少迭代即可收敛<sup>[7](https://sipi.usc.edu/~mendel/publications/MendelLiuTFS4-07.pdf)</sup> |

## 工作原理

质心法（重心法，COG）将隶属函数 \( \mu(u) \) 视为质量分布，返回其水平质心，<sup>[3](https://www.cs.utep.edu/vladik/slides/nafips20centroid.pdf)</sup>

\[ u = \frac{\int u \cdot \mu(u)\,du}{\int \mu(u)\,du}. \]

在离散论域上，同样的思想写作 \( x^{*} = \frac{\sum_{i} x_{i} \cdot \mu(x_{i})}{\sum_{i} \mu(x_{i})} \)。<sup>[6](https://cse.iitkgp.ac.in/~dsamanta/courses/archive/sca/Archives/Chapter%205%20Defuzzification%20Methods.pdf)</sup> 质心的第二个（纵向）坐标 \( y = \frac{1}{2} \cdot \frac{\int \mu^{2}(u)\,du}{\int \mu(u)\,du} \) 衡量整体模糊度：当且仅当模糊集为清晰集时 \( y = 1/2 \)，对任意三角形隶属函数 \( y = 1/3 \)，梯形隶属函数则介于 1/3 与 1/2 之间。<sup>[3](https://www.cs.utep.edu/vladik/slides/nafips20centroid.pdf)</sup>

面积平分线法则寻找将模糊集分成两个面积相等子区域的垂直线；它与质心线有时重合，但并非总是如此。<sup>[2](https://www.mathworks.com/help/fuzzy/defuzzification-methods.html)</sup> 中心和法（COS）分别计算每条规则输出面积的贡献，重叠区域计算两次，在一份课程教材中被称为最常用的去模糊化技术。<sup>[6](https://cse.iitkgp.ac.in/~dsamanta/courses/archive/sca/Archives/Chapter%205%20Defuzzification%20Methods.pdf)</sup> 加权平均法适用于对称输出隶属函数，计算强度较低，结果与 COA 法非常接近。<sup>[6](https://cse.iitkgp.ac.in/~dsamanta/courses/archive/sca/Archives/Chapter%205%20Defuzzification%20Methods.pdf)</sup> 最大值类方法的区别仅在于如何处理多个最大隶属度点：最大值首取法取具有最大隶属度的最小论域值，最大值末取法取最大论域值，最大值均值法取所有最大隶属度点的论域值的均值。<sup>[6](https://cse.iitkgp.ac.in/~dsamanta/courses/archive/sca/Archives/Chapter%205%20Defuzzification%20Methods.pdf)</sup>

## 具体做法

在 Mamdani 控制器中，每个输出标签的隶属函数首先用最小值算子按其规则触发强度进行截断（例如，中等标签截断于 0.50，高标签截断于 0.25）；将整个峰值乘以触发强度，即 Larsen 法，也是可行的，但用最小值截断是标准做法。<sup>[8](https://comcomponent.com/en/learning/fuzzy-control/4-defuzzification/)</sup> 截断后的峰值用最大值算子聚合为一个模糊集，然后从聚合集上读取质心，公式为 \( u = \frac{\int x \cdot \mu_{\mathrm{agg}}(x)\,dx}{\int \mu_{\mathrm{agg}}(x)\,dx} \)。<sup>[8](https://comcomponent.com/en/learning/fuzzy-control/4-defuzzification/)</sup> 在一个算例中，温度为 26 °C、湿度为 68%，三角形标签为低(0,20,40)、中(30,50,70)、高(6,585,100)，精确质心为 \( u = 1703.00/27.45 \approx 62.05 \)，而标签中心加权平均近似给出 \( u \approx 61.67 \)，误差在 0.4 个点以内。<sup>[8](https://comcomponent.com/en/learning/fuzzy-control/4-defuzzification/)</sup>

Sugeno（Takagi–Sugeno–Kang）系统完全避开了基于面积的去模糊化：其输出隶属函数是单点集，即常数或输入的线性函数（\( z_{i} = a_{i} \cdot x + b_{i} \cdot y + c_{i} \)），最终输出为加权平均 \( \frac{\sum_{i=1}^{N} w_{i} \cdot z_{i}}{\sum_{i=1}^{N} w_{i}} \)，这比计算二维面积的质心在计算上更高效。<sup>[4](https://www.mathworks.com/help/fuzzy/types-of-fuzzy-inference-systems.html)</sup> Sugeno 系统总是使用乘积蕴含和求和聚合，将 Mamdani 系统转换为 Sugeno 系统时，产生的常数输出隶属函数对应于 Mamdani 输出隶属函数的质心。<sup>[4](https://www.mathworks.com/help/fuzzy/types-of-fuzzy-inference-systems.html)</sup>

## 起源

其基础是 Zadeh 1965 年发表在《Information and Control》上的论文《模糊集》。<sup>[9](https://doi.org/10.1016/s0019-9958%2865%2990241-x)</sup> 模糊控制本身可追溯到 1975 年 E.H. Mamdani 和 S. Assilian 在《International Journal of Man-Machine Studies》上发表的语言综合实验，该实验从经验丰富的人类操作员那里获得语言规则，并据此构建控制系统。<sup>[10](https://doi.org/10.1016/s0020-7373%2875%2980002-2)</sup> 去模糊化问题源于将模糊控制应用于工业过程，在这些过程中，输出必须以去模糊化形式提供给执行机构。<sup>[1](https://www.taylorfrancis.com/chapters/edit/10.1201/9780429142741-33/defuzzification-masaharu-mizumoto)</sup>

在有记载的方法论文中，R.R. Yager 和 D.P. Filev 于 1993 年在《[IEEE Transactions on Fuzzy Systems](https://www.edgepedia.org/zh/ieee-transactions-on-fuzzy-systems)》上描述了 SLIDE——一种简单的自适应去模糊化方法，<sup>[11](https://doi.org/10.1109/tfuzz.1993.390286)</sup> 并于 1991 年在《International Journal of Intelligent Systems》上描述了通过不良分布的广义去模糊化方法（BADD）。<sup>[12](https://doi.org/10.1002/int.4550060702)</sup> T.A. Runkler 于 1997 年在《IEEE Transactions on Fuzzy Systems》上发表了一项利用应用特定属性进行方法选择的研究，<sup>[13](https://doi.org/10.1109/91.554449)</sup> Werner Van Leekwijck 和 Etienne E. Kerre 于 1999 年在《Fuzzy Sets and Systems》上发表了标准的准则与分类综述。<sup>[14](https://doi.org/10.1016/s0165-0114%2897%2900337-0)</sup> Roychowdhury 和 Pedrycz 的综述提到了早期的公理化形式化工作《去模糊化策略的一组公理》，该文在旧金山举行的 IEEE 国际模糊系统会议上发表。<sup>[15](https://onlinelibrary.wiley.com/doi/10.1002/int.1030)</sup>

## 变体

除质心法外，最大值类方法还包括最大值首取法、最大值末取法、最大值随机选择法和最大均值法（最大横坐标值的算术平均），提供了相对简单的去模糊化。<sup>[16](https://www.fww.ovgu.de/fww_media/femm/femm_2023/2023_05.pdf)</sup> 基于均方根的方法由 Aarthi Chandramohan、M. V. C. Rao 和 M. Senthil. Arumugam 于 2006 年在《Soft Computing》上描述，<sup>[17](https://doi.org/10.1007/s00500-005-0042-6)</sup> Van Leekwijck 和 Kerre 于 2001 年在《Fuzzy Sets and Systems》上描述了一种以连续性为重点的最大值选择方法。<sup>[18](https://doi.org/10.1016/s0165-0114%2800%2900025-7)</sup>

对于二型模糊系统，去模糊化扩展为型别缩减，这是基于 Zadeh 扩展原理的一型去模糊化的扩展版本，它将二型输出集映射为一型型别缩减集，然后再进行去模糊化。<sup>[19](https://sipi.usc.edu/~mendel/publications/Karnik%20etal.%20TFS%2012-99.pdf)</sup> 型别缩减比去模糊化后的清晰数值捕获更多关于规则不确定性的[信息](https://www.edgepedia.org/zh/information)，但计算强度大，区间二型模糊集除外。<sup>[19](https://sipi.usc.edu/~mendel/publications/Karnik%20etal.%20TFS%2012-99.pdf)</sup> Nilesh N. Karnik 和 Jerry M. Mendel 于 2001 年在《Information Sciences》上描述了用于二型模糊集质心的迭代 KM 算法；<sup>[20](https://doi.org/10.1016/s0020-0255%2801%2900069-x)</sup> Mendel 和 Liu 于 2007 年证明它们单调且超指数快速收敛，无论离散化规模如何，通常十次或更少迭代即可收敛。<sup>[7](https://sipi.usc.edu/~mendel/publications/MendelLiuTFS4-07.pdf)</sup> Dongrui Wu 和 J.M. Mendel 于 2009 年在《IEEE Transactions on Fuzzy Systems》上描述了增强 Karnik–Mendel 算法。<sup>[21](https://doi.org/10.1109/tfuzz.2008.924329)</sup> 由于 KM 算法是迭代的且计算强度大，Nie–Tan（NT）和不确定性权重（UW）等替代方法预先将每个区间二型集缩减为一型集，然后应用普通一型去模糊化，在已发表的算例上结果非常相似。<sup>[22](https://nottingham-repository.worktribe.com/OutputFile/1036756)</sup> Wu 和 Mendel 的设计建议指出，Mamdani 区间二型系统最流行的输出处理方法是以集合中心型别缩减后进行去模糊化，等价于简化的 TSK IT2 模型，并列出了绕过型别缩减的直接去模糊化方法，包括 NT 和 Begian–Melek–Mendel（BMM）方法；EIASC 是在 Matlab、C 和 Java 中最快的 KM 类算法。<sup>[23](https://ar5iv.labs.arxiv.org/html/1907.01697)</sup>

## 应用

MATLAB Fuzzy Logic Toolbox 支持一型 Mamdani 系统的五种内置去模糊化方法：质心法、平分线法、最大隶属度中点法、最大隶属度最小值法和最大隶属度最大值法，外加自定义方法。<sup>[2](https://www.mathworks.com/help/fuzzy/defuzzification-methods.html)</sup> scikit-fuzzy 的 defuzz 函数暴露相同的五种模式（'centroid'、'bisector'、'mom'、'som'、'lom'），通过假设相邻点之间为线性，将各段的矩与面积的乘积求和，再除以总面积，来精确计算质心。<sup>[24](https://github.com/scikit-fuzzy/scikit-fuzzy/blob/master/skfuzzy/defuzzify/defuzz.py)</sup> NI LabVIEW 从连续性和计算量方面比较 CoA、CoS、CoM 和 MoM，并建议定量决策使用最大隶属度中心法，定性决策（如信用评估）使用最大隶属度均值法，闭环控制使用 CoA 或 CoM。<sup>[25](https://www.ni.com/docs/en-US/bundle/labview/page/selecting-a-defuzzification-method.html)</sup>

对于控制应用，建议模糊控制器使用重心法和面积中心法，而最大值类技术适合一般模糊专家系统和模糊决策，其中 MOM 产生跳变，COG 产生平滑变化。<sup>[5](https://www.wseas.us/e-library/conferences/crete2002/papers/444-764.pdf)</sup> 模糊均值（FM）技术通过直接使用规则触发度将聚合和去模糊化结合起来，由于计算效率高，是模糊控制器中最广泛使用的技术之一。<sup>[5](https://www.wseas.us/e-library/conferences/crete2002/papers/444-764.pdf)</sup>

## 局限与替代方案

真实重心法在精度和平滑连续输出方面更受青睐，但其高延迟和计算复杂性使其在许多实际应用中无法使用。<sup>[26](https://www.sciencedirect.com/science/article/abs/pii/S0952197612001601)</sup> DECADE 是一种避免乘除法的加移位质心近似方法，计算速度远快于 COG，具有等效的静态、动态和统计行为，且近似误差极低。<sup>[27](https://doi.org/10.1145/326619.326688)</sup> 三种便于实现的去模糊化算法被提出，在 Pentium IV、PowerPC 和 TI C62 DSP 平台上执行时间和指令数大幅降低，并在面积、延迟和功耗方面获得硬件综合收益，其中一项报告增益达 63%。<sup>[26](https://www.sciencedirect.com/science/article/abs/pii/S0952197612001601)</sup>

最大值类方法有一个特定的失效模式：MOM 只考虑最大隶属度值，在 \( h = 1/2 \) 处产生不希望的输出跳跃。<sup>[27](https://doi.org/10.1145/326619.326688)</sup> 在 Takagi–Sugeno 控制中，COA 在子系统之间提供平滑切换，而 MOM 和最小值去模糊化导致突变切换，可能产生抖动，影响合成系统的质量；对于某些 Takagi–Sugeno 输入输出模型，去模糊化方法的选择并不重要，因为它无法显著改善动态特性，而在 Mamdani 模型中切换可能相当大。<sup>[28](https://science.lpnu.ua/sites/default/files/journal-paper/2017/jun/4626/lidemkiv.pdf)</sup> 质心法的平滑性有一种力学解读：触发强度为 0.10 到 0.20 的弱规则不会被丢弃，而是轻推质心，输入的微小变化产生输出的微小变化。<sup>[8](https://comcomponent.com/en/learning/fuzzy-control/4-defuzzification/)</sup>

替代方案包括 Sugeno 加权平均、<sup>[4](https://www.mathworks.com/help/fuzzy/types-of-fuzzy-inference-systems.html)</sup> 模糊均值、<sup>[5](https://www.wseas.us/e-library/conferences/crete2002/papers/444-764.pdf)</sup> 以及 α 截集去模糊化（ACD），后者在 Pourabdollah、Mendel 和 John（2020）中描述，对于凸模糊集其计算复杂度与质心法大致相同，在仿真中对噪声时间序列预测显著优于质心法。<sup>[29](https://link.springer.com/chapter/10.1007/978-3-031-35378-9_3)</sup> 非标准方法 BADD 和 SLIDE 在理论上有发展，但在模糊应用中未广泛使用。<sup>[26](https://www.sciencedirect.com/science/article/abs/pii/S0952197612001601)</sup> 在二型系统中，当只有一条规则触发时，高度型别缩减坍缩为单点，不将任何不确定性关联到输出，这就是为什么以集合中心型别缩减更受青睐。<sup>[19](https://sipi.usc.edu/~mendel/publications/Karnik%20etal.%20TFS%2012-99.pdf)</sup> 一型去模糊化在非凸或多峰输出集上的行为在已发表文献中尚无直接定论；已发表的论述仅涵盖存在多个最大值时的 MOM 输出跳跃和高度型别缩减的单规则坍缩。

## References

1. [Defuzzification, by Masaharu Mizumoto, Handbook of Fuzzy Computation (CRC Press, 1998)](https://www.taylorfrancis.com/chapters/edit/10.1201/9780429142741-33/defuzzification-masaharu-mizumoto)
2. [Defuzzification Methods - MATLAB & Simulink (MathWorks documentation)](https://www.mathworks.com/help/fuzzy/defuzzification-methods.html)
3. [Centroids Beyond Defuzzification (Figueroa-García, Servin & Kreinovich, NAFIPS 2020 slides)](https://www.cs.utep.edu/vladik/slides/nafips20centroid.pdf)
4. [Mamdani and Sugeno Fuzzy Inference Systems - MATLAB & Simulink](https://www.mathworks.com/help/fuzzy/types-of-fuzzy-inference-systems.html)
5. [Analysis of Basic Defuzzification Techniques (WSEAS, Crete 2002)](https://www.wseas.us/e-library/conferences/crete2002/papers/444-764.pdf)
6. [Chapter 5: Defuzzification Methods (Debasis Samanta, IIT Kharagpur course notes)](https://cse.iitkgp.ac.in/~dsamanta/courses/archive/sca/Archives/Chapter%205%20Defuzzification%20Methods.pdf)
7. [Super-Exponential Convergence of the Karnik–Mendel Algorithms (Mendel & Liu, IEEE TFS 2007)](https://sipi.usc.edu/~mendel/publications/MendelLiuTFS4-07.pdf)
8. [Aggregation and defuzzification, back to one output (fuzzy control course)](https://comcomponent.com/en/learning/fuzzy-control/4-defuzzification/)
9. [Fuzzy sets (Information and Control, 1965)](https://doi.org/10.1016/s0019-9958%2865%2990241-x)
10. [An experiment in linguistic synthesis with a fuzzy logic controller (International Journal of Man-Machine Studies, 1975)](https://doi.org/10.1016/s0020-7373%2875%2980002-2)
11. [R.R. Yager, D.P. Filev (1993). SLIDE: A simple adaptive defuzzification method. IEEE Transactions on Fuzzy Systems.](https://doi.org/10.1109/tfuzz.1993.390286)
12. [Dimitar P. Filev, Ronald R. Yager (1991). A generalized defuzzification method via bad distributions. International Journal of Intelligent Systems.](https://doi.org/10.1002/int.4550060702)
13. [T.A. Runkler (1997). Selection of appropriate defuzzification methods using application specific properties. IEEE Transactions on Fuzzy Systems.](https://doi.org/10.1109/91.554449)
14. [Defuzzification: criteria and classification (Fuzzy Sets and Systems, 1999)](https://doi.org/10.1016/s0165-0114%2897%2900337-0)
15. [A survey of defuzzification strategies (Roychowdhury & Pedrycz, 2001, Int. J. Intelligent Systems 16(6):679-695)](https://onlinelibrary.wiley.com/doi/10.1002/int.1030)
16. [Defuzzification in Scenario Management – A theoretical and practical Guide (FEMM, Otto-von-Guericke Universität, 2023)](https://www.fww.ovgu.de/fww_media/femm/femm_2023/2023_05.pdf)
17. [Aarthi Chandramohan, M. V. C. Rao, M. Senthil. Arumugam (2006). Two New and Useful Defuzzification Methods Based on Root Mean Square Value. Soft Computing.](https://doi.org/10.1007/s00500-005-0042-6)
18. [Continuity focused choice of maxima: Yet another defuzzification method (Fuzzy Sets and Systems, 2001)](https://doi.org/10.1016/s0165-0114%2800%2900025-7)
19. [Type-2 fuzzy logic systems (Karnik, Mendel & Liang, IEEE Trans. Fuzzy Systems, 1999)](https://sipi.usc.edu/~mendel/publications/Karnik%20etal.%20TFS%2012-99.pdf)
20. [Centroid of a type-2 fuzzy set (Information Sciences, 2001)](https://doi.org/10.1016/s0020-0255%2801%2900069-x)
21. [Dongrui Wu, J.M. Mendel (2009). Enhanced Karnik--Mendel Algorithms. IEEE Transactions on Fuzzy Systems.](https://doi.org/10.1109/tfuzz.2008.924329)
22. [Type Reduction Operators for Interval Type-2 Defuzzification (Runkler et al.)](https://nottingham-repository.worktribe.com/OutputFile/1036756)
23. [Recommendations on Designing Practical Interval Type-2 Fuzzy Systems (Wu & Mendel, arXiv:1907.01697)](https://ar5iv.labs.arxiv.org/html/1907.01697)
24. [scikit-fuzzy defuzz.py source code](https://github.com/scikit-fuzzy/scikit-fuzzy/blob/master/skfuzzy/defuzzify/defuzz.py)
25. [Selecting a Defuzzification Method - NI LabVIEW](https://www.ni.com/docs/en-US/bundle/labview/page/selecting-a-defuzzification-method.html)
26. [Defuzzification block: New algorithms, and efficient hardware and software implementation issues (Mahdiani et al., Eng. Appl. of AI, 2012)](https://www.sciencedirect.com/science/article/abs/pii/S0952197612001601)
27. [DECADE, fast centroid approximation defuzzification for real time fuzzy control applications](https://doi.org/10.1145/326619.326688)
28. [Investigation of the defuzzification method influence on characteristics of the system with Takagi-Sugeno fuzzy controller (Demkiv, 2013)](https://science.lpnu.ua/sites/default/files/journal-paper/2017/jun/4626/lidemkiv.pdf)
29. [Type-1 Fuzzy Systems (Mendel, Uncertainty in Fuzzy Systems, Springer)](https://link.springer.com/chapter/10.1007/978-3-031-35378-9_3)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/defuzzification

English original: https://www.edgepedia.org/defuzzification
