1. 工具概述
过程能力分析工具用于评估连续型测量数据相对于规格限的分布、居中程度与潜在不合格风险。当前版本支持单次能力分析、子组能力分析和历史能力分析。
所有数据均在当前浏览器中处理,不会上传到服务器。能力分析不能替代测量系统分析、过程稳定性验证或工程放行审批。
2. 快速开始
- 从顶部选择分析模式,或从“示例案例”载入可运行的数据。
- 上传 Excel/CSV 文件,或直接粘贴测量数据。
- 检查自动识别的数据类型与有效数据数量;需要时确认字段映射。
- 填写产品或过程名称、LSL、Target、USL 和能力要求。
- 点击“计算”或“运行分析”,然后在 Dashboard 与 Report 间切换查看结果。
3. 分析模式
| 模式 | 适用数据 | 主要输出 |
| 单次能力分析 | 一列独立测量值;没有合理子组信息 | Cp、Cpk、Pp、Ppk、标准差、PPM、正态性评估 |
| 子组能力分析 | 每行包含子组标识与测量值;至少 2 个子组且每组至少 2 个值 | 基于合并组内标准差的 Cp/Cpk,以及基于总体标准差的 Pp/Ppk |
| 历史能力分析 | 按日期、批次、供应商或其他分组字段组织的历史记录 | 各历史分组的 Pp/Ppk、均值与标准差趋势、分组比较及历史报告 |
4. 界面与三步工作流
- 测量数据:上传或粘贴数据,查看自动识别结果,并在需要时确认测量列或历史字段映射。
- 分析设置:输入产品/过程名称、编制人、LSL、Target、USL、能力要求、报告语言和数值精度。
- 运行:启动计算;成功后在 Dashboard 和 Report 间切换。
顶部“示例案例”分别提供单次、子组和历史演示数据。“本地保存/恢复”使用当前浏览器 localStorage,不会同步到其他设备。
5. 数据格式与最低要求
单列测量数据
Measurement
10.020
10.015
9.998
子组数据
Subgroup,Measurement
1,10.020
1,10.015
2,9.998
历史数据
Date,Characteristic,Lot,Measurement
2026-08-01,Diameter,Lot001,10.020
2026-08-01,Diameter,Lot001,10.015
可使用逗号、换行、制表符或常见表格格式。空白单元格会被排除;无法转换为数字的内容不会进入计算。Excel 读取需要浏览器成功加载 SheetJS,CSV 和粘贴数据不依赖该库。
- 至少 2 个有效值,且样本标准差必须大于 0。
- 子组模式至少 2 个子组,每组至少 2 个值。
- 样本量低于 30 时仍可计算,但会显示谨慎解释提示。
6. 规格与参数
- LSL / USL:规格下限和规格上限。USL 必须大于 LSL。
- Target:工程目标值,用于判断中心偏移和绘制目标线;不直接进入 Cp/Cpk 公式。
- 能力要求:判定能力指数是否达到要求的阈值,例如 1.330。
- 编制人 / 团队:显示在报告信息中,不参与统计计算。
7. 单次能力分析
- 选择“单次能力分析”和“单列测量数据”。
- 上传文件或粘贴数据,核对测量列、有效值数量和空值检查。
- 输入规格与能力要求,点击“计算”。
- 按数据有效性、过程中心、Cp/Cpk、Pp/Ppk、PPM 和正态性顺序复核。
没有合理子组信息时,本版本可能使用相同样本标准差估计组内与总体波动,因此 Cp=Pp、Cpk=Ppk 并不证明短期与长期波动相同。
8. 子组能力分析
子组应由近似相同短期条件下的观测值组成。长格式使用 Subgroup/Measurement 两列;矩阵格式使用每行一个子组。工具通过合并各组内平方和估计组内标准差。
- Cp/Cpk 基于合并组内标准差,用于描述短期能力。
- Pp/Ppk 基于全部样本总体标准差,用于描述当前总体绩效。
- Cpk 明显高于 Ppk 时,应检查时间、批次、换线、设置或维护造成的长期变化。
- 子组大小可以不同,但明显不一致时应复核抽样方案。
9. 历史能力分析
- 导入带表头的历史表格。
- 查看高/中/低识别置信度;低置信度时必须修正标红字段。
- 确认分组列、测量列,以及可选特性、零件号和批号列。
- 如存在多个特性,选择本次分析特性。
- 复核有效行、排除行和分组数量后运行。
历史模式输出每组 N、均值、样本标准差、Pp、Ppk、最小值、最大值、状态和警告,并提供 Ppk、均值和标准差趋势。历史分组不一定是合理子组,因此当前版本不报告 Cp/Cpk。
10. Excel 自动识别
- 扫描多个工作表并选择最可能的数据块。
- 识别单列、长格式子组、宽格式子组和行式矩阵。
- 忽略常见日期、序号、操作员和备注列。
- 可从元数据行识别 LSL、USL 和 Target。
- 多候选测量列或低置信度时要求用户确认。
Excel 无法读取时,将数据另存为 CSV,或从 Excel 复制后粘贴。不要在测量单元格中加入单位文字。
11. 计算方法
Cp = (USL - LSL) / (6 × σwithin)
Cpk = min[(USL - Mean), (Mean - LSL)] / (3 × σwithin)
Pp = (USL - LSL) / (6 × σoverall)
Ppk = min[(USL - Mean), (Mean - LSL)] / (3 × σoverall)
总体标准差使用 n-1 分母的样本标准差。子组模式的组内标准差使用合并组内平方和。预计 PPM 使用均值和总体标准差拟合正态分布尾部概率。
12. 如何理解结果
- Cp:基于组内标准差的潜在能力,只反映公差宽度与短期波动的关系。
- Cpk:同时考虑组内波动和均值靠近哪一侧规格限。
- Pp / Ppk:使用总体标准差,表示当前数据所体现的长期总体绩效。
- 组内 / 总体标准差:两者差异较大时,可能存在批次间、时间序列或其他长期漂移。
- 预计不合格 PPM:基于当前样本均值、总体标准差及拟合正态分布的统计估计,不等同于实际检出的不良数量。
- 正态性评估:采用 Anderson-Darling 检验。未拒绝正态性不代表过程稳定,也不证明样本具有代表性。
样本量少于 30 时工具会提示谨慎解释。标准差为 0 或有效数值少于 2 个时无法计算能力指数。
13. Dashboard、图表与 Report
Dashboard 用于快速查看 KPI、能力分布图、过程统计和工程摘要。能力分布图显示观测直方图、组内/总体分布、规格限、目标值、均值及 Sigma 标尺。
Report 提供工程文档式预览,可复制或导出 HTML,并可通过浏览器打印对话框导出 PDF。报告语言跟随当前中文/英文界面。可上传公司 Logo;Logo 仅保存在本地并按固定 160 × 40 px 区域缩放显示。
正式导出前应确认报告语言、规格、能力要求、警告和原始数据附录。PDF 使用浏览器打印流程,建议选择 A4 并关闭浏览器默认页眉页脚。
14. 本地保存、Logo 与隐私
“本地保存”将当前工作区参数写入浏览器 localStorage;“恢复”从同一浏览器读取。清除浏览器站点数据、使用隐私窗口或更换设备后,保存内容可能不可用。
公司 Logo 同样只保存在本地,按固定区域保持宽高比缩放。测量值、规格限、文件名、列名和报告内容不会上传到服务器。
15. 故障排查
- 无法计算:检查有效值数量、标准差、LSL/USL 和能力要求。
- 子组错误:确认至少 2 个子组且每组至少 2 个值。
- 历史映射未就绪:展开映射并选择数值型测量列与有效分组列。
- Excel 库不可用:使用 CSV 或粘贴数据。
- PDF 未打开:允许当前站点打开打印窗口。
- 恢复不到数据:确认使用同一浏览器、同一网址且未清除站点数据。
16. 使用限制与工程建议
- 量产放行前应先确认测量系统适用,并结合控制图或时间顺序证据确认过程稳定。
- 历史分析当前输出 Pp/Ppk;由于历史分组通常不等同于合理子组,不报告 Cp/Cpk。
- 单侧规格、非正态分布、混合分布或明显离群数据需要额外的工程判断。
- 报告结论是决策支持信息,不替代组织内部的质量审批流程。
用于正式流程时,应保留源数据、抽样说明、规格版本、警告、报告和工具版本,并由具备相应职责的人员完成受控评审。
1. Tool Overview
The Process Capability Analysis Tool evaluates continuous measurement data against specification limits, including process spread, centering, and estimated nonconformance risk. The current release supports Single, Subgroup, and Historical Capability Analysis.
All data is processed in the current browser and is not uploaded to a server. Capability analysis does not replace measurement system analysis, process stability verification, or engineering release approval.
2. Quick Start
- Select an analysis mode from the top bar, or load a runnable dataset from Demo Cases.
- Upload an Excel/CSV file or paste measurement data.
- Review the detected data type and valid value count; confirm field mapping when required.
- Enter the product or process name, LSL, Target, USL, and capability requirement.
- Select Calculate or Run Analysis, then review the Dashboard and Report tabs.
3. Analysis Modes
| Mode | Use When | Main Outputs |
| Single Capability Analysis | One column of individual measurements with no rational subgroup information | Cp, Cpk, Pp, Ppk, standard deviations, PPM, and normality assessment |
| Subgroup Capability Analysis | Each row contains a subgroup identifier and value; at least 2 subgroups with 2 values per subgroup | Cp/Cpk from pooled within variation and Pp/Ppk from overall variation |
| Historical Capability Analysis | Historical records grouped by date, lot, supplier, or another grouping field | Group Pp/Ppk, mean and standard deviation trends, group comparison, and historical report |
4. Interface and Three-Step Workflow
- Measurement Data: Upload or paste data, review automatic recognition, and confirm measurement or historical field mapping when required.
- Analysis Setup: Enter report identity, LSL, Target, USL, capability requirement, report language, and decimal precision.
- Run: Start calculation, then review Dashboard and Report.
Demo Cases provides runnable Single, Subgroup, and Historical datasets. Local Save/Restore uses browser localStorage and does not synchronize across devices.
5. Data Formats and Minimum Requirements
Single-column data
Measurement
10.020
10.015
9.998
Subgroup data
Subgroup,Measurement
1,10.020
1,10.015
2,9.998
Historical data
Date,Characteristic,Lot,Measurement
2026-08-01,Diameter,Lot001,10.020
2026-08-01,Diameter,Lot001,10.015
Comma-separated, line-separated, tabular, and common spreadsheet formats are supported. Blank cells are excluded and nonnumeric content is not included in calculations. Excel import requires SheetJS to load successfully; CSV and pasted data do not depend on that library.
- At least 2 valid values with sample standard deviation greater than zero.
- Subgroup mode requires at least 2 subgroups with at least 2 values each.
- Samples below 30 can be calculated but receive a caution message.
6. Specifications and Settings
- LSL / USL: Lower and upper specification limits. USL must be greater than LSL.
- Target: Engineering target used to evaluate centering and draw the target line; it is not part of the Cp/Cpk formulas.
- Capability Requirement: Threshold used to classify capability indices, such as 1.330.
- Prepared By / Team: Report metadata only; it does not affect calculations.
7. Single Capability Analysis
- Select Single Analysis and Single Measurement Data.
- Upload or paste data; verify the measurement column, valid count, and missing-value status.
- Enter specifications and the capability requirement, then Calculate.
- Review data validity, centering, Cp/Cpk, Pp/Ppk, PPM, and normality in that order.
Without rational subgroups, the same sample standard deviation may estimate within and overall variation. Cp=Pp or Cpk=Ppk does not prove that short- and long-term variation are equal.
8. Subgroup Capability Analysis
Subgroups should represent observations produced under approximately the same short-term conditions. Long format uses Subgroup/Measurement columns; matrix format treats each row as one subgroup. Within SD is estimated from pooled within-group sums of squares.
- Cp/Cpk use pooled within SD and describe short-term capability.
- Pp/Ppk use overall sample SD and describe current overall performance.
- When Cpk materially exceeds Ppk, investigate time, lot, setup, line-change, or maintenance effects.
- Unequal subgroup sizes are supported but should be reviewed for sampling consistency.
9. Historical Capability Analysis
- Import a historical table with headers.
- Review high/medium/low recognition confidence; low confidence requires field correction.
- Confirm group and measurement columns plus optional characteristic, part, and lot fields.
- Select one characteristic when the source contains several.
- Review valid/excluded rows and group count before running.
Historical output includes group N, mean, sample SD, Pp, Ppk, minimum, maximum, status, warnings, and Ppk/mean/SD trends. Historical groups are not necessarily rational subgroups, so Cp/Cpk are intentionally omitted.
10. Excel Recognition
- Scans multiple worksheets and selects the most likely data block.
- Recognizes single-column, long subgroup, wide subgroup, and row-matrix layouts.
- Ignores common date, sequence, operator, and remarks columns.
- Can detect LSL, USL, and Target from metadata rows.
- Requests user confirmation for multiple candidates or low-confidence detection.
If Excel import is unavailable, save as CSV or paste from Excel. Do not place unit text inside measurement cells.
11. Calculation Methods
Cp = (USL - LSL) / (6 × σwithin)
Cpk = min[(USL - Mean), (Mean - LSL)] / (3 × σwithin)
Pp = (USL - LSL) / (6 × σoverall)
Ppk = min[(USL - Mean), (Mean - LSL)] / (3 × σoverall)
Overall SD is the sample standard deviation with n-1 denominator. Subgroup within SD uses pooled within-group sums of squares. Estimated PPM uses normal-tail probabilities from the current mean and overall SD.
12. Understanding Results
- Cp: Potential capability based on within standard deviation; it compares tolerance width with short-term variation.
- Cpk: Accounts for within variation and the mean position relative to the nearest specification limit.
- Pp / Ppk: Use overall standard deviation and describe the long-term performance represented by the current data.
- Within / Overall SD: A material difference may indicate lot-to-lot, time-related, or other long-term variation.
- Estimated PPM: A model-based estimate from the current mean, overall standard deviation, and fitted normal distribution; it is not the observed defect count.
- Normality Assessment: Uses the Anderson-Darling test. Failure to reject normality does not prove process stability or sample representativeness.
Results from fewer than 30 observations require caution. Capability cannot be calculated when fewer than 2 valid values exist or the standard deviation is zero.
13. Dashboard, Plot, and Report
The Dashboard provides KPI values, a capability distribution plot, process statistics, and an engineering summary. The plot includes observed data, within/overall distributions, specification limits, target, mean, and a Sigma scale.
The Report provides an engineering-document preview, HTML export, and PDF export through the browser print dialog. Report language follows the selected Chinese/English interface. An optional company logo is stored locally and scaled into a fixed 160 × 40 px area.
Before formal export, verify language, specifications, requirement, warnings, and raw-data appendix. For PDF, use A4 and disable browser-generated headers and footers.
14. Local Save, Logo, and Privacy
Local Save writes workspace settings to browser localStorage. Restore reads them in the same browser. Clearing site data, using private browsing, or changing devices can make saved content unavailable.
The company logo also remains local and is aspect-fit into a fixed area. Measurement values, specifications, filenames, column names, and report content are not uploaded.
15. Troubleshooting
- No result: Check valid count, SD, LSL/USL, and capability requirement.
- Subgroup error: Confirm at least 2 groups and 2 values per group.
- Historical mapping not ready: Select a numeric measurement field and valid group field.
- Excel library unavailable: Use CSV or pasted data.
- PDF did not open: Allow the site to open the print window.
- Saved workspace missing: Use the same browser and URL and confirm site data was not cleared.
16. Limitations and Recommended Practice
- Confirm the measurement system and process stability using appropriate evidence before production release.
- Historical Analysis currently reports Pp and Ppk only because historical groups are not necessarily rational subgroups.
- One-sided specifications, nonnormal or mixed distributions, and material outliers require additional engineering judgment.
- Report conclusions support decisions but do not replace the organization's quality approval process.
For formal use, retain source data, sampling context, specification revision, warnings, report, and tool version, then complete a controlled review by authorized personnel.