基于机器学习的煤炭可选性曲线绘制及软件开发

Drawing of coal washability curves based on machine learning and development of the drawing application

  • 摘要: 煤炭可选性曲线是确定洗选工艺和评估分选效果的重要依据,但现有绘制方法存在需要人工确定坐标轴交点、依赖经验公式、难以实现自动化等问题,且多基于商业软件完成,制约了选煤产业的智能化发展。为实现煤炭可选性曲线的智能化、自动化绘制,摆脱对商业软件的技术依赖,构建基于机器学习的可选性曲线自动绘制算法,提出了InterFitWashability算法。该算法包含3个核心步骤:插值数据增强阶段,针对不同曲线特性选择性地使用三次样条插值(用于平滑的基元灰分和沉物曲线)和Akima插值(用于转折较大的浮物、密度及δ±0.1含量曲线),并通过PolynomialFeatures增加高次项,解决浮沉实验数据量不足的问题;外推延长数据增强阶段,分别提取曲线上下端的数学特征,对线性区域使用线性回归模型,对非线性区域使用高斯过程回归模型进行预测,实现曲线的自动延长并确定与坐标轴的交点;整体拟合阶段,基于前2步生成的数据训练决策树回归模型,建立完整统一的回归模型,生成最终的可选性曲线。实验选取3组煤质差异较大的浮沉数据(易选煤、难选煤及过渡态煤样)验证算法性能,结果显示InterFitWashability算法在3组测试数据上均取得优异性能:均方误差(MSE)范围为0.00120.0364,平均绝对误差(MAE)范围为0.017~0.025,平均曲率小于0.008。与基于MATLAB、Excel等方法相比,优于传统的曲线拟合法与插值法,能够实现可选性曲线的自动化与智能化绘制。算法生成的曲线在与坐标轴相交时交点位置合理,曲线走势平滑自然,无明显拐点。对于不同性质的煤样,算法均表现出良好的适应性。InterFitWashability算法通过机器学习方法成功实现了煤炭可选性曲线的自动化和智能化绘制,在曲线走势、拟合误差和曲线平滑度3个方面均优于传统方法。算法有效解决了现有方法的关键技术难题:通过分段提取曲线特征并分别延长,避免了对经验公式的依赖;通过数据增强技术提高了小样本数据的拟合精度;通过完全基于开源Python平台开发,摆脱了对商业软件的依赖。该算法为选煤产业的智能化发展提供了新的技术支撑,具有广泛的应用前景。

     

    Abstract: Coal washability curves are crucial for determining beneficiation processes and evaluating separation effectiveness. However, existing drawing methods require manual determination of coordinate axis intersections, depend on empirical formulas, are difficult to automate, and rely heavily on commercial software, which constrains the intelligent development of the coal preparation industry. An automated coal washability curve plotting algorithm based on machine learning is developed to realize intelligent curve generation and reduce dependence on commercial software. The InterFitWashability algorithm is proposed, comprising three core steps: Interpolation-based data augmentation phase — selectively using cubic spline interpolation (for elementary ash and cumulative sink curves) and Akima interpolation (for cumulative float, densimetric, and δ±0.1 content curves with sharp transitions), supplemented by PolynomialFeatures to add higher-order terms, addressing the issue of insufficient float-and-sink experimental data. Extrapolation-based data augmentation phase — extracting mathematical features from upper and lower curve segments separately, applying linear regression models for linear regions and Gaussian process regression models for nonlinear regions to predict and achieve automatic curve extension and determine coordinate axis intersections. Overall fitting phase — training decision tree regression models based on data generated from previous steps to establish a complete unified regression model for final washability curve generation. Three float-and-sink datasets with significantly different coal qualities (easy-to-wash coal, difficult-to-wash coal, and transitional coal samples) were selected to validate algorithm performance. Results show that the InterFitWashability algorithm achieved excellent performance across all three test datasets: mean square error (MSE) rangs from 0.0012 to 0.0364, mean absolute error (MAE) ranges from 0.017 to 0.025, and average curvature below 0.008. Compared to MATLAB-based fitting methods, it outperforms traditional curve fitting and interpolation methods, enabling automated and intelligent washability curve drawing. The algorithm-generated curves exhibit reasonable intersection points with coordinate axes, smooth and natural curve trends without obvious inflection points. For coal samples with different properties, the algorithm demonstrated good adaptability. The InterFitWashability algorithm successfully achieves automated and intelligent drawing of coal washability curves through machine learning methods, outperforming traditional methods in curve trends, fitting errors, and curve smoothness. The algorithm innovatively solves key technical challenges of existing methods: avoiding dependence on empirical formulas by segmentally extracting curve features and extending them separately; improving fitting accuracy of small sample data through data augmentation techniques; eliminating reliance on commercial software through complete development on the open-source Python platform. This algorithm provides new technical support for the intelligent development of the coal preparation industry with broad application prospects.

     

/

返回文章
返回