A framework for solving both the continuous and discrete-time LQ and H∞ preview control algorithms is presented in this paper. The tracking control of an automotive durability test rig is used as an application example. Simulation results are presented to illustrate the effectiveness of the preview control algorithms.