Method and device for processing data output by fuel level sensor of vehicle
A technology of oil level sensor and processing method, which is applied in the direction of measuring device, lubrication indicating device, and other database retrieval, etc., can solve the problems of the influence of objective data conditions, inability to accurately reflect the remaining oil level or oil quantity of the oil tank, etc., and achieve convenient operation. and management effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] The data output by the oil level sensor of a vehicle increases with the decrease of the oil quantity, for the processing method of the data output by the oil level sensor of the vehicle, see figure 1 ,include:
[0043] Step 11. Collect the data output by the oil level sensor at a period of 2 seconds, and store the data collected each time in a set;
[0044] Step 12. Whenever the number of data in the collection reaches 160, execute step 13.
[0045] see figure 2 , step 13 is: sort the data in the collection, move the largest 20 data and the smallest 60 data to a storage space, and now there are 80 data in the collection, and then calculate the The average value of the 80 data in the set, output the oil level corresponding to the average value or the ratio of the oil level height to the fuel tank height, and then delete the smallest 40 data in the set, at this time the remaining data in the set for 40 pcs. Next, the newly collected data is stored in the set, and whe...
Embodiment 2
[0056] This embodiment is basically the same as Embodiment 1, and the processing method is only after outputting the oil level corresponding to the average value or the ratio of the oil level height to the fuel tank height and before deleting the smallest 40 data in the set, Including moving the largest 20 data in the storage space to the collection.
[0057] The processing means simply calls a move back module after calling the output module and before deleting the module.
[0058] The moving back module is used to move the largest 20 pieces of data in the storage space to the set.
Embodiment 3
[0060] This embodiment is basically the same as Embodiment 1, except that before the data output by the oil level sensor is collected at a period of 2 seconds, the amount of oil in the fuel tank is increased quantitatively, and the data output by the oil level sensor is correspondingly recorded , establishing a list containing the corresponding relationship between the oil amount or the oil amount percentage and the data output by the oil level sensor, the oil amount percentage is equal to the ratio of the oil amount to the capacity of the fuel tank.
[0061] Outputting the oil level corresponding to the average value or the ratio of the oil level height to the fuel tank height is replaced by: finding and outputting the oil volume or oil volume percentage corresponding to the average value in the list.
[0062] Using the method of this embodiment, the data output by the oil level sensor of the vehicle is processed to obtain Figure 4 the two curves in . Because the period of ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


