Digital repetitive control under varying frequency conditions