APP下载

基于线性回归方程的加油机油耗计算研究

2021-08-05郑明航彭来湖史伟民

软件工程 2021年7期

郑明航 彭来湖 史伟民

摘  要:针对现有针织圆机[1]加油装置无法精准控制和计算喷油量,基于ARM平台设计了一种精准高效的针织圆机喷油系统。系统实现的功能包括信号采集、信号处理、人机交互和控制输出。针对机械振动导致的油位波动问题,通过最小二乘法[2]求出两个小时内油位数据的拟合曲线,得到当前油位的预估值。人机交互[3]设计包括油耗显示、气压显示、报警输出、系统参数录入等。通过测试对比,系统能够精确控制喷油时间,准确显示油耗信息,及时对异常情况报警,具有较高的准确性和稳定性。

关键词:加油机;最小二乘法;人机交互技术

中图分类号:TP311     文献标识码:A

Research on Fuel Consumption Calculation of Refueling

Tanker based on Linear Regression Equation

ZHENG Minghang1, PENG Laihu1,2, SHI Weimin1

(1.Key Laboratory of Modern Textile Equipment Technology, Zhejiang Sci-tech University, Hangzhou 310018, China;

2.Hangzhou Xuren Automation Limited Company, Hangzhou 310018, China)

zheng_m_h6@163.com; 43233212@qq.com; swm@zstu.edu.cn

Abstract: Aiming at the inaccurate control and calculation of fuel injection volume of the existing circular knitting machine[1] refueling device, this paper proposes to design a precise and efficient circular knitting machine oil injection system based on ARM (Advanced RISC Machine) platform. Functions of the system include signal acquisition, signal processing, human-computer interaction and control output. With regard to the problem of oil level fluctuation caused by mechanical vibration, the fitting curve of oil level data within two hours is obtained by using the least square method[2], and thus the estimated value of the current oil level is obtained. Human-computer interaction[3] design includes fuel consumption display, air pressure display, alarm output, system parameter input and so on. Through comparison test, the proposed system can accurately control fuel injection time, precisely display fuel consumption information, and timely alarm for abnormal situations. The system has high accuracy and stability.

Keywords: refueling tanker; least square method; human-computer interaction techniques

1   引言(Introduction)

针织圆机在高速运转过程中,织针与三角、针筒中间存在滑动摩擦,需要通过加油装置添加润滑油。在現有设备中,润滑油的添加量无法得到精确控制,加油过多时不仅造成资源浪费,而且容易沾到布匹上,形成油斑;加油过少则会导致机械部件磨损,减少使用寿命。除此之外,设备在运行时产生的机械振动,使油位传感器检测的油位数据呈波动变化,会影响后续的数据处理,降低系统的准确性。

针对当前加油设备的不足,本文设计了一种精准高效的针织圆机喷油系统。操作人员可以通过人机界面查看当前油位值和气压值;可以通过薄膜键盘设置气阀开闭时间,控制喷油量。使用最小二乘法对传感器采集的油位数据进行线性拟合,参考汽车油耗表的设计[4],根据拟合的油位数据,计算并显示瞬时油耗、累计油耗和剩余时间,以便操作人员记录油耗和停机加油。……

登录APP查看全文