Accelerator superconducting main magnet power supply performance optimization system and method

Through the circuit modeling technology of 232 communication to network communication and damping ratio verification, the problem of high-precision monitoring and response lag caused by electromagnetic interference and superconducting magnet load inductance in the accelerator superconducting main magnet power supply is solved, and efficient current monitoring and Improved stability.

CN118586339AActive Publication Date: 2024-09-03CHINA INSTITUTE OF ATOMIC ENERGY
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410443693.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-13
Publication Date
2024-09-03
Estimated Expiration
2044-04-13

AI Technical Summary

Technical Problem

In the accelerator superconducting main magnet power supply, because the control host is far away from the power supply equipment and is affected by electromagnetic, radiation and other environmental interference, it is difficult to obtain high-precision current monitoring data, and the superconducting magnet load has large inductance and long time constant, resulting in control The system response lags behind and it is difficult to improve the stability of the output current.

Method used

The 232 communication to network communication unit is used to convert short-distance communication into long-distance anti-interference network communication. The real circuit model is obtained through the circuit modeling unit based on damping ratio verification, and based on the damping ratio, open-loop gain and steady-state error Adjust control parameters in the parameter setting unit to improve power supply performance.

Benefits of technology

It achieves the acquisition of high-precision current monitoring data when the accelerator is running, reduces the number of iterations of parameter tuning, improves work efficiency, and solves the problem of control system response lag by optimizing control parameters, significantly improving the stability of the output current.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586339A
    Figure CN118586339A
Patent Text Reader

Abstract

The invention discloses an accelerator superconducting main magnet power supply performance optimization system and method. The system comprises a 232 communication-to-network communication unit, a circuit modeling unit based on damping ratio verification, and a parameter setting unit based on a damping ratio, an open-loop gain and a steady-state error. The method comprises the following steps: converting a communication mode of a short-distance main magnet power supply loop which is susceptible to electromagnetic interference into a long-distance anti-interference main magnet network communication mode, and obtaining high-precision current information of the long-distance main magnet power supply loop; performing circuit modeling based on high-precision current information and damping ratio verification; performing parameter setting based on the damping ratio, open-loop gain and steady-state error. According to the method, the problems that the communication distance of a 232 serial port is too short, and the 232 serial port is easily interfered by environments such as electromagnetism and radiation are solved; according to the modeling method, the number of iterations of parameter setting is reduced; by improving the open-loop gain of the system and increasing the damping ratio, the problem that the stability of output current is difficult to improve due to large load inductance and time constant of the superconducting magnet is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of accelerator superconducting main magnet power supply control in proton therapy, and more specifically, relates to an accelerator superconducting main magnet power supply performance optimization system and method. Background Art

[0002] The main magnet is the core structure of the cyclotron, which is used to generate a strong, stable and uniform magnetic field to control the movement of charged particles in the accelerator. For medium and high energy isochronous superconducting cyclotrons, particles will be accelerated for nearly a thousand turns, which places very strict requirements on the cumulative slip phase and also puts forward a high stability requirement of 10ppm for the superconducting magnet power supply.

[0003] The stability of the output current of the superconducting magnet power supply is sensitive to the environment. During several years of operation, due to slight changes in the superconducting coil load, power supply line resistance, and changes in environmental factors such as temperature and humidity, the stability of the output current of the superconducting magnet power supply may decrease, which has a significant impact on the beam extraction efficiency. Therefore, the output current of the power supply should be monitored and the performance should be improved regularly, but the output performance improvement of the superconducting magnet power supply has the following difficulties:

[0004] (1) The accelerator facility is huge, the main control room is far away from the power supply equipment, and the electromagnetic and radiation interferences are complex. This makes it difficult to obtain high-precision current monitoring data while controlling the accelerator operation.

[0005] (2) The control parameters cannot be adjusted online. The magnetic energy storage of superconducting magnets is extremely large, up to several hundred MJ. If the control parameters are not adjusted properly, the output current will oscillate significantly, and a large amount of energy will be quickly transferred between the power supply and the load, which may damage the power supply and the superconducting load. Therefore, the parameters can only be adjusted after the load is completely demagnetized and then re-magnetized, a process that will last for several hours. If the parameters are adjusted based on experience alone, it often requires many iterations, which greatly reduces efficiency and results in half the effort with twice the results.

[0006] (3) The inductance of the superconducting magnet load can reach several hundred ohms, while the resistance is very small, so the time constant of the load is very large, which is a large time lag link for the control system. This makes it impossible for the control system to respond quickly to disturbances, making it difficult to improve the stability of the output current; Summary of the invention

[0007] In order to solve the problems existing in the prior art, the present invention proposes a system and method for optimizing the performance of an accelerator superconducting main magnet power supply. The first purpose is to solve the problem that the accelerator control host is far away from the superconducting magnet power supply equipment and there are environmental interference loads such as electromagnetic and radiation, so it is difficult to obtain high-precision current monitoring data while the accelerator is running; the second purpose is to solve the problem that the superconducting coil load energy storage is extremely large and the control parameters cannot be adjusted online; the third purpose is to solve the problem that the output current stability is difficult to improve due to the large inductance and time constant of the superconducting magnet load, the control system's response to disturbances is delayed.

[0008] In order to solve the problems existing in the prior art, the present invention proposes the following technical solutions:

[0009] An accelerator superconducting main magnet power supply performance optimization system includes a 232 communication to network communication unit, a circuit modeling unit based on damping ratio verification, and a parameter setting unit based on damping ratio, open-loop gain, and steady-state error; its characteristics are:

[0010] The 232 communication to network communication unit is used to convert a short-distance, electromagnetically-interference-prone communication method into a long-distance, interference-resistant network communication method, so as to remotely obtain high-precision main magnet power supply information, and send high-precision current measurement data of the main magnet power supply to the circuit modeling unit based on damping ratio verification;

[0011] The circuit modeling unit based on damping ratio verification is used to simulate and model the superconducting magnet power supply circuit on the basis of obtaining the high-precision current information and the main magnet power supply circuit information, so as to obtain a circuit model that can reflect the real system, and send the circuit model to the parameter setting unit based on the damping ratio, the open-loop gain and the steady-state error;

[0012] The parameter setting unit based on damping ratio, open-loop gain and steady-state error is used to derive setting parameters for increasing damping ratio, increasing open-loop gain and reducing steady-state error according to the transfer function of the model after obtaining a circuit model that can reflect the real system, and use the parameters to control the main magnet power supply circuit to improve the performance of the main magnet power supply in the power supply circuit; the low-precision main magnet power supply information is the low-precision main magnet power supply information caused by the interference of electromagnetic and radiation in the close environment; the high-precision main magnet power supply information is the high-precision main magnet power supply information formed by means of network communication away from electromagnetic and radiation interference.

[0013] Furthermore, the 232 communication to network communication unit is sequentially provided with: a 232 to network communication subunit, an equipment side Ethernet switch subunit, a control room Ethernet switch subunit, a main control room real-time analysis subunit, and a current measurement data subunit; the 232 to network communication subunit includes a DCCT, a high-precision multimeter, and a virtual serial port module, and obtains a high-precision current measurement value by measuring with the DCCT and the high-precision multimeter, and then connects to the virtual serial port module, and connects to the network switch through the virtual serial port module, so that the high-precision current measurement value is transmitted through Ethernet, thereby extending the transmission distance and reducing interference; the main control room real-time analysis subunit transmits the high-precision current data to the main control computer in real time, and draws a real-time current change graph through the main control computer analysis program, and analyzes and calculates multiple output current performances.

[0014] Furthermore, the circuit modeling unit based on damping ratio verification is sequentially provided with: a power supply circuit modeling subunit, a calculation model damping ratio subunit, a control model error subunit, and a model output subunit; the power supply circuit modeling subunit uses simulation software to model the power supply circuit of the power supply and the superconducting magnet, and outputs the model to the calculation model damping ratio subunit; the control model error subunit compares the calculated model damping ratio with the actual system damping ratio, and controls the error to be less than 5%, thereby obtaining a circuit model that can reflect the real system; the model output subunit sends the model that can reflect the real system to a parameter setting unit based on the damping ratio, open-loop gain, and steady-state error.

[0015] Furthermore, the power supply circuit modeling subunit includes a power supply controller type acquisition module, a main magnet load parameter acquisition module, and a power supply circuit modeling module. The power supply circuit modeling module uses simulation software to model the power supply circuit containing the power supply controller type and the main magnet load parameters.

[0016] Furthermore, the control model error subunit includes a module for calculating the damping ratio of the actual system, a module for obtaining the calculated model damping ratio, a damping ratio error comparison module, and a control model accuracy module; the control model accuracy module decides whether to re-model based on the comparison result of the damping ratio error comparison module. If the error is less than 5%, it is considered that the established model can reflect the parameters of the real system, otherwise the power supply circuit modeling subunit will re-model it.

[0017] Furthermore, the parameter setting unit based on the damping ratio, open-loop gain and steady-state error is provided with a control parameter derivation subunit, a control parameter adjustment subunit and a control parameter setting subunit; the control parameter derivation subunit derives the relationship between the control parameter and the model damping ratio, open-loop gain and steady-state error according to the transfer function of the model, and the control parameters include PID parameters; the parameter adjustment unit adjusts the PID parameters according to the derived relationship, appropriately increases the model damping ratio, appropriately increases the open-loop gain and reduces the steady-state error, thereby completing the parameter setting; the control parameter setting subunit performs output current simulation on the set parameters and observes the simulation effect. If the performance and system stability meet the set requirements, the set parameters are input into the main magnet power supply.

[0018] Furthermore, the appropriately increasing the model damping ratio, appropriately increasing the open-loop gain, and reducing the steady-state error are specifically as follows: the principle of appropriately increasing the damping ratio is: in the simulation results of the model output current after the increase, the response properties of the output current should not become over-damped, and the current overshoot should not completely disappear; the principle of appropriately increasing the open-loop gain is: after the increase, the model stability is evaluated using methods such as the Routh criterion, and the stability cannot be negative; at the same time, in the simulation results of the model output current, the oscillation adjustment time should not increase; the principle of reducing the steady-state error is: the steady-state error of the model should be reduced to 0 as much as possible. If it cannot be reduced to 0, make it as small as possible, and it needs to be considered as a whole. While reducing the steady-state error, it is necessary to ensure that the damping ratio of the model is increased.

[0019] Furthermore, the performance and system stability meet the set requirements, specifically: judging based on the gap between the output current stability in the analyzed power supply performance and the target required value, if the gap is within 5 times, the output current stability of the model after parameter adjustment should be increased by a corresponding multiple; if the gap is more than 5 times, the output current stability of the model after parameter adjustment should be increased by at least 5 times; at the same time, the output current of the model after parameter adjustment should remain stable and should not be out of control.

[0020] A method for optimizing the performance of a superconducting main magnet power supply for an accelerator is characterized by comprising the following steps:

[0021] Step 1: Convert the communication mode of the main magnet power supply circuit that is close and susceptible to electromagnetic interference into the main magnet network communication mode that is long-distance and anti-interference, and obtain high-precision current information of the remote main magnet power supply circuit;

[0022] Step 2: Circuit modeling based on high-precision current information and damping ratio verification: Calculate the model damping ratio and the real system damping ratio based on the acquired high-precision current data. Compare the two as a criterion for whether the modeling can reflect the actual circuit system. If the difference is less than 5%, it is considered that the modeling can reflect the actual circuit system, otherwise the modeling should be re-created.

[0023] Step 3: Parameter setting based on damping ratio, open-loop gain, and steady-state error: Adjust the control parameters in the obtained circuit model, and determine whether the performance has been improved through simulation analysis, so as to obtain better control parameters.

[0024] Furthermore, the control parameters are adjusted in the obtained circuit model, specifically: appropriately increasing the model damping ratio, appropriately increasing the model open-loop gain, and reducing the model steady-state error, thereby completing the parameter setting; and performing current simulation on the set parameters and observing the simulation effect. If the performance and system stability meet the set requirements, the set parameters are input into the main magnet power supply.

[0025] Advantages and effects of the present invention

[0026] 1. The present invention proposes a method for building a remote high-precision current monitoring platform, which avoids the problems of the multimeter communicating over a short 232 serial port and being susceptible to environmental interference such as electromagnetic and radiation. It achieves the acquisition and analysis of high-precision current monitoring data while controlling the operation of the accelerator, laying the foundation for performance improvement.

[0027] 2. The modeling method of the superconducting magnet load power supply circuit proposed in the present invention can perform control parameter setting attempts and effect tests on a model close to the actual system, reducing the number of parameter setting iterations, saving the time of repeated demagnetization and re-excitation, and greatly improving work efficiency.

[0028] 3. The present invention proposes a control parameter optimization strategy, which solves the problem that the output current stability is difficult to improve due to the large load inductance and time constant of the superconducting magnet and the delayed response of the control system to disturbances, by improving the system open-loop gain, increasing the damping ratio and other methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a functional block diagram of the accelerator superconducting main magnet power supply performance optimization system of the present invention;

[0030] Figure 2 This is a functional block diagram of the 232 communication to network communication unit of the present invention;

[0031] Figure 3 It is a functional block diagram of a modeling unit based on high-precision current information and damping ratio verification of the present invention;

[0032] Figure 4 It is a parameter setting unit based on damping ratio, open-loop gain and steady-state error of the present invention;

[0033] Figure 5 This is a flow chart of the method for optimizing the performance of the accelerator superconducting main magnet power supply of the present invention.

[0034] Figure 6aBefore optimization, the power supply output current stability is 87.33ppm, far exceeding the required 10ppm schematic diagram;

[0035] Figure 6b Before optimization, the oscillation adjustment time after the power supply output current overshoot is as long as 851s;

[0036] Figure 6c Output current simulation results before optimization: overall diagram of current rising process and steady-state process;

[0037] Figure 6d This is the simulation result of the output current before optimization: an enlarged view of the steady-state process;

[0038] Figure 6e The simulation results of the optimized output current are shown in the figure below: The overall diagram of the current rising process and the steady-state process;

[0039] Figure 6e The simulation results of the optimized output current are shown in the figure below: The overall diagram of the current rising process and the steady-state process;

[0040] Figure 6f This is the optimized output current simulation result_enlarged diagram of the steady-state process;

[0041] Figure 6g This is a comparison chart of the oscillation adjustment time after the power supply output current overshoot before and after parameter setting;

[0042] Figure 6h After parameter adjustment, the power supply output current stability is improved to 8.30ppm. DETAILED DESCRIPTION

[0043] 1. Innovation of the present invention

[0044] The innovation lies in achieving unexpected effects by changing the positions of elements and the relative relationships between elements.

[0045] The position of the transformation element is changed from close-range measurement to long-range measurement, thereby avoiding the influence of the accelerator's surrounding environment interference on the current, obtaining a "clean" current, and laying the foundation for subsequent modeling;

[0046] The above-mentioned change of the relative relationship between the elements means changing from direct debugging to indirect debugging. The direct debugging method may face irresistible factors. For example, large oscillations may occur when debugging the current. Since superconducting magnets are more sensitive to rapid changes in current, large current oscillations may cause the superconducting magnet to lose supersonic power, which is dangerous. For another example, the inductance of the superconducting magnet load can reach several hundred H, while the resistance is very small. Therefore, the time constant of the load is very large, which is a large time lag link for the control system, which makes the control system unable to respond quickly to the disturbances that occur. The above are all irresistible factors for using the direct debugging method.

[0047] The present invention uses a modeling method instead. First, debugging is performed in the model, thereby avoiding the situation where a large amplitude oscillation occurs during on-site debugging of the current. During on-site debugging, the output current may oscillate with a large amplitude, which is caused by the instability of the system due to unreasonable parameter setting. When debugging in the model, it is possible to observe whether the system is unstable through the output current simulation result. If it is unstable, the parameters should be modified to finally obtain a set of suitable control parameters. This set of suitable parameters will not cause current instability when applied to the actual system. ; The new problem brought about by indirect debugging is that if the established model is inaccurate, the indirect debugging cannot achieve the effect of direct debugging. The solution is to adopt a comparison method based on the damping ratio. Although the method of debugging the current in the model is adopted, the current obtained is a "clean" current. With the clean current, the actual damping ratio can be calculated. The actual damping ratio is used to measure the effect of modeling. If the error between the actual damping ratio and the damping ratio calculated by the simulation software exceeds the range, the model will be re-modeled, thereby ensuring the accuracy of the parameters. Second, the parameters are set in the model, and the parameters are directly used to control the power supply of the main magnet power supply circuit, eliminating the direct debugging process of the power supply and avoiding large-scale oscillations during the debugging process. Even if oscillation occurs, it will occur in the model, and once the parameters are adjusted, oscillation will not occur. Oscillation only occurs in overshoot or undershoot.

[0048] 2. Design Principle of the Invention

[0049] 1. Design principle of 232 communication to network communication

[0050] The shortcoming of 232 communication is that the effective transmission distance is no more than 15 meters, while the main magnet power supply and the main control room PC are usually placed on different floors, and the distance between them is often greater than 15 meters. If the effective communication distance is exceeded, the transmitted data will be seriously distorted; because the accelerator itself is very large, like the size of a large factory building, such a huge device has many parts and strong magnetic radiation. Even if the distance between the main magnet power supply and the main control room PC is within 15 meters, the data of the main magnet power supply circuit transmitted will inevitably be interfered by the environment, making the current data not "clean" data, and the transmitted data is low-precision data. After 232 communication is improved to network communication, since the network cable can penetrate the wall and punch holes, the wall itself is a good magnetic field shielding layer, so the data transmission process avoids environmental interference such as electromagnetic and radiation; and the effective transmission distance of the network cable is about 100 meters. Improving 232 communication to network communication can extend the data transmission distance. In the conversion of 232 communication to network, the key point is the use of a virtual serial port module. The input of the module is a 232 serial communication cable, and the output is a network communication cable, which is connected to the local area network containing the PC in the main control room, so that the PC in the main control room can access the module through network communication. In addition, the module can virtualize a serial port in the local area network where it is located, so when the PC in the main control room accesses the device, it is equivalent to connecting to a virtual serial port, and can receive data from the 232 serial communication through network communication.

[0051] 2. Design principle based on modeling with high-precision current and damping ratio verification

[0052] The high-precision current is a "clean" current that is not disturbed by the environment such as electromagnetic and radiation. The clean current can truly reflect the parameters of the main magnet power supply circuit. The first key point of modeling is to obtain a "clean" current; the second key point of modeling is that the model is scientific and can truly describe the parameters of the main magnet power supply circuit. The method adopted by the present invention is: the actual damping ratio is calculated by the "clean" current, and the theoretical damping ratio of the current is calculated using simulation software, and then the two are compared. If the error is less than 5%, it is a model that can truly reflect the main magnet power supply circuit. The model is scientific through the damping ratio verification method. Among them, the "clean" current is a prerequisite. The relationship between the two is: modeling is accurate and scientific only on the basis of "clean" current, but "clean" current does not mean that the model is necessarily scientific, so a method based on damping ratio verification must be adopted. The two are indispensable and interdependent.

[0053] 3. Parameter setting design principle based on damping ratio, open-loop gain and steady-state error

[0054] ① One problem is solved from three aspects: The present invention solves the problem of "the time constant is large and the output current has a slow response speed to the control system" in the process of the current changing from the current value to the target value from three aspects through modeling. First, increase the damping ratio. Increasing the damping ratio means increasing the resistance in the process of the current oscillating back and forth around the target value after the current reaches the vicinity of the target value. The larger the resistance, the smaller the current fluctuation, the shorter the oscillation adjustment process, and the time constant in the process of the current changing from the current value to the target value is relatively reduced; second, increase the open-loop gain. Increasing the open-loop gain means increasing the control amount of the system. System control amount * error = control effect. It can be seen that when the error remains unchanged, the larger the system control amount, the better the effect, and the better the effect, the time constant in the process of the current changing from the current value to the target value is relatively reduced. Third, reduce the steady-state error. When the steady-state output is in progress, the smaller the error between the target value and the actual current value, the smaller the time constant in the process of the current changing to the target value.

[0055] In short, increasing the open-loop gain, increasing the damping ratio, and reducing the steady-state error are like solving a problem from three different directions. Increasing the open-loop gain is like increasing the thrust from the positive direction. Increasing the damping ratio is like increasing the resistance from the reverse direction when the current fluctuates back and forth near the target value, so that the current fluctuation stops quickly. Reducing the steady-state error is like compressing the upper and lower errors from the vertical direction.

[0056] ② The principle of increasing the damping ratio, increasing the open-loop gain, and reducing the steady-state error. 1) The principle of appropriately increasing the damping ratio is: in the simulation results of the model output current after the increase, the response nature of the output current should not become over-damped, because over-damping will slow down the response speed of the current to the control system and increase the time constant. In a word: there should be some overshoot, but the overshoot control should not completely disappear. 2) The principle of appropriately increasing the open-loop gain is: after the increase, use the Routh criterion and other methods to evaluate the stability of the model, and the stability cannot be negative; at the same time, in the simulation results of the model output current, the oscillation adjustment time should not increase; 3) The principle of reducing the steady-state error is: the steady-state error of the model should be reduced to 0 as much as possible. If it cannot be reduced to 0, make it as small as possible, and it needs to be considered as a whole. While reducing the steady-state error, it is necessary to ensure that the damping ratio of the model is increased.

[0057] Based on the above principles, the present invention designs an accelerator superconducting main magnet power supply performance optimization system, such as Figure 1 , Figure 2 , Figure 3 , Figure 4 As shown, it includes a 232 communication to network communication unit, a circuit modeling unit based on damping ratio verification, and a parameter setting unit based on damping ratio, open-loop gain, and steady-state error; its characteristics are:

[0058] The 232 communication to network communication unit is used to convert a short-distance, electromagnetically-interference-prone communication method into a long-distance, interference-resistant network communication method, so as to remotely obtain high-precision main magnet power supply information, and send high-precision current measurement data of the main magnet power supply to the circuit modeling unit based on damping ratio verification;

[0059] The circuit modeling unit based on damping ratio verification is used to simulate and model the superconducting magnet power supply circuit on the basis of obtaining the high-precision current information and the main magnet power supply circuit information, so as to obtain a circuit model that can reflect the real system, and send the circuit model to the parameter setting unit based on the damping ratio, the open-loop gain and the steady-state error;

[0060] The parameter setting unit based on damping ratio, open-loop gain and steady-state error is used to derive setting parameters for increasing damping ratio, increasing open-loop gain and reducing steady-state error according to the transfer function of the model after obtaining a circuit model that can reflect the real system, and use the parameters to control the main magnet power supply circuit to improve the performance of the main magnet power supply in the power supply circuit; the low-precision main magnet power supply information is the low-precision main magnet power supply information caused by the interference of electromagnetic and radiation in the close environment; the high-precision main magnet power supply information is the high-precision main magnet power supply information formed by means of network communication away from electromagnetic and radiation interference.

[0061] Furthermore, the 232 communication to network communication unit is sequentially provided with: a 232 to network communication subunit, an equipment side Ethernet switch subunit, a control room Ethernet switch subunit, a main control room real-time analysis subunit, and a current measurement data subunit; the 232 to network communication subunit includes a DCCT, a high-precision multimeter, and a virtual serial port module, and obtains a high-precision current measurement value by measuring with the DCCT and the high-precision multimeter, and then connects to the virtual serial port module, and connects to the network switch through the virtual serial port module, so that the high-precision current measurement value is transmitted through Ethernet, thereby extending the transmission distance and reducing interference; the main control room real-time analysis subunit transmits the high-precision current data to the main control computer in real time, and draws a real-time current change graph through the main control computer analysis program, and analyzes and calculates multiple output current performances.

[0062] Furthermore, the circuit modeling unit based on damping ratio verification is sequentially provided with: a power supply circuit modeling subunit, a calculation model damping ratio subunit, a control model error subunit, and a model output subunit; the power supply circuit modeling subunit uses simulation software to model the power supply circuit of the power supply and the superconducting magnet, and outputs the model to the calculation model damping ratio subunit; the control model error subunit compares the calculated model damping ratio with the actual system damping ratio, and controls the error to be less than 5%, thereby obtaining a circuit model that can reflect the real system; the model output subunit sends the model that can reflect the real system to a parameter setting unit based on the damping ratio, open-loop gain, and steady-state error.

[0063] Furthermore, the power supply circuit modeling subunit includes a power supply controller type acquisition module, a main magnet load parameter acquisition module, and a power supply circuit modeling module. The power supply circuit modeling module uses simulation software to model the power supply circuit containing the power supply controller type and the main magnet load parameters.

[0064] Furthermore, the control model error subunit includes a module for calculating the damping ratio of the actual system, a module for obtaining the calculated model damping ratio, a damping ratio error comparison module, and a control model accuracy module; the control model accuracy module decides whether to re-model based on the comparison result of the damping ratio error comparison module. If the error is less than 5%, it is considered that the established model can reflect the parameters of the real system, otherwise the power supply circuit modeling subunit will re-model it.

[0065] Furthermore, the parameter setting unit based on the damping ratio, open-loop gain and steady-state error is provided with a control parameter derivation subunit, a control parameter adjustment subunit and a control parameter setting subunit; the control parameter derivation subunit derives the relationship between the control parameter and the model damping ratio, open-loop gain and steady-state error according to the transfer function of the model, and the control parameters include PID parameters; the parameter adjustment unit adjusts the PID parameters according to the derived relationship, appropriately increases the model damping ratio, appropriately increases the open-loop gain and reduces the steady-state error, thereby completing the parameter setting; the control parameter setting subunit performs output current simulation on the set parameters and observes the simulation effect. If the performance and system stability meet the set requirements, the set parameters are input into the main magnet power supply.

[0066] Furthermore, the appropriately increasing the model damping ratio, appropriately increasing the open-loop gain, and reducing the steady-state error are specifically as follows: the principle of appropriately increasing the damping ratio is: in the simulation results of the model output current after the increase, the response properties of the output current should not become over-damped, and the current overshoot should not completely disappear; the principle of appropriately increasing the open-loop gain is: after the increase, the model stability is evaluated using methods such as the Routh criterion, and the stability cannot be negative; at the same time, in the simulation results of the model output current, the oscillation adjustment time should not increase; the principle of reducing the steady-state error is: the steady-state error of the model should be reduced to 0 as much as possible. If it cannot be reduced to 0, make it as small as possible, and it needs to be considered as a whole. While reducing the steady-state error, it is necessary to ensure that the damping ratio of the model is increased.

[0067] Furthermore, the performance and system stability meet the set requirements, specifically: judging based on the gap between the output current stability in the analyzed power supply performance and the target required value, if the gap is within 5 times, the output current stability of the model after parameter adjustment should be increased by a corresponding multiple; if the gap is more than 5 times, the output current stability of the model after parameter adjustment should be increased by at least 5 times; at the same time, the output current of the model after parameter adjustment should remain stable and should not be out of control.

[0068] A method for optimizing the performance of a superconducting main magnet power supply for an accelerator, such as Figure 5 As shown, its characteristic is that it includes the following steps:

[0069] Step 1: Convert the communication mode of the main magnet power supply circuit that is close and susceptible to electromagnetic interference into the main magnet network communication mode that is long-distance and anti-interference, and obtain high-precision current information of the remote main magnet power supply circuit;

[0070] Step 2: Circuit modeling based on high-precision current information and damping ratio verification: Calculate the model damping ratio and the real system damping ratio based on the acquired high-precision current data. Compare the two as a criterion for whether the modeling can reflect the actual circuit system. If the difference is less than 5%, it is considered that the modeling can reflect the actual circuit system, otherwise the modeling should be re-created.

[0071] Step 3: Parameter setting based on damping ratio, open-loop gain, and steady-state error: Adjust the control parameters in the obtained circuit model, and determine whether the performance has been improved through simulation analysis, so as to obtain better control parameters.

[0072] Furthermore, the control parameters are adjusted in the obtained circuit model, specifically: appropriately increasing the model damping ratio, appropriately increasing the model open-loop gain, and reducing the model steady-state error, thereby completing the parameter setting; and performing current simulation on the set parameters and observing the simulation effect. If the performance and system stability meet the set requirements, the set parameters are input into the main magnet power supply.

[0073] Embodiment 1: Circuit modeling unit based on damping ratio verification

[0074] Take the superconducting main magnet power supply circuit of a certain accelerator as an example.

[0075] The first step is to obtain the controller type and parameters of the power supply according to the main magnet power supply: the superconducting main magnet power supply controller is PID control, and the initial values ​​of the PID parameters are: P parameter is 20, I parameter is 1, and D parameter is 0; the main magnet load parameters are obtained according to the main magnet load: the inductance of the main magnet when it is in rated operation is 118H, and the total resistance of the power supply circuit is 0.015 ohms.

[0076] The second step is to use simulation software to model the power supply circuit. The modeling objects include the above-mentioned power controller type and parameters, and the main magnet load parameters.

[0077] The third step is to calculate the damping ratio of the model. The calculation method is as follows: first derive the closed-loop transfer function G(s) of the model and transform it into a "tail 1" type. The derived closed-loop transfer function G(s) is:

[0078]

[0079] Then the characteristic equation of the system is:

[0080] 118s 2 +20.015s+1=0 (2)

[0081] According to the damping ratio calculation formula, the damping ratio of the model can be solved by the equation group, where ξ is the damping ratio, ω n is the damped oscillation frequency, and the damping ratio is calculated as follows:

[0082] When the system characteristic equation is as 2 +bs+1=0:

[0083] When the system characteristic equation is as 2 +bs+1=0:

[0084]

[0085] According to formulas (2) and (3), we can get the following equations:

[0086]

[0087]

[0088] The damping ratio of the model is calculated to be 0.9213: ω n =0.0921 ξ=0.9213(5)

[0089] The fourth step is to calculate the damping ratio of the actual system based on the acquired current measurement data. The calculation process is as follows: Based on the current monitoring value, the overshoot σ% can be calculated. The calculation method is (current peak value-current steady-state average value) / (current steady-state average value). The measured current peak value is 244.2381A, and the current steady-state average value is 243.7293A. Therefore, the overshoot is calculated as follows:

[0090]

[0091] According to the relationship formula between overshoot and system damping ratio, the damping ratio of the actual system can be calculated. The relationship formula is as follows, and the actual system damping ratio can be calculated to be 0.8913.

[0092]

[0093] The fifth step is to compare the calculated model damping ratio with the actual system damping ratio: the damping ratio of the established model is 0.9213, and the damping ratio of the actual system is 0.8913, with a difference of 0.03. The deviation from the actual damping ratio is 3.37%, which is within 5%, so it can be considered that the established model is close to the actual system. In this way, a circuit model that can reflect the actual system is obtained.

[0094] Embodiment 2 - Parameter setting unit based on damping ratio, open-loop gain and steady-state error

[0095] Take the power supply circuit of a superconducting main magnet of an accelerator as an example. Figure 6a , Figure 6b As shown in the figure, the monitored power supply output current data shows that the current stability is 87.33ppm, far exceeding the required 10ppm, and when the current rises, the oscillation adjustment time after overshoot is as long as 851s, more than 14 minutes, and performance optimization is required. The power supply circuit has obtained a circuit model that can reflect the actual system through the "modeling unit based on damping ratio verification".

[0096] The first step is to derive the relationship between the parameters and the damping ratio, open-loop gain, and steady-state error based on the model:

[0097] (1) Derived parameters and the relationship between damping ratio: The parameter values ​​of the proportional link P and the integral link I in the model are represented by the two letters P and I. The D parameter is not suitable for this system and will cause high-frequency oscillation, so it is kept at the initial value of 0 and is not considered. The transfer function of the model is:

[0098]

[0099] Then the characteristic equation of the system is:

[0100] 118s 2+(P+0.015)s+I=0 (9)

[0101] According to the damping ratio calculation formula, the equation group can be obtained to solve the damping ratio of the model, where ξ is the damping ratio, ω n is the damped oscillation frequency, and the damping ratio is calculated as follows:

[0102] When the system characteristic equation is as 2 +bs+1=0:

[0103]

[0104]

[0105] According to formulas (2) and (3), we can get the following equations:

[0106]

[0107]

[0108]

[0109] Then the relationship between the damping ratio and the P parameter and the I parameter can be derived as follows:

[0110]

[0111] (2) Then derive the relationship between the P parameter, I parameter and the open-loop gain of the model: The open-loop transfer function K(s) of the model is:

[0112]

[0113] The numerator and denominator of the transfer function are averaged into the form of multiplication of the "tail one" polynomial:

[0114]

[0115] Its open-loop gain is Thus, the relationship between the system open-loop gain and the control parameters is obtained.

[0116] (3) Finally, the relationship between the control parameters and the static error in the model is studied: Since the system uses PID control, according to the basic principle of PID control, the static error of the output is mainly related to the I parameter. The I parameter corresponds to the integral link in PID control, which is controlled according to the size of the gap between the actual value and the target value of the output current, and ultimately achieves the effect of minimizing the gap between the actual value and the target value. The larger the I parameter, the stronger the effect of the integral link, and the smaller the static error of the model.

[0117] The second step is to adjust the parameters according to the relationship: adjust the parameters according to the relationship between the parameters derived in the first step and the damping ratio, open-loop gain and static error.

[0118] (1) According to the relationship between the P parameter, the I parameter and the damping ratio, it can be seen that the damping ratio of the model is proportional to the value of the parameter P and inversely proportional to the value of the parameter I. Therefore, the damping ratio can be increased by increasing the P value and decreasing the I value. However, after increasing the P parameter, it is necessary to check whether the increase is appropriate through simulation results. If the nature of the output current becomes overdamped and the overshoot disappears, it proves that the P parameter has increased too much and is inappropriate.

[0119] (2) According to the relationship between the P parameter and the I parameter and the open-loop gain, it can be seen that the open-loop gain can be increased by increasing the I value. However, it is necessary to check whether the increase is appropriate through simulation results. In the simulation results of the model output current, the oscillation adjustment time after overshoot should not increase, and the system should not become unstable.

[0120] (3) According to the relationship between the I parameter and the steady-state error, it can be seen that the steady-state error can be reduced by increasing the I parameter value. However, after increasing the I parameter, the overall damping ratio of the system should not be reduced, otherwise the optimization effect will not be achieved.

[0121] In summary, the adjustment direction of P and I parameters is determined: P parameters should be increased; I parameters should also be increased appropriately, but the damping ratio of the model (compared to before parameter tuning) should not be reduced. After multiple parameter adjustments and iterations, a set of better parameters was finally obtained, increasing the P parameter from 20 to 60 and the I parameter from 1 to 5.

[0122] The third step is to simulate the output current after the parameters are adjusted: the comparison of simulation results before and after parameter adjustment is shown in the figure below: Figure 6c , 6d , 6e, and 6f. It can be seen that after the parameters are adjusted, the oscillation adjustment time after the current overshoot is significantly shortened, and the steady-state fluctuation is reduced from the maximum 0.56A before the parameters are adjusted to the maximum 0.11A after the parameters are adjusted, which is reduced by 5.1 times. In addition, the current simulation results do not show the phenomenon of system instability. It proves that the parameter adjustment is effective, and the adjusted parameters are input into the power supply.

[0123] After this set of parameters is applied to the actual system, the stability of the current is significantly improved. The comparison chart of the actual system is as follows: Figure 6a , 6g , 6h. Figure 6a and Figure 6h It can be seen from the comparison that the output current stability is reduced from 87.33ppm to 8.30ppm, which is able to meet the 10ppm target. Figure 6gIt can be seen that the overshoot of the power supply output current is significantly reduced, and the oscillation adjustment time after the overshoot is also significantly reduced, from 851s to 221s. The performance optimization is completed.

[0124] The above contents are merely examples and explanations of the concept of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.

Claims

1. A system for optimizing the power supply performance of an accelerator superconducting main magnet, comprising a 232 communication to network communication unit, a circuit modeling unit based on damping ratio verification, and a parameter setting unit based on damping ratio, open-loop gain, and steady-state error; characterized in that: The 232 communication to network communication unit is used to convert a short-distance, electromagnetically interference-susceptible communication mode into a long-distance, interference-resistant network communication mode, so as to remotely obtain high-precision main magnet power supply information and send high-precision current measurement data of the main magnet power supply to the circuit modeling unit based on damping ratio verification; The circuit modeling unit based on damping ratio verification is used to simulate and model the superconducting magnet power supply circuit based on the high-precision current information and the main magnet power supply circuit information, obtain a circuit model that can reflect the real system, and send the circuit model to the parameter setting unit based on the damping ratio, open-loop gain and steady-state error; The parameter tuning unit based on the damping ratio, open-loop gain, and steady-state error is used to derive tuning parameters for increasing the damping ratio, increasing the open-loop gain, and reducing the steady-state error based on the transfer function of the model after obtaining a circuit model that can reflect the real system, and use the parameters to control the main magnet power supply circuit to improve the performance of the main magnet power supply in the power supply circuit; the low-precision main magnet power supply information is low-precision main magnet power supply information caused by electromagnetic and radiation interference in a close-range environment; The high-precision main magnet power supply information is high-precision main magnet power supply information formed by means of network communication away from electromagnetic and radiation interference.

2. The accelerator superconducting main magnet power supply performance optimization system according to claim 1, characterized in that: The 232 communication to network communication unit is sequentially provided with: a 232 to network communication subunit, a device-side Ethernet switch subunit, a control room Ethernet switch subunit, a main control room real-time analysis subunit, and a current measurement data subunit; the 232 to network communication subunit includes a DCCT, a high-precision multimeter, and a virtual serial port module. High-precision current measurement values ​​are obtained by measuring with the DCCT and the high-precision multimeter, and then connected to the virtual serial port module, and then connected to the network switch through the virtual serial port module, so that the high-precision current measurement values ​​are transmitted via Ethernet, thereby extending the transmission distance and reducing interference; the main control room real-time analysis subunit transmits high-precision current data to the main control computer in real time, and uses the main control computer analysis program to draw a real-time current change graph and analyze and calculate multiple output current performances.

3. The accelerator superconducting main magnet power supply performance optimization system according to claim 1, characterized in that: The circuit modeling unit based on damping ratio verification is sequentially provided with: a power supply circuit modeling subunit, a calculation model damping ratio subunit, a control model error subunit, and a model output subunit; the power supply circuit modeling subunit uses simulation software to model the power supply circuit of the power supply and the superconducting magnet, and outputs the model to the calculation model damping ratio subunit; the control model error subunit compares the calculated model damping ratio with the actual system damping ratio, controls the error within less than 5%, and thus obtains a circuit model that can reflect the real system; the model output subunit sends the model that can reflect the real system to the parameter setting unit based on the damping ratio, open-loop gain and steady-state error.

4. The accelerator superconducting main magnet power supply performance optimization system according to claim 3, characterized in that: The power supply circuit modeling subunit includes a power controller type acquisition module, a main magnet load parameter acquisition module, and a power supply circuit modeling module. The power supply circuit modeling module uses simulation software to model the power supply circuit containing the power controller type and main magnet load parameters.

5. The accelerator superconducting main magnet power supply performance optimization system according to claim 3, characterized in that: The control model error subunit includes a module for calculating the actual system damping ratio, a module for obtaining the calculated model damping ratio, a damping ratio error comparison module, and a control model accuracy module; the control model accuracy module decides whether to re-model based on the comparison result of the damping ratio error comparison module. If the error is less than 5%, it is considered that the established model can reflect the parameters of the real system. Otherwise, the power supply circuit modeling subunit will re-model.

6. The accelerator superconducting main magnet power supply performance optimization system according to claim 1, characterized in that: The parameter setting unit based on the damping ratio, open-loop gain and steady-state error is provided with a control parameter derivation subunit, a control parameter adjustment subunit and a control parameter setting subunit; the control parameter derivation subunit derives the relationship between the control parameters and the model damping ratio, open-loop gain and steady-state error according to the transfer function of the model, and the control parameters include PID parameters; the parameter adjustment unit adjusts the PID parameters according to the derived relationship, appropriately increases the model damping ratio, appropriately increases the open-loop gain and reduces the steady-state error, thereby completing the parameter setting; the control parameter setting subunit performs output current simulation on the set parameters and observes the simulation effect. If the performance and system stability meet the set requirements, the set parameters are input into the main magnet power supply.

7. The accelerator superconducting main magnet power supply performance optimization system according to claim 6, characterized in that: The principle of appropriately increasing the model damping ratio, appropriately increasing the open-loop gain, and reducing the steady-state error is as follows: in the simulation results of the model output current after the increase, the response characteristics of the output current should not become overdamped, and the current overshoot should not completely disappear; The principle of appropriately increasing the open-loop gain is: after increasing it, use methods such as the Routh criterion to evaluate the model stability, and the stability cannot be negative; at the same time, in the simulation results of the model output current, the oscillation adjustment time should not increase; the principle of reducing the steady-state error is: the steady-state error of the model should be reduced to 0 as much as possible. If it cannot be reduced to 0, make it as small as possible, and consider the overall situation. While reducing the steady-state error, it is necessary to ensure that the damping ratio of the model is increased.

8. The accelerator superconducting main magnet power supply performance optimization system according to claim 6, characterized in that: The performance and system stability meet the set requirements, specifically: based on the gap between the output current stability in the analyzed power supply performance and the target requirement value, if the gap is within 5 times, the output current stability of the model after parameter adjustment should be increased by a corresponding multiple; if the gap is more than 5 times, the output current stability of the model after parameter adjustment should be increased by at least 5 times; at the same time, the output current of the model after parameter adjustment should remain stable and should not be out of control.

9. A method for optimizing the power supply performance of an accelerator superconducting main magnet based on an accelerator superconducting main magnet power supply performance optimization system according to any one of claims 1 to 8, characterized in that: The following steps are involved: Step 1: Convert the communication mode of the main magnet power supply circuit, which is short-range and susceptible to electromagnetic interference, into a long-range and interference-resistant main magnet network communication mode, and obtain high-precision current information of the remote main magnet power supply circuit; Step 2: Circuit modeling based on high-precision current information and damping ratio verification: The model damping ratio and the actual system damping ratio are calculated based on the acquired high-precision current data. The comparison between the two is used as a criterion to determine whether the model can reflect the actual circuit system. If the difference is less than 5%, the model is considered to reflect the actual circuit system. Otherwise, the model should be re-modeled. Step 3: Parameter tuning based on the damping ratio, open-loop gain, and steady-state error: Adjust the control parameters in the obtained circuit model and determine whether the performance has improved through simulation analysis to obtain better control parameters.

10. The method for optimizing the performance of an accelerator superconducting main magnet power supply according to claim 9, characterized in that: The control parameters are adjusted in the obtained circuit model, specifically: the model damping ratio is appropriately increased, the open-loop gain of the model is appropriately increased, and the steady-state error of the model is reduced, thereby completing the parameter setting; and current simulation is performed on the set parameters and the simulation effect is observed. If the performance and system stability meet the set requirements, the set parameters are input into the main magnet power supply.

Citation Information

Patent Citations

  • Beam current sliding phase measurement method in superconducting cyclotron

    CN112135411A

  • Self-adaptive damping ratio control method for ship pulse power load Buck converter

    CN117134585A

  • Cyclotron and cyclotron acceleration method

    JP2020107532A

  • Multi-level magnetic system for isolation of vibration

    US20120188037A1