Airborne fuel oil liquid level measuring method, system, equipment and medium
By setting the excitation wave number and liquid level partition in the ultrasonic liquid level sensor, combining Kalman filtering method and envelope superposition method, the problem of low liquid level measurement accuracy under aircraft attitude changes is solved, and high accuracy and high reliability are achieved The liquid level measurement overcomes the interference caused by aircraft vibration.
Patent Information
- Application Number
- CN202411293948.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-14
Smart Images

Figure CN119197703A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fuel measurement, and in particular to an onboard fuel level measurement method, system, equipment and medium. Background Art
[0002] At present, the main airborne fuel level measurement sensor in my country is capacitive level sensor. Capacitive level measurement technology has been around for nearly a hundred years since its invention, and is a very mature technology. Its advantages are simple structure, small measurement blind area, and adaptability to aircraft attitude tilt. However, due to its very small capacitance, it is greatly affected by parasitic capacitance, bypass capacitance, and electromagnetic interference, and its signal-to-noise ratio is low, which makes its anti-interference ability theoretically weak and its accuracy low. Compared with ultrasonic and capacitive level sensors, since the measured value is directly a time digital quantity, it has the advantages of strong anti-interference ability, high signal-to-noise ratio, high measurement accuracy, and light weight. It is a very promising aviation fuel level measurement technology.
[0003] Although ultrasonic level sensors have been widely used in industry, they are all used in static and quasi-static situations on the ground. In the aviation field, the main problems and difficulties of ultrasonic airborne fuel level measurement systems are: due to the deviation of the ultrasonic measurement normal, the sensor will not be able to adapt to the large attitude tilt and swing changes of the aircraft; the fuel level fluctuation caused by aircraft vibration will cause the ultrasonic wavefront directionality to be unclear, seriously affecting the measurement accuracy and reliability of the sensor. Summary of the invention
[0004] Aiming at the problem that the above-mentioned sensor cannot adapt to the large attitude tilt and sway changes of the aircraft, which seriously affects the measurement accuracy and reliability of the sensor, the present invention proposes an onboard fuel level measurement method, system, equipment and medium; firstly, according to the acquired temperature value, the number of excitation waves is set to collect and obtain ultrasonic pulse signals; then, according to the collected ultrasonic pulse signals, the time point sequence is calculated; finally, according to the time point sequence and the set liquid level partition, the current liquid level zone is judged; if the current liquid level zone is a low liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the height of the float immersed in the fuel, the sound speed, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, the liquid level height value is calculated according to the ultrasonic flight time, the length of the auxiliary waveguide tube, the mechanical blind area of the auxiliary waveguide tube, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide tube, thereby improving the measurement accuracy of the aircraft in high and low temperature environments.
[0005] The specific implementation contents of the present invention are as follows:
[0006] An onboard fuel level measurement method comprises the following steps:
[0007] Step S1: according to the acquired temperature value, the number of excitation waves is set to collect and obtain an ultrasonic pulse signal;
[0008] Step S2: Calculate the time point sequence according to the collected ultrasonic pulse signal;
[0009] Step S3: Determine the current liquid level zone according to the time point sequence and the set liquid level partition. If the current liquid level zone is a low liquid level zone, calculate the liquid level height according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, calculate the liquid level height value according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide.
[0010] In order to better implement the present invention, further, the step S1 specifically includes the following steps:
[0011] Step S11: measuring the fuel temperature value, and setting the number of excitation waves according to the fuel temperature value;
[0012] Step S12: obtaining an original ultrasonic pulse signal according to the set number of excitation waves;
[0013] Step S13: Calling the Kalman filter method to filter out the original ultrasonic pulse signal to obtain a filtered ultrasonic pulse signal.
[0014] In order to better implement the present invention, further, the step S2 specifically includes the following steps:
[0015] Step S21: performing a power operation on the filtered ultrasonic pulse signal according to the set power operation parameter to obtain a power-operated ultrasonic pulse signal;
[0016] Step S22: Calculate the echo phase difference according to the ultrasonic wavelength, and call the envelope superposition method to superimpose the ultrasonic pulse signals at different times according to the phase difference to obtain the ultrasonic pulse signal after envelope superposition;
[0017] Step S23: calling a comparison method to identify the time point of the envelope wave peak of the ultrasonic pulse signal after envelope superposition, and obtaining a time point sequence.
[0018] In order to better implement the present invention, further, the step S3 specifically includes the following steps:
[0019] Step S31: judging the current liquid level zone according to the time point sequence and the set liquid level partition, if the current liquid level zone is a low liquid level zone, calculating the liquid level height according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, calculating the liquid level height according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide;
[0020] Step S32: Correct the liquid level value according to the set temperature parameter to obtain a corrected liquid level.
[0021] In order to better implement the present invention, further, before collecting the ultrasonic pulse signal in step S1, the following steps are included: initializing system parameters; the system parameters include default sound velocity, baud rate, and setting IO ports.
[0022] In order to better implement the present invention, further, the onboard fuel level measurement method also includes:
[0023] Step S4: performing median calculation on the liquid level heights obtained by multiple measurements to obtain a liquid level height value.
[0024] Based on the above-mentioned onboard fuel level measurement method, in order to better realize the present invention, further, an onboard fuel level measurement system is proposed, which is used to execute the above-mentioned onboard fuel level measurement method; it includes a collection unit, a timing unit, and a calculation unit;
[0025] The acquisition unit is used to set the number of excitation waves according to the acquired temperature value and acquire the ultrasonic pulse signal;
[0026] The timing unit is used to calculate a time point sequence according to the collected ultrasonic pulse signal;
[0027] The calculation unit is used to determine the current liquid level zone according to the time point sequence and the set liquid level partition. If the current liquid level zone is a low liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide.
[0028] Based on the above-proposed airborne fuel level measurement method, in order to better implement the present invention, further, an electronic device is proposed, including a memory and a processor; a computer program is stored on the memory; when the computer program is executed on the processor, the above-proposed airborne fuel level measurement method is implemented.
[0029] Based on the above-proposed airborne fuel level measurement method, in order to better implement the present invention, further, a computer-readable storage medium is proposed, on which computer instructions are stored; when the computer instructions are executed on the processor, the above-proposed airborne fuel level measurement method is implemented.
[0030] The present invention has the following beneficial effects:
[0031] (1) The present invention measures the fuel level in a non-contact manner and calculates the liquid level heights separately by setting liquid level partitions, thereby overcoming the influence of liquid level fluctuations caused by aircraft vibration.
[0032] (2) The present invention uses the envelope superposition method to overcome the influence of aircraft vibration while greatly reducing the interference of random noise. The power method is used to improve the signal-to-noise ratio of ultrasonic direct waves, and the median calculation is performed to further improve the reliability of the measurement results. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 The present invention provides a flowchart of the method for measuring the fuel level on board. DETAILED DESCRIPTION
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and therefore should not be regarded as limiting the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without making creative work are within the scope of protection of the present invention.
[0035] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "disposed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0036] Embodiment 1:
[0037] This embodiment provides an onboard fuel level measurement method, which specifically includes the following steps:
[0038] Step S1: according to the acquired temperature value, the number of excitation waves is set to collect and obtain ultrasonic pulse signals.
[0039] Before collecting the ultrasonic pulse signal in step S1, the following steps are included: initializing system parameters; the system parameters include default sound velocity, baud rate, and setting IO ports.
[0040] Furthermore, the step S1 specifically includes the following steps:
[0041] Step S11: measuring the fuel temperature value, and setting the number of excitation waves according to the fuel temperature value;
[0042] Step S12: obtaining an original ultrasonic pulse signal according to the set number of excitation waves;
[0043] Step S13: Calling the Kalman filter method to filter out the original ultrasonic pulse signal to obtain a filtered ultrasonic pulse signal.
[0044] Step S2: Calculate the time point sequence according to the collected ultrasonic pulse signal.
[0045] Furthermore, the step S2 specifically includes the following steps:
[0046] Step S21: performing a power operation on the filtered ultrasonic pulse signal according to the set power operation parameter to obtain a power-operated ultrasonic pulse signal;
[0047] Step S22: Calculate the echo phase difference according to the ultrasonic wavelength, and call the envelope superposition method to superimpose the ultrasonic pulse signals at different times according to the phase difference to obtain the ultrasonic pulse signal after envelope superposition;
[0048] Step S23: calling a comparison method to identify the time point of the envelope wave peak of the ultrasonic pulse signal after envelope superposition, and obtaining a time point sequence.
[0049] Step S3: Determine the current liquid level zone according to the time point sequence and the set liquid level partition. If the current liquid level zone is a low liquid level zone, calculate the liquid level height according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, calculate the liquid level height value according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide.
[0050] Furthermore, the step S3 specifically includes the following steps:
[0051] Step S31: judging the current liquid level zone according to the time point sequence and the set liquid level partition, if the current liquid level zone is a low liquid level zone, calculating the liquid level height according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, calculating the liquid level height according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide;
[0052] Step S32: Correct the liquid level value according to the set temperature parameter to obtain a corrected liquid level.
[0053] Step S4: performing median calculation on the liquid level heights obtained by multiple measurements to obtain a liquid level height value.
[0054] Working principle: This embodiment first sets the number of excitation waves according to the acquired temperature value and collects the ultrasonic pulse signal; then calculates the time point sequence according to the collected ultrasonic pulse signal; finally, judges the current liquid level zone according to the time point sequence and the set liquid level partition. If the current liquid level zone is a low liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, the liquid level height value is calculated according to the ultrasonic flight time, the length of the auxiliary waveguide tube, the mechanical blind area of the auxiliary waveguide tube, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide tube, thereby improving the measurement accuracy of the aircraft in high and low temperature environments.
[0055] This embodiment measures the fuel level in a non-contact manner and calculates the level heights separately by setting level partitions, thereby overcoming the influence of liquid surface fluctuations caused by aircraft vibration. By using the envelope superposition method, while overcoming the influence of aircraft vibration, the interference of random noise is greatly reduced. The signal-to-noise ratio of ultrasonic direct waves is improved by using the power method, and the reliability of the measurement results is further improved by performing median calculation.
[0056] Embodiment 2:
[0057] This embodiment is based on the above embodiment 1. Figure 1 As shown, a specific embodiment is described in detail.
[0058] Step S1: according to the acquired temperature value, the number of excitation waves is set to collect and obtain an ultrasonic pulse signal;
[0059] First, the parameters are initialized, including the default sound speed, baud rate, IO port settings, etc. After the initialization, a self-test is performed. If there is a fault in the self-test, a fault signal is output. If the self-test passes, the main waveguide performs sampling calculations after setting the appropriate gain. The high and low liquid level areas are determined based on the calculation results. If the liquid level is in the low liquid level area, the low liquid level area parameters are set. If it is in the high liquid level area, the high liquid level area parameters are set. After the settings are completed, the ultrasonic pulse signal is collected.
[0060] Before collecting the ultrasonic pulse signal, the temperature value is measured, and the number of excitation waves is set according to the measured temperature value, and the frequency of the excitation wave is used as the main frequency of the transducer. Ultrasonic waves are generated according to the set number of excitation waves, and ultrasonic pulse signals are collected. Finally, the Kalman filter method is called to filter out the original ultrasonic pulse signal to obtain the filtered ultrasonic pulse signal, and the denoised and smoothed ultrasonic pulse signal is obtained through the Kalman filter.
[0061] Step S2: Calculate the time point sequence according to the collected ultrasonic pulse signal.
[0062] Firstly, according to the set exponentiation parameters, the filtered ultrasonic pulse signal is multiplied to obtain the ultrasonic pulse signal after the exponentiation operation; then, the echo phase difference is calculated according to the ultrasonic wavelength, and the envelope superposition method is called to superimpose the ultrasonic pulse signals at different times according to the phase difference to obtain the ultrasonic pulse signal after envelope superposition; finally, the comparison method is called to identify the envelope wave peak time point of the ultrasonic pulse signal after envelope superposition to obtain a time point sequence.
[0063] Step S3: According to the time point sequence and the set liquid level partition, the current liquid level zone is determined. If the current liquid level zone is a low liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the height of the float immersed in the fuel, the sound speed, and the mechanical blind area of the transducer. The specific operations are as follows:
[0064] H1=△t1*C / 2+H a +H b
[0065] Among them, H1 represents the liquid level height in the low liquid level area, △t1 represents the ultrasonic flight time, C represents the ultrasonic sound speed, H a Indicates the height of the float immersed in the fuel, H b Mechanical blind spot of the transducer.
[0066] If the current liquid level area is a high liquid level area, the liquid level height value is calculated based on the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide. The specific operations are as follows:
[0067] H2=t1*(LH c ) / t0+H d +H e
[0068] Where t1 represents the flight time of the ultrasonic wave in the main waveguide, t0 represents the flight time of the ultrasonic wave in the auxiliary waveguide, L represents the length of the auxiliary waveguide, H c Indicates the mechanical blind area of the auxiliary waveguide, H d Indicates the height of the float immersed in the fuel, H e Indicates the mechanical blind area of the main waveguide.
[0069] Step S4: performing median calculation on the liquid level heights obtained by multiple measurements to obtain a liquid level height value.
[0070] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1, and thus will not be described in detail.
[0071] Embodiment 3:
[0072] Based on any one of the above-mentioned embodiments 1 to 2, this embodiment proposes an airborne fuel level measurement system for executing the above-mentioned airborne fuel level measurement method; comprising a collection unit, a timing unit, and a calculation unit;
[0073] The acquisition unit is used to set the number of excitation waves according to the acquired temperature value and acquire the ultrasonic pulse signal;
[0074] The timing unit is used to calculate a time point sequence according to the collected ultrasonic pulse signal;
[0075] The calculation unit is used to determine the current liquid level zone according to the time point sequence and the set liquid level partition. If the current liquid level zone is a low liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide.
[0076] This embodiment further provides an electronic device, including a memory and a processor; a computer program is stored in the memory; when the computer program is executed on the processor, the above-mentioned onboard fuel level measurement method is implemented.
[0077] This embodiment further provides a computer-readable storage medium, on which computer instructions are stored; when the computer instructions are executed on the processor, the above-mentioned onboard fuel level measurement method is implemented.
[0078] The other parts of this embodiment are the same as any one of the above-mentioned embodiments 1-2, so they will not be repeated here.
[0079] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.
Claims
1. An onboard fuel level measurement method, characterized in that: The specific steps include: Step S1: according to the acquired temperature value, the number of excitation waves is set to collect and obtain an ultrasonic pulse signal; Step S2: Calculate the time point sequence according to the collected ultrasonic pulse signal; Step S3: Determine the current liquid level zone according to the time point sequence and the set liquid level partition. If the current liquid level zone is a low liquid level zone, calculate the liquid level height according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, calculate the liquid level height value according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide.
2. The method for measuring the fuel level on board an aircraft according to claim 1, characterized in that: The step S1 specifically includes the following steps: Step S11: measuring the fuel temperature value, and setting the number of excitation waves according to the fuel temperature value; Step S12: obtaining an original ultrasonic pulse signal according to the set number of excitation waves; Step S13: Calling the Kalman filter method to filter out the original ultrasonic pulse signal to obtain a filtered ultrasonic pulse signal.
3. The method for measuring the fuel level on board an aircraft according to claim 2, characterized in that: The step S2 specifically includes the following steps: Step S21: performing a power operation on the filtered ultrasonic pulse signal according to the set power operation parameter to obtain a power-operated ultrasonic pulse signal; Step S22: Calculate the echo phase difference according to the ultrasonic wavelength, and call the envelope superposition method to superimpose the ultrasonic pulse signals at different times according to the phase difference to obtain the ultrasonic pulse signal after envelope superposition; Step S23: calling a comparison method to identify the time point of the envelope wave peak of the ultrasonic pulse signal after envelope superposition, and obtaining a time point sequence.
4. The method for measuring the fuel level on board an aircraft according to claim 3, characterized in that: The step S3 specifically comprises the following steps: Step S31: judging the current liquid level zone according to the time point sequence and the set liquid level partition, if the current liquid level zone is a low liquid level zone, calculating the liquid level height according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, calculating the liquid level height according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide; Step S32: Correct the liquid level value according to the set temperature parameter to obtain a corrected liquid level.
5. The method for measuring the fuel level on board an aircraft according to claim 1, characterized in that: Before collecting the ultrasonic pulse signal in step S1, the following steps are included: initializing system parameters; the system parameters include default sound velocity, baud rate, and setting IO ports.
6. The method for measuring the fuel level on board an aircraft according to claim 1, characterized in that: The onboard fuel level measurement method further comprises: Step S4: performing median calculation on the liquid level heights obtained by multiple measurements to obtain a liquid level height value.
7. An onboard fuel level measurement system, used to perform the onboard fuel level measurement method according to claim 1; characterized in that: It includes a collection unit, a timing unit, and a calculation unit; The acquisition unit is used to set the number of excitation waves according to the acquired temperature value and acquire the ultrasonic pulse signal; The timing unit is used to calculate a time point sequence according to the collected ultrasonic pulse signal; The calculation unit is used to determine the current liquid level zone according to the time point sequence and the set liquid level partition. If the current liquid level zone is a low liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the height of the float immersed in the fuel, the speed of sound, and the mechanical blind area of the transducer; if the current liquid level zone is a high liquid level zone, the liquid level height is calculated according to the ultrasonic flight time, the length of the auxiliary waveguide, the mechanical blind area of the auxiliary waveguide, the height of the float immersed in the fuel, and the mechanical blind area of the main waveguide.
8. An electronic device, characterized in that: It comprises a memory and a processor; the memory stores a computer program; when the computer program is executed on the processor, the onboard fuel level measurement method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions; when the computer instructions are executed on the processor, the onboard fuel level measurement method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Precise temperature compensation ultrasonic liquid level detection method and system
CN111351551A
Waveform recognition type ultrasonic liquid level meter and measuring method thereof
CN111473840A
Anti-inclination and anti-fluctuation ultrasonic liquid level sensor system and operation method thereof
CN114046858A
Anti-interference inspection well liquid level monitoring method and system
CN114659589A
Level-measuring device which functions with microwaves
CN1491348A
