add integral window
increase integral counter
motor control in nanoseconds