
Citation: | Jiamin ZHANG, Yuan YAO, Yuyang LIU, Yuqi CHU, Tianyi RUAN, Yao ZHANG, Haiqing LIU, Yinxian JIE, Bili LING. Real-time data processing method for CO2 dispersion interferometer on EAST[J]. Plasma Science and Technology, 2024, 26(8): 085603. DOI: 10.1088/2058-6272/ad4597 |
A real-time data processing system is designed for the carbon dioxide dispersion interferometer (CO2-DI) on EAST. The system utilizes the parallel and pipelining capabilities of an field-programmable gate array (FPGA) to digitize and process the intensity of signals from the detector. Finally, the real-time electron density signals are exported through a digital-to-analog converter (DAC) module in the form of analog signals. The system has been successfully applied in the CO2-DI system to provide low-latency electron density input to the plasma control system on EAST. Experimental results of the latest campaign with long-pulse discharges on EAST (2022–2023) demonstrate that the system can respond effectively in the case of rapid density changes, proving its reliability and accuracy for future electron density calculation.
Measuring and controlling the electron density are essential for plasma equilibrium reconstruction, stability, transport, and confinement studies in magnetically confined fusion devices [1, 2].
Interferometry is one of the fundamental plasma diagnostics on fusion devices to provide the line-integrated electron density [3]. However, the mechanical vibrations cause measurement errors for the interferometer and a fringe jump error leads to uncontrollability of the density. The principal advantage of dispersion interferometers (DIs) lies in their insensitivity to variations in geometric path length, thereby minimizing the occurrences of 2π phase jumps that need to be tracked. Obviously, this inherent feature will enhance the system’s reliability.
The first application of dispersion interferometry to measure the line-integrated electron density in a fusion device was at the GDT [4]. At the TEXTOR tokamak, a dispersion interferometer was developed for measuring higher density and was also the first one to use dispersion interferometry for density feedback [5]. The data recording system used fast analog-to-digital converters (ADCs) to record the photodetector and modulator signals and field-programmable gate array (FPGA)-based digital units of dataflow processing to calculate the line-integrated electron density in real time [6]. At the Large Helical Device (LHD), a dispersion interferometer was operated next to the far-IR interferometer, and a new offline phase extraction method was developed based on phase-locked-loops, which employs a true quadrature detection scheme [7, 8]. The DIII-D tokamak tested the ITER toroidal interferometer and polarimeter (TIP) system, which is a two-colour system, for primary density feedback control [9]. This is accomplished by using a four-channel digital phase demodulator (DPD), constructed with an FPGA coupled to high-speed ADCs [10, 11]. A new quadrature phase reconstruction method has been developed specifically for dispersion interferometers at the Wendelstein 7-X. This method is capable of real-time density feedback control based on an FPGA [12, 13]. A synchronous demodulation system is proposed and deployed for CO2-DI on HL-2A. Based on the FPGA, the phase adjustment (PA) method was used to synchronize the electronics with the interferometer signal [14–16].
In the first half of 2022, the CO2-DI was successfully installed on EAST, and the raw data was collected by a data acquisition (DAQ) system and subsequently subjected to offline processing. The data from the CO2-DI was confirmed with the data from the solid-state source interferometer (SSI) and POlarimeter-INTerferometer (POINT) [17]. Based on the need for experimental operation and real-time feedback, real-time processing of data is extremely important [18], for which a dedicated electronic system capable of performing digital signal processing has been developed.
This paper introduces the real-time data processing system for the CO2-DI on EAST. Section 2 specifies the real-time data processing method and functional modules. Measurement results are presented in section 3, which includes measurement results from both the bench tests and EAST experiment campaign. Finally, section 4 provides a comprehensive summary and outlook.
The configuration of the CO2-DI is illustrated in figure 1. It mainly consists of a CO2 laser, two nonlinear crystals, a photoelastic modulator (PEM), an optical filter, an infrared detector, and the real-time data processing system [7, 19].
The plasma electron density can be obtained from the ratio of intensity signals, represented as,
¯neL=−2ω3cp{tan−1(IωmI2ωm)−φ0}. | (1) |
In the equation, ωm denotes the modulation frequency of the PEM, cp is a constant, L represents the optical path length in the plasma, Iωm and I2ωm denote the intensity signals extracted by the lock-in amplifier, and φ0 represents the initial phase [20].
The detected data of Iωm and I2ωm signals are extracted by the lock-in amplifier from the output signals of the detectors and the reference signal is provided by the PEM. Iωm and I2ωm are then fed into the real-time data processing system for calculations. This real-time data processing system calculates the density mainly based on equation (1).
The DI system is placed in a laser room on the first floor of the basement in the EAST experimental hall. As shown in figure 2, the detector receives the signal and transmits it to the lock-in amplifier (LIA) for further processing. The real-time data processing system calculates the signal extracted from the LIA. The flowchart of the data processing system is illustrated in figure 3. The data processing system includes three key modules which are the ADC, FPGA, and DAC. The ADC module performs real-time high-speed sampling of Iωm and I2ωm signals and translates the signals to digital waveforms. Then, digital signals are processed within the FPGA, which includes a trigger module, a ‘calculations of a coordinate rotation digital computer’ (CORDIC) module [21], a correction of ‘zero’ module, and an unwrapping module. As a reconfigurable device, the FPGA offers rapid prototyping capabilities for constructing digital processing systems [22, 23]. It also enables high-speed, real-time, multichannel, parallel processing of the signals outputted by the infrared detectors. Finally, the DAC module outputs analog electron density values. After, the DI system is capable of outputting electron density information to the plasma control system (PCS) for density feedback.
(1) ADC module
The ADC module establishes a correspondence between the voltage signal and the digital signal. The Iωm and I2ωm signals from the LIA are converted from analog to digital signals through a 12-bit ADC. The FL9627 is used on the ADC module to complete four-channel ADC synchronous acquisition, with an accuracy of 12 bits and a maximum AD sampling rate of 125 million samples per second (MSPS). The 125 MHz system clock is adopted in the entire logic.
(2) Triggering module
The trigger signal is sent out by the PCS at 2 s before discharge. It is edge triggered and connected to the development board via an IO pin. The trigger is sampled using the internal clock. When the rising edge of the trigger signal is detected, the real-time calculations start to be performed.
(3) Four-quadrant CORDIC module
The four-quadrant coordinate rotation digital computer (CORDIC) algorithm performs iterative rotations and vectoring operations to approximate the mathematical functions like the arctangent [21]. The two 12-bit digital signals from the ADC are expanded to 16 bits and converted into complement format. The system uses VIVADO software to generate FPGA logics and uses the generated four-quadrant CORDIC IP core for arctangent calculation.
(4) Correction of ‘zero’ module
The correction of ‘zero’ module makes the calculation result start from zero. Since the interferometer system has a fixed phase difference generated by the optical setup, the initial value calculated by the real-time data processing system is non-zero.
The initial phase tends to drift over time and cannot be predicted; therefore, it is necessary to acquire the offset before every shot. When the trigger signal arrives at t = −2 s, the average value of all unwrapping phases within the setting time is acquired and removed as the phase offset. In the recent EAST experiment campaign, we tested various set values including 0.1 ms, 1.0 ms, and 2.0 ms. The test results did not exhibit discernible differences. Consequently, given the prevailing signal levels on EAST, a setting value of 0.1 ms was identified as capable of achieving zeroing functionality.
(5) Unwrapping module
The unwrapping module implements a method for correcting the fringe jump caused during calculation. The fringe jumps could be observed in the experiments, as shown in figure 4(a). Due to the presence of the initial phase, the CO2-DI has a fringe jump at relatively low density. The phase signal generated by the four-quadrant CORDIC algorithm is wrapping at 2π, i.e., jumping from +π to −π for a continuously increasing phase [24, 25].
To address this issue, a real-time unwrapping algorithm was deployed in the data processing system. When the absolute difference between consecutive data is greater than or equal to the specified threshold, the locations of phase jumps are identified. Each segment of data is compensated by 2nπ (n = 1, 2, 3, …) to correct the phase angle in radians by ±2π [26].
The result after phase jump correction is shown in figure 4(b). The accuracy of the corrected density results validates the effectiveness of the unwrapping algorithm when a fringe jump occurs.
(6) DAC module
The DAC module converts the digital signal into an analog signal and outputs the voltage value. The DAC module is based on the AD9767 chip, which supports independent dual-channel, 14-bit, 125 MSPS digital-to-analog conversion. After the phase jump correction, the data is taken as a 14-bit output to the DAC. The DAC has an output range of ±5 V. In the case of the EAST device, the H-mode density can achieve levels of up to (0.8–0.9)nGW [27], where nGW (1020 m−3) is the Greenwald density limit. Therefore, it is sufficient for the achievable densities in EAST.
The phase represented as voltage output by the DAC is supplied to the PCS system. The PCS system then converts the voltage back into phase and multiplies the phase by the factor 2ω3cp according to equation (1) to get the density value.
Figure 5 shows the real-time data processing system. The lower left in figure 5 shows the ADC module, which is connected to the LIA and receives the signals of Iωm and I2ωm for analog-to-digital conversion. The upper part of the figure shows the FPGA development board model AX7325, which is connected to the ADC module model FL9627 and DAC module model AN9767. It calculates and corrects the signals from the ADC module and outputs the result to the DAC module. The lower right part shows the DAC module, which can be connected to the PCS.
To verify the accuracy and reliability of this real-time data processing system, a test-bench experiment in the laboratory was first conducted. In the 2022 autumn experiment campaign, the CO2-DI system calculated the electron density offline and stored the intensity signal data extracted from the LIA, which we used for the laboratory bench test of the real-time data processing system.
For the bench testing in the laboratory, the results calculated by the real-time data processing system are compared with the results calculated offline by MATLAB, where the results of a stable plasma discharge (#120485) are shown in figure 6. From the figure, it can be observed that the real-time calculation is consistent with the offline calculations.
As for electron density diagnostics on EAST, the vertical-viewing 0.65 THz SSI has been installed for line-integrated density measurements on EAST [28] and the POINT system [29] operates at a wavelength of 432 μm and a modulation frequency of 850 kHz for density measurement. They have consistently delivered density feedback for experiments conducted on EAST. Therefore, density obtained through them can be used to confirm the accuracy of CO2-DI measurements.
Figure 7 presents the density measurement results from the CO2-DI [30], SSI [28], and POINT [29] systems during a stable plasma discharge (#120531) in the EAST experiment. The difference between the measurement results of three systems in this figure is about 0.1×1019 m−3, which is reasonable due to their setup differences on EAST. Specifically, the SSI and DI systems utilize a vertical chord, whereas the POINT system employs a horizontal chord, leading to small differences in the measurements obtained. The DI’s path length inside the last closed flux surface (LCFS) is 1.2 m, while the SSI’s path length is 1.3 m, which is proximal to the DI’s. Meanwhile, the path lengths of the horizontal 11-channel POINT system are 0.64, 0.72, 0.79, 0.84, 0.87, 0.88, 0.87, 0.84, 0.79, 0.73, and 0.65 m [30]. Moreover, it should be pointed out that the ‘density wiggles’ in figure 7 are a result of the density feedback system puffing to maintain a density. Therefore, based on the general trend of the measurement results and the puffing effects within a narrow range, it can be inferred that the real-time data processing system of the CO2-DI provided electron density that was consistent with the measurements of POINT and SSI in a long-pulse discharge period of 60 s.
It is crucial that the real-time data processing system can respond accurately to the phase changes when the density changes rapidly. In the shot #120598, between 23 s and 27 s, due to a carbon impurity burst as shown in figure 8, the density could change over 1×1019 m−3 within 0.1 s, and the system clearly shows the density change. Therefore, it can be observed that the reliability of real-time system computation and data transmission has been validated under conditions of rapid density changes.
As shown in figure 9, the rapid density change caused by disruption during the current ramp-down phase happened near 11 s, where the real-time data processing system responded more accurately compared to the SSI during these conditions. In brief, the real-time data processing system working with the CO2-DI showed preferable reliability during disruptions.
In summary, the system can extract accurately the real-time density from the CO2-DI optical parts, and the density results can serve the feedback requirements of the EAST PCS system.
A real-time digital signal processing system based on a Xilinx FPGA has been designed and implemented for the CO2-DI on EAST device. After benchtop validation in the laboratory, the system was installed on the EAST device and successfully operated in last EAST experimental campaign. The feasibility of utilizing a CO2-DI for reliable line-integrated density calculation in real-time was demonstrated. The stability and reliability of the system have also been validated in long-pulse and high-density experiments. In the future, we plan to integrate the lock-in amplifier as a digital module into the data acquisition system. This fully digital system will improve the signal-to-noise ratio and integration of the overall system.
This study was funded and supported by the Comprehensive Research Facility for Fusion Technology Program of China (No. 2018-000052-73-01-001228), the HFIPS Director’s Fund (No. YZJJKX202301), and the Anhui Provincial Major Science and Technology Project (No. 2023z020004) and Task JB22001 from the Anhui Provincial Department of Economic and Information Technology.
[1] |
Kawahata K et al 1999 Rev. Sci. Instrum. 70 707 doi: 10.1063/1.1149394
|
[2] |
Xu Q et al 2008 Plasma Sci. Technol. 10 519 doi: 10.1088/1009-0630/10/4/25
|
[3] |
Boboc A et al 2012 Rev. Sci. Instrum. 83 10E341 doi: 10.1063/1.4737420
|
[4] |
Drachev V P, Krasnikov Y I and Bagryansky P A 1993 Rev. Sci. Instrum. 64 1010 doi: 10.1063/1.1144170
|
[5] |
Bagryanskii P A, Drachev V P and Krasnikov Y I 1992 Sov. J. Plasma Phys. 18 264
|
[6] |
Khil’chenko A D et al 2009 Instrum. Exp. Tech. 52 382 doi: 10.1134/S0020441209030154
|
[7] |
Akiyama T et al 2014 Rev. Sci. Instrum. 85 11D301 doi: 10.1063/1.4886777
|
[8] |
Akiyama T et al 2015 Nucl. Fusion. 55 093032 doi: 10.1088/0029-5515/55/9/093032
|
[9] |
Van Zeeland M A et al 2018 Rev. Sci. Instrum. 89 10B102 doi: 10.1063/1.5037461
|
[10] |
Van Zeeland M A et al 2013 Rev. Sci. Instrum. 84 043501 doi: 10.1063/1.4798602
|
[11] |
Colio R A et al Real-time digital phase demodulator for the ITER toroidal interferometer and polarimeter (TIP) In: High Temperature Plasma Diagnostics Conference (HTPD) 2016
|
[12] |
Knauer J et al A new dispersion interferometer for the Stellarator Wendelstein 7-X In: Proceedings of the 43rd EPS Conference on Plasma Physics Geneva: European Physical Society 2016
|
[13] |
Brunner K J et al 2018 J. Instrum. 13 P09002 doi: 10.1088/1748-0221/13/09/P09002
|
[14] |
Ding B G et al 2015 Plasma Sci. Technol. 17 797 doi: 10.1088/1009-0630/17/9/13
|
[15] |
Zhou Y et al 2016 Rev. Sci. Instrum. 87 11E107 doi: 10.1063/1.4959911
|
[16] |
Wu T Y et al 2018 Plasma Sci. Technol. 20 065601 doi: 10.1088/2058-6272/aaaa19
|
[17] |
Li W M et al 2019 Rev. Sci. Instrum. 90 026105 doi: 10.1063/1.5058705
|
[18] |
Zhang W et al 2022 J. Instrum. 17 P09037 doi: 10.1088/1748-0221/17/09/P09037
|
[19] |
Wang H X et al 2017 Rev. Sci. Instrum. 88 103502 doi: 10.1063/1.4997974
|
[20] |
Akiyama T et al 2020 J. Instrum. 15 C01004 doi: 10.1088/1748-0221/15/01/C01004
|
[21] |
CORDIC v6.0 LogiCORE IP Product Guide, Vivado Design Suite, PG28, August 6, 2021. https://www.amd.com/content/dam/xilinx/support/documents/ip_documentation/cordic/v6_0/pg105-cordic.pdf
|
[22] |
Zhang W et al 2020 Plasma Sci. Technol. 22 115601 doi: 10.1088/2058-6272/abb078
|
[23] |
Zhang W et al 2021 J. Instrum. 16 P09010 doi: 10.1088/1748-0221/16/09/P09010
|
[24] |
Murari A et al 2006 Rev. Sci. Instrum. 77 073505 doi: 10.1063/1.2219731
|
[25] |
Mlynek A et al 2014 Rev. Sci. Instrum. 85 11D408 doi: 10.1063/1.4890574
|
[26] |
Ruan T Y et al An improved algorithm for fringe jump corrections with three-classification unwrapping for far-infrared interferometer In: 47th International Conference on Infrared, Millimeter and Terahertz Waves Delft: IEEE 2022: 1 doi: 10.1109/IRMMW-THz50927.2022.9895850
|
[27] |
Zheng X W et al 2016 Plasma Phys. Control. Fusion 58 055013 doi: 10.1088/0741-3335/58/5/055013
|
[28] |
Li J et al 2020 J. Instrum. 15 C02048 doi: 10.1088/1748-0221/15/02/C02048
|
[29] |
Liu H Q et al 2013 J. Instrum. 8 C11002 doi: 10.1088/1748-0221/8/11/C11002
|
[30] |
Liu Y Y et al 2024 Plasma Sci. Technol. 26 034011 doi: 10.1088/2058-6272/ad0f61
|
[1] | Yuan YAO, Yao YANG, Ang TI, Yang SONG, Jiamin ZHANG, Yan WANG, Yao ZHANG, Haiqing LIU, Yinxian JIE. A fringe jump counting method for the phase measurement in the HCN laser interferometer on EAST and its FPGA-based implementation[J]. Plasma Science and Technology, 2024, 26(4): 045601. DOI: 10.1088/2058-6272/ad0dec |
[2] | Feng XU (徐峰), Fang DING (丁芳), Xiahua CHEN (陈夏华), Liang WANG (王亮), Jichan XU (许吉禅), Zhenhua HU (胡振华), Hongmin MAO (毛红敏), Guangnan LUO (罗广南), Zhongshi YANG (杨钟时), Jingbo CHEN (陈竞博), Kedong LI (李克栋). Electron density calculation based on Stark broadening of D Balmer line from detached plasma in EAST tungsten divertor[J]. Plasma Science and Technology, 2018, 20(10): 105102. DOI: 10.1088/2058-6272/aad226 |
[3] | Tongyu WU (吴彤宇), Wei ZHANG (张伟), Haoxi WANG (王浩西), Yan ZHOU (周艳), Zejie YIN (阴泽杰). Research on the phase adjustment method for dispersion interferometer on HL-2A tokamak[J]. Plasma Science and Technology, 2018, 20(6): 65601-065601. DOI: 10.1088/2058-6272/aaaa19 |
[4] | Yuqing YANG (杨宇晴), Xinjun ZHANG (张新军), Yanping ZHAO (赵燕平), Chengming QIN (秦成明), Yan CHENG (程艳), Yuzhou MAO (毛玉周), Hua YANG (杨桦), Jianhua WANG (王健华), Shuai YUAN (袁帅), Lei WANG (王磊), Songqing JU (琚松青), Gen CHEN (陈根), Xu DENG, (邓旭), Kai ZHANG (张开), Baonian WAN (万宝年), Jiangang LI (李建刚), Yuntao SONG (宋云涛), Xianzu GONG (龚先祖), Jinping QIAN (钱金平), Tao ZHANG (张涛). Recent ICRF coupling experiments on EAST[J]. Plasma Science and Technology, 2018, 20(4): 45102-045102. DOI: 10.1088/2058-6272/aaa599 |
[5] | LIU Yong (刘永), Stefan SCHMUCK, ZHAO Hailin (赵海林), John FESSEY, Paul TRIMBLE, LIU Xiang (刘祥), ZHU Zeying (朱则英), ZANG Qing (臧庆), HU Liqun (胡立群). A Michelson Interferometer for Electron Cyclotron Emission Measurements on EAST[J]. Plasma Science and Technology, 2016, 18(12): 1148-1154. DOI: 10.1088/1009-0630/18/12/02 |
[6] | CHEN Gen (陈根), QIN Chengming (秦成明), MAO Yuzhou (毛玉周), ZHAO Yanping (赵燕平), YUAN Shuai (袁帅), ZHANG Xinjun (张新军). Power Compensation for ICRF Heating in EAST[J]. Plasma Science and Technology, 2016, 18(8): 870-874. DOI: 10.1088/1009-0630/18/8/14 |
[7] | DING Baogang (丁宝钢), CHEN Chao (陈超), WANG Wendi (王闻迪), WU Tongyu (吴彤宇), ZHOU Yan (周艳), YIN Zejie (阴泽杰). Research on the Real-Time Phase Jump Process Method for Plasma Electron Density Measurement in HL-2A Tokamak[J]. Plasma Science and Technology, 2015, 17(10): 837-841. DOI: 10.1088/1009-0630/17/10/05 |
[8] | LI Changzheng(李长征), HU Jiansheng(胡建生), CHEN Yue(陈跃), LIANG Yunfeng(梁云峰), LI Jiangang(李建刚), LI Jiahong(李加宏), WU Jinhua(吴金华), HAN Xiang(韩翔). First Results of Pellet Injection Experiments on EAST[J]. Plasma Science and Technology, 2014, 16(10): 913-918. DOI: 10.1088/1009-0630/16/10/03 |
[9] | WANG Fuqiong(王福琼), CHEN Yiping(陈一平), HU Liqun(胡立群). DIVIMP Modeling of Impurity Transport in EAST[J]. Plasma Science and Technology, 2014, 16(7): 642-649. DOI: 10.1088/1009-0630/16/7/03 |
[10] | ZHANG Shoubiao(张寿彪), GAO Xiang(高翔), LING Bili(凌必利), WANG Yumin(王嵎民), ZHANG Tao(张涛), HAN Xiang(韩翔), LIU Zixi(刘子奚), BU Jingliang(布景亮), LI Jiangang(李建刚), EAST team. Density Profile and Fluctuation Measurements by Microwave Reflectometry on EAST[J]. Plasma Science and Technology, 2014, 16(4): 311-315. DOI: 10.1088/1009-0630/16/4/02 |
1. | Zhang, X., Wang, Z. Thermal protection and drag reduction induced by flow control devices in supersonic/hypersonic flows: A review. Progress in Aerospace Sciences, 2025. DOI:10.1016/j.paerosci.2025.101093 |