A medical cyclotron magnetic Hall probe calibration method and device
By analyzing the voltage and current values of the Hall probe at different temperatures and calculating the sensitivity compensation, the problem of inaccurate calibration of the Hall probe in the medical cyclotron is solved and the accuracy and stability of the signal are improved.
Patent Information
- Application Number
- CN202411095183.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-12
AI Technical Summary
The heat generated by the operation of the medical cyclotron causes errors in the measurement of the magnetic field inside the coil by the Hall probe, resulting in inaccurate calibration of the magnetic Hall probe.
By obtaining the voltage and current values of the Hall probe at different temperatures, analyze its sensitivity and temperature coefficient, calculate the sensitivity compensation degree, and perform calibration to reduce the impact of temperature and aging factors on the sensitivity of the Hall probe.
It improves the signal accuracy and stability of the Hall probe at different temperatures and ensures the accuracy of the cyclotron magnetic field.
Smart Images

Figure CN118642028B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of Hall probe calibration, and in particular to a calibration method and device for a medical cyclotron magnetic measurement Hall probe. Background Art
[0002] A medical cyclotron is a medical device used for radiation tumor treatment, especially for radiation therapy in radiation tumor therapy. The magnetic field of the cyclotron is mainly composed of room temperature magnets and coils. The accelerator magnetic field provides restraint and strong focusing force for the movement of the beam. Its magnetic field distribution and stability directly determine the performance of the accelerator. The calibration of the magnetic Hall probe can ensure that the energy and dose of the high-energy beam generated by the accelerator are accurate, avoiding excessive or insufficient radiation dose. By calibrating the Hall probe, the positioning accuracy of the beam can be guaranteed, ensuring that the radiation is accurately irradiated to the target tissue, thereby ensuring the stability of the equipment operation.
[0003] The existing method places the Hall probe in the magnetic field of the medical cyclotron, records the voltage or current output by the Hall probe, and then compares and adjusts it with the standard value to calibrate the Hall probe. However, when the medical cyclotron is working, the heat generated by its internal circuit coil may reduce the sensitivity of the Hall probe, causing the Hall probe inside the cyclotron to measure the magnetic field inside the coil in error, resulting in inaccurate calibration of the medical cyclotron's magnetic Hall probe. Summary of the invention
[0004] In order to solve the technical problem that the heat generated by the operation of the cyclotron causes errors in the Hall probe's measurement of the magnetic field inside the coil, resulting in inaccurate calibration of the Hall probe, the purpose of the present invention is to provide a medical cyclotron magnetic Hall probe calibration method and device, the technical solution adopted is as follows:
[0005] In a first aspect, an embodiment of the present invention provides a method for calibrating a medical cyclotron magnetic Hall probe, the method comprising:
[0006] Obtaining the voltage value and current value of the magnetic field measuring Hall probe of the medical cyclotron at each moment in the working time period at each level of temperature within the temperature range to be measured;
[0007] According to the discrete degree of the voltage value difference and the current value difference between each moment and its adjacent moments in the working time period at each level of temperature, the sensitivity of the magnetic Hall probe at each level of temperature is obtained;
[0008] According to the difference between the adjacent levels of temperature of the magnetic Hall probe within the temperature range to be measured and the difference in sensitivity, the sensitivity variation range and the temperature range to be measured, the sensitive temperature coefficient of the magnetic Hall probe is obtained;
[0009] Obtaining a sensitivity error value, and obtaining a sensitivity compensation degree of the magnetic Hall probe at each level of temperature according to the difference between each level of temperature and a preset standard temperature, the sensitivity temperature coefficient and the sensitivity error value;
[0010] The magnetic Hall probe is calibrated at each temperature level based on the sensitivity compensation.
[0011] Furthermore, the method for obtaining the sensitivity of the magnetic Hall probe at each level of temperature includes:
[0012] Select any moment except the last moment in the working time period at any level of temperature and record it as the target moment, and record the absolute value of the difference between the voltage value at the target moment and the next adjacent moment, and the ratio of the absolute value of the difference between the current value and the sum of the preset positive numbers as the local change value at the target moment;
[0013] The discrete coefficients of the local change values at the remaining moments except the last moment in the working time period at each level of temperature are negatively correlated and normalized to obtain the sensitivity of the magnetic Hall probe at each level of temperature.
[0014] Furthermore, the method for obtaining the sensitive temperature coefficient of the magnetic Hall probe includes:
[0015] According to the difference of the sensitivity at adjacent levels of temperature within the temperature range to be measured, the sensitivity change amplitude of the magnetic Hall probe is obtained; according to the difference of the temperature at adjacent levels within the temperature range to be measured, the temperature change amplitude is obtained; and the ratio of the sensitivity change amplitude to the temperature change amplitude is used as the first sensitivity change rate;
[0016] The ratio of the sensitivity range of the magnetic Hall probe at all levels of temperature within the temperature range to be measured to the sensitivity range of all levels of temperature is used as the second sensitivity change rate;
[0017] The sensitive temperature coefficient of the magnetic measuring Hall probe is obtained according to the first sensitivity change rate and the second sensitivity change rate.
[0018] Furthermore, the method for obtaining the sensitivity compensation degree of the magnetic Hall probe at each level of temperature includes:
[0019] According to the difference between each level temperature and the preset standard temperature, and the sensitive temperature coefficient, the sensitivity change degree of each level temperature is obtained;
[0020] The sensitivity variation and the sensitivity error value are used to adjust the preset standard sensitivity, so as to obtain the sensitivity compensation of the magnetic Hall probe at each level of temperature.
[0021] Furthermore, the method for calibrating the magnetic Hall probe at each level of temperature based on the sensitivity compensation degree includes:
[0022] The ratio of the preset standard sensitivity to the sensitivity compensation degree at each level of temperature is used as the sensitivity correction factor of the corresponding level of temperature;
[0023] The voltage value at each moment in the working time period at each level of temperature is weighted according to the sensitivity correction factor to obtain a calibrated voltage value at each moment in the working time period at each level of temperature.
[0024] Furthermore, the sensitivity error value is the absolute value of the difference between the maximum value of the sensitivity of the magnetic Hall probe at all levels of temperature within the temperature range to be measured and a preset standard sensitivity.
[0025] Furthermore, the method for obtaining the sensitivity variation amplitude of the magnetic Hall probe includes:
[0026] The average of the differences between the sensitivities at each temperature level except the highest temperature level within the temperature range to be measured and the previous temperature level is taken as the sensitivity variation amplitude of the magnetic Hall probe.
[0027] Furthermore, the method for obtaining the temperature variation amplitude according to the difference between the adjacent level temperatures within the temperature range to be measured includes:
[0028] Calculate the average of the differences between each temperature level except the highest temperature level within the temperature range to be measured and its previous temperature level as the temperature variation amplitude.
[0029] Furthermore, the method of using the sensitivity variation and the sensitivity error value to adjust the preset standard sensitivity to obtain the sensitivity compensation of the magnetic Hall probe at each level of temperature includes:
[0030] Determine whether the signs of the sensitivity change amplitude and the temperature change amplitude are opposite. If so, use the difference between constant 1 and the sensitivity change degree as the compensation weight at each level of temperature; if not, use the sum of constant 1 and the sensitivity change degree as the compensation weight at each level of temperature;
[0031] The preset standard sensitivity is weighted by using the compensation weight, and the sum of the weighted result and the sensitivity error value is used as the sensitivity compensation degree of the magnetic Hall probe at each level of temperature.
[0032] In a second aspect, another embodiment of the present invention provides a medical cyclotron magnetic Hall probe calibration device, comprising:
[0033] A data acquisition module is used to obtain the voltage value and current value of the magnetic field measuring Hall probe of the medical cyclotron at each moment in the working time period at each level of temperature within the temperature range to be measured;
[0034] A sensitivity analysis module is used to obtain the sensitivity of the magnetic Hall probe at each level of temperature according to the discrete degree of the voltage value difference and the current value difference between each moment and its adjacent moments in the working time period at each level of temperature;
[0035] A sensitive temperature module is used to obtain a sensitive temperature coefficient of the magnetic Hall probe according to the difference between adjacent temperature levels of the magnetic Hall probe within the temperature range to be measured and the difference in sensitivity, the sensitivity variation range and the temperature range to be measured;
[0036] A sensitivity compensation module is used to obtain a sensitivity error value, and obtain the sensitivity compensation degree of the magnetic Hall probe at each level of temperature according to the difference between each level of temperature and a preset standard temperature, the sensitive temperature coefficient and the sensitivity error value;
[0037] The magnetic Hall probe calibration module is used to calibrate the magnetic Hall probe at each level of temperature based on the sensitivity compensation.
[0038] The present invention has the following beneficial effects:
[0039] In an embodiment of the present invention, a change in current in the coil of a medical cyclotron will cause a change in the induced voltage of a magnetic Hall probe. The voltage change caused by a unit current change at different moments of a magnetic Hall probe with high sensitivity is a fixed value. The voltage change caused by the unit current change is reflected by the difference in voltage value and current value at each moment and its adjacent moments. The degree of discreteness is analyzed to measure the degree of synchronous change of the voltage value and the current value, so as to obtain the sensitivity of the magnetic Hall probe at each level of temperature. The difference in adjacent levels of temperature and the difference in sensitivity of the magnetic Hall probe within the temperature range to be measured are considered from a local range to determine the influence of temperature change on the sensitivity change of the magnetic Hall probe. The sensitivity change range and the temperature range to be measured are considered from an overall range to determine the influence of temperature change on the sensitivity change of the magnetic Hall probe. The average influence degree is calculated by comprehensively analyzing the above factors to improve the accuracy of the sensitive temperature coefficient in estimating the degree to which the sensitivity of the magnetic Hall probe is affected by temperature changes; the difference between each level of temperature and the preset standard temperature and the sensitive temperature coefficient are analyzed to quantify the difference between the sensitivity of the magnetic Hall probe at each level of temperature and the sensitivity at the preset standard temperature, and adjusted in combination with the sensitive error value to obtain the sensitivity compensation degree of the magnetic Hall probe at each level of temperature, so as to reduce the influence of factors such as the working temperature of the magnetic Hall probe and the aging of the coil on the sensitivity of the Hall probe, so that the sensitivity compensation degree of the magnetic Hall probe at each level of temperature is closer to the actual sensitivity; the magnetic Hall probe is calibrated using the sensitivity compensation degree to maintain the accuracy and stability of the output signal of the magnetic Hall probe at different temperatures. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A flowchart of a method for calibrating a magnetic Hall probe for a medical cyclotron provided by an embodiment of the present invention;
[0042] Figure 2 A flowchart of a method for obtaining the sensitivity of a magnetic Hall probe at each temperature level provided by an embodiment of the present invention;
[0043] Figure 3 A flowchart of a method for obtaining a sensitive temperature coefficient of a magnetic Hall probe provided by an embodiment of the present invention;
[0044] Figure 4A structural block diagram of a medical cyclotron magnetic Hall probe calibration device provided by one embodiment of the present invention;
[0045] Figure 5 A schematic diagram of a computer device for calibrating a medical cyclotron magnetic Hall probe provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a medical cyclotron magnetic Hall probe calibration method and device proposed by the present invention, its specific implementation, structure, features and effects, in conjunction 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.
[0047] 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 invention belongs.
[0048] The specific scheme of the medical cyclotron magnetic Hall probe calibration method and device provided by the present invention is described in detail below with reference to the accompanying drawings.
[0049] Embodiment 1:
[0050] The present invention proposes a calibration method for a medical cyclotron magnetic Hall probe. Figure 1 , which shows a flow chart of steps of a medical cyclotron magnetic Hall probe calibration method provided by an embodiment of the present invention, the method comprising:
[0051] Step S1: obtaining the voltage value and current value of the magnetic field measuring Hall probe of the medical cyclotron at each moment in the working time period at each temperature level within the temperature range to be measured.
[0052] The medical cyclotron is a high-energy particle accelerator used for cancer treatment. The uniformity and stability of the magnetic field in the medical cyclotron are crucial to the particle acceleration process. To ensure the accuracy of the magnetic field, a Hall sensor, i.e., a magnetic Hall probe, is usually used for measurement. The accuracy of the magnetic Hall probe affects the accuracy of the cyclotron magnetic field strength.
[0053] The Hall sensor is a sensor that measures magnetic fields and works based on the Hall effect principle. In a closed accelerator, the Hall sensor may age internally and change its operating temperature over time, affecting the sensitivity and stability of the Hall sensor. Therefore, the Hall sensor is calibrated based on the changes in the temperature, output voltage, and current in the magnetic field coil where the sensor is located under different working environments, so that it has higher accuracy at different working temperatures.
[0054] A heating device is arranged at a suitable position inside the medical cyclotron to simulate the temperature that may be generated in the internal environment when the magnetic Hall probe is working; a highly sensitive current sensor is placed near the magnetic field coil of the medical cyclotron to collect the current applied by the cyclotron coil, and a highly sensitive voltage sensor is placed near the magnetic Hall probe of the medical cyclotron to collect the induced voltage of the Hall probe. The data collection process is specifically as follows: arbitrarily select multiple levels of temperature from the temperature range to be measured, set the heating device to each level of temperature in turn, record the data of the voltage sensor at each moment during the working time period of the magnetic Hall probe at each level of temperature as the voltage value at each moment, and record the data of the current sensor as the current value at each moment.
[0055] It should be noted that the temperature range to be measured is equivalent to the range of change of the grade temperature. When the temperature increases from low to high, the grade of the temperature gradually increases; the duration of the working time period at each grade temperature is equal. In the embodiment of the present invention, the temperature range to be measured is 10 degrees Celsius to 30 degrees Celsius, where 10 degrees Celsius is the lowest grade temperature and 30 degrees Celsius is the highest grade temperature; the duration of the working time period is an empirical value of 2 hours, and the sampling frequency of the voltage value and the current value are once every three seconds, which can be set by the implementer according to the specific situation.
[0056] Step S2: Obtain the sensitivity of the magnetic Hall probe at each level of temperature according to the discrete degree of the voltage value difference and the current value difference between each moment and its adjacent moments in the working time period at each level of temperature.
[0057] If the current in the coil of the medical cyclotron changes, the magnetic field will also change, causing the induced voltage of the magnetic Hall probe to change, that is, the voltage value and the current value change synchronously. When the sensitivity of the magnetic Hall probe is high, under the condition of constant coil resistance, the voltage value and the current value keep the same interval and change synchronously in the same time, which means that the voltage change caused by the unit current change is a fixed value; when the sensitivity of the magnetic Hall probe is inaccurate, the magnetic Hall probe detection voltage is delayed or inaccurate, making the synchronization between the magnetic field voltage change and the coil current change poor, and the voltage change caused by the unit current change will change.
[0058] The voltage change caused by the unit current change is reflected by the voltage value difference and current value difference between each moment and its adjacent moments; the degree of change of the voltage change caused by the unit current change is judged according to the discrete degree of the voltage value difference and current value difference between each moment and its adjacent moments in the working time period at each level of temperature, and the degree of synchronous change of the voltage value and the current value can be measured, thereby determining the sensitivity of the magnetic Hall probe at each level of temperature.
[0059] See also Figure 2 , which shows a flowchart of the steps of a method for obtaining the sensitivity of a magnetic Hall probe at each level of temperature provided by an embodiment of the present invention, the method comprising:
[0060] Step S210: Select any moment except the last moment in the working time period at any level of temperature and record it as the target moment, and record the absolute value of the difference between the voltage value at the target moment and the next adjacent moment, and the ratio of the absolute value of the difference between the current value and the sum of the preset positive numbers as the local change value at the target moment. It should be noted that the method for obtaining the local change value at each moment in the working time period at each level of temperature is the same as the method for obtaining the local change value at the target moment.
[0061] In a specific implementation of the embodiment of the present invention, taking the ath level temperature in the temperature range to be measured as an example, the local change value at each moment in the working time period at the ath level temperature is expressed by the formula:
[0062]
[0063] In the formula, is the local change value at the tth moment in the working time period at the ath level temperature; is the voltage value at the tth moment in the working time period at the ath level temperature; is the voltage value at the t+1th moment in the working time period at the ath level temperature; is the current value at the tth moment in the working time period at the ath level temperature; is the current value at the t+1th moment in the working time period at the ath level temperature; It is a preset positive number with an empirical value of 0.01, which is used to prevent the denominator from being zero, which makes the fraction meaningless; It is an absolute value function. It should be noted that the local change value reflects the voltage change caused by the unit current change at each moment in the working time period; the local change value does not need to be calculated at the last moment in the working time period.
[0064] Step S220: negatively correlate and normalize the discrete coefficients of the local change values at the remaining moments except the last moment in the working time period at each level of temperature to obtain the sensitivity of the magnetic Hall probe at each level of temperature.
[0065] The local change value reflects the voltage change caused by the unit current change at each moment in the working time period. When the sensitivity of the magnetic Hall probe is high, the voltage change caused by the unit current change is a fixed value; when the sensitivity of the magnetic Hall probe is inaccurate, the voltage change caused by the unit current change will change. Therefore, the discrete degree of the local change value at each moment in the working time period at each level of temperature reflects the synchronous change of the voltage value and the current value.
[0066] When the dispersion coefficient of the local change value at the remaining moments except the last moment in the working time period at each level of temperature is smaller, the voltage change caused by the unit current change at all moments in the working time period is more concentrated, and the voltage value and the current value are closer to synchronous change, then the sensitivity of the magnetic Hall probe is higher; when the dispersion coefficient is larger, the voltage change caused by the unit current change at all moments in the working time period is more discrete, the synchronization of the voltage value and the current value is poor, and the sensitivity of the magnetic Hall probe is lower. Therefore, it is necessary to perform negative correlation processing on the dispersion coefficient of the local change value to obtain the sensitivity.
[0067] Statistical indicators such as algorithm mean difference, coefficient of variation and variance can reflect the degree of data dispersion. In the embodiment of the present invention, the coefficient of dispersion is selected as the algorithm mean difference, and the algorithm mean difference of the local change values at the remaining moments except the last moment in the working time period at each level of temperature is normalized, and the difference between the constant 1 and the normalized result is used as the sensitivity of the magnetic Hall probe at each level of temperature. In other embodiments, the algorithm mean difference can also be replaced by the coefficient of variation or variance.
[0068] It should be noted that, in the embodiment of the present invention, the Norm function is used for normalization processing, and other normalization methods may also be selected, such as function conversion and other normalization methods, which are not limited here.
[0069] Step S3: obtaining the sensitive temperature coefficient of the magnetic Hall probe according to the difference in temperature between adjacent levels and the difference in sensitivity of the magnetic Hall probe within the temperature range to be measured, the sensitivity variation range and the temperature range to be measured.
[0070] The difference in adjacent temperature levels of the magnetic Hall probe within the temperature range to be measured and the difference in sensitivity are used to consider the influence of temperature change on the sensitivity change of the magnetic Hall probe from a local range; the sensitivity change range and the temperature range to be measured are used to consider the average influence of temperature change on the sensitivity change of the magnetic Hall probe from an overall range. The above factors are analyzed comprehensively to improve the accuracy of the sensitive temperature coefficient in estimating the influence of temperature change on the sensitivity of the magnetic Hall probe.
[0071] See also Figure 3 , which shows a flowchart of the steps of a method for obtaining a sensitive temperature coefficient of a magnetic Hall probe provided by an embodiment of the present invention, the method comprising:
[0072] Step S310: according to the difference in sensitivity at adjacent levels of temperature within the temperature range to be measured, obtain the sensitivity change amplitude of the magnetic Hall probe; according to the difference in sensitivity at adjacent levels of temperature within the temperature range to be measured, obtain the temperature change amplitude; and take the ratio of the sensitivity change amplitude to the temperature change amplitude as the first sensitivity change rate.
[0073] Preferably, in some possible implementations of the embodiments of the present invention, the method for obtaining the sensitivity change amplitude and the temperature change amplitude includes: taking the average of the difference between the sensitivity of each level temperature except the highest level temperature in the temperature range to be measured and the temperature of the previous level temperature as the sensitivity change amplitude of the magnetic Hall probe; calculating the average of the difference between each level temperature except the highest level temperature in the temperature range to be measured and the temperature of the previous level temperature as the temperature change amplitude. The sensitivity change amplitude and the temperature change amplitude are expressed by the formula:
[0074]
[0075]
[0076] In the formula, is the sensitivity variation range of the magnetic Hall probe; A is the total number of grade temperatures within the temperature range to be measured; The sensitivity of the magnetic Hall probe at the ath level temperature within the temperature range to be measured; It is the sensitivity of the magnetic Hall probe at the a+1th level temperature within the temperature range to be measured; To measure the temperature change amplitude of the magnetic Hall probe; The ath level temperature of the magnetic Hall probe within the temperature range to be measured; It is the a+1th level temperature of the magnetic Hall probe within the temperature range to be measured.
[0077] It should be noted that, since the level temperature in this scheme increases with the level, the temperature change range Negative number. When the temperature increases with the level, if the sensitivity changes is a negative number, the sensitivity of the magnetic Hall probe increases with the increase of working temperature; if the sensitivity change amplitude is a positive number, and the sensitivity of the magnetic Hall probe decreases with the increase of the working temperature. Since the level temperature in the temperature range to be measured increases with the level, and the sensitivity of the magnetic Hall probe changes monotonically with temperature, the temperature change amplitude Sensitivity change range Cannot be zero.
[0078] The ratio of the absolute value of the sensitivity change amplitude of the magnetic Hall probe to the absolute value of the temperature change amplitude is taken as the first sensitivity change rate, which indicates the rate at which the sensitivity of the magnetic Hall probe changes with temperature, that is, the degree of influence of a unit temperature change on the sensitivity change of the magnetic Hall probe. The greater the first sensitivity change rate, the greater the influence of temperature change on the sensitivity of the magnetic Hall probe.
[0079] Step S320: taking the ratio of the sensitivity range of the magnetic Hall probe at all temperature levels within the temperature range to be measured to the sensitivity range of all temperature levels as the second sensitivity change rate.
[0080] The second sensitivity change rate also reflects the influence of unit temperature change on the sensitivity change of the magnetic Hall probe. When the second sensitivity change rate is larger, the influence of unit temperature change on the sensitivity of the magnetic Hall probe is more significant, and the rate at which the sensitivity of the magnetic Hall probe changes with temperature is greater.
[0081] Step S330: Obtaining the sensitive temperature coefficient of the magnetic Hall probe according to the first sensitivity change rate and the second sensitivity change rate.
[0082] The first sensitivity change rate considers the influence of unit temperature change on the sensitivity change of the magnetic Hall probe from the local range, that is, between adjacent temperature levels; the second sensitivity change rate considers the average influence of unit temperature change on the sensitivity change of the magnetic Hall probe from the temperature range to be measured; the first sensitivity change rate and the second sensitivity change rate are combined for analysis to improve the accuracy of the influence of temperature change on the sensitivity of the magnetic Hall probe. In the embodiment of the present invention, the average of the first sensitivity change rate and the second sensitivity change rate is used as the sensitive temperature coefficient of the magnetic Hall probe; when the sensitive temperature coefficient is larger, the sensitivity of the magnetic Hall probe is more affected by temperature change, the rate of change of sensitivity with temperature is larger, and the calibration amplitude when calibrating the magnetic Hall probe may be larger.
[0083] Preferably, the method for obtaining the sensitive temperature coefficient in the embodiment of the present invention is: taking the average of the first sensitive change rate and the second sensitive change rate as the sensitive temperature coefficient of the magnetic Hall probe; the calculation formula of the sensitive temperature coefficient is as follows:
[0084]
[0085] In the formula, is the sensitive temperature coefficient of the magnetic Hall probe; To measure the sensitivity change of the magnetic Hall probe; To measure the temperature change amplitude of the magnetic Hall probe; It is the extreme difference of the sensitivity of the magnetic Hall probe at all temperature levels within the temperature range to be measured; It is the extreme difference of all temperature levels within the temperature range to be measured; is the absolute value function; is the first sensitive change rate; is the second sensitive change rate.
[0086] Step S4: Obtain the sensitivity error value, and obtain the sensitivity compensation degree of the magnetic Hall probe at each level of temperature according to the difference between each level of temperature and the preset standard temperature, the sensitivity temperature coefficient and the sensitivity error value.
[0087] Ideally, the actual sensitivity of the magnetic Hall probe under temperature changes should be equal to the theoretical sensitivity after compensation. However, in reality, the coil of the cyclotron ages with the use time, resulting in differences between the two. In order to improve the accuracy of subsequent analysis, the sensitivity error value is obtained. When the maximum value of the sensitivity of the magnetic Hall probe at all levels of temperature corresponds to the level temperature, the less its sensitivity is affected by temperature changes, the difference between the maximum value of the sensitivity and the sensitivity of the magnetic Hall probe at the preset standard temperature, that is, the preset standard sensitivity, can more accurately represent the error value of the sensitivity caused by coil aging. Therefore, in the embodiment of the present invention, the absolute value of the difference between the maximum value of the sensitivity of the magnetic Hall probe at all levels of temperature in the temperature range to be measured and the preset standard sensitivity is used as the sensitivity error value.
[0088] It should be noted that, in the embodiment of the present invention, the preset standard temperature represents room temperature, with an empirical value of 20 degrees Celsius, and the preset standard sensitivity has an empirical value of 0.85, which can be set by the implementer according to the specific situation.
[0089] The sensitive temperature coefficient shows the rate at which the sensitivity of the magnetic Hall probe changes with temperature. It is known that the preset standard sensitivity of the magnetic Hall probe at the preset standard temperature is accurate data. This scheme first analyzes the difference between each level temperature and the preset standard temperature and the sensitive temperature coefficient to obtain the sensitivity change degree of each level temperature, which is used to quantify the difference between the sensitivity of the magnetic Hall probe at each level temperature and the preset standard sensitivity. Then, the preset standard sensitivity is adjusted using the sensitivity change degree, and the sensitivity error value is combined for adjustment to obtain the sensitivity compensation degree of the magnetic Hall probe at each level temperature, so as to reduce the influence of the working temperature of the magnetic Hall probe and the aging of the coil on the sensitivity of the Hall probe, so that the sensitivity compensation degree of the magnetic Hall probe at each level temperature is closer to the actual sensitivity.
[0090] Preferably, in some possible implementation methods of the embodiments of the present invention, the method for obtaining the sensitivity compensation degree includes: determining whether the signs of the sensitivity change amplitude and the temperature change amplitude are opposite, and if so, using the difference between the constant 1 and the sensitivity change degree as the compensation weight at each level of temperature; if not, using the sum of the constant 1 and the sensitivity change degree as the compensation weight at each level of temperature; using the compensation weight to weight the preset standard sensitivity, and using the sum of the weighted result and the sensitivity error value as the sensitivity compensation degree of the magnetic Hall probe at each level of temperature.
[0091] It should be noted that in the embodiment of the present invention, the sign of the product of the sensitivity change amplitude and the temperature change amplitude of the magnetic Hall probe is used to determine whether the signs of the sensitivity change amplitude and the temperature change amplitude are opposite.
[0092] Since the level temperature in this scheme increases with the level temperature, the temperature change amplitude is a negative number; when the sensitivity change amplitude is a positive number, it means that the sensitivity of the magnetic Hall probe decreases with the increase of the working temperature; if a certain level temperature is greater than the preset standard temperature, the sensitivity of the magnetic Hall probe at a certain level temperature should be less than the preset standard sensitivity, then the difference between constant 1 and the sensitivity change degree is used as the compensation weight at the level temperature, so that the sensitivity at the level temperature is less than the preset standard sensitivity. When the sensitivity change amplitude is a negative number, it means that the sensitivity of the magnetic Hall probe increases with the increase of the working temperature; if a certain level temperature is greater than the preset standard temperature, the sensitivity of the magnetic Hall probe at a certain level temperature should be greater than the preset standard sensitivity, then the sum of constant 1 and the sensitivity change degree is used as the compensation weight at the level temperature, so that the sensitivity at the level temperature is greater than the preset standard sensitivity.
[0093] In a specific implementation of the embodiment of the present invention, taking the ath level temperature in the temperature range to be measured as an example, the sensitivity compensation degree at the ath level temperature is expressed by the formula:
[0094]
[0095] In the formula, is the sensitivity compensation of the magnetic Hall probe at the ath level temperature within the temperature range to be measured; H is the ath level temperature within the temperature range to be measured; B is the preset standard temperature; To preset standard sensitivity; is the sensitive temperature coefficient of the magnetic Hall probe; is the sensitivity error value; To measure the sensitivity change of the magnetic Hall probe; To measure the temperature change amplitude of the magnetic Hall probe; It is the sensitivity change of the ath level temperature within the temperature range to be measured.
[0096] Step S5: Calibrate the magnetic Hall probe at each temperature level based on the sensitivity compensation.
[0097] The preset standard sensitivity is measured by the magnetic Hall probe at the preset standard temperature, i.e. room temperature. The preset standard sensitivity is used as a benchmark, and the magnetic Hall probe is adjusted in combination with the sensitivity compensation at each temperature level within the temperature range to be measured. This can maintain the accuracy and stability of the output signal of the magnetic Hall probe at different temperatures.
[0098] Preferably, the method for obtaining the calibration voltage value is: taking the ratio of the preset standard sensitivity to the sensitivity compensation degree at each level of temperature as the sensitivity correction factor of the corresponding level of temperature; weighting the voltage value at each moment in the working time period at each level of temperature according to the sensitivity correction factor to obtain the calibration voltage value at each moment in the working time period at each level of temperature. Taking the tth moment in the working time period at the ath level of temperature within the temperature range to be measured as an example, the calibration voltage value at this moment is expressed by the formula:
[0099]
[0100] In the formula, is the calibration voltage value of the magnetic Hall probe at the tth moment in the working time period at the ath level temperature within the temperature range to be measured; is the voltage value of the magnetic Hall probe at the tth moment in the working time period at the ath level temperature within the temperature range to be measured; To preset standard sensitivity; It is the sensitivity compensation degree of the magnetic Hall probe at the ath level temperature within the temperature range to be measured; It is the sensitivity correction factor of the magnetic Hall probe at the ath level temperature within the temperature range to be measured.
[0101] It should be noted that when When it is less than 1, at the a-th level temperature in the temperature range to be measured, the actual sensitivity of the magnetic Hall probe is lower than the preset standard sensitivity, and the output signal of the magnetic Hall probe at the a-th level temperature in the temperature range to be measured is ,use right Weighted so that the calibration voltage value Closer to the induced voltage output at the preset standard temperature.
[0102] The cyclotron magnetic field strength is adjusted by the proportionality coefficient between the calibration voltage value output by the magnetic Hall probe and the induced magnetic field, thereby achieving the purpose of calibrating the magnetic Hall probe in the working environment of each temperature level, so that the magnetic Hall probe can maintain the accuracy and stability of the probe output signal at different temperatures.
[0103] So far, the present invention is completed.
[0104] In summary, in an embodiment of the present invention, the sensitivity at each level of temperature is obtained according to the discrete degree of the voltage value difference and the current value difference at adjacent moments in the working time period at each level of temperature; the sensitive temperature coefficient is obtained according to the difference and sensitivity difference of adjacent level temperatures of the magnetic Hall probe in the temperature range to be measured, the sensitivity variation range and the temperature range to be measured, and at the same time, the sensitivity compensation degree of the magnetic Hall probe at each level of temperature is obtained by combining the difference between the level temperature and the preset standard temperature and the sensitivity error value, and the magnetic Hall probe is calibrated at each level of temperature. The present invention analyzes the sensitivity of the magnetic Hall probe at different levels of temperature to determine the sensitivity compensation degree, reduces the influence of the heat generated by the cyclotron on the sensitivity of the magnetic Hall probe, and improves the accuracy of the calibration of the magnetic Hall probe.
[0105] Embodiment 2:
[0106] Figure 4 A structural block diagram of a medical cyclotron magnetic Hall probe calibration device provided by an embodiment of the present invention is shown. The calibration device includes: a data acquisition module, a sensitive analysis module, a sensitive temperature module, a sensitive compensation module and a magnetic Hall probe calibration module.
[0107] The data acquisition module 610 is used to obtain the voltage value and the current value of the magnetic Hall probe of the medical cyclotron at each moment in the working time period at each level of temperature within the temperature range to be measured.
[0108] The sensitivity analysis module 620 is used to obtain the sensitivity of the magnetic Hall probe at each level of temperature according to the discrete degree of the voltage value difference and the current value difference between each moment and its adjacent moments in the working time period at each level of temperature.
[0109] The sensitive temperature module 630 is used to obtain the sensitive temperature coefficient of the magnetic Hall probe according to the difference between adjacent temperature levels of the magnetic Hall probe within the temperature range to be measured and the difference in sensitivity, the sensitivity variation range and the temperature range to be measured.
[0110] The sensitivity compensation module 640 is used to obtain the sensitivity error value, and obtain the sensitivity compensation degree of the magnetic Hall probe at each level of temperature according to the difference between each level of temperature and the preset standard temperature, the sensitive temperature coefficient and the sensitivity error value.
[0111] The magnetic Hall probe calibration module 650 is used to calibrate the magnetic Hall probe at each temperature level based on the sensitivity compensation.
[0112] It should be noted that the information interaction, execution process and other contents between the above modules, since the medical cyclotron magnetic Hall probe calibration device and the medical cyclotron magnetic Hall probe calibration method embodiment provided in the above embodiment belong to the same concept, the specific implementation process is detailed in the method embodiment and will not be repeated here.
[0113] Example 3
[0114] Figure 5 A schematic diagram of a computer device for calibrating a medical cyclotron magnetic Hall probe provided by an embodiment of the present invention. Figure 5 As shown, the computer device includes: a memory 701, a processor 702, and a computer program 703 stored in the memory 701 and running on the processor 702, wherein when the processor 702 executes the computer program 703, the computer device can execute any one of the medical cyclotron magnetic Hall probe calibration methods introduced above.
[0115] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a medical cyclotron magnetic Hall probe calibration method provided in an embodiment of the present application.
[0116] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0117] It should be understood that the device provided in this embodiment is used to execute the above-mentioned medical cyclotron magnetic Hall probe calibration method, and thus can achieve the same effect as the above-mentioned implementation method.
[0118] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a device, the processing module may be used to control and manage the actions of the device. The storage module may be used to support the device to execute mutual program codes, etc.
[0119] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits disclosed in the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0120] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0121] 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.
[0122] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for calibrating a medical cyclotron magnetic Hall probe, characterized in that: The method includes: Obtaining the voltage value and current value of the magnetic field measuring Hall probe of the medical cyclotron at each moment in the working time period at each level of temperature within the temperature range to be measured; According to the discrete degree of the voltage value difference and the current value difference between each moment and its adjacent moments in the working time period at each level of temperature, the sensitivity of the magnetic Hall probe at each level of temperature is obtained; According to the difference between the adjacent levels of temperature of the magnetic Hall probe within the temperature range to be measured and the difference in sensitivity, the sensitivity variation range and the temperature range to be measured, the sensitive temperature coefficient of the magnetic Hall probe is obtained; Obtaining a sensitivity error value, and obtaining a sensitivity compensation degree of the magnetic Hall probe at each level of temperature according to the difference between each level of temperature and a preset standard temperature, the sensitivity temperature coefficient and the sensitivity error value; Calibrate the magnetic Hall probe at each temperature level based on the sensitivity compensation; The method for obtaining the sensitivity of the magnetic Hall probe at each level of temperature includes: Select any moment except the last moment in the working time period at any level of temperature and record it as the target moment, and record the absolute value of the difference between the voltage value at the target moment and the next adjacent moment, and the ratio of the absolute value of the difference between the current value and the sum of the preset positive numbers as the local change value at the target moment; Negatively correlate and normalize the discrete coefficients of the local change values at the remaining moments except the last moment in the working time period at each level of temperature to obtain the sensitivity of the magnetic Hall probe at each level of temperature; The method for obtaining the sensitive temperature coefficient of the magnetic Hall probe comprises: According to the difference of the sensitivity at adjacent levels of temperature within the temperature range to be measured, the sensitivity change amplitude of the magnetic Hall probe is obtained; according to the difference of the temperature at adjacent levels within the temperature range to be measured, the temperature change amplitude is obtained; and the ratio of the sensitivity change amplitude to the temperature change amplitude is used as the first sensitivity change rate; The ratio of the sensitivity range of the magnetic Hall probe at all levels of temperature within the temperature range to be measured to the sensitivity range of all levels of temperature is used as the second sensitivity change rate; Obtaining a sensitive temperature coefficient of the magnetic measuring Hall probe according to the first sensitivity change rate and the second sensitivity change rate; The method for obtaining the sensitivity compensation degree of the magnetic Hall probe at each level of temperature includes: According to the difference between each level temperature and the preset standard temperature, and the sensitive temperature coefficient, the sensitivity change degree of each level temperature is obtained; The sensitivity variation and the sensitivity error value are used to adjust the preset standard sensitivity to obtain the sensitivity compensation of the magnetic Hall probe at each level of temperature; The method for calibrating the magnetic Hall probe at each level of temperature based on the sensitivity compensation degree includes: The ratio of the preset standard sensitivity to the sensitivity compensation degree at each level of temperature is used as the sensitivity correction factor of the corresponding level of temperature; The voltage value at each moment in the working time period at each level of temperature is weighted according to the sensitivity correction factor to obtain a calibrated voltage value at each moment in the working time period at each level of temperature.
2. A medical cyclotron magnetic Hall probe calibration method according to claim 1, characterized in that: The sensitivity error value is the absolute value of the difference between the maximum value of the sensitivity of the magnetic Hall probe at all levels of temperature within the temperature range to be measured and the preset standard sensitivity.
3. A medical cyclotron magnetic Hall probe calibration method according to claim 1, characterized in that: The method for obtaining the sensitive variation amplitude of the magnetic Hall probe comprises: The average of the differences between the sensitivities at each temperature level except the highest temperature level within the temperature range to be measured and the previous temperature level is taken as the sensitivity variation amplitude of the magnetic Hall probe.
4. A medical cyclotron magnetic Hall probe calibration method according to claim 1, characterized in that: The method for obtaining the temperature variation amplitude according to the difference between adjacent level temperatures within the temperature range to be measured comprises: Calculate the average of the differences between each temperature level except the highest temperature level within the temperature range to be measured and its previous temperature level as the temperature variation amplitude.
5. A medical cyclotron magnetic Hall probe calibration method according to claim 1, characterized in that: The method of using the sensitivity variation and the sensitivity error value to adjust the preset standard sensitivity to obtain the sensitivity compensation of the magnetic Hall probe at each level of temperature includes: Determine whether the signs of the sensitivity change amplitude and the temperature change amplitude are opposite. If so, use the difference between constant 1 and the sensitivity change degree as the compensation weight at each level of temperature; if not, use the sum of constant 1 and the sensitivity change degree as the compensation weight at each level of temperature; The preset standard sensitivity is weighted by using the compensation weight, and the sum of the weighted result and the sensitivity error value is used as the sensitivity compensation degree of the magnetic Hall probe at each level of temperature.
6. A medical cyclotron magnetic Hall probe calibration device, characterized in that: The device is applicable to the medical cyclotron magnetic Hall probe calibration method according to claim 1, comprising: A data acquisition module is used to obtain the voltage value and current value of the magnetic field measuring Hall probe of the medical cyclotron at each moment in the working time period at each level of temperature within the temperature range to be measured; A sensitivity analysis module is used to obtain the sensitivity of the magnetic Hall probe at each level of temperature according to the discrete degree of the voltage value difference and the current value difference between each moment and its adjacent moments in the working time period at each level of temperature; A sensitive temperature module is used to obtain a sensitive temperature coefficient of the magnetic Hall probe according to the difference between adjacent temperature levels of the magnetic Hall probe within the temperature range to be measured and the difference in sensitivity, the sensitivity variation range and the temperature range to be measured; A sensitivity compensation module is used to obtain a sensitivity error value, and obtain the sensitivity compensation degree of the magnetic Hall probe at each level of temperature according to the difference between each level of temperature and a preset standard temperature, the sensitive temperature coefficient and the sensitivity error value; The magnetic Hall probe calibration module is used to calibrate the magnetic Hall probe at each level of temperature based on the sensitivity compensation.
Citation Information
Patent Citations
Electromagnetic induction-based calibrating device and method for cyclotron magnetic testing system
CN107843865A
Editcyclotron magnetic measurement Hall probe temperature control device
CN108549043A
