Method and system for calculating oil consumption of engineering machinery, electronic equipment and medium

By obtaining and utilizing the parameters and level values ​​of the fuel tank of the engineering vehicle and calculating the liquid level change, the problem of low calculation accuracy of fuel consumption of construction machinery in the prior art is solved, and precise oil volume monitoring of irregular fuel tanks is realized.

CN119803593APending Publication Date: 2025-04-11SHANDONG TIANXING BEIDOU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510109158.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In the prior art, there are accuracy problems in the calculation of fuel consumption of construction machinery, especially irregular mechanical fuel tanks or oil tanks that cannot be calculated through external measurements, making it difficult to accurately calculate the oil volume.

Method used

By obtaining the fuel tank parameters of the target engineering vehicle, including the cross-sectional area and height of the box and oil pipe, combining the initial and real-time liquid level values, the liquid level change is calculated, and the refueling and fuel consumption are accurately calculated.

Benefits of technology

It realizes accurate calculation of fuel consumption of construction machinery, solves the problem of calculating oil volume in irregular fuel tanks, and achieves real-time monitoring and precise monitoring of fuel consumption of construction machinery by construction units.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119803593A_ABST
    Figure CN119803593A_ABST
Patent Text Reader

Abstract

The invention discloses an engineering machinery oil consumption calculation method and system, electronic equipment and a medium, and relates to the field of oil consumption supervision of engineering machinery used in engineering, and the method comprises the following steps: obtaining parameters of an oil tank of a target engineering vehicle; the initial liquid level value and the real-time liquid level value of the oil quantity in an oil tank of the target engineering vehicle are obtained; subtracting the real-time liquid level value of each moment in a preset time period before the current moment from the real-time liquid level value of the current moment to obtain a plurality of liquid level variations; when all the liquid level variable quantities are larger than or equal to zero and the vehicle state of the target engineering vehicle is a flameout state, according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment, the refueling amount at the current moment is calculated; and when each liquid level variation is smaller than zero, calculating the oil consumption at the current moment according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment. According to the invention, the calculation precision of the refueling amount and the fuel consumption can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fuel consumption monitoring of engineering machinery used in engineering projects, and in particular to a method, system, electronic equipment and medium for calculating fuel consumption of engineering machinery. Background Art

[0002] At present, it is a difficult problem to supervise the fuel consumption of construction machinery in engineering projects. The current supervision status mainly adopts manual recording of fuel consumption, and some construction machinery adopts a supervision method combining equipment + platform. Defects in the existing technology: (1) There are various loopholes in manual supervision; (2) Because the fuel tanks or fuel tank necks used by some machinery are irregular, and there are certain defects in the code business logic, it is impossible to accurately calculate the amount of fuel added and the amount of fuel consumed each time. Therefore, there is an urgent need for a method for calculating the fuel consumption of construction machinery that can accurately calculate the amount of fuel added and the amount of fuel consumed each time. Summary of the invention

[0003] The object of the present invention is to provide a method, system, electronic equipment and medium for calculating the fuel consumption of construction machinery, which can improve the calculation accuracy of the refueling amount and the fuel consumption.

[0004] To achieve the above-mentioned purpose, the present invention provides the following scheme: a method for calculating the fuel consumption of construction machinery, the calculation method comprising: obtaining the parameters of the fuel tank of the target construction vehicle; the parameters comprising a first height, a first cross-sectional area, a second height and a second cross-sectional area; the fuel tank comprises a tank body and an oil pipe; the first cross-sectional area is the cross-sectional area of ​​the tank body; the second cross-sectional area is the cross-sectional area of ​​the oil pipe; the first height is the height of the tank body; the second height is the height of the oil pipe.

[0005] Obtain an initial liquid level value and a real-time liquid level value of the oil amount in the oil tank of the target engineering vehicle.

[0006] Multiple liquid level changes are obtained by subtracting the real-time liquid level value at each moment in a preset time period before the current moment from the real-time liquid level value at the current moment; the last moment of the preset time period before the current moment is the previous moment of the current moment.

[0007] When the liquid level change amounts are not all less than zero and not all greater than or equal to 0, the real-time liquid level value of the oil tank of the target engineering vehicle at the next moment is obtained.

[0008] When the liquid level changes are all greater than or equal to zero and the vehicle state of the target engineering vehicle is an ignition state, an alarm signal is generated.

[0009] When each of the liquid level changes is greater than or equal to zero and the vehicle state of the target engineering vehicle is an engine-off state, the refueling amount at the current moment is calculated according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment.

[0010] When each of the liquid level changes is less than zero, the fuel consumption at the current moment is calculated based on the parameter, the initial liquid level value and the real-time liquid level value at the current moment.

[0011] Optionally, obtaining the parameters of the fuel tank of the target engineering vehicle specifically includes: obtaining a first refueling amount when the amount of oil in the fuel tank of the target engineering vehicle increases from a liquid level value of 0 to a liquid level value of a first height.

[0012] The first cross-sectional area is calculated according to the first refueling amount and the first height.

[0013] A second refueling amount is obtained when the amount of oil in the oil tank of the target engineering vehicle increases from a liquid level value of a first height to a liquid level value of a second height.

[0014] The second cross-sectional area is calculated according to the second refueling amount and the second height.

[0015] Optionally, a formula for calculating the first cross-sectional area is: S=V / H.

[0016] Among them, S is the first cross-sectional area; V is the first refueling volume; H is the first height.

[0017] The formula for calculating the second cross-sectional area is: S1=(V1-V) / (H1-H).

[0018] Among them, S1 is the second cross-sectional area; V1 is the second refueling volume; H is the first height; H1 is the second height.

[0019] Optionally, when the current real-time liquid level value is greater than the first height, the formula for calculating the current refueling amount is: V3=S×(HH 加前 )+S1×(H 加后 -H).

[0020] When the current real-time liquid level value is less than or equal to the first height, the formula for calculating the current refueling amount is: V3=S×(H 加后 -H 加前 ).

[0021] Wherein, V3 is the refueling volume at the current moment; S is the first cross-sectional area; S1 is the second cross-sectional area; H is the first height; H 加前 H is the initial liquid level value before refueling; 加后 It is the real-time liquid level value at the current moment after refueling.

[0022] Optionally, when the current real-time liquid level value is greater than the first height, the formula for calculating the current fuel consumption is: V2=S×(HH 降后 )+S1×(H 降前 -H).

[0023] When the current real-time liquid level value is less than or equal to the first height, the formula for calculating the current fuel consumption is: V2=S×(H 降前 -H 降后 ).

[0024] Wherein, V2 is the fuel consumption at the current moment; S is the first cross-sectional area; S1 is the second cross-sectional area; H is the first height; H 降前 is the initial liquid level value before oil consumption; H 降后 It is the real-time liquid level value at the current moment after oil consumption.

[0025] Optionally, before executing the step of "subtracting the real-time liquid level value at each moment within a preset time period before the current moment from the real-time liquid level value at the current moment", the calculation method also includes: according to the cross-sectional area of ​​the target engineering vehicle, searching for the corresponding oil quantity correction value from a preset unit oil quantity correction table to obtain the unit oil quantity correction value; the preset unit oil quantity correction table includes multiple cross-sectional areas and the oil quantity correction value corresponding to each of the cross-sectional areas.

[0026] Obtain oil volume data per millimeter of height corresponding to multiple oil tanks with the same cross-sectional area at the current moment; the cross-sectional area includes a first cross-sectional area and a second cross-sectional area.

[0027] The average value of the oil volume data per millimeter height is calculated based on the oil volume data.

[0028] When the difference between the median of the oil volume data per millimeter height and the average value of the oil volume data per millimeter height is within a preset range, the average value of the oil volume data per millimeter height is determined as the standard value of the oil volume data per millimeter height.

[0029] When the difference between the median of the oil volume data per millimeter height and the average of the oil volume data is not within a preset range, the unit oil volume correction value is determined to be the standard value of the oil volume data per millimeter height.

[0030] According to the standard value of the oil volume data and the corresponding cross-sectional area, a corresponding height correction value is obtained.

[0031] The real-time liquid level value and the initial liquid level value are respectively corrected according to the height correction value to obtain a corrected real-time liquid level value and a corrected initial liquid level value.

[0032] A system for calculating fuel consumption of construction machinery applies the above-mentioned method for calculating fuel consumption of construction machinery. The system comprises a first acquisition module, a second acquisition module, a first calculation module, a third acquisition module, an alarm signal generation module, a second calculation module and a third calculation module.

[0033] The first acquisition module is used to acquire the parameters of the fuel tank of the target engineering vehicle; the parameters include a first height, a first cross-sectional area, a second height and a second cross-sectional area; the fuel tank includes a tank body and an oil pipe; the first cross-sectional area is the cross-sectional area of ​​the tank body; the second cross-sectional area is the cross-sectional area of ​​the oil pipe; the first height is the height of the tank body; the second height is the height of the oil pipe.

[0034] The second acquisition module is used to acquire the initial liquid level value and the real-time liquid level value of the oil amount in the oil tank of the target engineering vehicle.

[0035] The first calculation module is used to obtain multiple liquid level changes based on the real-time liquid level value at the current moment minus the real-time liquid level value at each moment within a preset time period before the current moment; the last moment of the preset time period before the current moment is the previous moment of the current moment.

[0036] The third acquisition module is used to acquire the real-time liquid level value of the fuel tank of the target engineering vehicle at the next moment when the liquid level change amounts are not all less than zero and not all greater than or equal to 0.

[0037] The alarm signal generating module is used to generate an alarm signal when the liquid level changes are greater than or equal to zero and the vehicle state of the target engineering vehicle is an ignition state.

[0038] The second calculation module is used to calculate the refueling amount at the current moment according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment when each of the liquid level changes is greater than or equal to zero and the vehicle state of the target engineering vehicle is the engine-off state.

[0039] The third calculation module is used to calculate the fuel consumption at the current moment according to the parameter, the initial liquid level value and the real-time liquid level value at the current moment when the liquid level changes are all less than zero.

[0040] An electronic device includes a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the above-mentioned method for calculating the fuel consumption of engineering machinery.

[0041] A computer-readable storage medium stores a computer program, which implements the above-mentioned method for calculating the fuel consumption of engineering machinery when executed by a processor.

[0042] According to the specific embodiment provided by the present invention, the present invention discloses the following technical effects: the present invention obtains the parameters of the fuel tank of the target engineering vehicle and the initial liquid level value and the real-time liquid level value of the oil amount in the fuel tank of the target engineering vehicle, and obtains multiple liquid level changes according to the real-time liquid level value at the current moment minus the real-time liquid level value at each moment in a preset time period before the current moment; when the liquid level changes are not all less than zero and are not all greater than or equal to 0, the real-time liquid level value of the fuel tank of the target engineering vehicle at the next moment is obtained, and the real-time liquid level value at the next moment is used as the real-time liquid level value at the current moment to continue to monitor the oil amount, and further, when the liquid level changes are all greater than or equal to zero and the vehicle state of the target engineering vehicle is the ignition state, an alarm signal is generated; when the liquid level changes are all greater than or equal to zero and the vehicle state of the target engineering vehicle is the flameout state, the refueling amount at the current moment is calculated according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment; when the liquid level changes are all less than zero, the fuel consumption at the current moment is calculated according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment. The present invention solves the oil quantity problem of irregular oil tanks of machines or oil tanks that cannot be measured by external metering, and facilitates construction units to monitor the oil consumption of construction machinery in real time and achieves precise monitoring of the actual whereabouts of each drop of oil. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0044] Figure 1 The figure is a flow chart of the method for calculating the fuel consumption of engineering machinery according to the present invention.

[0045] Figure 2 This is a practical application flow chart of the present invention. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] The object of the present invention is to provide a method, system, electronic equipment and medium for calculating the fuel consumption of construction machinery, which can improve the calculation accuracy of the refueling amount and the fuel consumption.

[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0049] Embodiment 1: Figure 1 As shown, the present invention provides a method for calculating fuel consumption of engineering machinery, and the calculation method includes steps S1 to S7.

[0050] Step S1: Obtain parameters of the fuel tank of the target engineering vehicle; the parameters include a first height, a first cross-sectional area, a second height and a second cross-sectional area; the fuel tank includes a tank body and a fuel pipe; the first cross-sectional area is the cross-sectional area of ​​the tank body; the second cross-sectional area is the cross-sectional area of ​​the fuel pipe; the first height is the height of the tank body; the second height is the height of the fuel pipe.

[0051] Step S1 specifically includes step S11 to step S14.

[0052] Step S11: obtaining a first refueling amount when the amount of oil in the oil tank of the target engineering vehicle increases from a liquid level value of 0 to a liquid level value of a first height.

[0053] Step S12: Calculate the first cross-sectional area according to the first refueling amount and the first height.

[0054] Specifically, the formula for calculating the first cross-sectional area is: S=V / H.

[0055] Among them, S is the first cross-sectional area; V is the first refueling volume; H is the first height.

[0056] Step S13: obtaining a second refueling amount when the amount of oil in the oil tank of the target engineering vehicle increases from a liquid level value of a first height to a liquid level value of a second height.

[0057] Step S14: Calculate the second cross-sectional area according to the second refueling amount and the second height.

[0058] Specifically, the formula for calculating the second cross-sectional area is: S1=(V1-V) / (H1-H).

[0059] Among them, S1 is the second cross-sectional area; V1 is the second refueling volume; H is the first height; H1 is the second height.

[0060] Step S2: Obtaining an initial liquid level value and a real-time liquid level value of the oil amount in the oil tank of the target engineering vehicle.

[0061] Specifically, after executing step S2 and before executing step S3, the calculation method also includes: according to the cross-sectional area of ​​the target engineering vehicle, searching for the corresponding oil quantity correction value from a preset unit oil quantity correction table to obtain the unit oil quantity correction value; the preset unit oil quantity correction table includes multiple cross-sectional areas and the oil quantity correction values ​​corresponding to each of the cross-sectional areas.

[0062] Obtain oil volume data per millimeter of height corresponding to multiple oil tanks with the same cross-sectional area at the current moment; the cross-sectional area includes a first cross-sectional area and a second cross-sectional area.

[0063] The average value of the oil volume data per millimeter height is calculated based on the oil volume data.

[0064] When the difference between the median of the oil volume data per millimeter height and the average value of the oil volume data per millimeter height is within a preset range, the average value of the oil volume data per millimeter height is determined as the standard value of the oil volume data per millimeter height.

[0065] When the difference between the median of the oil volume data per millimeter height and the average of the oil volume data is not within a preset range, the unit oil volume correction value is determined to be the standard value of the oil volume data per millimeter height.

[0066] According to the standard value of the oil volume data and the corresponding cross-sectional area, a corresponding height correction value is obtained.

[0067] The real-time liquid level value and the initial liquid level value are respectively corrected according to the height correction value to obtain a corrected real-time liquid level value and a corrected initial liquid level value.

[0068] In practical applications, a timed task is applied to patrol the cross-sectional area and height of the mechanical oil tank, and the oil volume data per millimeter height corresponding to multiple oil tanks with the same cross-sectional area are obtained, and the oil volume data per millimeter height are sorted in order from large to small to obtain an oil volume array, and then the oil volume data with the largest interference in the oil volume array is excluded in proportion. Preferably, the exclusion ratio is 20%, that is, 10% of the total number of data in the oil volume array is excluded from large to small, and 10% of the total number of data in the oil volume array is excluded from small to large. The oil volume array after removing the interference items is called the updated oil volume array, and then the oil volume data in the updated oil volume array are weighted and averaged to obtain the average value of the oil volume data, and the oil volume data located in the middle position is selected from the oil volume data in the updated oil volume array as comparison data, and the average value of the oil volume data is compared with the comparison data.

[0069] When the difference between the average value of the oil volume data and the comparison data is within a preset range, the average value of the oil volume data is used as the standard value of the oil volume per millimeter height under the cross-sectional area, and the current oil volume of the oil tank with the same cross-sectional area is calculated based on the standard value and the real-time liquid level value. The current oil volume obtained is the corrected standard oil volume. A preset unit height correction table is established based on the standard value of the oil volume per millimeter height under the cross-sectional area, and the values ​​in the preset unit height correction table are updated accordingly.

[0070] When the difference between the average value of the oil volume data and the comparison data is not within the preset range, the value in the preset unit height correction table is used as the standard value of the oil volume per millimeter height under the cross-sectional area, and the current oil volume of the oil tank with the same cross-sectional area is calculated based on the standard value.

[0071] Step S3: obtain multiple liquid level changes by subtracting the real-time liquid level value at each moment in a preset time period before the current moment from the real-time liquid level value at the current moment; the last moment of the preset time period before the current moment is the previous moment of the current moment.

[0072] Step S4: When the liquid level changes are not all less than zero and not all greater than or equal to 0, the real-time liquid level value of the fuel tank of the target engineering vehicle at the next moment is obtained. That is to say, when the liquid level changes are not all less than 0 and not all greater than 0, the real-time liquid level value of the fuel tank of the target engineering vehicle at the next moment is obtained.

[0073] Step S5: When the liquid level changes are all greater than or equal to zero and the vehicle state of the target engineering vehicle is an ignition state, an alarm signal is generated.

[0074] Step S6: When each of the liquid level changes is greater than or equal to zero and the vehicle state of the target engineering vehicle is the engine-off state, the refueling amount at the current moment is calculated according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment.

[0075] Specifically, when the current real-time liquid level value is greater than the first height, the formula for calculating the current refueling amount is: V3=S×(HH 加前 )+S1×(H 加后 -H).

[0076] When the current real-time liquid level value is less than or equal to the first height, the formula for calculating the current refueling amount is: V3=S×(H 加后 -H 加前 ).

[0077] Wherein, V3 is the refueling volume at the current moment; S is the first cross-sectional area; S1 is the second cross-sectional area; H is the first height; H加前 H is the initial liquid level value before refueling; 加后 It is the real-time liquid level value at the current moment after refueling.

[0078] Step S7: When the liquid level changes are all less than zero, the fuel consumption at the current moment is calculated according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment.

[0079] Specifically, when the current real-time liquid level value is greater than the first height, the formula for calculating the current fuel consumption is: V2=S×(HH 降后 )+S1×(H 降前 -H).

[0080] When the current real-time liquid level value is less than or equal to the first height, the formula for calculating the current fuel consumption is: V2=S×(H 降前 -H 降后 ).

[0081] Wherein, V2 is the fuel consumption at the current moment; S is the first cross-sectional area; S1 is the second cross-sectional area; H is the first height; H 降前 is the initial liquid level value before oil consumption; H 降后 It is the real-time liquid level value at the current moment after oil consumption.

[0082] In practical applications, such as Figure 2 As shown, refuel for the first time to below the tank neck, record the refueling volume V and the refueling height H, and use the formula S=V / H to calculate the cross-sectional area of ​​the tank; refuel for the second time, fill the tank, record the current refueling volume V1 and the refueling height H1, and use the formula S1=(V1-V) / (H1-H) to record the current machine type and tank type for later use.

[0083] 1. Determine the engine speed based on the raw data uploaded by the device. When the engine speed is greater than 0, the vehicle is judged to be in the ignition state. Compare the current fuel tank level of the vehicle with the fuel tank level of the previous minute in real time every minute, including two situations.

[0084] The first one is that if the fuel tank level rises: record the current minute fuel tank level value, use loops and judgment business logic to compare the value with the fuel tank level value every minute in the previous ten minutes, and record the comparison result. If the comparison result is in a fluctuating state, it is judged that the fuel tank level shaking is caused by vehicle vibration or bumpy road conditions, and the above data is judged to be interference data; according to the above judgment logic, the relevant data before and after the loop processing is carried out until the comparison result has no repeated fluctuations and is gradually in a declining state, and all fluctuating data are judged to be interference data; after excluding all interference data, if the liquid level is still rising, an alarm message is sent to the relevant responsible person, indicating that someone is performing dangerous operations.

[0085] The second type is if the fuel tank level drops by a large difference: record the current minute fuel tank level value, use loops and judgment business logic to compare this value with the fuel tank level value of each minute in the previous ten minutes, and record the comparison result. If the comparison result is in a fluctuating state, it is judged that the fuel tank level of the vehicle is shaking due to vehicle vibration or road bumps, and the above data is judged to be interference data; if the comparison result is in a fluctuating state, it is judged that the fuel tank level of the vehicle has changed due to external impact, and the fluctuating data is judged to be interference data; if the comparison result shows that the fuel tank level has been in a gradual decline, it is judged that the current machine is in working condition, and after the fuel tank level stabilizes, the height before the current oil volume drops is recorded as H 降前 , record the height after the oil volume drops as H 降后 , combined with the recorded tank cross-sectional area, the consumed fuel volume is calculated.

[0086] If H 降前 When it is greater than H, the oil loss is calculated as V2=S×(HH 降后 )+S1×(H 降前 -H), and notify the relevant responsible person. In the present invention, the relevant responsible person refers to the vehicle manager or the person in charge of the construction site.

[0087] If H 降前 When it is less than or equal to H, the oil loss is calculated as V2=S×(H 降前 -H 降后 ) and notify the relevant responsible persons.

[0088] In the present invention, the stability of the fuel tank liquid level is judged based on the data uploaded by the device. The fuel tank liquid level value is cyclically judged based on the data uploaded by the device. When the fuel tank liquid level values ​​within a certain time range are basically consistent, it is judged that the fuel tank liquid level is in a stable state.

[0089] 2. When the engine speed is equal to 0, the vehicle is judged to be in the off state, that is, the machine is in a stationary state; the vehicle's current fuel tank liquid level is compared with the value of the fuel tank liquid level in the previous minute in real time every minute, including two situations.

[0090] The first one is that if the fuel tank level drops: record the current minute fuel tank level value, use loops and judgment business logic to compare this value with the fuel tank level value every minute in the previous ten minutes, and record the comparison result. If the comparison result is in a fluctuating state, it is determined that the fuel tank level has changed due to external impact on the vehicle, and the fluctuating data is determined to be interference data; if the comparison result shows that the fuel tank level has been in an abnormal consumption and decline state, it is determined that the current fuel tank is in a state of oil theft or oil leakage. After the fuel tank level stabilizes, record the height before the current oil volume drops as H. 降前 , record the height after the oil volume drops as H 降后 , combined with the recorded tank cross-sectional area, the consumed fuel volume is calculated.

[0091] If H 降前 When it is greater than H, the oil loss is calculated as V2=S×(HH 降后 )+S1×(H 降前 -H) and notify the relevant responsible persons.

[0092] If H 降前 When it is less than or equal to H, the oil loss is calculated as V2=S×(H 降前 -H 降后 ) and notify the relevant responsible persons.

[0093] In the present invention, the abnormal consumption state is judged by judging the liquid level data every minute. When the liquid level in the oil tank suddenly drops too much and does not rise again, the platform sends out an oil theft alarm signal. In other words, when the liquid level in the mailbox drops by a value exceeding a preset liquid level change within a preset first time range and does not rise within a preset second time range, the platform sends out an oil theft alarm signal.

[0094] The second type is if the tank level rises: record the tank level value of the current minute, use the loop and judgment business logic to compare the value with the tank level value of each minute in the previous ten minutes, and record the comparison result.

[0095] The value when the liquid level fluctuates and the value when the liquid level is stable are always in a cyclic judgment. If the comparison result is in a fluctuating state, it is judged that the fuel tank liquid level of the vehicle has changed due to external impact, and the fluctuating data is judged as interference data; if the comparison result shows that the fuel tank liquid level has been in an upward state, and the difference between the current fuel tank liquid level and the initial fuel tank liquid level (that is, the change in the fuel tank liquid level rise) is greater than 8% of the fuel tank body height, and at the same time, within a preset time period, the change in the fuel tank liquid level rise has always met the condition of being greater than 8% of the fuel tank body height, it is considered that the vehicle is in a refueling state, and the liquid level value before refueling is recorded as H 加前 , record the current liquid level value as H 加后 , and then calculate the current refueling amount based on the height of the current oil rise and the recorded cross-sectional area of ​​the fuel tank.

[0096] If H 加后 When it is greater than H, the refueling amount is calculated as V3=S×(HH 加前 )+S1×(H 加后 -H) and notify the relevant responsible persons.

[0097] If H 加后 When it is less than or equal to H, the refueling amount is calculated as V3=S×(H 加后 -H 加前 ) and notify the relevant responsible persons.

[0098] The present invention has the following advantages: 1. The present invention can calculate the oil volume of all oil tanks. By using the logic processing of the present invention, the oil volume problem of irregular oil tanks of machinery or oil tanks that cannot be measured by external measurement is solved, which makes it convenient for construction units to monitor the oil consumption of construction machinery in real time and achieve accurate monitoring of the actual destination of each drop of oil. 2. The present invention combines the liquid level height of the mechanical oil tank transmitted by hardware and solves the problem that the oil volume of some irregular oil tanks cannot be measured through software business logic processing, and achieves the effect of supervising the oil volume fluctuation of all types of construction machinery.

[0099] Embodiment 2: In order to execute the method corresponding to the above embodiment 1 to achieve the corresponding functions and technical effects, a calculation system for engineering machinery fuel consumption is provided below, and the calculation system includes a first acquisition module, a second acquisition module, a first calculation module, a third acquisition module, an alarm signal generation module, a second calculation module and a third calculation module.

[0100] The first acquisition module is used to acquire the parameters of the fuel tank of the target engineering vehicle; the parameters include a first height, a first cross-sectional area, a second height and a second cross-sectional area; the fuel tank includes a tank body and an oil pipe; the first cross-sectional area is the cross-sectional area of ​​the tank body; the second cross-sectional area is the cross-sectional area of ​​the oil pipe; the first height is the height of the tank body; the second height is the height of the oil pipe.

[0101] The second acquisition module is used to acquire the initial liquid level value and the real-time liquid level value of the oil amount in the oil tank of the target engineering vehicle.

[0102] The first calculation module is used to obtain multiple liquid level changes based on the real-time liquid level value at the current moment minus the real-time liquid level value at each moment within a preset time period before the current moment; the last moment of the preset time period before the current moment is the previous moment of the current moment.

[0103] The third acquisition module is used to acquire the real-time liquid level value of the fuel tank of the target engineering vehicle at the next moment when the liquid level change amounts are not all less than zero and not all greater than or equal to 0.

[0104] The alarm signal generating module is used to generate an alarm signal when the liquid level changes are greater than or equal to zero and the vehicle state of the target engineering vehicle is an ignition state.

[0105] The second calculation module is used to calculate the refueling amount at the current moment according to the parameters, the initial liquid level value and the real-time liquid level value at the current moment when each of the liquid level changes is greater than or equal to zero and the vehicle state of the target engineering vehicle is the engine-off state.

[0106] The third calculation module is used to calculate the fuel consumption at the current moment according to the parameter, the initial liquid level value and the real-time liquid level value at the current moment when the liquid level changes are all less than zero.

[0107] Embodiment 3: An embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the method for calculating the fuel consumption of the construction machinery of Embodiment 1.

[0108] Optionally, the above-mentioned electronic device may be a server.

[0109] In addition, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for calculating the fuel consumption of the construction machinery of the first embodiment.

[0110] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0111] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for calculating fuel consumption of construction machinery, characterized in that: The calculation method includes: Obtain parameters of the fuel tank of the target engineering vehicle; the parameters include a first height, a first cross-sectional area, a second height, and a second cross-sectional area; the fuel tank includes a tank body and a fuel pipe; the first cross-sectional area is the cross-sectional area of ​​the tank body; the second cross-sectional area is the cross-sectional area of ​​the fuel pipe; the first height is the height of the tank body; the second height is the height of the fuel pipe; Obtaining an initial liquid level value and a real-time liquid level value of the oil amount in the oil tank of the target engineering vehicle; According to the real-time liquid level value at the current moment, the real-time liquid level value at each moment in a preset time period before the current moment is subtracted, to obtain a plurality of liquid level changes; the last moment of the preset time period before the current moment is the previous moment of the current moment; When the liquid level change amounts are not all less than zero and not all greater than or equal to 0, obtaining the real-time liquid level value of the fuel tank of the target engineering vehicle at the next moment; When the liquid level changes are all greater than or equal to zero and the vehicle state of the target engineering vehicle is an ignition state, generating an alarm signal; When each of the liquid level changes is greater than or equal to zero and the vehicle state of the target engineering vehicle is an engine-off state, the refueling amount at the current moment is calculated according to the parameter, the initial liquid level value and the real-time liquid level value at the current moment; When each of the liquid level changes is less than zero, the fuel consumption at the current moment is calculated based on the parameter, the initial liquid level value and the real-time liquid level value at the current moment.

2. The method for calculating the fuel consumption of construction machinery according to claim 1, characterized in that: Get the parameters of the target engineering vehicle's fuel tank, including: Obtaining a first refueling amount when the amount of oil in the oil tank of the target engineering vehicle increases from a liquid level value of 0 to a liquid level value of a first height; Calculating the first cross-sectional area according to the first refueling amount and the first height; Obtaining a second refueling amount when the amount of oil in the oil tank of the target engineering vehicle increases from a liquid level value of a first height to a liquid level value of a second height; The second cross-sectional area is calculated according to the second refueling amount and the second height.

3. The method for calculating the fuel consumption of construction machinery according to claim 1, characterized in that: The formula for calculating the first cross-sectional area is: S=V / H; Wherein, S is the first cross-sectional area; V is the first refueling volume; H is the first height; The formula for calculating the second cross-sectional area is: S1=(V1-V) / (H1-H); Among them, S1 is the second cross-sectional area; V1 is the second refueling volume; H1 is the second height.

4. The method for calculating the fuel consumption of construction machinery according to claim 1, characterized in that: When the real-time liquid level value at the current moment is greater than the first height, the formula for calculating the refueling amount at the current moment is: V3=S×(HH 加前 )+S1×(H 加后 -H); When the real-time liquid level value at the current moment is less than or equal to the first height, the formula for calculating the refueling amount at the current moment is: V3=S×(H 加后 -H 加前 ) Wherein, V3 is the refueling volume at the current moment; S is the first cross-sectional area; S1 is the second cross-sectional area; H is the first height; H 加前 H is the initial liquid level value before refueling; 加后 It is the real-time liquid level value at the current moment after refueling.

5. The method for calculating the fuel consumption of construction machinery according to claim 1, characterized in that: When the real-time liquid level value at the current moment is greater than the first height, the formula for calculating the fuel consumption at the current moment is: V2=S×(H-H 降后 )+S1×(H 降前 -H); When the real-time liquid level value at the current moment is less than or equal to the first height, the formula for calculating the fuel consumption at the current moment is: <h2 style=";text-align:left;direction:ltr">V2=S×(H)<h2 style=";text-align:left;direction:ltr"> 降前 <h2 style=";text-align:left;direction:ltr"> -H<h2 style=";text-align:left;direction:ltr"> 降后 <h2 style=";text-align:left;direction:ltr"> ); Wherein, V2 is the fuel consumption at the current moment; S is the first cross-sectional area; S1 is the second cross-sectional area; H is the first height; H 降前 is the initial liquid level value before oil consumption; H 降后 It is the real-time liquid level value at the current moment after oil consumption.

6. The method for calculating the fuel consumption of construction machinery according to claim 1, characterized in that: Before executing the step of "subtracting the real-time liquid level value at each moment in a preset time period before the current moment from the real-time liquid level value at the current moment", the calculation method further includes: According to the cross-sectional area of ​​the target engineering vehicle, the corresponding oil quantity correction value is searched from a preset unit oil quantity correction table to obtain the unit oil quantity correction value; the preset unit oil quantity correction table includes a plurality of cross-sectional areas and the oil quantity correction value corresponding to each of the cross-sectional areas; Obtaining oil volume data per millimeter of height corresponding to a plurality of oil tanks having the same cross-sectional area at the current moment; the cross-sectional area includes a first cross-sectional area and a second cross-sectional area; Calculate the average value of the oil volume data per millimeter of height according to the oil volume data; When the difference between the median of the oil volume data per millimeter height and the average of the oil volume data is within a preset range, determining the average of the oil volume data per millimeter height as the standard value of the oil volume data per millimeter height; When the difference between the median of the oil volume data per millimeter height and the average of the oil volume data is not within a preset range, determining the unit oil correction value as the standard value of the oil volume data per millimeter height; Obtaining a corresponding height correction value according to the standard value of the oil volume data and the corresponding cross-sectional area; The real-time liquid level value and the initial liquid level value are respectively corrected according to the height correction value to obtain a corrected real-time liquid level value and a corrected initial liquid level value.

7. A system for calculating fuel consumption of construction machinery, characterized in that: The computing system comprises: The first acquisition module is used to acquire parameters of the fuel tank of the target engineering vehicle; the parameters include a first height, a first cross-sectional area, a second height, and a second cross-sectional area; the fuel tank includes a tank body and a fuel pipe; the first cross-sectional area is the cross-sectional area of ​​the tank body; the second cross-sectional area is the cross-sectional area of ​​the fuel pipe; the first height is the height of the tank body; the second height is the height of the fuel pipe; A second acquisition module is used to acquire an initial liquid level value and a real-time liquid level value of the oil amount in the oil tank of the target engineering vehicle; A first calculation module is used to obtain multiple liquid level changes by subtracting the real-time liquid level value at each moment in a preset time period before the current moment from the real-time liquid level value at the current moment; the last moment of the preset time period before the current moment is the previous moment of the current moment; A third acquisition module, used for acquiring the real-time liquid level value of the fuel tank of the target engineering vehicle at the next moment when the liquid level change amounts are not all less than zero and not all greater than or equal to 0; An alarm signal generating module, used for generating an alarm signal when the liquid level changes are all greater than or equal to zero and the vehicle state of the target engineering vehicle is an ignition state; A second calculation module is used to calculate the refueling amount at the current moment according to the parameter, the initial liquid level value and the real-time liquid level value at the current moment when each of the liquid level changes is greater than or equal to zero and the vehicle state of the target engineering vehicle is the engine-off state; The third calculation module is used to calculate the fuel consumption at the current moment according to the parameter, the initial liquid level value and the real-time liquid level value at the current moment when the liquid level changes are all less than zero.

8. An electronic device, characterized in that: It comprises a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the method for calculating the fuel consumption of engineering machinery according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the method for calculating the fuel consumption of an engineering machinery as described in any one of claims 1 to 6.