A control program for a lithographic apparatus having a substrate table having compliant dynamics and a plurality of actuators configured to act on the substrate table, wherein the plurality of actuators are over-determined in an actuator degree of freedom, the program comprising code that, when executed by a computer system, instructs the computer system to:
- apply a transformation matrix to a setpoint to generate controller output signals for each of the plurality of actuators, the transformation matrix being configured such that the controller output signals do not excite the compliant dynamics of the substrate table in at least one degree of freedom.