High Energy Photon Source (HEPS) is one of the ten major scientific and technological infrastructures determined to be constructed in the "13th Five-Year Plan" for the national major scientific and technological infrastructure construction, and it is an important support platform for original and groundbreaking innovative research in basic and engineering sciences. The construction of HEPS will significantly improve the quality of the light and will significantly narrow the gap between China and international advanced light sources and bring China into the ranks of the world's advanced level [1,2,3,4,5,6]. Meanwhile, the construction will provide a unique and powerful support for research fields related to national security and industrial core innovation capabilities. HEPS is a high-performance light source with electron energy of 6 GeV and emittance less than or equal to 0.06 nm-rad, mainly composed of gas pedal, beamline and experimental station. As a fourth-generation photon light source, HEPS is the first high-energy photon light source in China, with the world's highest spectral brightness (1022 phs/s/mm2/mrad2/0.1%BW), higher than existing and under construction light sources in the world [7,8,9,10,11,12].

The power supply system in the HEPS project mainly includes two major parts: the booster power supply system and the storage ring power supply system. The high quality and high energy beam current requirements of HEPS and the ultra-low emittance demand make high requirements for power supply stability, ripple and other indicators in the process of physical design [13,14,15]. The ordinary correction magnet power supply, as an auxiliary power supply to the main magnet power supply, can correct and adjust the beam track within a certain bandwidth to ensure the stability of the beam track. To ensure the reliability and stability of future HEPS operation, a prototype correction magnet power supply was developed. The prototype adopts a new "one control two" scheme, which can not only greatly save control resources, but also can save chassis space.

Power supply parameters design

The corrector power supply prototype designed is ± 19A/ ± 12 V, and its main design specifications are listed in Table 1.

Table 1 Main parameters of correct power supply

In the HEPS formal project, as many as 1000 power supplies of the same type [11]. In order to meet the reliability of future operation continuity, the reliability and maintainability of the power supply must be considered in the design phase, while for different power of the same type of power supply, the design process also needs to consider the flexibility and adjustability.

Power topological structure

The power supply topology is designed with a front-stage DC source and a back-stage H-bridge inverter with a switching frequency of 50 kHz. In order to improve the flexibility and reliability, the DC source adopts a modular design. The input 220 V AC of DC source is converted into DC power through EMI filtering, full-wave rectification, PFC power factor correction, and half-bridge rectification and filtering. The design structure of the DC source ensures the low voltage ripple of the front stage, and the output avoids the use of large-capacity filter capacitors, which can greatly save the design space. Due to the low output voltage ripple of the pre-stage DC source, the power supply does not use a voltage loop, but only a single-loop feedback mode with current feedback. The rated power of the power supply prototype is 228 W, and the DC source power design is 24 V/15A. The single power supply adopts an all-digital plus all-switch control structure, and the design scheme is shown in Fig. 1.

Fig. 1
figure 1

The DC power supply design scheme

The key to the design of the power supply prototype structure design lies in the "one control two”, that is, the two power supplies of the same specification and model are integrated in a chassis, the power part is isolated from each other, the control part is the same digital controller. The closed-loop system controls two power supplies respectively, and the whole power supply design scheme is shown in Fig. 2.

Fig. 2
figure 2

The power supply prototype design scheme

Power control scheme

The power supply prototype design "one control two" structure is to use a digital controller to control two power supplies, respectively, and the two power supplies operate independently of each other, without interference. The power supply system adopts the classical H-bridge topology, and the drive signal adopts the full-bridge bipolar PWM modulation. The controller generates two groups of PWM signals to control the two power supplies respectively, each group of PWM signals is output through an isolated chip, and the two groups are independent of each other. The data of the two power supplies are controlled by different PI controllers in the FPGA, and the PI parameters are determined according to the output loads of the respective power supply. The control structure is shown in Fig. 3.

Fig. 3
figure 3

The power supply prototype control structure

The power supply prototype controller motherboard is designed with a variety of communication interfaces such as optical fiber, USB serial port and network port to meet the different modes of remote control. At the same time, in order to reduce the signal interference in the feedback loop, a current-type DCCT is used in the current closed loop, and the conversion of the output current to voltage is as close as possible to the AD sampling terminal, which further reduces the environmental interference.

The stability of the power supply mainly includes short-term stability and long-term stability. The short-term stability error is mainly caused by factors such as current ripple, which is generally related to the hardware design and can be improved by adjusting the PI parameters. The long-term stability error is mainly caused by factors such as temperature drift of the power supply, such as changes in device parameters caused by changes in temperature. In order to reduce the change in long-term stability caused by temperature change, the key components affecting temperature performance in the power supply feedback loop adopt temperature compensated and thermostatically controlled. In the IV conversion design, a temperature coefficient compensation method is adopted, i.e., a paired resistor of "one positive and one negative" is used to reduce the resistance change caused by temperature change. In order to reduce the influence of temperature on the ADC, constant thermostat control is carried out on the AD sampling part. Through testing, the accuracy of thermostat control can reach 0.1℃. The main board structure of the controller is shown in Fig. 4.

Fig. 4
figure 4

The controller mainboard structure diagram

Experiment and test results

Due to the special structure of "one control two", the control board of the developed prototype adopts the scheme of directly designing the backplane on the control board instead of the traditional separate and independent design structure, which not only can save the installation space, but also reduce the transmission distance of the voltage signal, which can further reduce the space interference of the power supply. The power supply prototype adopts an air-cooled heat dissipation method. The chassis is designed with a 3U structure. It is divided into two layers, the front and the back, and the middle is separated by a steel plate. One layer is mainly the power part, and the other layer is the control part. The communication between the layers is connected by interfaces and signal lines, which is not only conducive to the control of space temperature, but also can further reduce the space interference of power devices. The 3U chassis-type structure of the power supply design adopts an air-cooled cooling method to maintain the temperature in the chassis. The power supply prototype is shown in Fig. 5.

Fig. 5
figure 5

Corrector magnet power supply prototype

Long-term stability

In order to ensure that the current stability at each operating point can meet the stability requirements, it is necessary to record the output current value continuously for 8 h after the power supply is turned on for 30 min and warm up. The stability of the power supply at ± 10%, ± 50%, ± 100% of the working current is recorded, respectively, and the stability calculation formula is as follows:

$$I_{stability} = \left| {\frac{{I - I_{avg} }}{{I_{N} }}} \right|_{\max }$$
(1)

where IN is the rated current value, Iavg is the average value of the output current in a certain time, and I is the measured current value. The calculation formula is the latest calculation formula according to the physical requirements. The test results are shown in Fig. 6.

Fig. 6
figure 6

Current long-term test curve

The stability test results obtained by Eq. (1) are shown in Table 2.

Table 2 Current long term test result

Accuracy

In order to better realize the precise control of the beam current, the physical design puts forward a requirement of 100 ppm for the accuracy of the power supply. The accuracy is mainly affected by the conversion accuracy of the feedback loop. Therefore, it is necessary to calibrate the key components of the feedback loop first, and then calculate the accuracy error through testing. The calculation formula is as follows:

$$I_{{{\text{accuracy}}}} = \left| {\frac{{I_{{{\text{avg}}}} - I_{{{\text{set}}}} }}{{I_{N} }}} \right|_{\max }$$
(2)

In the formula (2), IN is the rated current value, Iavg is the average value of the standard DCCT for a certain period of time, and Iset is the set current value. Table 3 shows the power supply accuracy test results.

Table 3 power supply accuracy test result

The test results show that the largest accuracy error of the power supply output is 41.5 ppm which is appeared at the − 2A test point. The result is fully meets the design requirements.

Repeatability

The repeatability test method is to take two test points in the positive and negative directions and test, respectively. For example, the repeatability process of testing 10A is to turn off the power for 30 min, then turn it on again and increase the current up to 10A, and then measure the output current for 30 min after stabilizing for 30 min. The final measured data are averaged and recorded as Iavg(1); then repeat the first time to obtained the average current of the second time and recorded as Iavg(2). Repeatability can be obtained by comparing the two average values. The calculation formula is as follows:

$$I_{{r\left( { + 50\% } \right)}} = \left| {\frac{{I_{avg(1)} - I_{avg(2)} }}{{\frac{{\left( {I_{avg(1) + } I_{avg(2)} } \right)}}{2}}}} \right|$$
(3)

The power supply prototype was tested for repeatability at 2A, − 2A, 10A, − 10A, 19A and − 19A outputs and the results are shown in Fig. 7.

Fig. 7
figure 7

Power supply repeatability test curve

Table 4 shows the repeatability test results.

Table 4 Power supply repeatability test result

The test results show that the maximum repeatability occurs when the power supply current is − 2A, and the repeatability error is 15.7 ppm, which fully meets the design requirements.

Voltage ripple

1)low frequency ripple.

Low-frequency ripple refers to the voltage ripple below 1 kHz. The low-frequency ripple design index requires that it be no greater than 2 mV when current is less than or equal to 10A, and no greater than 5 mV when current is more than 10A. Figure 8 shows the test results of the power supply voltage ripple at 4 different operating points. It can be seen that the low-frequency voltage ripple is better than the design index.

Fig. 8
figure 8

Waveform of voltage low-frequency ripple

The 50 Hz ripple in the low frequency ripple is caused by the 220 V@50 Hz ac power supply, while 100 Hz ripple is the double frequency ripple.

2)High frequency ripple.

High-frequency ripple refers to voltage ripple higher than 600 Hz. Figure 9 shows the test results at four different operating points. The results show that the Fourier analysis of the high-frequency ripple shows that the maximum amplitude point appears at the frequency multiplication point of the switching frequency, and its effective value is less than 3 mV, which is better than the design requirements.

Fig. 9
figure 9

Waveform of voltage high-frequency ripple

It can be seen from the Fourier analysis of the high-frequency ripple that the noise distribution of the power supply is different under different currents. The maximum noise at ± 19A is 350 kHz and 400 kHz, and it is 150 kHz at ± 2A. The reason is mainly related to the output filter network of the power supply. The spurious parameters of the output filter network lead to spurious noise at different currents. Although large noise is generated at different frequency points, it meets the ripple requirements of the power supply. At the same time the actual magnet load is 9 mH ~ 12 mH, and the current value of such high frequency is basically zero. Therefore, the ripple of the power supply completely meets the design requirements of the power supply.

Conclusion

Though the test, the performance of the developed power supply prototype meets the actual design requirements, and the prototype structure design is reasonable. Under the condition of ensuring the output performance of the power supply, the "one control two" structure of the prototype design can not only save space, but also better save control resources, and fully meeting the performance requirements of the physical design of HEPS. Through the development of the corrector power supply prototype, the foundation has been laid for the batch development and application in the light source engineering construction.