State-dependent periodic adaptive disturbance compensation