Feedback-controlled flux modulation for high-temperature superconducting magnets in persistent current mode. (1st May 2023)