In an internal combustion engine provided with a variable valve mechanism that
varies an open/close characteristic of an intake valve, a target open/close characteristic
of the intake valve is determined and at the same time, a control speed of when
the intake valve is controlled to have the target open/close characteristic is
determined, so that the variable valve mechanism is controlled according to the
target open/close characteristic and the control speed.