To detect atmospheric pressure, the atmospheric pressure sensor built into the ECM is used in the common rail system. Following the changes in the atmospheric pressure, the ECM corrects the fuel injection volume, timing and duration, and adjusts the common rail internal fuel pressure for optimizing combustion.