Automatic diagnosis method and equipment for beam position measurement system of electronic storage ring

By using channel calibration and measurement optimization modes, and by automatically compensating and adjusting the analog circuit using pilot signals, the problems of decreased measurement accuracy and current intensity dependence in the electronic storage ring beam position measurement system were solved, achieving high-precision measurement and real-time anomaly monitoring.

CN121878765APending Publication Date: 2026-04-17UNIV OF SCI & TECH OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-16
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

The measurement accuracy of the electronic storage ring beam position measurement system decreases during long-term operation due to changes in ambient temperature and humidity, manufacturing processes, and differences in electronic components. Furthermore, the signal strength of the beam position detector varies under different beam patterns and current intensities, making it difficult to achieve efficient automatic diagnosis and adjustment.

Method used

Employing channel calibration mode and measurement optimization mode, the system performs system calibration and signal superposition by generating N pilot signals, and monitors and adjusts the analog circuit gain in real time to achieve automatic diagnosis and abnormal alarm.

Benefits of technology

It improves the accuracy of the beam position measurement system, reduces the current intensity dependence effect, and provides real-time abnormal alarm and data archiving functions to ensure that the system is in the best working condition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121878765A_ABST
    Figure CN121878765A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic diagnosis method and equipment for an electron storage ring beam position measurement system, which are corresponding schemes, in the scheme, automatic diagnosis of the electron storage ring beam position measurement system is realized through a channel calibration mode and a measurement optimization mode, and specifically, in the channel calibration mode, the measurement optimization mode is used for optimizing the measurement of the electron storage ring beam position measurement system. Channel inconsistency caused by environmental factors, manufacturing processes and differences of electronic devices can be compensated based on amplitude compensation and phase compensation of the pilot signals, in the measurement optimization mode, the gain of the analog circuit and the amplitude of the pilot signals can be adjusted in real time, the measurement precision can be further improved, and the current intensity dependence effect is overcome. The basic idea is to automatically compensate and adjust an analog circuit through a pilot signal, improve the measurement precision of the system, monitor the beam state and position the problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic storage ring beam position measurement technology, and in particular to an automatic diagnostic method and device for an electronic storage ring beam position measurement system. Background Technology

[0002] The electron storage ring (ESR) beam position measurement system monitors the trajectory status of the electron beam in real time and is a key system for the commissioning and stable operation of the ESR. The ESR beam position measurement system typically includes hundreds of beam position detectors and beam position measurement electronics distributed along the ring. The beam position detectors sense beam signals through electrodes and transmit them to the beam position measurement electronics for processing to obtain beam position information indicating the position of the detector electrodes. The beam position measurement electronics include an analog front-end for adjusting signals, an ADC for analog-to-digital conversion of the sensed signals, an FPGA for digital signal processing, and an embedded controller for monitoring machine status and controlling data communication.

[0003] During long-term operation, variations in environmental temperature and humidity, manufacturing processes, and differences in electronic components can lead to inconsistencies between the analog channels of the beam position measurement electronics, affecting the accuracy of beam position measurements. Regular consistency checks and compensation between channels are necessary. Furthermore, under different beam patterns and beam current intensities, the magnitude of the signals sensed by the beam position detector electrodes varies, requiring conditioning by the analog front-end to bring them to the optimal operating range of the ADC. However, the testing and adjustment of hundreds of beam position measurement electronics across the entire system is a time-consuming and labor-intensive task. Automated diagnostics is an efficient way to improve the measurement accuracy of beam position measurement systems.

[0004] In view of this, the present invention is hereby proposed. Summary of the Invention

[0005] The purpose of this invention is to provide an automatic diagnostic method and device for an electronic storage ring beam position measurement system, which can compensate for measurement errors caused by environmental factors, manufacturing processes, and differences in electronic components, thereby improving the accuracy of the storage ring beam position measurement system and reducing the current intensity dependence effect of beam position measurement.

[0006] The objective of this invention is achieved through the following technical solution: An automatic diagnostic method for an electronic storage ring beam position measurement system includes: a channel calibration mode and a measurement optimization mode; wherein: Channel calibration mode: N identical pilot signals are generated and input to the electronic storage ring beam position measurement system. The amplitude and phase of each of the N pilot signals are calculated based on the output of the electronic storage ring beam position measurement system. The corresponding amplitude compensation and phase compensation are calculated as reference values ​​to calibrate the electronic storage ring beam position measurement system. Measurement Optimization Mode: Based on the channel calibration mode, N identical pilot signals are superimposed one-to-one with N beam signals to obtain N combined signals, which are then input to the electronic storage ring beam position measurement system. The beam signal amplitude and beam position in each combined signal are calculated based on the output of the electronic storage ring beam position measurement system. The gain coefficient of the electronic storage ring beam position measurement system is adjusted according to the beam signal amplitude, and the pilot signal amplitude is adjusted accordingly. Furthermore, the beam signal amplitude and beam position are monitored in real time to determine whether the electronic storage ring beam position measurement system is malfunctioning.

[0007] An automatic diagnostic device for an electronic storage ring beam position measurement system, used to implement the aforementioned method, includes: a pilot module and an embedded controller; wherein: In channel calibration mode, the pilot module generates N identical pilot signals and inputs them to the electronic storage ring beam position measurement system; the embedded controller calculates the amplitude and phase of each of the N pilot signals based on the output of the electronic storage ring beam position measurement system, and calculates the corresponding amplitude compensation and phase compensation as reference values ​​to calibrate the electronic storage ring beam position measurement system; In measurement optimization mode, based on channel calibration mode, the pilot module superimposes N identical pilot signals with N beam signals one-to-one to obtain N combined signals, which are then input to the electronic storage ring beam position measurement system. The embedded controller calculates the beam signal amplitude and beam position in each combined signal based on the output of the electronic storage ring beam position measurement system, adjusts the gain coefficient of the electronic storage ring beam position measurement system according to the beam signal amplitude, and adjusts the pilot signal amplitude accordingly. Furthermore, it monitors the beam signal amplitude and beam position in real time to determine whether the electronic storage ring beam position measurement system is malfunctioning.

[0008] As can be seen from the technical solution provided by the present invention, the channel calibration mode, based on amplitude and phase compensation of the pilot signal, can compensate for channel inconsistencies caused by environmental factors, manufacturing processes, and differences in electronic components. The measurement optimization mode, by adjusting the analog circuit gain and pilot signal amplitude in real time, can further improve measurement accuracy and overcome the current intensity dependence effect. Its basic idea is to improve system measurement accuracy, monitor beam status, and locate problems by automatically compensating and adjusting the analog circuit using the pilot signal. Attached Figure Description

[0009] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 A flowchart of an automatic diagnostic method for an electronic storage ring beam position measurement system provided in an embodiment of the present invention.

[0011] Figure 2 This is a schematic diagram of the overall framework of an automatic diagnostic method for an electronic storage ring beam position measurement system provided in an embodiment of the present invention.

[0012] Figure 3 This is a schematic diagram of an analog circuit in an electronic storage ring beam position measurement system provided in an embodiment of the present invention.

[0013] Figure 4 This is a schematic diagram illustrating data signal processing and extraction of signal amplitude and phase provided in an embodiment of the present invention.

[0014] Figure 5 This is a schematic diagram illustrating the separation of pilot signals and beam signals through data signal processing and the calculation of signal amplitude and beam position, provided in an embodiment of the present invention. Detailed Implementation

[0015] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present invention.

[0016] First, the following explanations are provided for the terms that may be used in this article: The terms "comprising," "including," "containing," "having," or other similar semantic descriptions should be interpreted as non-exclusive inclusion. For example, including a technical feature element (such as raw material, component, ingredient, carrier, dosage form, material, size, part, component, mechanism, device, step, process, method, reaction conditions, processing conditions, parameter, algorithm, signal, data, product or article of manufacture, etc.) should be interpreted as including not only the expressly listed technical feature element, but also other technical feature elements that are not expressly listed and are well-known in the art.

[0017] The term "composed of" excludes any technical features not expressly listed. When used in a claim, it closes the claim to exclude all technical features other than those expressly listed, except for associated conventional impurities. If the term appears only in a clause of a claim, it limits the claim to the elements expressly listed in that clause; elements recited in other clauses are not excluded from the overall claim.

[0018] Unless otherwise explicitly specified or limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this document according to the specific circumstances.

[0019] When concentration, temperature, pressure, size, or other parameters are expressed as numerical ranges, such ranges should be understood to specifically disclose all ranges formed by any pairing of upper limits, lower limits, or preferred values ​​within that range, regardless of whether the range is explicitly stated; for example, if the numerical range "2 to 8" is stated, then that range should be interpreted to include ranges such as "2 to 7", "2 to 6", "5 to 7", "3 to 4 and 6 to 7", "3 to 5 and 7", "2 and 5 to 7", etc. Unless otherwise stated, the numerical ranges described herein include both their endpoints and all integers and fractions within that range.

[0020] The following is a detailed description of the automatic diagnostic method and device for an electronic storage ring beam position measurement system provided by the present invention. Contents not described in detail in the embodiments of the present invention are prior art known to those skilled in the art. Where specific conditions are not specified in the embodiments of the present invention, they shall be performed according to conventional conditions in the art or conditions recommended by the manufacturer. Instruments used in the embodiments of the present invention whose manufacturers are not specified are all conventional products that can be purchased commercially.

[0021] Example 1 This invention provides an automatic diagnostic method for an electronic storage ring beam position measurement system, such as... Figure 1 As shown, it mainly includes the following two parts: 1. Channel calibration mode.

[0022] In this embodiment of the invention, the channel calibration mode mainly includes: generating N identical pilot signals and inputting them into the electronic storage ring beam position measurement system; calculating the amplitude and phase of each of the N pilot signals based on the output of the electronic storage ring beam position measurement system; and calibrating the electronic storage ring beam position measurement system by calculating the corresponding amplitude compensation and phase compensation as reference values.

[0023] In this embodiment of the invention, the value of N can be set according to the actual situation. For example, N can be set to 4 channels.

[0024] In this embodiment of the invention, generating N identical pilot signals includes: generating N identical pilot signals through a crystal oscillator, a phase-locked loop, and a power divider, wherein the amplitude, frequency, etc. of the pilot signals are adjusted by setting parameters via a serial port.

[0025] In this embodiment of the invention, the calculation of the amplitude and phase of each of the N pilot signals includes: after the N pilot signals are input to the electron storage ring beam position measurement system, each is processed through its corresponding channel. First, the signals pass through the analog circuit of the beam position measurement electronics, then undergo ADC sampling and digital down-conversion processing to output two fundamental frequency quadrature signals IQ. The two fundamental frequency quadrature IQ signals corresponding to each pilot signal are processed using the CORDIC algorithm to obtain their corresponding amplitude and phase. The amplitude compensation and phase compensation are used to compensate the corresponding channels of the analog circuit, achieving consistency in the amplitude and phase of the N channels.

[0026] In this embodiment of the invention, the compensation of the corresponding channels of the analog circuit includes: the analog circuit includes: a first bandpass filter, a first amplifier, a first low-pass filter, a first adjustable attenuator, a second amplifier, a second low-pass filter, a second adjustable attenuator, a phase shifter, and a second bandpass filter cascaded in sequence; wherein, amplitude compensation is used to adjust the first and second adjustable attenuators to complete the amplitude inconsistency compensation between channels; and phase compensation is used to adjust the phase shifter to complete the phase inconsistency compensation between channels.

[0027] In this embodiment of the invention, the calculation of the corresponding amplitude compensation and phase compensation includes: calculating the amplitude and phase of each pilot signal; using the amplitude of the first signal as a reference, calculating the amplitude ratio of each of the other N-1 signals relative to the first signal, and using the reciprocal of the amplitude ratio as the amplitude compensation coefficient of each of the other N-1 signals, so that the amplitude of the other N-1 signals is aligned with the first signal; using the first signal as a reference, calculating the phase difference between the phase of the other N-1 signals and the first signal, and setting the phase compensation value according to the phase difference.

[0028] 2. Measurement optimization mode.

[0029] In this embodiment of the invention, the measurement optimization mode mainly includes: based on the channel calibration mode, superimposing N identical pilot signals and N beam signals one-to-one to obtain N combined signals, which are then input to the electronic storage ring beam position measurement system. The beam signal amplitude and beam position information in each combined signal are calculated based on the output of the electronic storage ring beam position measurement system. The gain coefficient of the electronic storage ring beam position measurement system is adjusted according to the beam signal amplitude, and the pilot signal amplitude is adjusted accordingly. Furthermore, the beam signal amplitude and beam position are monitored in real time to determine whether the electronic storage ring beam position measurement system is abnormal.

[0030] In this embodiment of the invention, the calculation of the beam signal amplitude and beam position information in each combined signal based on the output of the electronic storage ring beam position measurement system includes: for each combined signal, separating the pilot signal and beam signal using two different sets of numerically controlled oscillators and low-pass filters, and calculating the pilot signal amplitude and beam signal amplitude respectively; and calculating the beam position using a difference ratio algorithm with pilot compensation based on the pilot signal amplitude and beam signal amplitude of the N combined signals.

[0031] Considering that the scheme for calculating the beam position using the difference ratio and algorithm with pilot compensation can be implemented with reference to conventional techniques, it will not be elaborated here.

[0032] In this embodiment of the invention, adjusting the gain coefficient of the electronic storage ring beam position measurement system according to the beam signal amplitude and correspondingly adjusting the pilot signal amplitude includes: adjusting the gain coefficient of the analog circuit in the electronic storage ring beam position measurement system according to the beam signal amplitude, and adjusting the pilot signal amplitude through serial port setting parameters to keep the ratio of the pilot signal amplitude to the beam signal amplitude constant.

[0033] In this embodiment of the invention, determining whether the electronic storage ring beam position measurement system is abnormal includes: pre-setting an alarm trigger threshold condition; when the real-time monitored beam signal amplitude and beam position meet the alarm trigger threshold condition, it indicates that the electronic storage ring beam position measurement system is malfunctioning, triggering an abnormal alarm, and storing the relevant abnormal data (i.e., the beam signal when the abnormality occurs).

[0034] In this embodiment of the invention, the alarm trigger threshold condition can be that the beam position deviates significantly from the center position or the beam signal amplitude deviates from the set amplitude range. For example, the beam position deviates from the ideal trajectory by more than k*σ, where k is a preset coefficient and σ represents the lateral size of the beam cluster. The amplitude range here can be dynamically set based on statistical or historical data. For example, the lower limit is set to 10%~30% of the normal value, and the upper limit is set to 150%~200% of the normal value. Of course, these are just examples, and the specific amplitude range can be set by the user according to the actual situation. This invention does not impose specific limitations.

[0035] The above solution achieves automatic diagnosis of the electronic storage ring beam position measurement system through channel calibration mode and measurement optimization mode. It can not only compensate for measurement errors caused by environmental factors, manufacturing process and differences in electronic components, thus improving the accuracy of the storage ring beam position measurement system, but also provide real-time abnormal alarm and abnormal data archiving functions.

[0036] To more clearly demonstrate the technical solution and its effects provided by the present invention, the method provided by the embodiments of the present invention will be described in detail below with reference to specific examples.

[0037] I. Overall Overview of the Plan

[0038] This invention provides an automatic diagnostic method for an electronic storage ring beam position measurement system, which mainly includes a channel calibration mode and a measurement optimization mode. These two modes ensure the system operates at its optimal state and provide beam status anomaly alarms and error analysis functions. In the channel calibration mode, N identical pilot signals are generated and input to the beam position measurement system. These signals pass sequentially through a phase-stabilized cable, an analog front-end, an ADC, etc., and the amplitude gain and phase changes of four signals are obtained after digital signal processing. Amplitude compensation and phase compensation are set for each of the N channels as reference values ​​to achieve consistency across the four channels. In the measurement optimization mode, during beam position measurement, the gain coefficient of the analog circuit and the output amplitude of the pilot signals are adjusted in real time based on the amplitude and phase of the pilot and beam signals. This improves the system's measurement accuracy and reduces the current intensity dependence effect in beam measurement. It also monitors the signal amplitude and beam position status in real time, providing beam status anomaly alarms and data archiving functions.

[0039] II. Detailed introduction of the plan.

[0040] like Figure 2 The diagram illustrates the overall framework of the invention. The main processes involved are as follows: Step 1: The pilot module generates four identical pilot signals through a crystal oscillator (high-stability, low-noise, temperature-controlled crystal oscillator), a phase-locked loop, and a power divider. The signal amplitude and frequency can be adjusted via serial port settings. The frequency is typically set near the main frequency of the beam under test and outside the half-bandwidth range of the per-turn data. For example, the center frequency of the beam under test signal of the Hefei Light Source storage ring is 408 MHz, the per-turn data bandwidth is 4.533 MHz, and the pilot signal frequency setting range is typically 403 MHz ~ 405.7335 MHz and 410.2665 MHz ~ 413 MHz.

[0041] It should be noted that, Figure 2 The example shown only provides an example with N=4. In practical applications, users can set the number of channel signals as needed.

[0042] Step Two: The four pilot signals then enter four identical analog channels, such as... Figure 3 As shown, the circuit structure of the analog channel mainly includes: a first bandpass filter, a first amplifier, a first low-pass filter, a first adjustable attenuator, a second amplifier, a second low-pass filter, a second adjustable attenuator, a phase shifter, and a second bandpass filter cascaded together. The center frequency of the bandpass filter is the beam center frequency, and the passband range includes the pilot signal. The two-stage amplification and attenuation circuit is used to adjust the signal to suit the dynamic range of subsequent ADC sampling. The attenuator and phase shifter can be controlled via serial port and SPI bus to compensate for amplitude and phase differences between channels.

[0043] Figure 3 In this diagram, BPF stands for bandpass filter (corresponding to the first bandpass filter and the second bandpass filter), LNA stands for low-noise amplifier (corresponding to the first amplifier and the second amplifier), LPF stands for low-pass filter (corresponding to the first low-pass filter and the second low-pass filter), DSA stands for digital step attenuator (corresponding to the first adjustable attenuator and the second adjustable attenuator), and PS stands for phase shifter.

[0044] Step 3: After the four pilot signals are sampled by the ADC, the signal amplitude and phase information are extracted through digital signal processing, such as... Figure 4 As shown, each ADC sampling signal is converted into two fundamental frequency quadrature IQ signals after digital down-conversion and filtering. The amplitude and phase of the IQ signals are calculated using the CORDIC algorithm.

[0045] Step 4: After buffering the amplitude and phase calculation results of each pilot signal, calculate the 32-point average amplitude and average phase. Then, calculate the proportional relationship of the average amplitude of the four signals. Use the first signal as the reference to normalize the proportional coefficient. Finally, set the adjustable attenuator of the analog circuit according to the amplitude ratio to complete the compensation for amplitude inconsistency between channels. Using the first signal as the reference, calculate the phase difference between the other three signals and the first signal. Set the phase shifter of the analog circuit to compensate for the phase through the SPI bus.

[0046] Step 5: During normal beam measurement, the four beam signals and pilot signals are superimposed into a combined signal in the pilot module and input to the electronic storage ring beam position measurement system.

[0047] Step Six: After sampling the combined signal, digital signal processing is used to extract the amplitude, phase, and beam position information of the pilot signal and beam signal, respectively. For example... Figure 5 As shown, each combined signal is separated into pilot and beam signals by two sets of "numerically controlled oscillators (NCO) + low-pass filters (LPF)". The difference between the two sets of NCOs is that they generate orthogonal signals with different frequencies. These signals are mixed with the sampled beam and pilot signals respectively, shifting their center frequencies to the fundamental frequency. The separated pilot and beam signals are filtered and extracted, and the signal amplitude is calculated in the CORDIC module. The beam position information is calculated based on the difference ratio with pilot compensation and the algorithm.

[0048] Those skilled in the art will understand that the beam position signal is typically two, including horizontal and vertical coordinates. It can be calculated using the amplitude of the pilot signal and the beam signal from these four combined signals.

[0049] Step 7: Adjust the gain coefficient of the analog circuit (calculated by digital signal processing) according to the beam signal amplitude to keep the ADC signal under test in the optimal range; adjust the pilot signal amplitude through serial port settings to keep its ratio with the beam signal amplitude constant.

[0050] Step 8: Monitor beam signal amplitude and beam position in real time, set alarm trigger threshold conditions, and store abnormal data information to facilitate timely detection and location of problems.

[0051] Through the above description of the embodiments, those skilled in the art can clearly understand that the above embodiments can be implemented by software, or by using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions of the above embodiments can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, mobile hard drive, etc.), including several instructions to cause a computer device (such as a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0052] Example 2 This invention also provides an automatic diagnostic device for an electronic storage ring beam position measurement system, which is mainly used to implement the method provided in the foregoing embodiments. The system mainly includes: a pilot module, an analog front-end module, a digital signal processing module, and an embedded controller; wherein: In channel calibration mode, the pilot module generates N identical pilot signals and inputs them to the electronic storage ring beam position measurement system; the embedded controller calculates the amplitude and phase of each of the N pilot signals based on the output of the electronic storage ring beam position measurement system, and calculates the corresponding amplitude compensation and phase compensation as reference values ​​to calibrate the electronic storage ring beam position measurement system; In measurement optimization mode, based on channel calibration mode, the pilot module superimposes N identical pilot signals with N beam signals one-to-one to obtain N combined signals, which are then input to the electronic storage ring beam position measurement system. The embedded controller calculates the beam signal amplitude and beam position in each combined signal based on the output of the electronic storage ring beam position measurement system, adjusts the gain coefficient of the electronic storage ring beam position measurement system according to the beam signal amplitude, and adjusts the pilot signal amplitude accordingly. Furthermore, it monitors the beam signal amplitude and beam position in real time to determine whether the electronic storage ring beam position measurement system is malfunctioning.

[0053] Structurally, the pilot module receives beam sensing signals, and the embedded controller is connected to the accelerator control network to monitor beam anomalies. It is also connected to the analog front end to output corresponding control information to control the analog circuits in the system. Furthermore, the embedded controller is also connected to the pilot module to adjust the amplitude and frequency of the pilot signal by setting parameters.

[0054] Since the main technical details of the device have been described in detail in the previous embodiments, they will not be repeated here.

[0055] Those skilled in the art will understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the equipment can be divided into different functional modules to complete all or part of the functions described above.

[0056] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims. The information disclosed in the background section is intended only to enhance the understanding of the overall background technology of the present invention and should not be construed as an admission or implication in any way that such information constitutes prior art known to those skilled in the art.

Claims

1. An automatic diagnostic method for an electronic storage ring beam position measurement system, characterized in that, include: Channel calibration mode and measurement optimization mode; among which: Channel calibration mode: N identical pilot signals are generated and input to the electronic storage ring beam position measurement system. The amplitude and phase of each of the N pilot signals are calculated based on the output of the electronic storage ring beam position measurement system. The corresponding amplitude compensation and phase compensation are calculated as reference values ​​to calibrate the electronic storage ring beam position measurement system. Measurement Optimization Mode: Based on the channel calibration mode, N identical pilot signals are superimposed one-to-one with N beam signals to obtain N combined signals, which are then input to the electronic storage ring beam position measurement system. The beam signal amplitude and beam position in each combined signal are calculated based on the output of the electronic storage ring beam position measurement system. The gain coefficient of the electronic storage ring beam position measurement system is adjusted according to the beam signal amplitude, and the pilot signal amplitude is adjusted accordingly. Furthermore, the beam signal amplitude and beam position are monitored in real time to determine whether the electronic storage ring beam position measurement system is malfunctioning.

2. The automatic diagnostic method for an electron storage ring beam position measurement system according to claim 1, characterized in that, The generation of N identical pilot signals includes: N identical pilot signals are generated by a crystal oscillator, a phase-locked loop, and a power divider. The frequency of the pilot signal amplitude is adjusted by setting parameters via a serial port.

3. The automatic diagnostic method for an electron storage ring beam position measurement system according to claim 1, characterized in that, The calculation of the amplitude and phase of each of the N pilot signals includes: After the N pilot signals are input to the electronic storage ring beam position measurement system, they are processed through their respective channels. First, they pass through the analog circuit of the beam position measurement electronics, then are sampled by an ADC and digitally down-converted to output two fundamental frequency quadrature IQ signals. The two fundamental frequency quadrature IQ signals corresponding to each pilot signal are processed by the CORDIC algorithm to obtain the corresponding amplitude and phase. The amplitude compensation and phase compensation are used to compensate the corresponding channels of the analog circuit to achieve consistency in amplitude and phase of the N channels.

4. The automatic diagnostic method for an electron storage ring beam position measurement system according to claim 3, characterized in that, The compensation for the corresponding channels of the analog circuit includes: The analog circuit includes: a first bandpass filter, a first amplifier, a first low-pass filter, a first adjustable attenuator, a second amplifier, a second low-pass filter, a second adjustable attenuator, a phase shifter, and a second bandpass filter, all cascaded in sequence. Specifically, amplitude compensation is used to adjust the first and second adjustable attenuators to compensate for amplitude inconsistencies between channels; phase compensation is used to adjust the phase shifter to compensate for phase inconsistencies between channels.

5. An automatic diagnostic method for an electron storage ring beam position measurement system according to claim 1 or 3, characterized in that, The corresponding amplitude compensation and phase compensation calculations include: Calculate the amplitude and phase of each pilot signal; Using the amplitude of the first signal as a reference, calculate the amplitude ratio of each of the other N-1 signals relative to the first signal, and use the reciprocal of the amplitude ratio as the amplitude compensation coefficient of each of the other N-1 signals, so that the amplitude of the other N-1 signals is aligned with the first signal. Using the first path as a reference, calculate the phase difference between the other N-1 paths and the first path, and set the phase compensation value based on the phase difference.

6. The automatic diagnostic method for an electron storage ring beam position measurement system according to claim 1, characterized in that, The calculation of the beam signal amplitude and beam position in each combined signal based on the output of the electronic storage ring beam position measurement system includes: For each combined signal, the pilot signal and the beam signal are separated by two different sets of numerically controlled oscillators and low-pass filters, and the amplitudes of the pilot signal and the beam signal are calculated respectively. The beam position is calculated using the difference ratio algorithm with pilot compensation based on the amplitude of the pilot signal and the amplitude of the beam signal from the N-channel combined signal.

7. The automatic diagnostic method for an electron storage ring beam position measurement system according to claim 1, characterized in that, The adjustment of the gain coefficient of the electronic storage ring beam position measurement system based on the beam signal amplitude, and the corresponding adjustment of the pilot signal amplitude, include: The gain coefficient of the analog circuit in the electronic storage ring beam position measurement system is adjusted according to the beam signal amplitude, and the pilot signal amplitude is adjusted by setting parameters through the serial port to keep the ratio of the pilot signal amplitude to the beam signal amplitude constant.

8. The automatic diagnostic method for an electron storage ring beam position measurement system according to claim 1, characterized in that, The determination of whether the electron storage ring beam position measurement system is abnormal includes: Pre-set alarm trigger threshold conditions; When the real-time monitored beam signal amplitude and beam position meet the alarm trigger threshold conditions, it indicates that the electronic storage ring beam position measurement system is malfunctioning, triggering an abnormal alarm and storing the relevant abnormal data.

9. An automatic diagnostic device for an electronic storage ring beam position measurement system, characterized in that, A method for implementing the method according to any one of claims 1 to 8 includes: a pilot module and an embedded controller; wherein: In channel calibration mode, the pilot module generates N identical pilot signals and inputs them to the electronic storage ring beam position measurement system; the embedded controller calculates the amplitude and phase of each of the N pilot signals based on the output of the electronic storage ring beam position measurement system, and calculates the corresponding amplitude compensation and phase compensation as reference values ​​to calibrate the electronic storage ring beam position measurement system; In measurement optimization mode, based on channel calibration mode, the pilot module superimposes N identical pilot signals with N beam signals one-to-one to obtain N combined signals, which are then input to the electronic storage ring beam position measurement system. The embedded controller calculates the beam signal amplitude and beam position in each combined signal based on the output of the electronic storage ring beam position measurement system, adjusts the gain coefficient of the electronic storage ring beam position measurement system according to the beam signal amplitude, and adjusts the pilot signal amplitude accordingly. Furthermore, it monitors the beam signal amplitude and beam position in real time to determine whether the electronic storage ring beam position measurement system is malfunctioning.

10. An automatic diagnostic device for an electron storage ring beam position measurement system according to claim 9, characterized in that, The embedded controller is connected to the pilot module and is used to adjust the amplitude and frequency of the pilot signal by setting parameters.