Introduction

The wiggler requires a total of 32 power supplies for integral field correction. Among them, 24 power supplies are supplied for the multipole field strip electrodes of the wiggler, which are copper strips with a length of about 5 m. The other 8 provide power to the windings at the end of the wiggler. The related parameters such as electrode resistance are shown in Table 1.

Table 1 Parameters related to strip electrodes and end winding

Considering the lower power of the power supply, the size can be minimized as much as possible. In the design, 32 set of power supplies have been designed into plug-in style and placed in a 19-inch rack. In terms of power supply control, all operations such as power on, off, and current setting can be achieved through the operation panel. In order to achieve remote control, a network communication interface with RJ45 network cable connector has been designed for the power supply. Each power supply can be individually configured with an IP address to achieve remote centralized control and facilitate operation by debugging personnel. The power supply integrates protection functions such as output overcurrent, output overvoltage, and input overcurrent, effectively improving the safety of the power supply. All information can be displayed on the operation panel of the power supply, achieving comprehensive and convenient human–machine interaction functions.

The design of the power supply mainly includes main circuit topology design, control circuit design, operation panel design, program design, and structural design. Figure 1 shows the overall block diagram of the power supply.

Fig. 1
figure 1

Overall block diagram of power supply

Main circuit topology design

The output current of the power supply is bipolar, so a full-bridge converter topology is adopted. Due to the low output power of the entire circuit, the H-bridge is driven by 2 sets of half-bridge driver chips which is more convenient [6]. The bootstrap circuit is used to drive two MOSFETs, one on the high side and one on the low side of the bridge arm, eliminating the need for separate power supplies for the drive [7]. Each MOSFET is equipped with an absorption circuit to reduce the reverse peak and output voltage ripple noise during the MOSFETs turning off. Figure 2 shows the main circuit structure diagram of the power supply.

Fig. 2
figure 2

Main circuit structure diagram

Auxiliary power supply design

The entire power supply system requires various auxiliary power supplies to meet the requirements of isolation, driving, control, etc. In order to simplify power supply design and improve reliability, several integrated power modules are used to directly generate the required voltage. Although the multi-output switching power supply is more cost-effective, a simplified solution was adopted to avoid the complexity of debugging the multi-output switching power supply in a short period of time. Figure 3 shows the auxiliary power supply design.

Fig. 3
figure 3

Auxiliary power supply design

Current sampling design

Considering that the current of this specification of power supply is only 6A and the performance requirements are a little lower, and considering the overall cost and internal size of the power supply, Hall current sensors are chosen. A standard source test was conducted on the selected Hall sensor, using a 6-A input current. With winding multiple turns, an 8 V voltage can be obtained on a 100-Ω sampling resistor. To reduce heating, the sampling resistor can adopt a structure with multiple parallel connections. Figure 4 shows the testing of the current Hall sensor.

Fig. 4
figure 4

Test of hall sensor

To verify the feasibility of the Hall sensor scheme. Before use, stability testing was conducted on the Hall sensor. Using a standard source to output a precise current of 6A, the stability information is obtained through an LA100P Hall sensor and a 100-Ω sampling resistor [8]. Confirm that it can meet the usage requirements. The heating temperature of the Hall element is also within an acceptable range.

Control circuit design

The power supply control adopts high-precision fully digital closed-loop control method based on FPGA. The ADC adopts a chip with 18-bit resolution with low noise, low power, and other high performance [9]. In order to achieve Ethernet remote control, a network interface is designed on the control board. In order to facilitate communication with the power supply operation panel, another interface of RS232 designed to receive control information from the operation panel and achieve local control of the power supply.

Fig. 5
figure 5

ADC signal sampling circuit

Fig. 6
figure 6

Digital input circuit

The control circuit mainly includes FPGA core board interface circuit, peripheral ADC sampling circuit (Fig. 5), signal processing circuit, and input/output signal isolation circuit (Fig. 6) [10].

Operation panel design

The power supply can operate locally through the operation panel. The main function of the operation panel is to provide parameter setting and display output current value. The current setting point is set through a rotary encoder, and the given information is read by the microcontroller integrated on the operation panel. Display information such as current setting point and actual current output is shown on the OLED screen. At the same time, the panel also has other fundamental functions of turning on, off, and resetting through buttons. The operation panel provide a power switch button for turning on and off the main input of the power supply. The communication between the panel and the FPGA of the control board is completed through interface of RS232 to exchange the various information. The physical interface of Ethernet is used to connect with remote computers at the upper level through network cables. Figure 7 shows the design and actual appearance of the panel.

Fig. 7
figure 7

Design and actual diagram of power operation panel

Programming

The program design of the power supply mainly includes ADC sampling, PID calculation, PWM generation, TCP/IP communication, RS232 communication program, and related protection logic design. ADS8382 is an 18-bit, fully differential pseudo bipolar input analog-to-digital converter with a sampling rate of up to 600 kHz, which communicates with FPGA through SPI [11]. PID calculation adopts positional PID algorithm, which adjusts the given and feedback error signals. Finally, dual PWM waveform based on the adjustment amount is generated, which acts on the driving circuit to complete the output of power.

The remote network controlling adopts W5500 as the network interface chip. The W5500 integrates a full hardware TCP/IP protocol stack, eliminating the process of developing TCP/IP using FPGA. FPGA only needs to access the registers of W5500 through SPI to achieve socket communication. The communication between FPGA and the operation panel is achieved through RS232. In the program, several sets of arrays are set to store the switch information of the power supply, current setting data, and current collection data, achieving the display of operation panel OLED screen information. These data include on/off, given, collected, faulty, remote control, or local control.

Structure design

The structural design mainly includes power supply structure design and rack structure design.

The power supply structure adopts a plug-in design, where the power circuit is concentrated on a PCB with a length of approximately 332.3 mm, a height of 100 mm, and a width of 61 mm. The control board is connected to the main circuit board through connectors. The power supply board is connected to the backplane of the rack using a 96-pin connector. Figure 8 shows a plug-in power supply.

Fig. 8
figure 8

Plug-in power supply

Six plug-in power supplies and one DC source are installed together in a rack with a height of 3U. Because the outputs of power sources are not required for isolation each other, a single DC source is jointly used as the power supply. A switching power supply with an output voltage of 24 V and a total power of 350W is chosen as the DC source. A total of 6 sets such chassis are placed in a 19-inch, 2-m high rack. Figure 9 shows the arrangement of power supplies on the rack.

Fig. 9
figure 9

Rack power arrangement

Output current calibration

After the production of the power supply was completed, the output currents of all power supplies were calibrated to minimize the error between the given and actual output currents of the power supply. The calibrated power supply has an accuracy of around 100 ppm. Table 2 shows the accuracy of different currents for a single power supply.

Table 2 Current accuracy of a single power supply

Stability test

An 8-h stability test was conducted on ± 6A of all 32 power supplies. The loads used in the test are all resistive loads. Table 3 shows the stability test results of all power supplies. The test results show that the 8-h stability of all power supplies can meet the requirement of 100 ppm.

Table 3 Current stability test

The current stability data for 8 h is shown in the following Fig. 10. The data shows that the output current of the power supply is stable enough, and there are no abnormal jumping points.

Fig. 10
figure 10

Output current sampling

Output voltage ripple

In Fig. 11, the low-frequency ripple display of the output voltage shows that the voltage ripple is stable, without spikes or fluctuation. By Fourier analysis, it can be seen that there are no obvious low-frequency ripple and no 50 Hz power frequency signal. In Fig. 12, the high-frequency ripple shows that the switching noise of the power supply is not significantly amplified. It also can be seen that the amplitude of the switching noise accounts for about 1mv of the total harmonic amplitude.

Fig. 11
figure 11

Output 6A low-frequency ripple

Fig. 12
figure 12

Output 6A high-frequency ripple

Conclusion

32 sets strip electrode power supplies designed and developed in house have excellent performance and reasonable structure, achieving error correction for the multipole integration field of the HEPS wiggler. Through actual load testing verification, all performance indicators of the developed power supplies meet the physical design requirements. At present, they have been applied in the experiments of HEPS wiggler.