Method, device, equipment and medium for online measurement of dynamic loaded quality factor and dynamic detuning of radio frequency cavity

CN118818200BActive Publication Date: 2024-11-29INST OF MODERN PHYSICS CHINESE ACADEMY OF SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411310516.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-11-29
Estimated Expiration
2044-09-20

AI Technical Summary

Technical Problem

The prior art is difficult to measure the dynamic on-load quality factor and dynamic detuning of the RF cavity in real time online in particle accelerators, especially in self-excitation mode, resulting in limited measurement accuracy and affecting the efficient operation and performance monitoring of the RF system.

Method used

By obtaining the beam current, cavity pressure and forward voltage of the radio frequency cavity, establishing a differential equation, and decomposition it in polar coordinates, calculating the half bandwidth and detuning of the cavity, and then obtaining dynamic on-load quality factor and dynamic detuning. Suitable for not only GDR mode, but also SEL mode.

Benefits of technology

It realizes accurate online measurement of dynamic on-load quality factors and dynamic detuning in the RF cavity SEL mode, and can detect thermal superfluid events and electromechanical oscillation faults during RF exercise, providing a mathematical model basis for the mechanical mode of RF superconducting cavity. And no additional hardware equipment is required.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118818200B_ABST
    Figure CN118818200B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity, including: obtaining a beam current I b , the cavity pressure of the RF cavity V c and forward voltage V f Based on cavity pressure V c , forward voltage V f and beam I b Establish the cavity differential equation; convert the cavity pressure V c , forward voltage V f and beam I b According to the amplitude and phase angle, it is decomposed into polar coordinates; the cavity pressure is calculated respectively V c The amplitude signal r The numerical derivatives #imgabs1# and #imgabs2# of the phase signal #imgabs0# are substituted into the cavity differential equation to calculate the half bandwidth of the cavity point by point. oh h and cavity detuning Δ oh , and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f Therefore, the method proposed in this invention for solving the dynamic loaded quality factor based on polar coordinates is Q L and dynamic detuning Δ f This new method can accurately solve the problem of whether the RF cavity works in GDR mode or SEL mode. Q L and Δ f .
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method, a device, a equipment and a medium for online measuring the dynamic loaded quality factor and dynamic detuning of a radio frequency cavity, and relates to the field of particle accelerators. Background Art

[0002] In a particle accelerator, the RF cavity is mainly used to provide an acceleration field for the particle beam and is the core component of the accelerator. During operation, the dynamic load quality factor ( Q L ) and detuning (Δ f ) is an important physical quantity that reflects the cavity operation status, operation parameters and design indicators. For example, when a radio frequency superconducting cavity experiences thermal quenching due to local overheating, the no-load quality factor of the cavity is Q 0 will drop by 3~4 orders of magnitude, eventually leading to the cavity Q L An exception occurred. Q 0 is very difficult to measure online, so Q L It is an important basis for judging whether a superconducting cavity has quenched. Q L It is also necessary to configure the beam load properly to obtain the minimum RF power. Q L It is of great significance to the high-efficiency operation of the RF system. f On the one hand, it reflects the degree to which the cavity is affected by external factors such as microphonics. On the other hand, Δ f The RMS value of also determines the selection of the power margin of the RF power source and the configuration of the optimal control parameters. In addition, the RF cavity is in the pulse operation mode, and its Δ f Mainly due to the Lorenz detuning (Δ f LFD ) contribution, that is, Δ f ≈ Δ f LFD, And Δ f LFD is closely related to the mechanical stability of the cavity. Q L and Δ f Online real-time measurement is crucial for the operation and online performance monitoring of the cavity.

[0003] Dynamics of the RF Cavity Q L and Δ f The cavity pressure ( V c) is obtained by differentiating the amplitude (logarithmic form) and phase. However, this method can only obtain the RF off time point Q L and Δ f Value, cannot be calculated Q L and Δ f Dynamic curves that change over time. In recent years, foreign advanced laboratories represented by the German Electron Synchrotron Radiation Research Center (DESY) have proposed online solutions to dynamic Q L and Δ f This method first decomposes the differential equation into real and imaginary parts, and then calculates V c The real part of the signal (also known as the in-phase signal, referred to as the I component) and the imaginary part (also known as the orthogonal component, referred to as the Q component) are numerically differentiated, and then the differential equation under the DESY algorithm is solved to obtain the dynamic change over time. Q L ( t ) and Δ f ( t ) curve.

[0004] There are usually two common operating modes for RF cavities. One is the Generator DRiven Mode (GDR mode), which generally works in the cavity beam-carrying operation stage. The other is the Self-Excited Loop Mode (SEL mode), which is generally used in the RF training stage; in some special occasions, it can also work in the cavity beam-carrying operation stage. The DESY method generally requires the cavity to work in the GDR mode. When the cavity works in the SEL mode, the method is prone to failure. The main reason is that in the SEL mode, V c The I / Q components of the signal change rapidly and periodically, and the period of change depends on the detuning of the cavity. When the detuning is large (a common phenomenon in SEL mode), V c The numerical differentiation accuracy of the signal I / Q components is difficult to guarantee, which will eventually affect Q L With Δ f Accuracy of the curve.

[0005] In summary, Q L and Δ f The online real-time measurement is related to the online operation and performance monitoring of the cavity. Although the methods of advanced foreign laboratories have been achieved Q L and Δ fHowever, the existing methods face some limitations in practical applications, which restricts their comprehensive promotion and application in the field of particle accelerators. Summary of the invention

[0006] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, in view of the above problems, the purpose of the present invention is to provide a method, device, equipment and medium for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity, which is applicable not only to the GDR mode but also to the SEL mode.

[0007] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is:

[0008] In a first aspect, the present invention provides a method for online measuring a dynamic loaded quality factor and a dynamic detuning of a radio frequency cavity, the method comprising:

[0009] Obtaining the beam current of the RF cavity I b , cavity pressure V c and forward voltage V f ;

[0010] Based on cavity pressure V c , forward voltage V f and beam I b Establish cavity differential equation;

[0011] The cavity pressure V c , forward voltage V f and beam I b According to the amplitude and phase angle, it is decomposed into polar coordinates; the cavity pressure is calculated respectively V c The amplitude signal r With phase signal Numerical differentiation of and ;

[0012] Differentiate the value and Substitute the cavity differential equation to calculate the half bandwidth of the cavity point by point ω h and cavity detuning Δ ω , and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f .

[0013] In one possible implementation, based on the cavity pressure V c , forward voltage V f and beam I b The cavity differential equation is established as:

[0014] ;

[0015] in, Cavity pressure V c The differential of r / Q is the geometric factor of the cavity; ω 0 is the cavity resonance frequency, ω h is the cavity half bandwidth, Δ ω is the dynamic cavity detuning, Q E is the external quality factor, t For time.

[0016] In one possible embodiment, the cavity pressure V c , forward voltage V f and beam I b According to the amplitude and phase angle, it is decomposed into polar coordinates:

[0017] ;

[0018] in, , , Cavity pressure V c , forward voltage V f and beam I b The amplitude of , , Cavity pressure V c , forward voltage V f and beam I b The phase angle.

[0019] In one possible implementation, the numerical differentiation and Substitute the cavity differential equation to calculate the half bandwidth of the cavity point by point ω h and cavity detuning Δ ω, and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f ,include:

[0020] Will and Substitute into the cavity differential equation:

[0021] ;

[0022] in, ω E =1 / Q E , B = ω 0( r / Q ) / 2;

[0023] Decomposing the above formula according to the real and imaginary parts, we can get:

[0024] ;

[0025] Will ω h With Δ ω Assuming it as an unknown number and other physical quantities as coefficients, solve the above two linear equations to obtain ω h Detuning the cavity Δω The calculation formula is:

[0026] ;

[0027] Dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f The calculation formula is:

[0028] .

[0029] In one possible implementation, the beam current of the RF cavity is obtained I b , the cavity pressure of the RF cavity V c and forward voltage V f , including: constructing a beam current according to the beam current intensity measured by the beam current intensity detector set on the radio frequency cavity and the beam phase measured by the beam position detector I b * ; Online measurement of the cavity sampling signal of the RF cavity P t and cavity incident signal P f, the cavity sampling signal P t , cavity incident signal P f Down-converted to an intermediate frequency signal, the cavity pressure of the RF cavity is obtained by sampling the intermediate frequency signal and performing I / Q demodulation. V c * and forward voltage V f * ; The beam I b * , cavity pressure V c * and forward voltage V f * The beam current is obtained by normalizing I b , cavity pressure V c and forward voltage V f .

[0030] In one possible implementation, the cavity pressure is calculated V c The amplitude signal r With phase signal Numerical differentiation of and Use the two-point central difference method or the four-point central difference method.

[0031] In one possible implementation, the cavity pressure is calculated V c The amplitude signal r With phase signal The numerical differentiation of the phase signal is preceded by an unwrapping step to make the cavity pressure V c The phase signal Become continuous.

[0032] In a second aspect, the present invention further provides a device for online measuring the dynamic loaded quality factor and dynamic detuning of a radio frequency cavity, the device comprising:

[0033] A signal acquisition unit configured to acquire the beam current of the radio frequency cavity I b , cavity pressure V c and forward voltage V f ;

[0034] The equation building unit is configured based on the cavity pressure Vc , forward voltage V f and beam I b Establish cavity differential equation;

[0035] The decomposition unit is configured to pressurize the cavity V c , forward voltage V f and beam I b Decompose into polar coordinate form according to amplitude and phase angle;

[0036] The numerical differentiation unit is configured to calculate the cavity pressure V c The amplitude signal r With phase signal Numerical differentiation of and ;

[0037] A computation unit configured to differentiate the value and Substitute the cavity differential equation to calculate the half bandwidth of the cavity point by point ω h and cavity detuning Δ ω , and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f .

[0038] In a third aspect, the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor can execute any one of the methods described.

[0039] In a fourth aspect, the present invention further provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include computer instructions, and the computer instructions are used to enable a computer to execute any one of the methods described.

[0040] The present invention adopts the above technical solution, and has the following characteristics:

[0041] 1. The present invention proposes a method for solving the dynamic loaded quality factor based on polar coordinates Q L and dynamic detuning Δ f This new method can accurately solve the problem of whether the RF cavity works in GDR mode or SEL mode. Q L and Δ f .

[0042] 2. The present invention can detect online Q L and detuning Δ f The dynamic changes over time can be directly used to identify thermal quench events during the RF training and operation of the RF superconducting cavity. When an electromechanical oscillation failure occurs in the superconducting cavity, the algorithm provided by the present invention can also detect the detuning Δ online. f , which laid the foundation for further identifying the mathematical model of the mechanical mode of the superconducting cavity.

[0043] 3. The present invention solves the dynamics by reading the RF and beam signals Q L and detuning Δ f Among them, RF signal acquisition, down-conversion and IQ demodulation can all be completed by a general digital low-level system, the acquisition of beam signals can be completed by the beam measurement system, and the core signal processing algorithm can be deployed on a general host computer without adding additional hardware equipment.

[0044] In summary, the present invention can be widely used in particle accelerators. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Throughout the accompanying drawings, the same reference numerals are used to represent the same components. In the accompanying drawings:

[0046] Figure 1 The online measurement dynamics of the embodiment of the present invention Q L and detuning Δ f Block diagram of the .

[0047] Figure 2 This is a flow chart of signal processing based on a polar coordinate system inside the host computer in an embodiment of the present invention.

[0048] FIG. 3( a ) is a schematic diagram showing a principle for implementing signal normalization in an embodiment of the present invention.

[0049] Figure 3 (b) shows the beam phase in an embodiment of the present invention. φ b With vector I b Phase α The corresponding relationship diagram between .

[0050] FIG. 4 (a) is a diagram of an embodiment of the present invention. V c Phase Schematic diagram of unwinding;

[0051] FIG4( b ) is a schematic diagram showing the principle of calculating numerical differential using the four-point central difference method in an embodiment of the present invention.

[0052] Figure 5 The dynamics calculated on the European Spallation Neutron Source ESS device based on the polar coordinate algorithm proposed in this invention are compared. Q L and dynamic Δ f (black) and the dynamics calculated based on the DESY algorithm Q L and dynamic Δ f (grey).

[0053] Figure 6 The dynamics calculated by the polar coordinate algorithm proposed in this invention on the CAFe2 device of the Institute of Modern Physics are compared. Q L and dynamic Δ f (black) and the dynamics calculated based on the DESY algorithm Q L and dynamic Δ f (grey), where Figure 6 (a) corresponds to a thermal quench event, Figure 6 (b) Corresponding to a non-thermal quench event.

[0054] Figure 7 The cavity pressure under SEL operation mode on the NbSn superconducting accelerator device jointly developed by the Institute of Modern Physics and Dongjiang Laboratory V c With forward voltage V f The measurement results of and the calculation results of the numerical differentiation of the two.

[0055] Figure 8 The dynamics of the niobium-tin superconducting accelerator device calculated based on the polar coordinate algorithm proposed in this invention are compared. Q L and dynamic Δ f (Left) and the dynamics calculated based on the DESY algorithm Q L and dynamic Δ f (right); among them, Figure 8 (a) and Figure 8 (b) The results obtained by calculating numerical differentials based on two-point central difference and four-point central difference respectively.

[0056] Fig. 9 FIG. 4 is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0057] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0058] Although the terms first, second, third, etc. can be used in the text to describe multiple elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or section from another region, layer or section. Unless the context clearly indicates, terms such as "first", "second" and other numerical terms do not imply order or sequence when used in the text. Therefore, the first element, component, region, layer or section discussed below can be referred to as the second element, component, region, layer or section without departing from the teaching of the example embodiments.

[0059] For ease of description, spatially relative terms may be used herein to describe the relationship of one element or feature relative to another element or feature as shown in the figures, such as "inside", "outside", "inner side", "outer side", "below", "above", etc. Such spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figures.

[0060] The method, device, equipment and medium for online measuring the dynamic loaded quality factor and dynamic detuning of a radio frequency cavity provided by the present invention include: obtaining the beam current of the radio frequency cavity I b , cavity pressure V c and forward voltage V f Based on cavity pressure V c , forward voltage V f and beam I b Establish the cavity differential equation; convert the cavity pressure V c , forward voltage V fand beam I b According to the amplitude and phase angle, it is decomposed into polar coordinates; the cavity pressure is calculated respectively V c The amplitude signal r With phase signal Numerical differentiation of and Differentiate the value and Substitute the cavity differential equation to calculate the half bandwidth of the cavity point by point ω h and cavity detuning Δ ω , and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f Therefore, the present invention can realize the operation of the radio frequency cavity SEL mode. Q L and Δ f Online measurement.

[0061] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0062] Embodiment 1: Figure 1 As shown, the system for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity provided in this embodiment 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 host computer 8.

[0063] The output end of the digital low-level system 1 is connected to the input end of the solid-state power source 2, and the output end of the solid-state power source 2 is connected to the input end of the directional coupler 3. The output end (through port) of the directional coupler 3 is fed into the RF cavity 5 through the input coupler 4. The directional coupler 3 extracts the cavity incident signal. P f and reflected signal P r The 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] A beam current intensity detector 9 (BCM) and a beam position detector 10 (BPM) are respectively arranged before and after the RF cavity 5. The beam current intensity detector 9 and the beam position detector 10 measure the amplitude and phase information of the beam online, upload them to the data bus, and finally upload them to the host computer 8 through the data bus.

[0065] The digital low-level system 1 is provided with a field programmable gate array (FPGA for short), and the FPGA is provided with a digital signal processing module, which converts the RF cavity sampling signal P t , cavity incident signal P f and reflected signal P r Processing is performed to obtain the corresponding three-way original voltage signal, including the original cavity pressure signal V c * , original forward voltage V f * and the original reverse voltage V r * .

[0066] like Figure 2 As shown, the method for online measuring the dynamic loaded quality factor and dynamic detuning of the radio frequency cavity provided by this embodiment includes:

[0067] S1. Obtain the original cavity pressure of RF cavity 5 V c * , original forward voltage V f * and the original reverse voltage V r * .

[0068] In this embodiment, the digital low-level system 1 measures the cavity sampling signal of the RF cavity 5 online. P t , cavity incident signal P f and cavity reflection signalP r , the cavity sampling signal P t , cavity incident signal P f and cavity reflection signal P r Down-converted to an intermediate frequency signal, three groups of original digital baseband signals are obtained by sampling the intermediate frequency signal and performing I / Q demodulation, namely, the cavity pressure of the RF cavity 5. V c * , forward voltage V f * and reverse voltage V r * Generally speaking, P t Represents a radio frequency signal, such as a 352.21 MHz radio frequency signal, V c represents the digitized baseband signal, that is, without the RF frequency component, which is removed by analog and digital down-conversion. P t The signal extraction coupler 6 of the radio frequency cavity 5 is connected to the digital low-level system 1 for acquisition. P f and P r The signal is connected to the digital low-level system 1 through a directional coupler 3 for acquisition.

[0069] Unless otherwise specified, the voltages involved in this embodiment (such as V c * , V f * , V r * , V c , V f etc.) and beam current ( I b ) are all complex numbers, which can be expressed in the form of amplitude and phase, for example: V =| V | e j∠V , where | V | is the amplitude (or modulus), ∠ V is the phase (or argument).

[0070] S2. Get the original beam signal Ib * .

[0071] In this embodiment, the beam signal I b * The flux can be measured by the beam flux detector 9. I b * The phase of can be measured by the beam position detector 10.

[0072] S3, host computer 8 pairs of original beam signals I b * , cavity pressure V c * and forward voltage V f * Processing to obtain normalized beam current I b , normalized cavity pressure V c and the normalized forward voltage V f .

[0073] In this embodiment, the host computer 8 reads the original cavity pressure from the data bus. V c * and forward voltage V f * , first use the formula V f, cali = XV f * Get the forward voltage after calibration V f, cali , where the correction factor X is plural, X Mainly used to compensate for the influence of RF signal transmission cables and high-power RF devices on measurement results. Complex coefficients X The existing technology can be used to solve it.

[0074] As shown in Figure 3(a), the original cavity pressure V c * After a period of filling time (the time it takes for the RF cavity pressure to reach a steady state from 0), the steady state cavity pressure will be maintained for a period of time for beam acceleration (flat top time). Calculate the flat top time t 1 and t The average cavity pressure between 2 moments is V c, ss* ,use V c = V c * / V c, ss * Get the normalized cavity pressure V c After normalization, the cavity pressure V c The amplitude of the steady-state value is 1 and the phase is 0 degrees. Similarly, to ensure signal consistency, the forward voltage after calibration must be V f, cali Perform the exact same scaling to get the normalized forward voltage V f ,Right now V f = V f, cali / V c, ss * At the same time, the original beam signal I b * Do the same scaling process to get the normalized beam current I b ,Right now I b = I b * / V c, ss * .

[0075] Furthermore, due to the cavity pressure V c The signal contains high-frequency noise, which affects the calculation accuracy of subsequent numerical differentiation. Therefore, it is usually necessary to V c Signal filtering: A zero-phase digital low-pass filter or other types of digital low-pass filters may be used on the host computer 8 for filtering, and this is taken as an example, but is not limited thereto.

[0076] S4. Establish and solve the cavity differential equation. The specific process is as follows:

[0077] S41, based on normalized cavity pressure V c , forward voltage V f and beam I b , the cavity differential equation is constructed as follows:

[0078]

[0079] in, Cavity pressure V c The differential of r / Q is the geometric factor of the cavity, which is related to the shape of the RF cavity. ω 0 is the cavity resonance frequency, ω h is the cavity half bandwidth, Δ ω is the dynamic cavity detuning, ω 0. ω h and Δω The units of are radians per second. Note that f 0. f h With Δ f It is also used to express the resonant frequency, half bandwidth, and detuning of a cavity, but they are not related to ω 0. ω h and Δω The units are different. f 0. f h With Δ f The unit is Hertz.

[0080] The corresponding relationship of the above physical quantities is as follows:

[0081]

[0082] S42, cavity pressure after signal normalization V c , forward voltage V f , beam I b According to the amplitude and phase angle, it is decomposed into polar coordinates as follows:

[0083] .

[0084] S43, calculate separately V c Signal Amplitude Signal r With phase signal Numerical differentiation of and .

[0085] S44. Define parameters ω E =1 / Q E , B = ω 0( r / Q) / 2, and substitute the above physical quantities into the cavity differential equation, and finally solve it according to the real and imaginary parts to obtain:

[0086]

[0087] Will ω h With Δ ω Treat it as an unknown variable and solve the equation to get:

[0088]

[0089] S45. Calculate the dynamic loaded quality factor of the cavity Q L and the dynamic detuning Δ f , the calculation formula is as follows:

[0090] .

[0091] The specific application of the method for online measuring the dynamic loaded quality factor and dynamic detuning of a radio frequency cavity of the present invention is described in detail below through specific embodiments.

[0092] The RF cavity 5 used in this embodiment is a room temperature focusing cavity of the European Scattered Neutron Source (ESS), and the cavity resonance frequency is f 0 is 352.21 MHz, loaded quality factor Q E About 2.021×10 4 , ω E About 1.095×10 5 Radians per second, geometric factors r / Q The clock frequency of the FPGA in the digital low-level system 1 is 117.402 MHz, and the FPGA chip model is Xilinx Kintex Ultrascale xcku040; the original cavity pressure transmitted to the host computer 8 is V c * , original forward voltage V f * The data sampling rate is 8.3859 MHz. In order to measure the beam signal I b * This embodiment also uses beam measurement equipment, including: a beam current intensity detector 9 (BCM sampling rate 5.49 MHz) and a beam position detector 10 (BPM, sampling rate 5.87 MHz).

[0093] Based on the above parameter settings, the method for online measuring the dynamic loaded quality factor and dynamic detuning of the radio frequency cavity provided in this embodiment includes:

[0094] 1. Measurement of voltage signal: Cavity pressure of RF cavity V c , forward voltage V f and reverse voltage V r measurement phase.

[0095] like Figure 1 As shown, the output of the digital low-level system 1 is connected to the input end of the solid-state power source 2, the output of the solid-state power source 2 is connected to the input end of the directional coupler 3, and the output of the directional coupler 3 is fed into the radio frequency cavity 5 through the input coupler 4. The measurement process is:

[0096] 1. Use the signal extraction coupler 6 to extract the cavity pressure signal online P t ; Use directional coupler 3 to measure the cavity incident signal online P f and reflected signal P r ,in, P t , P f and P r Both are 352.21 MHz RF signals.

[0097] 2. After the above RF signal is down-converted, digitized and IQ demodulated in sequence, the digital low-level system 1 obtains the digitized original baseband voltage signal, i.e., the original cavity pressure V c * , original forward voltage V f * and the original reverse voltage V r * The digital low-level system 1 uploads the above baseband signal to the host computer 8 via the data bus.

[0098] 2. Signal calibration, normalization and beam loading signal extraction.

[0099] According to the original cavity pressure V c * and the original forward voltage V f * , the signal calibration and normalization are realized inside the host computer 8, including:

[0100] 1. Original forward voltage signal V f * calibration.

[0101] The host computer 8 reads the current raw cavity pressure online from the data bus V c * , original forward voltage V f * First, according to V f, cali = XV f * Solve for the calibrated forward signal. Note: The cavity pressure signal is usually used as a reference signal and does not require calibration.

[0102] Complex multiplication can be performed as follows:

[0103]

[0104] In the formula, V f, caliI and V f, caliQ They are V f, cali The real and imaginary parts of V fI * and V fQ * They are V f * The real and imaginary parts of X I and X Q The calibration coefficients are X The real and imaginary parts of .

[0105] 2. Original beam I b * , original cavity pressure V c * , original forward voltage V f * Normalization of .

[0106] In this embodiment, the beam signal I b * The flow intensity (i.e. | I b * |) and phase (i.e. ∠ Ib * ) can be measured by the beam current intensity detector 9 (BCM) and the beam position detector 10 (BPM) respectively.

[0107] As shown in Figure 3(a), when the beam passes through, part of the flat-top time is used to accelerate the beam, and the cavity pressure V c * When the beam passes by, transient changes will occur. Select two points before the beam arrives. t 1 and t 2. Calculation V c * exist t 1 and t The average value between 2 V c,ss * ,Right now V c,ss * =mean( V c * | t1→t2 ).

[0108] As shown in Figure 4(a), the cavity pressure reaches a steady state at 100 microseconds, and the beam reaches the cavity at about 150 microseconds. t 1 can be selected between 120 and 140 microseconds. t 2 can be selected as 149 microseconds, and the average calculation process can directly call Python numpy.mean function.

[0109] In the two cases of beam flow and no beam flow, the original beam flow is I b * , cavity pressure V c * , original forward voltage V f * Normalization:

[0110]

[0111] It should be noted that in the normalized beam current signal I b = be jα middle, α Refers to the vector I b The beam phase is usually referred to as φ brefers to the vector - V c and I b The angle between them is shown in Figure 3 (b), and the conversion formula is:

[0112]

[0113] As shown in Figure 3(b), the beam phase is about -85° (i.e.: - V c and I b The angle between them is -85°). In formula (1), I b Phase α That is I b The phase of a vector in a rectangular coordinate system (from x The angle at which the positive direction of the axis starts to rotate counterclockwise), that is α = 265°=-95° satisfies the above formula.

[0114] 3. Since the present invention requires V c Signal Amplitude r With phase For numerical differentiation, high-frequency errors in the measurement process will affect the calculation accuracy of the differential. Generally, it is necessary to calculate the cavity pressure in advance. V c Signal low-pass filtering. Specifically, a zero-phase filter can be used for low-pass filtering. In Python, the filtering algorithm can be constructed and implemented by the Scipy.signal.filtfilt() function. The bandwidth of the filter is generally selected between 2.5 kHz and 50 kHz.

[0115] 3. Construction and solution of cavity differential equations.

[0116] In this stage, the cavity pressure is first solved V c Signal Amplitude r With phase The numerical differentiation of , and then further calculation using formula (5) ω h With Δ ω , the specific process is:

[0117] 1. Unwrap the phase signal.

[0118] Since the phase itself changes in a cycle of 360 degrees, that is, in the same coordinate system, there is no difference between a phase equal to 90 degrees, a phase equal to 450 degrees, and a phase equal to -270 degrees. It is worth noting that when calculating the complex phase, the current mainstream numerical processing tools (such as Matlab, Python, etc.) usually uniformly transform the phase to ±π (±180 degrees), resulting in discontinuities at the ±π position of the phase signal, as shown in Figure 4 (a). The cavity pressure is directly obtained by the program V c The phase signal If the phase changes between ±π and the derivative is directly calculated, multiple discontinuities will be generated, which will affect the calculation accuracy. Therefore, before calculating the derivative, the phase needs to be unwrapped to make it continuous.

[0119] The unwrapping process is shown in Figure 4 (a), which can be directly implemented in Python by constructing the numpy.unwrap() function. The phase signal before unwrapping is cut into three parts, with two discontinuities, located at T 1 and T 2 moments. The Unwrap function will T The phase signal before time 1 minus 2π (that is, 2π radians is 360°), that is . Similarly, the Unwrap function will T The phase signal after 2 seconds is added with 2π, that is After transformation, the new phase signal is T 1 and T 2 The moments will remain continuous, which is essential for solving numerical differentials.

[0120] 2. Calculate separately V c Amplitude signal r With phase signal The numerical differentiation of .

[0121] In this embodiment, the numerical differential can be calculated using a two-point central difference method or a four-point central difference method, and the calculation formula is as follows:

[0122]

[0123] in, f ( t ) is the signal to be differentiated, t 0 The moment at which the differential needs to be calculated, T is the sampling time.

[0124] Amplitude signal r As an example, the method of calculating the differential using the four-point central difference method is shown in Figure 4 (b). The signal r (t )exist t The differential at time 0 can be calculated from the values ​​of the two sampling points before and after. t The sampling point corresponding to time 0 is n 0, and the first two sampling points are n 0-2, n 0-1, and the next two sampling points are n 0+1, n 0+2. As shown in Figure 4(b), the signals corresponding to the above four sampling points are r ( t ) are sampled values ​​of r [ n 0-2], r [ n 0-1], r [ n 0+1] and r [ n 0+2], then the sequence r At the sampling point n The numerical differential of 0 can be expressed as:

[0125] .

[0126] Where T is the sampling period.

[0127] 3. Calculate the half bandwidth of the cavity point by point using formula (5) ω h and cavity detuning Δ ω ω h The cavity detuning Δω is usually not a fixed value, but is time-dependent. The time-dependent ω is obtained by point-by-point calculation. h (t) and Δ ω ( t ), and then calculate the dynamic loaded quality factor of the cavity according to formula (6): Q L and the dynamic detuning Δ f .

[0128] 4. Online Experimental Verification

[0129] 1. The experiment of this embodiment has been verified at the European Spallation Neutron Source ESS in Lund, Sweden.

[0130] like Figure 1 As shown, a beam current detector 9 (BCM) is installed upstream of the RF cavity for online measurement of beam current; a beam position detector 10 (BPM) is installed downstream of the RF cavity for online measurement of beam phase. A signal extraction coupler 6 is installed on the cavity for extraction P tSignal, a directional coupler 3 is installed in front of the RF cavity 5 to measure the forward signal P f and reverse signal P r Table 1 summarizes the dynamic load quality factors of ESS devices. Q L and the dynamic detuning Δ f Related physical parameters.

[0131] Table 1

[0132]

[0133] Figure 5 Dynamic load quality factor of ESS device Q L and the dynamic detuning Δ f From top to bottom: the two sub-figures in the first row are the beam current intensity and beam phase; the two sub-figures in the second row are the amplitudes of the cavity pressure and forward voltage (corresponding to r and ρ ) and phase (corresponding to and θ The two sub-figures in the third row give the numerical differentiation results of the existing DESY algorithm and polar coordinates (the present invention). The two sub-figures in the fourth row compare the dynamic loaded quality factor of the DESY algorithm and polar coordinates (the present invention). Q L and the dynamic detuning Δ f It can be seen that the results calculated by the two methods are basically consistent. Figure 5 It can also be seen that in t <20 μ s and t >280 μ s, dynamic Q L With dynamic Δ f are consistent with their own steady-state values ​​(for example: 50 μ s< t <250 μ s Q L With Δ f ) has a large deviation, this is because during the above period of time, the cavity pressure V c The absolute value of is small, and the accuracy of its numerical differentiation is difficult to guarantee. In addition, whether it is the DESY algorithm or the polar coordinate algorithm, V c The absolute value of r or its square appears in the denominator of the formula, rThe noise mixed in will also cause large calculation errors.

[0134] 2. To evaluate this method t <20 μ In order to investigate the feasibility of the present invention in quench diagnosis, the present invention was deployed on the superconducting linear accelerator CAFe2 device of the Institute of Modern Physics for further experimental verification. Figure 6 (a) and Figure 6 (b) shows the two radio frequency superconducting cavities (CM) on the CAFe2 device. 4-1 and CM 4-2 ) Dynamic load quality factor Q L and the dynamic detuning Δ f The measurement results of (the corresponding cavity and beam parameters are shown in Table 2). Related from top to bottom: The two sub-figures in the first row are CM 4-1 and CM 4-2 The cavity pressure and forward voltage amplitude (corresponding to r and ρ ). The two sub-graphs in the second row are CM 4-1 and CM 4-2 The phase of the cavity pressure and the forward voltage (corresponding to and θ The two sub-figures in the third row show the dynamics of the DESY algorithm and polar coordinates (the present invention) Q L The two sub-figures in the fourth row show the dynamic Δ of the DESY algorithm and the polar coordinates (the present invention) in two cases. f Dynamic Q L and Δ f The measurement results show that CM4-1 has a thermal quench at time 0, while CM4-2 has no thermal quench. The calculation results of the DESY algorithm and polar coordinates are in good agreement. Figure 5 The results show that the present invention has the ability to diagnose thermal quench events.

[0135] Table 2

[0136]

[0137] 3. In order to evaluate the generalizability of the present invention under the SEL operation mode, experiments were carried out on a niobium-tin superconducting accelerator device jointly developed by the Institute of Modern Physics and Dongjiang Laboratory. Figure 7 is the incident voltage when the superconducting cavity works in SEL mode V f and cavity pressure V c The waveform diagram and the corresponding numerical differentiation. From top to bottom: The two sub-graphs in the first row areV f The I and Q components of V f Amplitude ρ With phase θ ; Among them, the phase θ The two sub-images in the third row are V c The I and Q components of V c The numerical differential corresponding to the IQ component of V c Amplitude r With phase ; The two sub-images in the sixth row are V c Amplitude r With phase The corresponding numerical differentiation. Similarly, the phase The unwinding process has been performed.

[0138] like Figure 7 As shown in the figure, when the superconducting cavity works in SEL mode, the RF frequency needs to follow the resonant frequency of the cavity. V c The phase of the signal is a monotonically rising or falling straight line, and its slope is approximately equal to the detuning. The rapidly changing phase leads to V c The IQ component of the signal no longer changes smoothly over time, but jumps up and down periodically. Accordingly, the solution of the numerical differentiation of the IQ component will be biased. V c Amplitude r With phase They are all smooth time-varying signals, and their numerical differentials can be easily calculated.

[0139] The dynamics calculated based on formulas (5) and (6) Q L and Δ f Curve like Figure 8 As shown. Among them, Figure 8 (a) is the result obtained based on the central difference of two points. Figure 8 (b) is the result obtained by four-point central difference. Figure 8 The two left sub-figures of (a) and (b) are the results calculated by the DESY algorithm, and the two right sub-figures are the results calculated by the polar coordinate algorithm. It can be seen that the DESY algorithm cannot obtain accurate dynamic Q LThe curve, especially around 20 milliseconds, when the superconducting cavity RF is off, Q L The curve shows obvious discontinuity. In SEL mode, the detuning Δ f Approximately equal to V c Phase The slope of Figure 7 As shown in the last sub-figure, The differential is about -7.75×10 5 radians per second, corresponding to a detuning of Δ f =-1.23×10 5 Hz. It can be seen that the detuning curve under the DESY algorithm does not match the above results, while the calculation results of the polar coordinate algorithm are consistent with In addition, the calculation of the detuning curve of the DESY algorithm is also affected by the numerical differentiation method used. In the two cases of two-point center difference and four-point center difference, the calculation results also have large deviations. Table 3 shows the cavity and beam parameters related to the present invention on the Nb-Sn superconducting accelerator device of the Institute of Modern Physics.

[0140] Table 3

[0141]

[0142] Embodiment 2: Embodiment 1 above provides a method for online measurement of the dynamic loaded quality factor and dynamic detuning of the radio frequency cavity. Correspondingly, this embodiment provides a device for online measurement of the dynamic loaded quality factor and dynamic detuning of the radio frequency cavity. The device provided in this embodiment can implement the method for online measurement of the dynamic loaded quality factor and dynamic detuning of the radio frequency cavity in embodiment 1, and the device can be implemented by software, hardware, or a combination of software and hardware. For the convenience of description, the present embodiment is described separately by functions divided into various units. Of course, the functions of each unit can be implemented in the same or more software and / or hardware during implementation. For example, the device may include integrated or separate functional modules or functional units to perform the corresponding steps in each method of embodiment 1. Since the device of this embodiment is basically similar to the method embodiment, the description process of this embodiment is relatively simple, and the relevant parts can refer to the partial description of embodiment 1. The embodiment of the device for online measurement of the dynamic loaded quality factor and dynamic detuning of the radio frequency cavity provided by the present invention is only schematic.

[0143] Specifically, the present embodiment provides an apparatus for online measuring dynamic loaded quality factor and dynamic detuning of a radio frequency cavity, the apparatus comprising:

[0144] A signal acquisition unit configured to acquire the beam current of the radio frequency cavity I b , cavity pressure Vc and forward voltage V f ;

[0145] The equation building unit is configured based on the cavity pressure V c , forward voltage V f and beam I b Establish cavity differential equation;

[0146] The decomposition unit is configured to pressurize the cavity V c , forward voltage V f and beam I b Decompose into polar coordinate form according to amplitude and phase angle;

[0147] The numerical differentiation unit is configured to calculate the cavity pressure V c The amplitude signal r With phase signal Numerical differentiation of and ;

[0148] A computation unit configured to differentiate the value and Substitute the cavity differential equation to calculate the half bandwidth of the cavity point by point ω h and cavity detuning Δ ω , and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f .

[0149] Embodiment 3: This embodiment provides an electronic device corresponding to the method for online measuring the dynamic loaded quality factor and dynamic detuning of the RF cavity provided in this embodiment 1. The electronic device may be an electronic device for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the method of embodiment 1.

[0150] like Fig. 9As shown, the electronic device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected through the bus to complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Component (EISA) bus, etc. The memory stores a computer program that can be run on the processor. When the processor runs the computer program, it executes the method of Embodiment 1. The implementation principle and technical effect are similar to those of Embodiment 1 and will not be repeated here. Those skilled in the art can understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computing device to which the scheme of the present application is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0151] In a preferred embodiment, the logic instructions in the above-mentioned memory 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 application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), optical disk and other media that can store program codes.

[0152] In a preferred embodiment, the processor may be a central processing unit (CPU), a digital signal processor (DSP) or other general-purpose processors, which are not limited herein.

[0153] Embodiment 4: This embodiment provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include computer instructions. When the computer instructions are executed by a computer, the computer executes the method provided in the above-mentioned embodiment 1.

[0154] Embodiment 5: This embodiment provides a computer program product. The computer program product may include a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the method provided in the above-mentioned embodiment 1. Its implementation principle and technical effects are similar to those of embodiment 1 and will not be repeated here.

[0155] In a preferred embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions used by the instruction execution device, such as but not limited to an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. The computer-readable storage medium stores computer program instructions that cause the computer to execute the method provided in the first embodiment.

[0156] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0157] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0158] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0159] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In the description of this specification, the description of reference terms "a preferred embodiment", "further", "specifically", "in the present embodiment", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradiction.

[0160] 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 measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity, characterized in that: The method includes: Obtaining the beam current of the RF cavity I b , cavity pressure V c and forward voltage V f ; Based on cavity pressure V c , forward voltage V f and beam I b Establish cavity differential equation; The cavity pressure V c , forward voltage V f and beam I b Decompose into polar coordinate form according to amplitude and phase angle; Calculate cavity pressure V c The amplitude signal r With phase signal ϕ Numerical differentiation of and ; Differentiate the value and Substitute the cavity differential equation to calculate the half bandwidth of the cavity point by point ω h and cavity detuning Δ ω , and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f ,in: Based on cavity pressure V c , forward voltage V f and beam I b The established cavity differential equation is: in, Cavity pressure V c The differential of r / Q is the geometric factor of the cavity; ω 0 is the cavity resonance frequency, ω h is the cavity half bandwidth, Δ ω is the dynamic cavity detuning, Q E is the external quality factor, t For time.

2. The method for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity according to claim 1, characterized in that: The cavity pressure V c , forward voltage V f and beam I b According to the amplitude and phase angle, it is decomposed into polar coordinates: ; in, , , Cavity pressure V c , forward voltage V f and beam I b The amplitude of , , Cavity pressure V c , forward voltage V f and beam I b The phase angle.

3. The method for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity according to claim 2, characterized in that: Differentiate the value and Substitute the cavity differential equation to calculate the half bandwidth of the cavity point by point ω h and cavity detuning Δ ω , and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f ,include: Will and Substitute into the cavity differential equation: ; in, ω E =1 / Q E , B = ω 0( r / Q ) / 2; Decomposing the above formula according to the real and imaginary parts, we can get: ; Will ω h With Δ ω Assuming it as an unknown number and other physical quantities as coefficients, solve the above two linear equations to obtain ω h Detuning the cavity Δω The calculation formula is: ; Dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f The calculation formula is: 。 4. The method for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity according to claim 2, characterized in that: Obtaining the beam current of the RF cavity I b , the cavity pressure of the RF cavity V c and forward voltage V f ,include: The beam current is constructed based on the beam current intensity measured by the beam current detector set on the RF cavity and the beam phase measured by the beam position detector. I b * ; Online measurement of the cavity sampling signal of the RF cavity P t and cavity incident signal P f , the cavity sampling signal P t , cavity incident signal P f Down-converted to an intermediate frequency signal, the cavity pressure of the RF cavity is obtained by sampling the intermediate frequency signal and performing I / Q demodulation. V c * and forward voltage V f * ; The beam I b * , cavity pressure V c * and forward voltage V f * The beam current is obtained by normalizing I b , cavity pressure V c and forward voltage V f .

5. The method for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity according to claim 2, characterized in that: Calculate cavity pressure V c The amplitude signal r With phase signal Numerical differentiation of and Use the two-point central difference method or the four-point central difference method.

6. The method for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity according to claim 5, characterized in that: Calculate cavity pressure V c The amplitude signal r With phase signal The numerical differentiation of the phase signal is preceded by an unwrapping step to make the cavity pressure V c The phase signal Become continuous.

7. A device for online measurement of dynamic loaded quality factor and dynamic detuning of a radio frequency cavity, characterized in that: The device includes: A signal acquisition unit configured to acquire the beam current of the radio frequency cavity I b , cavity pressure V c and forward voltage V f ; The equation building unit is configured based on the cavity pressure V c , forward voltage V f and beam I b Establish cavity differential equation; The decomposition unit is configured to pressurize the cavity V c , forward voltage V f and beam I b Decompose into polar coordinate form according to amplitude and phase angle; The numerical differentiation unit is configured to calculate the cavity pressure V c The amplitude signal r With phase signal Numerical differentiation of and ; A computation unit configured to differentiate the value and Substitute the cavity differential equation to calculate the half bandwidth of the cavity point by point ω h and cavity detuning Δ ω , and then obtain the dynamic loaded quality factor of the cavity Q L and dynamic detuning Δ f ,in: Based on cavity pressure V c , forward voltage V f and beam I b The established cavity differential equation is: in, Cavity pressure V c The differential of r / Q is the geometric factor of the cavity; ω 0 is the cavity resonance frequency, ω h is the cavity half bandwidth, Δ ω is the dynamic cavity detuning, Q E is the external quality factor, t For time.

8. An electronic device, characterized in that: include: at least one processor; as well as A memory communicatively connected to the processor; wherein, The memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to perform the method according to any one of claims 1 to 6.

9. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include computer instructions for causing a computer to execute the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Broadband imaginary part beam coupling impedance measurement system and method

    CN111796319A

  • Beam spectrum detection device and method based on photon counting

    CN114879243A