To obtain excellent drivability and fuel consumption capable of restraining knocking while maintaining preferable balance for remaining quantity of a plurality of types of fuel.
This control unit includes at least a direct fuel injection valve which directly injects alcohol, a port fuel injection valve which injects fuel from a port, a knock sensor, and a fuel remaining quantity sensor. When knocking in a specific cylinder is detected, direct injection side injection ratio in the cylinder is increased. When knocking is detected in the specific cylinder (step S10 positive) and remaining quantity of alcohol is small (S11 negative), the direct injection side injection ratio in the cylinder in which knocking occurs is increased. On the other hand, the direct injection side injection ratio in the cylinder in which knocking does not occur is reduced (S15). When the remaining quantity of alcohol is large (S11 positive), the direct injection side injection ratio in the cylinder in which knocking occurs is increased (S12). When the direct injection side injection ratio inside the cylinder in which knocking occurs is restricted, conventional KCS control is performed (S13 positive, S16 positive, S14).