A fuel control method and system is provided for delivering fuel to an
engine that employs an engine controller that is configured to the fuel
injection quantity delivered to the engine. The engine controller is
configured to: calculate a fuel injection quantity based on at least one
operating condition of an engine; calculate an estimated fuel pressure
value of the high pressure fuel that will be acting on a fuel injection
valve when the prescribed fuel injection timing is reached at a
prescribed calculation time occurring before the prescribed fuel
injection timing; correct the fuel injection quantity that was previously
calculated to a corrected fuel injection quantity based on the estimated
fuel pressure value that will exist at the prescribed fuel injection
timing; and open the fuel injection valve at the prescribed fuel
injection timing to discharge a quantity of fuel equal to the corrected
fuel injection quantity.