Fuel concentration measuring method and device, equipment, engine and storage medium

By collecting the concentration measurement value in the upstream pipeline of the injection device in the fuel concentration sensor, and calculating the concentration prediction value of the fuel to be injected using the weighted sum method, the problem of deviation between the measured value of the fuel concentration sensor and the actual fuel concentration is solved, and the engine is improved Stability and application range of methanol vehicles.

CN119125495APending Publication Date: 2024-12-13ZHEJIANG INTELLIGENT TRANSPORTATION TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411246768.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The measured value of the existing fuel concentration sensor at the fuel nozzle is quite different from the actual fuel concentration, resulting in engine shaking and shutdown. The insufficient construction of the methanol filling system limits the promotion and application of methanol vehicles.

Method used

By collecting the concentration measurement value in the upstream pipeline of the injection device in the fuel concentration sensor, the concentration prediction value of the fuel to be injected is calculated using the weighted summing method, and the fuel concentration at the fuel nozzle is corrected based on the adjacent measurement value with similar acquisition times to accurately measure the fuel concentration at the fuel nozzle. .

Benefits of technology

It improves the accuracy of fuel concentration measurement, reduces the occurrence of engine shaking and fire outage, and enhances the application flexibility and reliability of methanol vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119125495A_ABST
    Figure CN119125495A_ABST
Patent Text Reader

Abstract

The invention discloses a fuel concentration measuring method and device, equipment, an engine and a storage medium. According to the scheme, the method comprises the steps that concentration measurement values of fuel in an upstream pipeline of a fuel injection device are collected based on a fuel concentration sensor, and a concentration measurement value sequence is obtained; and performing weighted summation on the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement value to obtain a concentration prediction value of the fuel to be injected. Therefore, according to the mutual fusion characteristic of the fuel in the supply process, the target concentration measurement value corresponding to the to-be-injected fuel is corrected by utilizing the adjacent measurement values with the similar collection time, the concentration prediction value of the to-be-injected fuel is obtained, and the fuel concentration at the fuel nozzle is accurately calculated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of engine technology, and in particular to a fuel concentration measurement method and device, equipment, engine and storage medium. Background Art

[0002] Green and renewable energy sources such as methanol and ethanol have been used in large quantities in many places as substitutes for traditional energy sources such as gasoline and diesel. They are already comparable to traditional energy sources such as gasoline and diesel in terms of reliability and durability.

[0003] At present, the refueling system of green renewable energy such as methanol and ethanol is still imperfect, and flexible fuel engines are the key to solving this problem. Flexible fuel engines are internal combustion engines that can use a variety of fuels. These fuels can be traditional energy such as gasoline and diesel, or green renewable energy such as ethanol and methanol, or any mixture of the above fuels, such as methanol gasoline, methanol diesel, ethanol gasoline, etc. Flexible fuel engines need to be equipped with sensors to measure the concentration of methanol and ethanol in the fuel, and optimize the operation of the engine according to the measured fuel concentration.

[0004] The fuel concentration sensor can usually only be installed at a location with low fuel pressure, that is, between the fuel tank and the high-pressure pump upstream of the fuel nozzle. Since there is a certain distance between the fuel concentration sensor and the fuel nozzle, the fuel concentration at the fuel nozzle is inconsistent with the fuel concentration fed back by the sensor. If the two have a large deviation, it will cause the engine to shake or even stall, and worsen emissions. Summary of the invention

[0005] In view of this, the embodiments of the present application are directed to providing a fuel concentration measurement method and device, equipment, engine and storage medium, which can accurately measure the fuel concentration at the fuel nozzle.

[0006] According to a first aspect of an embodiment of the present application, a method for measuring fuel concentration is provided, comprising:

[0007] Based on the fuel concentration sensor, the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device is collected to obtain a concentration measurement value sequence;

[0008] Performing weighted summation on the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value, to obtain a concentration prediction value of the fuel to be injected;

[0009] The target concentration measurement value is selected from a concentration measurement value sequence according to the fuel injection amount of the fuel injection device and a target volume value of the fuel between the fuel concentration sensor and the injection port of the fuel injection device.

[0010] Optionally, collecting the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device to obtain a concentration measurement value sequence includes:

[0011] If the first accumulated amount of fuel injected by the fuel injection device reaches a preset volume threshold after each concentration measurement value is collected, the concentration measurement value of the fuel in the upstream pipeline is collected once to obtain the concentration measurement value sequence;

[0012] The method of performing weighted summation on the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​close to the target concentration measurement value in the concentration measurement value sequence to obtain the concentration prediction value of the fuel to be injected at the fuel injection device includes:

[0013] According to a preset weight value, the target concentration measurement value and the adjacent measurement value are weighted and summed to obtain a concentration prediction value of the fuel to be injected; the preset weight value corresponds to the relative position of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence.

[0014] Optionally, collecting the concentration measurement value of the fuel in the upstream pipeline once to obtain the concentration measurement value sequence includes:

[0015] After collecting the concentration measurement value of the fuel in the upstream pipeline, adding the collected concentration measurement value to the first or last position in the concentration measurement value sequence, and deleting the concentration measurement value in the concentration measurement value sequence in a first-in-first-out manner;

[0016] Among them, the sequence length of the concentration measurement value sequence is fixedly set according to the ratio of the target volume value and the preset volume threshold; the concentration measurement values ​​in the concentration measurement value sequence are sorted according to the acquisition time; and the preset weight value corresponds to the sequence number of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence.

[0017] Optionally, performing weighted summation on the target concentration measurement value and the adjacent measurement value according to a preset weight value to obtain the concentration prediction value of the fuel to be injected includes:

[0018] A convolution operation is performed on the concentration measurement value sequence according to a preset convolution kernel to obtain the concentration prediction value; the preset convolution kernel is a weight vector composed of preset weight values ​​corresponding to the target concentration measurement value and the adjacent measurement value; the preset convolution kernel is obtained by training with the concentration measurement value sequence as a sample; the anchor point of the preset convolution kernel corresponds to the target concentration measurement value in the concentration measurement value sequence.

[0019] Optionally, the weighted summation of the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value to obtain the concentration prediction value of the fuel to be injected includes:

[0020] For each concentration measurement value in the concentration measurement value sequence, the total amount of fuel injected by the fuel injection device after the concentration measurement value is collected is calculated according to the fuel injection amount to obtain a second accumulated fuel amount corresponding to the concentration measurement value;

[0021] For each adjacent measurement value in the concentration measurement value sequence, the difference between the adjacent measurement value and the second accumulated fuel amount corresponding to the target concentration measurement value is calculated to obtain a third accumulated fuel amount corresponding to the adjacent measurement value;

[0022] Calculating a weight value corresponding to the adjacent measurement value according to a third accumulated fuel amount corresponding to the adjacent measurement value;

[0023] According to the weight value, the target concentration measurement value and the adjacent measurement value are weightedly summed to obtain the concentration prediction value of the fuel to be injected.

[0024] Optionally, collecting the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device includes:

[0025] If the time after the last concentration measurement value is collected reaches a preset time threshold, collecting a concentration measurement value of the fuel in the upstream pipeline;

[0026] or,

[0027] If the number of injections by the fuel injection device after the last concentration measurement value was collected reaches a preset number threshold, collecting a concentration measurement value of the fuel in the upstream pipeline;

[0028] The step of weighting and summing the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value also includes:

[0029] In the concentration measurement value sequence, a concentration measurement value corresponding to a second accumulated fuel amount closest to the target volume value is determined to obtain a target concentration measurement value corresponding to the fuel to be injected.

[0030] Optionally, after obtaining the concentration measurement value sequence, the method further includes:

[0031] calculating an average rate of change of concentration measurements in the sequence of concentration measurements;

[0032] The weighted summation of the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value to obtain the concentration prediction value of the fuel to be injected includes:

[0033] If the average change rate is greater than a preset threshold, a weighted sum is performed on the target concentration measurement value and the adjacent measurement values ​​to obtain a concentration prediction value of the fuel to be injected.

[0034] According to a second aspect of an embodiment of the present application, a fuel concentration measuring device is provided, comprising:

[0035] A collection module, used for collecting the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device based on the fuel concentration sensor to obtain a concentration measurement value sequence;

[0036] A correction module, configured to perform weighted summation on a target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value, to obtain a concentration prediction value of the fuel to be injected;

[0037] The target concentration measurement value is selected from a concentration measurement value sequence according to the fuel injection amount of the fuel injection device and a target volume value of the fuel between the fuel concentration sensor and the injection port of the fuel injection device.

[0038] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; and the processor is used to execute the method described in any one of the above embodiments.

[0039] According to a fourth aspect of an embodiment of the present application, an engine is provided, comprising an engine body and the above-mentioned electronic device; the engine body comprises a fuel concentration sensor and a fuel injection device.

[0040] According to a fifth aspect of the embodiments of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method described in any of the above embodiments.

[0041] The embodiment of the present application provides a fuel concentration measurement method and device, equipment, engine and storage medium, the scheme includes: based on the fuel concentration sensor, the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device is collected to obtain a concentration measurement value sequence; and by weighted summing the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement value, the concentration prediction value of the fuel to be injected is obtained. According to the mutual dissolution characteristics of the fuel during the supply process, the target concentration measurement value corresponding to the fuel to be injected is corrected by using the adjacent measurement value with a similar collection time, and the concentration prediction value of the fuel to be injected is obtained, so as to accurately calculate the fuel concentration at the fuel nozzle. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 Shown is a schematic diagram of an implementation environment provided by an embodiment of the present application.

[0043] Figure 2 Shown is a schematic diagram of concentration changes during a fuel transition process provided by an embodiment of the present application.

[0044] Figure 3 Shown is a flow chart of a method for measuring fuel concentration provided in another embodiment of the present application.

[0045] Figure 4 The figure shows a block diagram of a fuel concentration measuring device provided by one embodiment of the present application.

[0046] Figure 5 Shown is a structural block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0048] Application Overview

[0049] However, due to the inadequate construction of methanol filling systems, pure methanol vehicles can only be used in local areas, which seriously limits the promotion and application of methanol vehicles. Methanol gasoline flexible fuel is the key to solving this problem. Its solution is to allow vehicles to use methanol, gasoline, and a mixture of methanol and gasoline as fuel, and add a fuel concentration sensor to the vehicle's fuel supply pipeline to monitor the fuel concentration in real time and feed it back to the engine controller (ECU). The ECU adjusts the injection amount and ignition angle in real time based on the fed-back concentration to ensure the smooth operation of the engine.

[0050] Figure 1 FIG. 1 is a schematic diagram of an engine fuel system provided by an embodiment of the present application. Figure 1 As shown, there is a certain distance between the fuel concentration sensor and the concentration prediction value of the fuel to be injected. After passing through the fuel concentration sensor, the fuel also needs to pass through pipelines, fuel nozzles and other fuel rails before it can be injected into the engine.

[0051] exist Figure 1 After adding fuel to the fuel tank, if the newly added fuel is different from the original fuel in the fuel tank, the fuel concentration (such as methanol concentration) of the fuel in the injector will transition from the old content to the new content. During this transition period, the fuel concentration needs to be known as accurately as possible to optimize the operation of the engine.

[0052] Figure 2 Shown is a schematic diagram of the concentration change during the fuel transition process provided in an embodiment of the present application. Figure 2 The horizontal axis is used to represent time, and the vertical axis is used to represent fuel concentration. Figure 2 The green line in the middle is the fuel concentration measured by the fuel concentration sensor; the purple line is the actual fuel concentration at the fuel nozzle obtained by experimental measurement; the yellow line is the fuel concentration prediction result obtained by the ECU after making an overall delay offset and filtering the fuel concentration measured by the fuel concentration sensor according to the distance between the fuel concentration sensor and the fuel nozzle. It can be seen that the fuel concentration prediction result (yellow line) of the ECU is inconsistent with the actual fuel concentration (purple line). The change rate of the actual fuel concentration (purple line) is much lower than the fuel concentration measured by the fuel concentration sensor (green line) and the fuel concentration prediction result (yellow line) of the ECU, and the actual fuel transition time is much longer than the measured value and the predicted value.

[0053] In order to solve the above problems, in the embodiment of the present application, the fuel concentration measurement value is continuously detected by a fuel concentration sensor. On the basis of an overall delay offset of the fuel concentration, a weighted summation is performed on the concentration measurement values ​​with similar collection times to obtain a concentration prediction value of the fuel to be injected at the fuel nozzle; thereby, the concentration measurement value detected by the fuel concentration sensor is corrected according to the concentration change trend caused by mutual dissolution of the fuel during the flow process, thereby accurately measuring the fuel concentration at the fuel nozzle.

[0054] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0055] Exemplary Methods

[0056] Figure 3 It is a flow chart of a method for measuring fuel concentration provided in one embodiment of the present application. Figure 3 The method is executed by a computing device at the engine. The engine may be a vehicle internal combustion engine, a marine internal combustion engine, an aircraft internal combustion engine, an internal combustion generator, a fuel boiler, etc.; the embodiment of the present application is not limited thereto, as long as the engine can use more than two fuels.

[0057] like Figure 3 As shown, the method includes the following contents:

[0058] Step S310: Based on the fuel concentration sensor, the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device is collected to obtain a concentration measurement value sequence.

[0059] In an embodiment of the present application, the fuel can be a mixture of two or more fuels; the fuel can be a mixture of green renewable energy such as methanol, ethanol, etc., and traditional energy such as gasoline, diesel, etc. in any proportion, and can include methanol gasoline, methanol diesel, ethanol gasoline, ethanol diesel, and a mixture of methanol, ethanol and diesel, and a mixture of methanol, ethanol and gasoline.

[0060] In the embodiment of the present application, the fuel injection device may be a device that injects fuel such as oil and gas into the combustion chamber of the engine. The upstream pipeline may refer to the pipeline between the fuel injection device and the fuel tank. Figure 1 As shown, the fuel in the fuel tank is injected into the engine cylinder through the oil pump, the fuel concentration sensor, the oil rail, and the injector (i.e., the fuel injection device) in sequence.

[0061] In the embodiment of the present application, the fuel concentration sensor can be arranged on the pipeline between the fuel injection device and the fuel tank (i.e., the upstream pipeline of the fuel injection device). The fuel concentration sensor can be used to detect the fuel concentration by detecting the capacitance and refractive index of the fuel, that is, the fuel concentration sensor can be used to detect the content of each component in the fuel.

[0062] In the embodiment of the present application, the concentration measurement value is the fuel concentration measured by the fuel concentration sensor. The concentration measurement value can be the fuel concentration directly measured by the fuel concentration sensor, or can be the average or weighted average of several consecutive fuel concentrations directly measured by the fuel concentration sensor.

[0063] In the embodiment of the present application, the concentration measurement value sequence is a sequence obtained by arranging the concentration measurement values ​​according to the detection time. That is, after each concentration measurement value is collected, the collected concentration measurement value is added to the first or last position in the concentration measurement value sequence to update the concentration measurement value sequence.

[0064] In the embodiment of the present application, since the concentration measurement value collected earlier has less impact on the subsequent concentration prediction value, it can be removed from the concentration measurement value sequence. If the fuel volume between the fuel concentration sensor and the injection port of the fuel injection device is called the target volume value; for each concentration measurement value in the concentration measurement value sequence, if the total volume of fuel injected by the fuel injection device after the concentration measurement value is detected to be several times (for example, 1 times, 2 times) of the target volume value, it can be removed from the concentration measurement value sequence. That is, the sequence length of the concentration measurement value sequence (that is, the number of concentration measurement values ​​in the sequence) can be determined according to the target volume value.

[0065] Step S320: Perform weighted summation on the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value, to obtain a concentration prediction value of the fuel to be injected; wherein the target concentration measurement value is selected from the concentration measurement value sequence based on the fuel injection amount of the fuel injection device and the target volume value of the fuel between the fuel concentration sensor and the injection port of the fuel injection device.

[0066] In the embodiment of the present application, the fuel to be injected may refer to the fuel that is about to be injected into the combustion chamber of the engine (such as the cylinder of a car engine) at the fuel injection device.

[0067] In the embodiment of the present application, the target concentration measurement value is the concentration measurement value obtained by the fuel concentration sensor for the fuel to be injected. Since there is a certain volume (i.e., the target volume value) of fuel between the fuel concentration sensor and the injection port of the fuel injection device, the fuel at the fuel concentration sensor will not immediately enter the engine combustion chamber, but will flow to the fuel injection device when the volume of fuel injected by the fuel injection device is close to the target volume value. If the total volume of fuel injected by the fuel injection device after a certain concentration measurement value is close to the target volume value, the concentration measurement value can be determined to be the target concentration measurement value corresponding to the fuel to be injected.

[0068] In the embodiment of the present application, the adjacent measurement value may be an adjacent measurement value in the concentration measurement value sequence that is close to the target concentration measurement value acquisition time. The adjacent measurement value is essentially the concentration measurement value of the fuel before and after the current fuel at the fuel concentration sensor.

[0069] In an embodiment of the present application, a predicted concentration value of the fuel to be injected is obtained by weighted summing the target concentration measurement value and the adjacent measurement value corresponding to the fuel to be injected. The weight values ​​corresponding to the target concentration measurement value and the adjacent measurement value can be obtained by experiments on the engine model and ambient temperature. If the time period between the two detection times corresponding to the adjacent measurement value and the target concentration measurement value is called the target time period, the smaller the total volume of fuel injected by the fuel injection device within the target time period, the larger the weight value corresponding to the adjacent measurement value. That is, in general, the closer the detection time of the adjacent measurement value and the target concentration measurement value, the larger the weight value corresponding to the adjacent measurement value. The reason why there is a difference between the target concentration measurement value and the actual value corresponding to the fuel to be injected is mainly that the fuels are mutually fused during the supply process, which results in the fuel concentrations of fuels that are closer to each other having a greater influence on each other, while the fuel concentrations of fuels that are farther away have a smaller influence.

[0070] In the embodiment of the present application, the concentration prediction value may be a corrected fuel concentration, which may be used for subsequent engine control.

[0071] In the embodiment of the present application, the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device is collected based on the fuel concentration sensor to obtain a concentration measurement value sequence; and the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​are weighted and summed to obtain the concentration prediction value of the fuel to be injected. Therefore, according to the characteristics of mutual dissolution of fuels during the supply process, the target concentration measurement value corresponding to the fuel to be injected is corrected using the adjacent measurement values ​​collected at a similar time to obtain the concentration prediction value of the fuel to be injected, thereby accurately calculating the fuel concentration at the fuel nozzle.

[0072] based on Figure 3The method in this specification also provides some specific implementation plans of the method, which are described below.

[0073] Optionally, collecting the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device to obtain a concentration measurement value sequence includes:

[0074] If the first accumulated amount of fuel injected by the fuel injection device reaches a preset volume threshold after each concentration measurement value is collected, the concentration measurement value of the fuel in the upstream pipeline is collected once to obtain the concentration measurement value sequence;

[0075] The method of performing weighted summation on the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​close to the target concentration measurement value in the concentration measurement value sequence to obtain the concentration prediction value of the fuel to be injected at the fuel injection device includes:

[0076] According to a preset weight value, the target concentration measurement value and the adjacent measurement value are weighted and summed to obtain the concentration prediction value of the fuel to be injected; the preset weight value corresponds to the relative position of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence. In an embodiment of the present application, the first accumulated fuel amount can be the total amount of fuel injected by the fuel injection device after each concentration measurement value is collected.

[0077] In the embodiment of the present application, the preset volume threshold can be set according to the target volume value between the fuel concentration sensor and the injection port of the fuel injection device. Specifically, the preset volume threshold can generally be set to: less than 1 / 3 or 1 / 5 of the target volume value, and greater than a single injection amount of the engine.

[0078] In the embodiment of the present application, collecting the concentration measurement value of the fuel in the upstream pipeline once may refer to directly detecting the fuel concentration through a fuel concentration sensor. In some cases, when the first cumulative fuel amount does not reach the preset volume threshold, the fuel concentration is detected multiple times, and the average value is used as the concentration measurement value.

[0079] In the embodiment of the present application, if the total amount of fuel injected by the fuel injection device after collecting the concentration measurement value is referred to as the second cumulative fuel amount corresponding to the concentration measurement value; the difference between the second cumulative fuel amount corresponding to the adjacent measurement value and the second cumulative fuel amount corresponding to the target concentration measurement value is referred to as the third cumulative fuel amount. The smaller the absolute value of the third cumulative fuel amount corresponding to the adjacent measurement value is, the closer the adjacent measurement value is to the target concentration measurement value, and the larger the corresponding weight value is; conversely, the smaller the corresponding weight value of the adjacent measurement value is.

[0080] In practical applications, temperature affects the viscosity of the fuel; as the temperature increases, the viscosity of the fuel decreases, the weight value corresponding to the target concentration measurement value decreases, the weight value corresponding to the adjacent measurement value with a smaller absolute value of the third cumulative fuel amount decreases, and the weight value corresponding to the adjacent measurement value with a larger absolute value of the third cumulative fuel amount increases; conversely, as the temperature decreases, the viscosity of the fuel increases, the weight value corresponding to the target concentration measurement value increases, the weight value corresponding to the adjacent measurement value with a smaller absolute value of the third cumulative fuel amount increases, and the weight value corresponding to the adjacent measurement value with a larger absolute value of the third cumulative fuel amount decreases.

[0081] In the embodiment of the present application, the third cumulative fuel amount corresponding to each concentration measurement value in the concentration measurement value sequence is close to an arithmetic progression with a preset volume threshold as a tolerance; therefore, the preset weight value corresponding to each adjacent measurement value can be set to a fixed value corresponding to the relative position of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence when the ambient temperature is constant, that is, the preset weight value corresponding to each adjacent measurement value corresponds to the difference between the sequence numbers of the target concentration measurement value and the adjacent measurement value. For example, when the ambient temperature is constant, the weight value corresponding to the adjacent measurement value located before the target concentration measurement value is a preset fixed value.

[0082] In an embodiment of the present application, if the first cumulative amount of fuel injected by the fuel injection device reaches a preset volume threshold after each concentration measurement value is collected, the concentration measurement value of the fuel is collected again; thereby, the fuel in the upstream pipeline is sampled according to the preset volume interval; thereby, the weight value corresponding to each adjacent measurement value can be determined according to the relative position of each adjacent measurement value and the target concentration measurement value in the concentration measurement value sequence (i.e., the difference in serial number), without the need to calculate the weight value corresponding to each adjacent measurement value according to the third cumulative fuel amount (i.e., the distance), thereby simplifying the calculation process of the weighted sum of the target concentration measurement value and its adjacent measurement values.

[0083] Optionally, if the first cumulative amount of fuel injected by the fuel injection device reaches a preset volume threshold after each concentration measurement value is collected, the concentration measurement value of the fuel in the upstream pipeline is collected once, including: if the first cumulative amount of fuel is greater than or equal to the preset volume threshold, the concentration measurement value is collected once; and / or, if the difference between the first cumulative amount of fuel and the preset volume threshold is less than a preset value, the concentration measurement value is collected once.

[0084] Optionally, collecting the concentration measurement value of the fuel in the upstream pipeline once to obtain the concentration measurement value sequence includes:

[0085] After collecting the concentration measurement value of the fuel in the upstream pipeline, adding the collected concentration measurement value to the first or last position in the concentration measurement value sequence, and deleting the concentration measurement value in the concentration measurement value sequence in a first-in-first-out manner;

[0086] Among them, the sequence length of the concentration measurement value sequence is fixedly set according to the ratio of the target volume value and the preset volume threshold; the concentration measurement values ​​in the concentration measurement value sequence are sorted according to the acquisition time; and the preset weight value corresponds to the sequence number of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence.

[0087] In the embodiment of the present application, the greater the absolute value of the third cumulative fuel amount corresponding to the adjacent measurement value, the farther it is from the target concentration measurement value, and the smaller the corresponding weight value. When the third cumulative fuel amount reaches a certain level, the influence of the corresponding fuel on the fuel to be injected approaches zero, and the weight value corresponding to the concentration measurement value is close to zero, and it can be removed from the concentration measurement value sequence.

[0088] In an embodiment of the present application, the sequence length of the concentration measurement value sequence may refer to the maximum number of concentration measurement values ​​in the concentration measurement value sequence. The sequence length is generally set to an integer greater than or equal to the ratio of the target volume value to the preset volume threshold. Further, the sequence length may be set to 1-2 times the ratio of the target volume value to the preset volume threshold. Assuming that the ratio of the target volume value to the preset volume threshold is n, the sequence length may be set to n, 2n-1, 2n, etc. Further, the ratio of the target volume value to the preset volume threshold may be set to a positive integer, such as 50.

[0089] In an embodiment of the present application, if the collected concentration measurement value is added to the first position in the concentration measurement value sequence, the concentration measurement value in the concentration measurement value sequence is shifted back one position, and the concentration measurement value with the earliest collection time in the concentration measurement value sequence is deleted in a first-in-first-out manner, the updated concentration measurement value sequence is obtained.

[0090] As described above, the preset weight value corresponding to each adjacent measurement value corresponds to the difference between the sequence numbers of the target concentration measurement value and the adjacent measurement value. If the collected concentration measurement value is added to the first position in the concentration measurement value sequence, the position (i.e., the sequence number) of the target concentration measurement value in the concentration measurement value sequence is fixed. If the collected concentration measurement value is added to the end of the concentration measurement value sequence, and the sequence length of the concentration measurement value sequence is set to a fixed value, the position (i.e., the sequence number) of the target concentration measurement value in the concentration measurement value sequence is also fixed. On this basis, the third cumulative fuel amount corresponding to the sequence number of the concentration measurement value sequence is fixed, that is, the preset weight value corresponds to the sequence number of the concentration measurement value sequence.

[0091] Table 1 shows the concentration measurement value sequence provided in the examples of the present application.

[0092] Serial number Concentration measurement value Preset weight value 1 C1 R1 2 C2 R2 … … … i Ci Ri … … … n Cn R

[0093] The sequence length of the concentration measurement value sequence in Table 1 is equal to the ratio n of the target volume value and the preset volume threshold. Ci is the concentration measurement value, 1<i<n; where C1 is the concentration measurement value with the most recent detection time, and Cn is the target concentration measurement value corresponding to the fuel to be injected. Ri is the preset weight value corresponding to each concentration measurement value Ci. Predicted concentration value In some cases, the preset weight values ​​corresponding to the concentration measurements satisfy:

[0094] In an embodiment of the present application, by setting the sequence length of the concentration measurement value sequence to a fixed value, the preset weight value can be set to a fixed value corresponding to the serial number of the concentration measurement value sequence, thereby eliminating the need to calculate the weight value corresponding to each adjacent measurement value each time, thereby simplifying the calculation process of the weighted sum of the target concentration measurement value and its adjacent measurement values.

[0095] Optionally, performing weighted summation on the target concentration measurement value and the adjacent measurement value according to a preset weight value to obtain the concentration prediction value of the fuel to be injected includes:

[0096] A convolution operation is performed on the concentration measurement value sequence according to a preset convolution kernel to obtain the concentration prediction value; the preset convolution kernel is trained with the concentration measurement value sequence as a sample and with the goal of minimizing the error of the output result of the convolution operation; the anchor point of the preset convolution kernel corresponds to the target concentration measurement value in the concentration measurement value sequence.

[0097] In the embodiment of the present application, each time after collecting the concentration measurement value and updating the concentration measurement value sequence, a convolution operation is performed on the concentration measurement value sequence according to a preset convolution kernel to obtain the concentration prediction value.

[0098] In an embodiment of the present application, the preset convolution kernel is a one-dimensional convolution kernel, that is, a weight vector obtained by arranging in order the preset weight values ​​corresponding to the target concentration measurement value and the adjacent measurement values.

[0099] In the embodiment of the present application, the concentration measurement value sequence as a sample may include each concentration measurement value collected during the entire fuel transition process.

[0100] In the embodiment of the present application, the concentration measurement value sequence is used as a sample, and the difference between the output result of the convolution operation and the actual fuel concentration is minimized, and the convolution kernel (i.e., the weight vector) of the convolution kernel is adjusted, and the preset convolution kernel is trained. The actual fuel concentration can be calculated by the oxygen sensor at the engine.

[0101] In an embodiment of the present application, the preset weight values ​​corresponding to the target concentration measurement value and the adjacent measurement value are regarded as convolution kernels, and the calculation process of the preset weight values ​​is transformed into a deep learning problem, thereby using existing deep learning methods to calculate the preset weight values, thereby improving the calculation accuracy of the preset weight values ​​and simplifying the calculation process of the preset weight values.

[0102] Optionally, the weighted summation of the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value to obtain the concentration prediction value of the fuel to be injected includes:

[0103] For each concentration measurement value in the concentration measurement value sequence, the total amount of fuel injected by the fuel injection device after the concentration measurement value is collected is calculated according to the fuel injection amount to obtain a second accumulated fuel amount corresponding to the concentration measurement value;

[0104] For each adjacent measurement value in the concentration measurement value sequence, the difference between the adjacent measurement value and the second accumulated fuel amount corresponding to the target concentration measurement value is calculated to obtain a third accumulated fuel amount corresponding to the adjacent measurement value;

[0105] Calculating a weight value corresponding to the adjacent measurement value according to a third accumulated fuel amount corresponding to the adjacent measurement value;

[0106] According to the weight value, the target concentration measurement value and the adjacent measurement value are weighted and summed to obtain the concentration prediction value of the fuel to be injected. In the embodiment of the present application, the second accumulated fuel amount can be the total amount of fuel injected by the fuel injection device after the concentration measurement value is collected, which can be calculated based on the fuel injection amount of the fuel injection device.

[0107] In the embodiment of the present application, the third cumulative fuel amount may be the difference between the second cumulative fuel amount corresponding to the proximity measurement value and the second cumulative fuel amount corresponding to the target concentration measurement value; the third cumulative fuel amount may be used to indicate the distance between the fuel targeted when the proximity measurement value is collected and the fuel to be injected in the upstream pipeline. The closer the distance between the fuels in the pipeline, the greater the mutual influence during the fuel fusion process.

[0108] In the embodiment of the present application, the greater the absolute value of the third accumulated fuel amount corresponding to the adjacent measurement value, the smaller the corresponding weight value. Conversely, the greater the corresponding weight value.

[0109] In the embodiment of the present application, the correspondence between the third cumulative fuel amount and the weight value can be obtained in advance through experimental measurement. The correspondence between the third cumulative fuel amount and the weight value can be fitted into a function curve. The correspondence between the third cumulative fuel amount and the weight value can correspond to the model of the engine.

[0110] In the embodiment of the present application, the third cumulative fuel amount is used to represent the distance between the fuel targeted when collecting the adjacent measurement value and the fuel to be injected; the third cumulative fuel amount corresponding to the adjacent measurement value is calculated to calculate the corresponding weight value, and then the target concentration measurement value and the adjacent measurement value are weighted and summed according to the weight value to obtain the concentration prediction value of the fuel to be injected. Therefore, there is no need to sample the fuel in the upstream pipeline according to the preset volume interval, which can allow the sampling frequency of the fuel concentration sensor to be increased, so as to improve the calculation accuracy of the concentration prediction value, and finally improve the combustion quality of the engine.

[0111] Optionally, collecting the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device includes:

[0112] If the time after the last concentration measurement value is collected reaches a preset time threshold, collecting a concentration measurement value of the fuel in the upstream pipeline;

[0113] or,

[0114] If the number of injections by the fuel injection device after the last concentration measurement value was collected reaches a preset number threshold, collecting a concentration measurement value of the fuel in the upstream pipeline;

[0115] The step of weighting and summing the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value also includes:

[0116] In the concentration measurement value sequence, a concentration measurement value corresponding to a second accumulated fuel amount closest to the target volume value is determined to obtain a target concentration measurement value corresponding to the fuel to be injected.

[0117] In the embodiment of the present application, the preset time threshold is generally greater than the time interval between two fuel injections. The preset number threshold can be set according to actual conditions, for example, 1 time, 3 times, 5 times, 10 times, etc.

[0118] In the embodiment of the present application, sampling is performed at fixed volume intervals, and the position of the target concentration measurement value in the concentration measurement value sequence is determined. In contrast, if sampling is performed at preset time intervals or at injection number intervals, the target concentration measurement value needs to be determined.

[0119] In the embodiment of the present application, the second cumulative fuel amount corresponding to each concentration measurement value is calculated, and then the concentration measurement value corresponding to the second cumulative fuel amount closest to the target volume value is determined, thereby accurately determining the target concentration measurement value corresponding to the fuel to be injected.

[0120] Optionally, after obtaining the concentration measurement value sequence, the method further includes:

[0121] calculating an average rate of change of concentration measurements in the sequence of concentration measurements;

[0122] The weighted summation of the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value to obtain the concentration prediction value of the fuel to be injected includes:

[0123] If the average change rate is greater than a preset threshold, a weighted sum is performed on the target concentration measurement value and the adjacent measurement values ​​to obtain a concentration prediction value of the fuel to be injected.

[0124] In the embodiment of the present application, the average change rate of the concentration measurement values ​​in the concentration measurement value sequence is calculated according to the first and last two concentration measurement values ​​in the concentration measurement value sequence.

[0125] In the embodiment of the present application, the preset threshold value can be freely set according to actual conditions, and the process of calculating the concentration prediction value can be started in a cycle before the mixed fuel of new and old fuels is injected into the combustion chamber of the engine.

[0126] In an embodiment of the present application, if the average rate of change is greater than a preset threshold, the target concentration measurement value is determined as a concentration prediction value of the fuel to be injected.

[0127] like Figure 2As shown, if a new fuel different from the original fuel in the fuel tank is added to the fuel tank, the concentration measurement value (green line) changes at a larger rate during the fuel transition process, and the change process of the concentration measurement value is earlier than the actual fuel concentration (purple line).

[0128] In the embodiment of the present application, when the average rate of change of the concentration measurement values ​​in the concentration measurement value sequence is greater than a preset threshold, it can be determined that new fuel has been added to the fuel tank and the transition process between the new and old fuels is about to begin; at this time, the process of calculating the concentration prediction value of the fuel to be injected is cyclically executed, and the concentration of the fuel to be injected can be corrected in time before the transition process between the new and old fuels begins. In addition, the fuel switching process accounts for a small proportion of the engine operating time, and when the average rate of change of the concentration measurement values ​​is greater than a preset threshold, the process of calculating the concentration prediction value is cyclically executed, which helps to reduce the computing resources required for the fuel concentration measurement process.

[0129] Optionally, after obtaining the predicted value of the concentration of the fuel to be injected, the method further includes:

[0130] Calculating a second average change rate of the concentration prediction value within a preset time period;

[0131] If the second average change rate is not greater than a second preset threshold, the target concentration measurement value is determined as the concentration prediction value of the fuel to be injected.

[0132] like Figure 2 As shown, after the transition between the new and old fuels is completed, the actual fuel concentration (purple line) changes at a smaller rate.

[0133] In an embodiment of the present application, the preset time period may be determined according to the time taken for the fuel transition process. For example, the preset time period may be set to 1 / 2 or 1 / 3 of the time taken for the fuel transition process.

[0134] In the embodiment of the present application, if the second average change rate is not greater than the second preset threshold, the step of calculating the concentration prediction value of the fuel to be injected according to the target concentration measurement value and the adjacent value is continued in a loop.

[0135] In an embodiment of the present application, if the second average change rate of the concentration prediction value within the preset time period is not greater than the second preset threshold value, it can be determined that the transition process between the new and old fuels has been completed; at this time, the process of cyclically executing the calculation of the concentration prediction value of the fuel to be injected can be stopped, and the concentration of the fuel to be injected can be corrected in time before the transition process between the new and old fuels starts, which helps to reduce the computing resources required for the fuel concentration measurement process.

[0136] Exemplary Devices

[0137] The device embodiments of the present application can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0138] Figure 4 FIG. 1 is a block diagram of a fuel concentration measuring device provided by an embodiment of the present application. Figure 4 As shown, the device 400 includes:

[0139] The acquisition module 410 is used to acquire the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device based on the fuel concentration sensor to obtain a concentration measurement value sequence;

[0140] The correction module 420 is used to perform weighted summation on the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value, so as to obtain a concentration prediction value of the fuel to be injected;

[0141] The target concentration measurement value is selected from a concentration measurement value sequence according to the fuel injection amount of the fuel injection device and a target volume value of the fuel between the fuel concentration sensor and the injection port of the fuel injection device.

[0142] Optionally, the acquisition module 410 may be configured to acquire a concentration measurement value of the fuel in the upstream pipeline once to obtain the concentration measurement value sequence if the first cumulative amount of fuel injected by the fuel injection device reaches a preset volume threshold after each concentration measurement value is acquired;

[0143] The correction module 420 can be used to perform weighted summation of the target concentration measurement value and the adjacent measurement value according to a preset weight value to obtain a concentration prediction value of the fuel to be injected; the preset weight value corresponds to the relative position of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence.

[0144] Optionally, the acquisition module 410 may be configured to, after acquiring the concentration measurement value of the fuel in the upstream pipeline, add the acquired concentration measurement value to the first or last position in the concentration measurement value sequence, and delete the concentration measurement value in the concentration measurement value sequence in a first-in-first-out manner;

[0145] Among them, the sequence length of the concentration measurement value sequence is fixedly set according to the ratio of the target volume value and the preset volume threshold; the concentration measurement values ​​in the concentration measurement value sequence are sorted according to the acquisition time; and the preset weight value corresponds to the sequence number of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence.

[0146] Optionally, the correction unit is used to perform a convolution operation on the concentration measurement value sequence according to a preset convolution kernel to obtain the concentration prediction value; the preset convolution kernel is a weight vector composed of preset weight values ​​corresponding to the target concentration measurement value and the adjacent measurement value; the preset convolution kernel is obtained by training with the concentration measurement value sequence as a sample; the anchor point of the preset convolution kernel corresponds to the target concentration measurement value in the concentration measurement value sequence.

[0147] Optionally, the correction module 420 may include:

[0148] A first fuel calculation unit, which can be used to calculate, for each concentration measurement value in the concentration measurement value sequence, the total amount of fuel injected by the fuel injection device after the concentration measurement value is collected according to the fuel injection amount, to obtain a second cumulative fuel amount corresponding to the concentration measurement value;

[0149] The second fuel calculation unit may be used to calculate, for each adjacent measurement value in the concentration measurement value sequence, a difference between the second cumulative fuel amount corresponding to the adjacent measurement value and the target concentration measurement value, to obtain a third cumulative fuel amount corresponding to the adjacent measurement value;

[0150] a weight calculation unit, configured to calculate a weight value corresponding to the adjacent measurement value according to a third accumulated fuel amount corresponding to the adjacent measurement value;

[0151] The concentration correction unit can be used to perform weighted summation on the target concentration measurement value and the adjacent measurement value according to a weight value to obtain a concentration prediction value of the fuel to be injected.

[0152] Optionally, the acquisition module 410 may be used to: acquire a concentration measurement value of the fuel in the upstream pipeline once if the time after the last concentration measurement value is acquired reaches a preset time threshold; or acquire a concentration measurement value of the fuel in the upstream pipeline once if the number of injections by the fuel injection device reaches a preset number threshold after the last concentration measurement value is acquired;

[0153] The correction module 420 may further include:

[0154] The target concentration determination unit may be used to determine the concentration measurement value corresponding to the second accumulated fuel amount closest to the target volume value in the concentration measurement value sequence, and obtain the target concentration measurement value corresponding to the fuel to be injected.

[0155] Optionally, the device further comprises:

[0156] a change rate calculation unit, which can be used to calculate the average change rate of the concentration measurement values ​​in the concentration measurement value sequence;

[0157] The correction module 420 is configured to perform a weighted summation on the target concentration measurement value and the adjacent measurement value if the average change rate is greater than a preset threshold.

[0158] Exemplary Electronic Devices

[0159] Below, reference Figure 5 To describe an electronic device according to an embodiment of the present application. Figure 5 A block diagram of an electronic device according to an embodiment of the present application is illustrated.

[0160] like Figure 5 As shown, electronic device 500 includes one or more processors 510 and memory 520 .

[0161] The processor 510 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.

[0162] The memory 520 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 510 may run the program instructions to implement the fuel concentration measurement method of each embodiment of the present application described above and / or other desired functions. Various contents such as category correspondences may also be stored in the computer-readable storage medium.

[0163] In one example, the electronic device 500 may further include: an input device 530 and an output device 540 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0164] Of course, to simplify, Figure 5 Only some of the components related to the present application in the electronic device 500 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 500 may also include any other appropriate components.

[0165] Example Vehicles

[0166] In addition to the above-mentioned method and device, an embodiment of the present application may also be an engine, including an engine body and the electronic device; the engine body includes a fuel concentration sensor and a fuel injection device.

[0167] Exemplary computer program products and computer-readable storage media

[0168] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the fuel concentration measurement method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.

[0169] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0170] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the method for measuring fuel concentration according to various embodiments of the present application described in the above “Exemplary Method” section of this specification.

[0171] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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 above.

[0172] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.

[0173] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.

[0174] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.

[0175] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0176] It should be understood that the qualifiers "first", "second", "third", "fourth", "fifth" and "sixth" used in the description of the embodiments of the present application are only used to more clearly explain the technical solutions and cannot be used to limit the scope of protection of the present application.

[0177] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for measuring fuel concentration, characterized in that: include: Based on the fuel concentration sensor, the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device is collected to obtain a concentration measurement value sequence; Performing weighted summation on the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value, to obtain a concentration prediction value of the fuel to be injected; The target concentration measurement value is selected from a concentration measurement value sequence according to the fuel injection amount of the fuel injection device and a target volume value of the fuel between the fuel concentration sensor and the injection port of the fuel injection device.

2. The method according to claim 1, characterized in that The step of collecting the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device to obtain a concentration measurement value sequence includes: If the first accumulated amount of fuel injected by the fuel injection device reaches a preset volume threshold after each concentration measurement value is collected, the concentration measurement value of the fuel in the upstream pipeline is collected once to obtain the concentration measurement value sequence; The method of performing weighted summation on the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​close to the target concentration measurement value in the concentration measurement value sequence to obtain the concentration prediction value of the fuel to be injected at the fuel injection device includes: According to a preset weight value, the target concentration measurement value and the adjacent measurement value are weighted and summed to obtain a concentration prediction value of the fuel to be injected; the preset weight value corresponds to the relative position of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence.

3. The method according to claim 2, characterized in that The collecting the concentration measurement value of the fuel in the upstream pipeline once to obtain the concentration measurement value sequence includes: After collecting the concentration measurement value of the fuel in the upstream pipeline, adding the collected concentration measurement value to the first or last position in the concentration measurement value sequence, and deleting the concentration measurement value in the concentration measurement value sequence in a first-in-first-out manner; Among them, the sequence length of the concentration measurement value sequence is fixedly set according to the ratio of the target volume value and the preset volume threshold; the concentration measurement values ​​in the concentration measurement value sequence are sorted according to the acquisition time; and the preset weight value corresponds to the sequence number of the target concentration measurement value and the adjacent measurement value in the concentration measurement value sequence.

4. The method according to claim 2, characterized in that: The step of performing weighted summation on the target concentration measurement value and the adjacent measurement value according to a preset weight value to obtain the concentration prediction value of the fuel to be injected includes: A convolution operation is performed on the concentration measurement value sequence according to a preset convolution kernel to obtain the concentration prediction value; the preset convolution kernel is a weight vector composed of preset weight values ​​corresponding to the target concentration measurement value and the adjacent measurement value; the preset convolution kernel is obtained by training with the concentration measurement value sequence as a sample; the anchor point of the preset convolution kernel corresponds to the target concentration measurement value in the concentration measurement value sequence.

5. The method according to claim 1, characterized in that The weighted summation of the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value to obtain the concentration prediction value of the fuel to be injected includes: For each concentration measurement value in the concentration measurement value sequence, the total amount of fuel injected by the fuel injection device after the concentration measurement value is collected is calculated according to the fuel injection amount to obtain a second accumulated fuel amount corresponding to the concentration measurement value; For each adjacent measurement value in the concentration measurement value sequence, the difference between the adjacent measurement value and the second accumulated fuel amount corresponding to the target concentration measurement value is calculated to obtain a third accumulated fuel amount corresponding to the adjacent measurement value; Calculating a weight value corresponding to the adjacent measurement value according to a third accumulated fuel amount corresponding to the adjacent measurement value; According to the weight value, the target concentration measurement value and the adjacent measurement value are weightedly summed to obtain the concentration prediction value of the fuel to be injected.

6. The method according to claim 5, characterized in that The step of collecting the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device comprises: If the time after the last concentration measurement value is collected reaches a preset time threshold, collecting a concentration measurement value of the fuel in the upstream pipeline; or, If the number of injections by the fuel injection device after the last concentration measurement value was collected reaches a preset number threshold, collecting a concentration measurement value of the fuel in the upstream pipeline; The step of weighting and summing the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value also includes: In the concentration measurement value sequence, a concentration measurement value corresponding to a second accumulated fuel amount closest to the target volume value is determined to obtain a target concentration measurement value corresponding to the fuel to be injected.

7. The method according to claim 1, characterized in that After obtaining the concentration measurement value sequence, the method further includes: Calculating an average rate of change of concentration measurements in the sequence of concentration measurements; The weighted summation of the target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and the adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value to obtain the concentration prediction value of the fuel to be injected includes: If the average change rate is greater than a preset threshold, a weighted sum is performed on the target concentration measurement value and the adjacent measurement values ​​to obtain a concentration prediction value of the fuel to be injected.

8. A fuel concentration measuring device, characterized in that: include: A collection module, used for collecting the concentration measurement value of the fuel in the upstream pipeline of the fuel injection device based on the fuel concentration sensor to obtain a concentration measurement value sequence; A correction module, configured to perform weighted summation on a target concentration measurement value corresponding to the fuel to be injected at the fuel injection device and adjacent measurement values ​​in the concentration measurement value sequence that are collected at a similar time to the target concentration measurement value, to obtain a concentration prediction value of the fuel to be injected; The target concentration measurement value is selected from a concentration measurement value sequence according to the fuel injection amount of the fuel injection device and a target volume value of the fuel between the fuel concentration sensor and the injection port of the fuel injection device.

9. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to execute the method according to any one of claims 1 to 7.

10. An engine, characterized in that: The invention comprises an engine body and the electronic device as claimed in claim 9; the engine body comprises a fuel concentration sensor and a fuel injection device.

11. A computer-readable storage medium having computer program instructions stored thereon, wherein when the computer program instructions are executed by a processor, the processor is enabled to perform the method according to any one of claims 1 to 7.