Method, device, equipment and storage medium for online rapid measurement of superconducting cavity parameters based on frequency sweeping algorithm
By applying an online rapid measurement method based on a scanning algorithm in the superconducting cavity, using wide scanning frequency and three-point method for fine scanning, the problem of inefficiency of traditional measurement methods is solved, and efficient and accurate measurement of superconducting cavity parameters is achieved.
Patent Information
- Application Number
- CN202411962225.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-12-30
AI Technical Summary
Traditional superconducting cavity parameter measurement methods are inefficient, requiring complex cable connections and relying on external equipment, resulting in inefficient measurements.
The superconducting cavity parameter online rapid measurement method based on the frequency scanning algorithm is adopted. The upper computer receives the scan parameters input by the user and performs preliminary positioning within a wide frequency scanning range. Then, the three-point method is used to perform fine scanning, and the cavity pressure signal is read in real time to determine the cavity parameters.
It improves the efficiency of superconducting cavity parameter measurement, can accurately locate the resonance frequency and other key parameters of the cavity in a short time, and reduces dependence on external devices.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of accelerator technology, and in particular to a method, device, equipment and storage medium for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm. Background Art
[0002] During the aging process of the superconducting cavity, the center frequency of the cavity is accurately measured ( f 0), half bandwidth ( f 0.5 ) and the Lorentz detuning ( K LED ) are crucial to ensure the excellent performance of the cavity in high-energy physics experiments. The above key parameters can be obtained by measuring the amplitude-frequency and phase-frequency response curves of the superconducting cavity.
[0003] The traditional method of measuring superconducting cavity parameters relies on external equipment (such as a network analyzer) for measurement. This method requires the network analyzer to be connected to the low-level equipment of the superconducting cavity through complex cables. In addition, the network analyzer can only measure one superconducting cavity at a time, resulting in low measurement efficiency. Summary of the invention
[0004] In view of the technical problems existing in the prior art, the present invention provides a method, device, equipment and storage medium for online rapid measurement of superconducting cavity parameters based on a sweep frequency algorithm, so as to solve the defect of low measurement efficiency in the prior art and improve the measurement efficiency of superconducting cavity parameters.
[0005] In a first aspect, the present invention provides a method for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm, the method being applied to a host computer in an online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm, the online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm comprising the host computer and a superconducting cavity to be scanned; the method comprising the following steps:
[0006] receiving a wide scanning frequency range, a cavity number of the superconducting cavity to be scanned, a wide scanning step length, and a scanning exit condition input by a user;
[0007] Scanning the superconducting cavity to be scanned using the wide scanning step length within the wide scanning frequency range, and receiving cavity pressure signals of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0008] Determining the frequency point corresponding to the maximum value of the cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0009] Determining a frequency range of a fine scan based on a frequency point corresponding to a maximum cavity pressure during the wide scan process; the frequency range of the fine scan is smaller than the frequency range of the wide scan;
[0010] The superconducting cavity to be scanned is scanned by using the three-part method within the frequency range of fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received;
[0011] Determine the maximum value of the cavity pressure in the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and judge the interval update range of the three-part method based on the maximum value of the cavity pressure in the fine scanning process, and execute the process cyclically until the scanning exit condition is met;
[0012] Based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure, all data points are fitted and analyzed to obtain the parameters of the superconducting cavity to be scanned.
[0013] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, the superconducting cavity to be scanned includes a digital low-level system, and the digital low-level system is connected to the host computer;
[0014] The method of scanning the superconducting cavity to be scanned by using the wide scanning step length within the wide scanning frequency range, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process, comprises:
[0015] Interacting with the digital low-level system through the experimental physics and industrial control system EPICS, including setting the cavity frequency of the superconducting cavity to be scanned, and checking whether the cavity frequency of the superconducting cavity to be scanned is set successfully;
[0016] When the cavity frequency is successfully set, the EPICS sends a request to receive the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point under the cavity frequency in the digital low-level system.
[0017] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, the method determines the frequency point corresponding to the maximum value of the cavity pressure in the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the wide scanning process, including:
[0018] Performing filtering processing on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process to obtain a cavity pressure signal after filtering processing;
[0019] Based on the cavity pressure signal after filtering, a frequency point corresponding to the maximum cavity pressure during the wide scanning process is determined.
[0020] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, the frequency point corresponding to the maximum value of the cavity pressure during the wide sweep process is determined based on the cavity pressure signal after filtering, including:
[0021] Determining the position information of the pulse end in the filtered cavity pressure signal according to the filtered cavity pressure signal and the width of the forward pulse of the radio frequency system;
[0022] Determine the average value of the cavity pressure within a preset time period before the position information of the pulse ends;
[0023] Based on the average value of the cavity pressure in the previous preset time period, a frequency point corresponding to the maximum value of the cavity pressure in the wide scanning process is determined.
[0024] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, the frequency sweep of the superconducting cavity to be scanned is performed using a three-part method within the frequency range of fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is received, comprising:
[0025] Comparing the maximum cavity pressure during the wide scanning process with a preset cavity pressure threshold, and determining that the cavity field of the superconducting cavity to be scanned has been successfully established within the wide scanning frequency range when it is determined that the maximum cavity pressure during the wide scanning process is greater than the preset cavity pressure threshold;
[0026] When it is determined that the superconducting cavity to be scanned has successfully established a cavity field within the wide scanning frequency range, determining a frequency range for fine scanning based on a frequency point corresponding to a maximum cavity pressure under the wide scanning;
[0027] The superconducting cavity to be scanned is frequency scanned by using the three-part method within the frequency range of the fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is received.
[0028] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, the preset exit condition is a preset interval length threshold; the scanning exit condition is a preset interval length threshold; the frequency sweeping of the superconducting cavity to be scanned is performed using a three-part method within the frequency range of the fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is received, comprising:
[0029] According to the frequency range of the fine scan, two frequency point positions that divide the fine scan range into three parts are determined; the two frequency point positions that divide the fine scan range into three parts are located at one-third and two-thirds of the frequency range of the fine scan respectively;
[0030] EPICS is used to interact with the superconducting cavity to be scanned according to the two three-point frequency points respectively, to obtain the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process; the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is used to obtain the maximum cavity pressure corresponding to each of the two three-point frequency points;
[0031] Determine the frequency point corresponding to the larger value of the cavity pressure maximum values corresponding to the two third frequency points as the updated center point, and determine the updated frequency range of the fine scan based on the updated center point;
[0032] Determining a set of updated frequency points according to the updated fine scan frequency range, and again using EPICS to interact with the superconducting cavity to be scanned based on the updated frequency points;
[0033] When it is determined that the interval length corresponding to the updated fine scan frequency range is less than the preset interval length threshold, the fine scan process is exited.
[0034] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure, all data points are fitted and analyzed to obtain the parameters of the superconducting cavity to be scanned, including:
[0035] When the scanning exit condition is met, all the data points recorded during the fine scanning process are acquired; any of the data points includes a frequency point and a maximum cavity pressure value corresponding to the frequency point;
[0036] Converting all data points recorded during the fine scanning process to obtain all converted data points; all converted data points include the frequency points and the electric field peak values corresponding to the frequency points;
[0037] Fitting analysis is performed on all the converted data points to determine the parameters of the superconducting cavity to be scanned; the parameters include at least one of the following: the center frequency, half bandwidth and Lorentz detuning factor of the cavity.
[0038] In a second aspect, the present invention further provides an online rapid measurement device for superconducting cavity parameters based on a frequency sweeping algorithm, the device being applied to a host computer in an online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm, the online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm comprising the host computer and a superconducting cavity to be scanned; the device comprising the following modules:
[0039] A receiving module, used for receiving a wide scanning frequency range, a cavity number of the superconducting cavity to be scanned, a wide scanning step length and a scanning exit condition input by a user;
[0040] A scanning module, used for scanning the superconducting cavity to be scanned by using the wide scanning step within the wide scanning frequency range, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the wide scanning process; determining the frequency point corresponding to the maximum cavity pressure in the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the wide scanning process; determining the frequency range of fine scanning based on the frequency point corresponding to the maximum cavity pressure in the wide scanning process; the frequency range of fine scanning is smaller than the wide scanning frequency range; scanning the superconducting cavity to be scanned by using the three-part method within the frequency range of fine scanning, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process; determining the maximum cavity pressure in the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and judging the interval update range of the three-part method based on the maximum cavity pressure in the fine scanning process, and executing the process cyclically until the scanning exit condition is met;
[0041] The parameter fitting module is used to perform fitting analysis on all data points based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure value to obtain the parameters of the superconducting cavity to be scanned.
[0042] In a third aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, an online rapid measurement method for superconducting cavity parameters based on a sweep frequency algorithm as described in any one of the above-mentioned methods is implemented.
[0043] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for online rapid measurement of superconducting cavity parameters based on a sweep frequency algorithm.
[0044] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-described methods for online rapid measurement of superconducting cavity parameters based on a sweep frequency algorithm.
[0045] The present invention provides a method, device, equipment and storage medium for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm. The method is applied to a host computer in an online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm. The online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm comprises the host computer and a superconducting cavity to be scanned. The method comprises: first, receiving a wide scanning frequency range, a cavity number of a superconducting cavity to be scanned, a wide scanning step length and a scanning exit condition input by a user; then, scanning the superconducting cavity to be scanned with a wide scanning step length within the wide scanning frequency range, and receiving a cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; determining a frequency point corresponding to a maximum cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; Furthermore, based on the frequency point corresponding to the maximum cavity pressure in the wide scanning process, the frequency range of the fine scanning is determined, and the three-part method is used to scan the superconducting cavity to be scanned within the frequency range of the fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received; the frequency range of the fine scanning is smaller than the wide scanning frequency range, and the maximum cavity pressure in the fine scanning process is determined based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and the interval update range of the three-part method is judged based on the maximum cavity pressure in the fine scanning process, and the process is executed repeatedly until the scan exit condition is met; and then, all data points are fitted and analyzed based on each frequency point recorded in the fine scanning process and the corresponding maximum cavity pressure values, so as to obtain the parameters of the superconducting cavity to be scanned.
[0046] The on-line rapid measurement system of superconducting cavity parameters based on the frequency sweeping algorithm in the present invention comprises a host computer and a superconducting cavity to be scanned. The frequency sweeping of the superconducting cavity and the real-time reading of the cavity pressure signal are realized by the algorithm in the host computer, thereby realizing the on-line rapid measurement of the superconducting cavity parameters. In addition, a wide-range scan is first performed to quickly locate the frequency range, providing initial conditions for fine scanning, and then a three-part method is used to further optimize the search based on the frequency range initially locked by the wide-range scan, thereby accelerating the frequency search speed, thereby accurately locating the resonance frequency of the cavity, being able to accurately locate the parameters of the superconducting cavity in a relatively short time, and effectively improving the measurement efficiency of the superconducting cavity parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 This is one of the flow charts of the method for online rapid measurement of superconducting cavity parameters based on the sweep frequency algorithm provided by the present invention.
[0049] Figure 2 It is a structural schematic diagram of the online rapid measurement system of superconducting cavity parameters based on the sweep frequency algorithm provided by the present invention.
[0050] Figure 3 A diagram showing the signal waveform changes of the cavity pressure during a wide range scanning process provided by the present invention.
[0051] Figure 4 It is a signal waveform change diagram of the cavity pressure during the fine scanning process of the three-part method provided by the present invention.
[0052] Figure 5 This is a schematic diagram of the results of data point fitting provided by the present invention.
[0053] Figure 6 This is the second flow chart of the method for online rapid measurement of superconducting cavity parameters based on the sweep frequency algorithm provided by the present invention.
[0054] Figure 7 It is a structural schematic diagram of a superconducting cavity parameter online rapid measurement device based on a frequency sweeping algorithm provided by the present invention.
[0055] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] Combine the following Figure 1-Figure 8 The invention describes a method, device, equipment and storage medium for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm.
[0058] Figure 1 It is one of the flow charts of the method for online rapid measurement of superconducting cavity parameters based on the sweeping frequency algorithm provided by the present invention. The method is applied to a host computer in a system for online rapid measurement of superconducting cavity parameters based on the sweeping frequency algorithm. The system for online rapid measurement of superconducting cavity parameters based on the sweeping frequency algorithm comprises a host computer and a superconducting cavity to be scanned; Figure 1 As shown, the method includes the following:
[0059] Step 101, receiving a wide scanning frequency range, a cavity number of a superconducting cavity to be scanned, a wide scanning step length, and a scanning exit condition input by a user;
[0060] Specifically, it should be noted that the executor of the embodiment of the present invention is a host computer in an online rapid measurement system of superconducting cavity parameters based on a sweep frequency algorithm, which is used to realize online rapid measurement of superconducting cavity parameters based on a sweep frequency algorithm to improve measurement efficiency.
[0061] The superconducting cavity parameters include, for example, the center frequency ( ), half bandwidth ( ) and the Lorentz detuning factor ( ) and other key parameters. Among them, the center frequency ( f 0): refers to the resonant frequency of the cavity resonator. For example, in an experiment, the center frequency f 0 is set to 2.585GHz. Half bandwidth ( f 0.5 ): Half bandwidth usually refers to the 3dB bandwidth of the cavity resonator, that is, the frequency range where the insertion loss increases by 3dB on both sides of the center frequency. The search results do not directly mention the definition of half bandwidth, but it is usually related to the quality factor (Q factor) and center frequency of the cavity. Lorentz detuning ( K LED ) factor: is a parameter that measures the mechanical stability of the cavity under the Lorentz force. The Lorentz force detuning is proportional to the square of the cavity acceleration gradient. For example, the Lorentz detuning factor K LED Calculated to be 1.574Hz / (MV / m)².
[0062] Figure 2 FIG. 1 is a schematic diagram of the structure of the online rapid measurement system for superconducting cavity parameters based on the frequency sweep algorithm provided by the present invention. Figure 2 As shown, the online rapid measurement system of superconducting cavity parameters based on the sweep frequency algorithm includes a host computer 8 and a superconducting cavity. The host computer 8 is connected to the superconducting cavity through a data bus. The host computer sets the cavity frequency and reads the cavity pressure data in real time through the existing tool Experimental Physics and Industrial Control System (EPICS).
[0063] The superconducting cavity includes a digital low-level system 1, a solid-state power source 2, a directional coupler 3, an input coupler 4, a radio frequency cavity 5, a signal extraction coupler 6, a down-conversion module 7 and a coaxial feed tube 9. The output end of the digital low-level system 1 is connected to the input end of the solid-state power source 2, the output end of the solid-state power source 2 is connected to the input end of the directional coupler 3 through the coaxial feed tube 9, the output end (through port) of the directional coupler 3 is fed into the radio frequency cavity 5 through the input coupler 4, and the directional coupler 3 extracts the cavity incident signal P f and the reflected signal P rThe signal extraction coupler 6 is used to connect the RF cavity 5 to extract the cavity sampling signal P t , the above signals (P f , P r and P t ) is received by the digital low-level system 1 after being down-converted by the down-conversion module 7. The digital low-level system 1 receives the radio frequency signal P f , P r and P t ) to demodulate the corresponding digital baseband in-phase and quadrature (I / Q) components, and finally upload them to the host computer 8 through the data bus.
[0064] In this embodiment, the host computer runs an online fast measurement algorithm for superconducting cavity parameters based on a frequency sweep algorithm, and the method includes the following steps:
[0065] First, perform a wide range scan. Specifically, first receive the wide scan frequency range, the cavity number of the superconducting cavity to be scanned, the wide scan step length, and the scan exit condition input by the user. Among them, the wide scan frequency range refers to a larger frequency range, such as scanning a frequency range of 1MHz or 0.1MHz, and gradually looking for a fine frequency range that can generate a cavity field. Through this step, we can preliminarily lock a narrower frequency range to provide initial conditions for fine scanning. The cavity number of the superconducting cavity to be scanned is the identification information of the superconducting cavity to be scanned, which can uniquely locate the specific superconducting cavity. The wide scan step length and the wide scan frequency range, for example, in a frequency range of 1MHz or 0.1MHz, take a specific step length (such as 5000Hz) for a rough scan to explore the frequency response range of the superconducting cavity. Stop scanning when the scan exit condition is met.
[0066] Step 102, scanning the superconducting cavity to be scanned with a wide scanning step length within a wide scanning frequency range, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0067] Specifically, after receiving the wide scanning frequency range, the cavity number of the superconducting cavity to be scanned, the wide scanning step length, and the scanning exit condition input by the user, the program executes according to the following steps:
[0068] First, the superconducting cavity to be scanned is scanned with a wide scanning step within a wide scanning frequency range, and the first cavity response signal of the superconducting cavity to be scanned under the wide scanning is read. It can be understood that each frequency point corresponds to a first cavity response signal .
[0069] For example, the program first receives the sweep range, cavity number, and sweep step size (the default is 5000Hz) entered by the user. Then, the corresponding Process Variable (PV) name is matched according to the cavity number entered by the user. For example, when the cavity number is 1, the PV name of the cavity pressure amplitude is LLRF_01:triggerrf4amp, and the PV name of the frequency is LLRF_01:sweepstartfreq.
[0070] Step 103, determining the frequency point corresponding to the maximum cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0071] Specifically, in the process of obtaining the wide scan, each frequency point and the cavity response signal corresponding to each frequency point are After that, the cavity response signal can be further The maximum cavity pressure within a wide scanning frequency range is determined by a detailed analysis of the
[0072] For example, after the wide range scanning process is completed, the frequency position corresponding to the maximum cavity pressure within the wide scanning frequency range (162.1MHz~162.2MHz) can be obtained, and the frequency position corresponding to the maximum cavity pressure can be determined as the optimal operating frequency. , which is convenient for subsequent optimization based on the optimal operating frequency Proceed to the next step of detailed scanning.
[0073] Step 104, determining a frequency range for fine scanning based on the frequency point corresponding to the maximum cavity pressure during the wide scanning process;
[0074] Specifically, after determining the optimal operating frequency Afterwards, the optimal operating frequency can be Determine the frequency range of fine scanning. The frequency range of fine scanning is smaller than that of wide scanning, so fast online scanning can be achieved.
[0075] Step 105, scanning the frequency of the superconducting cavity to be scanned at the frequency point by using the three-part method within the frequency range of the fine scanning, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process;
[0076] Specifically, the three-part method can be used to perform fast scanning within the frequency range of fine scanning, and the accuracy threshold can be defined as (e.g. 10Hz), the accuracy threshold is For example, it represents the interval length threshold, and when the accuracy threshold is met, the fine scanning is stopped.
[0077] Correspondingly, the cavity response signal of the superconducting cavity to be scanned is read during the fine scanning process. The cavity response signal can be used to determine the cavity pressure value corresponding to each frequency point.
[0078] Step 106, determining the maximum cavity pressure during the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process, and judging the interval update range of the three-part method based on the maximum cavity pressure during the fine scanning process, and executing this process repeatedly until the scanning exit condition is met;
[0079] Specifically, after obtaining the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process, the maximum cavity pressure during the fine scanning process can be further determined according to the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process, and the interval update range of the three-part method can be determined based on the maximum cavity pressure during the fine scanning process.
[0080] This process is executed repeatedly until the scanning exit condition is met, then the scanning is exited.
[0081] Step 107: Perform fitting analysis on all data points based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure value to obtain the parameters of the superconducting cavity to be scanned.
[0082] Specifically, after the fine scanning stops, all data points in the fine scanning process can be recorded, and the data points are, for example, each scanning point and the corresponding cavity pressure value. The cavity pressure value is proportional to the electric field peak value, and the cavity pressure value can be converted into the electric field peak value.
[0083] Furthermore, all data points are fitted and analyzed to obtain the parameters of the superconducting cavity to be scanned. For example, the following formula is used for fitting:
[0084]
[0085] in, , represents the peak value of the electric field, , represents the frequency of each scanning point, is the center frequency , Half bandwidth , for The maximum value of is the Lorentz detuning factor .
[0086] That is, the data points are obtained based on the one-to-one correspondence between each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure. Then, based on each data point The curve is drawn, and the parameters of the superconducting cavity to be scanned can be derived after fitting and analyzing the curve, as follows:
[0087] Center frequency , Half bandwidth , = The maximum value of = Lorentz detuning factor .
[0088] For example, Figure 3 The signal waveform change diagram of the cavity pressure during the wide range scanning process provided by the present invention is as follows: Figure 3 As shown, the cavity pressure value is the largest during the 16th scan, indicating that the preset frequency at this time is closest to the center frequency. After the wide range scan is completed, the scan diagram will continue based on this frequency. Figure 4 : is a signal waveform change diagram of the cavity pressure during the fine scanning process of the three-part method provided by the present invention, such as Figure 4 As shown in the figure, after 18 interval optimizations, the final frequency converges to within the preset accuracy.
[0089] Figure 5 This is a schematic diagram of the results of the data point fitting provided by the present invention. Figure 5 As shown in the figure, the blue points are experimental scanning points, the black dotted line is the fitting result when Lorentz detuning is not considered, the red solid line is the fitting result when Lorentz detuning is considered, and the gray dotted line is the Lorentz detuning corresponding to different electric field peaks. Both sub-figures in the figure are detail figures. After fitting, the center frequency of the cavity system can be obtained according to the fitting coefficient , half bandwidth , Lorentz detuning factor The measurement results.
[0090] The method provided in this embodiment is applied to a host computer in an online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm. The online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm includes a host computer and a superconducting cavity to be scanned. The method includes: first, receiving a wide scanning frequency range, a cavity number of a superconducting cavity to be scanned, a wide scanning step length, and a scanning exit condition input by a user; then, scanning the superconducting cavity to be scanned with a wide scanning step length within the wide scanning frequency range, and receiving a cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; determining a frequency point corresponding to a maximum cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; further, based on the cavity pressure signal of the superconducting cavity to be scanned during the wide scanning process, determining a frequency point corresponding to a maximum cavity pressure during the wide scanning process; further, determining a cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; The frequency point corresponding to the maximum value is used to determine the frequency range of fine scanning, and the three-part method is used to scan the superconducting cavity to be scanned within the frequency range of fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received; the frequency range of fine scanning is smaller than the wide scanning frequency range, and the maximum cavity pressure in the fine scanning process is determined based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and the interval update range of the three-part method is judged based on the maximum cavity pressure in the fine scanning process, and the process is executed repeatedly until the scan exit condition is met; further, all data points are fitted and analyzed based on each frequency point recorded in the fine scanning process and the corresponding cavity pressure maximum values, so as to obtain the parameters of the superconducting cavity to be scanned.
[0091] The on-line rapid measurement system of superconducting cavity parameters based on the frequency sweeping algorithm in the present invention comprises a host computer and a superconducting cavity to be scanned. The frequency sweeping of the superconducting cavity and the real-time reading of the cavity pressure signal are realized by the algorithm in the host computer, thereby realizing the on-line rapid measurement of the superconducting cavity parameters. In addition, a wide-range scan is first performed to quickly locate the frequency range, providing initial conditions for fine scanning, and then a three-part method is used to further optimize the search based on the frequency range initially locked by the wide-range scan, thereby accelerating the frequency search speed, thereby accurately locating the resonance frequency of the cavity, being able to accurately locate the parameters of the superconducting cavity in a relatively short time, and effectively improving the measurement efficiency of the superconducting cavity parameters.
[0092] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, the superconducting cavity to be scanned includes a digital low-level system, and the digital low-level system is connected to a host computer;
[0093] The superconducting cavity to be scanned is scanned with a wide scanning step length within a wide scanning frequency range, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the wide scanning process is received, including:
[0094] Interact with the digital low-level system through the experimental physics and industrial control system EPICS, including setting the cavity frequency of the superconducting cavity to be scanned, and checking whether the cavity frequency of the superconducting cavity to be scanned is set successfully;
[0095] When the cavity frequency is successfully set, the EPICS sends a request and receives the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point under the cavity frequency in the digital low-level system.
[0096] Specifically, the superconducting cavity to be scanned includes a digital low-level system, and the digital low-level system is connected to a host computer.
[0097] In some embodiments, the wide scan process in step 102 is implemented by the following steps:
[0098] Optionally, the cavity frequency of the superconducting cavity to be scanned can be set through the experimental physics and industrial control system EPICS, and it can be checked whether the cavity frequency of the superconducting cavity to be scanned is set successfully. The cavity frequency of the superconducting cavity to be scanned is a pre-set fixed frequency. During the frequency scanning process, if the frequency point is close to or consistent with the cavity frequency of the superconducting cavity to be scanned, a large cavity pressure will be generated in the superconducting cavity, and resonance will be induced at this time. The purpose of this process is to avoid frequency setting failures caused by factors such as network delays, thereby ensuring the accuracy of the scan.
[0099] The EPICS system is a set of open source software tools and applications that provide software infrastructure for building distributed control systems. EPICS is widely used in fields that require high-precision control, such as particle accelerators, large experimental facilities, and telescopes. Use EPICS to set the current frequency value and check whether the frequency setting is successful. If the setting is successful, the program continues to the next step; if the setting fails, the program will re-set the frequency until the setting is successful. The purpose of this process is to avoid frequency setting failures caused by factors such as network delays, thereby ensuring the accuracy of the scan.
[0100] When the cavity frequency is successfully set, EPICS sends a request to receive the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point under the cavity frequency in the digital low-level system. It can be understood that one frequency point in the wide scanning frequency range corresponds to the output of a cavity response signal. The host computer receives the cavity response signal of the superconducting cavity to be scanned under the wide scan uploaded by the digital low-level system, and the process of the host computer reading the cavity response signal is also obtained through the experimental physics and industrial control system EPICS.
[0101] For example, the process of executing a scanning task is as follows:
[0102] Step 1. Set the current cavity frequency and determine whether the setting is successful; if successful, proceed to the next step; if unsuccessful, reset it again.
[0103] Step 2: Obtain the first cavity response signal and perform filtering processing.
[0104] Step 3: Calculate the maximum cavity pressure based on the first cavity response signal.
[0105] The method provided in this embodiment is a wide scanning process. First, the cavity frequency of the superconducting cavity to be scanned is set through experimental physics and industrial control system EPICS, and it is checked whether the cavity frequency of the superconducting cavity to be scanned is set successfully; when the cavity frequency is set successfully, the superconducting cavity to be scanned is scanned with a wide scanning step within the wide scanning frequency range; the first cavity response signal of the superconducting cavity to be scanned under the wide scanning uploaded by the digital low-level system is received, so that the frequency range is quickly located through wide range scanning, which is convenient for the subsequent optimization search process by fine scanning combined with the three-part method, and the key parameters of the superconducting cavity can be accurately located in a short time, effectively improving the measurement efficiency and accuracy.
[0106] According to the present invention, a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm is provided, which determines the frequency point corresponding to the maximum cavity pressure in the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the wide scanning process, including:
[0107] Performing filtering processing on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process to obtain a cavity pressure signal after filtering processing;
[0108] Based on the cavity pressure signal after filtering, the frequency point corresponding to the maximum cavity pressure during the wide scanning process is determined.
[0109] Specifically, in some embodiments, the specific implementation process of step 103 includes the following steps:
[0110] Firstly, the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the wide scanning process is filtered to obtain a cavity response signal after filtering.
[0111] It should be noted that the cavity response signal is a time series signal, which usually contains a certain amount of noise. Therefore, in order to improve the signal quality, the program first uses a low-pass filter designed with a Kaiser window to filter the signal to remove high-frequency noise. The filtered signal will be further used for frequency response analysis.
[0112] Furthermore, the maximum cavity pressure under wide scanning is determined based on the cavity response signal after filtering, that is, the maximum cavity pressure at the current cavity frequency, thereby realizing the extraction of the maximum cavity pressure. This maximum value will be used as the cavity pressure index of this frequency, and can be further used to determine the frequency point corresponding to the maximum cavity pressure of the cavity during the scanning process, that is, the optimal operating frequency.
[0113] The method provided in this embodiment filters the read cavity response signal to obtain the filtered cavity response signal, and then determines the maximum cavity pressure under wide scanning based on the filtered cavity response signal, thereby realizing the extraction of the maximum cavity pressure under the cavity frequency.
[0114] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, based on a cavity pressure signal after filtering, a frequency point corresponding to the maximum cavity pressure in a wide scanning process is determined, comprising:
[0115] Determine the position information of the pulse end in the filtered cavity pressure signal according to the filtered cavity pressure signal and the width of the forward pulse of the radio frequency system;
[0116] Determine the average value of the cavity pressure within a preset time period before the position information of the pulse end;
[0117] Based on the average value of the cavity pressure in the previous preset time period, the frequency point corresponding to the maximum value of the cavity pressure during the wide scanning process is determined.
[0118] Specifically, in some embodiments, the specific implementation process of determining the frequency point corresponding to the maximum value of the cavity pressure under wide scanning based on the cavity response signal after filtering includes the following steps:
[0119] First, according to the cavity response signal after filtering and the width of the RF pulse of the RF system, determine the position information of the pulse end in the cavity response signal after filtering. The width of the RF pulse (radio frequency (RF) pulseeduration) refers to the width of the RF pulse envelope when it is a certain value (such as 0.5) of the flat-top amplitude. The pulse width is usually defined as the time interval at the pulse amplitude level of 0.5. For example, in Figure 4 It can be seen from the 18th scan that the position on the horizontal axis corresponding to the maximum value of the cavity response signal is also the position information of the end of the pulse in the cavity response signal. The program can determine the width of the signal based on the RF pulse. Location.
[0120] Further, the average value of the cavity pressure in the preset time period before the position information of the pulse end is determined. Further, based on the average value of the cavity pressure in the preset time period before, the maximum value of the cavity pressure under wide scanning is determined; the frequency point corresponding to the maximum value of the cavity pressure is the optimal operating frequency. By calculating Top 4 The maximum cavity pressure at this frequency can be obtained by taking the average cavity pressure of the cavity.
[0121] This maximum value will be used as the cavity pressure indicator for that frequency, and further used to determine the optimal operating frequency of the cavity during the scanning process. .
[0122] In the method provided in this embodiment, the program determines the position information of the end of the pulse in the cavity pressure signal according to the width of the RF pulse, and then calculates the maximum cavity pressure at this frequency, so as to facilitate the subsequent determination of the optimal operating frequency of the cavity during the scanning process according to the maximum cavity pressure at this frequency, and realizes rapid positioning of the frequency range through wide-range scanning, which is convenient for the subsequent optimization of the search process by fine scanning combined with the three-part method, and can accurately locate the key parameters of the superconducting cavity in a relatively short time, effectively improving the measurement efficiency and accuracy.
[0123] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, a frequency sweep is performed on a superconducting cavity to be scanned using a three-part method within a fine scanning frequency range, and a cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is received, comprising:
[0124] The maximum cavity pressure during the wide scanning process is compared with a preset cavity pressure threshold, and when it is determined that the maximum cavity pressure during the wide scanning is greater than the preset cavity pressure threshold, it is determined that the cavity field of the superconducting cavity to be scanned has been successfully established within the wide scanning frequency range;
[0125] When it is determined that the superconducting cavity to be scanned has successfully established a cavity field within the wide scanning frequency range, determining the frequency range of the fine scanning based on the frequency point corresponding to the maximum cavity pressure under the wide scanning;
[0126] The frequency of the superconducting cavity to be scanned is scanned by using the three-part method within the frequency range of the fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received.
[0127] Specifically, in some embodiments, after the frequency point corresponding to the maximum cavity pressure (optimal operating frequency) is determined through a wide range scan, the frequency range of the fine scan can be further determined based on the frequency point corresponding to the maximum cavity pressure (optimal operating frequency), and then the fine scan can be performed using the three-part method.
[0128] First, the maximum cavity pressure under the wide scan is compared with the preset cavity pressure threshold. When it is determined that the maximum cavity pressure under the wide scan is greater than the preset cavity pressure threshold, it is determined that the superconducting cavity to be scanned has successfully established a cavity field within the wide scanning frequency range. After the wide range scanning process is completed, the frequency position corresponding to the maximum cavity pressure point within the wide scanning frequency range can be obtained. The program will then compare and judge based on the maximum cavity pressure and the preset threshold. If the maximum cavity pressure is lower than the set threshold (the default value is 20), it means that no effective cavity field has been established within the frequency range, and the program will automatically exit and prompt the user to adjust the scanning range. Conversely, if the maximum cavity pressure is greater than the set threshold, it means that the cavity field has been successfully established within the scanning range, and the program will use this optimal operating frequency (denoted as ) as the reference to continue the next scan.
[0129] Furthermore, when it is determined that the superconducting cavity to be scanned has successfully established a cavity field within the wide scanning frequency range, the frequency range of the fine scanning is determined based on the frequency point (optimal operating frequency) corresponding to the maximum cavity pressure under the wide scanning. ,exist , The three-point method is used to quickly scan the range, that is, the frequency range of the fine scan is determined as , .
[0130] Furthermore, the frequency of the superconducting cavity to be scanned is scanned by using the three-part method within the frequency range of the fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received.
[0131] The method provided in this embodiment can quickly locate the frequency range through wide-range scanning, and can accurately locate the key parameters of the superconducting cavity in a short time by combining fine scanning with the three-part method to optimize the search process, thereby effectively improving the measurement efficiency and accuracy.
[0132] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, a preset scan exit condition is a preset interval length threshold; a three-part method is used to perform frequency sweep on a superconducting cavity to be scanned within a fine scanning frequency range, and a cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is received, comprising:
[0133] According to the frequency range of the fine scan, two frequency point positions that divide the fine scan range into three parts are determined; the two frequency point positions that divide the fine scan range into three parts are located at one-third position and two-thirds position of the frequency range of the fine scan respectively;
[0134] EPICS is used to interact with the superconducting cavity to be scanned according to two and three frequency points respectively, so as to obtain the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process; the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is used to obtain the maximum cavity pressure corresponding to each of the two and three frequency points;
[0135] Determine the frequency point corresponding to the larger value of the cavity pressure maximum value corresponding to each of the two third frequency points as the updated center point, and determine the updated frequency range of the fine scan based on the updated center point;
[0136] Determine a set of updated frequency points according to the updated fine scan frequency range, and again use EPICS to interact with the superconducting cavity to be scanned based on the updated frequency points;
[0137] When it is determined that the interval length corresponding to the updated fine scan frequency range is less than the preset interval length threshold, the fine scan process is exited.
[0138] Specifically, in some embodiments, the preset exit condition corresponding to the fine scan is a preset interval length threshold.
[0139] Correspondingly, the specific implementation process of frequency sweeping using the thirds method includes the following steps:
[0140] According to the frequency range of the fine scan, two frequency point positions that divide the fine scan range into three parts are determined, wherein the two frequency point positions that divide the fine scan range into three parts are located at one-third position and two-thirds position of the frequency range of the fine scan respectively.
[0141] For example, the process of determining the positions of two or three frequency points is as follows:
[0142] Calculate the length of the interval , the current interval Divide into three parts and calculate two new frequency points:
[0143]
[0144] in, and are the points of the interval, located in the interval One third and two thirds.
[0145] Further, EPICS is used to interact with the superconducting cavity to be scanned according to two three-part frequency points respectively, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is obtained, wherein the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is used to obtain the maximum cavity pressure corresponding to each of the two three-part frequency points; then, the frequency point corresponding to the larger value of the cavity pressure maximum value corresponding to each of the two three-part frequency points is determined as the updated center point, and based on the updated center point, the updated frequency range of the fine scanning is determined; a group of updated frequency points is determined according to the updated frequency range of the fine scanning, and based on the updated frequency points, EPICS is used again to interact with the superconducting cavity to be scanned.
[0146] Exemplarily, the process of cavity pressure calculation and interval update is as follows:
[0147] Get separately and The maximum value of the cavity pressure at and .Compare and The size of the cavity pressure is selected as the center point of the new search range. At the same time, each scanning point and the corresponding cavity pressure value are recorded to form a data pair. , for subsequent analysis.
[0148] if , then set the new search interval to ,make , continue searching in a smaller interval.
[0149] if , then set the new search interval to ,make , continue searching in a larger interval.
[0150] Further, when it is determined that the interval length corresponding to the updated fine scan frequency range is less than the preset interval length threshold, the fine scan process is exited. For example, when it is determined that the interval length corresponding to the updated fine scan frequency range is less than the preset interval length threshold, the fine scan process is exited. At this point, it is considered that the optimal frequency has been found; otherwise, the process of calculating the interval updated cavity pressure value continues. An example of the process of checking the scan exit condition is as follows:
[0151] Each time the search interval is updated, calculate the new interval length:
[0152]
[0153] like Less than the predetermined accuracy threshold , then exit the scanning process and consider that the optimal frequency has been found; otherwise, enter step 1) and continue to execute the above process until satisfy.
[0154] The step size and accuracy in the algorithm can be adjusted according to actual needs to adapt to different accuracy requirements and measurement needs in working environments. It also has good scalability and is easy to integrate with existing systems to meet diverse measurement needs.
[0155] The method provided in this embodiment, the three-part method, divides the frequency range initially locked into three equal parts, and selects the sub-interval with the highest cavity pressure for more detailed scanning each time, thereby achieving higher accuracy. This step gradually narrows the search range to accurately locate the resonance frequency of the cavity.
[0156] According to a method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, based on each frequency point recorded during a fine scanning process and its corresponding maximum cavity pressure, all data points are fitted and analyzed to obtain the parameters of the superconducting cavity to be scanned, including:
[0157] When the scanning exit condition is met, all data points recorded during the fine scanning process are obtained; any data point includes a frequency point and the maximum cavity pressure corresponding to the frequency point;
[0158] Convert all data points recorded during the fine scanning process to obtain all converted data points; all converted data points include frequency points and electric field peak values corresponding to the frequency points;
[0159] Fitting analysis is performed on all converted data points to determine the parameters of the superconducting cavity to be scanned; the parameters include at least one of the following: the center frequency, half bandwidth and Lorentz detuning factor of the cavity.
[0160] Specifically, in some embodiments, the specific implementation process of the parameter fitting analysis in step 105 includes the following steps:
[0161] When the preset exit conditions are met, all data points recorded during the fine scanning process are obtained. Any data point includes the frequency point and the maximum cavity pressure corresponding to the frequency point. The data point is .
[0162] Furthermore, all data points recorded during the scanning process can be converted to obtain all converted data points, which include frequency points and the electric field peak values corresponding to the frequency points. Converted into the corresponding electric field peak value, get Data points.
[0163] Furthermore, fitting analysis is performed on all converted data points to determine the parameters of the superconducting cavity to be scanned, the parameters including at least one of the following: the center frequency, half bandwidth and Lorentz detuning factor of the cavity. The process of fitting the data points to obtain the parameters of the superconducting cavity to be scanned will not be described in detail here.
[0164] After fitting, the cavity system can be obtained according to the fitting coefficient. , , Measurement results.
[0165] Optionally, since the frequency point of each scanning point The value of is relatively large, while the peak energy The range of change is small, the frequency point The influence on the fitting process is greater, so the frequency points are directly fitted This may lead to large deviations. To solve this problem, we can preprocess the data points by following the steps below:
[0166] During the scanning process, first find the corresponding maximum Frequency point . Set all frequency values Uniformly adjust so that the frequency corresponding to the maximum peak point is set to zero, that is, for each frequency , the execution will Assign to , Get each frequency New value , further, can be based on each frequency New value The parameters of the superconducting cavity to be scanned are obtained by fitting, which can reduce the deviation and achieve a better fitting effect. For example, through the above adjustment, the center frequency of the cavity Can be get.
[0167] The method provided in this embodiment firstly obtains all data points recorded in the fine scanning process under the condition that the preset scanning exit condition is met, and any data point includes a frequency point and a maximum cavity pressure corresponding to the frequency point; then, all data points recorded in the fine scanning process are converted to obtain all converted data points; all converted data points include frequency points and electric field peak values corresponding to the frequency points; further, all converted data points are fitted and analyzed to determine the parameters of the superconducting cavity to be scanned, and the parameters include at least one of the following: the center frequency, half bandwidth and Lorentz detuning factor of the cavity, thereby realizing online automatic measurement, reducing manual intervention, avoiding cumbersome equipment connection and manual adjustment, ensuring the stability and consistency of the measurement process, and being able to adjust the scanning strategy in real time to adapt to different working conditions.
[0168] Figure 6 FIG. 1 is a flow chart of a method for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm provided by the present invention. Figure 6 As shown, the method includes:
[0169] Step 601, initialization: input superconducting cavity number Cav, wide scanning frequency range [a, b], wide scanning step length f step , and the accuracy threshold ε.
[0170] Step 602: Scan: Scan with a wide scan step length f within a wide scan frequency range [a, b]. step Scan; return: the maximum value V of the cavity pressure within the wide scanning frequency range c_max And the corresponding optimal frequency value f temp .
[0171] Step 603: Determine whether to establish a field. By determining the maximum value of the cavity pressure V c_maxIs it greater than or equal to 20?
[0172] Step 604, Scan: In [f temp -f step , f temp +f step ]Use the three-part method to scan until the accuracy threshold ε is met; return: the data point [f, V c ].
[0173] Step 605: Parameter fitting: Use all recorded data points [f, V c ]Fitting f0, f 0.5 , K LED .
[0174] The process of executing a scanning task is performed with reference to step 606:
[0175] Step 606, execute a scanning task: 1. Set the current frequency and determine whether it is successful: if successful, proceed to the next step; 2. Obtain the cavity pressure signal and perform filtering processing; 3. Calculate the maximum cavity pressure.
[0176] The following is a description of the online rapid measurement device for superconducting cavity parameters based on the sweep frequency algorithm provided by the present invention. The online rapid measurement device for superconducting cavity parameters based on the sweep frequency algorithm described below and the online rapid measurement method for superconducting cavity parameters based on the sweep frequency algorithm described above can correspond to each other.
[0177] Figure 7 700 is a structural diagram of an online rapid measurement device for superconducting cavity parameters based on a frequency sweeping algorithm provided by the present invention. The online rapid measurement device for superconducting cavity parameters based on a frequency sweeping algorithm 700 is applied to a host computer in an online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm. The online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm comprises the host computer and a superconducting cavity to be scanned. Figure 7 As shown, the device includes the following modules:
[0178] The receiving module 710 is used to receive the wide scanning frequency range, the cavity number of the superconducting cavity to be scanned, the wide scanning step length and the scanning exit condition input by the user;
[0179] The scanning module 720 is used to perform frequency sweeping of the superconducting cavity to be scanned by using the wide scanning step length within the wide scanning frequency range, and receive the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; determine the frequency point corresponding to the maximum cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; determine the frequency range of fine scanning based on the frequency point corresponding to the maximum cavity pressure during the wide scanning process; the frequency range of fine scanning is smaller than the wide scanning frequency range; perform frequency sweeping of the superconducting cavity to be scanned by using the three-part method within the frequency range of fine scanning, and receive the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process; determine the maximum cavity pressure during the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process, and determine the interval update range of the three-part method based on the maximum cavity pressure during the fine scanning process, and execute the process cyclically until the scanning exit condition is met;
[0180] The parameter fitting module 730 is used to perform fitting analysis on all data points based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure value to obtain the parameters of the superconducting cavity to be scanned.
[0181] The device provided in this embodiment is applied to a host computer in an online rapid measurement system for superconducting cavity parameters based on a frequency sweep algorithm, the online rapid measurement system comprising a host computer and a superconducting cavity to be scanned, the method comprising: first, a receiving module 710 receives a wide scanning frequency range, a cavity number of the superconducting cavity to be scanned, a wide scanning step length, and a scanning exit condition input by a user; a scanning module 720 performs a frequency sweep on the superconducting cavity to be scanned using the wide scanning step length within the wide scanning frequency range, and receives a cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process, determining a frequency point corresponding to a maximum cavity pressure during the wide scanning process; based on the frequency point corresponding to the maximum cavity pressure during the wide scanning process , determining a frequency range for fine scanning; the frequency range for fine scanning is smaller than the frequency range for wide scanning; scanning the superconducting cavity to be scanned by using the three-part method within the frequency range for fine scanning, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process; determining the maximum cavity pressure during the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process, and judging the interval update range of the three-part method based on the maximum cavity pressure during the fine scanning process, and executing the process in a loop until the scanning exit condition is met; a parameter fitting module 730, for fitting and analyzing all data points based on each frequency point recorded during the fine scanning process and its corresponding cavity pressure maximum value, to obtain the parameters of the superconducting cavity to be scanned.
[0182] The on-line rapid measurement system of superconducting cavity parameters based on the frequency sweeping algorithm in the present invention comprises a host computer and a superconducting cavity to be scanned. The frequency sweeping of the superconducting cavity and the real-time reading of the cavity pressure signal are realized by the algorithm in the host computer, thereby realizing the on-line rapid measurement of the superconducting cavity parameters. In addition, a wide-range scan is first performed to quickly locate the frequency range, providing initial conditions for fine scanning, and then a three-part method is used to further optimize the search based on the frequency range initially locked by the wide-range scan, thereby accelerating the frequency search speed, thereby accurately locating the resonance frequency of the cavity, being able to accurately locate the parameters of the superconducting cavity in a relatively short time, and effectively improving the measurement efficiency of the superconducting cavity parameters.
[0183] According to a superconducting cavity parameter online rapid measurement device 700 based on a frequency sweep algorithm provided by the present invention, the superconducting cavity to be scanned includes a digital low-level system, and the digital low-level system is connected to the host computer;
[0184] The scanning module 720 is specifically used for:
[0185] Interacting with the digital low-level system through the experimental physics and industrial control system EPICS, including setting the cavity frequency of the superconducting cavity to be scanned, and checking whether the cavity frequency of the superconducting cavity to be scanned is set successfully;
[0186] When the cavity frequency is successfully set, the EPICS sends a request to receive the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point under the cavity frequency in the digital low-level system.
[0187] According to the device 700 for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm provided by the present invention, the scanning module 720 is further used for:
[0188] Performing filtering processing on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process to obtain a cavity pressure signal after filtering processing;
[0189] Based on the cavity pressure signal after filtering, a frequency point corresponding to the maximum cavity pressure during the wide scanning process is determined.
[0190] According to the device 700 for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm provided by the present invention, the scanning module 720 is further used for:
[0191] Determining the position information of the pulse end in the filtered cavity pressure signal according to the filtered cavity pressure signal and the width of the forward pulse of the radio frequency system;
[0192] Determine the average value of the cavity pressure within a preset time period before the position information of the pulse ends;
[0193] Based on the average value of the cavity pressure in the previous preset time period, a frequency point corresponding to the maximum value of the cavity pressure in the wide scanning process is determined.
[0194] According to the device 700 for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm provided by the present invention, the scanning module 720 is further used for:
[0195] Comparing the maximum cavity pressure during the wide scanning process with a preset cavity pressure threshold, and determining that the cavity field of the superconducting cavity to be scanned has been successfully established within the wide scanning frequency range when it is determined that the maximum cavity pressure during the wide scanning process is greater than the preset cavity pressure threshold;
[0196] When it is determined that the superconducting cavity to be scanned has successfully established a cavity field within the wide scanning frequency range, determining a frequency range for fine scanning based on a frequency point corresponding to a maximum cavity pressure under the wide scanning;
[0197] The superconducting cavity to be scanned is frequency scanned by using the three-part method within the frequency range of the fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is received.
[0198] According to the device 700 for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm provided by the present invention, the scanning exit condition is a preset interval length threshold;
[0199] The scanning module 720 is further used for:
[0200] According to the frequency range of the fine scan, two frequency point positions that divide the fine scan range into three parts are determined; the two frequency point positions that divide the fine scan range into three parts are located at one-third and two-thirds of the frequency range of the fine scan respectively;
[0201] EPICS is used to interact with the superconducting cavity to be scanned according to the two three-point frequency points respectively, to obtain the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process; the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is used to obtain the maximum cavity pressure corresponding to each of the two three-point frequency points;
[0202] Determine the frequency point corresponding to the larger value of the cavity pressure maximum values corresponding to the two third frequency points as the updated center point, and determine the updated frequency range of the fine scan based on the updated center point;
[0203] Determining a set of updated frequency points according to the updated fine scan frequency range, and again using EPICS to interact with the superconducting cavity to be scanned based on the updated frequency points;
[0204] When it is determined that the interval length corresponding to the updated fine scan frequency range is less than the preset interval length threshold, the fine scan process is exited.
[0205] According to the device 700 for online rapid measurement of superconducting cavity parameters based on a frequency sweeping algorithm provided by the present invention, the parameter fitting module 730 is specifically used for:
[0206] When the scanning exit condition is met, all the data points recorded during the fine scanning process are acquired; any of the data points includes a frequency point and a maximum cavity pressure value corresponding to the frequency point;
[0207] Converting all data points recorded during the fine scanning process to obtain all converted data points; all converted data points include the frequency points and the electric field peak values corresponding to the frequency points;
[0208] Fitting analysis is performed on all the converted data points to determine the parameters of the superconducting cavity to be scanned; the parameters include at least one of the following: the center frequency, half bandwidth and Lorentz detuning factor of the cavity.
[0209] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the online rapid measurement method of superconducting cavity parameters based on the sweeping frequency algorithm, the method is applied to the host computer in the online rapid measurement system of superconducting cavity parameters based on the sweeping frequency algorithm, the online rapid measurement system of superconducting cavity parameters based on the sweeping frequency algorithm includes the host computer and the superconducting cavity to be scanned; the method includes:
[0210] receiving a wide scanning frequency range, a cavity number of the superconducting cavity to be scanned, a wide scanning step length, and a scanning exit condition input by a user;
[0211] Scanning the superconducting cavity to be scanned using the wide scanning step length within the wide scanning frequency range, and receiving cavity pressure signals of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0212] Determining the frequency point corresponding to the maximum value of the cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0213] Determining a frequency range of a fine scan based on a frequency point corresponding to a maximum cavity pressure during the wide scan process; the frequency range of the fine scan is smaller than the frequency range of the wide scan;
[0214] The superconducting cavity to be scanned is scanned by using the three-part method within the frequency range of fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received;
[0215] Determine the maximum value of the cavity pressure in the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and judge the interval update range of the three-part method based on the maximum value of the cavity pressure in the fine scanning process, and execute the process cyclically until the scanning exit condition is met;
[0216] Based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure, all data points are fitted and analyzed to obtain the parameters of the superconducting cavity to be scanned.
[0217] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0218] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the online rapid measurement method of superconducting cavity parameters based on the sweeping frequency algorithm provided by the above methods, the method is applied to a host computer in an online rapid measurement system of superconducting cavity parameters based on the sweeping frequency algorithm, the online rapid measurement system of superconducting cavity parameters based on the sweeping frequency algorithm includes the host computer and a superconducting cavity to be scanned; the method includes:
[0219] receiving a wide scanning frequency range, a cavity number of the superconducting cavity to be scanned, a wide scanning step length, and a scanning exit condition input by a user;
[0220] Scanning the superconducting cavity to be scanned using the wide scanning step length within the wide scanning frequency range, and receiving cavity pressure signals of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0221] Determining the frequency point corresponding to the maximum value of the cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0222] Determining a frequency range of a fine scan based on a frequency point corresponding to a maximum cavity pressure during the wide scan process; the frequency range of the fine scan is smaller than the frequency range of the wide scan;
[0223] The superconducting cavity to be scanned is scanned by using the three-part method within the frequency range of fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received;
[0224] Determine the maximum value of the cavity pressure in the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and judge the interval update range of the three-part method based on the maximum value of the cavity pressure in the fine scanning process, and execute the process cyclically until the scanning exit condition is met;
[0225] Based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure, all data points are fitted and analyzed to obtain the parameters of the superconducting cavity to be scanned.
[0226] On the other hand, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the online rapid measurement method of superconducting cavity parameters based on the sweeping frequency algorithm provided by the above methods, and the method is applied to a host computer in an online rapid measurement system of superconducting cavity parameters based on the sweeping frequency algorithm, and the online rapid measurement system of superconducting cavity parameters based on the sweeping frequency algorithm includes the host computer and a superconducting cavity to be scanned; the method includes:
[0227] receiving a wide scanning frequency range, a cavity number of the superconducting cavity to be scanned, a wide scanning step length, and a scanning exit condition input by a user;
[0228] Scanning the superconducting cavity to be scanned using the wide scanning step length within the wide scanning frequency range, and receiving cavity pressure signals of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0229] Determining the frequency point corresponding to the maximum value of the cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process;
[0230] Determining a frequency range of a fine scan based on a frequency point corresponding to a maximum cavity pressure during the wide scan process; the frequency range of the fine scan is smaller than the frequency range of the wide scan;
[0231] The superconducting cavity to be scanned is scanned by using the three-part method within the frequency range of fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received;
[0232] Determine the maximum value of the cavity pressure in the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and judge the interval update range of the three-part method based on the maximum value of the cavity pressure in the fine scanning process, and execute the process cyclically until the scanning exit condition is met;
[0233] Based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure, all data points are fitted and analyzed to obtain the parameters of the superconducting cavity to be scanned.
[0234] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0235] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0236] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm, characterized in that: A host computer used in an online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm, the online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm comprising the host computer and a superconducting cavity to be scanned; the method comprising: receiving a wide scanning frequency range, a cavity number of the superconducting cavity to be scanned, a wide scanning step length, and a scanning exit condition input by a user; Scanning the superconducting cavity to be scanned using the wide scanning step length within the wide scanning frequency range, and receiving cavity pressure signals of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; Determining the frequency point corresponding to the maximum value of the cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process; Determining a frequency range of a fine scan based on a frequency point corresponding to a maximum cavity pressure during the wide scan process; the frequency range of the fine scan is smaller than the frequency range of the wide scan; The superconducting cavity to be scanned is scanned by using the three-part method within the frequency range of fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process is received; Determine the maximum value of the cavity pressure in the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and judge the interval update range of the three-part method based on the maximum value of the cavity pressure in the fine scanning process, and execute the process cyclically until the scanning exit condition is met; Based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure, all data points are fitted and analyzed to obtain the parameters of the superconducting cavity to be scanned.
2. The method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm according to claim 1, characterized in that: The superconducting cavity to be scanned includes a digital low-level system, and the digital low-level system is connected to the host computer; The method of scanning the superconducting cavity to be scanned by using the wide scanning step length within the wide scanning frequency range, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process, comprises: Interacting with the digital low-level system through the experimental physics and industrial control system EPICS, including setting the cavity frequency of the superconducting cavity to be scanned, and checking whether the cavity frequency of the superconducting cavity to be scanned is set successfully; When the cavity frequency is successfully set, the EPICS sends a request to receive the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point under the cavity frequency in the digital low-level system.
3. The method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm according to claim 1, characterized in that: The step of determining the frequency point corresponding to the maximum cavity pressure during the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process comprises: Performing filtering processing on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the wide scanning process to obtain a cavity pressure signal after filtering processing; Based on the cavity pressure signal after filtering, a frequency point corresponding to the maximum cavity pressure during the wide scanning process is determined.
4. The method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm according to claim 3 is characterized in that: The determining, based on the cavity pressure signal after filtering, a frequency point corresponding to the maximum cavity pressure during the wide scanning process comprises: Determining the position information of the pulse end in the filtered cavity pressure signal according to the filtered cavity pressure signal and the width of the forward pulse of the radio frequency system; Determine the average value of the cavity pressure within a preset time period before the position information of the pulse ends; Based on the average value of the cavity pressure in the previous preset time period, a frequency point corresponding to the maximum value of the cavity pressure during the wide scanning process is determined.
5. The method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm according to claim 1, characterized in that: The method of scanning the frequency of the superconducting cavity to be scanned by using the three-part method within the frequency range of the fine scanning, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process, comprises: Comparing the maximum cavity pressure during the wide scanning process with a preset cavity pressure threshold, and determining that the cavity field of the superconducting cavity to be scanned has been successfully established within the wide scanning frequency range when it is determined that the maximum cavity pressure during the wide scanning process is greater than the preset cavity pressure threshold; When it is determined that the superconducting cavity to be scanned has successfully established a cavity field within the wide scanning frequency range, determining a frequency range for fine scanning based on a frequency point corresponding to a maximum cavity pressure under the wide scanning; The frequency of the superconducting cavity to be scanned is scanned by using the three-part method within the frequency range of the fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is received.
6. The method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm according to claim 5, characterized in that: The scanning exit condition is a preset interval length threshold; the frequency scanning of the superconducting cavity to be scanned is performed using the three-part method within the frequency range of the fine scanning, and the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is received, including: According to the frequency range of the fine scan, two frequency point positions that divide the fine scan range into three parts are determined; the two frequency point positions that divide the fine scan range into three parts are located at one-third and two-thirds of the frequency range of the fine scan respectively; EPICS is used to interact with the superconducting cavity to be scanned according to the two three-point frequency points respectively, to obtain the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process; the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point during the fine scanning process is used to obtain the maximum cavity pressure corresponding to each of the two three-point frequency points; Determine the frequency point corresponding to the larger value of the cavity pressure maximum values corresponding to the two third frequency points as the updated center point, and determine the updated frequency range of the fine scan based on the updated center point; Determining a set of updated frequency points according to the updated fine scan frequency range, and again using EPICS to interact with the superconducting cavity to be scanned based on the updated frequency points; When it is determined that the interval length corresponding to the updated fine scan frequency range is less than the preset interval length threshold, the fine scan process is exited.
7. The method for online rapid measurement of superconducting cavity parameters based on a frequency sweep algorithm according to claim 1, characterized in that: The method of performing fitting analysis on all data points based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure value to obtain the parameters of the superconducting cavity to be scanned includes: When the scanning exit condition is met, all the data points recorded during the fine scanning process are acquired; any of the data points includes a frequency point and a maximum cavity pressure value corresponding to the frequency point; Converting all data points recorded during the fine scanning process to obtain all converted data points; all converted data points include the frequency points and the electric field peak values corresponding to the frequency points; Fitting analysis is performed on all the converted data points to determine the parameters of the superconducting cavity to be scanned; the parameters include at least one of the following: the center frequency, half bandwidth and Lorentz detuning factor of the cavity.
8. An online rapid measurement device for superconducting cavity parameters based on a frequency sweep algorithm, characterized in that: A host computer used in an online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm, the online rapid measurement system for superconducting cavity parameters based on a frequency sweeping algorithm comprising the host computer and a superconducting cavity to be scanned; the device comprises: A receiving module, used for receiving a wide scanning frequency range, a cavity number of the superconducting cavity to be scanned, a wide scanning step length and a scanning exit condition input by a user; A scanning module, used for scanning the superconducting cavity to be scanned by using the wide scanning step within the wide scanning frequency range, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the wide scanning process; determining the frequency point corresponding to the maximum cavity pressure in the wide scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the wide scanning process; determining the frequency range of fine scanning based on the frequency point corresponding to the maximum cavity pressure in the wide scanning process; the frequency range of fine scanning is smaller than the wide scanning frequency range; scanning the superconducting cavity to be scanned by using the three-part method within the frequency range of fine scanning, and receiving the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process; determining the maximum cavity pressure in the fine scanning process based on the cavity pressure signal of the superconducting cavity to be scanned corresponding to each frequency point in the fine scanning process, and judging the interval update range of the three-part method based on the maximum cavity pressure in the fine scanning process, and executing the process cyclically until the scanning exit condition is met; The parameter fitting module is used to perform fitting analysis on all data points based on each frequency point recorded during the fine scanning process and its corresponding maximum cavity pressure value to obtain the parameters of the superconducting cavity to be scanned.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the online rapid measurement method for superconducting cavity parameters based on the sweep frequency algorithm as claimed in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for online rapid measurement of superconducting cavity parameters based on a sweep frequency algorithm as claimed in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Superconducting cavity virtual frequency switching method
CN111489331A
Superconducting cavity optimization method, system and equipment based on COMSOL and medium
CN114186402A