Disclosure of Invention
The invention provides a method for calculating air inflow and air inflow pressure of an engine aiming at the defects of the prior art.
The method for calculating the air inflow and the air inflow pressure of the engine comprises the steps of firstly, setting a crankshaft sensor for detecting the rotating speed information of the engine, a throttle position sensor for detecting the opening information of a throttle, an air inflow temperature sensor for detecting the air inflow temperature information, and an air inflow pressure sensor for detecting the ambient pressure and the air inflow pressure information, predicting the pressure ratio before and after the throttle according to the rotating speed of the engine and the opening of the throttle, setting the slope and intercept of the air inflow efficiency of a cylinder, setting the overflow area of the throttle according to the opening of the throttle, and setting the upstream pressure of the throttle according to the ambient pressure and the pressure drop parameter of an air filter;
and calculating the air mass flow at the current throttle valve, the air mass flow entering the cylinder and the intake pressure according to the engine speed information, the throttle opening information, the intake temperature information, the intake pressure information and the estimated pressure ratio before and after the throttle valve, the set inflation efficiency and intercept at the throttle valve, the slope and intercept of the inflation efficiency of the cylinder, the throttle valve flow area and the throttle valve upstream pressure.
In the method for calculating the air intake quantity and the air intake pressure of the engine, the ambient pressure is the pressure measured by the air intake pressure sensor before the engine is powered on but not started.
In the method for calculating the air intake quantity and the air intake pressure of the engine, the estimated pressure ratio PQ before and after the throttle valveNComprises the following steps:
wherein,
predicted post-throttle pressure, P, for the Nth engine event cycle
thrIs throttle upstream pressure; and is
Wherein,
is the intake pressure, P, at a time preceding the interval of one engine event cycle
im_DRV1
N-1Is composed of
The first derivative of (a) is,
intake pressure at a time immediately preceding the interval of two engine event cycles,P
im_DRV1
N-2Is composed of
The pressure measured by the intake pressure sensor before the engine is powered on but not started is taken as the initial value of the intake pressure;
at is defined as the engine event period, i.e., the time required for 720 degrees of engine crankshaft rotation at the corresponding speed divided by the total number of engine cylinders.
In the method for calculating the air intake quantity and the air intake pressure of the engine, the air intake pressure
Comprises the following steps:
when PQNWhen the content is less than or equal to 0.99:
<math><mrow><msubsup><mi>P</mi><mi>im</mi><mi>N</mi></msubsup><mo>=</mo><mfrac><mrow><msubsup><mi>P</mi><mi>im</mi><mrow><mi>N</mi><mo>-</mo><mn>1</mn></mrow></msubsup><mo>+</mo><mfrac><mi>Δt</mi><mn>2</mn></mfrac><mo>*</mo><msub><mi>P</mi><mi>im</mi></msub><mo>_</mo><msup><mrow><mi>DRV</mi><mn>1</mn></mrow><mrow><mi>N</mi><mo>-</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mi>Δt</mi><mn>2</mn></mfrac><msub><mi>MDL</mi><mn>0</mn></msub><mo>*</mo><mi>B</mi></mrow><mrow><mn>1</mn><mo>+</mo><mfrac><mi>Δt</mi><mn>2</mn></mfrac><msub><mi>MDL</mi><mn>0</mn></msub><mo>*</mo><mi>A</mi></mrow></mfrac></mrow></math>
when 0.99 < PQ
NWhen the ratio is less than 1:
when PQ
NWhen the ratio is more than or equal to 1:
the 0.083hPa is the selected calculated gradient value;
wherein, the MDL
0For a given number of gas constants,
T
imis the current intake air temperature, V
imIs the intake manifold volume;
wherein χ ═ 1.4 is the adiabatic coefficient of air, R
air287 joules per kilogram, constant volume specific heat capacity for air;
MDL11=Ared·MDL1wherein A isredThe throttle valve flow area corresponding to the currently detected throttle valve opening information;
wherein
As the slope of the throttle charging efficiency,
is the slope of the cylinder charging efficiency;
wherein
Is the intercept of the charging efficiency of the throttle valve,
is the intercept of the cylinder charge efficiency.
In the method for calculating the air intake quantity and the air intake pressure of the engine, the upstream pressure P of the throttle valvethrEqual to ambient pressure minus the pressure drop that occurs as air passes through the air cleaner.
In the method for calculating the air inflow and the air inflow pressure of the engine, the mass flow of the air entering the cylinder
Comprises the following steps:
<math><mrow><msubsup><mi>m</mi><mi>cyl</mi><mi>N</mi></msubsup><mo>=</mo><msubsup><mi>η</mi><mi>cyl</mi><mi>slop</mi></msubsup><mo>·</mo><msubsup><mi>P</mi><mi>im</mi><mi>N</mi></msubsup><mo>-</mo><msubsup><mi>η</mi><mi>cyl</mi><mi>ofs</mi></msubsup></mrow></math>
wherein,
as the slope of the current cylinder charging efficiency,
is the intercept of the current cylinder charge efficiency.
Is the current intake pressure.
In the method for calculating the air inflow and the air inflow pressure of the engine, the air mass flow at the throttle valve
Comprises the following steps:
when PQ > 0.99 is selected,
when PQ is less than or equal to 0.99,
according to the method for calculating the air inflow and the air inflow pressure of the engine, the pressure information of the air inlet manifold, the air mass flow information at the air throttle and the air mass flow information entering the cylinder are obtained in real time according to the environment where the current air inlet system is located, so that the subsequent oil injection amount can be calculated accurately, and the engine is guaranteed to be always in the optimal working state.
Detailed Description
The present invention is described in further detail below to enable those skilled in the art to practice the invention with reference to the description.
When the method for calculating the air inflow and the air inflow pressure of the engine is particularly applied to an Electronic Control Unit (ECU) of the engine, the rotating speed of the engine is defined as a variable N and the ambient pressure P
ampIs defined as variable AMP, throttle upstream pressure P
thrIs defined as variable PRS _ UP _ THR, throttle opening signal is defined as variable TPS, throttle flow area A
redDefined as a variable AR _ RED, a pre-throttle pressure ratio PQ defined as a variable PQ, a slope of throttle charging efficiency
Defined as the variable MAF _ FAC _ SLOP, intercept of throttle charging efficiency
Is defined as the variable MAF _ FAC _ OFS, mass air flow at throttle m
thrIs defined as the variable MAF _ THR, intake manifold volume V
imDefined as the variable VOL _ IM, intake pressure P
imSlope of cylinder charge efficiency defined as variable MAP
Defined as variable EFF _ VOL _ SLOP, intercept of cylinder charge efficiency
Defined as variable EFF _ VOL _ OFS, mass air flow into the cylinder m
cylIs defined as MAF _ CYL, intake air temperature T
imDefined as the variable TIA,.
When air flows through the air filter, corresponding pressure drop is caused according to different air flow rates, the pressure drop is a calibratable quantity, and pressure drop parameters AMP _ DEC of the air filter corresponding to different air inflow rates are stored in a calibration table IP _ AMP _ DEC.
The throttle valve flow area AR _ RED is a calibratable quantity, and calibration values corresponding to different throttle valve opening degrees are stored in a calibration table IP _ AR _ RED _ THR _ TPS.
The slope of the throttle charging efficiency MAF _ FAC _ SLOP is a calibratable amount, and a calibration for different pre-throttle and post-throttle pressure ratios PQ is stored in a calibration table IP _ MAF _ FAC _ SLOP _ PQ.
The intercept of the throttle charging efficiency, MAF _ FAC _ OFS, is a calibratable quantity, and is stored in a calibration table, IP _ MAF _ FAC _ OFS _ PQ, relative to calibration values of different pre-throttle and post-throttle pressure ratios, PQ.
The calibration tables IP _ MAF _ FAC _ SLOP _ PQ and IP _ MAF _ FAC _ OFSPQ use the same calibration break points.
The slope of the cylinder charge efficiency, EFF _ VOL _ SLOP, is a calibratable quantity, and is stored in a calibration table IP _ EFF _ VOL _ SLOP _ N relative to calibration values at different engine speeds N.
The intercept of the cylinder charge efficiency, EFF _ VOL _ OFS, is a calibratable quantity, and is stored in a calibration table IP _ EFF _ VOL _ OFS _ N relative to calibration values at different engine speeds N.
The calibration tables IP _ EFF _ VOL _ slope _ N and IP _ EFF _ VOL _ OFS _ N use the same calibration break point.
After the calibration of an engine is completed, an engine electronic control unit adopting the method can calculate the MASs air flow MAF _ THR at the throttle valve, the MASs air flow MAF _ CYL entering the cylinder and the intake air pressure MAP under different working conditions according to an engine rotating speed signal N measured by a crankshaft sensor, a throttle opening signal TPS measured by a throttle opening sensor, an intake air temperature signal TIA measured by an intake air temperature sensor and a pressure signal MAP _ MAS measured by an intake air pressure sensor. The calculation steps are as follows:
step 1, after the engine is powered on, the variable AMP is assigned with the pressure signal MAP _ MES collected by the intake pressure sensor as the ambient pressure, and this value is also used as the initial value of the intake pressure.
And 2, starting after the engine is started, interpolating a calibration table IP _ AMP _ DEC by an engine electronic control unit according to a preset frequency, calculating a throttle upstream pressure PRS _ UP _ THR (PRS _ UP _ THR is AMP-AMP _ DEC), estimating a throttle pressure after the throttle according to a rotating speed signal N acquired by a crankshaft sensor and an initial intake pressure value, calculating a throttle front-back pressure ratio PQ, and interpolating the calibration table IP _ AR _ RED _ THR _ TPS according to a throttle opening signal TPS to obtain a throttle overflow area AR _ RED.
Step 4, interpolating a calibration table IP _ MAF _ FAC _ SLOP _ PQ and an IP _ MAF _ FAC _ OFS _ PQ by an engine electronic control unit according to the pressure ratio PQ before and after the throttle valve to obtain a slope MAF _ FAC _ SLOP and an intercept MAF _ FAC _ OFS of the throttle valve charging efficiency;
step 5, the engine electronic control unit interpolates the calibration tables IP _ EFF _ VOL _ SLOP _ N and IP _ EFF _ VOL _ OFS _ N according to the engine rotating speed N to obtain the slope EFF _ VOL _ SLOP and the intercept EFF _ VOL _ OFS of the cylinder inflation efficiency;
step 6, an engine electronic control unit calculates an intake pressure MAP according to the engine speed N, the intake manifold volume VOL _ IM, the throttle valve overflow area AR _ RED, the intake air temperature TIA collected by an intake air temperature sensor, the slope MAF _ FAC _ SLOP and the intercept MAF _ FAC _ OFS of the throttle valve charging efficiency, and the slope EFF _ VOL _ SLOP and the intercept EFF _ VOL _ OFS of the cylinder charging efficiency;
step 7, an engine electronic control unit calculates the mass air flow MAF _ CYL entering the cylinder according to the intake pressure MAP, the slope EFF _ VOL _ SLOP and the intercept EFF _ VOL _ OFS of the cylinder charging efficiency;
in step 8, the engine electronic control unit calculates the mass air flow MAF _ THR at the inlet and outlet throttle according to the inlet air temperature TIA, the throttle valve flow area AR _ RED, the throttle valve upstream pressure PRS _ UP _ THR, the inlet air pressure MAP, the slope MAF _ FAC _ SLOP of the throttle valve charging efficiency and the intercept MAF _ FAC _ OFS.
In the method for calculating the air inflow and the air inflow pressure of the engine, the air inflow pressure, the air mass flow entering the cylinder and the air mass flow information at the throttle valve can be expressed by the following formulas:
according to the principle of conservation of the air inflow in the air intake manifold, an ideal gas equation is established as follows:
<math><mrow><mfrac><mo>∂</mo><msub><mo>∂</mo><mi>t</mi></msub></mfrac><mfrac><mrow><msub><mi>P</mi><mi>im</mi></msub><msub><mi>V</mi><mi>im</mi></msub></mrow><mrow><msub><mi>R</mi><mi>air</mi></msub><msub><mi>T</mi><mi>im</mi></msub></mrow></mfrac><mo>=</mo><msub><mi>m</mi><mi>thr</mi></msub><mo>-</mo><msub><mi>m</mi><mi>out</mi></msub></mrow></math>equation 1
Wherein the air flow at the throttle valve is mthrI.e. mass air flow into the intake manifold, air flow out of the intake manifold mcylI.e. the mass flow of air into the cylinder, TimIs the intake air temperature.
Intake manifold pressure was modeled as:
<math><mrow><mfrac><mo>∂</mo><msub><mo>∂</mo><mi>t</mi></msub></mfrac><msub><mi>P</mi><mi>im</mi></msub><mo>=</mo><mfrac><mrow><msub><mi>R</mi><mi>air</mi></msub><msub><mi>T</mi><mi>im</mi></msub></mrow><msub><mi>V</mi><mi>im</mi></msub></mfrac><mrow><mo>(</mo><msub><mi>m</mi><mi>thr</mi></msub><mo>-</mo><msub><mi>m</mi><mi>cyl</mi></msub><mo>)</mo></mrow></mrow></math>equation 2
In formula 2, R
air287 joules per kilogram, air constant volume specific heat capacity, conveniently expressed by the following formula, will
Abbreviated as P
im_DRV1。
To calculate the intake manifold pressure, it is necessary to linearize the throttle air flow characteristic and determine the slope of its linear equation
And intercept
To realize the linear equation, the pressure ratio PQ before and after the throttle valve must be estimated:
equation 3
Wherein the throttle back pressure
The estimation formula of (c) is:
<math><mrow><msubsup><mi>P</mi><mi>estim</mi><mi>N</mi></msubsup><mo>=</mo><msubsup><mi>P</mi><mi>im</mi><mrow><mi>N</mi><mo>-</mo><mn>1</mn></mrow></msubsup><mo>+</mo><mfrac><mi>Δt</mi><mn>2</mn></mfrac><mo>·</mo><mrow><mo>(</mo><msub><mi>P</mi><mi>im</mi></msub><mo>_</mo><msup><mrow><mi>DRV</mi><mn>1</mn></mrow><mrow><mi>N</mi><mo>-</mo><mn>1</mn></mrow></msup><mo>+</mo><msub><mi>P</mi><mi>im</mi></msub><mo>_</mo><msup><mrow><mi>DRV</mi><mn>1</mn></mrow><mrow><mi>N</mi><mo>-</mo><mn>2</mn></mrow></msup><mo>)</mo></mrow></mrow></math>equation 4
Where Δ t is the engine event period, i.e., the time required for 720 degrees of engine crankshaft rotation at the corresponding speed divided by the total number of engine cylinders.
For the estimated post-throttle pressure for the nth engine event cycle,
is the intake pressure, P, at a time preceding the interval of one engine event cycle
im_DRV1
N-1Is composed of
The first derivative of (a) is,
intake pressure, P, at a time preceding the interval of two engine event cycles
im_DRV1
N-2Is composed of
The pressure measured by the intake pressure sensor before the engine is powered up but not started is taken as the initial value of the intake pressure.
If estimated
Then get
Here 0.083hPa is a calculated gradient value taken empirically.
For air at the throttleThe relationship between the flow rate and the intake air temperature is set as the following 2 intermediate variables MDL1And MDL11Respectively is as follows:
wherein χ ═ 1.4 is the adiabatic coefficient of air,
Rair287 joules per kilogram, constant specific heat capacity for air, TimIs the current intake air temperature;
MDL11=Ared·MDL1wherein A isredThe throttle valve flow area corresponding to the currently detected throttle valve opening information;
for the convenience of formula expression, 2 abbreviations a and B are set, which respectively represent:
wherein
As the slope of the current throttle charging efficiency,
the slope of the current cylinder charging efficiency;
wherein
Is the intercept of the current throttle charging efficiency,
intercept, P, of current cylinder charging efficiency
thrIs the throttle upstream pressure.
When PQNWhen the content is less than or equal to 0.99:
<math><mrow><msubsup><mi>P</mi><mi>im</mi><mi>N</mi></msubsup><mo>=</mo><mfrac><mrow><msubsup><mi>P</mi><mi>im</mi><mrow><mi>N</mi><mo>-</mo><mn>1</mn></mrow></msubsup><mo>+</mo><mfrac><mi>Δt</mi><mn>2</mn></mfrac><mo>*</mo><msub><mi>P</mi><mi>im</mi></msub><mo>_</mo><msup><mrow><mi>DRV</mi><mn>1</mn></mrow><mrow><mi>N</mi><mo>-</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mi>Δt</mi><mn>2</mn></mfrac><msub><mi>MDL</mi><mn>0</mn></msub><mo>*</mo><mi>B</mi></mrow><mrow><mn>1</mn><mo>+</mo><mfrac><mi>Δt</mi><mn>2</mn></mfrac><msub><mi>MDL</mi><mn>0</mn></msub><mo>*</mo><mi>A</mi></mrow></mfrac></mrow></math>equation 5
Wherein the MDL
0For a given number of gas constants,
V
imis the intake manifold volume.
When 0.99 < PQNWhen the ratio is less than 1:
equation 6
When PQNWhen the ratio is more than or equal to 1:
equation 7
The mass flow of air entering the cylinder is:
<math><mrow><msubsup><mi>m</mi><mi>cyl</mi><mi>N</mi></msubsup><mo>=</mo><msubsup><mi>η</mi><mi>cyl</mi><mi>slop</mi></msubsup><mo>·</mo><msubsup><mi>P</mi><mi>im</mi><mi>N</mi></msubsup><mo>-</mo><msubsup><mi>η</mi><mi>cyl</mi><mi>ofs</mi></msubsup></mrow></math>equation 8
Mass flow m of air entering the throttlethrComprises the following steps:
when PQ > 0.99:
equation 9;
when PQ is less than or equal to 0.99:
<math><mrow><msubsup><mi>m</mi><mi>thr</mi><mi>N</mi></msubsup><mo>=</mo><msub><mi>MDL</mi><mn>11</mn></msub><mo>*</mo><mrow><mo>(</mo><msubsup><mi>η</mi><mi>thr</mi><mi>ofs</mi></msubsup><mo>*</mo><msub><mi>P</mi><mi>thr</mi></msub><mo>-</mo><msubsup><mi>η</mi><mi>thr</mi><mi>slop</mi></msubsup><mo>*</mo><msubsup><mi>P</mi><mi>im</mi><mi>N</mi></msubsup><mo>)</mo></mrow></mrow></math>equation 10
The method for calculating the air inflow and the air inflow pressure of the engine is simple to realize, accurate in result, easy to realize and integrate through programming based on hardware such as a sensor, a single chip microcomputer and the like, and has good application and development prospects under the great trend of rapid development of domestic automobile technology.
While embodiments of the invention have been described above, it is not limited to the applications set forth in the description and the embodiments, which are fully applicable in various fields of endeavor to which the invention pertains, and further modifications may readily be made by those skilled in the art, it being understood that the invention is not limited to the details shown and described herein without departing from the general concept defined by the appended claims and their equivalents.