A control device for an internal combustion engine comprises an air flow
meter arranged in the intake passage. The air flow meter includes a main
passage and a bypass passage and detects a flow rate of air flowing
through the bypass passage to detect a flow rate of air flowing through
an intake passage. A current intake air flow rate is calculated based on
a current throttle opening. When the rapid acceleration of the engine is
in process, an air flow meter-detecting intake air flow rate, assuming
that air flows through the intake passage at the current intake air flow
rate, is estimated considering the pressure loss of the bypass passage of
the air flow meter. When an operation other than the rapid acceleration
is in process, it is estimated ignoring the pressure loss. The fuel
injection amount is calculated from the estimated air flow
meter-detecting intake air flow rate.