CN111521232A - On-line oil quantity measuring system and method for oil tank of diesel heavy truck - Google Patents

On-line oil quantity measuring system and method for oil tank of diesel heavy truck Download PDF

Info

Publication number
CN111521232A
CN111521232A CN202010134973.XA CN202010134973A CN111521232A CN 111521232 A CN111521232 A CN 111521232A CN 202010134973 A CN202010134973 A CN 202010134973A CN 111521232 A CN111521232 A CN 111521232A
Authority
CN
China
Prior art keywords
liquid level
module
data processing
fuel tank
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010134973.XA
Other languages
Chinese (zh)
Inventor
刘广敏
王知学
侯恩广
乔昕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Jiaotong University
Original Assignee
Shandong Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Jiaotong University filed Critical Shandong Jiaotong University
Priority to CN202010134973.XA priority Critical patent/CN111521232A/en
Publication of CN111521232A publication Critical patent/CN111521232A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/80Arrangements for signal processing
    • G01F23/802Particular electronic circuits for digital processing equipment
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F17/00Methods or apparatus for determining the capacity of containers or cavities, or the volume of solid bodies
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Fluid Mechanics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

本发明涉及一种柴油重卡油箱油量在线测量系统和方法。包括油箱、液位传感器、信号转换模块、数据处理模块、数据传输模块、监控平台,液位传感器设置在油箱的底部,液位传感器依次连接信号转换模块、数据处理模块、数据传输模块、监控平台;数据处理模块的随机存储器设置液位数据缓冲区,数据缓冲区内数据进行加权滤波,利用滤波后得到的液位数据缓冲区里的数据计算液位。可以实时对油量进行监控,而且油量的信息不易受到车辆颠簸的影响,油量信息更准确。

Figure 202010134973

The invention relates to an on-line measuring system and method for the oil quantity of a diesel heavy-duty truck fuel tank. It includes a fuel tank, a liquid level sensor, a signal conversion module, a data processing module, a data transmission module, and a monitoring platform. The liquid level sensor is set at the bottom of the fuel tank, and the liquid level sensor is connected to the signal conversion module, data processing module, data transmission module, and monitoring platform in turn. ; The random memory of the data processing module sets the liquid level data buffer, the data in the data buffer is weighted and filtered, and the liquid level is calculated by using the data in the liquid level data buffer obtained after filtering. The fuel quantity can be monitored in real time, and the fuel quantity information is not easily affected by vehicle bumps, and the fuel quantity information is more accurate.

Figure 202010134973

Description

一种柴油重卡油箱油量在线测量系统和方法A system and method for online measurement of fuel quantity in diesel heavy truck fuel tank

技术领域technical field

本发明属于在线监测设备技术领域,具体涉及一种柴油重卡油箱油量在线测量系统和方法。The invention belongs to the technical field of on-line monitoring equipment, and in particular relates to an on-line measuring system and method for the oil quantity of a diesel heavy-duty truck fuel tank.

背景技术Background technique

公开该背景技术部分的信息仅仅旨在增加对本发明的总体背景的理解,而不必然被视为承认或以任何形式暗示该信息构成已经成为本领域一般技术人员所公知的现有技术。The information disclosed in this Background section is only for enhancement of understanding of the general background of the invention and should not necessarily be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person of ordinary skill in the art.

柴油重卡是我国运输行业的重要运力,特别是在码头、港口等一些短距离运输量比较大的场所以及一些铁路运输不发达的地区,柴油重卡尤为重要。柴油重卡的油箱一般体积都比较大,储油量也比较多,在行驶过程中或暂停过程中,可能会出现意外油量丢失的情况,一旦柴油丢失,损失惨重。Diesel heavy trucks are an important transport capacity in my country's transportation industry, especially in some places with relatively large short-distance transportation such as wharves and ports, and some areas where railway transportation is not developed, diesel heavy trucks are particularly important. The fuel tanks of diesel heavy trucks are generally larger in volume and have more fuel storage capacity. During the driving process or during the suspension process, accidental fuel loss may occur. Once the diesel oil is lost, the loss will be heavy.

发明内容SUMMARY OF THE INVENTION

针对上述现有技术中存在的问题,本发明的目的是提供一种柴油重卡油箱油量在线测量系统和方法。Aiming at the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide an on-line measuring system and method for the oil quantity of a diesel heavy-duty truck fuel tank.

为了解决以上技术问题,本发明的技术方案为:In order to solve the above technical problems, the technical scheme of the present invention is:

一种柴油重卡油箱油量在线测量系统,包括重卡油箱、液位传感器、信号转换模块、数据处理模块、数据传输模块、监控平台,液位传感器设置在油箱的底部,液位传感器依次连接信号转换模块、数据处理模块、数据传输模块、监控平台;An on-line measurement system for fuel tank of diesel heavy-duty trucks, comprising a heavy-duty truck fuel tank, a liquid level sensor, a signal conversion module, a data processing module, a data transmission module, and a monitoring platform. module, data processing module, data transmission module, monitoring platform;

数据处理模块的随机存储器设置液位数据缓冲区,利用液位数据缓冲区里的数据计算液位。The random access memory of the data processing module sets the liquid level data buffer, and uses the data in the liquid level data buffer to calculate the liquid level.

本发明提供了一种柴油重卡油箱油量的测量系统,可以实时对油量进行监控,而且油量的信息不易受到车辆颠簸的影响,油量信息更准确。The invention provides a measuring system for the fuel quantity of the diesel heavy truck fuel tank, which can monitor the fuel quantity in real time, and the fuel quantity information is not easily affected by the bumping of the vehicle, and the fuel quantity information is more accurate.

作为本发明的一些实施方式,在线测量系统包括显示模块、实时时钟模块、报警装置,数据处理模块分别与显示模块、实时时钟模块、报警装置连接。显示模块可以设置在车内,方便观察油箱油量的情况。As some embodiments of the present invention, the online measurement system includes a display module, a real-time clock module, and an alarm device, and the data processing module is respectively connected with the display module, the real-time clock module, and the alarm device. The display module can be installed in the car, which is convenient to observe the fuel level of the fuel tank.

作为本发明的一些实施方式,液位传感器为静压投入式液位传感器,包含两个静压投入式液位传感器做冗余处理,两个静压投入式液位传感器分别与信号转换模块连接。As some embodiments of the present invention, the liquid level sensor is a hydrostatic submerged liquid level sensor, including two hydrostatic submerged liquid level sensors for redundant processing, and the two static pressure submerged liquid level sensors are respectively connected to the signal conversion module .

作为本发明的一些实施方式,信号转换模块包含电流电压转换电路、一阶RC滤波电路、限幅电路和10位ADC电路;电流电压转换电、一阶RC滤波电路及限幅电路与10位ADC电路顺序连接。As some embodiments of the present invention, the signal conversion module includes a current-to-voltage conversion circuit, a first-order RC filter circuit, a limiter circuit and a 10-bit ADC circuit; a current-to-voltage conversion circuit, a first-order RC filter circuit, a limiter circuit and a 10-bit ADC circuit; Circuits are connected sequentially.

作为本发明的一些实施方式,数据处理模块通过UART与数据传输模块连接,数据处理模块通过DO-D8与显示模块连接。As some embodiments of the present invention, the data processing module is connected to the data transmission module through UART, and the data processing module is connected to the display module through DO-D8.

作为本发明的一些实施方式,数据传输模块为GPRS无线数据传输方式。As some embodiments of the present invention, the data transmission module is a GPRS wireless data transmission mode.

作为本发明的一些实施方式,数据处理模块包括中央处理器(MCU)和存储器,MCU连接存储器(EEPROM),存储器采用3片EEPROM级联的方式。As some embodiments of the present invention, the data processing module includes a central processing unit (MCU) and a memory, the MCU is connected to a memory (EEPROM), and the memory adopts a cascading manner of three EEPROMs.

利用上述的在线测量系统的在线测量方法,具体步骤为:Using the online measurement method of the above-mentioned online measurement system, the specific steps are:

液位传感器将电流信号传递给信号转换模块,信号转换模块将电流信号转换为电压信号;The liquid level sensor transmits the current signal to the signal conversion module, and the signal conversion module converts the current signal into a voltage signal;

信号转换模块将电流信号经过滤波、限幅处理后转换为数字信号,输入到数据处理模块中;The signal conversion module converts the current signal into a digital signal after filtering and limiting processing, and inputs it into the data processing module;

实时时钟模块将时间信号传递到数据处理模块中,数据处理模块将得到的油量信号结合时间信息存入存储器;The real-time clock module transmits the time signal to the data processing module, and the data processing module stores the obtained fuel quantity signal in combination with the time information in the memory;

数据处理模块采用加权平均值滤波的方法计算液位,然后根据油箱的规格和通过参数标定的参数信息计算得到现有的油量;The data processing module uses the weighted average filtering method to calculate the liquid level, and then calculates the existing oil volume according to the specifications of the fuel tank and the parameter information calibrated by parameters;

数据处理模块分别将油量信号传递给显示模块和数据传输模块,数据传输模块将信号传输到监控平台。The data processing module transmits the oil quantity signal to the display module and the data transmission module respectively, and the data transmission module transmits the signal to the monitoring platform.

作为本发明的一些实施方式,数据处理模块中的加权平均值滤波的方法为:在RAM中设置液位数据缓冲区,以设定频率采集液位信息,最新采集的液位信息仅仅更新缓冲的一部分,更新后用缓冲区内的数据做平均值计算液位。这样,最新的液位数据只占据平均值计算的一部分,增加了液位数值的鲁棒性和抗干扰性。只要缓冲区的深度足够,缓冲区内的数据就能够反映一定时间内邮箱内液位的变化情况,再经过平均值计算就能够去除颠簸带来的液面波动。其缓冲区深度、采样频率、最新采样值在计算平均值时所占的比例,都可以通过参数进行设定,有必要时,还可以通过GPRS进行参数标定。As some embodiments of the present invention, the weighted average filtering method in the data processing module is as follows: a liquid level data buffer is set in the RAM, liquid level information is collected at a set frequency, and the newly collected liquid level information only updates the buffered In part, after the update, the average value of the data in the buffer is used to calculate the liquid level. In this way, the latest liquid level data only occupies a part of the average calculation, which increases the robustness and anti-interference of the liquid level value. As long as the depth of the buffer zone is sufficient, the data in the buffer zone can reflect the change of the liquid level in the mailbox within a certain period of time, and then the average value calculation can remove the fluctuation of the liquid level caused by the turbulence. Its buffer depth, sampling frequency, and the proportion of the latest sampling value in calculating the average value can be set through parameters, and if necessary, parameter calibration can be carried out through GPRS.

作为本发明的一些实施方式,油量的计算方法为:根据油箱的规格计算得到油箱的体积,然后结合液位信息,得到油量信息。As some embodiments of the present invention, the calculation method of the oil quantity is as follows: calculating the volume of the oil tank according to the specification of the oil tank, and then combining the liquid level information to obtain the oil quantity information.

本发明的有益效果:Beneficial effects of the present invention:

在本发明中,叙述了一种油箱油量在线测量装置,无论在行驶过程中还是在停车过程中,都能够实时监测油箱油量数据,并且定时把数据通过GPRS发送到监控后台,出现油量骤降的情况还可以发出警报信号,警报型号可以控制大功率蜂鸣器报警,并及时把数据上传到后台。In the present invention, an on-line measuring device for fuel tank oil quantity is described, which can monitor the fuel quantity data of the fuel tank in real time no matter in the process of driving or in the parking process, and regularly send the data to the monitoring background through GPRS, and the fuel quantity appears In the event of a sudden drop, an alarm signal can also be issued, and the alarm model can control the high-power buzzer to alarm, and upload the data to the background in time.

相比于现有的油量在线采集系统,提高了信号采集的准确性,消除了车辆运行过程中的信号波动问题。Compared with the existing oil quantity online collection system, the accuracy of signal collection is improved, and the problem of signal fluctuation during vehicle operation is eliminated.

附图说明Description of drawings

构成本发明的一部分的说明书附图用来提供对本申请的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。The accompanying drawings forming a part of the present invention are used to provide further understanding of the present application, and the exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention.

图1为本发明的实施例1的在线测量系统结构简图;1 is a schematic structural diagram of an on-line measurement system according to Embodiment 1 of the present invention;

图2为本发明的实施例1的在线测量系统的整体结构图;Fig. 2 is the overall structure diagram of the online measurement system of the embodiment 1 of the present invention;

图3为本发明的实施例1的油箱设置液位传感器的示意图;3 is a schematic diagram of a liquid level sensor provided in a fuel tank according to Embodiment 1 of the present invention;

图4为本发明的实施例1的在线测量系统的电源电路图;4 is a power supply circuit diagram of the online measurement system of Embodiment 1 of the present invention;

图5为本发明的实施例1的在线测量系统的GPRS无线数据传输模块的电路图;Fig. 5 is the circuit diagram of the GPRS wireless data transmission module of the online measurement system of Embodiment 1 of the present invention;

图6为本发明的实施例1的在线测量系统的GPRS无线数据传输模块的电源部分的电路图;Fig. 6 is the circuit diagram of the power supply part of the GPRS wireless data transmission module of the online measurement system of the embodiment 1 of the present invention;

图7为本发明的实施例1的在线测量系统的一阶RC滤波电路及限幅电路图;7 is a first-order RC filter circuit and a limiter circuit diagram of the online measurement system according to Embodiment 1 of the present invention;

图8为本发明的实施例1的在线测量系统的10位ADC电路图;8 is a 10-bit ADC circuit diagram of the on-line measurement system according to Embodiment 1 of the present invention;

图9为本发明的实施例1的在线测量系统的实时时钟模块的电路图;9 is a circuit diagram of a real-time clock module of the online measurement system according to Embodiment 1 of the present invention;

图10为本发明的实施例1的在线测量系统的EEPROM存储电路图;Fig. 10 is the EEPROM storage circuit diagram of the online measurement system of the embodiment 1 of the present invention;

图11为本发明的实施例1的在线测量系统的液晶显示模块接口电路;11 is a liquid crystal display module interface circuit of the online measurement system according to Embodiment 1 of the present invention;

图12为本发明的实施例1的在线测量系统的GPRS模块电路图;Fig. 12 is the GPRS module circuit diagram of the online measurement system of the embodiment 1 of the present invention;

图13为本发明的实施例1的在线测量系统的复位电路图;13 is a reset circuit diagram of the online measurement system of Embodiment 1 of the present invention;

图14为本发明的实施例1的MCU电路图;Fig. 14 is the MCU circuit diagram of Embodiment 1 of the present invention;

图15为本发明的实施例1的在线测量方法的流程图;15 is a flow chart of the online measurement method of Embodiment 1 of the present invention;

图16为本发明的实施例1的数据处理模块的流程图;16 is a flowchart of the data processing module of Embodiment 1 of the present invention;

图17为本发明的实施例2的在线测量方法的信号传输图;17 is a signal transmission diagram of the online measurement method of Embodiment 2 of the present invention;

其中,1、油箱,2、信号转换模块,3、数据处理模块,4、报警装置,5、实时时钟模块,6、数据传输模块,7、显示模块,8、监控模块,9、液位传感器,10、一阶RC滤波电路及限幅电路,11、10位ADC电路,12、MCU,13、EEPROM,14、复位电路。Among them, 1. Fuel tank, 2. Signal conversion module, 3. Data processing module, 4. Alarm device, 5. Real-time clock module, 6. Data transmission module, 7. Display module, 8. Monitoring module, 9. Liquid level sensor , 10, first-order RC filter circuit and limiter circuit, 11, 10-bit ADC circuit, 12, MCU, 13, EEPROM, 14, reset circuit.

具体实施方式Detailed ways

应该指出,以下详细说明都是例示性的,旨在对本发明提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本发明所属技术领域的普通技术人员通常理解的相同含义。It should be noted that the following detailed description is exemplary and intended to provide further explanation of the invention. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本申请的示例性实施方式。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、步骤、操作、器件、组件和/或它们的组合。下面结合实施例对本发明进一步说明实施例1It should be noted that the terminology used herein is for the purpose of describing specific embodiments only, and is not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly dictates otherwise, the singular is intended to include the plural as well, furthermore, it is to be understood that when the terms "comprising" and/or "including" are used in this specification, it indicates that There are features, steps, operations, devices, components and/or combinations thereof. Embodiment 1 is further described below in conjunction with the embodiments of the present invention

如图1和图2、图17所示,柴油重卡油箱油量在线测量系统,油箱1内设置两个液位传感器9,两个液位传感器9依次连接信号转换模块2、数据处理模块3、数据传输模块6、监控平台8,数据处理模块3分别与显示模块7、实时时钟模块5、报警装置4连接;As shown in Fig. 1, Fig. 2, Fig. 17, in the online measurement system of fuel tank oil quantity of diesel heavy truck, two liquid level sensors 9 are arranged in the fuel tank 1, and the two liquid level sensors 9 are connected to the signal conversion module 2, data processing module 3, The data transmission module 6, the monitoring platform 8, and the data processing module 3 are respectively connected with the display module 7, the real-time clock module 5, and the alarm device 4;

数据处理模块3的随机存储器设置液位数据缓冲区,利用液位数据缓冲区的数据计算液位。The random access memory of the data processing module 3 sets a liquid level data buffer, and uses the data in the liquid level data buffer to calculate the liquid level.

实时时钟模块产生日期和时间,数据处理模块3结合时间信息和油量信息,进行记录、存储或显示一个时间点的油量。The real-time clock module generates date and time, and the data processing module 3 records, stores or displays the oil quantity at a time point in combination with the time information and the oil quantity information.

液位传感器9为静压投入式液位传感器,包含两个静压投入式液位传感器,两个静压投入式液位传感器分别与信号转换模块2连接。The liquid level sensor 9 is a static pressure input type liquid level sensor, including two static pressure input type liquid level sensors, and the two static pressure input type liquid level sensors are respectively connected with the signal conversion module 2 .

信号转换模块2采用电流电压转换电路、一阶RC滤波电路及限幅电路10和10位ADC电路11,一阶RC滤波电路及限幅电路10与10位ADC电路11连接。The signal conversion module 2 adopts a current-voltage conversion circuit, a first-order RC filter circuit and a limiter circuit 10 and a 10-bit ADC circuit 11 , and the first-order RC filter circuit and the limiter circuit 10 are connected with the 10-bit ADC circuit 11 .

数据处理模块3通过UART与数据传输模块8连接,数据处理模块3通过DO-D8与显示模块7连接。显示模块7为液晶显示模块。The data processing module 3 is connected with the data transmission module 8 through the UART, and the data processing module 3 is connected with the display module 7 through the DO-D8. The display module 7 is a liquid crystal display module.

数据传输模块8为GPRS无线数据传输模块。The data transmission module 8 is a GPRS wireless data transmission module.

数据处理模块3包括中央处理器(MCU)12和存储器EEPROM 13,MCU 12与EEPROM 13连接。MCU 12与复位电路14连接。The data processing module 3 includes a central processing unit (MCU) 12 and a memory EEPROM 13 , and the MCU 12 is connected to the EEPROM 13 . The MCU 12 is connected to the reset circuit 14 .

实施例2Example 2

如图15和图16、图17所示,在线油量测量方法过程为:As shown in Figure 15, Figure 16, Figure 17, the process of the online oil measurement method is:

液位传感器9将电流信号传递给信号转换模块2,信号转换模块2将电流信号转换为电压信号;The liquid level sensor 9 transmits the current signal to the signal conversion module 2, and the signal conversion module 2 converts the current signal into a voltage signal;

信号转换模块2将电压信号转换为数字信号,输入到数据处理模块3中;The signal conversion module 2 converts the voltage signal into a digital signal and inputs it into the data processing module 3;

实时时钟模块5将信号传递到数据处理模块3中,数据处理模块3将得到的油量信号存入存储器13;The real-time clock module 5 transmits the signal to the data processing module 3, and the data processing module 3 stores the obtained oil quantity signal in the memory 13;

数据处理模块3采用加权平均值滤波的方法计算液位,然后根据油箱的规格和显示模块显示的油量信息计算得到现有的油量;The data processing module 3 uses the weighted average filtering method to calculate the liquid level, and then calculates the existing oil amount according to the specifications of the oil tank and the oil amount information displayed by the display module;

数据处理模块分别将油量信号传递给显示模块7和数据传输模块6,数据传输模块6将信号传输到监控平台8。The data processing module transmits the oil quantity signal to the display module 7 and the data transmission module 6 respectively, and the data transmission module 6 transmits the signal to the monitoring platform 8 .

油箱液位传感器采用2个液位传感器冗余的设计方式,液位传感器9输出4~20mA电流信号,信号输入到柴油车油箱油量在线测量系统的信号转换及滤波电路,通过转换电路把电流信号转换为电压信号,再经过一阶RC滤波电路及限幅电路10,输入到10位ADC 11中;ADC把输入的模拟电压信号转换为数字信号,输入到MCU 12中;MCU 12把接收到的数字信号通过软件换算,计算为柴油车油箱的液位及油量信号,再结合日历时钟的时间点,存储到EEPROM 13,并显示到显示模块7,达到一定时间间隔后(例如5分钟)把油量信息通过UART口发送到GPRS无线数据传输模块;GPRS无线数据传输模块通过移动网络把柴油车的油量信息发送到监控后台(PC机)由PC机监控柴油车油箱油量的历史数据等信息;此外,监控后台还可以采用软件插件通过GPRS无线数据传输模块,对柴油车油箱油量在线测量装置进行标定,例如柴油车油箱加满油油量、柴油车车号等;复位电路可以确保MCU正常工作,电源部分可以确保整个装置正常工作。The fuel tank liquid level sensor adopts the redundant design method of two liquid level sensors. The liquid level sensor 9 outputs a 4-20mA current signal, and the signal is input to the signal conversion and filter circuit of the diesel vehicle fuel tank oil quantity online measurement system, and the current is converted through the conversion circuit. The signal is converted into a voltage signal, which is then input into the 10-bit ADC 11 through the first-order RC filter circuit and the limiter circuit 10; the ADC converts the input analog voltage signal into a digital signal and inputs it into the MCU 12; the MCU 12 receives the received The digital signal is converted by software, calculated as the liquid level and oil quantity signal of the diesel vehicle fuel tank, and then combined with the time point of the calendar clock, stored in the EEPROM 13, and displayed to the display module 7, after reaching a certain time interval (for example, 5 minutes) The fuel quantity information is sent to the GPRS wireless data transmission module through the UART port; the GPRS wireless data transmission module sends the fuel quantity information of the diesel vehicle to the monitoring background (PC) through the mobile network, and the PC monitors the historical data of the fuel tank fuel quantity of the diesel vehicle and other information; in addition, the monitoring background can also use software plug-ins to calibrate the online measurement device of diesel fuel tank fuel quantity through GPRS wireless data transmission module, such as diesel fuel tank full fuel quantity, diesel vehicle number, etc.; the reset circuit can Make sure the MCU is working properly, and the power supply part can make sure the whole unit works properly.

如图16所示,在RAM中开辟一块液位数据缓冲区,以设定频率采集液位信息,最新采集的液位信息仅仅更新缓冲的一部分,更新后用缓冲区内的数据做平均值计算液位。采集液位数据的时间间隔可以是0.5s。As shown in Figure 16, a liquid level data buffer is opened in the RAM to collect liquid level information at a set frequency. The latest collected liquid level information only updates a part of the buffer. After the update, the data in the buffer is used to calculate the average value. liquid level. The time interval for collecting liquid level data may be 0.5s.

由于柴油车在形式过程中有车辆颠簸,导致油箱内液位传感器输出信号也随着波动输出,并且波动频率不定,如果直接把采样得到的液位数据用于计算油箱内油量,会导致油量数据剧烈波动;Because the diesel vehicle has vehicle bumps in the form process, the output signal of the liquid level sensor in the fuel tank is also output with fluctuations, and the fluctuation frequency is uncertain. If the sampled liquid level data is directly used to calculate the fuel volume in the fuel tank, it will cause the Quantitative data fluctuates violently;

最新的液位数据只占据平均值计算的一部分,增加了液位数值的鲁棒性和抗干扰性。只要缓冲区的深度足够,缓冲区内的数据就能够反映一定时间内邮箱内液位的变化情况,再经过平均值计算就能够去除颠簸带来的液面波动。其缓冲区深度、采样频率、最新采样值在计算平均值时所占的比例,都可以通过参数进行设定,有必要时,还可以通过GPRS进行参数标定。Up-to-date level data only takes up part of the average calculation, increasing the robustness and immunity of the level values. As long as the depth of the buffer zone is sufficient, the data in the buffer zone can reflect the change of the liquid level in the mailbox within a certain period of time, and then the average value calculation can remove the fluctuation of the liquid level caused by the turbulence. Its buffer depth, sampling frequency, and the proportion of the latest sampling value in calculating the average value can be set through parameters, and if necessary, parameter calibration can be carried out through GPRS.

如图3所示,油箱油量的计算方法:As shown in Figure 3, the calculation method of fuel tank oil quantity:

定车型的柴油车,油箱体积和形状也是固定的,一般都长方体或异型。如果给出了箱长、宽、高等数据(这些数据可以通过GPRS来标定)或异型体分成几个规则的几何体,就可以计算出油箱几何体的体积,就可以计算得到油箱加满油的。再结合液位传感器输出的液位信息,就可以计算得出油箱内的现有油量。The volume and shape of the fuel tank of a certain type of diesel vehicle are also fixed, generally cuboid or special-shaped. If the length, width and height of the tank are given (these data can be calibrated by GPRS) or the special-shaped body is divided into several regular geometries, the volume of the fuel tank geometry can be calculated, and the fuel tank can be filled with oil. Combined with the liquid level information output by the liquid level sensor, the current amount of oil in the tank can be calculated.

下面对在线测量系统中的电路进行举例:The following is an example of a circuit in an online measurement system:

电源电路如图4所示:The power supply circuit is shown in Figure 4:

柴油车油箱油量在线测量装置供电采用车载24V铅酸电池,供电电压在18V-28V。车载24V铅酸电池接入在线测量装置后,经过短路保护自恢复保险丝、防反二极管后,输入到共模抑制器L2,再经过220uF和0.1uF滤波电容,变换为24V,输入到下级电路。经过防短路、防反接、共模滤波、电容滤波后的24V经过电阻分压后输入到MCU,由MCU检测供电电压情况。The power supply of the diesel vehicle fuel tank oil quantity online measuring device adopts the vehicle-mounted 24V lead-acid battery, and the power supply voltage is 18V-28V. After the vehicle-mounted 24V lead-acid battery is connected to the online measurement device, after passing through the short-circuit protection self-recovery fuse and anti-reverse diode, it is input to the common mode suppressor L2, and then through the 220uF and 0.1uF filter capacitors, converted to 24V, and input to the lower-level circuit. The 24V after anti-short circuit, anti-reverse connection, common mode filtering, and capacitor filtering is input to the MCU after being divided by the resistor, and the MCU detects the power supply voltage.

24V电源,经由开关电源电路,转换为容量为0.5A的输出电压为5V的VCC直流电压电,为测量装置各部分电路提供电源。The 24V power supply is converted into VCC DC voltage with a capacity of 0.5A and an output voltage of 5V through the switching power supply circuit, which provides power for each part of the circuit of the measuring device.

GPRS电路如图5所示:因为GPRS模块为+3.3V供电,因此需要一个由5V转为3.3.V的电源,采用LDO,LM1117-3.3来实现,设计电源容量为0.5A。The GPRS circuit is shown in Figure 5: Because the GPRS module is powered by +3.3V, it needs a power supply that is converted from 5V to 3.3.V, which is realized by LDO, LM1117-3.3, and the designed power supply capacity is 0.5A.

一阶RC滤波电路及限幅电路如图6所示;信号转换及滤波电路起到信号转换及滤波作用。液位传感器输出为4~20mA电流信号,输入到检测装置后,由二极管D29和取样电阻R46把电流信号转换为0.5V~2.5V的电压信号,在经过由R22和C29、C58组成的一阶RC滤波电路滤波后,经过D58、D66组成的限幅电路,输入到10位ADC中。The first-order RC filter circuit and limiter circuit are shown in Figure 6; the signal conversion and filter circuit play the role of signal conversion and filtering. The output of the liquid level sensor is a 4-20mA current signal. After being input to the detection device, the current signal is converted into a voltage signal of 0.5V-2.5V by the diode D29 and the sampling resistor R46. After filtering by the RC filter circuit, it is input into the 10-bit ADC through the limiter circuit composed of D58 and D66.

10位ADC电路如图7所示:10位ADC采用逐次逼近型ADC,型号为TLC1543IN,此芯片有8路输入,由于采用双传感器冗余设计,因此使用其中的2路输入,需要外部接入参考电压。参考电压采用2.5V稳压管设计。The 10-bit ADC circuit is shown in Figure 7: The 10-bit ADC adopts the successive approximation ADC, the model is TLC1543IN. This chip has 8 inputs. Due to the dual-sensor redundancy design, 2 of the inputs are used, and external access is required. reference voltage. The reference voltage is designed with a 2.5V Zener tube.

时间输入电路为日历时钟电路,如图8所示:日历时钟采用达拉斯的DS1302设计,供电采用3.6V纽扣电池。The time input circuit is a calendar clock circuit, as shown in Figure 8: the calendar clock is designed by DS1302 in Dallas, and the power supply adopts a 3.6V button battery.

EEPROM存储电路如图9所示:EEPROM存储电路采用3片EEPROM级联的方式。The EEPROM storage circuit is shown in Figure 9: The EEPROM storage circuit adopts the way of cascading 3 pieces of EEPROM.

显示模块为液晶显示模块,液晶显示屏采用LCD显示屏,接口采用并口连接方式,电路连接如图10所示。The display module is a liquid crystal display module, the liquid crystal display screen adopts an LCD display screen, and the interface adopts a parallel port connection method, and the circuit connection is shown in Figure 10.

GPRS数据传输电路图如图11所示:GPRS模块采用有人物联网的USR-GM3模块。模块需要连接SIM卡卡座及射频天线,和MCU之间通过UART接口通信,此外还要复位、唤醒、连接通知等信号连接。The GPRS data transmission circuit diagram is shown in Figure 11: the GPRS module adopts the USR-GM3 module with the Internet of Things. The module needs to be connected to the SIM card holder and the radio frequency antenna, and communicate with the MCU through the UART interface. In addition, it needs to be connected with signals such as reset, wake-up, and connection notification.

复位电路采用外扩复位芯片来保证MCU正确复位。复位芯片采用芯片ASM813来实现。The reset circuit adopts the external expansion reset chip to ensure the correct reset of the MCU. The reset chip adopts the chip ASM813 to realize.

MCU电路如图12所示,MCU采用STC89C54实现。The MCU circuit is shown in Figure 12, and the MCU is implemented by STC89C54.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种柴油重卡油箱油量在线测量系统,其特征在于:包括油箱、液位传感器、信号转换模块、数据处理模块、数据传输模块、监控模块,液位传感器设置在油箱的底部,液位传感器依次连接信号转换模块、数据处理模块、数据传输模块、监控平台;1. a diesel heavy truck fuel tank oil quantity online measurement system, is characterized in that: comprise fuel tank, liquid level sensor, signal conversion module, data processing module, data transmission module, monitoring module, liquid level sensor is arranged on the bottom of fuel tank, liquid level The sensor is sequentially connected to the signal conversion module, the data processing module, the data transmission module, and the monitoring platform; 数据处理模块的随机存储器设置液位数据缓冲区,利用液位数据缓冲区里的数据计算液位。The random access memory of the data processing module sets the liquid level data buffer, and uses the data in the liquid level data buffer to calculate the liquid level. 2.根据权利要求1所述的柴油重卡油箱油量在线测量系统,其特征在于:在线测量系统包括显示模块、实时时钟模块、报警装置,数据处理模块分别与显示模块、实时时钟模块、报警装置连接。2. The online measurement system for the fuel quantity of diesel heavy truck fuel tank according to claim 1, is characterized in that: the online measurement system comprises a display module, a real-time clock module, and an alarm device, and the data processing module is respectively associated with the display module, the real-time clock module, and the alarm device. connect. 3.根据权利要求1所述的柴油重卡油箱油量在线测量系统,其特征在于:液位传感器为静压投入式液位传感器,包含两个静压投入式液位传感器,两个静压投入式液位传感器分别与信号转换模块连接。3. The on-line measurement system of diesel heavy truck fuel tank oil quantity according to claim 1, it is characterized in that: the liquid level sensor is a static pressure input type liquid level sensor, comprising two static pressure input type liquid level sensors, two static pressure input type liquid level sensors The liquid level sensors are respectively connected with the signal conversion modules. 4.根据权利要求1所述的柴油重卡油箱油量在线测量系统,其特征在于:信号转换模块采用电流电压转换电路、一阶RC滤波电路、限幅电路和10位ADC电路,电流电压转换电路、一阶RC滤波电路及限幅电路与10位ADC电路顺序连接。4. The on-line measurement system of diesel heavy truck fuel tank oil quantity according to claim 1, is characterized in that: the signal conversion module adopts current-voltage conversion circuit, first-order RC filter circuit, limiter circuit and 10-bit ADC circuit, current-voltage conversion circuit , The first-order RC filter circuit and the limiter circuit are sequentially connected with the 10-bit ADC circuit. 5.权利要求1所述的柴油重卡油箱油量在线测量系统,其特征在于:数据处理模块通过UART与数据传输模块连接,数据处理模块通过DO-D8与显示模块连接。5. The on-line measurement system for fuel tank fuel quantity of diesel heavy truck according to claim 1, wherein the data processing module is connected with the data transmission module through UART, and the data processing module is connected with the display module through DO-D8. 6.根据权利要求1所述的柴油重卡油箱油量在线测量系统,其特征在于:数据传输模块为GPRS无线数据传输模块。6. The on-line measurement system of diesel fuel tank oil quantity according to claim 1, characterized in that: the data transmission module is a GPRS wireless data transmission module. 7.根据权利要求1所述的柴油重卡油箱油量在线测量系统,其特征在于:数据处理模块为中央处理器和存储器,中央处理器连接存储器,存储器采用3片EEPROM级联的方式。7. The on-line measurement system of diesel heavy truck fuel tank oil quantity according to claim 1, is characterized in that: the data processing module is a central processing unit and a memory, and the central processing unit is connected to the memory, and the memory adopts the mode of 3 EEPROM cascades. 8.利用权利要求1-7任一所述的柴油重卡油箱油量在线测量系统的在线测量方法,其特征在于:具体步骤为:8. utilize the on-line measuring method of the arbitrary described diesel oil tank oil quantity on-line measuring system of claim 1-7, it is characterized in that: concrete steps are: 液位传感器将电流信号传递给信号转换模块,信号转换模块将电流信号转换为电压信号;The liquid level sensor transmits the current signal to the signal conversion module, and the signal conversion module converts the current signal into a voltage signal; 信号转换模块将电流信号经过滤波、限幅处理后转换为数字信号,输入到数据处理模块中;The signal conversion module converts the current signal into a digital signal after filtering and limiting processing, and inputs it into the data processing module; 实时时钟模块将时间信号传递到数据处理模块中,数据处理模块将得到的油量信号结合时间信息存入存储器;The real-time clock module transmits the time signal to the data processing module, and the data processing module stores the obtained fuel quantity signal in combination with the time information in the memory; 数据处理模块采用加权平均值滤波的方法计算液位,然后根据油箱的规格和通过参数标定的参数信息计算得到现有的油量;The data processing module uses the weighted average filtering method to calculate the liquid level, and then calculates the existing oil volume according to the specifications of the fuel tank and the parameter information calibrated by parameters; 数据处理模块分别将油量信号传递给显示模块和数据传输模块,数据传输模块将信号传输到监控平台。The data processing module transmits the oil quantity signal to the display module and the data transmission module respectively, and the data transmission module transmits the signal to the monitoring platform. 9.根据权利要求8所述的柴油重卡油箱油量在线测量系统的在线测量方法,其特征在于:数据处理模块中的加权平均值滤波的方法为:在RAM中设置液位数据缓冲区,以设定频率采集液位信息,最新采集的液位信息仅仅更新缓冲的一部分,更新后用缓冲区内的数据做平均值计算液位。9. the on-line measuring method of diesel heavy truck fuel tank oil quantity on-line measuring system according to claim 8, is characterized in that: the method for the weighted average filtering in the data processing module is: in RAM, set liquid level data buffer area, with Set the frequency to collect the liquid level information. The latest collected liquid level information only updates a part of the buffer. After the update, the average value of the data in the buffer is used to calculate the liquid level. 10.根据权利要求8所述的柴油重卡油箱油量在线测量系统的在线测量方法,其特征在于:油量的计算方法为:根据油箱的规格计算得到油箱的体积,然后结合液位信息,得到油量信息。10. the on-line measurement method of the diesel heavy truck oil tank oil quantity online measurement system according to claim 8, is characterized in that: the calculation method of oil quantity is: calculate the volume of oil tank according to the specification of oil tank, then combine liquid level information, obtain Oil quantity information.
CN202010134973.XA 2020-03-02 2020-03-02 On-line oil quantity measuring system and method for oil tank of diesel heavy truck Pending CN111521232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010134973.XA CN111521232A (en) 2020-03-02 2020-03-02 On-line oil quantity measuring system and method for oil tank of diesel heavy truck

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010134973.XA CN111521232A (en) 2020-03-02 2020-03-02 On-line oil quantity measuring system and method for oil tank of diesel heavy truck

Publications (1)

Publication Number Publication Date
CN111521232A true CN111521232A (en) 2020-08-11

Family

ID=71900967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010134973.XA Pending CN111521232A (en) 2020-03-02 2020-03-02 On-line oil quantity measuring system and method for oil tank of diesel heavy truck

Country Status (1)

Country Link
CN (1) CN111521232A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114312868A (en) * 2022-02-08 2022-04-12 湖南联诚轨道装备有限公司 Redundant cooling tower for rail transit vehicle
CN114526786A (en) * 2022-02-14 2022-05-24 贵州电网有限责任公司 Wireless water level sensor system and method based on anti-interference signal processing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2580414Y (en) * 2002-12-03 2003-10-15 刘建 Fuel level display alarm for railway generator car
CN101470017A (en) * 2007-12-29 2009-07-01 厦门雅迅网络股份有限公司 Method for real-time vehicle oil quantity monitoring and oil consumption statistics through wireless network
CN201765019U (en) * 2010-09-02 2011-03-16 三一重工股份有限公司 Construction vehicle and its fuel anti-theft and anti-leakage monitoring device
DE102013109783A1 (en) * 2012-12-17 2014-06-18 Hyundai Motor Company Method for preventing misdiagnosis of an oil level sensor
CN205123783U (en) * 2015-10-19 2016-03-30 重庆易途节能技术有限公司 Long -range real -time vehicle oil consumption monitoring system
CN105737933A (en) * 2016-02-04 2016-07-06 徐州徐工挖掘机械有限公司 Mining dump truck oil level measurement device and measurement method
CN109379437A (en) * 2018-11-21 2019-02-22 苏州金螳螂文化发展股份有限公司 Output Velocity Dealing Method and system based on data buffer storage

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2580414Y (en) * 2002-12-03 2003-10-15 刘建 Fuel level display alarm for railway generator car
CN101470017A (en) * 2007-12-29 2009-07-01 厦门雅迅网络股份有限公司 Method for real-time vehicle oil quantity monitoring and oil consumption statistics through wireless network
CN201765019U (en) * 2010-09-02 2011-03-16 三一重工股份有限公司 Construction vehicle and its fuel anti-theft and anti-leakage monitoring device
DE102013109783A1 (en) * 2012-12-17 2014-06-18 Hyundai Motor Company Method for preventing misdiagnosis of an oil level sensor
CN205123783U (en) * 2015-10-19 2016-03-30 重庆易途节能技术有限公司 Long -range real -time vehicle oil consumption monitoring system
CN105737933A (en) * 2016-02-04 2016-07-06 徐州徐工挖掘机械有限公司 Mining dump truck oil level measurement device and measurement method
CN109379437A (en) * 2018-11-21 2019-02-22 苏州金螳螂文化发展股份有限公司 Output Velocity Dealing Method and system based on data buffer storage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114312868A (en) * 2022-02-08 2022-04-12 湖南联诚轨道装备有限公司 Redundant cooling tower for rail transit vehicle
CN114526786A (en) * 2022-02-14 2022-05-24 贵州电网有限责任公司 Wireless water level sensor system and method based on anti-interference signal processing

Similar Documents

Publication Publication Date Title
CN202075615U (en) Remote monitoring system of engineering machinery
CN111521232A (en) On-line oil quantity measuring system and method for oil tank of diesel heavy truck
CN106899664A (en) Oil pipeline distributed collaboration leak detection system and method based on multiple agent
CN103727991B (en) Vehicle fuel tank fuel quantity calibration system and scaling method
CN101246028A (en) Fuel tank oil material anti-theft monitoring system
CN102538890A (en) Method and device for obtaining course continuation mileage of motor vehicle
CN114545242A (en) Comprehensive intelligent management system for storage battery
CN106197610A (en) Remote surveying of liquid level and the control system of valve
CN202694105U (en) Oil tank vehicle monitoring system based on high-precision ultrasonic interface instrument
CN107015049A (en) Intelligent high-reliability cable control and protection device for electric vehicles
EP3637064A1 (en) Battery-operated fill level measuring device with means for determining remaining service life
CN114313148A (en) A long-term monitoring system for the state of hull structure
CN209258043U (en) Data acquisition device of mining dump truck
CN106969818A (en) A kind of vehicle intelligent dynamic weight supervising device, method and system
CN201173799Y (en) Vehicle oil tank oil volume anti-theft monitoring system
CN104390688B (en) The vehicle-mounted car load formula of a kind of lorry ETC weight display
CN113423085B (en) Rainwater condition remote measurement method and device based on NB-IOT communication
CN108216028A (en) A kind of vehicle rollover safety situation evaluation system based on intelligent terminal
CN108680248A (en) A kind of rail vibration monitoring device
CN209745365U (en) remote measurement and control terminal system capable of being awakened according to water level change
CN202394103U (en) An intelligent logistics transportation monitoring system with vibration wake-up function
CN203957893U (en) Heavy motor vehicle LNG fuel surplus detects and read out instrument
CN202994250U (en) Remote monitoring device for vehicle tank
CN103913214A (en) On-board automatic weighing system
CN114111933B (en) Oil level online monitoring method for logistics vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200811

RJ01 Rejection of invention patent application after publication