Method and system for automatically calibrating oil quantity of oil tank of engineering machinery
Through filtering and analysis of oil volume height curve slope, the problems of vehicle movement and fuel tank neck data are solved, more accurate fuel tank calibration is achieved, and the reliability and applicability of oil volume monitoring are improved.
Patent Information
- Application Number
- CN202411704664.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-01-10
AI Technical Summary
The existing automatic fuel tank calibration method fails to effectively consider the vehicle's movement status and the oil volume data of the fuel tank neck part, resulting in inaccurate calibration data.
By obtaining the refueling time union, filtering the oil volume data, judging the vehicle's stationary state, filtering the data of the neck of the fuel tank, accurately determining the refueling start and end time, and calculating the oil volume per millimeter based on the slope of the oil volume height curve to achieve more accurate results calibration.
It improves the accuracy and accuracy of calibration data, reduces manual errors, is suitable for a variety of fuel tank specifications, and enhances the reliability of oil volume monitoring.
Smart Images

Figure CN119290115A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil quantity monitoring for construction machinery, and in particular to an automatic oil quantity calibration method and system for an oil tank of construction machinery. Background Art
[0002] During the use of construction machinery, it is necessary to calculate the scale value of the fuel tank according to the volume and height of the fuel tank and calibrate it. The traditional method is to use manual calibration, manually record the oil volume values corresponding to different liquid level heights in the fuel tank, and then manually import them into the vehicle computer system. This method is cumbersome to operate, has high labor costs, and will have certain errors. Inaccurate calibration will directly affect the monitoring of the subsequent oil volume. With the development of information technology, methods of automatic calibration using software have emerged in the industry. For example, CN117330155A, a Chinese invention patent application entitled Fuel Tank Calibration Method and Device, and CN103727991B, a Chinese invention patent entitled Vehicle Fuel Tank Oil Volume Calibration System and Calibration Method, both disclose methods that can automatically calibrate fuel tanks. The first patent application mainly provides a method for constructing a multi-segment function model of oil pressure value and refueling amount, and uses the function model to complete the calibration of the target fuel tank, thereby achieving accurate calibration of fuel tanks of various specifications; the second patent application is to improve the accuracy of calibration by recording the refueling amount and voltage value in real time during the refueling process, and by taking the average voltage value of t calibration data of the same refueling amount, and judging the validity of the calibration data.
[0003] The above two automatic calibration methods mainly focus on how to obtain calibration data, but they do not consider factors such as whether the refueling time collected during calibration is accurate, the impact of the vehicle's motion state, and the impact of the oil volume data in the neck of the fuel tank. But in fact, these factors have a great impact on the accuracy of the calibration data. If the vehicle is not stopped before refueling, the oil in the fuel tank will shake, and the oil volume height collected by the oil volume sensor will fluctuate up and down, which is not the actual oil volume height. The neck part of the fuel tank will store oil, but this part is thin and long, and the proportional relationship between the oil volume, oil pressure and height is completely different from the tank part, which cannot represent the real calibration standard. Therefore, this part of the oil volume data needs to be filtered out during calibration. Summary of the invention
[0004] In order to solve the above-mentioned problems that still exist in the current automatic calibration methods, the present invention provides a method for automatic calibration of the oil level in the fuel tank of an engineering vehicle, which focuses on whether the vehicle is stopped steadily before refueling, the verification of the refueling time, the oil level in the filtering tank neck, etc., so as to improve the accuracy of the calibration data.
[0005] The technical solution of the present invention is as follows:
[0006] A method for automatically calibrating the oil level in an engineering machinery oil tank comprises the following steps:
[0007] Step 1: Obtain the refueling time uploaded by the operator from the mini-program and the refueling time uploaded by the fuel level sensor in the fuel tank and take the union of them, and use the time after taking the union as the refueling start time and refueling end time used in step 2;
[0008] Step 2: According to the refueling start time and refueling end time determined in step 1, query the oil volume data monitored by the oil volume sensor within the time range, filter the oil volume data, draw an oil volume height curve according to the oil volume data and the corresponding time, and calculate the slope of the curve at each time point;
[0009] Step 3: Determine whether the vehicle has stopped steadily according to the change of the slope along the fuel level curve from left to right. If it is determined that the vehicle has stopped steadily, execute step 4; otherwise, continue to execute step 3 until reaching the rightmost end of the curve;
[0010] Step 4: After finding the time point when the vehicle stops, find the actual refueling start time according to the change of the slope of the curve at the subsequent time points;
[0011] Step 5: Determine the actual refueling end time according to the change of the slope of the oil level height curve, and determine whether the oil in the neck of the fuel tank is being consumed; if not, execute step 6; if so, after filtering out the oil volume data in the neck of the fuel tank, determine the time before refueling to the neck of the fuel tank as the final actual refueling end time;
[0012] Step 6, find the fuel level height corresponding to the actual refueling start time and the actual refueling end time obtained in step 4 and step 5, and calculate the time difference and fuel level height difference before and after refueling;
[0013] Step 7: Based on the oil level height curve obtained after filtering out the oil level data at the tank neck, calculate the refueling amount and refueling time in sections, calculate the oil level per millimeter, and obtain the calibration value.
[0014] Furthermore, in step 3, the oil level heights at a certain time point and the following m-1 time points are gradually selected from left to right on the oil level height curve, and are recorded as H1, H2, ..., H m , calculate the average slope K of m data according to the following formula:
[0015] K=[(H2-H1)+(H3-H2)+…+(H m -H m-1 )]÷(m-1),
[0016] If the average slope K is less than the set value, it is determined that the vehicle parking is stable; otherwise, continue to search and calculate backward.
[0017] Furthermore, the specific process of finding the refueling start time in step 4 is: calculate the average slope K of any m data according to the calculation method described in step 3. If the average slope K at the jth time point is j Begins to be greater than the average slope K of the previous set of data j-1 , then the jth time point is temporarily set as the start of refueling, and then further confirmed through calibration; otherwise, it means that refueling has not started.
[0018] The process of calibrating the refueling start time is as follows: first, continue to use the average slope described in step 3 to search backward to ensure that the average slope of the subsequent m consecutive data is increasing, which means that the j-th time point is the actual refueling start time, otherwise it means that the tentative refueling start time is not the actual refueling start time, and it is necessary to determine the refueling start point again from the j-th time point backward according to the method described in step 4 until the average slope of the m data is increasing; secondly, use the average slope of step 3 to search backward from the tentative refueling start time to find the time point with the lowest average slope within the next m data, which is the refueling start point.
[0019] The specific process of step 5 is: find the time point with the highest average slope along the oil level height curve, record it as the first refueling end time, and then continue to judge the slope of subsequent time; if the slope is less than 0, it means that the oil in the tank neck is being consumed, until the time point when the slope approaches 0 is recorded as the time point when the oil in the tank neck is consumed, and find the time point in front of the same height according to the oil level at this time point, which is the final refueling end time; if the slope is greater than 0, it means that there is no tank neck data, and the first refueling end time is the final refueling end time.
[0020] After the first calibration data is obtained in step 7, if the user performs a second calibration, the multiple calibration logic is used to determine whether the calibration data is accurate. The process is as follows: the second calibration data is compared with the first calibration data. If the error between the two calibrations is less than the set threshold, it means that the error between the two calibrations is small, and the average of the two calibration values is taken as the new calibration data; if the error between the two calibrations is large, the second calibration data is used to replace the first calibration data.
[0021] An automatic oil level calibration system for an engineering machinery oil tank comprises:
[0022] Smart terminals, with mini-programs installed, are used to set refueling time and refueling amount, and upload data to the smart data processing platform;
[0023] The oil level sensor is located in the oil tank and is used to monitor the oil level data in the oil tank in real time and transmit the data to the repeater;
[0024] The repeater uses Bluetooth communication to connect the oil level sensor and the host, and sends the data of the oil level sensor to the host;
[0025] The host, located on top of the vehicle, receives real-time data from the repeater and pushes the data to the intelligent data processing platform;
[0026] Wireless communication module, used to realize the communication connection between the intelligent terminal and the intelligent data processing platform, and between the host and the intelligent data processing platform;
[0027] The intelligent data processing platform is used to receive data uploaded by the applet and the host, and execute the above method to complete the automatic calibration of the oil volume.
[0028] An electronic device comprises a memory, a processor and a computer program stored in the memory, wherein the processor implements the fuel tank calibration method when executing the computer program in the memory.
[0029] Beneficial effects of the present invention:
[0030] 1. The present invention adds the judgment of whether the vehicle is parked stably before refueling. By changing the slope of the oil level curve, it is judged whether the vehicle is parked stably. The oil level data after the vehicle is parked stably is selected for calculation and calibration, which is not affected by the shaking of the vehicle and improves the accuracy of calibration.
[0031] 2. The present invention expands the time range by taking the union of the refueling times sent by the two terminals, avoiding the time error recorded by the user. At the same time, the refueling start time and refueling end time are determined by the slope of the oil height curve, and the refueling start time is recalibrated to increase accuracy.
[0032] 3. The present invention determines whether the oil in the neck of the tank is being consumed based on the characteristics of the oil consumption in the neck of the tank and the oil height curve, finds the consumption completion time, and correspondingly finds the time point before reaching the neck of the tank, thereby filtering out the data of the neck of the tank to prevent this part of the data from affecting the accurate calibration of the tank.
[0033] 4. The present invention also provides multiple calibration verifications to further improve the accuracy of the calibration data.
[0034] 5. The present invention adds centimeter-level segmentation calibration for the fuel tank. According to the measured oil level height curve, the segment is divided every 3 cm, and the oil volume per millimeter is calculated according to the refueling volume and refueling time in the segment. This can be applicable to more types of fuel tanks. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a principle block diagram of the calibration system of the present invention;
[0036] Figure 2 It is a schematic diagram of the flow chart of the calibration method of the present invention;
[0037] In the figure, 1. host, 2. repeater, 3. oil level sensor, 4. wireless communication module, 5. intelligent data processing platform, 6. intelligent terminal. DETAILED DESCRIPTION
[0038] The implementation process of the present invention is described in detail below with reference to the accompanying drawings.
[0039] An automatic oil level calibration system for an engineering machinery oil tank, such as Figure 1 As shown, it includes an intelligent terminal 6, a repeater 2, a fuel level sensor 3, a wireless communication module 4, a host 1 and an intelligent data processing platform 5. The intelligent terminal 6 is held by the user, and a small program is installed in it. The operator can set the refueling time and refueling amount on the small program of the intelligent terminal, and transmit it to the intelligent data processing platform 5 through the wireless communication module 4. The fuel level sensor 3 is located in the fuel tank, which is used to monitor the fuel level data in the fuel tank in real time and transmit the data to the repeater. The repeater 2 sends the data of the fuel level sensor to the host 1, and the repeater 2 uses Bluetooth communication. The host 1 is located on the top of the vehicle and can be charged by solar energy. The host pushes the real-time data sent by the repeater to the intelligent data processing platform 5 through the wireless communication module.
[0040] The intelligent data processing platform receives the data uploaded by the applet and the host, calculates and analyzes the data, and completes the fuel tank oil volume calibration. Figure 2 As shown, the calibration process used is as follows:
[0041] Step 1: Obtain the refueling time uploaded by the operator through the applet of the smart terminal and the refueling time uploaded by the fuel level sensor in the fuel tank and take the union of them, and use the time after taking the union as the refueling start time and refueling end time used in step 2.
[0042] Step 2: According to the refueling start time and refueling end time determined in step 1, query the oil volume data monitored by the oil volume sensor within the time range, filter the oil volume data, draw an oil volume height curve according to the oil volume data and the corresponding time, and calculate the slope of the curve at each time point.
[0043] Step 3: Determine whether the vehicle has stopped steadily according to the change of the slope along the oil height curve from left to right. If the vehicle has stopped steadily, proceed to step 4. Otherwise, continue to step 3 until the rightmost end of the curve is reached. If there is no data behind, the calibration process ends. The method to determine whether the vehicle has stopped steadily is:
[0044] On the oil level height curve, gradually select the oil level height at a certain time point and the following m-1 time points from left to right, and record them as H1, H2, ..., H m , calculate the average slope K of m data according to the following formula:
[0045] K=[(H2-H1)+(H3-H2)+…+(H m -H m-1 )]÷(m-1).
[0046] If the average slope K is less than the set value, the vehicle is judged to be stable; otherwise, continue to search and calculate backward. For example, if m is 30, take 30 consecutive oil volume data, calculate the average slope of the 30 data, and if the average slope is less than 15pa, the vehicle is judged to be stable.
[0047] Step 4: After finding the time point when the vehicle stops, find the actual refueling start time (accurate to seconds) based on the change in the slope of the curve at the following time points. The specific process is:
[0048] Calculate the average slope K of any m data points according to the calculation method described in step 3. If the average slope K at the jth time point is j Begins to be greater than the average slope K of the previous set of data j-1 , then the jth time point is temporarily set as the start of refueling, and then further confirmed through calibration; otherwise, it means that refueling has not started.
[0049] Step 5, the process of calibrating the refueling start time is: first, continue to use the average slope described in step 3 to search backward to ensure that the average slope of the subsequent m consecutive data is increasing, which means that the j-th time point is the actual refueling start time, otherwise it means that the tentative refueling start time is not the actual refueling start time, and it is necessary to determine the refueling start point again from the j-th time point backward according to the method described in step 4 until the average slope of the m data is increasing; secondly, use the average slope of step 3 to search backward from the tentative refueling start time to find the time point with the lowest average slope within the next m data, which is the refueling start point.
[0050] Step 6: Determine the actual refueling end time according to the change of the slope of the oil height curve, and determine whether the oil in the neck of the tank is being consumed; if not, directly execute step 7; if yes, first filter out the oil volume data in the neck of the tank, and then determine the time before refueling to the neck of the tank as the final actual refueling end time. The specific process is:
[0051] Find the time point with the highest average slope along the oil level height curve, record it as the first refueling end time, and then continue to determine the slope of subsequent time; if the slope is less than 0, it means that the oil in the tank neck is being consumed, until the time point when the slope approaches 0 is recorded as the time point when the oil in the tank neck is consumed, and find the time point in front of the same height according to the oil level at that time point, which is the final refueling end time; if the slope is greater than 0, it means that there is no tank neck data, and the first refueling end time is the final refueling end time.
[0052] Step 7, find the fuel level height corresponding to the refueling start time and refueling end time obtained in step 4 and step 6, and calculate the time difference and fuel level height difference before and after refueling.
[0053] Step 8: Based on the oil level height curve obtained after filtering out the oil level data at the tank neck, calculate the refueling amount and refueling time in sections, calculate the oil level per millimeter, and obtain the calibration value.
[0054] After obtaining the first calibration data, if the user performs a second calibration, the multiple calibration logic is used to determine whether the calibration data is accurate. The process is as follows: the second calibration data is compared with the first calibration data. If the error between the two calibrations is less than the set threshold, it means that the error between the two calibrations is small, and the average of the two calibration values is taken as the new calibration data; if the error between the two calibrations is large, the second calibration data is used to replace the first calibration data.
Claims
1. A method for automatically calibrating the oil level in an engineering machinery tank, characterized in that: The following steps are involved: Step 1: Obtain the refueling time uploaded by the operator from the mini-program and the refueling time uploaded by the fuel level sensor in the fuel tank and take the union of them, and use the time after taking the union as the refueling start time and refueling end time used in step 2; Step 2: According to the refueling start time and refueling end time determined in step 1, query the oil volume data monitored by the oil volume sensor within the time range, filter the oil volume data, draw an oil volume height curve according to the oil volume data and the corresponding time, and calculate the slope of the curve at each time point; Step 3: Determine whether the vehicle has stopped steadily according to the change of the slope along the fuel level curve from left to right. If it is determined that the vehicle has stopped steadily, execute step 4; otherwise, continue to execute step 3 until reaching the rightmost end of the curve; Step 4: After finding the time point when the vehicle stops, find the actual refueling start time according to the change of the slope of the curve at the subsequent time points; Step 5: Determine the actual refueling end time according to the change of the slope of the oil level height curve, and determine whether the oil in the neck of the fuel tank is being consumed; if not, execute step 6; if so, after filtering out the oil volume data in the neck of the fuel tank, determine the time before refueling to the neck of the fuel tank as the final actual refueling end time; Step 6, find the fuel level height corresponding to the actual refueling start time and the actual refueling end time obtained in step 4 and step 5, and calculate the time difference and fuel level height difference before and after refueling; Step 7: Based on the oil level height curve obtained after filtering out the oil level data at the tank neck, calculate the refueling amount and refueling time in sections, calculate the oil level per millimeter, and obtain the calibration value.
2. The method for automatically calibrating the oil level in an engineering machinery oil tank according to claim 1, characterized in that: In step 3, the oil level heights at a certain time point and the following m-1 time points are gradually selected from left to right on the oil level height curve, and are recorded as H1, H2, ..., H m , calculate the average slope K of m data according to the following formula: K=[(H2-H1)+(H3-H2)+…+(H m -H m-1 )]÷(m-1), If the average slope K is less than the set value, it is determined that the vehicle parking is stable; otherwise, continue to search and calculate backward.
3. The method for automatically calibrating the oil level in an engineering machinery oil tank according to claim 2, characterized in that: The specific process of finding the refueling start time in step 4 is: calculate the average slope K of any m data according to the calculation method described in step 3. If the average slope K at the jth time point is j Begins to be greater than the average slope K of the previous set of data j-1 , then the jth time point is temporarily set as the start of refueling, and then further confirmed through calibration; otherwise, it means that refueling has not started.
4. The method for automatically calibrating the oil level in an engineering machinery oil tank according to claim 3, characterized in that: The process of calibrating the refueling start time is as follows: first, continue to use the average slope described in step 3 to search backward to ensure that the average slope of the subsequent m consecutive data is increasing, which means that the j-th time point is the actual refueling start time, otherwise it means that the tentative refueling start time is not the actual refueling start time, and it is necessary to determine the refueling start point again from the j-th time point backward according to the method described in step 4 until the average slope of the m data is increasing; secondly, use the average slope of step 3 to search backward from the tentative refueling start time to find the time point with the lowest average slope within the next m data, which is the refueling start point.
5. The method for automatically calibrating the oil level in an engineering machinery oil tank according to claim 3, characterized in that: The specific process of step 5 is: find the time point with the highest average slope along the oil level height curve, record it as the first refueling end time, and then continue to judge the slope of subsequent time; if the slope is less than 0, it means that the oil in the tank neck is being consumed, until the time point when the slope approaches 0 is recorded as the time point when the oil in the tank neck is consumed, and find the time point in front of the same height according to the oil level at this time point, which is the final refueling end time; if the slope is greater than 0, it means that there is no tank neck data, and the first refueling end time is the final refueling end time.
6. The method for automatically calibrating the oil level in an engineering machinery oil tank according to any one of claims 1 to 5, characterized in that: After the first calibration data is obtained in step 7, if the user performs a second calibration, the multiple calibration logic is used to determine whether the calibration data is accurate. The process is as follows: the second calibration data is compared with the first calibration data. If the error between the two calibrations is less than the set threshold, it means that the error between the two calibrations is small, and the average of the two calibration values is taken as the new calibration data; if the error between the two calibrations is large, the second calibration data is used to replace the first calibration data.
7. An automatic oil level calibration system for an engineering machinery oil tank, characterized in that Including, intelligent terminals, installed with small programs for setting refueling time and refueling amount, and uploading data to the intelligent data processing platform; The oil level sensor is located in the oil tank and is used to monitor the oil level data in the oil tank in real time and transmit the data to the repeater; The repeater uses Bluetooth communication to connect the oil level sensor and the host, and sends the data of the oil level sensor to the host; The host, located on top of the vehicle, receives real-time data from the repeater and pushes the data to the intelligent data processing platform; Wireless communication module, used to realize the communication connection between the intelligent terminal and the intelligent data processing platform, and between the host and the intelligent data processing platform; An intelligent data processing platform is used to receive data uploaded by the applet and the host, and execute the steps of claims 1-6 to complete automatic oil volume calibration.
8. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: When the processor executes the computer program in the memory, the fuel tank calibration method as described in claims 1-6 is implemented.
Citation Information
Patent Citations
Fuel volume calibration system and calibration method for vehicle fuel tank
CN103727991B
Oil tank calibration method and device
CN117330155A