# Patent

## Title
System and method for improving fuel delivery accuracy by learning and compensating for fuel injector characteristics

## Abstract

A fuel control system according to the principles of the present disclosure includes a parameter determination module, a parameter learning module, and an injector driver module. The parameter determination module determines a parameter of a fuel injector in an engine at an operating condition of the engine. The parameter learning module identifies index values in a table based on the engine operating condition and adjusts learned values of the fuel injector parameter corresponding to the index values based on the determined value of the fuel injector parameter. The injector driver module selectively applies power to the fuel injector based on the learned values.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is related to U.S. patent application Ser. No. 14/242,001 filed on Apr. 1, 2014, Ser. No. 14/242,058 filed on Apr. 1, 2014 and Ser. No. 14/231,807 filed on Apr. 1, 2014. The entire disclosure of the above applications are incorporated herein by reference.
FIELD
The present application relates to internal combustion engines, and more particularly, to systems and methods for improving fuel delivery accuracy by learning and compensating for fuel injector characteristics.
BACKGROUND
The background description provided here is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent it is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the present disclosure.
Air is drawn into an engine through an intake manifold. A throttle valve and/or engine valve timing controls airflow into the engine. The air mixes with fuel from one or more fuel injectors to form an air/fuel mixture. The air/fuel mixture is combusted within one or more cylinders of the engine. Combustion of the air/fuel mixture may be initiated by, for example, spark provided by a spark plug.
Combustion of the air/fuel mixture produces torque and exhaust gas. Torque is generated via heat release and expansion during combustion of the air/fuel mixture. The engine transfers torque to a transmission via a crankshaft, and the transmission transfers torque to one or more wheels via a driveline. The exhaust gas is expelled from the cylinders to an exhaust system.
An engine control module (ECM) controls the torque output of the engine. The ECM may control the torque output of the engine based on driver inputs. The driver inputs may include, for example, accelerator pedal position, brake pedal position, and/or one or more other suitable driver inputs.
SUMMARY
A fuel control system according to the principles of the present disclosure includes a parameter determination module, a parameter learning module, and an injector driver module. The parameter determination module determines a parameter of a fuel injector in an engine at an operating condition of the engine. The parameter learning module identifies index values in a table based on the engine operating condition and adjusts learned values of the fuel injector parameter corresponding to the index values based on the determined value of the fuel injector parameter. The injector driver module selectively applies power to the fuel injector based on the learned values.
A fuel control method according to the principles of the present disclosure includes determining a parameter of a fuel injector in an engine at an operating condition of the engine and identifying index values in a table based on the engine operating condition. The method further includes adjusting learned values of the fuel injector parameter corresponding to the index values based on the determined value of the fuel injector parameter and selectively applying power to the fuel injector based on the learned values.
Further areas of applicability of the present disclosure will become apparent from the detailed description, the claims and the drawings. The detailed description and specific examples are intended for purposes of illustration only and are not intended to limit the scope of the disclosure.



BRIEF DESCRIPTION OF THE DRAWINGS
The present disclosure will become more fully understood from the detailed description and the accompanying drawings, wherein:
FIG. 1 is a functional block diagram of an example direct injection engine system;
FIG. 2 is a functional block diagram of an example fuel control system including a portion of an engine control module;
FIG. 3 is an example graph of voltage and current of a fuel injector, and various parameters determined based on the voltage for an injection event;
FIG. 4 is a flowchart depicting an example method of determining various parameters for a fuel injection event of a fuel injector;
FIG. 5 is a flowchart depicting an example method of controlling fueling for a fuel injection event of the fuel injector;
FIG. 6A is a flowchart depicting an example method of learning a characteristic of the fuel injector;
FIGS. 6B, 7A, 7B, 7C, and 7D are example tables illustrating characteristics of the fuel injector at various engine operating conditions.



In the drawings, reference numbers may be reused to identify similar and/or identical elements.
DETAILED DESCRIPTION
An engine combusts a mixture of air and fuel within cylinders to generate drive torque. A throttle valve regulates airflow into the engine. Fuel is injected by fuel injectors. Spark plugs may generate spark within the cylinders to initiate combustion. Intake and exhaust valves of a cylinder may be controlled to regulate flow into and out of the cylinder.
The fuel injectors receive fuel from a fuel rail. A high pressure fuel pump receives fuel from a low pressure fuel pump and pressurizes the fuel within the fuel rail. The low pressure fuel pump draws fuel from a fuel tank and provides fuel to the high pressure fuel pump. The fuel injectors inject fuel directly into the cylinders of the engine.
Different fuel injectors, however, may have different opening and closing characteristics. For example, fuel injectors from different fuel injector manufacturers may have different opening and closing characteristics. Even fuel injectors from the same fuel injector manufacturer, however, may have different opening and closing characteristics. Example opening and closing characteristics include, for example, opening period and closing period. The opening period of a fuel injector may refer to the period between a first time when power is applied to the fuel injector to open the fuel injector and a second time when the fuel injector actually opens in response to the application of power. The closing period of a fuel injector may refer to the period between a first time when power is removed from the fuel injector to close the fuel injector and a second time when the fuel injector reaches a fully closed state in response to the removal of power.
The present application involves determining various parameters based on a difference between voltages at first and second electrical conductors of a fuel injector. More specifically, parameters that track second, third, and fourth (order) derivatives of the difference are determined using a plurality of sums and differences. An engine control module (ECM) determines characteristics of the fuel injector based on these parameters. The ECM controls application of power to the fuel injector based on the characteristics of the fuel injector.
The ECM determines the fuel injector characteristics at various engine operating conditions, such as at various fuel rail pressures and at various desired pulse widths, and stores the fuel injector characteristics. Then, when an engine operating condition is encountered a second time, the ECM controls application of power to the fuel injector based on the stored fuel injector characteristics. When a vehicle is new, the ECM stores predetermined values of the fuel injector characteristics across the engine operating range. Then, over the life of the vehicle, the ECM adjusts the stored values of the fuel injector characteristics at an engine operating condition based on the determined values of the fuel injector characteristics at or near the engine operating condition. This process of adjusting the stored values of the fuel injector characteristics over time may be referred to as learning the fuel injector characteristics.
Some learning systems intrusively force an engine to specific operating conditions in order to learn fuel injector characteristics at the engine operating conditions. In contrast, the system and method of the present application learns fuel, injector characteristics at engine operating conditions that are close in proximity to the engine operating condition at which the fuel injector characteristics are determined. Thus, the system and method avoids the use of intrusive methods, reduces the time required to learn fuel injector characteristics, and minimizes the likelihood of encountering an engine operating condition that has no learn information available. Further, the system and method continuously adjusts learned values over the life of the vehicle, which increases the fueling accuracy over the engine operating range.
Referring now to FIG. 1, a functional block diagram of an example engine system 100 for a vehicle is presented. The engine system 100 includes an engine 102 that combusts an air/fuel mixture to produce drive torque for the vehicle. While the engine 102 will be discussed as a spark ignition direct injection (SIDI) engine, the engine 102 may include another type of engine. One or more electric motors and/or motor generator units (MGUs) may be provided with the engine 102.
Air is drawn into an intake manifold 106 through a throttle valve 108. The throttle valve 108 may vary airflow into the intake manifold 106. For example only, the throttle valve 108 may include a butterfly valve having a rotatable blade. An engine control module (ECM) 110 controls a throttle actuator module 112 (e.g., an electronic throttle controller or ETC), and the throttle actuator module 112 controls opening of the throttle valve 108.
Air from the intake manifold 106 is drawn into cylinders of the engine 102. While the engine 102 may include more than one cylinder, only a single representative cylinder 114 is shown. Air from the intake manifold 106 is drawn into the cylinder 114 through an intake valve 118. One or more intake valves may be provided with each cylinder.
The ECM 110 controls fuel injection into the cylinder 114 via a fuel injector 121. The fuel injector 121 injects fuel, such as gasoline, directly into the cylinder 114. The fuel injector 121 is a solenoid type, direct injection fuel injector. Solenoid type, direct injection fuel injectors are different than port fuel injection (PFI) injectors and piezo electric fuel injectors. The ECM 110 may control fuel injection to achieve a desired air/fuel ratio, such as a stoichiometric air/fuel ratio. A fuel injector may be provided for each cylinder.
The injected fuel mixes with air and creates an air/fuel mixture in the cylinder 114. Based upon a signal from the ECM 110, a spark actuator module 122 may energize a spark plug 124 in the cylinder 114. A spark plug may be provided for each cylinder. Spark generated by the spark plug 124 ignites the air/fuel mixture.
The engine 102 may operate using a four-stroke cycle or another suitable operating cycle. The four strokes, described below, may be referred to as the intake stroke, the compression stroke, the combustion stroke, and the exhaust stroke. During each revolution of a crankshaft (not shown), two of the four strokes occur within the cylinder 114. Therefore, two crankshaft revolutions are necessary for the cylinders to experience all four of the strokes.
During the intake stroke, air from the intake manifold 106 is drawn into the cylinder 114 through the intake valve 118. Fuel injected by the fuel injector 121 mixes with air and creates an air/fuel mixture in the cylinder 114. One or more fuel injections may be performed during a combustion cycle. During the compression stroke, a piston (not shown) within the cylinder 114 compresses the air/fuel mixture. During the combustion stroke, combustion of the air/fuel mixture drives the piston, thereby driving the crankshaft. During the exhaust stroke, the byproducts of combustion are expelled through an exhaust valve 126 to an exhaust system 127.
A low pressure fuel pump 142 draws fuel from a fuel tank 146 and provides fuel at low pressures to a high pressure fuel pump 150. While only the fuel tank 146 is shown, more than one fuel tank 146 may be implemented. The high pressure fuel pump 150 further pressurizes the fuel within a fuel rail 154. The fuel injectors of the engine 102, including the fuel injector 121, receive fuel via the fuel rail 154. Low pressures provided by the low pressure fuel pump 142 are described relative to high pressures provided by the high pressure fuel pump 150.
The low pressure fuel pump 142 may be an electrically driven pump. The high pressure fuel pump 150 may be a variable output pump that is mechanically driven by the engine 102. A pump actuator module 158 may control output of the high pressure fuel pump 150 based on signals from the ECM 110. The pump actuator module 158 may also control operation (e.g., ON/OFF state) of the low pressure fuel pump 142.
The engine system 100 includes a fuel pressure sensor 176. The fuel pressure sensor 176 measures a pressure of the fuel in the fuel rail 154. The engine system 100 may include one or more other sensors 180. For example, the other sensors 180 may include one or more other fuel pressure sensors, a mass air flowrate (MAF) sensor, a manifold absolute pressure (MAP) sensor, an intake air temperature (IAT) sensor, a coolant temperature sensor, an oil temperature sensor, a crankshaft position sensor, and/or one or more other suitable sensors.
Referring now to FIG. 2, a functional block diagram of an example fuel control system including an example portion of the ECM 110 is presented. A fueling module 204 determines target fuel injection parameters 208 for a fuel injection event of the fuel injector 121. For example, the fueling module 204 may determine a target mass of fuel for the fuel injection event and a target starting timing for the fuel injection event. The fueling module 204 may determine the target mass of fuel, for example, based on a target air/fuel ratio (e.g., stoichiometry) and an expected mass of air within the cylinder 114 for the fuel injection event. One or more fuel injection events may be performed during a combustion cycle of the cylinder 114.
A pulse width module 212 determines an initial (fuel injection) pulse width 216 for the fuel injection event based on the target mass of fuel. The pulse width module 212 may determine the initial pulse width 216 further based on pressure of the fuel within the fuel rail 154 and/or one or more other parameters. The initial pulse width 216 corresponds to a period to apply power to the fuel injector 121 during the fuel injection event to cause the fuel injector 121 to inject the target mass of fuel under the operating conditions.
Different fuel injectors, however, may have different closing periods, opening periods, opening magnitudes, and other characteristics. The closing period of a fuel injector may refer to the period between: a first time when power is removed from the fuel injector to close the fuel injector; and a second time when the fuel injector actually becomes closed and stops injecting fuel. Fuel injectors with longer closing periods will inject more fuel than fuel injectors with shorter closing periods despite all of the fuel injectors being controlled to inject the same amount of fuel.
The opening period of a fuel injector may refer to the period between: a first time when power is applied to the fuel injector to open the fuel injector; and a second time when the fuel injector actually becomes open and begins injecting fuel. Fuel injectors with longer opening periods will inject less fuel than fuel injectors with shorter opening periods despite all of the fuel injectors being controlled to inject the same amount of fuel. The opening magnitude of a fuel injector may correspond to how much the fuel injector opens for a fuel injection event.
An adjusting module 220 adjusts the initial pulse width 216 based on one or more injector parameters 222 determined for the fuel injector 121 to produce a final pulse width 224. The adjustment of the initial pulse width 216 may include lengthening or shortening the initial pulse width 216 to determine the final pulse width 224, such as by advancing or retarding a beginning of the pulse and/or advancing or retarding an ending of the pulse. Determination of the final pulse width 224 and the injector parameters 222 is described in detail below.
An injector driver module 236 determines a target current profile (not shown) based on the final pulse width 224. The injector driver module 236 applies high and low voltages to first and second electrical connectors of the fuel injector 121 via high and low side lines 240 and 244 to achieve the target current profile through the fuel injector 121 for the fuel injection event.
The injector driver module 236 may generate the high and low voltages using reference and boost voltages 248 and 252. The reference and boost voltages 248 and 252 may be direct current (DC) voltages. A reference voltage module 256 provides the reference voltage 248, for example, based on a voltage of a battery (not shown) of the vehicle. A DC/DC converter module 260 boosts (increases) the reference voltage 248 to generate the boost voltage 252.
A voltage measuring module 261 measures the high voltage at the first electrical connector of the fuel injector 121 and generates a high side voltage 262 based on the voltage at the first electrical conductor. The voltage measuring module 261 also measures the low voltage at the second electrical connector of the fuel injector 121 and generates a low side voltage 263 based on the voltage at the second electrical conductor. The voltage measuring module 261 measures the high and low voltages relative to a ground reference potential.
A voltage difference module 264 generates a voltage difference 268 based on a difference between the low side voltage 263 and the high side voltage 262. For example, the voltage difference module 264 may set the voltage difference 268 equal to the low side voltage 263 minus the high side voltage 262. For another example, the voltage difference module 264 may set the voltage difference 268 equal to the high side voltage 262 minus the low side voltage 263. The voltage difference module 264 samples the low side voltage 263 and the high side voltage 262 and generates values of the voltage difference 268 based on a predetermined sampling rate. A filter, such as a low pass filter (LPF) or another suitable type of filter, may be implemented to filter the voltage difference 268. An analog to digital converter (ADC) may also be implemented such that the voltage difference 268 includes corresponding digital values.
A first summer module 272 determines a first sum 276 by summing the last N values of the voltage difference 268. N is an integer greater than one. For example only, N may be 8 or another suitable value. The first summer module 272 updates the first sum 276 every N sampling periods such that the first sum 276 is updated each time that N new values of the voltage difference 268 have been received.
A second summer module 280 determines a second sum 284 by summing the last M values of the first sum 276. M is an integer greater than one. For example only, M may be 10 or another suitable value. The second summer module 280 updates the second sum 284 each time the first sum 276 is updated.
A third summer module 288 determines a third sum 292 by summing the last M values of the second sum 284. The third summer module 288 updates the third sum 292 each time the second sum 284 is updated. A fourth summer module 296 determines a fourth sum 300 by summing the last M values of the third sum 292. The fourth summer module 296 updates the fourth sum 300 each time the third sum 292 is updated. A fifth summer module 304 determines a fifth sum 308 by summing the last M values of the fourth sum 300. The fifth summer module 304 updates the fifth sum 308 each time the fourth sum 300 is updated. While the example of calculating the first-fifth sums 276, 284, 292, 300, and 308 is shown and discussed, two or more sums may be determined, and a greater or lesser number of summer modules may be implemented. The first summer module 272 reduces sampling errors and jitter and also reduces the number of later computations necessary. The other summer modules provide shape preserving filters. Also, while the second-fifth summer modules are each discussed as using M values, one or more of the second-fifth summer modules may use a different number of previous values.
A first difference module 312 determines a first difference 316 based on a difference between the fifth sum 308 and a previous (e.g., last) value of the fifth sum 308. A second difference module 320 determines a second difference 324 based on a difference between the first difference 316 and a previous (e.g., last) value of the first difference 316.
A third difference module 328 determines a third difference 332 based on a difference between the second difference 324 and a previous (e.g., last) value of the second difference 324. A fourth difference module 336 determines a fourth difference 340 based on a difference between the third difference 332 and a previous (e.g., last) value of the third difference 332.
The first difference 316 corresponds to and has the same shape as a first derivative (d/dt) of the voltage difference 268. The second difference 324 corresponds to and has the same shape as a second derivative (d2/dt2) of the voltage difference 268. The third difference 332 corresponds to and has the same shape as a third derivative (d3/dt3) of the voltage difference 268. The fourth difference 340 corresponds to and has the same shape as a fourth derivative (d4/dt4) of the voltage difference 268.
Additionally, minimum and maximum values of the first difference 316 occur at the same times as minimum and maximum values of the first derivative (d/dt) of the voltage difference 268. Minimum and maximum values of the second difference 324 also occur at the same times as minimum and maximum values of the second derivative (d2/dt2) of the voltage difference 268. Minimum and maximum values of the third difference 332 also occur at the same times as minimum and maximum values of the (d3/dt3) of the voltage difference 268. However, calculation of first-fourth derivatives is less computationally efficient than calculating the first-fourth differences 316, 324, 332, and 340, as discussed above. Since the first-fourth differences 316, 324, 332, and 340 are determined at a predetermined rate, the first-fourth differences 316, 324, 332, and 340 are an accurate representative of the first-fourth derivatives. Additionally, using sums instead of averages reduces computational complexity and maintains the shape of the input signal.
While the example of calculating the first-fourth differences 316, 324, 332, and 340 has been discussed, two or more differences may be determined, and a greater or lesser number of difference modules may be implemented. Also, while the example is discussed in terms of use of the voltage difference 268, the present application is applicable to identifying changes in other signals.
A parameter determination module 344 determines the injector parameters 222 for the fuel injector 121 based on the voltage difference 268 and the third and fourth differences 332 and 340. The parameter determination module 344 may determine the injector parameters 222 additionally or alternatively based on one or more other parameters.
A parameter learning module 346 stores learned values 348 of the injector parameters 222 at certain engine operating conditions and adjusts the learned values 348 when the injector parameters 222 are determined at or near the engine operating conditions. The engine operating conditions may include the final pulse width 224 used for a fuel injection event and a pressure of the fuel provided to the fuel injector 121 for the fuel injection event. The parameter learning module 346 may adjust the learned values 348 of the injector parameters 222 over a period such as the life of the vehicle. In this regard, the parameter learning module 346 learns the injector parameters 222. The adjusting module 220 adjusts the initial pulse width 216 based on the learned values 348 of the injector parameters 222 to produce the final pulse width 224.
FIG. 3 includes a graph including example traces of the voltage difference 268, current 350 through the fuel injector 121, the third difference 332, the fourth difference 340 and fuel flow 352 versus time for a fuel injection event. Referring now to FIGS. 2 and 3, the injector driver module 236 applies a pulse to the fuel injector 121 from time 354 until time 358 for the fuel injection event. Current flows through the fuel injector 121 based on the application of the pulse to the fuel injector 121, as illustrated by 350.
The period between when the injector driver module 236 ends the pulse and when the fuel injector 121 reaches a fully closed state may be referred to as the closing period of the fuel injector 121. A first zero crossing of the fourth difference 340 that occurs after the injector driver module 236 ends the pulse may correspond to the time when the fuel injector 121 reaches the fully closed state. In FIG. 3, the fourth difference 340 first crosses zero at approximately time 362. The closing period of the fuel injector 121 therefore corresponds to the period between time 358 and time 362 in FIG. 3. The parameter determination module 344 determines the closing period of the fuel injector 121 based on the period between the time that the injector driver module 236 ends the pulse for a fuel injection event and the time that the fourth difference 340 first crosses zero after the end of the pulse.
The third difference 332 reaches a minimum value at the first zero crossing of the fourth difference 340. The minimum value of the third difference 332 is indicated by 366 in FIG. 3. The third difference 332 reaches a maximum value at a second zero crossing of the fourth difference 340 that occurs after the injector driver module 236 ends the pulse. In FIG. 3, the second zero crossing of the fourth difference 340 occurs at approximately time 370, and the maximum value of the third difference 332 is indicated by 374.
In various implementations, a first predetermined offset may be applied to the first zero crossing to identify the minimum value of the third difference 332 and/or a second predetermined offset may be applied to the second zero crossing to identify the maximum value of the third difference 332. For example, the minimum value of the third difference 332 may occur the first predetermined offset before or after the first zero crossing of the fourth difference 340 and/or the maximum value of the third difference 332 may occur the second predetermined offset before or after the second zero crossing of the fourth difference 340. The application of the first and/or second predetermined offsets may be performed to better correlate with the minimum and maximum values of the third difference 332.
The parameter determination module 344 determines an opening magnitude of the fuel injector 121 based on a difference between the minimum value 366 of the third difference 332 and the maximum value 374 of the third difference 332.
Based on the closing period of the fuel injector 121 and the opening magnitude of the fuel injector 121, the length of pulses applied to the fuel injector 121 can be adjusted such that the fuel injector 121 will as closely as possible inject the same amount of fuel as other fuel injectors, despite manufacturing differences between the fuel injectors. Adjustments are determined and applied for each fuel injector. Without the adjustments, the differences between the fuel injectors may cause the fuel injectors to inject different amounts of fuel.
The parameter determination module 344 may determine a closing period delta for the fuel injector 121 based on a difference between the closing period of the fuel injector 121 and a predetermined closing period. The predetermined closing period may be calibrated based on the closing periods of a plurality of fuel injectors. For example only, the parameter determination module 344 may set the closing period delta based on or equal to the predetermined closing period minus the closing period of the fuel injector 121.
The parameter determination module 344 may determine a closing period compensation value based on the closing period delta and a closing period adjustment value. For example only, the parameter determination module 344 may set the closing period compensation value based on or equal to a product of the closing period delta and the closing period adjustment value. The parameter determination module 344 may determine the closing period adjustment value based on the final pulse width 224 used for a fuel injection event and a fuel pressure 380 of the fuel injection event. The parameter determination module 344 may determine the closing period adjustment value, for example, using one of a function and a mapping that relates the final pulse width 224 and the fuel pressure 380 to the closing period adjustment value. The fuel pressure 380 corresponds to a pressure of the fuel provided to the fuel injector 121 for the fuel injection event and may be, for example, measured using the fuel pressure sensor 176.
The parameter determination module 344 may determine an opening period adjustment value for the fuel injector 121 based on the final pulse width 224 used for a fuel injection event and a predetermined pulse width for the fuel injection event. For example only, the parameter determination module 344 may set the opening period adjustment value based on a difference between the final pulse width 224 for the fuel injection event and the predetermined pulse width for the fuel injection event. The parameter determination module 344 may, for example, set the opening period adjustment value based on or equal to the final pulse width 224 for the fuel injection event minus the predetermined pulse width for the fuel injection event.
The parameter determination module 344 may determine the predetermined pulse width for the fuel injection event based on the opening magnitude of the fuel injector 121 and the fuel pressure 380 for the fuel injection event. Determination of the opening magnitude of the fuel injector 121 is discussed above. The parameter determination module 344 may determine the predetermined pulse width, for example, using one of a function and a mapping that relates the opening magnitude and the fuel pressure 380 to the predetermined pulse width.
As stated above, the adjusting module 220 adjusts the initial pulse width 216 for a fuel injection event based on one or more of the injector parameters 222 to determine the final pulse width 224 for the fuel injection event. For example only, the adjusting module 220 may set the final pulse width 224 based on the initial pulse width 216, the opening period compensation value, and the closing period compensation value. The adjusting module 220 may set the final pulse width 224, for example, using one of a function and a mapping that relates the initial pulse width 216, the opening period compensation value, and the closing period compensation value to the final pulse width 224. For example only, the adjusting module 220 may set the final pulse width 224 equal to or based on a sum of the initial pulse width 216, the opening period compensation value, and the closing period compensation value. While the above example is discussed in terms of the fuel injector 121, a respective opening period compensation value and a respective closing period compensation value may be determined and used for each fuel injector.
FIG. 4 is a flowchart depicting an example method of determining the first-fifth sums 276, 284, 292, 300, and 308 and the first-fourth differences 316, 324, 332, and 340 for determining the closing period, the closing period compensation value, and the opening period compensation value for a fuel injection event of the fuel injector 121. Control may begin with 404 where the parameter determination module 344 determines whether the injector driver module 236 has stopped applying a pulse to the fuel injector 121 for the fuel injection event. If 404 is true, the parameter determination module 344 may start a timer, and control continues with 408. If 404 is false, control may remain at 404.
At 408, the voltage difference module 264 samples the high and low side voltages 262 and 263 and generates a value of the voltage difference 268 based on the samples. The parameter determination module 344 may also reset a sample counter value at 408. At 412, the parameter determination module 344 determines whether the sample counter value is less than N. As described above, N is the number of values used by the first summer module 272 to determine the first sum 276. If 412 is true, control may return to 408. If 412 is false, control continues with 416.
At 416, the first summer module 272 determines the first sum 276 based on the last N values of the voltage difference 268. The second summer module 280 determines the second sum 284 based on the last M values of the first sum 276. The third summer module 288 determines the third sum 292 based on the last M values of the second sum 284. The fourth summer module 296 determines the fourth sum 300 based on the last M values of the third sum 292. The fifth summer module 304 determines the fifth sum 308 based on the last M values of the fourth sum 300.
Also at 416, the first difference module 312 determines the first difference 316 between the fifth sum 308 and the last value of the fifth sum 308. The second difference module 320 determines the second difference 324 between the first difference 316 and the last value of the first difference 316. The third difference module 328 determines the third difference 332 between the second difference 324 and the last value of the second difference 324. The fourth difference module 336 determines the fourth difference 340 between the third difference 332 and the last value of the third difference 332. The parameter determination module 344 also increments an update counter value and resets the sample counter value at 416.
At 420, the parameter determination module 344 determines whether the update counter value is less than a predetermined value. If 420 is true, control returns to 408. If 420 is false, control continues with 424. The predetermined value is calibratable and is set based on the number of samples of the voltage difference 268 necessary to fill all of the following modules with new values: the first summer module 272, the second summer module 280, the third summer module 288, the fourth summer module 296, the fifth summer module 304, the first difference module 312, the second difference module 320, the third difference module 328, and the fourth difference module 336. For example only, based on the example of FIG. 2, the predetermined value may be set to greater than or equal to:

(N*M)+Q(N*(M−1))+N*R,

where N is the number of samples used by the first summer module 272, M is the number of samples used by the second, third, fourth, and fifth summer modules 280, 288, 296, and 304 (in the example where the same number of samples are used), Q is the number of summer modules implemented that update their outputs each time the first summer module 272 updates the first sum 276, and R is the number of difference modules implemented. In the example of FIG. 2, Q equals 4 (for the second, third, fourth, and fifth summer modules 280, 288, 296, and 304), and R equals 4 (for the first, second, third, and fourth difference modules 312, 320, 328, and 336).

At 424, the parameter determination module 344 may monitor the fourth difference 340 for the first zero crossing. The parameter determination module 344 may identify the minimum value of the third difference 332 as the value of the third difference 332 occurring at the first zero crossing of the fourth difference 340. The parameter determination module 344 may also monitor the fourth difference for the second zero crossing. The parameter determination module 344 may identify the maximum value of the third difference 332 as the value of the third difference 332 occurring at the second zero crossing of the fourth difference 340. While not explicitly shown, control continues to generate samples of the voltage difference 268 and to update the first, second, third, fourth, and fifth sums 276, 284, 292, 300, and 308 and the first, second, third, and fourth differences 316, 324, 332, and 340 at 424 to determine the minimum and maximum values of the third difference 332.
The parameter determination module 344 may determine closing period of the fuel injector 121 at 428. The parameter determination module 344 may determine the closing period of the fuel injector 121 based on the timer value at the first zero crossing of the fourth difference 340.
The parameter determination module 344 may also determine the opening period compensation value and the closing period compensation value for the fuel injector 121 at 428. The parameter determination module 344 determines the opening magnitude of the fuel injector 121 based on a difference between the minimum value of the third difference 332 and the maximum value of the third difference 332. The parameter determination module 344 may determine the closing period delta for the fuel injector 121 based on a difference between the closing period of the fuel injector 121 and the predetermined closing period. For example only, the parameter determination module 344 may set the closing period delta based on or equal to the predetermined closing period minus the closing period of the fuel injector 121.
The parameter determination module 344 may determine the closing period compensation value based on the closing period delta and a closing period adjustment value. For example only, the parameter determination module 344 may set the closing period compensation value based on or equal to a product of the closing period delta and the closing period adjustment value. The parameter determination module 344 may determine the closing period adjustment value for the fuel injection event based on the final pulse width 224 used for a fuel injection event and the fuel pressure 380 for the fuel injection event. The parameter determination module 344 may determine the closing period adjustment value, for example, using one of a function and a mapping that relates the final pulse width 224 and the fuel pressure 380 to the closing period adjustment value.
The parameter determination module 344 may determine the opening period adjustment value for the fuel injector 121 based on the final pulse width 224 used for the fuel injection event and the predetermined pulse width for the fuel injection event. For example only, the parameter determination module 344 may set the opening period adjustment value based on a difference between the final pulse width 224 for the fuel injection event and the predetermined pulse width for the fuel injection event. The parameter determination module 344 may, for example, set the opening period adjustment value based on or equal to the final pulse width 224 for the fuel injection event minus the predetermined pulse width for the fuel injection event.
The parameter determination module 344 may determine the predetermined pulse width for the fuel injection event based on the opening magnitude of the fuel injector 121 and the fuel pressure 380 for the fuel injection event. The parameter determination module 344 may determine the predetermined pulse width, for example, using one of a function and a mapping that relates the opening magnitude and the fuel pressure 380 to the opening period adjustment value.
As stated above, the closing period compensation value and the opening period compensation value can be used to adjust the initial pulse width 216 determined for future fuel injection events.
FIG. 5 is a flowchart depicting an example method of controlling fueling for a fuel injection event of the fuel injector 121. Control may begin with 504 where the pulse width module 212 determines the initial pulse width 216 for a fuel injection event of the fuel injector 121. The pulse width module 212 may determine the initial pulse width 216 based on the target mass determined for the fuel injection event, which may be determined based on a target air/fuel mixture and a mass of air expected to be within the cylinder 114.
At 508, the adjusting module 220 adjusts the initial pulse width 216 based on the opening period compensation value and the closing period compensation value to produce the final pulse width 224. For example, the adjusting module 220 may set the final pulse width 224 equal to or based on a sum of the initial pulse width 216, the opening period compensation value, and the closing period compensation value. At 512, the injector driver module 236 applies power to the fuel injector 121 based on the final pulse width 224. The application of power to the fuel injector 121 should cause the fuel injector 121 to open and inject fuel for the fuel injection event.
FIG. 6A is a flowchart depicting an example method of learning characteristics of the fuel injector 121. The learned characteristics of the fuel injector 121 may include the opening period delta and/or the closing period delta. At 602, the method determines a characteristic of the fuel injector 121 at first and second engine operating conditions. For example, the parameter determination module 344 may determine the opening or closing period delta of the fuel injector 121 at the final pulse width 224 used for a fuel injection event and the fuel pressure 380 of the fuel injection event.
At 604, the method identifies a first set of index values in a table that are nearest in magnitude to the first operating condition. For example, the parameter learning module 346 may identify the first set of index values in a column 606 of a table 608 that are nearest in magnitude to the final pulse width 224. The first set of index values may include a first pulse width 610 and a second pulse width 612. The first pulse width 610 may be less than or equal to the final pulse width 224. The second pulse width 612 may be greater than or equal to the final pulse width 224.
At 614, the method identifies a second set of index values in a table that are nearest in magnitude to the second operating condition. For example, the parameter learning module 346 may identify the second set of index values in a row 616 of the table 608 that are nearest in magnitude to the fuel pressure 380. The second set of index values may include a first fuel pressure 618 and a second fuel pressure 620. The first fuel pressure 618 may be less than or equal to the fuel pressure 380. The second fuel pressure 620 may be greater than or equal to the fuel pressure 380.
Although FIG. 6B shows only two index values in the column 606 and two index values in the row 616, the table 608 may include a greater number of index values in the column 606 and a greater number of index values in the row 616. In addition, the parameter learning module 346 may identify more than two index values or less than two index values that are nearest in magnitude the engine operating condition(s) at which the fuel injector characteristic is determined.
At 622, the method adjusts learned values of the fuel injector characteristic stored in cells of the table corresponding to the first and second sets of index values based on the new value of the fuel injector characteristic determined at 602. For example, the parameter learning module 346 may adjust learned values stored in cells 624, 626, 628, and 630 based on the new value and the proximity of the first and second operating conditions to the first and second sets of index values. The learned value stored in the cell 624 corresponds to the first pulse width 610 and the first fuel pressure 618. The learned value stored in the cell 626 corresponds to the first pulse width 610 and the second fuel pressure 620. The learned value stored in the cell 628 corresponds to the second pulse width 612 and the first fuel pressure 618. The learned value stored in the cell 630 corresponds to the second pulse width 612 and the second fuel pressure 620.
The parameter learning module 346 may adjust the learned value stored in the cell 624 using a relationship such as

624ADJ=(624CRNT*(1−(618*610)))+(618*610*New Value*Scalar),

where 624ADJ is the adjusted value of the cell 624, 624CRNT is the current value of the cell 624, 618 is the first fuel pressure 618, 610 is the first pulse width 610, New Value is the new value of the fuel injector characteristic determined at 602, and Scalar is a learn scalar. The parameter learning module 346 adjusts the learned values stored in the cells 624, 626, 628, and 630 at a rate that is based on the learn scalar. The learn scalar may be predetermined based on the amount of variation in the fuel injector characteristic from one fuel injector to another fuel injector. For example, the learn scalar may be decreased if the variation in the fuel injector characteristic is high and vice versa.

The parameter learning module 346 may adjust the learned value stored in the cell 626 using a relationship such as

626ADJ=(626CRNT*(1−(620*610)))+(620*610*New Value*Scalar),

where 626ADJ is the adjusted value of the cell 626, 626CRNT is the current value of the cell 626, 620 is the second fuel pressure 620, 610 is the first pulse width 610, New Value is the new value of the fuel injector characteristic determined at 602, and Scalar is the learn scalar.

The parameter learning module 346 may adjust the learned value stored in the cell 628 using a relationship such as

628ADJ=(628CRNT*(1−(618*612)))+(618*612*New Value*Scalar),

where 628ADJ is the adjusted value of the cell 628, 628CRNT is the current value of the cell 628, 618 is the first fuel pressure 618, 612 is the second pulse width 612, New Value is the new value of the fuel injector characteristic determined at 602, and Scalar is the learn scalar.

The parameter learning module 346 may adjust the learned value stored in the cell 630 using a relationship such as

630ADJ=(630CRNT*(1−(620*612)))+(620*612*New Value*Scalar),

where 630ADJ is the adjusted value of the cell 630, 630CRNT is the current value of the cell 630, 620 is the second fuel pressure 620, 612 is the second pulse width 612, New Value is the new value of the fuel injector characteristic determined at 602, and Scalar is the learn scalar.

Thus, the parameter learning module 346 may adjust the learned values stored in the cells 624, 626, 628, and 630 when the final pulse width 224 is at or near the pulse widths 610 and 612 and the fuel pressure 380 is at or near the fuel pressures 618 and 620. Then, in a future fuel injection event, the initial pulse width 216 may be at or near the pulse widths 610 and 612 and the fuel pressure 380 may be at or near the fuel pressures 618 and 620. When this occurs, the adjustment module 220 may adjust the initial pulse width 216 based on the adjusted learn values stored in the cells 624, 626, 628, and 630 to produce the final pulse width 224. For example, the adjustment module 220 may determine the fuel injector characteristic based on the learned values stored in the cells 624, 626, 628, and 630 using interpolation, and adjust the initial pulse width 216 based on the fuel injector characteristic to produce the final pulse width 224.
Although the method of FIG. 6A is depicted as ending after 622, the parameter determination module 344 may continue to determine new values of the fuel injector characteristic and the parameter learning module 346 may continue to adjust the learned values of the fuel injector characteristic based on the new values. When the vehicle is new, the parameter learning module 346 may store predetermined values of the fuel injector characteristic in the table 608 across the operating range of the engine 102. Then, over the life of the vehicle, the parameter learning module 346 may adjust the values stored in the table 608 based on new values of the fuel injector characteristic to obtain the learned values of the fuel injector characteristic. The parameter learning module 346 may reset the learned values of the fuel injector characteristics to the predetermined values when power is disconnected from the ECM 110.
FIGS. 7A and 7B illustrate an example of adjusting learned values of a fuel characteristic stored in a table 700 using the method of FIG. 6A. The fuel characteristic is the closing period delta of the fuel injector 121. The table 700 includes a column 702 containing fuel pressures in megapascals (MPa) and a row 704 containing pulse widths in millisecond (ms). Closing period deltas 706 corresponding to the fuel pressures in the column 702 and the pulse widths in the row 704 are stored in the table 700
In this example, the parameter determination module 344 determines a closing period delta of 3.0 when the fuel pressure 380 is 9 MPa and the final pulse width 224 is 0.55. The current value of the closing period delta when the fuel pressure 380 is 9 MPa and the final pulse width 224 is 0.55 may be determined based on the closing period deltas 706 in the table 700 of FIG. 7A using interpolation. To this end, the current value of the closing period delta at these engine operating conditions is 3.5.
Thus, the current value of the closing period delta at the engine operating conditions is 3.5, while the new value of the closing period delta at the engine operating conditions is 3.0. The closing period deltas 706 are then adjusted using a learn scalar of 1. The adjusted value of the closing period deltas 706 when the fuel pressure 380 is 9 MPa and the final pulse width 224 is 0.55 may be determined based on the closing period deltas 706 in the table 700 of FIG. 7B using interpolation. To this end, the adjusted value of the closing period delta at these engine operating conditions is 3.375.
Thus, instead of adjusting the closing period delta at the engine operating conditions from 3.0 to 3.5 in a single iteration, the parameter learning module 346 incrementally adjusts the closing period delta at the engine operating condition from 3.0 to 3.375. The magnitude of this incremental adjustment may be decreased by decreasing the learn scalar. If the new value of the closing period delta at these engine operating conditions continues to be 3.0, the closing period delta determined based on the values in the table 700 using interpolation will continue to decrease to 3.0.
FIGS. 7C and 7D illustrate an example of adjusting learned values of a fuel characteristic stored in a table 750 using the method of FIG. 6A. The fuel characteristic is the closing period delta of the fuel injector 121. The table 750 includes a column 752 containing fuel pressures in megapascals (MPa) and a row 754 containing pulse widths in millisecond (ms). Closing period deltas 756 corresponding to the fuel pressures in the column 752 and the pulse widths in the row 754 are stored in the table 750
In this example, the parameter determination module 344 determines a closing period delta of 3.5 when the fuel pressure 380 is 9 MPa and the final pulse width 224 is 0.55. The current value of the closing period delta when the fuel pressure 380 is 9 MPa and the final pulse width 224 is 0.55 may be determined based on the closing period deltas 756 in the table 750 of FIG. 7C using interpolation. To this end, the current value of the closing period delta at these engine operating conditions is 3.0.
Thus, the current value of the closing period delta at the engine operating conditions is 3.0, while the new value of the closing period delta at the engine operating conditions is 3.5. The closing period deltas 756 are then adjusted using a learn scalar of 0.1. The adjusted value of the closing period deltas 756 when the fuel pressure 380 is 9 MPa and the final pulse width 224 is 0.55 may be determined based on the closing period deltas 756 in the table 750 of FIG. 7B using interpolation. To this end, the adjusted value of the closing period delta at these engine operating conditions is 3.0125.
Thus, instead of adjusting the closing period delta at the engine operating conditions from 3.0 to 3.5 in a single iteration, the parameter learning module 346 incrementally adjusts the closing period delta at the engine operating conditions from 3.0 to 3.0125. The magnitude of this incremental adjustment may be increased by increasing the learn scalar. If the new value of the closing period delta at these engine operating conditions continues to be 3.5, the closing period delta determined based on the values in the table 700 using interpolation will continue to increase to 3.5.
In both the example of FIGS. 7A and 7B and the example of FIGS. 7C and 7D, the difference between current value of the closing period delta and the new value of the closing period delta is 0.5. However, the learn scalar is 1 in the example of FIGS. 7A and 7B, while the learn scalar is 0.1 in the example of FIGS. 7C and 7D. Thus, the closing period delta is adjusted by 0.375 in the example of FIGS. 7A and 7B, while the closing period delta is adjusted by only 0.0125 in the example of FIGS. 7C and 7D.
The foregoing description is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. The broad teachings of the disclosure can be implemented in a variety of forms. Therefore, while this disclosure includes particular examples, the true scope of the disclosure should not be so limited since other modifications will become apparent upon a study of the drawings, the specification, and the following claims. As used herein, the phrase at least one of A, B, and C should be construed to mean a logical (A or B or C), using a non-exclusive logical OR. It should be understood that one or more steps within a method may be executed in different order (or concurrently) without altering the principles of the present disclosure.
In this application, including the definitions below, the term module may be replaced with the term circuit. The term module may refer to, be part of, or include an Application Specific Integrated Circuit (ASIC); a digital, analog, or mixed analog/digital discrete circuit; a digital, analog, or mixed analog/digital integrated circuit; a combinational logic circuit; a field programmable gate array (FPGA); a processor (shared, dedicated, or group) that executes code; memory (shared, dedicated, or group) that stores code executed by a processor; other suitable hardware components that provide the described functionality; or a combination of some or all of the above, such as in a system-on-chip.
The term code, as used above, may include software, firmware, and/or microcode, and may refer to programs, routines, functions, classes, and/or objects. The term shared processor encompasses a single processor that executes some or all code from multiple modules. The term group processor encompasses a processor that, in combination with additional processors, executes some or all code from one or more modules. The term shared memory encompasses a single memory that stores some or all code from multiple modules. The term group memory encompasses a memory that, in combination with additional memories, stores some or all code from one or more modules. The term memory may be a subset of the term computer-readable medium. The term computer-readable medium does not encompass transitory electrical and electromagnetic signals propagating through a medium, and may therefore be considered tangible and non-transitory. Non-limiting examples of a non-transitory tangible computer readable medium include nonvolatile memory, volatile memory, magnetic storage, and optical storage.
The apparatuses and methods described in this application may be partially or fully implemented by one or more computer programs executed by one or more processors. The computer programs include processor-executable instructions that are stored on at least one non-transitory tangible computer readable medium. The computer programs may also include and/or rely on stored data.

## Claims

1. A fuel control system for a vehicle, comprising:
a parameter determination module that determines a parameter of a fuel injector in an engine at a current value of an operating condition of the engine, wherein the engine operating condition includes a desired pulse width of a fuel injection event;
a parameter learning module that:
identifies multiple index values of the engine operating condition in a table, wherein at least one of the index values is different than the current value of the engine operating condition; and
adjusts learned values of the fuel injector parameter corresponding to the index values based on the determined value of the fuel injector parameter; and

an injector driver module that selectively applies power to the fuel injector based on the learned values.

2. The fuel control system of claim 1 wherein the parameter learning module adjusts the learned values further based on a proximity of the current value of the engine operating condition to the index values.

3. The fuel control system of claim 1 wherein the parameter learning module adjusts the learned values further based on initial magnitudes of the learned values before the learned values are adjusted, the index values, and a learn scalar.

4. The fuel control system of claim 1 wherein:
the parameter learning module identifies a set of index values of the engine operating condition that are nearest in magnitude to the current value of the engine operating condition;
the set of index values includes a first index value of the engine operating condition that is greater than the current value of the engine operating condition;
the set of index values includes a second index value of the engine operating condition that is less than the current value of the engine operating condition; and
the parameter learning module adjusts the learned values of the fuel injector parameter corresponding to the first and second index values.

5. The fuel control system of claim 1 wherein:
the engine operating condition includes a first operating condition and a second operating condition;
the parameter learning module identifies a first set of index values of the first operating condition in the table that are nearest in magnitude to the current value of the first operating condition;
the parameter learning module identifies a second set of index values of the second operating condition in the table that are nearest in magnitude to the current value of the second operating condition; and
the parameter learning module adjusts the learned values of the fuel injector parameter corresponding to the first and second sets of index values.

6. The fuel control system of claim 5 wherein:
the first operating condition is a pressure of fuel provided to the fuel injector for the fuel injection event; and
the second operating condition is the desired pulse width of the fuel injection event.

7. The fuel control system of claim 1 further comprising:
a pulse width module that determines an initial pulse width to apply to the fuel injector for a fuel injection event based on a target mass of fuel; and
an adjustment module that adjusts initial pulse width based on the learned values of the engine operating condition to produce a final pulse width,
wherein the injector driver module selectively applies power to the fuel injector for the fuel injection event based on the final pulse width.

8. A fuel control system for a vehicle, comprising:
a parameter determination module that determines a parameter of a fuel injector in an engine at an operating condition of the engine;
a parameter learning module that:
identifies index values in a table based on the engine operating condition; and
adjusts learned values of the fuel injector parameter corresponding to the index values based on the determined value of the fuel injector parameter;

a voltage measuring module that measures first and second voltages at first and second electrical connectors of the fuel injector;
a first difference module that determines a first difference based on a difference between the first and second voltages;
a second difference module that determines a second difference between (i) the first difference and (ii) a previous value of the first difference;
a third difference module that determines a third difference between (i) the second difference and (ii) a previous value of the second difference; and
an injector driver module that selectively applies power to the fuel injector based on the learned values and the third difference.

9. The fuel control system of claim 8 wherein:
the parameter determination module determines a closing period of the fuel injector based on a period between a first time when the injector driver module ends a pulse for a fuel injection event and a second time corresponding to a minimum value of the third difference;
the parameter determination module determines a closing period delta of the fuel injector based on a difference between the closing period of the fuel injector and a predetermined closing period; and
the fuel injector parameter includes the closing period delta of the fuel injector.

10. The fuel control system of claim 8 wherein:
the parameter determination module determines an opening magnitude of the fuel injector based on a difference between minimum and maximum values of the third difference;
the parameter determination module determines a predetermined pulse width for a fuel injection event based on the opening magnitude;
the parameter determination module determines an opening period delta of the fuel injector based on a difference between a final pulse width for the fuel injection event and the predetermined pulse width for the fuel injection event; and
the fuel injector parameter includes the opening period delta of the fuel injector.

11. A fuel control method for a vehicle, comprising:
determining a parameter of a fuel injector in an engine at a current value of an operating condition of the engine, wherein the engine operating condition includes a desired pulse width of a fuel injection event;
identifying multiple index values of the engine operating condition in a table, wherein at least one of the index values is different than the current value of the engine operating condition;
adjusting learned values of the fuel injector parameter corresponding to the index values based on the determined value of the fuel injector parameter; and
selectively applying power to the fuel injector based on the learned values.

12. The fuel control method of claim 11 further comprising adjusting the learned values further based on a proximity of the current value of the engine operating condition to the index values.

13. The fuel control method of claim 11 further comprising adjusting the learned values further based on initial magnitudes of the learned values before the learned values are adjusted, the index values, and a learn scalar.

14. The fuel control method of claim 11 further comprising:
identifying a set of index values of the engine operating condition that are nearest in magnitude to the current value of the engine operating condition, wherein:
the set of index values includes a first index value of the engine operating condition that is greater than the current value of the engine operating condition; and
the set of index values includes a second index value of the engine operating condition that is less than the current value of the engine operating condition; and

adjusting the learned values of the fuel injector parameter corresponding to the first and second index values.

15. The fuel control method of claim 11 wherein the engine operating condition includes a first operating condition and a second operating condition, the fuel control method further comprising:
identifying a first set of index values of the first operating condition in the table that are nearest in magnitude to the current value of the first operating condition;
identifying a second set of index values of the second operating condition in the table that are nearest in magnitude to the current value of the second operating condition; and
adjusting the learned values of the fuel injector parameter corresponding to the first and second sets of index values.

16. The fuel control method of claim 15 wherein:
the first operating condition is a pressure of fuel provided to the fuel injector for the fuel injection event; and
the second operating condition is the desired pulse width of the fuel injection event.

17. The fuel control method of claim 11 further comprising:
determining an initial pulse width to apply to the fuel injector for a fuel injection event based on a target mass of fuel;
adjusting initial pulse width based on the learned values of the engine operating condition to produce a final pulse width; and
selectively applying power to the fuel injector for the fuel injection event based on the final pulse width.

18. A fuel control method for a vehicle, comprising:
determining a parameter of a fuel injector in an engine at an operating condition of the engine;
identifying index values in a table based on the engine operating condition;
adjusting learned values of the fuel injector parameter corresponding to the index values based on the determined value of the fuel injector parameter;
measuring first and second voltages at first and second electrical connectors of the fuel injector;
determining a first difference based on a difference between the first and second voltages;
determining a second difference between (i) the first difference and (ii) a previous value of the first difference;
determining a third difference between (i) the second difference and (ii) a previous value of the second difference; and
selectively applying power to the fuel injector based on the learned values and the third difference.

19. The fuel control method of claim 18 further comprising:
determining a closing period of the fuel injector based on a period between a first time when a pulse for a fuel injection event ends and a second time corresponding to a minimum value of the third difference; and
determining a closing period delta of the fuel injector based on a difference between the closing period of the fuel injector and a predetermined closing period,
wherein the fuel injector parameter includes the closing period delta of the fuel injector.

20. The fuel control method of claim 18 further comprising:
determining an opening magnitude of the fuel injector based on a difference between minimum and maximum values of the third difference;
determining a predetermined pulse width for a fuel injection event based on the opening magnitude; and
determining an opening period delta of the fuel injector based on a difference between a final pulse width for the fuel injection event and the predetermined pulse width for the fuel injection event,
wherein the fuel injector parameter includes the opening period delta of the fuel injector.