The invention discloses a discrete two-cycle repeating control method based on a hyperbolic secant attraction law. A reference
signal formed via superposition of two different cyclic symmetries is given; according to cyclic symmetry characteristics of interference signals of different cycles in a
time domain, ideal error dynamics are respectively produced based on the hyperbolic secant attractionlaw; according to the ideal error dynamics, an e / v
signal conversion module is established, output signals are used for correction of sub-repetitive controllers, and a discrete double cycle repetitivecontroller is formed after the sub-repetitive controllers are connected in parallel; output signals of the discrete double cycle repetitive controller are calculated as input to a
servo object, and aservo
system is enabled to change along with reference signals. Specific controller parameter setting work can be performed according to amplitudes of different periodic interference and indexes indicating
system tracking error convergence performance and
steady state performance; a method for calculating a monotonous decreasing region indicating the
tracking error convergence performance and thesteady state performance, an absolute attraction layer and a
steady state error band boundary is provided. The invention provides a discrete double cycle repetitive controller based on the hyperbolicsecant attraction law; the controller is advantaged by
time domain design, fast suppression of multi-cycle interference, good dynamic quality, reduced memory occupancy and high control precision.