By applying time-frequency analysis to a given standard iterative learning
control or ILC an adaptive filter for the learned feed-forward loop is
designed. This time varying filter varies according to the momentary
frequency content of the error signal and allows to discriminate between
areas of deterministic and stochastic error. Its application results in
selective application of ILC to those intervals where error signals of
high level are concentrated and allows application of a single ILC
acquisition to different setpoint trajectories. The adaptive filter finds
particular use in lithographic scanning systems where it is used for
varying scan length.