Patent ID: 6932057

Claim:
An engine controller, comprising: cogs formed at uneven intervals on a crankshaft or an outer periphery of a member which rotates in synchronism with said crankshaft; crank pulse generation means which transmits a pulse signal in association with said crankshaft approaching said cogs; crankshaft phase detection means which detects as a crank pulse a pulse signal transmitted from said crank pulse generation means and detects the phase of said crankshaft from said crank pulse; intake pressure detection means for detecting intake pressure within an intake path of an engine; stroke detection means for detecting a stroke of said engine on the basis of said phase of said crankshaft detected by said crankshaft phase detection means and said intake pressure detected by said intake pressure detection means; engine control means for controlling a operating state of said engine on the basis of the stroke of said engine detected by said stroke detection means; and ignition timing setting means for use in a case where a stroke is not yet detected, which sets half the quantity of fuel required for one stroke cycle as the quantity of fuel per rotation of the crankshaft, at the start of the engine until the stroke detection means detects the stroke of the engine.