An in-line four-cylinder engine provided with a variable valve timing
mechanism which changes a rotation phase of a camshaft relative to a
crankshaft, and a cam angle sensor which outputs a cam angle signal at
each 45 (deg.) of the camshaft, detection of an angle spanning from a
reference rotational position of the crankshaft to the cam angle signal
being made to thereby detect the rotation phase of the camshaft.