Fuel tank fuel volume calculation method based on equivalent virtual sensor, electronic equipment and medium
Through the method based on equivalent virtual sensors, the cost and speed problems caused by the large number of sensors in traditional fuel volume measurement are solved, and accurate, efficient and concise fuel volume solution is achieved.
Patent Information
- Application Number
- CN202411915440.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-18
AI Technical Summary
Traditional fuel volume measurement methods require the arrangement of more than 3 oil volume sensors, resulting in increased costs and reduced resolution speed.
The fuel volume calculation method of the fuel tank based on the equivalent virtual sensor is adopted. By arranging three oil quantity sensors, the base point and vertex coordinates of the equivalent virtual oil quantity sensor are calculated, the oil volume-height database is established, the oil-liquid volume is solved, and the fuel volume is calculated.
It effectively reduces the number of sensor arrangements, reduces the cost, reduces the size of the oil volume-height database, improves the calculation rate, and improves the calculation accuracy and speed of fuel volume when the oil surface angle is not 0.
Smart Images

Figure CN119845370A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aircraft fuel systems, and more particularly to a method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor, an electronic device, and a medium. Background Art
[0002] Fuel volume measurement is a crucial component of large aircraft development. Low cost and high accuracy are crucial performance indicators for fuel volume detection. Traditionally, large fuel tanks often require more than three fuel level sensors to meet the required accuracy. Statistics show that a single wing fuel tank on a medium- to large-sized passenger aircraft, or a wing tank on a large military transport aircraft, can contain over 40 fuel level sensors.
[0003] According to the above-mentioned traditional fuel level sensor layout method, the number of fuel level sensors will increase with the increase of fuel tank volume and spatial complexity. As the number of fuel level sensors increases, two significant problems will arise: first, the cost of fuel level sensor layout and associated cables will increase significantly; second, the calculation process needs to collect numerous fuel level sensor signals simultaneously and calculate the fuel volume monitored by each fuel level sensor separately. The large amount of calculation leads to higher requirements for the calculation hardware and a decrease in the fuel level calculation speed.
[0004] Therefore, it is necessary to develop a method, electronic equipment and medium for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor.
[0005] The information disclosed in the background technology section of the present invention is only intended to deepen the understanding of the general background technology of the present invention, and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to those skilled in the art. Summary of the Invention
[0006] The present invention proposes a fuel tank fuel volume calculation method based on an equivalent virtual sensor, an electronic device, and a medium. The method can effectively reduce the number of fuel quantity sensors arranged in a large-sized fuel tank while meeting the accuracy of the oil volume calculation. Furthermore, a new fuel oil volume calculation method is established based on the equivalent virtual sensor, effectively reducing the size of the fuel tank oil volume-height database and improving the oil volume calculation speed.
[0007] In a first aspect, an embodiment of the present disclosure provides a method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor, comprising:
[0008] Determine the bottom and top surfaces of the aircraft fuel tank where fuel level sensors can be placed, and arrange three fuel level sensors;
[0009] Calculating the coordinates of the bottom point and the top point of the equivalent virtual oil level sensor according to the positions of the three oil level sensors;
[0010] establishing an oil volume-height characteristic database based on the equivalent virtual oil quantity sensor;
[0011] Calculating the oil immersion height of the equivalent virtual oil level sensor based on the oil immersion point coordinates of the three oil level sensors;
[0012] The fuel volume is calculated according to the oil immersion height of the equivalent virtual fuel quantity sensor.
[0013] Preferably, the three oil level sensors are parallel to each other, and the bottom points of the three oil level sensors are all on the bottom surface, and the top points of the three oil level sensors are all on the top surface.
[0014] Preferably, according to the positions of the three oil level sensors, calculating the coordinates of the bottom point and the top point of the equivalent virtual oil level sensor includes:
[0015] The equivalent virtual oil level sensor passes through the centroid of the oil tank and is parallel to the directions of the three oil level sensors, and a line segment of the equivalent virtual sensor is calculated;
[0016] The bottom point of the equivalent virtual oil level sensor is determined to be the intersection point of the equivalent virtual sensor line segment and the bottom surface, and the vertex is determined to be the intersection point of the equivalent virtual sensor line segment and the top surface, and then the coordinates of the bottom point and the vertex of the equivalent virtual oil level sensor are determined.
[0017] Preferably, establishing an oil volume-height characteristic database according to the equivalent virtual oil quantity sensor includes:
[0018] Take N points from the bottom point to the top point of the equivalent virtual oil level sensor according to the distance, the first point is the bottom point, and the Nth point is the top point;
[0019] The distance between the i-th oil immersion point and the bottom point of the equivalent virtual oil quantity sensor is defined as the oil height h of the equivalent virtual oil quantity sensor. i ;
[0020] The oil surface with an oil surface roll angle of 0° is defined as a reference oil surface. The reference oil surface is translated through N points to form N oil surfaces. The oil tank is cut through the N oil surfaces to obtain N oil volume values.
[0021] According to different oil height h i And the corresponding oil volume V i , and obtain a two-dimensional array of oil volume-height, that is, the oil volume-height database of the equivalent virtual sensor.
[0022] Preferably, solving the oil immersion height of the equivalent virtual oil level sensor according to the oil immersion point coordinates of the three oil level sensors includes:
[0023] The oil immersion point coordinates of the three actual oil level sensors are determined, and then the oil immersion point coordinates of the equivalent virtual oil level sensor are determined, and then the oil immersion height of the equivalent virtual oil level sensor is calculated.
[0024] Preferably, the oil immersion height of the equivalent virtual oil level sensor is:
[0025]
[0026] Among them, C=(x2-x1)(y3-y1)-(x3-x1)(y2-y1), D=(x3-x1)(y0-y1)-(x0-x1)(y3-y1), E=(x0-x1)(y2-y1)-(x2-x1)(y0-y1).
[0027] Preferably, calculating the fuel volume according to the oil immersion height of the equivalent virtual fuel quantity sensor includes:
[0028] According to the oil immersion height of the equivalent virtual oil quantity sensor, the oil immersion height is searched in the oil volume-height database. 0j The two adjacent points before and after are obtained, and the corresponding oil volume is obtained;
[0029] The fuel volume is obtained by performing interpolation calculation based on the oil volume.
[0030] Preferably, calculating the fuel volume according to the oil immersion height of the equivalent virtual fuel quantity sensor includes:
[0031] Fitting the oil volume-height database into a multivariate function with height as an independent variable and oil volume as a dependent variable;
[0032] The oil immersion height of the equivalent virtual oil quantity sensor is substituted into the multivariate function to calculate the fuel volume.
[0033] In a second aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0034] a memory storing executable instructions;
[0035] A processor runs the executable instructions in the memory to implement the method for calculating the fuel volume of the fuel tank based on the equivalent virtual sensor.
[0036] In a third aspect, an embodiment of the present disclosure further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor.
[0037] Its beneficial effects are:
[0038] (1) The present invention solves the fuel volume calculation for large-sized fuel tanks and reduces the number of fuel level sensors from more than 3 to 3, effectively reducing the number of sensors to be arranged and lowering the cost of sensor arrangement.
[0039] (2) The present invention constructs a binary database of oil volume and equivalent virtual sensor oil immersion height, which greatly reduces the size of the oil volume-height database in a system with multiple oil sensors, improves the query solution rate, and reduces the hardware requirements of the oil volume-height database.
[0040] (3) The calculation method of the present invention compensates for the change of the oil level angle, improves the accuracy and speed of fuel volume calculation under the working conditions where the oil level angle is not zero, and forms a precise, efficient and simple fuel volume calculation method.
[0041] The methods and apparatus of the present invention have other features and advantages that will be apparent from or will be described in detail in the accompanying drawings and subsequent detailed descriptions incorporated herein, which together serve to explain the specific principles of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.
[0043] Figure 1 A flowchart showing the steps of a method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to an embodiment of the present invention is shown.
[0044] Figure 2 Schematic diagram of the fuel tank shape and fuel level sensor according to embodiment 1 of the present invention.
[0045] Figure 3 This is a schematic diagram of the arrangement of three oil level sensors according to Example 1 of the present invention.
[0046] Figure 4 This is a schematic diagram of the equivalent virtual sensor solution results of Example 1 of the present invention.
[0047] Figure 5 1 is an oil volume-height curve at different oil level angles according to Example 1 of the present invention.
[0048] Figure 6 Schematic diagram of an equivalent virtual sensor under a certain oil level and an oil immersion point where the sensor is actually arranged in Example 1 of the present invention.
[0049] Figure 7 Schematic diagram of the fuel tank shape and fuel level sensor according to embodiment 2 of the present invention.
[0050] Figure 8 This is a schematic diagram of the arrangement of three oil level sensors according to embodiment 2 of the present invention.
[0051] Figure 9 This is a schematic diagram of the equivalent virtual sensor solution results of Example 2 of the present invention.
[0052] Figure 10 2 is an oil volume-height curve diagram at different oil level angles of Example 2 of the present invention.
[0053] Figure 11 Schematic diagram of an equivalent virtual sensor under a certain oil level and an oil immersion point of an actual arrangement of sensors in Example 2 of the present invention. DETAILED DESCRIPTION
[0054] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0055] Figure 1 A flowchart showing the steps of a method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to an embodiment of the present invention is shown.
[0056] like Figure 1 As shown, the present invention provides a method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor, comprising:
[0057] Step 101: Determine the bottom and top surfaces of the aircraft fuel tank where fuel level sensors can be placed, and place three fuel level sensors.
[0058] According to the positions of the three oil level sensors, the coordinates of the bottom point and the top point of the equivalent virtual oil level sensor are calculated;
[0059] Establishing an oil volume-height characteristic database based on an equivalent virtual oil quantity sensor;
[0060] According to the coordinates of the oil immersion points of the three oil level sensors, the oil immersion height of the equivalent virtual oil level sensor is solved;
[0061] Calculate the fuel volume based on the immersion height of the equivalent virtual fuel quantity sensor.
[0062] In one example, the three oil level sensors are parallel to each other, and the bottom points of the three oil level sensors are all on the bottom surface, and the top points of the three oil level sensors are all on the top surface.
[0063] In one example, calculating the coordinates of the bottom point and the top point of the equivalent virtual oil level sensor based on the positions of the three oil level sensors includes:
[0064] The equivalent virtual fuel level sensor passes through the centroid of the fuel tank and is parallel to the directions of the three fuel level sensors. Calculate the line segment of the equivalent virtual sensor.
[0065] The bottom point of the equivalent virtual oil level sensor is determined as the intersection point of the equivalent virtual sensor line segment and the bottom surface, and the vertex is determined as the intersection point of the equivalent virtual sensor line segment and the top surface, and then the coordinates of the bottom point and the vertex of the equivalent virtual oil level sensor are determined.
[0066] In one example, establishing an oil volume-height characteristic database based on an equivalent virtual oil level sensor includes:
[0067] Take N points from the bottom point to the top point of the equivalent virtual oil level sensor according to the distance, the first point is the bottom point, and the Nth point is the top point;
[0068] The distance between the i-th oil immersion point and the bottom point of the equivalent virtual oil quantity sensor is defined as the oil height h of the equivalent virtual oil quantity sensor. i ;
[0069] Define the oil surface with an oil surface roll angle of 0° as the reference oil surface. Translate the reference oil surface through N points to form N oil surfaces. Cut the oil tank through the N oil surfaces to obtain N oil volume values.
[0070] According to different oil height h i And the corresponding oil volume V i , and obtain a two-dimensional array of oil volume-height, that is, the oil volume-height database of the equivalent virtual sensor.
[0071] In one example, based on the oil immersion point coordinates of three oil level sensors, calculating the oil immersion height of the equivalent virtual oil level sensor includes:
[0072] The oil immersion point coordinates of the three actual oil quantity sensors are determined, and then the oil immersion point coordinates of the equivalent virtual oil quantity sensor are determined, and then the oil immersion height of the equivalent virtual oil quantity sensor is calculated.
[0073] In one example, the oil immersion height of the equivalent virtual oil level sensor is:
[0074]
[0075] Among them, C=(x2-x1)(y3-y1)-(x3-x1)(y2-y1), D=(x3-x1)(y0-y1)-(x0-x1)(y3-y1), E=(x0-x1)(y2-y1)-(x2-x1)(y0-y1).
[0076] In one example, calculating the fuel volume based on the immersion height of the equivalent virtual fuel level sensor includes:
[0077] According to the oil immersion height of the equivalent virtual oil volume sensor, the oil immersion height is searched in the oil volume-height database. 0j The two adjacent points before and after are obtained, and the corresponding oil volume is obtained;
[0078] The fuel volume is calculated by interpolating the oil volume.
[0079] In one example, calculating the fuel volume based on the immersion height of the equivalent virtual fuel level sensor includes:
[0080] Fit the oil volume-height database into a multivariate function with height as the independent variable and oil volume as the dependent variable;
[0081] Substitute the oil immersion height of the equivalent virtual fuel quantity sensor into the multivariate function to calculate the fuel volume.
[0082] Specifically, the fuel tank is divided into two sections, the bottom and top surfaces of which can be used to locate the fuel level sensors. The bottom surface is flat, while the top surface can be either flat or curved. Three fuel level sensors are placed at appropriate locations within the aircraft fuel tank. The three fuel level sensors are parallel to each other, with their base points on the tank bottom surface and their apex points on the tank top surface. Their base points and apex points are not aligned, and the line connecting the base points and apex points does not interfere with the internal structure or accessories of the tank. The sensor coordinate system is obtained by rotating the aircraft coordinate system with the aircraft coordinate system as the origin. The Z direction of the sensor coordinate system is parallel to the sensor arrangement direction. Within the sensor coordinate system, the X and Y coordinates of the base points of the three fuel level sensors are (x1, y1), (x2, y2), and (x3, y3).
[0083] Based on the positions of the three fuel level sensors, the coordinates of the base and apex of the equivalent virtual fuel level sensor are calculated. The equivalent virtual fuel level sensor passes through the tank's centroid and is parallel to the orientation of the three fuel level sensors. The equivalent virtual sensor's line segment is calculated. The base of the equivalent virtual sensor is the intersection of the equivalent virtual sensor line segment and the tank's bottom surface, while the vertex of the equivalent virtual sensor is the intersection of the equivalent virtual sensor line segment and the tank's top surface. The coordinates of the base of the equivalent virtual sensor in the sensor coordinate system in the X and Y directions are (x0, y0).
[0084] A high-precision oil volume-height characteristic database is established based on the equivalent virtual oil quantity sensor. N points are selected from the bottom and top of the equivalent virtual oil quantity sensor according to the distance, with the first point being the bottom point and the Nth point being the top point. The N points are selected as evenly distributed between the bottom and top points as much as possible, and the distance between the points is reduced in the range where the cross section of the oil tank varies greatly. Let the distance from the i-th oil immersion point of the equivalent virtual oil quantity sensor to the bottom point along the line segment be defined as the oil height h of the equivalent virtual oil quantity sensor i , in the sensor coordinate system, the coordinates of this point are (x0, y0, z 0i ), i takes values of 1, 2, 3, ..., N; define the oil surface with a pitch angle of 0° and a roll angle of 0° as the reference oil surface, translate the reference oil surface through N points to form N oil surfaces; cut the oil tank through the N oil surfaces to obtain N oil volume values; for example, the oil surface passing through the i-th point is defined as the i-th oil surface, and the volume obtained by cutting is V i ; According to different oil height h i And solve the corresponding oil volume V i , i takes the value of 1, 2, 3, ..., N, and a two-dimensional array of oil volume-height is obtained, that is, the oil volume-height database of the equivalent virtual sensor.
[0085] According to the coordinates of the oil immersion points of the three oil level sensors under different oil levels, the oil immersion height of the real-time equivalent virtual oil level sensor is solved. In the sensor coordinate system, under the jth oil level (j = 1, 2,,, N), the coordinates of the oil immersion points of the three actual oil level sensors are (x1, y1, z 1j )、(x2,y2,z 2j ) and (x3, y3, z 3j ); where z 1j , z 2j and z 3j It changes with the oil level and can be determined according to the feedback signal value of the oil sensor. Assume that in the sensor coordinate system, at the jth oil level, the coordinates of the equivalent virtual sensor oil immersion point are (x0, y0, z 0j ), where z 0j is the equivalent virtual sensor height with solution; because it is at the same oil level as the jth, so (x1, y1, z 1j )、(x2,y2,z 2j )、(x3,y3,z 3j ) and (x0, y0, z 0j ) are in the same plane. According to this characteristic, we can calculate the value of ((x1, y1, z 1j )、(x2,y2,z 2j )、(x3,y3,z 3j ) and (x0, y0) to obtain z 0j :
[0086]
[0087] Among them, C=(x2-x1)(y3-y1)-(x3-x1)(y2-y1), D=(x3-x1)(y0-y1)-(x0-x1)(y3-y1), E=(x0-x1)(y2-y1)-(x2-x1)(y0-y1).
[0088] The fuel volume is directly calculated based on the current equivalent virtual fuel level sensor oil height and the oil level angle change is compensated. 0j , query the oil volume-height database for the sensor oil immersion height containing z 0j The two adjacent points before and after are set as z 0m and z 0m+1 (m=1,2,…,(N-1)), and the corresponding oil volume is V m and V m+1 ; According to the query z 0m and z 0m+1 , V m and V m+1 , use linear interpolation to get the current real-time oil volume V j .
[0089] The oil volume-height database is fitted into a multivariate function V=f(h) with height as the independent variable and oil volume as the dependent variable. The coordinates of the immersion point z of the equivalent virtual oil quantity sensor are 0j Converted to oil immersion height h 0j Then, substitute the fitting function V=f(h) to quickly solve the current oil volume h j , and compensates for the change in oil surface angle.
[0090] The present invention provides a method for calculating the fuel volume of large-scale fuel tanks based on equivalent virtual sensors. For large-scale fuel tank fuel volume calculation, the number of fuel sensors is reduced from more than three to three. The oil immersion height of the fuel sensors at the same oil level is mapped to the equivalent virtual sensor oil immersion height. Based on the equivalent virtual sensors, a binary database of oil volume and oil level is constructed. An algorithm is also developed to compensate for changes in the oil level angle, ultimately rapidly calculating the oil volume based on the actual oil immersion height of the sensors. This method effectively reduces the number of sensors deployed and lowers the cost of sensor deployment. It also significantly reduces the size of the oil volume-height database in a system with multiple fuel sensors, improves query and calculation speed, and reduces the hardware requirements for the oil volume-height database. It also improves the accuracy and speed of fuel volume calculation under conditions where the oil level angle is not zero, resulting in a precise, efficient, and simplified fuel volume calculation method.
[0091] The present invention also provides an electronic device, which includes: a memory storing executable instructions; and a processor running the executable instructions in the memory to implement the above-mentioned method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor.
[0092] The present invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the computer program implements the above-mentioned method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor.
[0093] To facilitate understanding of the solutions and effects of the embodiments of the present invention, four specific application examples are given below. Those skilled in the art should understand that these examples are only for facilitating understanding of the present invention, and any specific details thereof are not intended to limit the present invention in any way.
[0094] Example 1
[0095] Figure 2 Schematic diagram of the fuel tank shape and fuel level sensor according to embodiment 1 of the present invention.
[0096] Figure 3 This is a schematic diagram of the arrangement of three oil level sensors according to Example 1 of the present invention.
[0097] The schematic diagram of the fuel tank shape and the bottom and top surfaces where the fuel level sensor can be arranged is as follows Figure 2 As shown, according to the layout constraints of the bottom and top points of the oil level sensor, the oil level sensor does not interfere with the internal components of the fuel tank and is parallel to each other. Three oil level sensors are arranged, namely sensor 1, sensor 2 and sensor 3. The layout diagram of the three sensors is shown in Figure 3 shown.
[0098] Determine the sensor coordinate system based on the fuel level sensor's orientation. Since the sensor orientation in this example is parallel to the aircraft coordinate system's Z axis, the sensor coordinate system is the aircraft coordinate system. The bottom point coordinates of sensor 1 are (300, 200, 0), sensor 2 are (500, 400, 0), and sensor 3 are (800, 600, 0).
[0099] Figure 4 This is a schematic diagram of the equivalent virtual sensor solution results of Example 1 of the present invention.
[0100] Using 3D software, the coordinates of the tank centroid in the sensor coordinate system are (600, 400, 400). Determine the equivalent virtual sensor straight line segment, such as Figure 4As shown in the figure, the intersection points of the equivalent virtual sensor straight line segment and the bottom and top surfaces of the tank where the oil level sensor can be placed are solved respectively. Their coordinates in the sensor coordinate system are (600, 400, 0) and (600, 400, 900).
[0101] 45 points are selected from the bottom and top points of the equivalent virtual oil quantity sensor according to the distance, with the first point being the bottom point and the 45th point being the top point. A reference oil surface is established, and the reference oil surface is translated through the 45 points to form 45 oil surfaces. The oil tank is cut through the 45 oil surfaces to obtain 45 oil volume values, thus forming an oil volume-height database of the equivalent virtual oil quantity sensor.
[0102] Figure 5 1 is an oil volume-height curve at different oil level angles according to Example 1 of the present invention.
[0103] At the same time, reference oil levels with oil level angles of -6°, -4°, -2°, 2°, and 8° were established respectively. The above steps were repeated to form the oil volume-height database under these oil levels, and the oil volume-height curve (HV curve) was plotted together with the result of the oil level angle of 0°, as shown in the figure. Figure 5 shown.
[0104] Figure 6 Schematic diagram of an equivalent virtual sensor under a certain oil level and an oil immersion point where the sensor is actually arranged in Example 1 of the present invention.
[0105] Calculate the oil level as Figure 6 As shown, under this oil level, the coordinates of the oil immersion point of sensor 1 are (300, 200, 198), the coordinates of the oil immersion point of sensor 2 are (500, 400, 230), and the coordinates of the oil immersion point of sensor 3 are (800, 600, 260). According to the solution formula:
[0106]
[0107] The coordinates of the oil immersion point of the equivalent virtual sensor are (600, 400, 228).
[0108] Based on the real-time oil immersion height value of 228 of the equivalent virtual oil quantity sensor, the two adjacent points before and after the sensor oil immersion height containing 228 are queried in the oil volume-height database. They are 220 and 240, respectively, and the corresponding oil volumes are 211.2L and 230.4L. Through interpolation, the oil volume value is 218.9L.
[0109] Example 2
[0110] Figure 7 Schematic diagram of the fuel tank shape and fuel level sensor according to embodiment 2 of the present invention.
[0111] Figure 8 This is a schematic diagram of the arrangement of three oil level sensors according to embodiment 2 of the present invention.
[0112] The schematic diagram of the fuel tank shape and the bottom and top surfaces where the fuel level sensor can be arranged is as follows Figure 7 As shown, the top surface is a curved surface. According to the arrangement constraints of the bottom and top points of the oil level sensor, the oil level sensor does not interfere with the internal components of the fuel tank and is parallel to each other. Three oil level sensors are arranged, namely sensor 1, sensor 2 and sensor 3. The arrangement diagram of the three sensors is shown in the figure below. Figure 8 shown.
[0113] Based on the orientation of the fuel level sensors, the sensor coordinate system is determined. The bottom coordinates of sensor 1 are (120, 160, 0), sensor 2 are (240, 300, 0), and sensor 3 are (450, 500, 0).
[0114] Figure 9 This is a schematic diagram of the equivalent virtual sensor solution results of Example 2 of the present invention.
[0115] Using 3D software, the coordinates of the tank centroid in the sensor coordinate system are (300, 350, 624). Determine the equivalent virtual sensor straight line segment, such as Figure 9 As shown in the figure, the intersection points of the equivalent virtual sensor straight line segment and the bottom and top surfaces of the tank where the oil level sensor can be placed are solved respectively. Their coordinates in the sensor coordinate system are (300, 350, 0) and (300, 350, 1350) respectively.
[0116] 68 points are selected from the bottom and top points of the equivalent virtual oil quantity sensor according to the distance, with the first point being the bottom point and the 68th point being the top point. A reference oil surface is established, and the reference oil surface is translated through the 68 points to form 68 oil surfaces. The oil tank is cut through the 68 oil surfaces to obtain 68 oil volume values, thus forming an oil volume-height database of the equivalent virtual oil quantity sensor.
[0117] Figure 10 2 is an oil volume-height curve diagram at different oil level angles of Example 2 of the present invention.
[0118] At the same time, reference oil levels with oil level angles of -6°, -4°, -2°, 2°, and 8° were established respectively. The above steps were repeated to form the oil volume-height database under these oil levels, and the oil volume-height curve (HV curve) was plotted together with the result of the oil level angle of 0°, as shown in the figure. Figure 10 As shown, the fitting function between the oil volume V and the oil height h is calculated as:
[0119] V = -8 × 10 -5 h4 +0.0128h 3 -0.6477h 2 +17.665h-27.723.
[0120] Figure 11 Schematic diagram of an equivalent virtual sensor under a certain oil level and an oil immersion point of an actual arrangement of sensors in Example 2 of the present invention.
[0121] Calculate the oil level as Figure 11 As shown, under this oil level, the coordinates of the oil immersion point of sensor 1 are (120, 160, 450), the coordinates of the oil immersion point of sensor 2 are (240, 300, 468), and the coordinates of the oil immersion point of sensor 3 are (450, 500, 496). According to the solution formula:
[0122]
[0123] The coordinates of the oil immersion point of the equivalent virtual sensor are (300, 350, 475).
[0124] According to the real-time Z-axis coordinate of the oil immersion point of the equivalent virtual oil quantity sensor, which is 475, its oil immersion height value is converted to 475. Through the fitting function between the oil volume V and the oil height h, the oil volume value can be directly calculated to be 182.6L.
[0125] Example 3
[0126] The present disclosure provides an electronic device, which includes: a memory storing executable instructions; and a processor running the executable instructions in the memory to implement the above-mentioned method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor.
[0127] An electronic device according to an embodiment of the present disclosure includes a memory and a processor.
[0128] The memory is used to store non-transitory computer-readable instructions. Specifically, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), a hard disk, flash memory, etc.
[0129] The processor may be a central processing unit (CPU) or other form of processing unit having data processing capability and / or instruction execution capability, and may control other components in the electronic device to perform desired functions. In one embodiment of the present disclosure, the processor is used to execute the computer-readable instructions stored in the memory.
[0130] Those skilled in the art should understand that in order to solve the technical problem of how to obtain a good user experience, this embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the scope of protection of this disclosure.
[0131] For detailed description of this embodiment, please refer to the corresponding description in the aforementioned embodiments, which will not be repeated here.
[0132] Example 4
[0133] An embodiment of the present disclosure provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor is implemented.
[0134] According to an embodiment of the present disclosure, a computer-readable storage medium stores non-transitory computer-readable instructions, which, when executed by a processor, execute all or part of the steps of the aforementioned methods of the embodiments of the present disclosure.
[0135] The above-mentioned computer-readable storage media include, but are not limited to, optical storage media (e.g., CD-ROMs and DVDs), magneto-optical storage media (e.g., MOs), magnetic storage media (e.g., magnetic tapes or mobile hard disks), media with built-in rewritable non-volatile memory (e.g., memory cards), and media with built-in ROM (e.g., ROM cartridges).
[0136] Those skilled in the art should understand that the above description of the embodiments of the present invention is only for the purpose of illustrative purposes only to illustrate the beneficial effects of the embodiments of the present invention, and is not intended to limit the embodiments of the present invention to any given examples.
[0137] While various embodiments of the present invention have been described above, the above description is intended to be illustrative, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor, characterized in that: include: Determine the bottom and top surfaces of the aircraft fuel tank where fuel level sensors can be arranged, and arrange three fuel level sensors; According to the positions of the three oil level sensors, the coordinates of the bottom point and the top point of the equivalent virtual oil level sensor are calculated; Establishing an oil volume-height characteristic database according to the equivalent virtual oil quantity sensor; According to the oil immersion point coordinates of the three oil level sensors, solving the oil immersion height of the equivalent virtual oil level sensor; The fuel volume is calculated according to the oil immersion height of the equivalent virtual fuel quantity sensor.
2. The method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to claim 1, wherein: The three oil level sensors are parallel to each other, and the bottom points of the three oil level sensors are all on the bottom surface, and the top points are all on the top surface.
3. The method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to claim 1, wherein: According to the positions of the three oil level sensors, calculating the coordinates of the bottom point and the top point of the equivalent virtual oil level sensor includes: The equivalent virtual oil level sensor passes through the centroid of the oil tank and is parallel to the directions of the three oil level sensors, and a line segment of the equivalent virtual sensor is calculated; The bottom point of the equivalent virtual oil level sensor is determined as the intersection point of the equivalent virtual sensor line segment and the bottom surface, and the vertex is determined as the intersection point of the equivalent virtual sensor line segment and the top surface, and then the coordinates of the bottom point and the vertex of the equivalent virtual oil level sensor are determined.
4. The method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to claim 1, wherein: Establishing an oil volume-height characteristic database according to the equivalent virtual oil quantity sensor includes: Select N points from the bottom point and top point of the equivalent virtual oil level sensor according to the distance, the first point is the bottom point, and the Nth point is the top point; The distance from the i-th oil immersion point of the equivalent virtual oil level sensor to the bottom point is defined as the oil height h of the equivalent virtual oil level sensor. i ; The oil surface with an oil surface rolling angle of 0° is defined as a reference oil surface, and the reference oil surface is translated to pass through N points to form N oil surfaces, and the oil tank is cut through the N oil surfaces to obtain N oil volume values; According to different oil height h i And the corresponding oil volume V i , and obtain a two-dimensional array of oil volume-height, that is, the oil volume-height database of the equivalent virtual sensor.
5. The method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to claim 1, wherein: According to the oil immersion point coordinates of the three oil level sensors, solving the oil immersion height of the equivalent virtual oil level sensor includes: The oil immersion point coordinates of the three actual oil level sensors are determined, and then the oil immersion point coordinates of the equivalent virtual oil level sensor are determined, and then the oil immersion height of the equivalent virtual oil level sensor is calculated.
6. The method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to claim 5, wherein: The oil immersion height of the equivalent virtual oil level sensor is: Among them, C=(x2-x1)(y3-y1)-(x3-x1)(y2-y1), D=(x3-x1)(y0-y1)-(x0-x1)(y3-y1), E=(x0-x1)(y2-y1)-(x2-x1)(y0-y1).
7. The method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to claim 1, wherein: Calculating the fuel volume according to the oil immersion height of the equivalent virtual fuel quantity sensor includes: According to the oil immersion height of the equivalent virtual oil volume sensor, the oil immersion height is searched in the oil volume-height database to include z 0j The two adjacent points before and after are obtained, and then the corresponding oil volume is obtained; The fuel volume is obtained by interpolating the volume of the oil.
8. The method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to claim 1, wherein: Calculating the fuel volume according to the oil immersion height of the equivalent virtual fuel quantity sensor includes: Fitting the oil volume-height database into a multivariate function with height as an independent variable and oil volume as a dependent variable; The oil immersion height of the equivalent virtual oil quantity sensor is substituted into the multivariate function to calculate the fuel volume.
9. An electronic device, characterized in that: The electronic device comprises: A memory storing executable instructions; A processor, wherein the processor runs the executable instructions in the memory to implement the method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for calculating the fuel volume of a fuel tank based on an equivalent virtual sensor according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Aviation fuel oil supervision method and system based on multi-information fusion
CN121516254A