Fuel quantity determination method, device, electronic device and storage medium
By comparing the measured attitude information of the vehicle and the preset attitude information, and adjusting the measured fuel quantity, the fuel quantity detection error problem under the influence of the vehicle attitude is solved, and the accurate determination of the fuel quantity is achieved.
Patent Information
- Application Number
- CN202210774344.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-01
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-07-01
AI Technical Summary
In the prior art, the influence of vehicle attitude leads to an error between the fuel quantity detected by the oil level measuring device and the actual fuel quantity, making it difficult to accurately determine the fuel quantity of the vehicle.
By obtaining the measured attitude information of the vehicle, measuring the current attitude of the vehicle using the attitude measuring device, and comparing it with the preset attitude information, determining whether it is necessary to adjust the measured fuel quantity, and the fuel quantity is calculated and corrected based on the measured attitude information and fuel quantity.
Accurately determine the corrected fuel volume of the vehicle, reduces the fuel volume detection error caused by changes in the vehicle attitude, and improves the accuracy of fuel volume determination.
Smart Images

Figure CN115235575B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a method, device, electronic device, and storage medium for determining a fuel quantity. Background Art
[0002] With the development of science and technology, vehicles are becoming more and more popular. During the driving process, it is necessary to determine the current fuel level of the vehicle in order to calculate parameters such as the driving range.
[0003] In the related art, a vehicle detects the current amount of fuel through an oil level measuring device.
[0004] However, due to the influence of the vehicle's posture, there may be an error between the fuel amount detected by the fuel level measuring device and the actual fuel amount. That is, the above method is difficult to accurately determine the fuel amount of the vehicle. Summary of the Invention
[0005] The present application provides a fuel quantity determination method, device, electronic device and storage medium for accurately determining the fuel quantity of a vehicle.
[0006] In a first aspect, an embodiment of the present application provides a method for determining a fuel quantity, the method comprising:
[0007] After obtaining the measured posture information of the vehicle, the measured posture information is compared with the preset posture information; wherein the measured posture information is information representing the current posture of the vehicle measured by the posture measurement device of the vehicle;
[0008] Determining whether it is necessary to adjust the actually measured fuel amount of the vehicle based on the comparison result; wherein the actually measured fuel amount is the current fuel amount of the vehicle measured by an oil level measuring device of the vehicle;
[0009] If so, a corrected fuel amount of the vehicle is determined based on the measured posture information and the measured fuel amount.
[0010] The above scheme can determine whether the vehicle's current posture has a serious impact on the measured fuel quantity by comparing the measured posture information with the preset posture information; therefore, based on the comparison result, it can be determined whether the vehicle's measured fuel quantity needs to be adjusted; because the vehicle's current posture will affect the measured fuel quantity, when it is determined that the vehicle's measured fuel quantity needs to be adjusted, the measured fuel quantity is adjusted according to the measured posture information, so that the vehicle's corrected fuel quantity (the fuel quantity after the measured fuel quantity is corrected) can be accurately determined.
[0011] In some optional implementations, the measured attitude information includes a measured pitch angle and a measured roll angle; the preset attitude information includes a preset pitch angle range and a preset roll angle range; and comparing the measured attitude information with the preset attitude information includes:
[0012] determining whether the measured pitch angle is within the preset pitch angle range, and determining whether the measured roll angle is within the preset roll angle range;
[0013] Determining whether the measured fuel quantity of the vehicle needs to be adjusted based on the comparison result includes:
[0014] If the measured pitch angle is within the preset pitch angle range and the measured roll angle is within the preset roll angle range, it is determined that the measured fuel amount of the vehicle does not need to be adjusted; otherwise, it is determined that the measured fuel amount of the vehicle needs to be adjusted.
[0015] In the above scheme, if the measured pitch angle is within the preset pitch range and the measured roll angle is within the preset roll range, it indicates that the vehicle's vertical fluctuation and axial swing have a minor impact on the fuel level, and no adjustment is required for the vehicle's measured fuel level. If the measured pitch angle is not within the preset pitch range and / or the measured roll angle is not within the preset roll range, it indicates that the vehicle's vertical fluctuation and axial swing have a significant impact on the fuel level, and adjustment is required. This allows accurate determination of whether the vehicle's measured fuel level needs to be adjusted in different scenarios.
[0016] In some optional implementations, the measured attitude information includes a measured pitch angle and a measured roll angle; and determining a corrected fuel amount of the vehicle based on the measured attitude information and the measured fuel amount includes:
[0017] determining a first adjustment amount based on the measured pitch angle and the measured fuel amount; and determining a second adjustment amount based on the measured roll angle and the measured fuel amount;
[0018] The sum of the measured fuel quantity, the first adjustment quantity, and the second adjustment quantity is determined as the corrected fuel quantity.
[0019] The above scheme determines the first adjustment amount of the vehicle under the influence of vertical fluctuation based on the measured pitch angle and the measured fuel quantity; determines the second adjustment amount of the vehicle under the influence of axial swing based on the measured roll angle and the measured fuel quantity; and after determining the above two adjustment amounts, the sum of the measured fuel quantity, the first adjustment amount and the second adjustment amount is determined as the corrected fuel quantity, thereby completing the adjustment of the measured fuel quantity.
[0020] In some optional implementations, determining the first adjustment amount based on the measured pitch angle and the measured fuel amount includes:
[0021] determining the first adjustment amount by multiplying the measured fuel amount, the pitch adjustment amount corresponding to the measured pitch angle, and a first preset coefficient;
[0022] Determining a second adjustment amount based on the measured roll angle and the measured fuel amount includes:
[0023] The second adjustment amount is determined by multiplying the measured fuel amount, the roll adjustment amount corresponding to the measured roll angle, and a second preset coefficient.
[0024] In some optional implementations, determining a corrected fuel amount of the vehicle based on the measured posture information and the measured fuel amount includes:
[0025] According to a preset correspondence, the measured posture information of the vehicle and the corrected fuel amount corresponding to the measured fuel amount are determined; wherein the preset correspondence includes a preset correspondence between the measured posture information, the measured fuel amount and the corrected fuel amount.
[0026] The above scheme accurately determines the vehicle's measured posture information and the corrected fuel amount corresponding to the measured fuel amount by presetting the correspondence between the measured posture information, the measured fuel amount and the corrected fuel amount based on the preset correspondence.
[0027] In a second aspect, an embodiment of the present application provides a fuel quantity determination device, comprising:
[0028] a comparison module, configured to, after obtaining measured posture information of the vehicle, compare the measured posture information with preset posture information; wherein the measured posture information is information representing the current posture of the vehicle measured by a posture measurement device of the vehicle;
[0029] a fuel quantity adjustment module, configured to determine whether it is necessary to adjust the actually measured fuel quantity of the vehicle based on the comparison result; wherein the actually measured fuel quantity is the current fuel quantity of the vehicle measured by an oil level measuring device of the vehicle;
[0030] The fuel quantity adjustment module is further configured to determine a corrected fuel quantity of the vehicle based on the measured posture information and the measured fuel quantity if it is determined that the measured fuel quantity of the vehicle needs to be adjusted.
[0031] In some optional implementations, the measured attitude information includes a measured pitch angle and a measured roll angle; the preset attitude information includes a preset pitch angle range and a preset roll angle range; and the comparison module is specifically configured to:
[0032] determining whether the measured pitch angle is within the preset pitch angle range, and determining whether the measured roll angle is within the preset roll angle range;
[0033] The fuel quantity adjustment module is specifically used for:
[0034] If the measured pitch angle is within the preset pitch angle range and the measured roll angle is within the preset roll angle range, it is determined that the measured fuel amount of the vehicle does not need to be adjusted; otherwise, it is determined that the measured fuel amount of the vehicle needs to be adjusted.
[0035] In some optional implementations, the measured attitude information includes a measured pitch angle and a measured roll angle; and the fuel quantity adjustment module is specifically configured to:
[0036] determining a first adjustment amount based on the measured pitch angle and the measured fuel amount; and determining a second adjustment amount based on the measured roll angle and the measured fuel amount;
[0037] The sum of the measured fuel quantity, the first adjustment quantity, and the second adjustment quantity is determined as the corrected fuel quantity.
[0038] In some optional implementations, the fuel quantity adjustment module is specifically configured to:
[0039] The product of the measured fuel amount, the pitch adjustment amount corresponding to the measured pitch angle, and a first preset coefficient is determined as the first adjustment amount; and the product of the measured fuel amount, the roll adjustment amount corresponding to the measured roll angle, and a second preset coefficient is determined as the second adjustment amount.
[0040] In some optional implementations, the fuel quantity adjustment module is specifically configured to:
[0041] According to a preset correspondence, the measured posture information of the vehicle and the corrected fuel amount corresponding to the measured fuel amount are determined; wherein the preset correspondence includes a preset correspondence between the measured posture information, the measured fuel amount and the corrected fuel amount.
[0042] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
[0043] The memory stores a program code, and when the program code is executed by the processor, the processor executes the fuel quantity determination method as described in any one of the first aspects.
[0044] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method for determining the fuel quantity as described in any one of the first aspects is implemented.
[0045] In addition, the technical effects brought about by any implementation method in the second to fourth aspects can refer to the technical effects brought about by different implementation methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0047] Figure 1 An architectural diagram of a vehicle provided in an embodiment of the present application;
[0048] Figure 2 A schematic flow chart of a first fuel quantity determination method provided in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of the pitch angle provided in an embodiment of the present application;
[0050] Figure 4 A schematic diagram of the roll angle provided in an embodiment of the present application;
[0051] Figure 5 A schematic flow chart of a second method for determining fuel quantity provided in an embodiment of the present application;
[0052] Figure 6 A schematic flow chart of a third method for determining fuel quantity provided in an embodiment of the present application;
[0053] Figure 7 A schematic flow chart of a fourth method for determining fuel quantity provided in an embodiment of the present application;
[0054] Figure 8 A schematic diagram of the structure of a fuel quantity determination device provided in an embodiment of the present application;
[0055] Figure 9 A schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] To make the objectives, technical solutions, and advantages of this application more clear, this application will be further described in detail below with reference to the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0057] In the description of this application, unless otherwise specified or limited, the term "connection" should be understood in a broad sense. For example, it can mean direct connection, indirect connection through an intermediate medium, or internal communication between two devices. Those skilled in the art will understand the specific meaning of the above terms in this application based on the specific circumstances.
[0058] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature specified as "first" or "second" may explicitly or implicitly include one or more of such features. Throughout this application, unless otherwise specified, "plurality" means two or more.
[0059] During vehicle driving, it is necessary to determine the current fuel level of the vehicle in order to calculate parameters such as driving range. In some embodiments, the vehicle detects the current fuel level through an oil level measuring device.
[0060] However, due to the influence of vehicle posture, such as when the vehicle is driving on an uneven road or a slope, the oil level measuring device may be tilted at an angle, resulting in an error between the detected fuel amount and the actual fuel amount. That is, the above method is difficult to accurately determine the vehicle's fuel amount.
[0061] Based on this, an embodiment of the present application provides a fuel quantity determination method, device, electronic device and storage medium, the method comprising: after obtaining the measured posture information of the vehicle, comparing the measured posture information with the preset posture information; wherein, the measured posture information is information characterizing the current posture of the vehicle measured by the posture measurement device of the vehicle; based on the comparison result, determining whether it is necessary to adjust the measured fuel quantity of the vehicle; wherein, the measured fuel quantity is the current fuel quantity of the vehicle measured by the oil level measurement device of the vehicle; if so, determining the corrected fuel quantity of the vehicle based on the measured posture information and the measured fuel quantity.
[0062] The above scheme can determine whether the vehicle's current posture has a serious impact on the measured fuel quantity by comparing the measured posture information with the preset posture information; therefore, based on the comparison result, it can be determined whether the vehicle's measured fuel quantity needs to be adjusted; because the vehicle's current posture will affect the measured fuel quantity, when it is determined that the vehicle's measured fuel quantity needs to be adjusted, the measured fuel quantity is adjusted according to the measured posture information, so that the vehicle's corrected fuel quantity (the fuel quantity after the measured fuel quantity is corrected) can be accurately determined.
[0063] See Figure 1 The diagram is a structural diagram of a vehicle provided in an embodiment of the present application, see Figure 1 As shown, the vehicle 100 includes: a posture measurement device 101, an oil level measurement device 102, an electronic device 103 and a display device 104; these devices interact with each other via a controller area network (CAN) signal;
[0064] The posture measurement device 101 is used to measure the measured posture information representing the current posture of the vehicle and send the measured posture information to the electronic device 103;
[0065] The fuel level measuring device 102 is provided with at least one sensor for measuring the current fuel level of the vehicle and sending the current fuel level to the electronic device 103;
[0066] After obtaining the measured posture information of the vehicle, the electronic device 103 compares the measured posture information with the preset posture information; based on the comparison result, determines whether the measured fuel quantity of the vehicle needs to be adjusted; if so, determines the corrected fuel quantity of the vehicle based on the measured posture information and the measured fuel quantity;
[0067] In some optional implementations, the electronic device is further configured to send the corrected fuel amount to the display device 104 ; and / or determine parameters such as the driving range based on the corrected fuel amount, and send these parameters to the display device 104 .
[0068] The above-mentioned electronic devices are devices for processing fuel quantity in the vehicle, such as the Powertrain Domain Control System (PDCS); the posture measurement device can measure information representing the current posture of the vehicle, such as the Inertial Measurement Unit (IMU); the oil level measurement device can measure the current fuel quantity of the vehicle, such as the Engine Management System (EMS); the display device can be an instrument, etc.
[0069] The vehicle provided in the embodiment of the present application, in addition to Figure 1 The posture measurement device, oil level measurement device, electronic equipment, and display device shown in the figure also include other components (such as a cockpit domain controller connected to the electronic equipment, etc.), which will not be described in detail here. In some specific embodiments, the above-mentioned vehicle is an extended-range vehicle. In addition, the above-mentioned architecture diagram is only an exemplary illustration, and the embodiments of this application do not specifically limit the vehicle.
[0070] The following will be combined with the accompanying drawings and specific embodiments to explain in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0071] The embodiment of the present application provides a first method for determining the fuel quantity, which is applied to the above electronic device, such as Figure 2 As shown, the method may include:
[0072] Step S201: After obtaining the measured posture information of the vehicle, the measured posture information is compared with the preset posture information.
[0073] The measured posture information is information representing the current posture of the vehicle measured by a posture measurement device of the vehicle.
[0074] In this embodiment, the posture measurement device can measure the measured posture information representing the current posture of the vehicle in real time and send the measured posture information to the electronic device;
[0075] The fuel level measuring device can measure the current fuel level of the vehicle in real time and send the current fuel level to the electronic device;
[0076] Electronic equipment needs to accurately determine the vehicle's fuel level, and the vehicle's current posture will affect the measured fuel level. Therefore, after receiving the measured posture information, the electronic equipment first compares the measured posture information with the preset posture information to determine whether the vehicle's current posture has a serious impact on the measured fuel level, and then determines whether the measured fuel level needs to be corrected.
[0077] Step S202: Determine whether the actually measured fuel quantity of the vehicle needs to be adjusted based on the comparison result.
[0078] The measured fuel quantity is the current fuel quantity of the vehicle measured by an oil level measuring device of the vehicle.
[0079] As described above, by comparing the measured posture information with the preset posture information, it is possible to determine whether the vehicle's current posture significantly affects the measured fuel level. If the impact is not significant, the measured fuel level does not need to be adjusted. If the impact is significant, the measured fuel level does need to be adjusted. Based on this, the electronic device compares the measured posture information with the preset posture information and determines whether the vehicle's measured fuel level needs to be adjusted based on the comparison result.
[0080] Step S203: If yes, determining the corrected fuel quantity of the vehicle according to the measured posture information and the measured fuel quantity.
[0081] In this embodiment, if the current posture of the vehicle seriously affects the measured fuel quantity, the measured fuel quantity needs to be adjusted. Based on this, the electronic device adjusts the measured fuel quantity according to the measured posture information to determine the corrected fuel quantity of the vehicle.
[0082] The above scheme can determine whether the vehicle's current posture has a serious impact on the measured fuel quantity by comparing the measured posture information with the preset posture information; therefore, based on the comparison result, it can be determined whether the vehicle's measured fuel quantity needs to be adjusted; because the vehicle's current posture will affect the measured fuel quantity, when it is determined that the vehicle's measured fuel quantity needs to be adjusted, the measured fuel quantity is adjusted according to the measured posture information, so that the vehicle's corrected fuel quantity (the fuel quantity after the measured fuel quantity is corrected) can be accurately determined.
[0083] In some optional embodiments, the oil level measuring device 102 is provided with a pitch angle sensor for measuring the pitch angle of the vehicle, and is also provided with a roll angle sensor for measuring the roll angle of the vehicle; the above-mentioned measured posture information includes the measured pitch angle and the measured roll angle; the above-mentioned preset posture information includes a preset pitch angle range and a preset roll angle range.
[0084] See Figure 3 As shown, the pitch angle refers to the angle (α) between the X-axis of the vehicle coordinate system and the horizontal line;
[0085] See Figure 4 As shown in FIG, the roll angle refers to the angle (β) between the Z axis of the vehicle coordinate system and the vertical line.
[0086] Correspondingly, the embodiment of the present application provides a second method for determining the fuel quantity, such as Figure 5 As shown, the method may include:
[0087] Step S501: After obtaining the measured posture information of the vehicle, determining whether the measured pitch angle is within the preset pitch angle range, and determining whether the measured roll angle is within the preset roll angle range.
[0088] In this embodiment, the above-mentioned preset pitch angle range is the range of the vehicle's pitch angle when it does not affect the fuel quantity or has a small impact on the fuel quantity; by determining whether the measured pitch angle is within the preset pitch angle range, it can be determined whether the vehicle's vertical fluctuation will have a significant impact on the fuel quantity.
[0089] The above-mentioned preset roll angle range is the range of the vehicle's roll angle when it does not affect the fuel quantity or has a small impact on the fuel quantity; by determining whether the measured roll angle is within the preset roll angle range, it can be determined whether the axial swing of the vehicle will have a significant impact on the fuel quantity.
[0090] Based on this, after obtaining the measured posture information of the vehicle, the electronic device needs to determine whether the measured pitch angle is within the preset pitch angle range and whether the measured roll angle is within the preset roll angle range.
[0091] Step S502: If the measured pitch angle is within the preset pitch angle range and the measured roll angle is within the preset roll angle range, it is determined that the measured fuel quantity of the vehicle does not need to be adjusted; otherwise, it is determined that the measured fuel quantity of the vehicle needs to be adjusted.
[0092] For example, if the measured pitch angle is not within the preset pitch angle range, it indicates that the vehicle fluctuates in the vertical direction, which has a significant impact on the fuel level, and the measured fuel level of the vehicle needs to be adjusted;
[0093] If the measured roll angle is not within the preset roll angle range, it means that the vehicle is swinging in the axial direction, which has a significant impact on the fuel level. The measured fuel level of the vehicle needs to be adjusted.
[0094] If the measured pitch angle is not within the preset pitch angle range, and the measured roll angle is not within the preset roll angle range, it means that the vehicle's horizontal and vertical fluctuations have a significant impact on the fuel level, and the measured fuel level of the vehicle also needs to be adjusted;
[0095] If the measured pitch angle is within the preset pitch angle range, and the measured roll angle is within the preset roll angle range, it means that the vehicle's horizontal and vertical fluctuations have little effect on the fuel level, and there is no need to adjust the vehicle's measured fuel level.
[0096] Step S503: If it is determined that the measured fuel quantity of the vehicle needs to be adjusted, a corrected fuel quantity of the vehicle is determined based on the measured posture information and the measured fuel quantity.
[0097] The specific implementation of step S503 can refer to other embodiments and will not be repeated here.
[0098] In the above scheme, if the measured pitch angle is within the preset pitch range and the measured roll angle is within the preset roll range, it indicates that the vehicle's vertical fluctuation and axial swing have a minor impact on the fuel level, and no adjustment is required for the vehicle's measured fuel level. If the measured pitch angle is not within the preset pitch range and / or the measured roll angle is not within the preset roll range, it indicates that the vehicle's vertical fluctuation and axial swing have a significant impact on the fuel level, and adjustment is required. This allows accurate determination of whether the vehicle's measured fuel level needs to be adjusted in different scenarios.
[0099] The present application embodiment provides a third method for determining the fuel quantity, such as Figure 6 As shown, the method may include:
[0100] Step S601: After obtaining the measured posture information of the vehicle, the measured posture information is compared with the preset posture information.
[0101] Step S602: Determine whether the measured fuel quantity of the vehicle needs to be adjusted based on the comparison result.
[0102] The specific implementation of steps S601 to S602 may refer to other embodiments and will not be described in detail here.
[0103] Step S603: If it is determined that the measured fuel amount of the vehicle needs to be adjusted, a first adjustment amount is determined based on the measured pitch angle and the measured fuel amount; and a second adjustment amount is determined based on the measured roll angle and the measured fuel amount.
[0104] In this embodiment, the measured pitch angle represents the degree of influence of the vehicle's vertical fluctuation on the fuel level. Based on this, a first adjustment amount under the influence of the vehicle's vertical fluctuation is determined according to the measured pitch angle and the measured fuel level.
[0105] The measured roll angle represents the degree of influence of the vehicle's axial swing on the fuel quantity. Based on this, a second adjustment amount under the influence of the vehicle's axial swing is determined according to the measured roll angle and the measured fuel quantity.
[0106] Step S604: Determine the sum of the measured fuel quantity, the first adjustment quantity, and the second adjustment quantity as the corrected fuel quantity.
[0107] In practice, after determining the two adjustment amounts, the sum of the measured fuel amount, the first adjustment amount, and the second adjustment amount is determined as the corrected fuel amount, thereby completing the adjustment of the measured fuel amount.
[0108] Exemplarily, the corrected fuel quantity V=v+Δ1+Δ2; wherein v is the measured fuel quantity, Δ1 is the first adjustment quantity, and Δ2 is the second adjustment quantity.
[0109] The above scheme determines the first adjustment amount of the vehicle under the influence of vertical fluctuation based on the measured pitch angle and the measured fuel quantity; determines the second adjustment amount of the vehicle under the influence of axial swing based on the measured roll angle and the measured fuel quantity; and after determining the above two adjustment amounts, the sum of the measured fuel quantity, the first adjustment amount and the second adjustment amount is determined as the corrected fuel quantity, thereby completing the adjustment of the measured fuel quantity.
[0110] In some optional implementations, the above step S603 may be implemented as follows:
[0111] The product of the measured fuel amount, the pitch adjustment amount corresponding to the measured pitch angle, and a first preset coefficient is determined as the first adjustment amount; and the product of the measured fuel amount, the roll adjustment amount corresponding to the measured roll angle, and a second preset coefficient is determined as the second adjustment amount.
[0112] In this embodiment, the first adjustment amount Δ1=x1*v*A, wherein x1 is the first preset coefficient, v is the measured fuel amount, and A is the pitch adjustment amount.
[0113] The second adjustment amount Δ2 = x2*v*B, where x2 is the second preset coefficient, v is the measured fuel amount, and B is the roll adjustment amount.
[0114] Exemplarily, the pitch adjustment amount A=tanαcot[(π-α) / 2]; wherein α is the measured pitch angle;
[0115] Roll adjustment B = tanβcot[(π-β) / 2]; where β is the measured roll angle.
[0116] Corrected fuel quantity V = v + x1*v*tanαcot[(π-α) / 2] + x2*v*tanβcot[(π-β) / 2].
[0117] The present application embodiment provides a fourth method for determining the fuel quantity, such as Figure 7 As shown, the method may include:
[0118] Step S701: After obtaining the measured posture information of the vehicle, the measured posture information is compared with the preset posture information.
[0119] Step S702: Determine whether the measured fuel quantity of the vehicle needs to be adjusted based on the comparison result.
[0120] The specific implementation of steps S701 to S702 may refer to other embodiments and will not be described in detail here.
[0121] Step S703: If it is determined that the measured fuel quantity of the vehicle needs to be adjusted, the measured posture information of the vehicle and the corrected fuel quantity corresponding to the measured fuel quantity are determined according to a preset corresponding relationship.
[0122] The preset corresponding relationship includes the corresponding relationship between the preset measured posture information, the measured fuel quantity and the corrected fuel quantity.
[0123] In this embodiment, a correspondence between the measured posture information, the measured fuel quantity and the corrected fuel quantity is preset. According to the preset correspondence, the measured posture information of the vehicle and the corrected fuel quantity corresponding to the measured fuel quantity can be found.
[0124] The preset corresponding relationship can be established by testing the test vehicle and based on the measured posture information, measured fuel quantity and corrected fuel quantity of the test vehicle at the same time during the test process.
[0125] The above scheme accurately determines the vehicle's measured posture information and the corrected fuel amount corresponding to the measured fuel amount by presetting the correspondence between the measured posture information, the measured fuel amount and the corrected fuel amount based on the preset correspondence.
[0126] like Figure 8 As shown, based on the same inventive concept, an embodiment of the present application provides a fuel quantity determination device 800, comprising:
[0127] Comparison module 801 is configured to compare the measured posture information of the vehicle with preset posture information after obtaining the measured posture information of the vehicle; wherein the measured posture information is information representing the current posture of the vehicle measured by a posture measurement device of the vehicle;
[0128] A fuel quantity adjustment module 802 is configured to determine whether to adjust the actual fuel quantity of the vehicle based on the comparison result; wherein the actual fuel quantity is the current fuel quantity of the vehicle measured by the oil level measuring device of the vehicle;
[0129] The fuel quantity adjustment module 802 is further configured to determine a corrected fuel quantity of the vehicle based on the measured posture information and the measured fuel quantity if it is determined that the measured fuel quantity of the vehicle needs to be adjusted.
[0130] In some optional implementations, the measured attitude information includes a measured pitch angle and a measured roll angle; the preset attitude information includes a preset pitch angle range and a preset roll angle range; and the comparison module 801 is specifically configured to:
[0131] determining whether the measured pitch angle is within the preset pitch angle range, and determining whether the measured roll angle is within the preset roll angle range;
[0132] The fuel quantity adjustment module 802 is specifically configured to:
[0133] If the measured pitch angle is within the preset pitch angle range and the measured roll angle is within the preset roll angle range, it is determined that the measured fuel amount of the vehicle does not need to be adjusted; otherwise, it is determined that the measured fuel amount of the vehicle needs to be adjusted.
[0134] In some optional implementations, the measured attitude information includes a measured pitch angle and a measured roll angle; and the fuel quantity adjustment module 802 is specifically configured to:
[0135] determining a first adjustment amount based on the measured pitch angle and the measured fuel amount; and determining a second adjustment amount based on the measured roll angle and the measured fuel amount;
[0136] The sum of the measured fuel quantity, the first adjustment quantity, and the second adjustment quantity is determined as the corrected fuel quantity.
[0137] In some optional implementations, the fuel quantity adjustment module 802 is specifically configured to:
[0138] The product of the measured fuel amount, the pitch adjustment amount corresponding to the measured pitch angle, and a first preset coefficient is determined as the first adjustment amount; and the product of the measured fuel amount, the roll adjustment amount corresponding to the measured roll angle, and a second preset coefficient is determined as the second adjustment amount.
[0139] In some optional implementations, the fuel quantity adjustment module 802 is specifically configured to:
[0140] According to a preset correspondence, the measured posture information of the vehicle and the corrected fuel amount corresponding to the measured fuel amount are determined; wherein the preset correspondence includes a preset correspondence between the measured posture information, the measured fuel amount and the corrected fuel amount.
[0141] Since the device is the device in the method in the embodiment of the present application, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0142] like Figure 9 As shown, based on the same inventive concept, an embodiment of the present application provides an electronic device 900, including: a processor 901 and a memory 902;
[0143] Memory 902 may be a volatile memory, such as random-access memory (RAM); a non-volatile memory, such as read-only memory, flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. Memory 902 may be a combination of the aforementioned memories.
[0144] The processor 901 may include one or more central processing units (CPUs), graphics processing units (GPUs) or digital processing units, etc.
[0145] The specific connection medium between the memory 902 and the processor 901 is not limited in the embodiment of the present application. Figure 9 The memory 902 and the processor 901 are connected via a bus 903. Figure 9 Indicated by bold lines, the bus 903 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0146] The memory 902 stores program code. When the program code is executed by the processor 901, the processor 901 performs the following process:
[0147] After obtaining the measured posture information of the vehicle, the measured posture information is compared with the preset posture information; wherein the measured posture information is information representing the current posture of the vehicle measured by the posture measurement device of the vehicle;
[0148] Determining whether it is necessary to adjust the actually measured fuel amount of the vehicle based on the comparison result; wherein the actually measured fuel amount is the current fuel amount of the vehicle measured by an oil level measuring device of the vehicle;
[0149] If so, a corrected fuel amount of the vehicle is determined based on the measured posture information and the measured fuel amount.
[0150] In some optional implementations, the measured attitude information includes a measured pitch angle and a measured roll angle; the preset attitude information includes a preset pitch angle range and a preset roll angle range; the processor 901 specifically executes:
[0151] determining whether the measured pitch angle is within the preset pitch angle range, and determining whether the measured roll angle is within the preset roll angle range;
[0152] If the measured pitch angle is within the preset pitch angle range and the measured roll angle is within the preset roll angle range, it is determined that the measured fuel amount of the vehicle does not need to be adjusted; otherwise, it is determined that the measured fuel amount of the vehicle needs to be adjusted.
[0153] In some optional implementations, the measured attitude information includes a measured pitch angle and a measured roll angle; the processor 901 specifically performs:
[0154] determining a first adjustment amount based on the measured pitch angle and the measured fuel amount; and determining a second adjustment amount based on the measured roll angle and the measured fuel amount;
[0155] The sum of the measured fuel quantity, the first adjustment quantity, and the second adjustment quantity is determined as the corrected fuel quantity.
[0156] In some optional implementations, the processor 901 specifically performs:
[0157] The product of the measured fuel amount, the pitch adjustment amount corresponding to the measured pitch angle, and a first preset coefficient is determined as the first adjustment amount; and the product of the measured fuel amount, the roll adjustment amount corresponding to the measured roll angle, and a second preset coefficient is determined as the second adjustment amount.
[0158] In some optional implementations, the processor 901 specifically performs:
[0159] According to a preset correspondence, the measured posture information of the vehicle and the corrected fuel amount corresponding to the measured fuel amount are determined; wherein the preset correspondence includes a preset correspondence between the measured posture information, the measured fuel amount and the corrected fuel amount.
[0160] Since the electronic device is the electronic device that executes the method in the embodiment of the present application, and the principle of solving the problem by the electronic device is similar to that of the method, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0161] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-mentioned method for determining the fuel quantity. The computer-readable storage medium may be a non-volatile computer-readable storage medium.
[0162] The present application is described above with reference to block diagrams and / or flow charts illustrating methods, devices (systems) and / or computer program products according to embodiments of the present application. It should be understood that a block of a block diagram and / or flow chart, as well as a combination of blocks of a block diagram and / or flow chart, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer and / or other programmable device to produce a machine, so that instructions executed by the computer processor and / or other programmable device create a method for implementing the functions / actions specified in the block diagram and / or flow chart block.
[0163] Accordingly, the present application may also be implemented using hardware and / or software (including firmware, resident software, microcode, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in conjunction with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, transmit, or convey a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0164] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.
[0165] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A method for determining fuel quantity, characterized in that: The method comprises: After obtaining the measured posture information of the vehicle, the measured posture information is compared with the preset posture information; wherein the measured posture information is information representing the current posture of the vehicle measured by the posture measurement device of the vehicle; Determining whether it is necessary to adjust the actually measured fuel amount of the vehicle based on the comparison result; wherein the actually measured fuel amount is the current fuel amount of the vehicle measured by an oil level measuring device of the vehicle; If yes, determining a corrected fuel amount of the vehicle based on the measured posture information and the measured fuel amount; The measured attitude information includes a measured pitch angle and a measured roll angle; and determining a corrected fuel amount of the vehicle based on the measured attitude information and the measured fuel amount, comprising: determining a first adjustment amount based on the measured pitch angle and the measured fuel amount; and determining a second adjustment amount based on the measured roll angle and the measured fuel amount; The sum of the measured fuel quantity, the first adjustment quantity, and the second adjustment quantity is determined as the corrected fuel quantity.
2. The method according to claim 1, characterized in that The measured attitude information includes a measured pitch angle and a measured roll angle; the preset attitude information includes a preset pitch angle range and a preset roll angle range; Comparing the measured posture information with the preset posture information includes: determining whether the measured pitch angle is within the preset pitch angle range, and determining whether the measured roll angle is within the preset roll angle range; Determining whether the measured fuel quantity of the vehicle needs to be adjusted based on the comparison result includes: If the measured pitch angle is within the preset pitch angle range and the measured roll angle is within the preset roll angle range, it is determined that the measured fuel amount of the vehicle does not need to be adjusted; otherwise, it is determined that the measured fuel amount of the vehicle needs to be adjusted.
3. The method according to claim 1, characterized in that Determining a first adjustment amount based on the measured pitch angle and the measured fuel quantity includes: determining the first adjustment amount by multiplying the measured fuel amount, the pitch adjustment amount corresponding to the measured pitch angle, and a first preset coefficient; Determining a second adjustment amount based on the measured roll angle and the measured fuel amount includes: The second adjustment amount is determined by multiplying the measured fuel amount, the roll adjustment amount corresponding to the measured roll angle, and a second preset coefficient.
4. A fuel quantity determination device, characterized in that: The device includes: a comparison module, configured to, after obtaining measured posture information of the vehicle, compare the measured posture information with preset posture information; wherein the measured posture information is information representing the current posture of the vehicle measured by a posture measurement device of the vehicle; a fuel quantity adjustment module, configured to determine whether it is necessary to adjust the actually measured fuel quantity of the vehicle based on the comparison result; wherein the actually measured fuel quantity is the current fuel quantity of the vehicle measured by an oil level measuring device of the vehicle; The fuel quantity adjustment module is further configured to determine a corrected fuel quantity of the vehicle based on the measured posture information and the measured fuel quantity if it is determined that the measured fuel quantity of the vehicle needs to be adjusted; The measured attitude information includes a measured pitch angle and a measured roll angle; the fuel quantity adjustment module is specifically configured to: determining a first adjustment amount based on the measured pitch angle and the measured fuel amount; and determining a second adjustment amount based on the measured roll angle and the measured fuel amount; The sum of the measured fuel quantity, the first adjustment quantity, and the second adjustment quantity is determined as the corrected fuel quantity.
5. The device according to claim 4, characterized in that The measured attitude information includes a measured pitch angle and a measured roll angle; the preset attitude information includes a preset pitch angle range and a preset roll angle range; and the comparison module is specifically configured to: determining whether the measured pitch angle is within the preset pitch angle range, and determining whether the measured roll angle is within the preset roll angle range; The fuel quantity adjustment module is specifically used for: If the measured pitch angle is within the preset pitch angle range and the measured roll angle is within the preset roll angle range, it is determined that the measured fuel amount of the vehicle does not need to be adjusted; otherwise, it is determined that the measured fuel amount of the vehicle needs to be adjusted.
6. An electronic device, characterized in that: include: processor and memory; The memory stores program codes, and when the program codes are executed by the processor, the processor executes the fuel quantity determination method according to any one of claims 1 to 3.
7. 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 determining the fuel quantity according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Method and apparatus for measuring the quantity of a liquid in a vehicle container
US20040079150A1
Method and device for indicating the level of liquid in an automobile fuel tank
US4890491A
Device and method for correcting the measurement of the level of a liquid contained in a receptacle of a vehicle as a function of its inclination.
WO2008047016A1