Vehicle fuel oil liquid level observation method, device, equipment and medium
The method and device enhance fuel level observation accuracy by using fuel level observation weight to correct for previous errors, addressing the precision issues of existing sensors and improving trip planning and driver experience.
Patent Information
- Application Number
- CN202411258491.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-13
AI Technical Summary
Existing vehicle fuel level sensors suffer from poor accuracy due to environmental factors like temperature, pressure, and fuel quality, particularly when the fuel level is low, affecting the precision of fuel level display and vehicle range calculation.
A method and device for high-precision fuel level observation using fuel level observation weight to determine current fuel level data, accounting for previous acquisition and observation errors, enhancing display accuracy without increasing hardware costs.
Improves fuel level display accuracy and aids in reasonable trip planning by providing precise fuel level information, reducing driver anxiety and enhancing the driving experience.
Smart Images

Figure CN119124291A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle engineering technology, and in particular to a vehicle fuel level observation method, device, equipment and medium. Background Art
[0002] In the field of vehicle engineering, fuel level display is an important technology that allows drivers to know the current fuel level of the vehicle in advance and has a great impact on the accuracy of vehicle range calculation. High-precision fuel level and range can help drivers plan their trips reasonably and decide whether to refuel at the right time, thereby reducing driver anxiety and improving driving experience.
[0003] In the prior art, vehicle fuel level detection is mainly achieved through a fuel level sensor, which can monitor the fuel level in real time, transmit the monitoring data to the on-board computer, and then display it on the dashboard.
[0004] However, the accuracy of existing fuel level sensors is usually poor, mainly because the working environment of fuel level sensors is relatively complex. For example, factors such as temperature, pressure, and fuel quality will affect the accuracy of the sensor. Therefore, how to improve the accuracy of fuel level signal display, especially when the fuel level is low, is an important issue facing current technology. Summary of the invention
[0005] The present invention provides a method, device, equipment and medium for observing the fuel level of a vehicle. In order to solve the problem of insufficient detection accuracy of existing level sensors, high-precision fuel level observation is achieved based on the fuel level observation weight, which can effectively improve the display accuracy of the fuel level without increasing the hardware cost. The method has high practical value and good application prospects.
[0006] According to one aspect of the present invention, a method for observing a fuel level in a vehicle is provided, the method comprising:
[0007] Determine the current fuel level collection data and the last fuel level observation data of the target vehicle;
[0008] Determining a last fuel level acquisition error and a last fuel level observation error of the target vehicle;
[0009] Determining a current fuel level observation weight according to the previous fuel level acquisition error and the previous fuel level observation error;
[0010] The current fuel level observation data of the target vehicle is determined according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data.
[0011] According to another aspect of the present invention, a vehicle fuel level observation device is provided, the device comprising:
[0012] A fuel level data determination module is used to determine the current fuel level collection data and the last fuel level observation data of the target vehicle;
[0013] A fuel level error determination module, used to determine the last fuel level acquisition error and the last fuel level observation error of the target vehicle;
[0014] A current observation weight determination module, used to determine the current fuel level observation weight according to the previous fuel level acquisition error and the previous fuel level observation error;
[0015] The current observation data determination module is used to determine the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle fuel level observation method described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle fuel level observation method described in any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention first determines the current fuel level collection data and the last fuel level observation data of the target vehicle; and determines the last fuel level collection error and the last fuel level observation error of the target vehicle; then determines the current fuel level observation weight according to the last fuel level collection error and the last fuel level observation error; and then determines the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the last fuel level observation data. This technical solution, in response to the problem of insufficient detection accuracy of existing liquid level sensors, realizes high-precision fuel level observation based on the fuel level observation weight, can effectively improve the display accuracy of the fuel level without increasing hardware costs, and has high practical value and good application prospects.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 is a flow chart of a method for observing a fuel level of a vehicle provided according to a first embodiment of the present invention;
[0025] Figure 2 is a flow chart of a method for observing a fuel level in a vehicle provided according to a second embodiment of the present invention;
[0026] Figure 3 is a schematic diagram of a method for observing a fuel level in a vehicle provided according to a second embodiment of the present invention;
[0027] Figure 4 is a schematic diagram of a vehicle fuel level observation system provided according to a second embodiment of the present invention;
[0028] Figure 5 is a schematic structural diagram of a vehicle fuel level observation device provided according to a third embodiment of the present invention;
[0029] Figure 6 The present invention is a schematic diagram of the structure of an electronic device for implementing a method for observing a fuel level in a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Embodiment 1
[0033] Figure 1 This is a flow chart of a method for observing the fuel level of a vehicle provided in the first embodiment of the present invention. This embodiment is applicable to the case of realizing high-precision fuel level observation. The method can be executed by a vehicle fuel level observation device. The vehicle fuel level observation device can be implemented in the form of hardware and / or software. The vehicle fuel level observation device can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:
[0034] S110, determining the current fuel level collection data and the last fuel level observation data of the target vehicle.
[0035] Among them, the target vehicle may refer to a vehicle that needs to display the fuel level. The fuel level collection data may refer to the fuel level data determined based on data collection, and the fuel level observation data may refer to the fuel level data determined based on data estimation (calculation). Among them, the fuel level data can be used to characterize the amount of fuel remaining in the target vehicle's fuel tank. For example, the parameters corresponding to the fuel level data may be the fuel level height, the percentage of the fuel level height (the percentage of the fuel level height to the tank height) or the fuel volume, etc. The current fuel level collection data may refer to the fuel level collection data corresponding to the current detection moment. The previous fuel level observation data may refer to the fuel level display data corresponding to the previous detection moment.
[0036] In this embodiment, the fuel level sensor installed on the target vehicle can collect the fuel level sensor value based on the preset period, and convert the collected fuel level sensor value into a quantity that can represent the actual physical meaning, such as the percentage of the fuel level height or the absolute value of the fuel level height, as the fuel level collection data at different detection times, which is used to characterize the amount of fuel remaining in the target vehicle's fuel tank at different detection times. Among them, the preset period can be determined according to the speed of the change of the tank level. The faster the level changes, the shorter the preset period. Exemplarily, the preset period can be set to a value between 10ms-1s. For example, based on the above method, the fuel level sensor value corresponding to the current detection time is obtained and converted into the fuel level height, and the current fuel level collection data of the target vehicle can be obtained. The previous fuel level observation data can be determined by reading the fuel level display data of the target vehicle at the previous detection time.
[0037] It should be noted that the parameters corresponding to the fuel level data need to be determined according to different vehicle models, that is, the target vehicle is set to use which parameters to display the fuel level. After the fuel level sensor value of the target vehicle is collected, it needs to be converted into which parameters for display. For example, this solution adopts the method of analog acquisition of output voltage, the voltage range is 0-5V, and the corresponding fuel level percentage is 0-100%.
[0038] In addition, other fuel level sensors can be used to determine the fuel level collection data of the target vehicle at different detection times, or to obtain the instantaneous fuel consumption of the target vehicle at different detection times, and calculate the fuel level collection data of the target vehicle at different detection times based on the instantaneous fuel consumption.
[0039] S120, determining a last fuel level acquisition error and a last fuel level observation error of the target vehicle.
[0040] The fuel level acquisition error is the acquisition error of the fuel level acquisition data, and the fuel level observation error is the estimation error of the fuel level observation data. The last fuel level acquisition error and the last fuel level observation error may refer to the fuel level acquisition error and the fuel level observation error corresponding to the last detection moment, respectively.
[0041] In this embodiment, if the fuel level collection data is determined by a sensor, the sensor's detection accuracy, such as ±10%, can be obtained through the sensor specification as the fuel level collection error; if the fuel level collection data is determined by instantaneous fuel consumption, the collection error of instantaneous fuel consumption can be used as the fuel level collection error. It should be noted that the fuel level collection errors corresponding to different detection moments are all the same fixed values. Exemplarily, the fuel level collection error and the fuel level observation error can be presented in the form of absolute values, or in the form of relative values such as percentages or decimals, which is not limited in this embodiment.
[0042] In this embodiment, optionally, the method further includes: using the initial fuel level acquisition error of the target vehicle as the initial fuel level observation error of the target vehicle. The initial fuel level acquisition error and the initial fuel level observation error may refer to the fuel level acquisition error and the fuel level observation error at the initial detection time, respectively. For example, assuming that the initial time is time 0, and the fuel level acquisition error at time k is denoted by E mea (k) represents the fuel level observation error at time k, and E est (k) indicates that the initial fuel level observation error can be initialized as the initial fuel level acquisition error, that is, let E est (0) = E mea (0).
[0043] Through such a setting, the present scheme can initialize the initial fuel level observation error in a simple and quick manner.
[0044] S130, determining a current fuel level observation weight according to a previous fuel level acquisition error and a previous fuel level observation error.
[0045] The fuel level observation weight is used to characterize the importance of the fuel level observation error to the fuel level observation data. The current fuel level observation weight may refer to the fuel level observation weight corresponding to the current detection moment.
[0046] In this embodiment, after determining the last fuel level acquisition error and the last fuel level observation error, the current fuel level observation weight can be determined according to the last fuel level acquisition error and the last fuel level observation error. Optionally, determining the current fuel level observation weight according to the last fuel level acquisition error and the last fuel level observation error includes: determining the last fuel level total error of the target vehicle according to the sum of the last fuel level acquisition error and the last fuel level observation error; determining the current fuel level observation weight according to the ratio of the last fuel level observation error to the last fuel level total error.
[0047] The last total error of the fuel level may refer to the total error of the fuel level corresponding to the last detection moment. For example, the following formula may be used to calculate the current fuel level observation weight:
[0048]
[0049] Among them, K(k) represents the current (time k) fuel level observation weight, E mea (k-1) represents the fuel level acquisition error at the previous (k-1 moment), E est (k-1) represents the fuel level observation error at the previous (k-1 moment), E mea (k-1)+E est (k-1) represents the total error of the fuel level at the previous (k-1 moment).
[0050] It should be noted that, from the above formula, it can be seen that the greater the current fuel level observation weight, the higher the proportion of the previous fuel level observation error in the previous fuel level total error, that is, the higher the importance of the previous fuel level observation error to the current fuel level observation data. Among them, the current fuel level observation data may refer to the fuel level observation data corresponding to the current detection moment.
[0051] S140, determining the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data.
[0052] In this embodiment, after determining the current fuel level observation weight, the current fuel level observation data of the target vehicle can be determined according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data. Optionally, determining the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data includes: subtracting the current fuel level collection data from the previous fuel level observation data to obtain the first reference data; multiplying the current fuel level observation weight by the first reference data to obtain the second reference data; and adding the previous fuel level observation data to the second reference data to obtain the current fuel level observation data.
[0053] For example, taking the absolute value of the fuel level height as the fuel level data, the following formula can be used to determine the current fuel level observation data:
[0054] H est (k) = H est (k-1)+K(k)*(H mea (k)-H est (k-1));
[0055] Among them, H est (k) represents the current (time k) fuel level observation height, H mea (k) represents the current (time k) fuel level collection height, H est (k-1) represents the fuel level observation height at the previous (k-1 moment), K(k) represents the fuel level observation weight at the current (k moment), H mea (k)-H est (k-1) represents the first reference data, K(k)*(H mea (k)-H est (k-1)) represents the second reference data.
[0056] It should be noted that the calculation and display cycle of the fuel level observation data needs to be consistent with the collection cycle of the fuel level collection data. After determining the current fuel level observation data of the target vehicle, the current fuel level observation data can be displayed to the driver through a display unit on the target vehicle, such as an instrument, a vehicle computer or other display device. Compared with the sensor collection data, this observation data has a higher accuracy, so that the driver can know the current fuel level of the target vehicle in advance. The mileage can also be further calculated through the current fuel level observation data, which helps to plan the trip reasonably.
[0057] The technical solution of the embodiment of the present invention first determines the current fuel level collection data and the last fuel level observation data of the target vehicle; and determines the last fuel level collection error and the last fuel level observation error of the target vehicle; then determines the current fuel level observation weight according to the last fuel level collection error and the last fuel level observation error; and then determines the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the last fuel level observation data. This technical solution, in response to the problem of insufficient detection accuracy of existing liquid level sensors, realizes high-precision fuel level observation based on the fuel level observation weight, can effectively improve the display accuracy of the fuel level without increasing hardware costs, helps to improve the driver's driving experience, and has high practical value and good application prospects.
[0058] In this embodiment, optionally, the method further includes: using the initial fuel level acquisition data of the target vehicle as the initial fuel level observation data of the target vehicle.
[0059] For example, taking the absolute value of the fuel level height as the fuel level data, assuming that the initial time is time 0, the fuel level collection height at time k is H mea (k) represents the fuel level observation height at time k, and H est (k) indicates that the initial fuel level observation height can be initialized as the initial fuel level acquisition height, that is, let H est(0) = H mea (0).
[0060] Through such a setting, the present scheme can initialize the initial fuel level observation height in a simple and quick manner.
[0061] Embodiment 2
[0062] Figure 2 This is a flow chart of a method for observing the fuel level of a vehicle provided in the second embodiment of the present invention. This embodiment is optimized based on the above embodiment.
[0063] like Figure 2 As shown, the method of this embodiment specifically includes the following steps:
[0064] S210, determining the current fuel level collection data and the last fuel level observation data of the target vehicle.
[0065] S220, determining a last fuel level acquisition error and a last fuel level observation error of the target vehicle.
[0066] S230, determining a current fuel level observation weight according to a previous fuel level acquisition error and a previous fuel level observation error.
[0067] S240, determining the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data.
[0068] Among them, the specific implementation method of S210-S240 can refer to the detailed description of S110-S140, which will not be repeated here.
[0069] S250, determining a current fuel level observation error of the target vehicle according to a current fuel level observation weight and a previous fuel level observation error.
[0070] The current fuel level observation error may refer to the fuel level observation error corresponding to the current detection moment. Optionally, the current fuel level observation error of the target vehicle is determined according to the current fuel level observation weight and the previous fuel level observation error, including: multiplying the current fuel level observation weight by the previous fuel level observation error to obtain a reference observation error; subtracting the previous fuel level observation error from the reference observation error to obtain the current fuel level observation error.
[0071] For example, the current fuel level observation error may be determined using the following formula:
[0072] E est (k)=(1-K(k))*E est (k-1);
[0073] Among them, E est (k) represents the current (time k) fuel level observation error, K(k) represents the current (time k) fuel level observation weight, E est (k-1) represents the fuel level observation error at the last (k-1 moment), K(k)*E est (k-1) represents the reference observation error.
[0074] S260, determining a current fuel level collection error and next fuel level collection data of the target vehicle.
[0075] Among them, the current fuel level collection error may refer to the fuel level collection error corresponding to the current detection moment, and the next fuel level collection data may refer to the fuel level collection data corresponding to the next detection moment. Specifically, it can be determined by referring to the relevant description of the previous fuel level collection error and the current fuel level collection data in the above-mentioned embodiment 1.
[0076] S270, determining the next fuel level observation weight according to the current fuel level acquisition error and the current fuel level observation error.
[0077] Among them, the next fuel level observation weight may refer to the fuel level observation weight corresponding to the next detection moment. Optionally, the next fuel level observation weight is determined according to the current fuel level acquisition error and the current fuel level observation error, including: determining the current total fuel level error of the target vehicle according to the sum of the current fuel level acquisition error and the current fuel level observation error; determining the next fuel level observation weight according to the ratio of the current fuel level observation error to the current total fuel level error.
[0078] Among them, the current total fuel level error may refer to the total fuel level error corresponding to the current detection moment. The current total fuel level error and the next fuel level observation weight may be determined by referring to the relevant descriptions of the previous total fuel level error and the current fuel level observation weight in Example 1. Thus, the next fuel level observation weight may be quickly determined based on the current fuel level acquisition error and the current fuel level observation error.
[0079] S280, determining the next fuel level observation data of the target vehicle according to the next fuel level observation weight, the next fuel level collection data and the current fuel level observation data.
[0080] Among them, the next fuel level observation data may refer to the fuel level observation data corresponding to the next detection moment. Optionally, according to the next fuel level observation weight, the next fuel level collection data and the current fuel level observation data, the next fuel level observation data of the target vehicle is determined, including: subtracting the next fuel level collection data from the current fuel level observation data to obtain the first target data; multiplying the next fuel level observation weight by the first target data to obtain the second target data; adding the current fuel level observation data to the second target data to obtain the next fuel level observation data.
[0081] The method for determining the next fuel level observation data may refer to the description of the current fuel level observation data in the first embodiment. Thus, the next fuel level observation data of the target vehicle may be quickly determined based on the next fuel level observation weight, the next fuel level collection data, and the current fuel level observation data.
[0082] Figure 3 This is a schematic diagram of a method for observing the fuel level of a vehicle provided by Embodiment 2 of the present invention. Figure 3 As shown in the figure, assuming that the current time is time k, taking the fuel level height value as the fuel level data as an example, when the target vehicle is started (powered on, i.e., KEY ON), the fuel level observation error E is initialized first. est (0) = E mea (0) and fuel level observation data H est (0) = H mea (0). Then collect the fuel level sensor value at time k and convert it into the fuel level height value H mea (k). Next, calculate the fuel level observation weight K(k) at time k, the fuel level observation height value H at time k, and est (k) and the fuel level observation error E at time k est (k), and the display unit est (k) is displayed. Then determine whether the target vehicle is stopped (i.e., KEY OFF). If so, end the calculation process. Otherwise, set k = k + 1, that is, the output E est (k) and H est (k) is used as the input for the next cycle, so that the fuel level observation height values at different detection times can be continuously calculated. This solution automatically adjusts the fuel level observation weight according to the fuel level observation error and the fuel level acquisition error to ensure that the error of the final output fuel level observation data is minimized.
[0083] Figure 4 This is a schematic diagram of a vehicle fuel level observation system provided by Embodiment 2 of the present invention. Figure 4As shown, the system includes a collection unit, a calculation processing unit and a display unit. The collection unit can be used to collect the fuel level sensor values at different detection times; the calculation processing unit can be used to convert the collected fuel level sensor values into fuel level collection data, and is responsible for calculating the fuel level observation data at different detection times; the display unit can be used to display the calculated fuel level observation data to the driver.
[0084] The technical solution of the embodiment of the present invention, after determining the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data, determines the current fuel level observation error of the target vehicle according to the current fuel level observation weight and the previous fuel level observation error; determines the current fuel level collection error and the next fuel level collection data of the target vehicle; determines the next fuel level observation weight according to the current fuel level collection error and the current fuel level observation error; determines the next fuel level observation data of the target vehicle according to the next fuel level observation weight, the next fuel level collection data and the current fuel level observation data. This technical solution can automatically adjust the fuel level observation weight according to the fuel level observation error and the fuel level collection error to ensure that the error of the fuel level observation data finally outputted is minimized, which helps to improve the display accuracy of the fuel level observation data.
[0085] Embodiment 3
[0086] Figure 5 This is a schematic diagram of the structure of a vehicle fuel level observation device provided in the third embodiment of the present invention. The device can execute the vehicle fuel level observation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Figure 5 As shown, the device comprises:
[0087] A fuel level data determination module 310 is used to determine the current fuel level collection data and the last fuel level observation data of the target vehicle;
[0088] A fuel level error determination module 320, for determining a last fuel level acquisition error and a last fuel level observation error of the target vehicle;
[0089] A current observation weight determination module 330, configured to determine a current fuel level observation weight according to the previous fuel level acquisition error and the previous fuel level observation error;
[0090] The current observation data determination module 340 is used to determine the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data.
[0091] Optionally, the current observation weight determination module 330 is specifically configured to:
[0092] Determining a total error of the last fuel level of the target vehicle according to the sum of the last fuel level acquisition error and the last fuel level observation error;
[0093] The current fuel level observation weight is determined according to the ratio of the previous fuel level observation error to the previous fuel level total error.
[0094] Optionally, the current observation data determination module 340 is specifically used to:
[0095] Subtract the current fuel level acquisition data from the previous fuel level observation data to obtain first reference data;
[0096] Multiplying the current fuel level observation weight by the first reference data to obtain second reference data;
[0097] The previous fuel level observation data is added to the second reference data to obtain the current fuel level observation data.
[0098] Optionally, the device further comprises:
[0099] The current observation error determination module is used to determine the current fuel level observation error of the target vehicle according to the current fuel level observation weight and the previous fuel level observation error after determining the current fuel level observation data of the target vehicle.
[0100] Optionally, the current observation error determination module is specifically used to:
[0101] Multiplying the current fuel level observation weight by the previous fuel level observation error to obtain a reference observation error;
[0102] The previous fuel level observation error is subtracted from the reference observation error to obtain the current fuel level observation error.
[0103] Optionally, the device further comprises:
[0104] A fuel level acquisition information determination module, configured to determine the current fuel level acquisition error and next fuel level acquisition data of the target vehicle after determining the current fuel level observation error of the target vehicle according to the current fuel level observation weight and the previous fuel level observation error;
[0105] A next observation weight determination module, used to determine the next fuel level observation weight according to the current fuel level acquisition error and the current fuel level observation error;
[0106] The next observation data determination module is used to determine the next fuel level observation data of the target vehicle according to the next fuel level observation weight, the next fuel level collection data and the current fuel level observation data.
[0107] Optionally, the next observation weight determination module is specifically used to:
[0108] Determining a total error of the current fuel level of the target vehicle according to the sum of the current fuel level acquisition error and the current fuel level observation error;
[0109] The next fuel level observation weight is determined according to the ratio of the current fuel level observation error to the current fuel level total error.
[0110] Optionally, the next observation data determination module is specifically used to:
[0111] Subtracting the next fuel level acquisition data from the current fuel level observation data to obtain first target data;
[0112] Multiplying the next fuel level observation weight by the first target data to obtain second target data;
[0113] The current fuel level observation data is added to the second target data to obtain the next fuel level observation data.
[0114] Optionally, the device further comprises:
[0115] The initial observation data determination module is used to use the initial fuel level acquisition data of the target vehicle as the initial fuel level observation data of the target vehicle.
[0116] Optionally, the device further comprises:
[0117] The initial observation error determination module is used to use the initial fuel level acquisition error of the target vehicle as the initial fuel level observation error of the target vehicle.
[0118] A vehicle fuel level observation device provided in an embodiment of the present invention can execute a vehicle fuel level observation method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.
[0119] Embodiment 4
[0120] Figure 6A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0121] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0122] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0123] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a vehicle fuel level observation method.
[0124] In some embodiments, the vehicle fuel level observation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the vehicle fuel level observation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the vehicle fuel level observation method in any other appropriate manner (e.g., by means of firmware).
[0125] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0126] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0127] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0128] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0129] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0130] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0131] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0132] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for observing the fuel level of a vehicle, characterized in that: The method comprises: Determine the current fuel level collection data and the last fuel level observation data of the target vehicle; Determining a last fuel level acquisition error and a last fuel level observation error of the target vehicle; Determining a current fuel level observation weight according to the previous fuel level acquisition error and the previous fuel level observation error; The current fuel level observation data of the target vehicle is determined according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data.
2. The method according to claim 1, characterized in that Determining the current fuel level observation weight according to the previous fuel level acquisition error and the previous fuel level observation error includes: Determining a total error of the last fuel level of the target vehicle according to the sum of the last fuel level acquisition error and the last fuel level observation error; The current fuel level observation weight is determined according to the ratio of the previous fuel level observation error to the previous fuel level total error.
3. The method according to claim 1 or 2, characterized in that: Determining the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data, and the previous fuel level observation data, including: Subtract the current fuel level acquisition data from the previous fuel level observation data to obtain first reference data; Multiplying the current fuel level observation weight by the first reference data to obtain second reference data; The previous fuel level observation data is added to the second reference data to obtain the current fuel level observation data.
4. The method according to claim 1, characterized in that: After determining the current fuel level observation data of the target vehicle, the method further includes: The current fuel level observation error of the target vehicle is determined according to the current fuel level observation weight and the previous fuel level observation error.
5. The method according to claim 4, characterized in that Determining a current fuel level observation error of the target vehicle according to the current fuel level observation weight and the previous fuel level observation error includes: Multiplying the current fuel level observation weight by the previous fuel level observation error to obtain a reference observation error; The previous fuel level observation error is subtracted from the reference observation error to obtain the current fuel level observation error.
6. The method according to claim 4, characterized in that After determining the current fuel level observation error of the target vehicle according to the current fuel level observation weight and the previous fuel level observation error, the method further includes: Determining a current fuel level acquisition error and next fuel level acquisition data of the target vehicle; Determine the next fuel level observation weight according to the current fuel level acquisition error and the current fuel level observation error; The next fuel level observation data of the target vehicle is determined according to the next fuel level observation weight, the next fuel level collection data and the current fuel level observation data.
7. The method according to claim 6, characterized in that Determining the next fuel level observation weight according to the current fuel level acquisition error and the current fuel level observation error includes: Determining a total error of the current fuel level of the target vehicle according to the sum of the current fuel level acquisition error and the current fuel level observation error; The next fuel level observation weight is determined according to the ratio of the current fuel level observation error to the current fuel level total error.
8. The method according to claim 6 or 7, characterized in that: Determining the next fuel level observation data of the target vehicle according to the next fuel level observation weight, the next fuel level collection data, and the current fuel level observation data, including: Subtracting the next fuel level acquisition data from the current fuel level observation data to obtain first target data; Multiplying the next fuel level observation weight by the first target data to obtain second target data; The current fuel level observation data is added to the second target data to obtain the next fuel level observation data.
9. The method according to claim 1, characterized in that: The method further comprises: The initial fuel level acquisition data of the target vehicle is used as the initial fuel level observation data of the target vehicle.
10. The method according to claim 1 or 9, characterized in that: The method further comprises: The initial fuel level acquisition error of the target vehicle is used as the initial fuel level observation error of the target vehicle.
11. A vehicle fuel level observation device, characterized in that: The device comprises: A fuel level data determination module is used to determine the current fuel level collection data and the last fuel level observation data of the target vehicle; A fuel level error determination module, used to determine the last fuel level acquisition error and the last fuel level observation error of the target vehicle; A current observation weight determination module, used to determine the current fuel level observation weight according to the previous fuel level acquisition error and the previous fuel level observation error; The current observation data determination module is used to determine the current fuel level observation data of the target vehicle according to the current fuel level observation weight, the current fuel level collection data and the previous fuel level observation data.
12. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle fuel level observation method according to any one of claims 1-10.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle fuel level observation method according to any one of claims 1 to 10 when executed.
Citation Information
Cited By
Railway wagon detection method and device, storage medium and program product
CN121558378A
