Engine smoothness control is balancing the speed variation for each individual cylinder caused by variable injection amount and each cylinder´s efficiency. This is obtained by an application that sends an exact fuel amount for each cylinder at each injection time.