Provided is a control apparatus for an internal combustion engine which
controls the internal combustion engine in such a manner as to prevent
excessive overshoot of an actual phase angle at a time of phase angle
feedback control. The control apparatus for an internal combustion engine
includes: a unit for detecting an actual phase angle of a camshaft based
on a crank angle signal and a cam angle signal; a unit for setting a
target phase angle of the camshaft based on an operational state; and a
unit for performing phase angle feedback control calculation such that
the actual phase angle coincides with the target phase angle, to
calculate an amount of operation for the hydraulic pressure control
solenoid valve, in which: the phase angle feedback control calculation is
started for a first time after a KEY is turned ON with an initial value
of an integral term set to a predetermined value; the phase angle
feedback control calculation is performed using a control gain obtained
by multiplying a control gain at a time of normal control when a control
difference is equal to or larger than a preset value during the phase
angle feedback control; and the phase angle feedback control calculation
is performed using the control gain at the time of normal control when
the control difference is smaller than the preset value during the phase
angle feedback control.