The Taiwan Photon Source (TPS) is a third-generation 3 GeV
synchrotron accelerator light source. After successfully operating
for ten years since its first light in 2013, various subsystems are
undergoing updates. In the context of magnet power supply upgrades,
the trend toward digitization and high-precision modulation control
is driving advancements worldwide. This study focuses on developing
a fully digital correction magnet power supply (FDCMPS) based on a
digital signal processor (DSP). The prototype utilizes a low-power,
floating-point DSP with multiple communication functionalities as
the core control unit. The output current is converted into digital
values using current sensors and high-precision analog-to-digital
converters. Discrete PI compensator algorithms are implemented
within the DSP to generate pulse-width modulation (PWM) waveforms,
driving a full-bridge (H-bridge) converter configuration with
metal-oxide-semiconductor field-effect transistors (MOSFET). This
forms a complete, fully digital closed-loop current control
system. A virtual control interface is designed to operate the
FDCMPS state. The control loop design of the prototype has been
validated and demonstrates stable output bipolar current
performance. When tested with a 0.1 V input reference signal, the
prototype achieves a -3 dB bandwidth of 2.03 kHz. Finally, a
hardware prototype circuit was constructed in the power supply
laboratory, with an input voltage of 48 V, an output current of
10 A, and a maximum power of 400 W. Overall, the developed fully
digital correction magnet power supply prototype showcases stable
and high-performance output bipolar current performance. The system
achieves total harmonic distortion of output current ripple within
0.3 mA peak to peak and long-term stability within ±
15 ppm. The successful implementation of the prototype establishes
a solid foundation for advancing magnet power supply technology at
the TPS.