CN111121904B - Fuel quantity determination method and device and electronic equipment - Google Patents

Fuel quantity determination method and device and electronic equipment Download PDF

Info

Publication number
CN111121904B
CN111121904B CN201911272791.2A CN201911272791A CN111121904B CN 111121904 B CN111121904 B CN 111121904B CN 201911272791 A CN201911272791 A CN 201911272791A CN 111121904 B CN111121904 B CN 111121904B
Authority
CN
China
Prior art keywords
fuel
value
current
preset
fuel quantity
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.)
Active
Application number
CN201911272791.2A
Other languages
Chinese (zh)
Other versions
CN111121904A (en
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.)
Shenzhen Lianhe Airplane Technology Co ltd
Original Assignee
Shenzhen Lianhe Airplane Technology Co ltd
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 Shenzhen Lianhe Airplane Technology Co ltd filed Critical Shenzhen Lianhe Airplane Technology Co ltd
Priority to CN201911272791.2A priority Critical patent/CN111121904B/en
Publication of CN111121904A publication Critical patent/CN111121904A/en
Application granted granted Critical
Publication of CN111121904B publication Critical patent/CN111121904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F22/00Methods or apparatus for measuring volume of fluids or fluent solid material, not otherwise provided for
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F9/00Measuring volume flow relative to another variable, e.g. of liquid fuel for an engine
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F9/00Measuring volume flow relative to another variable, e.g. of liquid fuel for an engine
    • G01F9/02Measuring volume flow relative to another variable, e.g. of liquid fuel for an engine wherein the other variable is the speed of a vehicle

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

The embodiment of the invention provides a fuel quantity determination method and device and electronic equipment. In the method, the current throttle opening and the current rotating speed of a fuel system are obtained, and a reference fuel quantity is obtained; determining the oil consumption value of the fuel system under the current throttle opening and rotating speed according to the corresponding relation between a plurality of preset working conditions and the oil consumption value; the preset working condition comprises a preset throttle opening and a preset rotating speed; and subtracting the determined oil consumption value from the reference fuel quantity to obtain a difference value, and taking the difference value as the current fuel quantity of the fuel system. The method for determining the fuel quantity, provided by the embodiment of the invention, can improve the accuracy of the determined fuel quantity when the fuel quantity of a fuel system is determined.

Description

Fuel quantity determination method and device and electronic equipment
Technical Field
The invention relates to the technical field of fuel systems, in particular to a fuel quantity determining method and device and electronic equipment.
Background
In the prior art, the measured value of the fuel quantity sensor is used to determine the fuel quantity of the fuel system, i.e. the measured value of the fuel quantity sensor is directly used as the fuel quantity of the fuel system. Wherein, the fuel mass sensor floats on the fuel in the oil tank, detects the height of fuel liquid level to obtain the fuel oil volume of the fuel that holds in the oil tank.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention:
in the dynamic operating mode, the liquid level of the fuel in the fuel tank is prone to shaking, and particularly in the case of a low fuel quantity, the shaking degree is more severe. Therefore, under dynamic operating conditions, the measurement of the oil mass sensor may be inaccurate. Accordingly, the prior art manner of determining the amount of fuel in a fuel system may result in inaccurate determinations of fuel amounts.
Disclosure of Invention
The embodiment of the invention aims to provide a fuel quantity determining method, a fuel quantity determining device and electronic equipment, so that when the fuel quantity of a fuel system is determined, the accuracy of the determined fuel quantity is improved. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a fuel amount determination method, including:
obtaining the current throttle opening and the rotating speed of a fuel system, and obtaining a reference fuel quantity; wherein the reference fuel amount is a fuel amount read from a fuel amount sensor of the fuel system when the reference fuel amount is obtained for the first time; when the reference fuel amount is not obtained for the first time, the reference fuel amount is the last determined fuel amount of the fuel system;
determining the oil consumption value of the fuel system under the current throttle opening and rotating speed according to the corresponding relation between a plurality of preset working conditions and the oil consumption value; the preset working condition comprises a preset throttle opening and a preset rotating speed;
and subtracting the determined oil consumption value from the reference fuel quantity to obtain a difference value, and taking the difference value as the current fuel quantity of the fuel system.
Optionally, before obtaining the current throttle opening and rotation speed of the fuel system and obtaining the reference fuel amount, the method further comprises:
monitoring a measurement of a fuel mass sensor of the fuel system;
after monitoring a first measured value which is smaller than or equal to a preset threshold value, the steps of obtaining the current throttle opening and the rotating speed of the fuel system and obtaining the reference fuel quantity are executed.
Optionally, the corresponding relationship is a corresponding relationship under a preset external environment parameter;
after subtracting the determined fuel consumption value from the reference fuel amount to obtain a difference value, and before using the difference value as the fuel amount of the fuel system, the method further comprises:
obtaining current external environment parameters;
determining a value of each of the current external environment parameters and a value of each of the preset external environment parameters for each of the current external environment parameters; calculating a correction parameter for the difference value using the determined two values;
and correcting the difference value by using the calculated correction parameter.
Optionally, the determining the fuel consumption value of the fuel system at the current throttle opening and the current rotation speed according to the corresponding relationship between the plurality of preset operating conditions and the fuel consumption value includes:
and calculating the oil consumption value of the fuel system under the current throttle opening and rotating speed by using a two-dimensional piecewise linear interpolation method according to the corresponding relation between the preset working conditions and the oil consumption value.
In a second aspect, an embodiment of the present invention provides a fuel amount determination device, including:
the acquisition module is used for acquiring the current throttle opening and the rotating speed of the fuel system and acquiring a reference fuel quantity; wherein the reference fuel amount is a fuel amount read from a fuel amount sensor of the fuel system when the reference fuel amount is obtained for the first time; when the reference fuel amount is not obtained for the first time, the reference fuel amount is the last determined fuel amount of the fuel system;
the fuel consumption value determining module is used for determining the fuel consumption value of the fuel system under the current throttle opening and rotating speed according to the corresponding relation between a plurality of preset working conditions and the fuel consumption value; the preset working condition comprises a preset throttle opening and a preset rotating speed;
the difference value determining module is used for subtracting the determined oil consumption value from the reference fuel quantity to obtain a difference value;
and the fuel quantity determining module is used for taking the difference value as the current fuel quantity of the fuel system.
Optionally, the apparatus further comprises: a monitoring module;
the monitoring module is used for monitoring the measurement value of an oil quantity sensor of the fuel system;
the obtaining module is specifically configured to:
after monitoring a first measured value which is smaller than or equal to a preset threshold value, the steps of obtaining the current throttle opening and the rotating speed of the fuel system and obtaining the reference fuel quantity are executed.
Optionally, the corresponding relationship is a corresponding relationship under a preset external environment parameter;
the device further comprises: a correction module;
the correction module is used for obtaining the current external environment parameters after the difference value is obtained by subtracting the determined oil consumption value from the reference fuel quantity in the difference value determination module and before the difference value is used as the fuel quantity of the fuel system in the fuel quantity determination module; determining a value of each of the current external environment parameters and a value of each of the preset external environment parameters for each of the current external environment parameters; calculating a correction parameter for the difference value using the determined two values; and correcting the difference value by using the calculated correction parameter.
Optionally, the oil consumption value determining module is specifically configured to:
and calculating the oil consumption value of the fuel system under the current throttle opening and rotating speed by using a two-dimensional piecewise linear interpolation method according to the corresponding relation between the preset working conditions and the oil consumption value.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the fuel quantity determining methods when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute any one of the above-described fuel amount determination methods.
In another aspect of the present invention, the embodiment of the present invention further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any of the above-mentioned fuel quantity determination methods.
In the fuel quantity determining method provided by the embodiment of the invention, the corresponding relation between a plurality of preset working conditions and the fuel consumption value is preset for a fuel system. The preset working conditions comprise a preset throttle opening and a preset rotating speed. Therefore, when the current throttle opening and the current rotating speed of the fuel system are obtained, the fuel consumption value of the fuel system at the current throttle opening and the current rotating speed can be determined from the corresponding relation. And then, the last determined fuel quantity of the fuel system is used as a reference fuel quantity, and the determined fuel consumption value is subtracted, so that the current fuel quantity of the fuel system can be obtained. In this way, even if the measured value of the fuel quantity sensor is inaccurate, the determined fuel quantity is not affected. According to the scheme, when the fuel quantity of the fuel system is determined, the current throttle opening and the rotating speed of the fuel system, the reference fuel quantity and the preset corresponding relation between the plurality of preset working conditions and the fuel consumption value are depended, and compared with an oil quantity sensor in the prior art, the fuel quantity sensor is not affected by liquid level shaking, so that the accuracy of the fuel quantity can be improved through the scheme. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a fuel quantity determination method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of the fuel quantity determining method shown in FIG. 1 when the corresponding relationship between the preset operating condition and the fuel consumption value is a two-dimensional table;
FIG. 3 is a flow chart of another fuel quantity determining method provided by the embodiment of the invention based on the fuel quantity determining method shown in FIG. 1;
FIG. 4 is a flow chart of a simplified implementation of the fuel quantity determination method shown in FIG. 3;
FIG. 5 is a schematic structural view of a fuel amount determining apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to improve the accuracy of the determined fuel quantity when determining the fuel quantity of a fuel system, the embodiment of the invention provides a fuel quantity determining method, a fuel quantity determining device and electronic equipment.
The execution main body of the fuel quantity determination method provided by the embodiment of the invention can be a fuel quantity determination device. The device can be used in electronic equipment containing a fuel system. In a specific application, the electronic device may be a drone, but is not limited thereto.
In the embodiment of the invention, empirical data of oil consumption values of an engine of a fuel system under different throttle opening degrees and rotating speeds are obtained through multiple tests in advance, and the corresponding relation between a plurality of preset working conditions and the oil consumption values is set according to the empirical data, wherein each preset working condition comprises a preset throttle opening degree and a preset rotating speed. It should be noted that the fuel quantity determining method provided by the embodiment of the invention describes the process of determining the fuel quantity of the fuel system once. In practice, the method may be repeatedly performed while the fuel system is in operation. For example, the fuel amount of the fuel system is determined every 20 milliseconds, and then the method is executed every 20 milliseconds.
First, a fuel amount determination method provided by an embodiment of the present invention is explained in detail. As shown in fig. 1, the method for determining the amount of fuel provided by the embodiment of the invention may include the following steps:
s101: and acquiring the current throttle opening and the current rotating speed of the fuel system, and acquiring a reference fuel quantity.
Wherein the reference fuel amount is a fuel amount read from a fuel amount sensor of the fuel system when the reference fuel amount is obtained for the first time; when the reference fuel amount is not obtained for the first time, the reference fuel amount is the last determined fuel amount of the fuel system. That is, after each start of the fuel system, when the action of obtaining the current throttle opening and the rotating speed of the fuel system is executed for the first time, the fuel quantity is read from the fuel quantity sensor of the fuel system, and the reference fuel quantity is obtained; when the action of obtaining the current throttle opening and the rotating speed of the fuel system is not executed for the first time, the last determined fuel quantity of the fuel system is obtained, and therefore the reference fuel quantity is obtained. It will be appreciated that the fuel system is typically started upon start-up of the device to which it belongs, and that the device is still in a static mode of operation, so that the fuel tank of the fuel system is not sloshing, and the fuel quantity read from the fuel quantity sensor is relatively accurate. Therefore, when the reference fuel amount is obtained for the first time, the fuel amount read by the fuel amount sensor may be used as the reference fuel amount.
S102: and determining the oil consumption value of the fuel system under the current throttle opening and rotating speed according to the corresponding relation between the preset working conditions and the oil consumption value.
The preset working conditions comprise a preset throttle opening and a preset rotating speed.
In practice, when the fuel consumption is measured in advance under various predetermined operating conditions, the measured fuel consumption is usually measured in liters/hour. At this time, the fuel consumption value in liters/hour may be converted into a fuel consumption value in a certain period, and then set in the corresponding relationship between the preset operating condition and the fuel consumption value. Here, the determination period is an execution period for executing the fuel amount determination method of the invention.
In the embodiment of the invention, the specific implementation modes of determining the oil consumption value of the fuel system under the current throttle opening and rotating speed can be various according to the corresponding relation between the preset working conditions and the oil consumption value.
For example, in a first implementation manner, when the pre-tested data volume is sufficient and various possible throttle openings and rotation speeds are tested, the current throttle opening and oil consumption value of the fuel system at the rotation speed can be directly read from the corresponding relationship.
In a second implementation manner, a two-dimensional table shown in fig. 2 may be formed by using a preset correspondence relationship between the operating conditions and the fuel consumption values. In the two-dimensional table, each fuel consumption value corresponds to one throttle opening and one rotating speed. Therefore, the fuel consumption value of the fuel system under the current throttle opening and the current rotating speed can be calculated by utilizing a two-dimensional piecewise linear interpolation method according to the corresponding relation between the preset working condition and the fuel consumption value. In a particular application, the data in the table may form a three-dimensional plane or surface. Wherein, the first dimension is the opening degree of a throttle valve; the second dimension is the rotation speed, and the third dimension is the fuel consumption value. After the current throttle opening and the current rotating speed of the fuel system are obtained, a small part of area where the current throttle opening and the current rotating speed are located can be found in the plane or the curved surface. Since the part of the region already has a plurality of known values, the function of the part of the region can be fitted. After the function is fitted, the current throttle opening and the current rotating speed are substituted into the function, and the oil consumption value corresponding to the current throttle opening and the current rotating speed can be calculated.
Of course, in a third implementation manner, the preset corresponding relationship between the operating condition and the fuel consumption value may be: a predetermined fitting function in which the independent variables are: the opening degree of a throttle valve and the rotating speed are controlled, and the dependent variable is the oil consumption value. And the preset fitting function is a function obtained by fitting a plurality of groups of preset working conditions and oil consumption values.
S103: and subtracting the determined oil consumption value from the reference fuel quantity to obtain a difference value, and taking the difference value as the current fuel quantity of the fuel system.
It is understood that after the execution of S103 is completed, the current determination period is ended, and the next determination period can be directly entered, and so on, until a command to stop determining the fuel amount is received. In each determination cycle, the steps described in one pass of S101-S103 are performed.
In addition, the preset corresponding relationship between the operating condition and the fuel consumption value may be a corresponding relationship under a preset external environment parameter. Therefore, in the embodiment of the present invention, after subtracting the determined fuel consumption value from the reference fuel amount to obtain a difference value, and before using the difference value as the fuel amount of the fuel system, the method may further include:
obtaining current external environment parameters;
determining a value of each of the current external environment parameters and a value of each of the preset external environment parameters for each of the current external environment parameters; calculating a correction parameter for the difference value using the determined two values;
and correcting the difference value by using the calculated correction parameter.
The external environment parameters may include altitude, air temperature, atmospheric pressure, and the like.
It can be understood that the fuel consumption of the fuel system is affected by external environmental parameters. Therefore, in order to further improve the accuracy of the determined fuel amount, when the current external environment is different from the environment defined by the preset external environment parameters, the difference value can be corrected according to the difference between the current external environment and the preset external environment parameters, so that the accurate fuel amount is obtained.
In practical application, each parameter of the external environment parameters can be pre-determined, the parameter is traversed under the condition that other parameters are fixed values, and the fuel consumption value of the fuel system is measured in the traversing process. Thus, a correction parameter of the parameter to the fuel consumption value can be calculated according to the measured data. Therefore, after subtracting the determined fuel consumption value from the reference fuel amount, the difference can be corrected by using the correction parameter. Here, the correction parameter may be a correction amount per unit, a correction factor, or the like, but is not limited thereto. For example, for a parameter of air temperature, the correction parameter may be an amount of increase or decrease in the difference value for every degree of celsius higher or lower.
It will be appreciated that a more accurate fuel quantity for the fuel system can be obtained after the difference is corrected for each parameter.
In the fuel quantity determining method provided by the embodiment of the invention, the corresponding relation between a plurality of preset working conditions and the fuel consumption value is preset for a fuel system. The preset working conditions comprise a preset throttle opening and a preset rotating speed. Therefore, when the current throttle opening and the current rotating speed of the fuel system are obtained, the fuel consumption value of the fuel system at the current throttle opening and the current rotating speed can be determined from the corresponding relation. And then, the last determined fuel quantity of the fuel system is used as a reference fuel quantity, and the determined fuel consumption value is subtracted, so that the current fuel quantity of the fuel system can be obtained. In this way, even if the measured value of the fuel quantity sensor is inaccurate, the determined fuel quantity is not affected. According to the scheme, when the fuel quantity of the fuel system is determined, the current throttle opening and the rotating speed of the fuel system, the reference fuel quantity and the preset corresponding relation between the plurality of preset working conditions and the fuel consumption value are depended, and compared with an oil quantity sensor in the prior art, the fuel quantity sensor is not affected by liquid level shaking, so that the accuracy of the fuel quantity can be improved through the scheme.
On the basis of the fuel quantity determination method shown in fig. 1, another fuel quantity determination method is provided in the embodiment of the present invention, and as shown in fig. 3, the method may include the following steps:
s310: monitoring a measured value of an oil mass sensor of the fuel system;
s320: judging whether a first measured value smaller than or equal to a preset threshold value is monitored, and executing S3202-S3204 when the judgment result is yes; when the determination result is no, S3201 is executed;
s3201: taking the measured value of the oil quantity sensor as the current fuel quantity of the fuel system;
s3202: obtaining the current throttle opening and the rotating speed of a fuel system, and obtaining a reference fuel quantity;
s3203: determining the oil consumption value of the fuel system under the current throttle opening and rotating speed according to the corresponding relation between a plurality of preset working conditions and the oil consumption value;
s3204: and subtracting the determined oil consumption value from the reference fuel quantity to obtain a difference value, and taking the difference value as the current fuel quantity of the fuel system.
S3202-S3204 are the same as the above-mentioned S101-S103, and are not described herein again.
It can be understood that in the case of a fuel system with a sufficient amount of fuel in the tank, the fuel level will not slosh much, and the measurement value of the fuel sensor will be relatively accurate. Therefore, before the first measured value which is less than or equal to the preset threshold value is monitored, the measured value of the fuel quantity sensor can be directly used as the current fuel quantity of the fuel system.
In addition, in order to simplify the process, after the first measured value less than or equal to the preset threshold value is monitored and S3202 to S3204 are sequentially executed, in the process of determining the fuel amount in a new round, the process may directly return to S3202 without executing S310 and S320.
For example, as shown in fig. 4, when the first measured value less than or equal to the preset threshold is not monitored as the result of the determination at S42, S41 is executed in a loop, that is, the fuel amount of the fuel system is determined in the measurement mode until the first measured value less than or equal to the preset threshold is monitored. When the first measured value less than or equal to the preset threshold value is monitored as a result of the judgment at S42, execution of the loop S43, that is, the fuel amount of the fuel system is determined in the estimation mode, until the determination of the fuel amount is stopped as a result of the judgment at S44. The manner of determining the fuel amount of the fuel system in the measurement mode in S41 is the same as the manner of determining the fuel amount of the fuel system in S3201, and the manner of determining the fuel amount of the fuel system in the estimation mode in S43 is the same as the manner of determining the fuel amount of the fuel system in S3202-S3204.
In practical application, the highest actual fuel quantity can be selected as the preset threshold value from each actual fuel quantity when the fuel quantity monitored by the fuel quantity sensor is inconsistent with the actual fuel quantity. Or, after a low oil conservation quantity is added on the basis of the real oil quantity, the summation result is used as a preset threshold value. Thus, the estimation mode can be started in advance, and the condition that the determined fuel quantity is inaccurate near the preset threshold value is avoided.
Corresponding to the method for determining the fuel quantity, the embodiment of the invention also provides a device for determining the fuel quantity.
It should be noted that the fuel quantity determining device provided by the embodiment of the present invention may be used in an electronic device including a fuel system. In a specific application, the electronic device may be a drone, but is not limited thereto.
As shown in fig. 5, the fuel quantity determining apparatus provided in the embodiment of the present invention may include:
the obtaining module 501 is used for obtaining the current throttle opening and the rotating speed of the fuel system and obtaining a reference fuel quantity; wherein the reference fuel amount is a fuel amount read from a fuel amount sensor of the fuel system when the reference fuel amount is obtained for the first time, and the reference fuel amount is a fuel amount of the fuel system determined last time when the reference fuel amount is not obtained for the first time;
the fuel consumption value determining module 502 is configured to determine a fuel consumption value of the fuel system at the current throttle opening and rotation speed according to a corresponding relationship between a plurality of preset operating conditions and the fuel consumption value; the preset working conditions comprise a preset throttle opening and a preset rotating speed;
the difference determining module 503 is configured to subtract the determined fuel consumption value from the reference fuel amount to obtain a difference, and use the difference as the current fuel amount of the fuel system;
and a fuel quantity determination module 504 for determining the difference as a current fuel quantity of the fuel system.
Optionally, the apparatus may further include: a monitoring module;
the monitoring module is used for monitoring the measurement value of an oil quantity sensor of the fuel system;
correspondingly, the obtaining module 501 may be specifically configured to:
after monitoring a first measured value which is smaller than or equal to a preset threshold value, the steps of obtaining the current throttle opening and the rotating speed of the fuel system and obtaining the reference fuel quantity are executed.
Optionally, the correspondence relationship is a correspondence relationship under a preset external environment parameter;
correspondingly, the above apparatus may further include: a correction module;
the correction module is used for obtaining the current external environment parameters after the difference value is obtained by subtracting the determined fuel consumption value from the reference fuel quantity in the difference value determination module 503 and before the difference value is used as the fuel quantity of the fuel system in the fuel quantity determination module 504; determining a value of each of the current external environment parameters and a value of each of the preset external environment parameters for each of the current external environment parameters; calculating a correction parameter for the difference value using the determined two values; and correcting the difference value by using the calculated correction parameter.
Optionally, the oil consumption value determining module 502 may be specifically configured to:
and calculating the oil consumption value of the fuel system under the current throttle opening and rotating speed by using a two-dimensional piecewise linear interpolation method according to the corresponding relation between the preset working conditions and the oil consumption value.
The fuel quantity determining device provided by the embodiment of the invention is used for presetting the corresponding relation between a plurality of preset working conditions and a fuel consumption value aiming at a fuel system. The preset working conditions comprise a preset throttle opening and a preset rotating speed. Therefore, when the current throttle opening and the current rotating speed of the fuel system are obtained, the fuel consumption value of the fuel system at the current throttle opening and the current rotating speed can be determined from the corresponding relation. And then, the last determined fuel quantity of the fuel system is used as a reference fuel quantity, and the determined fuel consumption value is subtracted, so that the current fuel quantity of the fuel system can be obtained. In this way, even if the measured value of the fuel quantity sensor is inaccurate, the determined fuel quantity is not affected. According to the scheme, when the fuel quantity of the fuel system is determined, the current throttle opening and the rotating speed of the fuel system, the reference fuel quantity and the preset corresponding relation between the plurality of preset working conditions and the fuel consumption value are depended, and compared with an oil quantity sensor in the prior art, the fuel quantity sensor is not affected by liquid level shaking, so that the accuracy of the fuel quantity can be improved through the scheme.
The embodiment of the invention also provides electronic equipment, and in specific application, the electronic equipment can be an unmanned aerial vehicle, but is not limited to the unmanned aerial vehicle.
As shown in fig. 6, the electronic device provided by the embodiment of the present invention may include a processor 601, a communication interface 602, a memory 603, and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 complete communication with each other through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement the following steps when executing the program stored in the memory 603:
obtaining the current throttle opening and the rotating speed of a fuel system, and obtaining a reference fuel quantity; wherein the reference fuel amount is a fuel amount read from a fuel amount sensor of the fuel system when the reference fuel amount is obtained for the first time, and the reference fuel amount is a fuel amount of the fuel system determined last time when the reference fuel amount is not obtained for the first time;
determining the oil consumption value of the fuel system under the current throttle opening and rotating speed according to the corresponding relation between a plurality of preset working conditions and the oil consumption value; the preset working condition comprises a preset throttle opening and a preset rotating speed;
and subtracting the determined oil consumption value from the reference fuel quantity to obtain a difference value, and taking the difference value as the current fuel quantity of the fuel system.
Optionally, before obtaining the current throttle opening and rotation speed of the fuel system and obtaining the reference fuel amount, the method further comprises:
monitoring a measurement of a fuel mass sensor of the fuel system;
after monitoring a first measured value which is smaller than or equal to a preset threshold value, the steps of obtaining the current throttle opening and the rotating speed of the fuel system and obtaining the reference fuel quantity are executed.
Optionally, the corresponding relationship is a corresponding relationship under a preset external environment parameter;
correspondingly, after subtracting the determined fuel consumption value from the reference fuel quantity to obtain a difference value, and before using the difference value as the fuel quantity of the fuel system, the method further comprises the following steps:
obtaining current external environment parameters;
determining a value of each of the current external environment parameters and a value of each of the preset external environment parameters for each of the current external environment parameters; calculating a correction parameter for the difference value using the determined two values;
and correcting the difference value by using the calculated correction parameter.
Optionally, the determining the fuel consumption value of the fuel system at the current throttle opening and the current rotation speed according to the corresponding relationship between the plurality of preset operating conditions and the fuel consumption value includes:
and calculating the oil consumption value of the fuel system under the current throttle opening and rotating speed by using a two-dimensional piecewise linear interpolation method according to the corresponding relation between the preset working conditions and the oil consumption value.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and electronic apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (7)

1. A fuel amount determining method, characterized by comprising:
obtaining the current throttle opening and the rotating speed of a fuel system, and obtaining a reference fuel quantity; wherein the reference fuel amount is a fuel amount read from a fuel amount sensor of the fuel system when the reference fuel amount is obtained for the first time; when the reference fuel amount is not obtained for the first time, the reference fuel amount is the last determined fuel amount of the fuel system;
determining the oil consumption value of the fuel system under the current throttle opening and rotating speed according to the corresponding relation between a plurality of preset working conditions and the oil consumption value; the preset working condition comprises a preset throttle opening and a preset rotating speed;
subtracting the determined oil consumption value from the reference fuel quantity to obtain a difference value, and taking the difference value as the current fuel quantity of the fuel system;
before obtaining the current throttle opening and the current rotation speed of the fuel system and obtaining the reference fuel quantity, the method further comprises the following steps:
monitoring a measurement of a fuel mass sensor of the fuel system;
after monitoring a first measured value which is less than or equal to a preset threshold value, executing the step of obtaining the current throttle opening and the current rotating speed of the fuel system and obtaining a reference fuel quantity;
the preset threshold value is that the highest real fuel quantity is selected from all real fuel quantities when the fuel quantity monitored by the fuel quantity sensor is inconsistent with the real fuel quantity; alternatively, a low oil conservation quantity is added based on the actual fuel quantity.
2. The method according to claim 1, wherein the corresponding relationship is a corresponding relationship under a preset external environment parameter;
before subtracting the determined fuel consumption value from the reference fuel amount to obtain a difference value and using the difference value as the current fuel amount of the fuel system, the method further comprises the following steps:
obtaining current external environment parameters;
determining a value of each of the current external environment parameters and a value of each of the preset external environment parameters for each of the current external environment parameters; calculating a correction parameter for the difference value using the determined two values;
and correcting the difference value by using the calculated correction parameter.
3. The method as claimed in claim 1, wherein the step of determining the fuel consumption value of the fuel system at the current throttle opening and rotation speed according to the corresponding relationship between the plurality of preset operating conditions and the fuel consumption value comprises:
and calculating the oil consumption value of the fuel system under the current throttle opening and rotating speed by using a two-dimensional piecewise linear interpolation method according to the corresponding relation between the preset working conditions and the oil consumption value.
4. A fuel amount determining apparatus, characterized by comprising:
the acquisition module is used for acquiring the current throttle opening and the rotating speed of the fuel system and acquiring a reference fuel quantity; wherein the reference fuel amount is a fuel amount read from a fuel amount sensor of the fuel system when the reference fuel amount is obtained for the first time; when the reference fuel amount is not obtained for the first time, the reference fuel amount is the last determined fuel amount of the fuel system;
the fuel consumption value determining module is used for determining the fuel consumption value of the fuel system under the current throttle opening and rotating speed according to the corresponding relation between a plurality of preset working conditions and the fuel consumption value; the preset working condition comprises a preset throttle opening and a preset rotating speed;
the difference value determining module is used for subtracting the determined oil consumption value from the reference fuel quantity to obtain a difference value;
the fuel quantity determining module is used for taking the difference value as the current fuel quantity of the fuel system;
the device also comprises a monitoring module, wherein the monitoring module is used for monitoring the measured value of an oil quantity sensor of the fuel system;
the obtaining module is specifically configured to:
after monitoring a first measured value which is less than or equal to a preset threshold value, executing the step of obtaining the current throttle opening and the current rotating speed of the fuel system and obtaining a reference fuel quantity;
the preset threshold value is that the highest real fuel quantity is selected from all real fuel quantities when the fuel quantity monitored by the fuel quantity sensor is inconsistent with the real fuel quantity; alternatively, a low oil conservation quantity is added based on the actual fuel quantity.
5. The apparatus according to claim 4, wherein the corresponding relationship is a corresponding relationship under a preset external environment parameter;
the device further comprises: a correction module;
the correction module is used for obtaining the current external environment parameters after the difference value is obtained by subtracting the determined oil consumption value from the reference fuel quantity in the difference value determination module and before the difference value is used as the fuel quantity of the fuel system in the fuel quantity determination module; determining a value of each of the current external environment parameters and a value of each of the preset external environment parameters for each of the current external environment parameters; calculating a correction parameter for the difference value using the determined two values; and correcting the difference value by using the calculated correction parameter.
6. The apparatus of claim 4, wherein the fuel consumption determination module is specifically configured to:
and calculating the oil consumption value of the fuel system under the current throttle opening and rotating speed by using a two-dimensional piecewise linear interpolation method according to the corresponding relation between the preset working conditions and the oil consumption value.
7. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 3 when executing a program stored in the memory.
CN201911272791.2A 2019-12-12 2019-12-12 Fuel quantity determination method and device and electronic equipment Active CN111121904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911272791.2A CN111121904B (en) 2019-12-12 2019-12-12 Fuel quantity determination method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911272791.2A CN111121904B (en) 2019-12-12 2019-12-12 Fuel quantity determination method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111121904A CN111121904A (en) 2020-05-08
CN111121904B true CN111121904B (en) 2022-01-11

Family

ID=70499822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911272791.2A Active CN111121904B (en) 2019-12-12 2019-12-12 Fuel quantity determination method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111121904B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112903050A (en) * 2021-02-20 2021-06-04 四川腾盾科技有限公司 Method for calculating real-time fuel quantity of unmanned aerial vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102980623A (en) * 2012-11-09 2013-03-20 埃泰克汽车电子(芜湖)有限公司 Display system of automobile combined meter surplus fuel quantity
CN103644951A (en) * 2013-12-19 2014-03-19 埃泰克汽车电子(芜湖)有限公司 Processing method for fuel gauge of automobile combination meter
CN104048733A (en) * 2014-05-23 2014-09-17 苏州佳世达光电有限公司 Oil mass measuring method and oil mass measuring system
CN105067053A (en) * 2015-07-24 2015-11-18 四川理工学院 Measuring method and system of amount of rest fuel oil of automobile

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58160818A (en) * 1982-03-18 1983-09-24 Toyota Motor Corp Indicator for speed change operation
CN1039086A (en) * 1989-01-20 1990-01-24 天津大学 Gasoline-engine optimum controlling system with storage sensors
US5067465A (en) * 1990-02-15 1991-11-26 Fujitsu Ten Limited Lean burn internal combustion engine
CN1284697C (en) * 2003-08-08 2006-11-15 米亚马株式会社 Vehicle running condition appraising system and i6ts appraising method
JP4881891B2 (en) * 2008-02-12 2012-02-22 株式会社ケーヒン General-purpose engine electronic control unit
US8442733B2 (en) * 2008-06-20 2013-05-14 Chrysler Group Llc Method for detecting the performance of a skip shift device
JP4689708B2 (en) * 2008-07-31 2011-05-25 富士通テン株式会社 Fuel saving driving diagnosis device, motor control device and fuel saving driving diagnosis method
CN202149797U (en) * 2011-07-12 2012-02-22 深圳市鹏奥达科技有限公司 Oil consumption monitor for automobile and automobile
CN102745083B (en) * 2012-03-13 2015-06-10 浙江吉利汽车研究院有限公司 Automobile cruise control system and control method thereof
CN103994805A (en) * 2014-04-29 2014-08-20 江苏农林职业技术学院 Sensor testing device for measuring automobile fuel quantity
JP6836444B2 (en) * 2017-03-30 2021-03-03 本田技研工業株式会社 Generator system
CN108061584A (en) * 2017-12-20 2018-05-22 成都利驰数据技术股份有限公司 A kind of vehicle oil consumption computational methods and system
CN108168906A (en) * 2017-12-27 2018-06-15 广西师范学院 Long-distance bus oil consumption abnormity diagnostic system
CN208702490U (en) * 2018-08-14 2019-04-05 北京长城华冠汽车技术开发有限公司 Machine oil test device and automobile
CN110455285A (en) * 2019-07-22 2019-11-15 深圳联合飞机科技有限公司 A kind of Navigation of Pilotless Aircraft method and navigation device in satellite navigation signals failure

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102980623A (en) * 2012-11-09 2013-03-20 埃泰克汽车电子(芜湖)有限公司 Display system of automobile combined meter surplus fuel quantity
CN103644951A (en) * 2013-12-19 2014-03-19 埃泰克汽车电子(芜湖)有限公司 Processing method for fuel gauge of automobile combination meter
CN104048733A (en) * 2014-05-23 2014-09-17 苏州佳世达光电有限公司 Oil mass measuring method and oil mass measuring system
CN105067053A (en) * 2015-07-24 2015-11-18 四川理工学院 Measuring method and system of amount of rest fuel oil of automobile

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于驾驶习惯识别的自动变速智能控制研究";邹斌;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20190115(第01期);第46页第4.2.1节第2段、第48页最后一段、第49页最后一段、第50页第1段,表4.6、附图4.5 *

Also Published As

Publication number Publication date
CN111121904A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN110160524B (en) Sensor data acquisition method and device of inertial navigation system
US6829562B2 (en) Method and device for state sensing of technical systems such as energy stores
CN113418655B (en) Pressure difference sensor fault detection method and system, storage medium and electronic equipment
CN109726909B (en) Energy efficiency evaluation method and device, readable medium and electronic equipment
CN111121904B (en) Fuel quantity determination method and device and electronic equipment
CN113833547B (en) Engine oil liquid level determination method and device
CN110672179A (en) Boiler liquid level detection method and device, storage medium and control equipment
CN110397525A (en) Air filter for automobile monitoring method and electronic equipment
CN109960241B (en) Automatic test method and system for automobile ECU internal calibration meter
CN114199394A (en) Temperature measuring method and device and electronic equipment
KR101981881B1 (en) How to increase the pressure detection accuracy without using a sensor
CN111141372B (en) Liquid overflow detection method and device, electrical equipment and storage medium
CN115059527B (en) Engine oil liquid level determining method, device, equipment and storage medium
CN116106869A (en) Positioning evaluation method and device for automatic driving vehicle and electronic equipment
CN111140357B (en) Method and device for determining first starting temperature of engine and electronic equipment
CN111924791B (en) Oil tank oil level calibration method and device and electronic equipment
CN112903050A (en) Method for calculating real-time fuel quantity of unmanned aerial vehicle
US10567254B2 (en) Method and device for characterising a signal
CN111912499A (en) Oil tank oil level calibration method and device and electronic equipment
CN104679803B (en) Method and device for processing data output by oil level sensor of vehicle
CN113153501A (en) Urea injection amount control method and related equipment
CN114673589B (en) Online detection method, device and system for abnormal oil consumption
CN116085089B (en) Engine oil amount detection method, engine oil amount detection device, electronic equipment, vehicle and storage medium
CN111189471A (en) Correction method, correction device and computer storage medium
CN117452795B (en) Method for determining delay time of intake air flow and related equipment

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
GR01 Patent grant
GR01 Patent grant