Molina-Campoverde Juan José, Zurita-Jara Juan, Molina-Campoverde Paúl
Grupo de Ingeniería Automotriz, Movilidad y Transporte (GiAUTO), Carrera de Ingeniería Automotriz-Campus Sur, Universidad Politécnica Salesiana, Quito 170702, Ecuador.
Sensors (Basel). 2025 Jun 28;25(13):4043. doi: 10.3390/s25134043.
This study proposes an automatic gear shift classification algorithm in M1 category vehicles using data acquired through the onboard diagnostic system (OBD II) and GPS. The proposed approach is based on the analysis of identification parameters (PIDs), such as manifold absolute pressure (MAP), revolutions per minute (RPM), vehicle speed (VSS), torque, power, stall times, and longitudinal dynamics, to determine the efficiency and behavior of the vehicle in each of its gears. In addition, the unsupervised K-means algorithm was implemented to analyze vehicle gear changes, identify driving patterns, and segment the data into meaningful groups. Machine learning techniques, including K-Nearest Neighbors (KNN), decision trees, logistic regression, and Support Vector Machines (SVMs), were employed to classify gear shifts accurately. After a thorough evaluation, the KNN (Fine KNN) model proved to be the most effective, achieving an accuracy of 99.7%, an error rate of 0.3%, a precision of 99.8%, a recall of 99.7%, and an F1-score of 99.8%, outperforming other models in terms of accuracy, robustness, and balance between metrics. A multiple linear regression model was developed to estimate instantaneous fuel consumption (in L/100 km) using the gear predicted by the KNN algorithm and other relevant variables. The model, built on over 66,000 valid observations, achieved an R of 0.897 and a root mean square error (RMSE) of 2.06, indicating a strong fit. Results showed that higher gears (3, 4, and 5) are associated with lower fuel consumption. In contrast, a neutral gear presented the highest levels of consumption and variability, especially during prolonged idling periods in heavy traffic conditions. In future work, we propose integrating this algorithm into driver assistance systems (ADAS) and exploring its applicability in autonomous vehicles to enhance real-time decision making. Such integration could optimize gear shift timing based on dynamic factors like road conditions, traffic density, and driver behavior, ultimately contributing to improved fuel efficiency and overall vehicle performance.
本研究提出了一种针对M1类车辆的自动换挡分类算法,该算法使用通过车载诊断系统(OBD II)和全球定位系统(GPS)获取的数据。所提出的方法基于对识别参数(PIDs)的分析,如歧管绝对压力(MAP)、每分钟转数(RPM)、车速(VSS)、扭矩、功率、失速次数和纵向动力学,以确定车辆在每个档位的效率和运行状态。此外,采用无监督K均值算法来分析车辆换挡情况、识别驾驶模式并将数据分割成有意义的组。运用了包括K近邻(KNN)、决策树、逻辑回归和支持向量机(SVM)在内的机器学习技术来准确分类换挡。经过全面评估,KNN(精细KNN)模型被证明是最有效的,其准确率达到99.7%,错误率为0.3%,精确率为99.8%,召回率为99.7%,F1分数为99.8%,在准确性、稳健性和指标平衡方面优于其他模型。开发了一个多元线性回归模型,使用KNN算法预测的档位和其他相关变量来估计瞬时燃油消耗(单位:L/100公里)。该模型基于超过66000条有效观测数据构建,R值为0.897,均方根误差(RMSE)为2.06,表明拟合效果良好。结果显示,高档位(3档、4档和5档)与较低的燃油消耗相关。相比之下,空档的燃油消耗水平和变化程度最高,尤其是在繁忙交通状况下的长时间怠速期间。在未来的工作中,我们建议将此算法集成到驾驶员辅助系统(ADAS)中,并探索其在自动驾驶车辆中的适用性,以增强实时决策能力。这种集成可以根据道路状况、交通密度和驾驶员行为等动态因素优化换挡时机,最终有助于提高燃油效率和整体车辆性能。