Control method, low-level system and medium based on broadband single-cavity dual harmonics
Through the broadband single-cavity dual-harmonic control method, the fundamental wave and harmonic signals of the synchrotron are adjusted, which solves the problem of unchanged injection current intensity of the synchrotron, improves the current intensity and acceleration efficiency, and achieves wider adaptability.
Patent Information
- Application Number
- CN202410931157.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-12
AI Technical Summary
The existing technology cannot further improve the synchrotron flow intensity when the synchrotron injection flow intensity remains unchanged.
Using a control method based on broadband single cavity dual harmonics, by acquiring preset operating waveform data and high-frequency cavity sampling signals, phase identification and amplitude processing are performed to determine the phase error and amplitude error, and the PI controller is used to adjust the preset operation. Waveform data, generate target operating waveform data to control the synchrotron high-frequency system.
The closed-loop control of the low-level system based on dual harmonics is realized. Through simultaneous driving of the fundamental signal and the harmonic signal, the beam capture and acceleration efficiency is improved, the current intensity of the synchrotron is improved, and the adaptability is wider.
Smart Images

Figure CN118488647B
Abstract
Description
Technical Field
[0001] The present application relates to the field of particle acceleration technology, and in particular to a control method, a low-level system and a medium based on broadband single-cavity dual harmonics. Background Art
[0002] The high-frequency system of the proton and heavy-ion synchrotron is the source of energy for particles in the synchrotron. It includes digital low-level, broadband solid-state power sources and wide-band cavities represented by magnetic alloy loading cavities. The fully digital low-level system is one of the core components of the high-frequency system. It stably generates variable-frequency and variable-amplitude excitation signals and outputs them to the broadband power source. After amplification, it is output to the broadband cavity, so that it generates a high-gradient electric field to longitudinally bunch and accelerate the particles. The cavity feedback extraction signal enters the low-level system after a fixed attenuation ratio.
[0003] In the related art, the fully digital swept-frequency low-level system is mainly used to generate a single harmonic variable-amplitude and variable-frequency excitation signal for normal beam capture and acceleration of the synchrotron. However, when the beam injection intensity remains unchanged, the synchrotron intensity cannot be further increased. Summary of the invention
[0004] The present application provides a control method, a low-level system and a medium based on broadband single-cavity dual harmonics, so as to at least solve the problem in the related art that the synchrotron current intensity cannot be further increased when the synchrotron injection current intensity remains unchanged. The technical solution of the present application is as follows:
[0005] According to a first aspect of an embodiment of the present application, a control method based on broadband single-cavity dual harmonics is provided, which is applied to a low-level system. The method includes:
[0006] In response to a synchronous operation instruction of a synchrotron, obtaining preset operation waveform data and a high-frequency cavity sampling signal of the synchrotron, wherein the preset operation waveform data includes a fundamental wave signal and a harmonic wave signal;
[0007] Performing phase detection processing on the frequency signal of the preset operating waveform data and the high-frequency cavity sampling signal to determine a phase error;
[0008] Processing the amplitude of the preset operation waveform data and the amplitude of the high-frequency cavity sampling signal to determine an amplitude error;
[0009] Calling a PI controller to adjust the preset operation waveform data according to the phase error and the amplitude error to obtain target operation waveform data;
[0010] The synchrotron high frequency system is controlled according to the target operating waveform data.
[0011] In a possible implementation, the processing of the frequency signal of the preset operating waveform data and the high-frequency cavity sampling signal to determine the phase error includes:
[0012] Performing interpolation processing on the frequency signal according to a preset time interval to determine a target frequency curve;
[0013] Performing digital frequency synthesis processing on the target frequency curve to determine an orthogonal demodulation signal corresponding to the frequency signal;
[0014] The orthogonal demodulation signal and the high-frequency cavity sampling signal are multiplied, and filtered and phase-detected to obtain the phase error.
[0015] In another possible implementation, the processing of the amplitude of the preset operation waveform data and the amplitude of the high-frequency cavity sampling signal to determine the amplitude error includes:
[0016] Performing interpolation processing on the amplitude of the preset operating waveform data according to a preset time interval to determine a target amplitude curve;
[0017] The amplitude error is determined according to a comparison result between the target amplitude curve and the amplitude of the high-frequency cavity sampling signal.
[0018] In another possible implementation manner, a sampling interval of the fundamental wave signal or the harmonic signal is greater than the preset time interval.
[0019] In another possible implementation, adjusting the preset operation waveform data according to the phase error and the amplitude error includes:
[0020] Determining a proportional correction coefficient and an integral correction coefficient according to preset closed-loop parameters, the phase error and the amplitude error;
[0021] According to the proportional correction coefficient and the integral correction coefficient, respectively correct the fundamental wave signal and the harmonic wave signal in the preset operation waveform data to determine the fundamental wave modulation signal and the harmonic wave modulation signal;
[0022] The fundamental wave modulation signal and the harmonic modulation signal are superimposed to determine the target operation waveform data.
[0023] In another possible implementation manner, the superimposing the fundamental wave modulation signal and the harmonic modulation signal includes:
[0024] Acquire a phase relationship between the harmonic signal and the fundamental signal;
[0025] superimposing the fundamental wave modulation signal and the harmonic modulation signal according to the phase relationship;
[0026] Wherein, the preset operation waveform data satisfies the following formula:
[0027] ,
[0028] In the formula, y ( t ) indicates preset running waveform data, A ( t ) represents the amplitude function of the fundamental signal, B ( t ) represents the amplitude function of the harmonic signal, w ( t ) represents the function of angular frequency changing with time, α represents the phase of the fundamental signal, β Indicates the phase of the harmonic signal.
[0029] In another possible implementation, before obtaining preset operation waveform data and a high-frequency cavity sampling signal of the synchrotron in response to a synchronous operation instruction of the synchrotron, the method based on broadband single-cavity dual harmonics further includes:
[0030] Receive operation instructions sent by the accelerator timing system or the host computer;
[0031] If it is determined that the operation instruction meets the preset trigger condition, a pulse operation is executed;
[0032] After the pulse operation has been performed for a preset time, the synchronous operation instruction is generated.
[0033] In another possible implementation manner, after acquiring the high-frequency cavity sampling signal of the synchrotron, the method further includes:
[0034] Perform analog-to-digital conversion on the high-frequency cavity sampling signal.
[0035] In another possible implementation, before controlling the synchrotron high-frequency system according to the preset operating waveform data, the method based on broadband single-cavity dual harmonics further includes:
[0036] Perform digital-to-analog conversion on the preset running waveform data.
[0037] According to a second aspect of an embodiment of the present application, a low-level system is provided, the low-level system comprising:
[0038] A memory having a computer program stored therein;
[0039] A processor, wherein the processor is connected to the memory, and the processor is connected to a host computer via a protocol bus, and when the processor executes the computer program, the control method based on broadband single-cavity dual harmonics provided by the embodiment of the first aspect can be executed;
[0040] Wherein, the processor includes a phase-locked loop and a processing chip.
[0041] In a possible implementation manner, the processor further includes:
[0042] A conversion circuit connected to the phase-locked loop and the processing chip, the conversion circuit being used to perform analog-to-digital conversion on the high-frequency cavity sampling signal of the synchrotron, or to perform digital-to-analog conversion on preset operating waveform data;
[0043] A clock module is connected to the phase-locked loop, and is used to generate a working clock for the conversion circuit and generate the synchronous operation instruction.
[0044] In a possible implementation, the processor can perform the following steps when executing the computer program:
[0045] Performing interpolation processing on the frequency signal according to a preset time interval to determine a target frequency curve;
[0046] Performing digital frequency synthesis processing on the target frequency curve to determine an orthogonal demodulation signal corresponding to the frequency signal;
[0047] The orthogonal demodulation signal and the high-frequency cavity sampling signal are multiplied, and filtered and phase-detected to obtain the phase error.
[0048] In another possible implementation, the processor can perform the following steps when executing the computer program:
[0049] Performing interpolation processing on the amplitude of the preset operating waveform data according to a preset time interval to determine a target amplitude curve;
[0050] The amplitude error is determined according to a comparison result between the target amplitude curve and the amplitude of the high-frequency cavity sampling signal.
[0051] In another possible implementation, the processor can perform the following steps when executing the computer program:
[0052] Determining a proportional correction coefficient and an integral correction coefficient according to preset closed-loop parameters, the phase error and the amplitude error;
[0053] According to the proportional correction coefficient and the integral correction coefficient, respectively correct the fundamental wave signal and the harmonic wave signal in the preset operation waveform data to determine the fundamental wave modulation signal and the harmonic wave modulation signal;
[0054] The fundamental wave modulation signal and the harmonic modulation signal are superimposed to determine the target operation waveform data.
[0055] In another possible implementation, the processor can perform the following steps when executing the computer program:
[0056] Acquire a phase relationship between the harmonic signal and the fundamental signal;
[0057] superimposing the fundamental wave modulation signal and the harmonic modulation signal according to the phase relationship;
[0058] Wherein, the preset operation waveform data satisfies the following formula:
[0059] ,
[0060] In the formula, y ( t ) indicates preset running waveform data, A ( t ) represents the amplitude function of the fundamental signal, B ( t ) represents the amplitude function of the harmonic signal, w ( t ) represents the function of angular frequency changing with time, α represents the phase of the fundamental signal, β Indicates the phase of the harmonic signal.
[0061] In another possible implementation, the processor can perform the following steps when executing the computer program:
[0062] Receive operation instructions sent by the accelerator timing system or the host computer;
[0063] If it is determined that the operation instruction meets the preset trigger condition, a pulse operation is executed;
[0064] After the pulse operation has been performed for a preset time, the synchronous operation instruction is generated.
[0065] According to a third aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a program or instruction is stored, and the program or instruction is executed by a processor such as a control method based on broadband single-cavity dual harmonics according to the first aspect and any possible implementation manner thereof.
[0066] The technical solution provided by the embodiment of the present application brings at least the following beneficial effects: separating the fundamental signal and the harmonic signal from the preset operation waveform data of the control cycle at the current control node moment. Taking the high-frequency cavity sampling signal collected at the current control node moment as a reference, the fundamental signal and the harmonic signal in the preset operation waveform data are corrected in terms of frequency and amplitude. The corrected fundamental signal and the harmonic signal are then used to control the high-frequency system of the synchrotron. In this way, the closed-loop control of the low-level system based on dual harmonics is realized. When the injection current intensity of the synchrotron remains unchanged, the beam capture and acceleration efficiency can be further improved by driving the fundamental signal and the harmonic signal simultaneously, and the current intensity of the synchrotron is increased, and the adaptability is wider.
[0067] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0069] Figure 1 is a structural schematic diagram of a low-level system according to an exemplary embodiment;
[0070] Figure 2 is a flow chart of a control method based on broadband single-cavity dual harmonics according to an exemplary embodiment;
[0071] Figure 3 is a logic schematic diagram of a control method based on broadband single-cavity dual harmonics according to an exemplary embodiment;
[0072] Figure 4 is a schematic diagram of dual harmonic operation waveform data according to an exemplary embodiment;
[0073] Figure 5 A waveform obtained by superimposing a harmonic wave and a fundamental wave according to an exemplary embodiment is shown. Figure 1 ;
[0074] Figure 6 A waveform obtained by superimposing a harmonic wave and a fundamental wave according to an exemplary embodiment is shown. Figure 2 .
[0075] Reference numerals:
[0076] 111 phase-locked loop, 112 memory, 113 processing chip, 114 protocol bus, 115 conversion circuit, 120 host computer, 130 magnetic alloy cavity, 140 transmitter. DETAILED DESCRIPTION
[0077] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0078] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0079] Before introducing in detail the control method of the low-level system provided in the embodiment of the present application, a brief introduction is first given to the application scenarios and implementation architecture involved in the embodiment of the present application.
[0080] First, the application scenarios of this application are introduced as follows.
[0081] A particle accelerator is a device that uses artificial methods to generate high-speed charged particles. It is used to explore the properties, internal structures and interactions of atomic nuclei and particles. It is also an important tool for applications in biological irradiation breeding, isotope drug production and particle radiotherapy. A storage ring accelerator is a circular accelerator device that uses a high-frequency electric field to accelerate particles (such as electrons or ions) on a certain circular orbit. The intensity of the magnetic field in the accelerator increases with the increase in the energy of the accelerated particles, thereby keeping the particle cyclotron frequency synchronized with the high-frequency electric field. A synchrotron is a type of particle accelerator. In order to maintain the stability of the particle orbit during the energy-raising process, the synchrotron needs to keep the magnetic field amplitude and electric field frequency synchronized with the particle energy, and finally draw out a particle beam to provide various particle beams and radiation lines for basic scientific research, clinical medicine and industrial production. The regulation of particle energy and the stability of particle longitudinal motion in the synchrotron are both completed by the high-frequency system. The high-frequency system generates high-frequency harmonics in the high-frequency cavity (magnetic alloy cavity, ferrite cavity, etc.) in the synchrotron. When the beam passes through the high-frequency cavity, the high-frequency harmonics act on the beam, causing the beam energy to change or the beam distribution to be limited by the potential well formed by the high-frequency harmonics.
[0082] The high-frequency system of the proton and heavy-ion synchrotron is the source of energy for particles in the synchrotron. It includes a wide-band cavity composed of a digital low-level system, a broadband solid-state power source, and a magnetic alloy loading cavity. The main function of the low-level system is to provide a high-precision, high-stability, and high-reliability RF signal for the broadband solid-state power source, and to control the frequency, amplitude, phase, etc. of the signal according to the set value of the working mode, as well as to control the amplification process of the power source and the tuning state of the acceleration cavity, so that the broadband solid-state power source can establish a RF voltage in the acceleration cavity that meets the requirements of beam injection and acceleration.
[0083] The low-level system stably generates variable frequency and variable amplitude excitation signals and outputs them to the broadband power source, which is then amplified and output to the broadband cavity, so that it generates a high gradient electric field to longitudinally bunch and accelerate the particles. The cavity feedback extraction signal enters the low-level system after a fixed attenuation ratio, so that the entire system forms a closed loop. The low-level system controls the cavity voltage and phase in real time through the closed loop. The current general all-digital swept-frequency low-level system mainly generates a single harmonic variable amplitude and variable frequency excitation signal for normal beam capture and acceleration of the synchrotron accelerator, but it is impossible to further increase the synchrotron accelerator current intensity when the beam injection current intensity remains unchanged.
[0084] The broadband single-cavity dual-harmonic control method provided in the embodiment of the present application can be applied to Figure 1 For ease of understanding, the broadband single-cavity dual-harmonic control method provided by the present application is specifically introduced below in conjunction with the accompanying drawings.
[0085] The present application embodiment proposes a control method based on broadband single-cavity dual harmonics, such as Figure 2 As shown, the control method includes the following steps:
[0086] Step 201 : In response to a synchronous operation instruction of a synchrotron, obtaining preset operation waveform data and a high-frequency cavity sampling signal of the synchrotron.
[0087] Among them, the preset operation waveform data is used to control the high-frequency system of the synchrotron accelerator for the current control cycle in which the current control node is located. The preset operation waveform data can be pre-set by the user according to the actual working conditions, or it can be obtained by the system based on the previous control cycle plus the coefficient. The preset operation waveform data includes fundamental signals and harmonic signals. The fundamental signal refers to the signal component whose high-frequency system frequency is consistent with the particle cyclotron frequency as the particle accelerates and the cyclotron frequency increases. Harmonic signals refer to signal components generated in real time at integer multiples of the fundamental signal frequency. The fundamental signal or harmonic signal includes a frequency signal and an amplitude signal, that is, the preset operation waveform data contains the voltage curve and frequency curve of the fundamental signal, as well as the voltage curve and frequency curve of the harmonic signal. The high-frequency cavity sampling signal refers to the signal extracted by a fixed attenuation ratio of the radio frequency electric field generated in the magnetic alloy loading cavity. When the charged particles are accelerated or transmitted in the magnetic alloy loading cavity, they will be affected by the electric field in the cavity, and the electric field strength will change in real time with the working parameters of the accelerator.
[0088] It is understandable that the harmonic signal in the preset operating waveform data can be configured as an nth harmonic signal according to demand and closed-loop regulation, where n>1. The amplified signals of the fundamental signal and the harmonic signal are superimposed on each other in the loading cavity to adjust the longitudinal strength of the electric field, thereby realizing the acceleration, focusing and adjustment of the particle beam, and obtaining a high-frequency cavity sampling signal after the voltage generated in the acquisition cavity is attenuated. Specifically, the fundamental signal and the harmonic signal of each control cycle can be determined according to the configuration file, for example, the frequency and voltage curve of the fundamental wave generated by the accelerator physics calculation software. Figure 4 As shown in the figure, the amplitude of the fundamental wave ranges from 0 to a maximum of 0.3kV, and the frequency of the fundamental wave rises from 0.38MHz to a maximum of 5.7MHz; the amplitude of the harmonics ranges from 0 to a maximum of 0.21kV, and the frequency of the harmonics is twice the fundamental frequency, but in the 0-stage harmonic voltage, the maximum frequency is controlled not to exceed the bandwidth of the device itself, so the harmonic frequency rises from 0.76MHz to a maximum of 6MHz. The sampling interval is 256us and its integer multiples.
[0089] It is worth mentioning that the preset running waveform data satisfies the following formula:
[0090] ,
[0091] In the formula, y ( t ) indicates preset running waveform data, A ( t ) represents the amplitude function of the fundamental signal, B ( t ) represents the amplitude function of the harmonic signal, w ( t ) represents the function of angular frequency changing with time, α represents the phase of the fundamental signal,β Indicates the phase of the harmonic signal.
[0092] In one embodiment, the fundamental wave signal and the harmonic wave signal may be extracted from the preset operating waveform data by frequency mixing and low-pass filtering to facilitate subsequent analysis and calculation.
[0093] In one embodiment, before step 201, the control method further includes: receiving an operation instruction sent by an accelerator timing system or a host computer; if it is determined that the operation instruction meets a preset trigger condition, executing a pulse operation; after the pulse operation lasts for a preset time, generating a synchronous operation instruction.
[0094] In this embodiment, a communication connection is established with a timing system or a host computer to receive an operation instruction sent by the timing system or the host computer. By judging whether the operation instruction is a synchronous high-frequency trigger instruction, it is determined whether the operation instruction is used to control the high-frequency system of the synchrotron. When it is determined that the operation instruction is a synchronous high-frequency trigger instruction, it is determined that the operation instruction meets the preset trigger condition and triggers the pulse operation. After the pulse operation is performed for a preset time, a synchronous operation instruction is generated. This ensures that the actions of different components or devices in the system are synchronized at a specific time point to achieve coordinated work or avoid conflicts.
[0095] It should be noted that after obtaining the high-frequency cavity sampling signal of the synchrotron in step 201, the control method further includes: performing analog-to-digital conversion on the high-frequency cavity sampling signal. Thus, through analog-to-digital conversion, the high-frequency cavity sampling signal can be converted into a digital form, so that it can be further calculated, filtered, analyzed and processed in a digital low-level system, so as to realize complex data processing requirements.
[0096] Step 202, performing phase detection processing on the frequency signal of the preset operating waveform data and the high-frequency cavity sampling signal to determine the phase error.
[0097] In this embodiment, the frequency signal is determined according to the frequencies of the fundamental signal and the harmonic signal in the preset operation waveform data, and the frequency signal is phase-detected with the fundamental and harmonic components of the high-frequency cavity sampling signal. The phase errors between the fundamental signal and the harmonic signal and the fundamental and harmonic components of the high-frequency cavity sampling signal are calculated. This allows the phase relationship of the fundamental and harmonic components in the accelerator cavity to be more accurately adjusted through the phase error to meet the beam acceleration and bunching requirements.
[0098] In a specific application scenario, step 202, that is, processing the frequency signal of the preset operating waveform data and the high-frequency cavity sampling signal to determine the phase error high-frequency cavity sampling signal, specifically includes the following steps:
[0099] Step 202 - 1 , interpolating the frequency signal of the preset operating waveform data according to the preset time interval to determine the target frequency curve.
[0100] In this embodiment, the frequency signals corresponding to the fundamental signal and the harmonic signal in the preset operating waveform data are interpolated using preset time intervals to supplement and reconstruct missing data points, thereby adjusting the frequencies of the fundamental signal and the harmonic signal to the preset time intervals. While achieving accurate time alignment, it smoothes the noise and discontinuity in the signal, improves the quality and reliability of the signal, and better supports more precise signal analysis and feature extraction.
[0101] Step 202-2: Perform digital frequency synthesis processing on the target frequency curve to determine the orthogonal demodulation signal corresponding to the frequency signal.
[0102] In this embodiment, the target frequency curves of the fundamental wave signal and the harmonic wave signal are orthogonally demodulated with the sine and cosine components respectively, so that the specific frequency components in the target frequency curve can be separated from other frequency components to filter out the components of non-specific frequencies, thereby reducing the noise and interference in the signal and effectively improving the signal-to-noise ratio and clarity of the signal.
[0103] Step 202-3, multiplying the orthogonal demodulation signal and the high-frequency cavity sampling signal, and performing filtering and phase detection to obtain a phase error and an amplitude of the high-frequency cavity sampling signal.
[0104] In this embodiment, the orthogonal demodulation signal is multiplied with the high-frequency cavity sampling signal to obtain a product signal containing a sine and a cosine. The spectrum of the product signal will contain the fundamental and harmonic components in the spectrum of the high-frequency cavity sampling signal. Under normal circumstances, the frequency of the product signal should be equal to or a multiple of the frequency of the high-frequency cavity sampling signal. The product signal frequencies of the fundamental signal and the harmonic signal are filtered and phase-compared with the frequency of the high-frequency cavity sampling signal, and the phase errors between the fundamental signal and the harmonic signal and the high-frequency cavity sampling signal are calculated. The amplitude information of the high-frequency cavity sampling signal is extracted by filtering and CORDIC detection of the product signal, so that the amplitude error can be determined by using the amplitude of the high-frequency cavity sampling signal as a reference.
[0105] Among them, the CORDIC detection algorithm is used to realize the transformation from the rectangular coordinate system (X, Y) or the complex coordinate system (I, Q) to the polar coordinate system (R, θ). If the rectangular coordinate system (X, Y) is used, the X-axis and the Y-axis represent the position of the point in the horizontal and vertical directions, respectively. By rotating and transforming the points in the rectangular coordinate system through the CORDIC algorithm, various mathematical operations and signal processing operations can be realized. If the complex coordinate system (I, Q) is used, I represents the real part of the complex signal, and Q represents the imaginary part of the complex signal. By calculating the points in the complex coordinate system through the CORDIC algorithm, operations such as rotation of the complex signal, calculation of amplitude and phase, etc. can be realized.
[0106] Step 203, processing the amplitude of the preset operating waveform data and the amplitude of the high-frequency cavity sampling signal to determine the amplitude error.
[0107] In this embodiment, the amplitudes of the fundamental wave signal and the harmonic signal in the preset operation waveform data are subtracted from the amplitude of the high-frequency cavity sampling signal, and the amplitude errors between the fundamental wave signal and the harmonic signal and the high-frequency cavity sampling signal are calculated, so as to more accurately measure the electromagnetic field intensity in the accelerator cavity and the difference between the step and the required amount.
[0108] In a specific application scenario, step 203, that is, processing the amplitude of the preset operating waveform data and the amplitude of the high-frequency cavity sampling signal to determine the amplitude error, specifically includes the following steps:
[0109] Step 203 - 1 , interpolating the amplitude of the preset operating waveform data according to the preset time interval to determine the target amplitude curve.
[0110] In this embodiment, the amplitudes of the fundamental signal and the harmonic signal in the preset operating waveform data are interpolated at preset time intervals to supplement and reconstruct missing data points, thereby adjusting the frequencies of the fundamental signal and the harmonic signal to the preset time intervals. While achieving accurate time alignment, it smoothes the noise and discontinuity in the signal, improves the quality and reliability of the signal, and better supports more precise signal analysis and feature extraction.
[0111] Step 203-2, determining the amplitude error according to the comparison result between the target amplitude curve and the amplitude of the high-frequency cavity sampling signal.
[0112] In this embodiment, the amplitudes of the fundamental wave signal and the harmonic signal in the preset operation waveform data are subtracted from the amplitude of the high-frequency cavity sampling signal, and the amplitude errors between the fundamental wave signal and the harmonic signal and the high-frequency cavity sampling signal are calculated, so as to more accurately measure the electromagnetic field intensity in the accelerator cavity and the difference between the step and the required amount.
[0113] It is understandable that the sampling interval of the fundamental signal or the harmonic signal is greater than the preset time interval. In this way, the efficiency and difficulty of configuring the preset operating waveform data can be improved, and the data of the sampling points with a smaller preset time interval can be predicted through the existing data during the interpolation process. Thereby increasing the number of data points, improving the resolution and accuracy of the signal, and better supporting more accurate signal analysis and feature extraction. In addition, the noise and discontinuity in the signal can be smoothed, and the quality and reliability of the signal can be improved.
[0114] Step 204, calling the PI controller to adjust the preset operating waveform data according to the phase error and the amplitude error to obtain the target operating waveform data.
[0115] In this embodiment, the PI controller is used to synchronously adjust the fundamental signal and harmonic signal of the preset operation waveform data with reference to the phase error and amplitude error, so as to achieve the phase and amplitude synchronization of the signal, so that the adjusted target operation waveform data can better meet the control requirements. Therefore, when facing external interference or system changes, the PI controller can make corresponding adjustments to the dual harmonics in time, which helps to maintain the stability and accuracy of the signal, thereby ensuring that the dual harmonics of the fundamental signal and the harmonic signal are synchronously driven, which can better improve the beam capture and acceleration efficiency and increase the current intensity of the synchrotron accelerator.
[0116] In a specific application scenario, step 204, i.e. adjusting the preset operating waveform data according to the phase error and the amplitude error, specifically includes the following steps:
[0117] Step 204-1, determining a proportional correction coefficient and an integral correction coefficient according to preset closed-loop parameters, a phase error, and an amplitude error.
[0118] Step 204 - 2 , correcting the fundamental wave signal and the harmonic wave signal in the preset operation waveform data according to the proportional correction coefficient and the integral correction coefficient, and determining the fundamental wave modulation signal and the harmonic wave modulation signal.
[0119] Step 204 - 3 , superimpose the fundamental wave modulation signal and the harmonic wave modulation signal to determine the target operation waveform data.
[0120] In this embodiment, the proportional term and the integral term of the phase and the amplitude are calculated respectively by the PI controller. The fundamental signal and the harmonic signal in the preset operation waveform data are corrected by the proportional term and the integral term respectively, so that the fundamental signal and the harmonic signal are kept in a synchronous closed-loop control state. The fundamental modulation signal and the harmonic modulation signal after the correction process are superimposed together to form the target operation waveform data of the double harmonic. In this way, when the target operation waveform data is used to control the high-frequency system of the synchrotron, the beam capture and acceleration efficiency can be further improved, and the current intensity of the synchrotron can be increased while the injection current intensity of the synchrotron remains unchanged.
[0121] Further, in one embodiment, step 204 - 3 specifically includes: obtaining a phase relationship of the harmonic signal relative to the fundamental signal; and superimposing the fundamental modulation signal and the harmonic modulation signal according to the phase relationship.
[0122] In this embodiment, by obtaining the phase relationship of the harmonic signal relative to the fundamental signal, the spectral components of the waveform can be accurately controlled. When the fundamental modulation signal and the harmonic modulation signal are superimposed, the waveform spectrum can be accurately regulated in the frequency domain based on the correct phase relationship, so that the fundamental signal and the harmonic signal are coordinated with each other, achieving a more stable, accurate and efficient system operation.
[0123] Step 205: Control the synchrotron high frequency system according to the target operating waveform data.
[0124] The control method based on broadband single-cavity dual harmonics of the embodiment of the present application separates the fundamental signal and the harmonic signal from the preset operation waveform data of the control period where the current control node is located. With the high-frequency cavity sampling signal collected at the current control node as a reference, the fundamental signal and the harmonic signal in the preset operation waveform data are corrected from the aspects of frequency and amplitude. The control operation of the high-frequency system of the synchrotron is then performed with the corrected fundamental signal and harmonic signal. In this way, the closed-loop control of the low-level system based on dual harmonics is realized. When the injection current intensity of the synchrotron remains unchanged, the beam capture and acceleration efficiency can be further improved by driving the fundamental signal and the harmonic signal at the same time, and the current intensity of the synchrotron is improved, and the adaptability is wider.
[0125] It should be noted that, before step 205, the control method further includes: performing digital-to-analog conversion on the preset operating waveform data.
[0126] In this embodiment, the preset operating waveform data generated by the digital controller is converted into a continuous analog signal through digital-to-analog conversion, thereby reducing the complexity and calculation amount of the digital part of the system, reducing the discreteness of the control system, and improving the stability and response speed of the system.
[0127] For example, the host computer software is loaded as follows Figure 4The preset operation waveform data shown, where the amplitude of the fundamental wave ranges from 0 to a maximum of 0.3kV, and the frequency of the fundamental wave rises from 0.38MHz to a maximum of 5.7MHz; the amplitude of the harmonic ranges from 0 to a maximum of 0.21kV, and the frequency of the harmonic is twice the fundamental frequency, but the maximum frequency is controlled not to exceed the bandwidth of the device itself when the harmonic voltage is 0, so the harmonic frequency rises from 0.76MHz to a maximum of 6MHz. After all data are interpolated to a fixed 256us interval, they are sent to the low-level system memory through the PCI bus for storage. The system obtains the trigger signal in real time, and when it is compared with the trigger analysis module and confirmed that the trigger signal is a synchronous high-frequency trigger instruction, the pulse starts, and after a delay, a global synchronous operation instruction is generated.
[0128] like Figure 3 As shown, when the low-level system responds to the synchronous operation instruction, the fundamental wave processing module of the FPGA processing chip reads the fundamental wave frequency curve and amplitude curve data in parallel. The fundamental wave frequency curve is interpolated to a 2us interval in real time and sent to the digital frequency synthesis module to generate an orthogonal demodulation signal including sine and cosine to demodulate the swept frequency signal. The orthogonal demodulation signal is multiplied with the high-frequency cavity sampling signal collected at the current moment to obtain a multiplication signal, and the multiplication signal is filtered by the FPGA processing chip and the CORDIC detection module to obtain the phase error. At the same time, the fundamental wave voltage curve is interpolated to a 2us interval in real time and then subtracted from the detection amplitude (the amplitude of the high-frequency cavity sampling signal) to calculate the amplitude error. The amplitude error and phase error are closed-loop regulated in the PI loop to obtain the corrected amplitude value and phase correction value. The phase correction value and the amplitude correction value are modulated by the amplitude modulation module and the swept frequency signal to generate a fundamental wave modulation signal.
[0129] Based on the same processing method as the fundamental signal, the harmonic processing module of the FPGA processing chip reads the harmonic frequency curve and amplitude curve data in parallel. The harmonic frequency curve is interpolated to a 2us interval in real time and sent to the digital frequency synthesis module to generate an orthogonal demodulation signal including sine and cosine to demodulate the swept frequency signal. The orthogonal demodulation signal is multiplied with the high-frequency cavity sampling signal to obtain a multiplication signal. The multiplication signal is filtered by the FPGA processing chip and the CORDIC detection module to generate the detection amplitude (amplitude of the high-frequency cavity sampling signal) and phase error. At the same time, the harmonic voltage curve is interpolated to a 2us interval in real time and then subtracted from the detection amplitude to calculate the amplitude error. The amplitude error and phase error are closed-loop adjusted in the PI loop to obtain the corrected amplitude value and phase correction value. The phase correction value and amplitude correction value are modulated by the amplitude modulation module and the swept frequency signal to generate a harmonic modulation signal.
[0130] After obtaining the fundamental modulation signal and the harmonic modulation signal, the fundamental modulation signal and the harmonic modulation signal are superimposed and sent to the digital-to-analog conversion module for digital-to-analog conversion. The amplitude and phase error of the fundamental and harmonics are buffered by the FIFO (First-In, First-Out) module and sent to the host computer for display. At the same time, a 10kW solid-state broadband power source is sent to the analog signal, which is amplified and fed into the air-cooled magnetic alloy broadband loading cavity. After the cavity is sampled at 400:1, it is sent to the low-level analog-to-digital conversion module for analog-to-digital conversion to obtain the digital high-frequency cavity sampling signal at the next control node moment, so as to facilitate closed-loop adjustment at the next control node moment.
[0131] In addition, in closed-loop operation, the phase of the harmonic relative to the fundamental wave can be adjusted through the host computer software, thereby changing the superposition result of the harmonic and the fundamental wave. Figure 5 and Figure 6 The superposition results under harmonic phases of 0.5π and -0.5π are shown respectively. In the synchrotron device, when the harmonic amplitude is about 0.7 times relative to the fundamental wave and the phase relative to the fundamental wave is 193.4°, a good beam current intensity is obtained. Compared with the fundamental wave mode alone, the DCCT current intensity of the synchrotron after superimposing the harmonics is increased by about 27.6%. It can be seen that compared with the single harmonic variable frequency and variable amplitude low-level system, the beam capture and acceleration efficiency can be further improved, and the current intensity of the synchrotron can be increased when the injection current intensity of the synchrotron remains unchanged. It is very practical in the broadband high-frequency system of particle synchrotrons and has good applicability.
[0132] like Figure 1 As shown, an embodiment of the present application provides a low-level system, including: a phase-locked loop 111, a memory 112 and a processor.
[0133] The memory 112 is used to store preset operation waveform data and computer programs including fundamental wave signals and harmonic wave signals. The processor includes a phase-locked loop 111 and a processing chip 113. The phase-locked loop 111 is used to keep the phase of the input signal consistent with the phase of the reference signal to achieve phase synchronization. The processing chip 113 is connected to the phase-locked loop 111 and the memory 112, and the processing chip 113 is connected to the host computer 120 through the protocol bus 114. When the processing chip 113 executes the computer program, it can perform the following steps: responding to the synchronous operation instruction of the synchrotron, obtaining the preset operation waveform data and the high-frequency cavity sampling signal of the synchrotron, wherein the preset operation waveform data includes the fundamental wave signal and the harmonic wave signal; performing phase detection processing on the frequency signal of the preset operation waveform data and the high-frequency cavity sampling signal to determine the phase error; processing the amplitude of the preset operation waveform data and the amplitude of the high-frequency cavity sampling signal to determine the amplitude error; calling the PI controller to adjust the preset operation waveform data according to the phase error and the amplitude error to obtain the target operation waveform data; and controlling the high-frequency system of the synchrotron according to the target operation waveform data.
[0134] For example, the processing chip of the low-level system mainly uses FPGA (Field Programmable Gate Array) as the core processing unit, and the FPGA part mainly performs logical operations. Therefore, the processor of the low-level system can effectively complete the control, monitoring, interlocking protection of the accelerator and the communication tasks with the central control system.
[0135] The memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processing unit through a bus. The memory may also be integrated with the processing unit.
[0136] In one possible implementation, Figure 1As shown, the processor further includes: a clock module (not shown in the figure) and a conversion circuit 115.
[0137] The conversion circuit 115 is connected to the phase-locked loop 111 and the processing chip 113. The conversion circuit 115 is used to perform analog-to-digital conversion on the high-frequency cavity sampling signal of the magnetic alloy cavity 130, or perform digital-to-analog conversion on the preset operation waveform data, so that the transmitter 140 can transmit the relevant radio frequency signal to the magnetic alloy cavity 130. The clock module is connected to the phase-locked loop 111, and the clock module is used to generate the working clock of the conversion circuit 115 and generate synchronous operation instructions.
[0138] In one possible implementation, the processor can perform the following steps when executing a computer program: interpolate the frequency signal according to a preset time interval to determine a target frequency curve; perform digital frequency synthesis on the target frequency curve to determine an orthogonal demodulation signal corresponding to the frequency signal; multiply the orthogonal demodulation signal and the high-frequency cavity sampling signal, and perform filtering and phase detection to obtain a phase error.
[0139] In another possible implementation, the processor can perform the following steps when executing a computer program: interpolate the amplitude of preset operating waveform data according to a preset time interval to determine a target amplitude curve; and determine the amplitude error based on a comparison result between the target amplitude curve and the amplitude of the high-frequency cavity sampling signal.
[0140] In another possible implementation, the processor can perform the following steps when executing the computer program: determine the proportional correction coefficient and the integral correction coefficient based on the preset closed-loop parameters, phase error and amplitude error; correct the fundamental signal and the harmonic signal in the preset operating waveform data based on the proportional correction coefficient and the integral correction coefficient to determine the fundamental modulation signal and the harmonic modulation signal; superimpose the fundamental modulation signal and the harmonic modulation signal to determine the target operating waveform data.
[0141] In another possible implementation, the processor can perform the following steps when executing the computer program: obtaining the phase relationship of the harmonic signal relative to the fundamental signal; superimposing the fundamental modulation signal and the harmonic modulation signal according to the phase relationship; wherein the preset operating waveform data satisfies the following formula:
[0142] ,
[0143] In the formula, y ( t ) indicates preset running waveform data, A ( t ) represents the amplitude function of the fundamental signal, B ( t ) represents the amplitude function of the harmonic signal, w (t ) represents the function of angular frequency changing with time, α represents the phase of the fundamental signal, β Indicates the phase of the harmonic signal.
[0144] In another possible implementation, the processor can perform the following steps when executing a computer program: receiving an operation instruction sent by an accelerator timing system or a host computer; if it is determined that the operation instruction meets a preset trigger condition, executing a pulse operation; after the pulse operation lasts for a preset period of time, generating a synchronous operation instruction.
[0145] The processor is configured to execute executable instructions to implement a control method based on broadband single-cavity dual harmonics as any possible implementation method described above, and can achieve the same technical effect, so it will not be described here to avoid repetition.
[0146] The embodiment of the present application also provides a computer-readable storage medium, when the program or instruction in the computer-readable storage medium is executed by the processor, the low-level system can execute the control method based on broadband single-cavity dual harmonics as any possible implementation method described above. And can achieve the same technical effect, to avoid repetition, it will not be repeated here.
[0147] The embodiment of the present application also provides a computer program product, including a computer program or instruction, which is executed as a control method based on broadband single-cavity dual harmonics in any possible implementation manner described above. And the same technical effect can be achieved, so it will not be repeated here to avoid repetition.
[0148] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0149] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A control method based on broadband single-cavity dual harmonics, characterized in that: Applied to a low-level system, the method comprises: In response to a synchronous operation instruction of a synchrotron, obtaining preset operation waveform data and a high-frequency cavity sampling signal of the synchrotron, wherein the preset operation waveform data includes a fundamental wave signal and a harmonic wave signal; Performing phase detection processing on the frequency signal of the preset operating waveform data and the high-frequency cavity sampling signal to determine a phase error; Processing the amplitude of the preset operation waveform data and the amplitude of the high-frequency cavity sampling signal to determine an amplitude error; Calling a PI controller to adjust the preset operation waveform data according to the phase error and the amplitude error to obtain target operation waveform data; The synchrotron high frequency system is controlled according to the target operating waveform data.
2. The control method based on broadband single-cavity dual harmonic according to claim 1 is characterized in that: The step of processing the frequency signal of the preset operation waveform data and the high-frequency cavity sampling signal to determine the phase error includes: Performing interpolation processing on the frequency signal according to a preset time interval to determine a target frequency curve; Performing digital frequency synthesis processing on the target frequency curve to determine an orthogonal demodulation signal corresponding to the frequency signal; The orthogonal demodulation signal and the high-frequency cavity sampling signal are multiplied, and filtered and phase-detected to obtain the phase error.
3. The control method based on broadband single-cavity dual harmonic according to claim 1, characterized in that: The processing of the amplitude of the preset operation waveform data and the amplitude of the high-frequency cavity sampling signal to determine the amplitude error includes: Performing interpolation processing on the amplitude of the preset operating waveform data according to a preset time interval to determine a target amplitude curve; The amplitude error is determined according to a comparison result between the target amplitude curve and the amplitude of the high-frequency cavity sampling signal.
4. The control method based on broadband single-cavity dual harmonic according to claim 2 or 3, characterized in that: A sampling interval of the fundamental wave signal or the harmonic signal is greater than the preset time interval.
5. The control method based on broadband single-cavity dual harmonic according to claim 1, characterized in that: The step of adjusting the preset operation waveform data according to the phase error and the amplitude error comprises: Determining a proportional correction coefficient and an integral correction coefficient according to preset closed-loop parameters, the phase error and the amplitude error; According to the proportional correction coefficient and the integral correction coefficient, respectively correct the fundamental wave signal and the harmonic wave signal in the preset operation waveform data to determine the fundamental wave modulation signal and the harmonic wave modulation signal; The fundamental wave modulation signal and the harmonic modulation signal are superimposed to determine the target operation waveform data.
6. The control method based on broadband single-cavity dual harmonic according to claim 5, characterized in that: The superimposing the fundamental wave modulation signal and the harmonic modulation signal comprises: Acquire a phase relationship between the harmonic signal and the fundamental signal; superimposing the fundamental wave modulation signal and the harmonic modulation signal according to the phase relationship; Wherein, the preset operation waveform data satisfies the following formula: , In the formula, y ( t ) indicates preset running waveform data, A ( t ) represents the amplitude function of the fundamental signal, B ( t ) represents the amplitude function of the harmonic signal, w ( t ) represents the function of angular frequency changing with time, α represents the phase of the fundamental signal, β Indicates the phase of the harmonic signal.
7. The control method based on broadband single-cavity dual harmonic according to claim 1, characterized in that: Before obtaining preset operation waveform data and a high-frequency cavity sampling signal of the synchrotron in response to the synchronous operation instruction of the synchrotron, the method further includes: Receive operation instructions sent by the accelerator timing system or the host computer; If it is determined that the operation instruction meets the preset trigger condition, a pulse operation is executed; After the pulse operation has been performed for a preset time, the synchronous operation instruction is generated; After acquiring the high-frequency cavity sampling signal of the synchrotron, the method further includes: Performing analog-to-digital conversion on the high-frequency cavity sampling signal; Before controlling the synchrotron high-frequency system according to the preset operating waveform data, the method further includes: Perform digital-to-analog conversion on the preset running waveform data.
8. A low level system, characterized in that: The low-level system includes: a memory having a computer program stored therein; A processor, wherein the processor is connected to the memory, the processor is connected to a host computer via a protocol bus, and the processor is capable of executing the broadband single-cavity dual-harmonic control method according to any one of claims 1 to 7 when executing the computer program; Wherein, the processor includes a phase-locked loop and a processing chip.
9. The low-level system according to claim 8, characterized in that: The processor further comprises: A conversion circuit connected to the phase-locked loop and the processing chip, the conversion circuit being used to perform analog-to-digital conversion on the high-frequency cavity sampling signal of the synchrotron, or to perform digital-to-analog conversion on preset operating waveform data; A clock module is connected to the phase-locked loop, and is used to generate a working clock for the conversion circuit and generate the synchronous operation instruction.
10. A computer-readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by the processor, the control method based on broadband single-cavity dual harmonics according to any one of claims 1 to 7 is implemented.
