A medical cyclotron magnetic pole gap intelligent measurement method and device
By using laser ranging technology and intelligent measurement methods with adaptive sampling rate adjustment in medical cyclotrons, the problems of low efficiency and large error in magnetic pole gap measurement in the prior art are solved, and higher measurement accuracy and efficiency are achieved.
Patent Information
- Application Number
- CN202411863847.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-12-18
AI Technical Summary
The prior art when measuring the magnetic pole gap of medical cyclotron accelerator, the efficiency is low and errors are prone to occur in small distances, resulting in poor particle acceleration effect.
The laser ranging technology combined with the intelligent measurement method of adaptive sampling rate adjustment is used to optimize the sampling rate to improve measurement accuracy and efficiency by analyzing the repeatability of the magnetic pole sequence and adjusting the angular change.
It improves the accuracy and efficiency of magnetic pole gap measurement, avoids the waste of resources caused by omission of abnormal magnetic pole gap values or excessive density, and ensures the effectiveness of ranging data.
Smart Images

Figure CN119309505B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of magnetic pole gap measurement, and in particular to an intelligent measurement method and device for magnetic pole gap of a medical cyclotron. Background Art
[0002] A medical cyclotron is a particle accelerator designed for medical purposes, mainly for radiotherapy; the pole gap refers to the physical distance between the magnetic poles in the accelerator. The pole gap directly affects the strength and uniformity of the magnetic field, which is crucial for the acceleration process of particles. In order to ensure the accuracy of the magnetic field, the pole gap needs to be accurately measured to ensure the correct movement of particles.
[0003] Among the existing methods for measuring the distance between magnetic poles, manual or single sensor measurement is generally used. This method is inefficient and prone to errors in small distances. In order to improve the measurement accuracy, laser ranging is used to obtain the magnetic field gap value. In the process of laser ranging, the ranging interval affects the measurement effect of the gap. If the ranging interval is too large, the area with gap problems will not be detected, which will affect the particle acceleration effect and lead to poor final treatment effect; if the distance is too small, it will affect the detection efficiency and lead to waste of resources. Summary of the invention
[0004] In order to solve the technical problem of inaccurate measurement results, the present application provides a medical cyclotron magnetic pole gap intelligent measurement method and device, and the technical solution adopted is as follows:
[0005] In a first aspect, the present application proposes a medical cyclotron magnetic pole gap intelligent measurement method, the method comprising the following steps:
[0006] Get the upper magnetic pole distance, lower magnetic pole distance and adjustment angle of each sampling point at each sampling rate;
[0007] The upper magnetic pole distance, the lower magnetic pole distance and the adjustment angle of all sampling points at each sampling rate are respectively used to form an upper magnetic pole sequence, a lower magnetic pole sequence and an adjustment angle sequence; the repeatability of the upper magnetic pole sequence is obtained according to the difference in element values of two adjacent elements in the upper magnetic pole sequence; the repeatability of the lower magnetic pole sequence is obtained according to the difference in element values of two adjacent elements in the lower magnetic pole sequence; the variation of the adjustment angle is calculated according to the Z scores of all adjustment angles in the adjustment angle sequence; the coverage of the magnetic field parameters at each sampling rate is obtained according to the sum of the repeatability of the upper and lower magnetic pole sequences and the variation of the adjustment angle;
[0008] For a sampling rate, the sampling rate variation stability is obtained according to the difference between the maximum and minimum values of the adjustment angle corresponding to the sampling rate; the angle difference value of each sampling point is obtained according to the difference between the sampling point and the adjacent sampling points; the angle stability changeability of the sampling rate is obtained according to the difference between the angle difference values of all adjacent sampling points; the sampling rate variation stability and the angle stability changeability are weighted to obtain the angle dynamic changeability of the sampling rate;
[0009] The optimal sampling rate is selected according to the magnetic field parameter coverage and angle dynamic change of the sampling rate, and the gap measurement is performed at the optimal sampling rate.
[0010] In the above scheme, the cyclotron magnetic pole gap is measured and analyzed by laser ranging, which improves the measurement accuracy and efficiency compared with the traditional manual or single sensor measurement; in the process of laser ranging, the sampling rate is adaptively adjusted to eliminate the waste of resources caused by the omission or excessive density of abnormal magnetic pole gap values in the ranging due to improper sampling rate configuration; by analyzing the repeated coverage of data in the magnetic field during the sampling process, the corresponding sampling interval is gradually increased; and in this process, the sampling upper limit value is determined according to the dynamic change of the ranging angle parameter in the sampling result, thereby ensuring the validity of the ranging data.
[0011] In one embodiment, the method for obtaining the repeatability of the upper magnetic pole sequence according to the element value difference between two adjacent elements in the upper magnetic pole sequence is:
[0012] The repeatability of the upper magnetic pole sequence is negatively correlated with the difference in element values between adjacent elements in the upper magnetic pole sequence.
[0013] In one embodiment, the method for calculating the variation of the adjustment angle according to the Z scores of all the adjustment angles in the adjustment angle sequence is:
[0014] For the adjustment angle sequence, the Z score of any adjustment angle in the adjustment angle sequence is calculated, and the absolute value of the difference between the number 1 and the Z scores of all sampling points is averaged to obtain the change of the adjustment angle.
[0015] In one embodiment, the method for obtaining the coverage of magnetic field parameters at each sampling rate according to the sum of the repeatability of the upper and lower magnetic pole sequences and the variation of the adjustment angle is:
[0016] The coverage of magnetic field parameters is negatively correlated with the change of adjustment angle, and positively correlated with the repeatability of upper magnetic pole sequence and the repeatability of lower magnetic pole sequence.
[0017] In one embodiment, the method for obtaining the variation stability of the sampling rate according to the difference between the maximum value and the minimum value of the adjustment angle corresponding to the sampling rate is:
[0018] For each sampling rate, the difference between the maximum and minimum adjustment angles in all sampling points is calculated, and the reciprocal of the difference is used as the variation stability corresponding to the sampling rate.
[0019] In one embodiment, the method for obtaining the angle difference value of each sampling point according to the difference between the sampling point and the adjacent sampling points is:
[0020] The absolute value of the difference between the adjustment angle of each sampling point and the next sampling point is recorded as the angle difference value corresponding to the sampling point.
[0021] In one embodiment, the method for obtaining the angular stability of the sampling rate according to the difference of the angular difference values of all adjacent sampling points is:
[0022] , Represents the angle difference value of the nth sampling point, Indicates the angle difference value of the n+1th sampling point, represents the number of sampling points, Indicates the stability of the angle change corresponding to the sampling rate.
[0023] In one embodiment, the method of weighting the sampling rate variation stability and the angle stability changeability to obtain the angle dynamic changeability of the sampling rate is:
[0024] , Indicates the stability of sampling rate changes. Indicates the stable alternation of the angle corresponding to the sampling rate, represents the weight coefficient, Indicates the dynamic change of angle corresponding to the sampling rate.
[0025] In one embodiment, the method for selecting the optimal sampling rate according to the magnetic field parameter coverage and angle dynamic change of the sampling rate is:
[0026] Calculate the magnetic field parameter coverage of the sampling rate. If the magnetic field parameter coverage is not within the preset coverage range, the corresponding sampling rate is the optimal sampling rate.
[0027] If the magnetic field parameter coverage is within the preset coverage range, the sampling rate is reduced at this time, and the angle dynamic change corresponding to the reduced sampling rate is calculated. If the angle dynamic change is within the preset dynamic range, the sampling rate is the optimal sampling rate at this time; if the angle dynamic change is not within the preset dynamic range, the magnetic field parameter coverage of the reduced sampling rate is recalculated and judged in turn.
[0028] In a second aspect, an embodiment of the present application further provides a device for intelligently measuring the magnetic pole gap of a medical cyclotron, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the steps of any one of the above-mentioned methods for intelligently measuring the magnetic pole gap of a medical cyclotron are implemented.
[0029] The beneficial effects of this application are:
[0030] The cyclotron magnetic pole gap is measured and analyzed by laser ranging, which improves the measurement accuracy and efficiency compared with traditional manual or single sensor measurement. In the process of laser ranging, the sampling rate is adaptively adjusted to eliminate the waste of resources caused by omissions or excessive density of abnormal magnetic pole gap values in the ranging due to improper sampling rate configuration. By analyzing the repeated coverage of data in the magnetic field during the sampling process, the corresponding sampling interval is gradually increased. In this process, the upper limit of the sampling is determined according to the dynamic iteration of the ranging angle parameters in the sampling results, thereby ensuring the validity of the ranging data. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0032] Figure 1 A flow chart of an intelligent measurement method for the magnetic pole gap of a medical cyclotron provided in one embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the medical cyclotron magnetic pole gap intelligent measurement method and device proposed in the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0034] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0035] An embodiment of an intelligent measurement method for magnetic pole gap of a medical cyclotron:
[0036] The specific scheme of the intelligent measurement method for the magnetic pole gap of a medical cyclotron provided by the present application is described in detail below with reference to the accompanying drawings.
[0037] See also Figure 1 , which shows a flow chart of a medical cyclotron magnetic pole gap intelligent measurement method provided by an embodiment of the present application, the method comprising the following steps:
[0038] Step S001, obtaining the upper magnetic pole distance, the lower magnetic pole distance and the adjustment angle of each sampling point at each sampling rate.
[0039] A laser rangefinder is installed on a stable base, the circumference of each cyclotron is obtained, and a sampling rate is set according to the circumference. The highest frequency is set as the sampling rate to facilitate the subsequent reduction of the sampling rate. In this embodiment, the sampling interval corresponding to the highest frequency is 1 / 1000 of the circumference value; thus, multiple sampling points are set, and the distance between the laser rangefinder and the upper magnetic pole and the lower magnetic pole at each sampling point is measured by the laser rangefinder, which are recorded as the upper magnetic pole distance and the lower magnetic pole distance, respectively, and the adjustment angle of the laser rangefinder when measuring the upper and lower magnetic poles is obtained.
[0040] At this point, the upper magnetic pole distance, lower magnetic pole distance and adjustment angle of each sampling point are obtained.
[0041] Step S002, obtaining the repeatability of the magnetic pole sequence according to the difference in magnetic pole distances of sampling points at each sampling rate, obtaining the variation according to the adjustment angle Z score, and obtaining the coverage of magnetic field parameters at each sampling rate according to the repeatability and variation of the upper and lower magnetic poles.
[0042] Since different sampling rates will affect the measurement of the gap, the smaller the sampling rate, the larger the sampling interval, which will cause the area with abnormal gaps to not be detected, thereby affecting the particle acceleration effect. If the sampling rate is too high and the sampling interval is too small, it will lead to a waste of resources.
[0043] First, the upper magnetic pole distance, the lower magnetic pole distance and the adjustment angle of all sampling points are respectively formed into a sequence recorded as an upper magnetic pole sequence, a lower magnetic pole sequence and an adjustment angle sequence.
[0044] By analyzing the repeatability and similarity of all sampling points at each sampling rate, the closer the properties are, the higher the coverage of the corresponding magnetic field parameters. Therefore, during the laser ranging process, the necessity of reducing the sampling rate in this part is higher, because the validity of its magnetic field parameter data is lower.
[0045] The sampling rate corresponding to the highest frequency is recorded as the initial sampling rate. For the upper magnetic pole sequence, the repeatability of the upper magnetic pole sequence is analyzed based on the difference in element values between adjacent elements in the sequence.
[0046] The repeatability of a sequence is negatively correlated with the difference in element values between adjacent elements in the sequence.
[0047] It should be noted that negative correlation means that when one variable increases, the other variable decreases accordingly, and the two variables change in opposite directions. When one variable changes from large to small or from small to large, the other variable also changes from small to large or from large to small. The specific relationship is determined by actual application and this application does not impose any special restrictions.
[0048] Preferably, in this embodiment, the expression of repeatability is:
[0049] , Represents the element value of the n-1th element in the upper magnetic pole sequence, Represents the element value of the nth element in the upper magnetic pole sequence, represents the number of sampling points, Indicates a very small positive number. Its function here is to prevent the denominator from being 0 and to limit the repeatability range. The value is 1. Indicates the repeatability of the upper magnetic pole sequence.
[0050] Preferably, in another embodiment of the present application, the expression of repeatability is:
[0051] , Represents the element value of the n-1th element in the upper magnetic pole sequence, Represents the element value of the nth element in the upper magnetic pole sequence, represents the number of sampling points, represents the repeatability of the upper magnetic pole sequence, Represents an exponential function with a natural constant as its base.
[0052] For parameter sequences, if the difference between the element values of all two adjacent elements in the sequence is smaller, it means that the repeatability between the elements is higher. Then when measuring the gap, the redundancy of sampling at this sampling rate is higher, the repeatability is lower, and the validity of the collected data is lower. Therefore, the necessity of reducing the sampling frequency is higher.
[0053] In this embodiment, The maximum value of is 1, that is, the closer the value is to 1, the higher the repetition of the corresponding constant sequence.
[0054] Based on the same method, for the lower magnetic pole sequence, the repeatability of the lower magnetic pole sequence is obtained by calculating the difference value between two adjacent elements.
[0055] For any adjustment angle in the adjustment angle sequence, calculate its Z score in the adjustment angle sequence. The score range of Z score is , the closer the Z score is to 1, the lower the outlier is, the more stable the data is, and the lower the change in the adjustment angle is. , represents the Z score of the nth element in the adjusted angle sequence, Indicates the change in adjustment angle. represents the number of sampling points. The Z score is a well-known algorithm and will not be described in detail here.
[0056] The coverage of magnetic field parameters at each sampling frequency is obtained based on the variation of the adjustment angle and the repeatability of the upper and lower magnetic pole sequences.
[0057] The coverage of magnetic field parameters is negatively correlated with the change of adjustment angle, and positively correlated with the repeatability of upper magnetic pole sequence and the repeatability of lower magnetic pole sequence.
[0058] Preferably, in this embodiment, the expression of magnetic field parameter coverage is:
[0059] , Indicates the coverage of magnetic field parameters at this sampling frequency, Indicates the change in adjustment angle. represents the repeatability of the upper magnetic pole sequence, Indicates the repeatability of the lower magnetic pole sequence.
[0060] The greater the repeatability of the upper magnetic pole sequence and the greater the repeatability of the lower magnetic pole sequence, the more it indicates that there are too many redundant data, that is, the greater the coverage of the magnetic field parameters, the more downsampling is needed; when the change in the adjustment angle is smaller, it means that the degree of change in the adjustment angle sequence is small, that is, the greater the coverage of the magnetic field parameters, the more downsampling is needed.
[0061] At this point, the coverage of magnetic field parameters at each sampling rate has been obtained.
[0062] It should be noted that positive correlation means that when one variable increases, the other variable also increases, and the two variables change in the same direction. When one variable changes from large to small or from small to large, the other variable also changes from large to small or from small to large. The specific relationship can be a multiplication relationship, an addition relationship, or the idempotence of an exponential function, which is determined by actual application and is not specifically limited in this application.
[0063] Step S003, obtaining the variation stability according to the difference between the maximum and minimum values of the adjustment angle corresponding to the sampling rate; obtaining the angle stability alternation according to the quadratic difference between the adjustment angles of the sampling point and the adjacent sampling points; and obtaining the angle dynamic alternation of the sampling rate according to the variation stability and the angle stability alternation.
[0064] The above steps can be used to obtain the magnetic field parameter coverage at each sampling rate. Since the calculation of the magnetic field parameter coverage starts from the maximum frequency, the sampling rate is the largest during the first sampling, and the sampling rate is reduced in subsequent samplings. The number of times the sampling rate is reduced is determined by the magnetic field parameter coverage, that is, the upper limit of the sampling rate is determined.
[0065] In the downsampling operation, in addition to determining whether the upper limit of coverage is met, a lower limit is also required to limit the minimum sampling period. The specific limiting indicator is the dynamic change of the adjustment angle. Each sampling point has an adjustment angle, and the magnetic pole gap value can be obtained based on the adjustment angle and the upper magnetic pole distance and the lower magnetic pole distance. The higher the dynamic change of the adjustment angle, the higher the corresponding gap change effectiveness, and the more important the data. At this time, the sampling rate should not be further reduced to meet the purpose of detecting the gap value of each key area. If the gap in a certain area changes rapidly, the measurement interval needs to be reduced to protect important data. At this time, it is necessary to increase the measurement interval, that is, reduce the sampling rate to improve the measurement accuracy.
[0066] In a general cyclotron environment, the magnetic poles are mainly distributed in a circle, so some sampling areas are close to arc-shaped. In addition, during the acceleration process, some cyclotron areas will have inconsistent magnetic pole gaps due to different acceleration requirements. At this time, the adjustment angle will show a stable increase or decrease trend in a part of the laser rangefinder sampling area due to the above characteristics (due to the arc-shaped structure, the distance between the upper and lower magnetic poles of the laser rangefinder increases or decreases steadily, so the corresponding upper and lower angle movement values of the rangefinder will also change, as well as the distance between the magnetic poles themselves. Increase or decrease).
[0067] The dynamic change of the adjustment angle refers to its stable change within a certain sampling distance. The more stable the change, the less likely the increase or decrease will affect the reduction of the sampling rate. On the contrary, when there is a sharp increase or decrease in the angle value in certain sampling areas, the sampling rate cannot be reduced.
[0068] For any sampling rate, each sampling rate corresponds to a number of sampling points, and each sampling point corresponds to an adjustment angle, that is, each sampling rate corresponds to a number of adjustment angles. The maximum and minimum values of the adjustment angles corresponding to each sampling rate are obtained, and the inverse of the difference between the maximum and the minimum values is taken as the variation stability of the sampling rate. .
[0069] The larger the difference between the maximum and minimum values of the adjustment angle, the lower the stability of the corresponding changes in the sampling rate.
[0070] For all sampling points in each sampling rate, the absolute value of the difference between the adjustment angle of each sampling point and its next sampling point is calculated and recorded as the angle difference value corresponding to the sampling point, and the difference between the angle difference values of two adjacent sampling points is calculated. The smaller the difference, the smaller the variability of all adjustment angles and the closer the quadratic difference values.
[0071] The angle stability alternation corresponding to the sampling rate is calculated according to the difference in the angle difference values between adjacent sampling points. The expression of the angle stability alternation is:
[0072] , Represents the angle difference value of the nth sampling point, Indicates the angle difference value of the n+1th sampling point, represents the number of sampling points, Indicates the stability of the angle change corresponding to the sampling rate.
[0073] like The closer it is to 0, the better the difference is and the smaller the adjustment angle change is. The closer it is to 1, the higher the stability of the alternation, and the lower the possibility of an effective abnormal magnetic pole gap appearing at this time.
[0074] According to the change stability and angle stability change corresponding to each sampling rate, the angle dynamic change corresponding to each sampling rate is obtained. The expression is:
[0075] , Indicates the stability of sampling rate changes. Indicates the stable alternation of the angle corresponding to the sampling rate, represents the weight coefficient, Indicates the dynamic change of angle corresponding to the sampling rate.
[0076] Since the stability of the angle change is more important here, the weight coefficient is set to 0.4 in this embodiment.
[0077] The smaller the angle stability and change stability, the greater the angle dynamic change, which means that the greater the adjustment angle change, the higher the dynamic change, the higher the corresponding gap change effectiveness, and the more important the data. At this time, the sampling rate should not be further reduced.
[0078] At this point, the dynamic change of angles corresponding to each sampling rate is obtained.
[0079] Step S004, selecting the optimal sampling rate according to the magnetic field parameter coverage and angle dynamic change of the sampling rate, and performing gap measurement at the optimal sampling rate.
[0080] According to the above steps, the magnetic field parameter coverage and angle dynamic change corresponding to each sampling rate are obtained, wherein the magnetic field parameter coverage limits the upper limit of the sampling rate, and the angle dynamic change ensures the lower limit of the sampling rate.
[0081] If the magnetic field parameter coverage is within the coverage range, it is considered that the magnetic field parameter coverage is high and the sampling rate needs to be reduced. If the magnetic field parameter coverage is not within the coverage range, it is considered that the magnetic field parameter coverage is low and the current sampling rate is the optimal sampling rate. The corresponding angle dynamic change is calculated for the reduced sampling rate. If the angle dynamic change is within the dynamic range, the angle dynamic change is high at this time and the sampling rate is no longer reduced. At this time, the sampling rate is the optimal sampling rate. In this embodiment, the coverage range is taken as , dynamic range , the sampling rate becomes 0.9 times the sampling rate each time it is reduced.
[0082] If the sampling rate is not the optimal sampling rate at this time, the magnetic field parameter coverage is recalculated with the sampling rate, and a new round of judgment is performed, and so on, until the optimal sampling rate is obtained.
[0083] All sampling points are determined through the optimal sampling rate, and the upper magnetic pole distance, lower magnetic pole distance and adjustment angle of each sampling point are obtained, so as to obtain the gap distance corresponding to each sampling point and complete the measurement of the magnetic pole gap.
[0084] Based on the same inventive concept as the above method, an embodiment of the present invention also provides a medical cyclotron magnetic pole gap intelligent measurement device, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of any one of the above-mentioned medical cyclotron magnetic pole gap intelligent measurement methods are implemented.
[0085] It should be noted that the above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
[0086] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. An intelligent measurement method for magnetic pole gap of a medical cyclotron, characterized in that: The method comprises the following steps: Get the upper magnetic pole distance, lower magnetic pole distance and adjustment angle of each sampling point at each sampling rate; The upper magnetic pole distance, the lower magnetic pole distance and the adjustment angle of all sampling points at each sampling rate are respectively used to form an upper magnetic pole sequence, a lower magnetic pole sequence and an adjustment angle sequence; the repeatability of the upper magnetic pole sequence is obtained according to the difference in element values of two adjacent elements in the upper magnetic pole sequence; the repeatability of the lower magnetic pole sequence is obtained according to the difference in element values of two adjacent elements in the lower magnetic pole sequence; the variation of the adjustment angle is calculated according to the Z scores of all adjustment angles in the adjustment angle sequence; the coverage of the magnetic field parameters at each sampling rate is obtained according to the sum of the repeatability of the upper and lower magnetic pole sequences and the variation of the adjustment angle; For a sampling rate, the sampling rate variation stability is obtained according to the difference between the maximum and minimum values of the adjustment angle corresponding to the sampling rate; the angle difference value of each sampling point is obtained according to the difference between the sampling point and the adjacent sampling points; the angle stability changeability of the sampling rate is obtained according to the difference between the angle difference values of all adjacent sampling points; the sampling rate variation stability and the angle stability changeability are weighted to obtain the angle dynamic changeability of the sampling rate; Select the optimal sampling rate based on the magnetic field parameter coverage and angle dynamic change of the sampling rate, and perform gap measurement at the optimal sampling rate; The method for obtaining the coverage of magnetic field parameters at each sampling rate according to the sum of the repeatability of the upper and lower magnetic pole sequences and the variation of the adjustment angle is: The coverage of magnetic field parameters is negatively correlated with the variation of adjustment angle, and positively correlated with the repeatability of upper magnetic pole sequence and the repeatability of lower magnetic pole sequence. The method for obtaining the variation stability of the sampling rate according to the difference between the maximum value and the minimum value of the adjustment angle corresponding to the sampling rate is: For each sampling rate, calculate the difference between the maximum and minimum adjustment angles in all sampling points, and let the reciprocal of the difference be the variation stability corresponding to the sampling rate; The method for obtaining the angular stability of the sampling rate according to the difference of the angular difference values of all adjacent sampling points is: , Represents the angle difference value of the nth sampling point, Indicates the angle difference value of the n+1th sampling point, represents the number of sampling points, Indicates the stability of the angle change corresponding to the sampling rate.
2. The intelligent measurement method for magnetic pole gap of a medical cyclotron according to claim 1, characterized in that: The method for obtaining the repeatability of the upper magnetic pole sequence according to the element value difference between two adjacent elements in the upper magnetic pole sequence is: The repeatability of the upper magnetic pole sequence is negatively correlated with the difference in element values between adjacent elements in the upper magnetic pole sequence.
3. The intelligent measurement method for magnetic pole gap of a medical cyclotron as claimed in claim 1, characterized in that: The method for calculating the variation of the adjustment angle according to the Z scores of all the adjustment angles in the adjustment angle sequence is: For the adjustment angle sequence, the Z score of any adjustment angle in the adjustment angle sequence is calculated, and the absolute value of the difference between the number 1 and the Z scores of all sampling points is averaged to obtain the change of the adjustment angle.
4. The intelligent measurement method for magnetic pole gap of a medical cyclotron as claimed in claim 1, characterized in that: The method for obtaining the angle difference value of each sampling point according to the difference between the sampling point and the adjacent sampling points is: The absolute value of the difference between the adjustment angle of each sampling point and the next sampling point is recorded as the angle difference value corresponding to the sampling point.
5. The intelligent measurement method for magnetic pole gap of a medical cyclotron as claimed in claim 1, characterized in that: The method of weighting the sampling rate variation stability and the angle stability changeability to obtain the angle dynamic changeability of the sampling rate is: , Indicates the stability of sampling rate changes. Indicates the stable alternation of the angle corresponding to the sampling rate, represents the weight coefficient, Indicates the dynamic change of angle corresponding to the sampling rate.
6. The intelligent measurement method for magnetic pole gap of a medical cyclotron according to claim 1, characterized in that: The method for selecting the optimal sampling rate according to the magnetic field parameter coverage and angle dynamic change of the sampling rate is: Calculate the magnetic field parameter coverage of the sampling rate. If the magnetic field parameter coverage is not within the preset coverage range, the corresponding sampling rate is the optimal sampling rate. If the magnetic field parameter coverage is within the preset coverage range, the sampling rate is reduced at this time, and the angle dynamic change corresponding to the reduced sampling rate is calculated. If the angle dynamic change is within the preset dynamic range, the sampling rate is the optimal sampling rate at this time; if the angle dynamic change is not within the preset dynamic range, the magnetic field parameter coverage of the reduced sampling rate is recalculated and judged in turn.
7. A medical cyclotron magnetic pole gap intelligent measurement device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the medical cyclotron magnetic pole gap intelligent measurement method as described in any one of claims 1-6 are implemented.
Citation Information
Patent Citations
Angular difference-based surface shape precise reconstruction method
CN101776444A
Methods and systems for adaptive parameter sampling
CN110545305A