Magnetic field generation method and synchrotron

文档序号:1246423 发布日期:2020-08-18 浏览:15次 中文

阅读说明:本技术 一种磁场产生方法和同步加速器 (Magnetic field generation method and synchrotron ) 是由 曾红锦 郑曙昕 姚红娟 王学武 于 2020-05-09 设计创作,主要内容包括:本申请实施例提供一种磁场产生方法和同步加速器,所述磁场产生方法包括:以第N-1次加速过程的剩磁作为第N次加速过程的磁场基准值,确定第N次加速过程对应的位移函数,其中,N为大于1的正整数;根据第N-1次加速过程的剩磁和第N次加速过程的设定磁场曲线,使用第N次加速过程对应的位移函数,对第N-1次加速过程的磁滞回线上升支路进行修正,得到第N次加速过程的磁滞回线上升支路;根据第N次加速过程的磁滞回线上升支路,将第N次加速过程的设定磁场曲线转换为设定电流曲线;基于所述设定电流曲线,控制所述磁铁产生磁场。如此,能够消除磁滞误差,缩短磁铁的重置时间,提高同步加速器的效率。(The embodiment of the application provides a magnetic field generation method and a synchrotron, wherein the magnetic field generation method comprises the following steps: determining a displacement function corresponding to the Nth acceleration process by taking the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process, wherein N is a positive integer greater than 1; correcting a hysteresis loop rising branch in the N-1 acceleration process by using a displacement function corresponding to the Nth acceleration process according to the remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process to obtain a hysteresis loop rising branch in the Nth acceleration process; converting the set magnetic field curve of the Nth acceleration process into a set current curve according to the magnetic hysteresis loop ascending branch of the Nth acceleration process; and controlling the magnet to generate a magnetic field based on the set current curve. Therefore, hysteresis errors can be eliminated, the resetting time of the magnets is shortened, and the efficiency of the synchrotron is improved.)

1. A magnetic field generation method, for use in a synchrotron, the synchrotron comprising: the sensor is arranged on the magnet and used for measuring residual magnetism;

the magnetic field generation method includes:

obtaining a hysteresis loop rising branch in the N-1 acceleration process, remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process, wherein N is a positive integer greater than 1;

determining a displacement function corresponding to the Nth acceleration process by taking the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process, wherein the displacement function is obtained by performing nonlinear function fitting according to a main magnetic hysteresis loop ascending branch of the magnet and minor hysteresis loop ascending branches thereof at different magnetic field reference values;

correcting a hysteresis loop rising branch in the N-1 acceleration process by using a displacement function corresponding to the Nth acceleration process according to the remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process to obtain a hysteresis loop rising branch in the Nth acceleration process;

converting the set magnetic field curve of the Nth acceleration process into a set current curve according to the magnetic hysteresis loop ascending branch of the Nth acceleration process;

and controlling the magnet to generate a magnetic field based on the set current curve.

2. The method of claim 1, wherein the obtaining the rising branch of the hysteresis loop of the N-1 th acceleration process comprises:

when the hysteresis loop rising branch of the N-1-th acceleration process is not read from the storage unit for storing the hysteresis loop rising branch, or N-1 is equal to 1, determining a target interval where the remanence of the N-1-th acceleration process is located from each interval formed by every two adjacent magnetic field reference values in the magnetic field reference value of the main hysteresis loop rising branch and the magnetic field reference value of each secondary hysteresis loop rising branch;

and determining the magnetic hysteresis loop ascending branch corresponding to the smaller end point of the target interval in the main magnetic hysteresis loop ascending branch and each secondary magnetic hysteresis loop ascending branch as the magnetic hysteresis loop ascending branch in the N-1 st acceleration process.

3. The method for generating a magnetic field according to claim 1, wherein the process of fitting the displacement function to a nonlinear function according to the ascending branch of the main hysteresis loop of the magnet and the ascending branch of the sub hysteresis loop at different magnetic field reference values comprises:

forming each interval by every two adjacent magnetic field reference values in the magnetic field reference values of the main magnetic hysteresis loop rising branch and the magnetic field reference values of each secondary magnetic hysteresis loop rising branch;

and aiming at each interval, carrying out nonlinear function fitting through an artificial neural network based on the main hysteresis loop rising branch and the secondary hysteresis loop rising branch corresponding to the minimum endpoint of each interval to obtain a displacement function corresponding to each interval.

4. The method according to claim 3, wherein the obtaining the displacement function corresponding to each interval by fitting a nonlinear function through an artificial neural network based on the ascending branch of the main hysteresis loop and the ascending branch of the sub hysteresis loop corresponding to the minimum end point of each interval comprises:

normalizing the difference value between the maximum magnetic induction intensity values of the secondary hysteresis loop rising branch and the main hysteresis loop rising branch of each interval according to the difference value between the magnetic field reference value of the secondary hysteresis loop rising branch and the maximum magnetic induction intensity value of the main hysteresis loop rising branch of each interval to obtain a normalized input displacement corresponding to each interval;

normalizing the difference displacement between the secondary hysteresis loop ascending branch and the main magnetic hysteresis loop ascending branch of each interval according to the difference between the magnetic field reference value of the secondary hysteresis loop ascending branch and the magnetic field reference value of the main hysteresis loop ascending branch of each interval to obtain the normalized output displacement corresponding to each interval;

and taking the normalized input displacement amount corresponding to each interval as the input of the artificial neural network, taking the normalized output displacement amount corresponding to each interval as the output of the artificial neural network, and performing nonlinear function fitting through the artificial neural network to establish a displacement function corresponding to each interval.

5. The method for generating a magnetic field according to claim 1, wherein the determining the displacement function corresponding to the nth acceleration process with the remanence of the nth-1 acceleration process as the magnetic field reference value of the nth acceleration process comprises:

determining a target interval where remanence of the N-1 acceleration process is located from each interval formed by every two adjacent magnetic field reference values in the magnetic field reference values of the ascending branches of the main magnetic hysteresis loop and the magnetic field reference values of the ascending branches of each secondary hysteresis loop;

and acquiring a displacement function corresponding to the target interval from displacement functions corresponding to all pre-established intervals as a displacement function corresponding to the Nth acceleration process.

6. The method for generating a magnetic field according to claim 1, wherein the step of correcting the rising branch of the hysteresis loop of the N-1 th acceleration process by using the shift function corresponding to the nth acceleration process according to the remanence of the N-1 th acceleration process and the set magnetic field curve of the nth acceleration process to obtain the rising branch of the hysteresis loop of the nth acceleration process comprises:

according to the difference value between the residual magnetism in the N-1 th acceleration process and the maximum magnetic induction intensity value of the ascending branch of the main magnetic hysteresis loop, carrying out normalization processing on the difference value between the set magnetic field curve in the Nth acceleration process and the maximum magnetic induction intensity value of the ascending branch of the main magnetic hysteresis loop to obtain a normalized input displacement corresponding to the Nth acceleration process;

inputting the normalized input displacement amount corresponding to the Nth acceleration process into the displacement function corresponding to the Nth acceleration process to obtain the normalized output displacement amount corresponding to the Nth acceleration process;

determining a magnetic field reference value in the N-1 acceleration process based on a magnetic hysteresis loop ascending branch in the N-1 acceleration process;

multiplying the difference value between the remanence in the N-1 th acceleration process and the magnetic field reference value in the N-1 th acceleration process by the normalized output displacement corresponding to the Nth acceleration process to obtain a corrected displacement;

and adding the correction displacement to the rising branch of the hysteresis loop in the N-1 acceleration process to obtain the rising branch of the hysteresis loop in the N acceleration process.

7. A synchrotron, comprising: a control system, a power supply, a magnet, and a sensor for measuring residual magnetism; the control system includes: the magnetic field curve generating module and the magnetic field current converting module; wherein the content of the first and second substances,

the magnetic field curve generating module is used for generating a set magnetic field curve of the Nth acceleration process; sending a set magnetic field curve of the Nth acceleration process to the magnetic field current conversion module, wherein N is a positive integer greater than 1;

the sensor for measuring the remanence is used for measuring the remanence of the N-1 st acceleration process; sending the residual magnetism of the N-1 acceleration process to the magnetic field current conversion module;

the magnetic field current conversion module is used for obtaining a hysteresis loop rising branch in the N-1 acceleration process, remanence in the N-1 acceleration process and a set magnetic field curve in the N acceleration process; determining a displacement function corresponding to the Nth acceleration process by taking the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process and the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process, wherein the displacement function is obtained by carrying out nonlinear function fitting according to a main magnetic hysteresis loop ascending branch of the magnet and minor hysteresis loop ascending branches thereof at different magnetic field reference values; correcting a hysteresis loop rising branch in the N-1 acceleration process by using a displacement function corresponding to the Nth acceleration process according to the remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process to obtain a hysteresis loop rising branch in the Nth acceleration process; converting the set magnetic field curve of the Nth acceleration process into a set current curve according to the magnetic hysteresis loop ascending branch of the Nth acceleration process; sending the set current curve to the power supply;

the power supply is used for outputting corresponding exciting current to the magnet according to the set current curve;

the magnet is used for generating a magnetic field under the action of the exciting current.

8. The synchrotron of claim 7, wherein the control system further comprises: the storage unit is used for storing the rising branch of the hysteresis loop;

the magnetic field current conversion module is used for obtaining a magnetic hysteresis loop rising branch in the N-1 th acceleration process, and comprises the following steps:

the field current conversion module is used for determining a target interval where remanence in the acceleration process of the (N-1) th time is located from each interval formed by every two adjacent magnetic field reference values in the magnetic field reference value of the main magnetic hysteresis loop rising branch and the magnetic field reference value of each secondary magnetic hysteresis loop rising branch when the field current conversion module does not read the magnetic hysteresis loop rising branch in the acceleration process of the (N-1) th time from the storage unit or when the N-1 is equal to 1; and determining the magnetic hysteresis loop ascending branch corresponding to the smaller end point of the target interval in the main magnetic hysteresis loop ascending branch and each secondary magnetic hysteresis loop ascending branch as the magnetic hysteresis loop ascending branch in the N-1 st acceleration process.

9. The synchrotron of claim 7, wherein the field current transformation module is configured to perform nonlinear function fitting to obtain the displacement function according to the main hysteresis loop ascending branch of the magnet and the sub hysteresis loop ascending branches thereof at different magnetic field reference values, and comprises:

the magnetic field current conversion module is used for forming each interval by using each two adjacent magnetic field reference values in the magnetic field reference values of the ascending branch of the main magnetic hysteresis loop and the magnetic field reference values of the ascending branches of the secondary magnetic hysteresis loop; and aiming at each interval, carrying out nonlinear function fitting through an artificial neural network based on the main hysteresis loop rising branch and the secondary hysteresis loop rising branch corresponding to the minimum endpoint of each interval to obtain a displacement function corresponding to each interval.

10. The synchrotron of claim 7, wherein the field-current conversion module is configured to modify the rising branch of the hysteresis loop of the N-1 th acceleration process by using a shift function corresponding to the nth acceleration process according to the remanence of the N-1 th acceleration process and the set magnetic field curve of the nth acceleration process, so as to obtain the rising branch of the hysteresis loop of the nth acceleration process, and the modification comprises:

the magnetic field current conversion module is used for normalizing the difference value between the set magnetic field curve of the Nth acceleration process and the maximum magnetic induction intensity value of the ascending branch of the main hysteresis loop according to the difference value between the remanence of the N-1 th acceleration process and the maximum magnetic induction intensity value of the ascending branch of the main hysteresis loop to obtain a normalized input displacement corresponding to the Nth acceleration process; inputting the normalized input displacement amount corresponding to the Nth acceleration process into the displacement function corresponding to the Nth acceleration process to obtain the normalized output displacement amount corresponding to the Nth acceleration process; determining a magnetic field reference value in the N-1 acceleration process based on a magnetic hysteresis loop ascending branch in the N-1 acceleration process; multiplying the difference value between the remanence in the N-1 th acceleration process and the magnetic field reference value in the N-1 th acceleration process by the normalized output displacement corresponding to the Nth acceleration process to obtain a corrected displacement; and adding the correction displacement to the rising branch of the hysteresis loop in the N-1 acceleration process to obtain the rising branch of the hysteresis loop in the N acceleration process.

Technical Field

The present application relates to the field of nuclear technology, and in particular, to a magnetic field generation method and a synchrotron.

Background

A Synchrotron (Synchrotron) is a device which makes charged particles move along a fixed circular orbit in high vacuum under the control of magnetic field force and continuously accelerate (raise) under the action of the electric field force to reach high energy. Particle beams with different energies are needed in many application occasions of the synchrotron, for example, in clinical medical treatment, the synchrotron controls the position of a Bragg peak in a human body by changing the energy of the particle beams for many times so as to achieve the purpose of accurately covering a focus part without damaging surrounding normal tissues, so that the synchrotron is needed to be capable of accurately controlling the position and the energy of the particle beams, and the particle beams are mainly achieved by continuously changing different magnetic field curves through a magnet at present.

However, magnets have a significant hysteresis effect, i.e., different hysteresis loops correspond to different remanence. The magnet experiences different hysteresis loops, and the magnetic field reference values of different magnetic field curves are different corresponding to different remanence, so that the track position and the energy of the particle beam are finally deviated from the design values due to the hysteresis effect, namely, the hysteresis error of the synchrotron is generated, and the beam quality is reduced.

At present, few methods for eliminating hysteresis errors of a synchronous accelerator are adopted, and the commonly adopted method is as follows: for different beam energies, in a reset stage after the beam extraction is finished, the magnetic field of the magnet is increased to the maximum magnetic field to keep the magnetic hysteresis loop of the magnet fixed, so that the same remanence is obtained, the reference value of the magnetic field in an injection stage of the next acceleration process is kept unchanged, and the consistency of beam orbits under different beam energies is ensured. However, such a method also increases the maximum magnetic field when the beam energy is low, which prolongs the magnet reset time and reduces the efficiency of the synchrotron.

Disclosure of Invention

In view of this, embodiments of the present disclosure provide a magnetic field generating method and a synchrotron, which can eliminate hysteresis error, shorten the magnet reset time, and improve the efficiency of the synchrotron.

The embodiment of the application mainly provides the following technical scheme:

in a first aspect, an embodiment of the present application provides a magnetic field generation method, which is applied to a synchrotron, where the synchrotron includes: the sensor is arranged on the magnet and used for measuring residual magnetism;

the magnetic field generation method includes: obtaining a hysteresis loop rising branch in the N-1 acceleration process, remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process, wherein N is a positive integer greater than 1; determining a displacement function corresponding to the Nth acceleration process by taking the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process, wherein the displacement function is obtained by performing nonlinear function fitting according to a main magnetic hysteresis loop ascending branch of the magnet and minor hysteresis loop ascending branches thereof at different magnetic field reference values; correcting a hysteresis loop rising branch in the N-1 acceleration process by using a displacement function corresponding to the Nth acceleration process according to the remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process to obtain a hysteresis loop rising branch in the Nth acceleration process; converting the set magnetic field curve of the Nth acceleration process into a set current curve according to the magnetic hysteresis loop ascending branch of the Nth acceleration process; and controlling the magnet to generate a magnetic field based on the set current curve.

In a second aspect, an embodiment of the present application provides a synchrotron, including: a control system, a power supply, a magnet, and a sensor for measuring residual magnetism; the control system includes: the magnetic field curve generating module and the magnetic field current converting module; wherein the content of the first and second substances,

the magnetic field curve generating module is used for generating a set magnetic field curve of the Nth acceleration process; sending a set magnetic field curve of the Nth acceleration process to the magnetic field current conversion module, wherein N is a positive integer greater than 1;

the sensor for measuring the remanence is used for measuring the remanence of the N-1 st acceleration process; sending the residual magnetism of the N-1 acceleration process to the magnetic field current conversion module;

the magnetic field current conversion module is used for obtaining a hysteresis loop rising branch in the N-1 acceleration process, remanence in the N-1 acceleration process and a set magnetic field curve in the N acceleration process; determining a displacement function corresponding to the Nth acceleration process by taking the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process and the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process, wherein the displacement function is obtained by carrying out nonlinear function fitting according to a main magnetic hysteresis loop ascending branch of the magnet and minor hysteresis loop ascending branches thereof at different magnetic field reference values; correcting a hysteresis loop rising branch in the N-1 acceleration process by using a displacement function corresponding to the Nth acceleration process according to the remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process to obtain a hysteresis loop rising branch in the Nth acceleration process; converting the set magnetic field curve of the Nth acceleration process into a set current curve according to the magnetic hysteresis loop ascending branch of the Nth acceleration process; sending the set current curve to the power supply;

the power supply is used for outputting corresponding exciting current to the magnet according to the set current curve;

the magnet is used for generating a magnetic field under the action of the exciting current.

After obtaining a hysteresis loop ascending branch of an N-1 acceleration process, remanence of the N-1 acceleration process and a set magnetic field curve of the Nth acceleration process, wherein N is a positive integer greater than 1, the remanence of the N-1 acceleration process is taken as a magnetic field reference value of the Nth acceleration process to determine a displacement function corresponding to the Nth acceleration process, wherein the displacement function is obtained by fitting a nonlinear function according to a main magnetic hysteresis loop ascending branch of a magnet and sub-hysteresis loop ascending branches thereof at different magnetic field reference values; correcting the rising branch of the hysteresis loop in the acceleration process of the Nth time by using a displacement function corresponding to the acceleration process of the Nth time according to the remanence in the acceleration process of the Nth time and the set magnetic field curve in the acceleration process of the Nth time to obtain the rising branch of the hysteresis loop in the acceleration process of the Nth time; finally, according to the magnetic hysteresis loop ascending branch in the Nth acceleration process, converting the set magnetic field curve in the Nth acceleration process into a set current curve; and controlling the magnet to generate a magnetic field based on the set current curve. Therefore, the residual magnetism of the N-1 accelerating process measured in real time by the sensor for measuring the residual magnetism is used for correcting the hysteresis loop ascending branch of the N-1 accelerating process, and the set magnetic field curve is converted into the set current curve according to the corrected hysteresis loop ascending branch (namely the hysteresis loop ascending branch of the N-1 accelerating process), so that the hysteresis error can be eliminated, the stability of a beam track and energy is ensured, the resetting time of the magnet is shortened, and the efficiency of the synchrotron is improved.

Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. Other advantages of the present application may be realized and attained by the instrumentalities and combinations particularly pointed out in the specification and the drawings.

Drawings

The accompanying drawings are included to provide an understanding of the present disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the examples serve to explain the principles of the disclosure and not to limit the disclosure.

FIG. 1 is a schematic flow chart of a magnetic field generation method in an embodiment of the present application;

fig. 2 is a schematic diagram of a hysteresis loop rising branch of a magnet in an embodiment of the present application;

fig. 3 is a schematic structural diagram of a synchrotron in the embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.

The embodiment of the application provides a magnetic field generation method. In practical applications, the magnetic field generating method may be applied to a synchrotron, the synchrotron comprising: the sensor is arranged on the magnet and used for measuring residual magnetism.

In practical applications, the sensor for measuring residual magnetism can be implemented by a sensor capable of measuring the magnitude of a magnetic field, such as a gaussmeter (also called a teslameter), a residual magnetometer, a magnetic field strength measurement probe, and the like. Here, the embodiment of the present application is not particularly limited.

In the embodiment of the present application, the remanence (all referred to as remanent magnetization) may refer to a residual magnetic field intensity after the synchrotron realizes a certain acceleration process with a certain set magnetic field curve.

Fig. 1 is a schematic flow chart of a magnetic field generation method in an embodiment of the present application, and referring to fig. 1, the magnetic field generation method may include:

step 101: obtaining a hysteresis loop rising branch in the N-1 acceleration process, remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process;

wherein N is a positive integer greater than 1.

First, the remanence in the N-1 st acceleration process will be explained.

It should be understood that the residual magnetism of the N-1 th acceleration process refers to the residual magnetic field intensity of the last acceleration process (i.e., the N-1 st acceleration process) measured in real time by the above-mentioned sensor for measuring residual magnetism when the synchrotron is required to realize the N-th acceleration process.

In an exemplary embodiment, when it is required to generate particle beams of different energies using a synchrotron, the synchrotron may measure the residual magnetism of the N-1 st acceleration process in real time using a sensor for measuring the residual magnetism. Thus, the remanence of the N-1 th acceleration process, i.e., the magnetic field reference value of the Nth acceleration process, is obtained.

Next, the hysteresis loop rising branch in the N-1 st acceleration process will be described.

Here, the hysteresis loop rising branch of the N-1 th acceleration process refers to a hysteresis loop rising branch used when the synchrotron performs the N-1 th acceleration process to convert the set magnetic field curve into the set current curve when the synchrotron needs to perform the nth acceleration process.

In an exemplary embodiment, when the hysteresis loop rising branch of the N-1 th acceleration process is stored in the storage unit, the process of obtaining the hysteresis loop rising branch of the N-1 th acceleration process in step 101 may include: and reading the rising branch of the hysteresis loop of the N-1 acceleration process from the storage unit.

In an exemplary embodiment, when the hysteresis loop rising branch of the N-1 th acceleration process is not read from the storage unit, or when N-1 is equal to 1, the process of obtaining the hysteresis loop rising branch of the N-1 th acceleration process in step 101 may include: determining a target interval where remanence of the N-1 acceleration process is located from each interval formed by every two adjacent magnetic field reference values in the magnetic field reference values of the ascending branches of the main magnetic hysteresis loop and the magnetic field reference values of the ascending branches of each secondary hysteresis loop; and determining the magnetic hysteresis loop ascending branch corresponding to the smaller end point of the target interval in the main magnetic hysteresis loop ascending branch and each secondary magnetic hysteresis loop ascending branch as the magnetic hysteresis loop ascending branch in the N-1 st acceleration process.

In an exemplary embodiment, when the hysteresis loop rising branch of the N-1 th acceleration process is not read from the storage unit, or when N-1 is equal to 1, the process of obtaining the hysteresis loop rising branch of the N-1 th acceleration process in step 101 may include: and then, determining the hysteresis loop ascending branch corresponding to the largest one of the hysteresis loop ascending branches smaller than the remanence magnetic field reference value as the hysteresis loop ascending branch of the acceleration process of the (N-1) th time from the pre-measured main hysteresis loop ascending branch of the magnet and the secondary hysteresis loop ascending branches at different magnetic field reference values.

Finally, the set magnetic field curve of the nth acceleration process will be explained.

Here, the set magnetic field curve of the nth acceleration process refers to a set magnetic field curve generated by the synchrotron according to the acceleration time and the extraction energy set by the user for the nth acceleration process.

In an exemplary embodiment, when particle beams with different energies need to be generated by using a synchrotron, a user may set an acceleration time and an extraction energy corresponding to an nth acceleration process on the synchrotron, so that the synchrotron may generate a set magnetic field curve corresponding to the nth acceleration process according to the acceleration time and the extraction energy corresponding to the nth acceleration process set by the user, and thus, a set magnetic field curve of the nth acceleration process is obtained.

Step 102: determining a displacement function corresponding to the Nth acceleration process by taking the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process;

step 103: correcting a hysteresis loop rising branch in the N-1 acceleration process by using a displacement function corresponding to the Nth acceleration process according to the remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process to obtain a hysteresis loop rising branch in the Nth acceleration process;

and the displacement function is obtained by fitting a nonlinear function according to the ascending branch of the main magnetic hysteresis loop of the magnet and the ascending branches of the minor hysteresis loops of the magnet at different magnetic field reference values.

In the embodiment of the present application, the hysteresis loop is a hysteresis loop for reflecting the magnetization performance of the magnet in the synchrotron, and can represent the relationship between the magnetic induction B and the excitation current I. The magnetic hysteresis loop of the magnet can be divided into a main magnetic hysteresis loop and a sub magnetic hysteresis loop, and the magnetic hysteresis loop positioned in the magnet magnetizing process can also influence the magnetizing track of the subsequent magnetizing process.

In practical applications, the hysteresis loop is composed of an ascending branch (also referred to as an ascending branch) and a descending branch (also referred to as a descending branch), wherein the hysteresis loop ascending branch is used for describing a magnetizing process in the magnet magnetizing process, and the hysteresis loop descending branch is used for describing a demagnetizing process in the magnet magnetizing process. It should be understood that, in the embodiment of the present application, the main hysteresis loop rising branch refers to a rising branch of a main hysteresis loop (also referred to as a main loop), and the secondary hysteresis loop rising branch refers to a rising branch of a secondary hysteresis loop (also referred to as a secondary loop).

Here, the magnetic field reference value is a magnetic induction intensity value at the starting point of the rising branch of the hysteresis loop.

In practical application, a person skilled in the art may magnetize a magnet in a synchrotron a plurality of times with different magnetic field reference values, measure the magnetic field of the magnet by a sensor capable of measuring the magnitude of the magnetic field, such as a gaussmeter, a magnetometer, or the like, and obtain a plurality of sets of hysteresis loop measurement data, that is, obtain a plurality of hysteresis loops, wherein the excitation current I of the magnet of the synchrotron is from 0 to I after a normalization cyclemaxThe hysteresis loop of (a) is a stable curve, and the standardized cycle hysteresis loop is designated as a main magnetic hysteresis loop, so that the other hysteresis loops except the main magnetic hysteresis loop in the plurality of hysteresis loops are pre-measured sub-hysteresis loops. Then, only the ascending branch is taken for each hysteresis loop, so that the ascending branch of the main magnetic hysteresis loop and the ascending branches of the secondary hysteresis loops are obtained.

How to obtain the displacement function is described below with specific examples.

In other embodiments of the present application, before step 103, the above-mentioned magnetic field generating method may further include the following steps S10 to S11:

step S10: forming each interval by every two adjacent magnetic field reference values in the magnetic field reference values of the main magnetic hysteresis loop rising branch and the magnetic field reference values of each secondary magnetic hysteresis loop rising branch;

step S11: and aiming at each interval, carrying out nonlinear function fitting through an artificial neural network based on the main hysteresis loop rising branch and the secondary hysteresis loop rising branch corresponding to the minimum endpoint of each interval to obtain a displacement function corresponding to each interval.

For example, referring to fig. 2, after the main hysteresis loop rising branch 21 and the k sub-hysteresis loop rising branches 22 are measured in advance, the magnetic field reference value B of the main hysteresis loop rising branch 21 can be obtainedro(i.e., the magnetic induction intensity value at the starting point of the main hysteresis loop rising branch), and the magnetic field reference values (i.e., the magnetic induction intensities at the starting points of the minor hysteresis loop rising branches) B of the k minor hysteresis loop rising branches 22ro1,Bro2,Bro3,…,Broj,…,Bro(k-1),BrokThen, the main magnet can be usedB is formed by every two adjacent magnetic field reference values in the magnetic field reference values of the hysteresis loop rising branches and the magnetic field reference values of the sub-hysteresis loop rising branchesro1~Bro2,Bro2~Bro3,……,Bro(k-1)~Brok,Brok~BroA total of k intervals.

In practical application, if the interval is denser, the precision of the displacement function obtained according to the ascending branch of the main hysteresis loop of the magnet and the ascending branch of the secondary hysteresis loop at different magnetic field reference values is higher, and correspondingly, the more the hysteresis loop data needs to be measured, that is, the more the required magnetic measurement time is. Then, in one exemplary embodiment, 2 intervals may be selected to be formed for modeling.

In practical application, a certain nonlinear displacement relationship is satisfied between the main hysteresis loop rising branch and each secondary hysteresis loop rising branch. For example, taking the magnetic hysteresis loop ascending branch as shown in fig. 2 as an example, it can be seen that the main magnetic hysteresis loop ascending branch moves downward by different displacement amounts along the B axis, and the magnetic hysteresis loop ascending branches with different magnetic field reference values can be correspondingly obtained.

In addition, in practical application, the rising branches of the hysteresis loops of each order have similarity, and a certain nonlinear displacement relation is met. Wherein, each interval corresponding to the hysteresis loop ascending branch family may include: a 1-order hysteresis loop rising branch, a 2-order hysteresis loop rising branch, a 3-order hysteresis loop rising branch, … …, and an n-order hysteresis loop rising branch … …. For example, taking the minor loop rising branch corresponding to the smaller end point of the j-th interval as the 1 st-order loop rising branch in the hysteresis loop family in the j-th interval as an example, the 1 st-order loop rising branch moves by the displacement 1 in the B-axis direction to obtain the 2 nd-order loop rising branch, and the 2 nd-order loop rising branch moves by the displacement 2 in the B-axis direction to obtain the 3 rd-order loop rising branch … …. Then, assuming that the magnetic field reference value of the nth acceleration process falls within the jth interval, and the hysteresis loop rising branch of the nth-1 acceleration process is the N-1 order hysteresis loop rising branch in the jth interval of the hysteresis loop family, the N-order hysteresis loop rising branch in the jth interval of the hysteresis loop family is the hysteresis loop rising branch of the nth acceleration process.

In an exemplary embodiment, step S11 may include steps S111-S113:

step S111: normalizing the difference value between the maximum magnetic induction intensity values of the secondary hysteresis loop rising branch and the main hysteresis loop rising branch of each interval according to the difference value between the magnetic field reference value of the secondary hysteresis loop rising branch and the maximum magnetic induction intensity value of the main hysteresis loop rising branch of each interval to obtain a normalized input displacement corresponding to each interval;

step S112: normalizing the difference displacement between the secondary hysteresis loop ascending branch and the main magnetic hysteresis loop ascending branch of each interval according to the difference between the magnetic field reference value of the secondary hysteresis loop ascending branch and the magnetic field reference value of the main hysteresis loop ascending branch of each interval to obtain the normalized output displacement corresponding to each interval;

step S113: and taking the normalized input displacement amount corresponding to each interval as the input of the artificial neural network, taking the normalized output displacement amount corresponding to each interval as the output of the artificial neural network, and performing nonlinear function fitting through the artificial neural network to establish a displacement function corresponding to each interval.

The next minor hysteresis loop rising branch B corresponding to the smaller end point of the jth intervalj(I) For example, how to establish the displacement function of the jth interval through the artificial neural network is described.

First, the rising branch f of the main hysteresis loop0(I) Minor hysteresis loop rising branch B corresponding to smaller end point of jth intervalj(I) Subtracting to obtain the displacement delta B of the minor hysteresis loop ascending branch corresponding to the smaller end point of the jth interval relative to the major hysteresis loop ascending branch along the B axisj(I)。

Secondly, determining a minor hysteresis loop rising branch B corresponding to a smaller end point of the jth intervalj(I) Magnetic field reference value Brcj(i.e. minor hysteresis loop rising branch Bj(I) Magnetic induction intensity value of the starting point of (c), and magnetic field reference value f of the rising branch of the main hysteresis loop0(Ircj) (i.e. main hysteresis loop rising branch f)0(I) The magnetic induction intensity value of the starting point of) and the maximum magnetic induction intensity value B of the rising branch of the main hysteresis loopmax(i.e. main hysteresis loop rising branch f)0(I) Magnetic induction intensity value of the end point).

Next, the minor hysteresis loop rising branch B corresponding to the smaller end point of the jth intervalj(I) Maximum magnetic induction intensity value B of rising branch of main magnetic hysteresis loopmaxThe difference between the two values is divided by the magnetic field reference value B of the rising branch of the minor hysteresis looprcjMaximum magnetic induction intensity value B of rising branch of main magnetic hysteresis loopmaxThe difference between the two values is used to obtain the normalized input displacement (B) corresponding to the j-th intervalj(I)-Bmax)/(Brcj-Bmax);

Then, a minor hysteresis loop rising branch B corresponding to the smaller end point of the jth intervalj(I) Rising branch f of hysteresis loop of main magnet0(I) Difference between Δ Bj(I) Dividing by the magnetic field reference value B of the minor hysteresis loop rising branch corresponding to the smaller end point of the jth intervalrcjAnd the magnetic field reference value f of the rising branch of the main magnetic hysteresis loop0(Ircj) The difference between the two is used to obtain the normalized output displacement delta B corresponding to the jth intervalj(I)/|Brcj-f0(Ircj)|。

Here, | Brcj-f0(Ircj) | represents a minor hysteresis loop rising branch Bj(I) Longitudinal displacement along axis B at starting point, Δ B, relative to the rising branch of the main hysteresis loopj(I)/|Brcj-f0(Ircj) | represents a minor hysteresis loop rising branch Bj(I) All displacements relative to the rising leg of the main hysteresis loop are normalized by the longitudinal displacement at the starting point.

Finally, with (B)j(I)-Bmax)/(Brcj-Bmax) As input, with Δ Bj(I)/|Brcj-f0(Ircj) I is used as output, the artificial neural network is used for fitting a nonlinear function to the jth interval, and the displacement function of the jth interval is established to be y ═j(x)。

Similarly, assuming that there are k intervals, the 1 st interval, the 2 nd interval, … th interval and the kth interval may be fitted with nonlinear functions by using the above method for establishing the displacement function of the jth interval, so that according to the principle of similarity of the hysteresis loops, the nonlinear displacement of the rising branches of different hysteresis loops relative to the main loop is modeled by using the magnetic field reference value as a parameter, and the displacement function corresponding to each interval may be obtained.

The following describes how to determine the displacement function corresponding to the nth acceleration process.

In an exemplary embodiment, after the displacement function corresponding to each interval is pre-established, in a specific implementation process, step 102 may include: determining a target interval where remanence of the N-1 acceleration process is located from each interval formed by every two adjacent magnetic field reference values in the magnetic field reference values of the ascending branches of the main magnetic hysteresis loop and the magnetic field reference values of the ascending branches of each secondary hysteresis loop; and acquiring a displacement function corresponding to the target interval from the displacement functions corresponding to the pre-established intervals as a displacement function corresponding to the Nth acceleration process.

How to obtain the rising branch of the hysteresis loop of the nth acceleration process by correcting the rising branch of the hysteresis loop of the nth-1 st acceleration process is described in detail as an example.

In an exemplary embodiment, after the displacement functions corresponding to the intervals are pre-established, then, in a specific implementation process, the step 103 may include the following steps 1031 to 1035:

step 1031: according to the difference value between the residual magnetism in the N-1 th acceleration process and the maximum magnetic induction intensity value of the ascending branch of the main magnetic hysteresis loop, carrying out normalization processing on the difference value between the set magnetic field curve in the Nth acceleration process and the maximum magnetic induction intensity value of the ascending branch of the main magnetic hysteresis loop to obtain a normalized input displacement corresponding to the Nth acceleration process;

step 1032: inputting the normalized input displacement amount corresponding to the Nth acceleration process into the displacement function corresponding to the Nth acceleration process to obtain the normalized output displacement amount corresponding to the Nth acceleration process;

step 1033: determining a magnetic field reference value in the N-1 acceleration process based on a magnetic hysteresis loop ascending branch in the N-1 acceleration process;

step 1034: multiplying the difference value between the remanence in the N-1 th acceleration process and the magnetic field reference value in the N-1 th acceleration process by the normalized output displacement corresponding to the Nth acceleration process to obtain a corrected displacement;

step 1035: and adding the correction displacement to the rising branch of the hysteresis loop in the N-1 acceleration process to obtain the rising branch of the hysteresis loop in the N acceleration process.

For example, taking the example that the remanence of the N-1 acceleration process is in the jth interval, then the displacement function corresponding to the jth intervaljThe displacement function corresponding to the nth acceleration process is obtained, and then, the remanence in the nth acceleration process, the maximum magnetic induction intensity value of the main hysteresis loop ascending branch, the set magnetic field curve in the nth acceleration process, the displacement function corresponding to the nth acceleration process, the hysteresis loop ascending branch in the nth acceleration process, and the magnetic field reference value in the nth acceleration process are known, so that the hysteresis loop ascending branch in the nth acceleration process can be calculated by the following formula (1).

In the formula (1), fN(I) Magnetic hysteresis loop rising branch showing the Nth acceleration process, fN-1(I) The rising branch of the hysteresis loop representing the N-1 acceleration process,j(. cndot.) represents the displacement function corresponding to the jth interval (i.e. the displacement function corresponding to the Nth acceleration process), j is a positive integer greater than 1, BrN(I) Set field curve representing the Nth acceleration course, BrNIndicating the Nth acceleration processMagnetic field reference value (i.e. remanence of the N-1 st acceleration process), BmaxRepresenting the maximum magnetic induction intensity value, f, of the rising branch of the main hysteresis loopN-1(IrN) The reference value of the magnetic field in the N-1 acceleration process (i.e. the magnetic induction intensity value at the starting point of the rising branch of the hysteresis loop in the N-1 acceleration process) is shown.

In an exemplary embodiment, after step 103, the method may further include: and storing the magnetic field reference value in the Nth acceleration process and the hysteresis loop rising branch in the Nth acceleration process. Therefore, the magnetic hysteresis loop can be corrected conveniently in the subsequent acceleration process.

Step 104: converting the set magnetic field curve of the Nth acceleration process into a set current curve according to the magnetic hysteresis loop ascending branch of the Nth acceleration process;

in a specific implementation process, the rising branch of the hysteresis loop in the nth acceleration process represents a mapping relationship between the magnetic field strength and the excitation current, so that the set magnetic field curve in the nth acceleration process can be converted into the set current curve according to the rising branch of the hysteresis loop in the nth acceleration process.

Step 105: and controlling the magnet to generate a magnetic field based on the set current curve.

In an exemplary embodiment, step 105 may include: the power supply in the synchrotron is controlled to output corresponding exciting current to the magnet in the synchrotron according to a set current curve, and the magnet in the synchrotron is controlled to generate a magnetic field.

At this point, the process of generating the magnetic field is completed.

As can be seen from the above, the magnetic field generating method provided in the embodiments of the present application can be applied to a synchrotron, which includes: the sensor is arranged on the magnet and used for measuring residual magnetism. After obtaining a hysteresis loop ascending branch of an N-1 acceleration process, remanence of an N-1 acceleration process and a set magnetic field curve of the Nth acceleration process, wherein N is a positive integer larger than 1, determining a displacement function corresponding to the Nth acceleration process by taking the remanence of the N-1 acceleration process as a magnetic field reference value of the Nth acceleration process, wherein the displacement function is obtained by carrying out nonlinear function fitting according to a main magnetic hysteresis loop ascending branch of a magnet and sub hysteresis loop ascending branches thereof at different magnetic field reference values; correcting the rising branch of the hysteresis loop in the acceleration process of the Nth time by using a displacement function corresponding to the acceleration process of the Nth time according to the remanence in the acceleration process of the Nth time and the set magnetic field curve in the acceleration process of the Nth time to obtain the rising branch of the hysteresis loop in the acceleration process of the Nth time; finally, according to the magnetic hysteresis loop ascending branch in the Nth acceleration process, converting the set magnetic field curve in the Nth acceleration process into a set current curve; and controlling the magnet to generate a magnetic field based on the set current curve. Therefore, the residual magnetism of the N-1 accelerating process measured in real time by the sensor for measuring the residual magnetism is used for correcting the hysteresis loop ascending branch of the N-1 accelerating process, and the set magnetic field curve is converted into the set current curve according to the corrected hysteresis loop ascending branch (namely the hysteresis loop ascending branch of the N-1 accelerating process), so that the hysteresis error can be eliminated, the stability of a beam track and energy is ensured, the resetting time of the magnet is shortened, and the efficiency of the synchrotron is improved.

Based on the foregoing embodiments, the following describes the implementation process of the 1 st acceleration process to the nth acceleration process with specific examples.

First, before performing the acceleration process, a person skilled in the art can measure the magnetism of the magnet in the synchrotron by using a sensor capable of measuring the magnitude of the magnetic field, such as a gaussmeter, a magnetometer, or the like, to obtain a main hysteresis loop ascending branch and k minor hysteresis loop ascending branches.

Secondly, according to the magnetic field reference value B of the rising branch of the main hysteresis looproAnd the magnetic field reference value B of each minor hysteresis loop rising branchro1,Bro2,Bro3,…,Broj,…,Bro(k-1),BrokTo form a modeling interval in which every two adjacent magnetic field reference values form an interval, so that B can be formedro1~Bro2,Bro2~Bro3,……,Bro(k-1)~Brok,Brok~BroA total of k intervals.

And then, aiming at each interval, carrying out nonlinear function fitting through an artificial neural network according to the main hysteresis loop ascending branch and the secondary hysteresis loop ascending branch corresponding to the minimum endpoint of each interval to obtain a displacement function corresponding to each interval. It should be noted that, please refer to the description of step 105 in the foregoing embodiment for a specific process of obtaining the displacement function corresponding to each interval. Here, too much description is omitted.

Then, when the 1 st acceleration process is needed, the synchrotron measures the remanence generated by the magnetism measurement (historical working process) in real time, and the remanence is used as the magnetic field reference value of the 1 st acceleration process). Assuming that the remanence is in the j-th interval, the minor hysteresis loop rising branch B corresponding to the minimum endpoint of the j-th interval is shown in formula (2)j(I) Namely a hysteresis loop rising branch f in the 1 st acceleration process1(I)。

Next, when the 2 nd acceleration process is required, the synchrotron measures in real time to obtain the remanence of the 1 st acceleration process, and uses the remanence of the 1 st acceleration process as the magnetic field reference value of the 2 nd acceleration process, and then determines that the 2 nd acceleration process is also in the jth interval, so that the displacement function corresponding to the jth interval is used as the displacement function corresponding to the 2 nd acceleration process, and then, according to the formula (3), the hysteresis loop rising branch of the 1 st acceleration process is corrected by using the displacement function corresponding to the 2 nd acceleration process according to the remanence of the 1 st acceleration process and the set magnetic field curve of the 2 nd acceleration process, and the hysteresis loop rising branch f of the 2 nd acceleration process is obtained2(I)。

By this recursion, the rising branch f of the hysteresis loop in the 3 rd acceleration process can be obtained by the formula (4) to the formula (5) and the formula (1) in sequence3(I) Magnetic hysteresis loop rising branch f in acceleration process to Nth timeN-1(I)。

f1(I)=Bj(I) Formula (2);

……

in the formulae (2) to (5), f1(I) The rising branch of the hysteresis loop representing the 1 st acceleration, Bj(I) The minor hysteresis loop rising branch corresponding to the smaller end point of the jth interval is shown,j(. cndot.) represents a displacement function corresponding to the jth interval, j is a positive integer greater than 1, f2(I) The rising branch of the hysteresis loop representing the 2 nd acceleration, Br2(I) Set field curve representing the 2 nd acceleration course, Br2The reference value of the magnetic field (i.e., the remanence of the 1 st acceleration), B, representing the 2 nd accelerationmaxRepresenting the maximum magnetic induction intensity value, f, of the rising branch of the main hysteresis loop1(Ir2) Reference value of magnetic field, f, representing the 1 st acceleration3(I) The rising branch of the hysteresis loop representing the 3 rd acceleration course, Br3(I) Set field curve representing the 3 rd acceleration course, Br3The reference value of the magnetic field (i.e. the remanence of the 2 nd acceleration), f, representing the 3 rd acceleration2(Ir3) Reference value of magnetic field, f, representing the 2 nd acceleration processN-1(I) Rising branch of hysteresis loop representing the N-1 acceleration process, fN-2(I) The rising branch of the hysteresis loop representing the N-2 acceleration process, Br(N-1)(I) The set magnetic field curve representing the N-1 st acceleration course, Br(N-1)The reference value of the magnetic field (i.e., the remanence of the N-2 acceleration) for the N-1 accelerationN-2(Ir(N-1)) The field reference value for the N-2 th acceleration process is indicated.

And finally, when the acceleration process is carried out each time, a magnetic field current conversion module in the synchronous accelerator converts the designed magnetic field curve into a designed current curve according to the calculated and corrected magnetic hysteresis loop ascending branch.

In the embodiment of the application, when the acceleration process is carried out at every time, the magnetic field current conversion algorithm is improved by utilizing the hysteresis loop similarity principle, the rising branch of the hysteresis loop can be corrected according to the residual magnetism measured in real time, the hysteresis error can be eliminated, the magnetic field reference values under different energies are kept consistent, the beam track and the energy are further ensured to be stable, the magnet resetting time is shortened, and the efficiency of the synchrotron is improved.

Based on the same inventive concept, the embodiment of the application provides a synchronous accelerator. Fig. 3 is a schematic structural diagram of a synchrotron in an embodiment of the present application, and referring to fig. 3, the synchrotron may include: a control system 31, a power supply 32, a magnet 33 and a sensor 34 for measuring residual magnetism; the control system 31 includes: a magnetic field curve generation module 311 and a magnetic field current conversion module 312; wherein the content of the first and second substances,

a magnetic field curve generating module 311, configured to generate a set magnetic field curve for the nth acceleration process; sending the set magnetic field curve of the nth acceleration process to the magnetic field current conversion module 312, where N is a positive integer greater than 1;

a sensor 34 for measuring the residual magnetism of the N-1 st acceleration process; the remanence of the N-1 th acceleration process is sent to the field current conversion module 312;

a field current conversion module 312, configured to obtain a hysteresis loop rising branch in the N-1 th acceleration process, remanence in the N-1 th acceleration process, and a set magnetic field curve in the N-1 th acceleration process; determining a displacement function corresponding to the Nth acceleration process by taking the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process and the remanence of the N-1 th acceleration process as a magnetic field reference value of the Nth acceleration process, wherein the displacement function is obtained by carrying out nonlinear function fitting according to a main magnetic hysteresis loop ascending branch of the magnet and minor hysteresis loop ascending branches thereof at different magnetic field reference values; correcting a hysteresis loop rising branch in the N-1 acceleration process by using a displacement function corresponding to the Nth acceleration process according to the remanence in the N-1 acceleration process and a set magnetic field curve in the Nth acceleration process to obtain a hysteresis loop rising branch in the Nth acceleration process; converting the set magnetic field curve of the Nth acceleration process into a set current curve according to the magnetic hysteresis loop ascending branch of the Nth acceleration process; sending the set current profile to the power supply 32;

a power supply 32 for outputting a corresponding exciting current to the magnet 33 according to a set current curve;

and a magnet 33 for generating a magnetic field by an exciting current.

In the embodiment of the present application, a sensor for measuring residual magnetism is provided on the magnet.

In other embodiments of the present application, still referring to fig. 3, the synchrotron may further include: a communication module 35; wherein the content of the first and second substances,

the field current switching module 312 for sending the set current profile to the power supply 32 may include: a field current conversion module 312, configured to send the set current curve to the power supply 32 through the communication module 35 in a binary file using a network;

correspondingly, the power supply 32 for outputting the corresponding exciting current to the magnet 33 according to the set current curve may include: and the power supply 42 is used for outputting corresponding exciting current to the magnet 43 according to the binary file of the set current curve, so that the magnet 43 generates a magnetic field which changes along with the set current curve under the action of the exciting current.

In an embodiment of the present application, the magnetic field curve generating module, configured to generate the set magnetic field curve for the nth acceleration process, may include: the magnetic field curve generating module is used for obtaining the acceleration time and the lead-out energy corresponding to the Nth acceleration process set by the user; and generating a set magnetic field curve of the Nth acceleration process according to the acceleration time and the extraction energy corresponding to the Nth acceleration process.

In an embodiment of the present application, the control system may further include: the storage unit is used for storing the rising branch of the hysteresis loop;

the magnetic field current conversion module is used for obtaining a hysteresis loop rising branch in the N-1 th acceleration process and comprises the following steps:

the magnetic field current conversion module is used for determining a target interval where remanence in the N-1 th acceleration process is located from each interval formed by every two adjacent magnetic field reference values in the magnetic field reference value of the main magnetic hysteresis loop ascending branch and the magnetic field reference value of each secondary magnetic hysteresis loop ascending branch when the magnetic field current conversion module does not read the magnetic hysteresis loop ascending branch in the N-1 th acceleration process from the storage unit or N-1 is equal to 1; and determining the magnetic hysteresis loop ascending branch corresponding to the smaller end point of the target interval in the main magnetic hysteresis loop ascending branch and each secondary magnetic hysteresis loop ascending branch as the magnetic hysteresis loop ascending branch in the N-1 st acceleration process.

In this embodiment of the application, the field current conversion module is configured to perform nonlinear function fitting according to a main hysteresis loop ascending branch of the magnet and a minor hysteresis loop ascending branch thereof at different magnetic field reference values to obtain a displacement function, and may include:

the magnetic field current conversion module is used for forming each interval by using each two adjacent magnetic field reference values in the magnetic field reference values of the ascending branch of the main magnetic hysteresis loop and the magnetic field reference values of the ascending branches of the secondary magnetic hysteresis loop; and aiming at each interval, carrying out nonlinear function fitting through an artificial neural network based on the main hysteresis loop rising branch and the secondary hysteresis loop rising branch corresponding to the minimum endpoint of each interval to obtain a displacement function corresponding to each interval.

In this embodiment of the application, the field current conversion module is configured to perform nonlinear function fitting through an artificial neural network based on the main hysteresis loop ascending branch and the secondary hysteresis loop ascending branch corresponding to the minimum endpoint of each interval to obtain a displacement function corresponding to each interval, and may include:

the magnetic field current conversion module is used for normalizing the difference value between the maximum magnetic induction intensity values of the secondary hysteresis loop rising branch and the main hysteresis loop rising branch of each interval according to the difference value between the magnetic field reference value of the secondary hysteresis loop rising branch and the maximum magnetic induction intensity value of the main hysteresis loop rising branch of each interval to obtain a normalized input displacement corresponding to each interval; normalizing the difference displacement between the secondary hysteresis loop ascending branch and the main magnetic hysteresis loop ascending branch of each interval according to the difference between the magnetic field reference value of the secondary hysteresis loop ascending branch and the magnetic field reference value of the main hysteresis loop ascending branch of each interval to obtain the normalized output displacement corresponding to each interval; and taking the normalized input displacement amount corresponding to each interval as the input of the artificial neural network, taking the normalized output displacement amount corresponding to each interval as the output of the artificial neural network, and performing nonlinear function fitting through the artificial neural network to establish a displacement function corresponding to each interval.

In this embodiment of the application, the magnetic field current conversion module is configured to determine the displacement function corresponding to the nth acceleration process by using the remanence of the nth-1 st acceleration process as the magnetic field reference value of the nth acceleration process, and may include:

the magnetic field current conversion module is used for determining a target interval where remanence of the N-1 th acceleration process is located from each interval formed by every two adjacent magnetic field reference values in the magnetic field reference value of the ascending branch of the main magnetic hysteresis loop and the magnetic field reference value of the ascending branch of each secondary hysteresis loop; and acquiring a displacement function corresponding to the target interval from the displacement functions corresponding to the pre-established intervals as a displacement function corresponding to the Nth acceleration process.

In this embodiment of the application, the field current converting module is configured to correct the magnetic hysteresis loop rising branch in the N-1 th acceleration process according to the remanence in the N-1 th acceleration process and the set magnetic field curve in the N-1 th acceleration process by using the displacement function corresponding to the N-1 th acceleration process, so as to obtain the magnetic hysteresis loop rising branch in the N-1 th acceleration process, and may include:

the magnetic field current conversion module is used for carrying out normalization processing on the difference value between the set magnetic field curve of the Nth acceleration process and the maximum magnetic induction intensity value of the ascending branch of the main hysteresis loop according to the difference value between the remanence of the N-1 th acceleration process and the maximum magnetic induction intensity value of the ascending branch of the main hysteresis loop to obtain a normalized input displacement corresponding to the Nth acceleration process; inputting the normalized input displacement amount corresponding to the Nth acceleration process into the displacement function corresponding to the Nth acceleration process to obtain the normalized output displacement amount corresponding to the Nth acceleration process; determining a magnetic field reference value in the N-1 acceleration process based on a magnetic hysteresis loop ascending branch in the N-1 acceleration process; multiplying the difference value between the remanence in the N-1 th acceleration process and the magnetic field reference value in the N-1 th acceleration process by the normalized output displacement corresponding to the Nth acceleration process to obtain a corrected displacement; and adding the correction displacement to the rising branch of the hysteresis loop in the N-1 acceleration process to obtain the rising branch of the hysteresis loop in the N acceleration process. .

Here, it should be noted that: the above description of the synchrotron embodiment is similar to the above description of the method embodiment, with similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the synchrotron of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.

It should be noted that, in the embodiments of the present application, if the magnetic field generation method in one or more of the above embodiments is implemented in the form of a software functional module and sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof that contribute to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods of the embodiments of the present application.

The present application describes embodiments, but the description is illustrative rather than limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or instead of any other feature or element in any other embodiment, unless expressly limited otherwise.

The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in this application may also be combined with any conventional features or elements to form a unique inventive concept as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive aspects to form yet another unique inventive aspect, as defined by the claims. Thus, it should be understood that any of the features shown and/or discussed in this application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not limited except as by the appended claims and their equivalents. Furthermore, various modifications and changes may be made within the scope of the appended claims.

Further, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other orders of steps are possible as will be understood by those of ordinary skill in the art. Therefore, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Further, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.

It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), EEPROM, flash Memory or other Memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种柔性可拉伸的透明覆铜板及其制备方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!