Magnetic field measurement device, control method thereof, electronic equipment and related device

By using a combination of a magnetic field sensor and a mobile control module in a particle accelerator to automatically measure the magnetic field of a scanning magnet, the problems of poor magnetic field measurement accuracy and low efficiency in the existing technology are solved, and high-precision and high-efficiency magnetic field measurement is achieved.

CN118777957APending Publication Date: 2024-10-15MEVION MEDICAL EQUIPMENT CO LTD

Patent Information

Application Number
CN202411053236.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-02
Filing Date
2024-08-02
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing scanning magnet magnetic field measurement method relies on manual hand-held Hall sensors, which results in poor magnetic field measurement accuracy and low efficiency, and cannot accurately locate the magnetic field measurement point.

Method used

A device that combines a magnetic field sensor and a mobile control module is used to move the magnetic field sensor to each magnetic field measurement point through mechanization and automation, obtain and correct magnetic field characteristic parameters, and use the processor to execute a computer program for accurate measurement.

Benefits of technology

It improves the accuracy and efficiency of magnetic field measurement, reduces manual operation errors, and achieves comprehensive and high-precision measurement of the magnetic field of scanning magnets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118777957A_ABST
    Figure CN118777957A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a magnetic field measurement device and a control method thereof, electronic equipment and a related device, the magnetic field measurement device is used for measuring a magnetic field of a scanning magnet in a particle accelerator, and the device comprises a magnetic field sensor which is used for measuring magnetic field characteristic parameters corresponding to magnetic field measurement points of the scanning magnet; and the mobile control module is fixedly connected with the magnetic field sensor, and the mobile control module is used for moving the magnetic field sensor to each magnetic field measurement point so as to carry out magnetic field measurement on each magnetic field measurement point.
Need to check novelty before this filing date? Find Prior Art

Description

Cross-references

[0001] This application claims priority to Chinese application No. 2023109666125 filed on August 2, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present specification relates to the fields of particle accelerators, magnetic field measurement, and artificial intelligence of miniaturized proton radiotherapy equipment, and in particular to a magnetic field measurement device and a control method thereof, electronic equipment, and related devices. Background Art

[0003] Magnetic field measurement is one of the important processes in the design, measurement and calibration of particle accelerators. The particles in the particle accelerator are subjected to the magnetic field of the scanning magnet to achieve deflection control of the particle movement direction. The accuracy of the magnetic field data of the scanning magnet is directly related to the accuracy of the beam position of the entire particle accelerator. If the magnetic field strength is higher or lower than the preset magnetic field strength, the beam delivery position will have a position deviation.

[0004] The existing method for measuring the magnetic field of a scanning magnet is to manually move a handheld Hall sensor in the aperture area of ​​the scanning magnet for measurement, and obtain the magnetic field characteristic parameters at the corresponding position by reading the value of a Gaussmeter connected to the Hall sensor. However, since the Hall sensor cannot be accurately positioned when the magnetic field is measured, there are problems such as poor magnetic field measurement accuracy and low measurement efficiency.

[0005] Therefore, it is hoped to provide a magnetic field measuring device and a control method thereof, an electronic device and related devices, so as to solve the problems of poor magnetic field measurement accuracy and low measurement efficiency by performing magnetic field measurement through a mechanized and automated magnetic field measuring device. Summary of the invention

[0006] One or more embodiments of the present specification provide a magnetic field measurement device for measuring the magnetic field of a scanning magnet in a particle accelerator, the device comprising: a magnetic field sensor, the magnetic field sensor being used to measure magnetic field characteristic parameters corresponding to each magnetic field measurement point of the scanning magnet; a mobile control module, the mobile control module being fixedly connected to the magnetic field sensor, the mobile control module being used to move the magnetic field sensor to each of the magnetic field measurement points to perform magnetic field measurement on each of the magnetic field measurement points.

[0007] One or more embodiments of the present specification provide a control method for a magnetic field measuring device, which is used to use the above-mentioned magnetic field measuring device to measure the magnetic field of a scanning magnet in a particle accelerator, and the method includes: obtaining the magnetic field background of the environment in which the magnetic field measuring device is located; moving a magnetic field sensor fixedly connected to the mobile control module to each magnetic field measurement point of the scanning magnet through a mobile control module to measure the magnetic field at each of the magnetic field measurement points; and correcting the measurement result of each of the magnetic field measurement points based on the magnetic field background.

[0008] One or more embodiments of the present specification provide an electronic device for measuring the magnetic field of a scanning magnet in a particle accelerator by means of the above-mentioned magnetic field measuring device, wherein the electronic device comprises a memory and at least one processor, wherein the memory stores a computer program, and the at least one processor is configured to implement the following steps when executing the computer program: by means of a mobile control module, a magnetic field sensor fixedly connected to the mobile control module is moved to each magnetic field measurement point of the scanning magnet to perform magnetic field measurement on each of the magnetic field measurement points.

[0009] One or more embodiments of the present specification provide a computer-readable storage medium storing a computer program, which, when executed by at least one processor, implements the steps of the control method of the magnetic field measurement device or implements the functions of the electronic device.

[0010] Some or more embodiments of the present specification provide a computer program product, which includes a computer program, and when the computer program is executed by at least one processor, it implements the steps of the control method of the magnetic field measurement device or implements the functions of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0012] Figure 1 is a structural schematic diagram of a magnetic field measurement device provided in an embodiment of the present application;

[0013] Figure 2 is a structural schematic diagram of a heat exchange component provided in an embodiment of the present application;

[0014] Figure 3 It is a coordinate diagram of the position change of a scanning magnet provided in an embodiment of the present application;

[0015] Figure 4It is another coordinate schematic diagram of the position change of the scanning magnet provided in an embodiment of the present application;

[0016] Figure 5 It is a structural schematic diagram of a workbench provided in an embodiment of the present application;

[0017] Figure 6 yes Figure 5 A local enlarged schematic diagram of the middle A;

[0018] Figure 7 yes Figure 5 A partial enlarged schematic diagram of point B in the middle;

[0019] Figure 8 is a structural diagram of a mobile control module provided in an embodiment of the present application;

[0020] Fig. 9 It is a flow chart of a control method of a magnetic field measuring device provided in an embodiment of the present application;

[0021] Fig.10 It is a schematic diagram of a process of driving a mobile control module provided in an embodiment of the present application;

[0022] Fig.11 This is a schematic diagram of a process for obtaining mobile control information provided by an embodiment of the present application;

[0023] Fig.12 This is a schematic diagram of a process for adjusting mobile control information provided by an embodiment of the present application;

[0024] Fig.13 It is a schematic diagram of a temperature compensation process provided by an embodiment of the present application;

[0025] Fig.14 It is a schematic diagram of a flow chart of magnetic field characteristic parameter verification provided by an embodiment of the present application;

[0026] Fig.15 is a structural block diagram of an electronic device provided in an embodiment of the present application;

[0027] Fig.16 It is a schematic diagram of the structure of a computer program product provided by an embodiment of the present application;

[0028] Fig.17 It is a structural schematic diagram of a moving component based on Euler angles provided in an embodiment of the present application;

[0029] Fig.18 It is an exemplary schematic diagram of a rotating shaft provided in an embodiment of the present application.

[0030] In the figure: 100, magnetic field sensor; 200, mobile control module; 210, Z-axis translation assembly; 211, Z-axis guide rail; 212, Z-axis slider; 213, first stepper motor; 214, first encoder; 215, first transmission component; 2151, elastic coupling; 2152, transmission rod; 220, X-axis translation assembly; 221, X-axis guide rail; 222, X-axis slider; 223, second stepper motor; 224, second encoder; 230, Y-axis translation assembly Shift assembly; 231, Y-axis guide rail; 232, Y-axis slider; 233, third stepper motor; 234, third encoder; 240, extension rod; 300, scanning magnet; 400, workbench; 410, first fixing hole; 420, second fixing hole; 430, third fixing hole; 500, heat exchange assembly; 510, water cooling pipe fixing bracket; 520, cooling water inlet pipe; 530, cooling water outlet pipe; 540, ball valve; 550, temperature flow sensor. DETAILED DESCRIPTION

[0031] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following briefly introduces the drawings required for describing the embodiments. The drawings do not represent all implementation methods.

[0032] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. If other words can achieve the same purpose, the words can be replaced by other expressions.

[0033] Unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0034] When the operations are performed according to the step description in the embodiments of this specification, unless otherwise specified, the order of the steps is interchangeable, the steps may be omitted, and other steps may be included in the operation process.

[0035] Figure 1 It is a structural schematic diagram of a magnetic field measurement device provided in an embodiment of the present application.

[0036] The magnetic field measuring device is used to measure the magnetic field of the scanning magnet in the particle accelerator. Figure 1 As shown, the magnetic field measuring device may include a magnetic field sensor 100 and a movement control module 200 .

[0037] The magnetic field sensor 100 is used to measure the magnetic field characteristic parameters corresponding to each magnetic field measurement point of the scanning magnet 300 .

[0038] The scanning magnet 300 refers to a device for controlling the movement of a particle beam in a particle accelerator. In some embodiments, the scanning magnet 300 may be composed of a group of electromagnetic coils, and a magnetic field is generated by applying an electric current.

[0039] In some embodiments, particle accelerators may include cyclotrons, linear accelerators, cyclic accelerators, pulsed accelerators, linear induction accelerators, electron linear accelerators, etc. This specification does not limit the particle accelerator.

[0040] In some embodiments, the magnetic field sensor 100 may include magnetoresistive sensors, hall effect sensors, magnetostrictive sensors, magnetic induction coils, fluxgate magnetometers, magnetic field array sensors, etc. This specification does not limit the magnetic field sensor 100.

[0041] In some embodiments, the magnetic field sensor 100 may also be integrated with a temperature sensing unit for acquiring the temperature in the magnetic field space of the scanning magnet 300 .

[0042] The magnetic field measurement point refers to the point at which the magnetic field measurement is performed on the magnetic field space position of the scanning magnet. In some embodiments, the plurality of magnetic field measurement points are located in the magnetic field space of the scanning magnet 300. In some embodiments, the density of the magnetic field measurement points can be represented by the spacing of the magnetic field measurement points. The larger the spacing, the lower the density of the magnetic field measurement points. In some embodiments, the spacing of the magnetic field measurement points can be determined by user presets or the like.

[0043] In some embodiments, the magnetic field measurement point is located in the area to be measured in the magnetic field space. The area to be measured refers to the area where the characteristic parameters of the magnetic field are to be measured, including multiple magnetic field measurement points. In some embodiments, the area to be measured may include an area extending at both ends of the length direction of the aperture area of ​​the scanning magnet 300.

[0044] In some embodiments, the area to be measured may be larger than the aperture area of ​​the scanning magnet 300. For example, the aperture area of ​​the scanning magnet 300 may be an approximate cylinder with a length of 500 mm and a radius of 100 mm, and the length of the area to be measured may be 700 mm, i.e., the area extending at both ends along the length direction of the aperture area. If the user presets the spacing of the magnetic field measurement points to 5 mm, the number of magnetic field measurement points may be approximately 20,000. Therefore, for relatively dense magnetic field measurement points, it is impossible to manually perform magnetic field measurement.

[0045] In some embodiments, the magnetic field measurement device 100 may further include an image acquisition component (not shown in the figure). The image acquisition component is used to obtain a photo of the aperture area of ​​the scanning magnet, so as to obtain the shape of the aperture area of ​​the scanning magnet based on the photo of the aperture area. In some embodiments, after taking a photo of the aperture area of ​​the scanning magnet, the image acquisition component can identify the shape of the aperture area, such as a circle, an ellipse, etc., by an image processing algorithm and the like, and obtain geometric size and position information.

[0046] In some embodiments of the present specification, the application of image acquisition components and image recognition algorithms enables the recognition of the shape of the aperture area to be automated without manual intervention, thereby improving the intelligence level of the magnetic field measurement device and saving the operator's time and energy. At the same time, adaptive measurement of aperture areas of different shapes is achieved, and whether the aperture area is circular, elliptical or other shapes, it can be flexibly adapted to ensure the comprehensiveness and accuracy of the measurement.

[0047] Magnetic field characteristic parameters refer to data related to the magnetic field, such as magnetic field direction, magnetic field strength, etc.

[0048] For more information about magnetic field measurement points and magnetic field characteristic parameters, see Fig.11 and its related description.

[0049] The mobile control module 200 is used to move the magnetic field sensor 100 to each magnetic field measurement point to measure the magnetic field at each magnetic field measurement point. In some embodiments, the mobile control module 200 and the magnetic field sensor 100 may be connected by a fixed connection or the like.

[0050] Figure 2 It is a structural schematic diagram of a heat exchange component provided in an embodiment of the present application.

[0051] In some embodiments, Figure 1 As shown, the magnetic field measurement device 100 may further include a power amplifier (not shown in the figure) and a heat exchange component 500 .

[0052] The power amplifier is used to supply power to the scanning magnet 300. In some embodiments, the power amplifier can amplify the input power signal and output a high-power current to meet the power supply requirements of the scanning magnet.

[0053] The heat exchange assembly 500 is used to cool the scanning magnet 300 and the power amplifier. In some embodiments, the magnetic field measurement device can cool the scanning magnet and the power amplifier through the heat exchange assembly.

[0054] In some embodiments, Figure 2 As shown, the heat exchange assembly 500 may include a cooling water inlet pipe 520 , a cooling water outlet pipe 530 , a ball valve 540 , a temperature flow sensor 550 , and a water cooling pipe fixing bracket 510 .

[0055] In some embodiments, the cooling water inlet pipe 520 and the cooling water outlet pipe 530 may be respectively connected to the scanning magnet 300 to provide liquid cooling for the scanning magnet 300 .

[0056] The ball valve 540 is used to control the opening or closing of the cooling water. In some embodiments, one end of the ball valve 540 can be connected to the cooling water outlet pipe 530, and the other end thereof is connected to the temperature flow sensor 550. The temperature flow sensor 550 is used to record the flow and temperature of the cooling water.

[0057] The water cooling pipe fixing bracket 510 is used to fix the cooling water inlet pipe 520, the cooling water outlet pipe 530, the ball valve 540 and the temperature flow sensor 550. By fixing the cooling water inlet pipe 520, the cooling water outlet pipe 530, the ball valve 540 and the temperature flow sensor 550 on the water cooling pipe fixing bracket 510, the overall stability of the heat exchange assembly 500 can be ensured.

[0058] In some embodiments, a thermally coupled interlock switch may be provided in the scanning magnet 300. When the internal temperature of the scanning magnet 300 is too high, the interlock mechanism is triggered, an overtemperature alarm message is sent, and the current measurement is stopped to avoid failure, damage or accident of the scanning magnet 300 and ensure the safety of equipment and personnel.

[0059] In some embodiments of the present specification, by applying a power amplifier, it is possible to ensure that the scanning magnet obtains a stable high-power power supply, thereby generating a strong magnetic field, which helps to ensure the stability and accuracy of the magnetic field measuring device and avoid measurement errors caused by power supply fluctuations or instability. Through the power amplifier and the heat exchange component, the influence of thermal effects and power supply fluctuations on the measurement results of the magnetic field measuring device during operation can be effectively reduced, thereby enhancing the stability and reliability of the magnetic field measuring device.

[0060] Figure 3It is a coordinate diagram of the position change of a scanning magnet provided in an embodiment of the present application. Figure 4 This is another coordinate diagram of the position change of the scanning magnet provided in an embodiment of the present application.

[0061] In some embodiments, the magnetic field measurement device 100 may further include a position compensation unit (not shown in the figure).

[0062] The position compensation unit is used to eliminate the position error caused by the change of the position of the scanning magnet. In some embodiments, the position compensation unit may include an accelerometer, a gyroscope, an angular displacement sensor, an inclination sensor, etc., and this specification does not limit the position compensation unit.

[0063] In some embodiments, the position compensation unit may be mounted on the scanning magnet or at a location close to the scanning magnet.

[0064] In some embodiments, Figure 3 As shown, taking the XY plane as an example, the initial point is point A, and after the position of the scanning magnet changes, it changes to point B. At this time, the coordinates change from (X0, Y0) to (X1, Y1). According to the vector That is, the displacement from point A to point B. The acceleration component and movement time along the X or Y direction in the position change are obtained by the accelerometer, and the change in the X or Y direction △X or △Y is calculated by the preset displacement formula, and then the scanning magnet is positionally compensated. The preset displacement formula can be shown in the following formula (1): S=1 / 2at 2 Formula (1)

[0065] Among them, S represents the change in the X or Y direction △X or △Y, a represents the acceleration component, and t represents the movement time.

[0066] In some embodiments, Figure 4 As shown, taking the XZ plane as an example, the XZ coordinate system is the original reference coordinate position obtained by the accelerometer, and the X'Z' coordinate system is the deflected position of the coordinate system after the position change. Due to the difference in the deflection position of the front and rear coordinate systems, the deflection position of any point in the coordinate system can be determined by the relative position of the coordinate system. For example, any two points p (Xp, 0) and m (0, Zm) on the X and Z axes, after rotating by an angle of β, are p'(Xp', Zp') and m'(Xm', Zm') relative to the original coordinate position. Then point p, point m, p' and m' have the following geometric relationship: cosβ=Xp' / Xp; sinβ=Zp' / Xp; cosβ=Zm' / Zm; sinβ=Xm' / Zm.

[0067] In some embodiments, the position compensation unit may compensate the deflected position using a geometric relationship to eliminate the influence on the magnetic field measurement.

[0068] In some embodiments of the present specification, for the magnetic field measurement of the scanning magnet, since a current amplifier is required to power the scanning magnet, when a large current is applied to the scanning magnet, the interaction force of the magnetic field between its internal coils causes the scanning magnet to shake, causing the position of the scanning magnet to change. The position compensation unit monitors the position change of the scanning magnet in real time. Once a position change is detected, the compensation unit can adjust the relevant parameters of the measurement, such as updating the coordinate system and other technical means to achieve accurate position correction. By eliminating position errors, the position compensation unit can improve the stability of magnetic field measurement and reduce measurement errors caused by, for example, vibration of the scanning magnet, thereby ensuring reliability for long-term operation.

[0069] Figure 5 is a structural schematic diagram of a workbench 400 provided in an embodiment of the present application, Figure 6 yes Figure 4 A partial enlarged schematic diagram of point A in the middle. Figure 7 yes Figure 4 A local enlarged schematic diagram of point B in the middle.

[0070] In some embodiments, the magnetic field measurement device 100 may include a workbench 400. The workbench may be used to carry and fix the magnetic field measurement device.

[0071] In some embodiments, Figure 6 As shown, the workbench 400 may be provided with at least one first fixing hole 410 and at least one second fixing hole 420. The first fixing hole 410 is used to fix the movement control module 200. The second fixing hole 420 is used to fix the scanning magnet 300.

[0072] In some embodiments, Figure 7 As shown, the workbench 400 may be provided with at least one third fixing hole 430. The third fixing hole 430 is used to fix the water cooling pipe fixing bracket 510.

[0073] In some embodiments, the workbench 400 can be made of non-ferromagnetic materials, such as aluminum alloy, titanium alloy, stainless steel, etc. The workbench is made of non-ferromagnetic materials, and the workbench does not generate or enhance the magnetic field, so no additional magnetic field interference is introduced during the measurement process, the accuracy of the measurement can be maintained, and the source of error can be avoided.

[0074] In some embodiments, the mobile control module and the scanning magnet are respectively fixed to the first fixing hole and the second fixing hole of the workbench by mechanical means. The relative position of the mobile control module and the scanning magnet is fixed. When the workbench is a plane, the mobile control module and the scanning magnet are always located on the same plane. Regardless of whether the ground is flat or not, the stability and accuracy of the magnetic field measurement device are maintained, which helps to eliminate the impact of the uneven ground. At the same time, the workbench has high stability and rigidity, which ensures that the mobile control module and the scanning magnet are firmly fixed on the workbench, helps to eliminate unnecessary vibration and offset, and improves the accuracy of magnetic field measurement.

[0075] In some embodiments, the magnetic field measuring device may further include a gyroscope and an accelerometer. In some embodiments, the gyroscope and the accelerometer may be rigidly connected to the magnetic field sensor.

[0076] The gyroscope is used to collect the angular motion data of the magnetic field sensor during its movement. The accelerometer is used to collect the acceleration data of the magnetic field sensor.

[0077] Angular motion data refers to data related to the rotation of the magnetic field sensor. In some embodiments, the angular motion data may include the rotation angle, motion speed, etc. of the magnetic field sensor in the direction corresponding to the rotation axis. For an explanation of the rotation axis, see Figure 8 and its related description.

[0078] The acceleration data refers to the acceleration of the magnetic field sensor in the direction of rotation.

[0079] In some embodiments, the magnetic field measurement device may determine the displacement deviation of the magnetic field sensor based on the angular motion data and the acceleration data, and compensate the movement control information of the movement control module based on the displacement deviation.

[0080] Displacement deviation refers to the deviation between the actual displacement of the magnetic field sensor and the theoretical displacement corresponding to the movement control information. The actual displacement refers to the displacement actually made by the magnetic field sensor. The theoretical displacement is the displacement made by the magnetic field sensor based on the movement control information. For an explanation of the movement control information, see Fig.10 and its related description.

[0081] Since the extension rod of the movement control module itself has weight and devices such as the magnetic sensor have weight, there may be a deviation between the actual displacement of the magnetic field sensor and the theoretical displacement corresponding to the movement control information.

[0082] For example, the magnetic field sensor should move 5 cm along the aperture area of ​​the scanning magnet based on the movement control information, but due to gravity, the actual moving direction of the magnetic field sensor may bend vertically downward, causing the actual displacement of the magnetic field sensor to deviate from the theoretical displacement in the vertically downward direction.

[0083] In some embodiments, the magnetic field measurement device can calculate the actual displacement of the magnetic field sensor based on the angular motion data and the acceleration motion data through mathematical methods such as vector displacement calculation or physical formulas, and determine the direction and distance of the actual displacement from the theoretical displacement as the displacement deviation.

[0084] In some embodiments, the magnetic field measurement device can compensate the movement control information in the opposite direction and distance of the displacement deviation based on the displacement deviation. For example, if the actual displacement deviates from the theoretical displacement by 1 mm in the vertical downward direction, the movement control information needs to be adjusted so that the magnetic field sensor can move 1 mm in the vertical upward direction.

[0085] In some embodiments of the present specification, the movement control information of the movement control module is compensated by the displacement deviation, so that the movement of the magnetic field sensor can be more accurate, thereby obtaining more accurate magnetic field characteristic parameters.

[0086] In some embodiments, the magnetic field measuring device can also detect the magnitude of the hysteresis effect of the scanning magnet. The hysteresis effect refers to the lag between the change in the magnetic field of the scanning magnet and the change in the current when the current passing through the scanning magnet is changed. In some embodiments, the magnitude of the hysteresis effect can be characterized by the time difference between the change time of the magnetic field characteristic parameter and the change time of the electrical signal. The larger the time difference, the greater the hysteresis effect.

[0087] In some embodiments, when the electrical signal of the scanning magnet changes, the magnetic field measuring device can record the change time of the electrical signal, and at the same time obtain the magnetic field characteristic parameters of a magnetic field measurement point before and after the electrical signal changes through the magnetic field sensor, determine the change time of the magnetic field characteristic parameters, and calculate the time difference between the change time of the magnetic field characteristic parameters and the change time of the electrical signal to obtain the magnitude of the hysteresis effect. The electrical signal may include current, voltage, power, etc.

[0088] In some embodiments of the present specification, the magnetic field measuring device can also detect the magnitude of the hysteresis effect of the scanning magnet, further expanding the scope of application.

[0089] In some embodiments, the magnetic field measuring device may include a processor. The processor may be used to process data from at least one module or component of the magnetic field measuring device. The processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical operation processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), a microprocessor, etc. or any combination thereof. In some embodiments, the processor 110 may be a single server or a server group.

[0090] In some embodiments, the magnetic field measuring device may include a storage device. The storage device may be used to store data, instructions and / or any other information. In some embodiments, the storage device may store data and / or information from at least one component or module of the magnetic field measuring device. For example, the storage device may store a temperature rise database, particle acceleration information, estimated particle paths, etc. In some embodiments, the storage device may store data and / or instructions that the processor uses to execute or use to complete the exemplary methods described in this specification. For example, the storage device may store instructions for determining the cooling parameters of a heat exchange component for execution by the processor.

[0091] In some embodiments of the present specification, by using a magnetic field sensor and a mobile control module, high-precision magnetic field measurement can be achieved for multiple magnetic field measurement points of a scanning magnet, avoiding errors that may be introduced by manual measurement, and improving the accuracy and reliability of the measurement. The use of the mobile control module automates the magnetic field measurement process, greatly improving the measurement efficiency, and saving time and labor costs compared to traditional manual measurement methods. By setting multiple magnetic field measurement points at predetermined positions, the magnetic field distribution information of the entire scanning magnet can be obtained, thereby more comprehensively understanding the magnetic field characteristics.

[0092] Figure 8 It is a structural diagram of a mobile control module provided in an embodiment of the present application.

[0093] In some embodiments, Figure 8 As shown, the movement control module 200 may include a Z-axis translation assembly 210 , an X-axis translation assembly 220 , a Y-axis translation assembly 230 , and an extension rod 240 .

[0094] In some embodiments, the Z-axis translation assembly 210 may include a Z-axis guide rail 211 and a Z-axis slider 212. The Z-axis slider 212 may move along the Z-axis guide rail 211.

[0095] In some embodiments, the X-axis translation assembly 220 may include an X-axis guide rail 221 and an X-axis slider 222. The X-axis guide rail 221 may be fixed to the Z-axis slider 212, and the X-axis slider 222 may move along the X-axis guide rail 221.

[0096] In some embodiments, the Y-axis translation assembly 230 may include a Y-axis guide rail 231 and a Y-axis slider 232. The Y-axis guide rail 231 may be fixed to the X-axis slider 222, and the Y-axis slider 232 may move along the Y-axis guide rail 231.

[0097] The Z-axis translation assembly 210 is used to control the translation of the magnetic field sensor 100 in the Z-axis direction, that is, the forward and backward movement direction of the magnetic field sensor 100. The X-axis translation assembly 220 is used to control the translation of the magnetic field sensor 100 in the X-axis direction, that is, the left and right movement direction of the magnetic field sensor 100. The Y-axis translation assembly 230 is used to control the translation of the magnetic field sensor 100 in the Y-axis direction, that is, the up and down movement direction of the magnetic field sensor 100.

[0098] The extension rod 240 is used to drive the magnetic field sensor to extend into the detection area of ​​the scanning magnet 300. In some embodiments, one end of the extension rod 240 can be fixed on the Y-axis slider 232, and the other end of the extension rod 240 can be connected to the magnetic field sensor 100 by a fixed connection or the like.

[0099] In some embodiments, the extension rod 240 may be parallel to the Z-axis guide rail 211 and there is only one extension rod 240 .

[0100] In some embodiments, the extension rod 240 may be a hollow carbon fiber rod.

[0101] In some embodiments of the present specification, the hollow carbon fiber rod has high strength and excellent rigidity, can remain stable during movement, is not easily deformed or vibrated, helps to ensure the stability of the position of the magnetic field sensor, and improves the accuracy of the magnetic field measurement. At the same time, the use of the hollow carbon fiber rod can significantly reduce the overall weight of the magnetic field measurement device, can reduce inertia and load during movement, and improve sensitivity. In addition, the hollow carbon fiber rod has good anti-interference performance, is not easily affected by external electromagnetic interference, and helps to ensure the accuracy and stability of the magnetic field sensor 100 measurement.

[0102] In some embodiments of the present specification, the magnetic field sensor can be accurately moved to each magnetic field measurement point of the scanning magnet by precisely controlling the Z-axis translation assembly, the X-axis translation assembly, and the Y-axis translation assembly. Through the linkage control of the three axial translation assemblies, the magnetic field sensor can be accurately positioned in three dimensions, covering all possible positions of the scanning magnet, ensuring a comprehensive measurement of the entire scanning magnet magnetic field, and avoiding missing any key points. At the same time, a fully automated measurement process is achieved, which greatly saves time and labor costs, and improves the accuracy and repeatability of the measurement. In addition, since the magnetic field sensor is allowed to be flexibly moved and adjusted to adapt to scanning magnets of different models and sizes, the magnetic field measurement device can be widely used in magnetic field measurements of different scanning magnets.

[0103] In some embodiments, the Z-axis translation assembly 210 may further include a first stepper motor 213, a first transmission component 215, and a first encoder 214. The first stepper motor 213 may be fixed to the Z-axis guide rail 211, and the first stepper motor 213 may drive the Z-axis slider 212 to move on the Z-axis guide rail 211 through the first transmission component 215. The first encoder 214 may be installed on the motor shaft of the first stepper motor 213 to measure the rotation distance of the first stepper motor 213 in real time. The stepper motor may control the moving distance according to the number of input pulse signals.

[0104] In some embodiments, the X-axis translation assembly 220 may further include a second stepper motor 223 and a second encoder 224. The second stepper motor 223 may be fixed to the X-axis guide rail 221. The second encoder 224 may be mounted on the motor shaft of the second stepper motor 223 to measure the rotation distance of the second stepper motor 223 in real time.

[0105] In some embodiments, the Y-axis translation assembly 230 may further include a third stepper motor 233 and a third encoder 234. The third stepper motor 233 may be fixed to the Y-axis guide rail 231. The third encoder 234 may be mounted on the motor shaft of the third stepper motor 233 to measure the rotation distance of the third stepper motor 233 in real time.

[0106] In some embodiments, in order to cooperate with the stepper motor, the Z-axis guide 211, the X-axis guide 221 and the Y-axis guide 231 can all use the same transmission device. For example, a synchronous toothed transmission belt. The synchronous toothed transmission belt can provide a high-precision transmission effect, so that the stepper motor can accurately move the magnetic field sensor to the target position. This is crucial for accurate magnetic field measurement, especially when it is necessary to move within a small range, the transmission accuracy is very important. At the same time, the use of a synchronous toothed transmission belt can achieve a transmission process without slipping, so no gap is generated, ensuring that there is no return error during the transmission process, which can avoid error accumulation and improve overall stability and reliability.

[0107] In some embodiments, the Z-axis translation group 210 may include two Z-axis guide rails 211 arranged in parallel, and the first transmission component 215 may be arranged between the two Z-axis guide rails 211 to connect the two Z-axis guide rails 211 .

[0108] In some embodiments, the first transmission component 215 may include two elastic couplings 2151 and a transmission rod 2152 disposed between the two elastic couplings 2151. The two elastic couplings 2151 correspond to the two Z-axis guide rails 211 respectively. The elastic coupling is used to transmit torque, adjust slight shaft connection deviation, and provide torsional elasticity and impact load protection for the two connected Z-axis guide rails. The transmission rod is used to connect the two elastic couplings.

[0109] In some embodiments, the first stepper motor 213 can be disposed at one end of one of the Z-axis guide rails 211 and connected to the elastic coupling 2151 corresponding to the Z-axis guide rail 211 .

[0110] In some embodiments, the first stepper motor 213 can drive the Z-axis guide rail 211 close to and connected to it to move, while the Z-axis guide rail 211 on the opposite side is driven by power transmission through the elastic coupling 2151 and the transmission rod 2152, so that the two Z-axis guide rails 211 can maintain the same movement.

[0111] In some embodiments of the present specification, two parallel Z-axis guide rails are provided to make the X-axis guide rail fixed on the two Z-axis sliders more stable, and an elastic coupling is used between the Z-axis guide rails and the transmission rod to ensure that any slight misalignment or installation tolerance will not adversely affect the smooth movement of the Z-axis slider, thereby improving the overall stability and precision and ensuring the accuracy of the magnetic field measurement.

[0112] In some embodiments of this specification, by measuring the rotation distance of the stepper motor in real time through the encoder, accurate position feedback can be provided to ensure the control accuracy of the stepper motor. Through closed-loop control, very high positioning accuracy can be achieved. Thus, through the coordinated work of the stepper motor, the encoder and the guide rail slider, high-precision mobile control of the mobile control module can be achieved.

[0113] In some embodiments, the movement control module may further include a movement component based on Euler angles. The movement component based on Euler angles may control the movement of the magnetic field sensor based on a rotation axis of the Euler angles.

[0114] In some embodiments, in combination Fig.17 , Fig.18 As shown, the rotation axis based on the Euler angle may include a telescopic axis, a rotation axis, and a radial axis.

[0115] The direction of the telescopic axis is the same as the extension direction of the aperture area (e.g. Fig.17 , Fig.18 The telescopic axis allows the magnetic field sensor to move axially along the aperture area of ​​the scanning magnet. For a description of the aperture area, see Figure 1 and its related description.

[0116] The rotating shaft can enable the magnetic field sensor to rotate around the axial direction of the telescopic shaft. Fig.17 , Fig.18 As shown, as the rotating shaft rotates around the axial direction of the telescopic shaft, the position of point y can be rotated to point y' or point y".

[0117] The direction of the radial axis is perpendicular to the telescopic axis and extends toward the aperture area. The radial axis can make the magnetic field sensor extend in the circumferential direction with the axial direction of the telescopic axis as the center. Fig.17 , Fig.18 As shown, position x1 on the radial axis can be changed to position x2 as the radial axis is extended, position x1' can be changed to position x2' as the radial axis is extended, and position x1" can be changed to position x2" as the radial axis is extended.

[0118] In some embodiments, the Euler angle based movement assembly may include a telescopic axis assembly, a rotational axis assembly, and a radial axis assembly.

[0119] Telescopic shaft assembly (such as Fig.17 210) is used to control the magnetic field sensor to move based on the telescopic shaft direction. In some embodiments, the telescopic shaft assembly may include a telescopic shaft, a first stepper motor and a first encoder. The first stepper motor drives the telescopic shaft to extend and retract. The first encoder is installed on the motor shaft of the first stepper motor and is used to measure the rotation distance of the first stepper motor in real time.

[0120] The rotating shaft assembly is used to control the magnetic field sensor to move based on the direction of the rotating shaft. In some embodiments, the rotating shaft assembly may include a rotating shaft, a second stepper motor, and a second encoder. The second stepper motor drives the rotating shaft to rotate. The second encoder is installed on the motor shaft of the second stepper motor to measure the rotation distance of the second stepper motor in real time. In some embodiments, the second stepper motor can be installed at the axis of the radial shaft to control the rotation of the magnetic field sensor.

[0121] Radius shaft assembly (such as Fig.17 230 in the figure is used to control the magnetic field sensor to move based on the radial axis direction. It includes a radial axis, a third stepper motor and a third encoder. The third stepper motor drives the radial axis to extend and retract. The third encoder is installed on the motor shaft of the third stepper motor and is used to measure the rotation distance of the third stepper motor in real time. In some embodiments, the radial axis can be connected to the magnetic field sensor (such as Fig.17 100) connections.

[0122] In some embodiments, the movement control module may control the magnetic field sensor to move and rotate in the direction of the rotation axis based on the Euler angle through a movement component based on the Euler angle, so as to move to the magnetic field measurement point.

[0123] In some embodiments of the present specification, the mobile control module can more accurately control the movement of the magnetic field sensor through a mobile component based on Euler angles. Since the magnetic field sensor is controlled by the direction of the rotation axis based on the Euler angles, the forward path of the magnetic field sensor is similar to the area to be measured, thereby obtaining accurate magnetic field characteristic parameters.

[0124] In a specific application scenario, an exemplary magnetic field measuring device is used to measure the magnetic field of a scanning magnet 300 in a particle accelerator, including:

[0125] A magnetic field sensor 100, which is used to measure magnetic field characteristic parameters corresponding to each magnetic field measurement point of the scanning magnet 300;

[0126] A mobile control module 200, the mobile control module 200 is fixedly connected to the magnetic field sensor 100, and the mobile control module 200 is used to move the magnetic field sensor 100 to each magnetic field measurement point to measure the magnetic field at each magnetic field measurement point;

[0127] The workbench 400 is provided with at least one first fixing hole 410 and at least one second fixing hole 420; the first fixing hole 410 is used to fix the movement control module 200; the second fixing hole 420 is used to fix the scanning magnet 300;

[0128] A power amplifier, the power amplifier is used to supply power to the scanning magnet 300;

[0129] A heat exchange component 500, the heat exchange component 500 is used to cool the scanning magnet 300 and the power amplifier;

[0130] The image acquisition component is used to obtain a photo of the aperture area of ​​the scanning magnet 300 so as to obtain the shape of the aperture area of ​​the scanning magnet 300 according to the photo of the aperture area.

[0131] The mobile control module 200 includes:

[0132] A Z-axis translation assembly 210, the Z-axis translation assembly 210 includes a Z-axis guide rail 211 and a Z-axis slider 212, and the Z-axis slider 212 moves along the Z-axis guide rail 211;

[0133] X-axis translation assembly 220, the X-axis translation assembly 220 includes an X-axis guide rail 221 and an X-axis slider 222, the X-axis guide rail 221 is fixed on the Z-axis slider 212, and the X-axis slider 222 moves along the X-axis guide rail 221;

[0134] Y-axis translation assembly 230, the Y-axis translation assembly 230 includes a Y-axis guide rail 231 and a Y-axis slider 232, the Y-axis guide rail 231 is fixed on the X-axis slider 222, and the Y-axis slider 232 moves along the Y-axis guide rail 231;

[0135] The extension rod 240 has one end fixed on the Y-axis slider 232 , and the other end of the extension rod 240 is fixedly connected to the magnetic field sensor 100 . The extension rod 240 is a hollow carbon fiber rod.

[0136] The Z-axis translation assembly 210 further includes a first stepper motor 213, a first transmission component 215, and a first encoder 214. The first stepper motor 213 is fixed on the Z-axis guide rail 211. The first stepper motor 213 drives the Z-axis slider 212 to move on the Z-axis guide rail 211 through the first transmission component 215. The first encoder 214 is installed on the motor shaft of the first stepper motor 213 and is used to measure the rotation distance of the first stepper motor 213 in real time.

[0137] The X-axis translation assembly 220 further includes a second stepper motor 223 and a second encoder 224. The second stepper motor 223 is fixed on the X-axis guide rail 221. The second encoder 224 is mounted on the motor shaft of the second stepper motor 223 and is used to measure the rotation distance of the second stepper motor 223 in real time.

[0138] The Y-axis translation assembly 230 also includes a third stepper motor 233 and a third encoder 234. The third stepper motor 233 is fixed on the Y-axis guide rail 231; the third encoder 234 is installed on the motor shaft of the third stepper motor 233 and is used to measure the rotation distance of the third stepper motor 233 in real time.

[0139] The Z-axis translation assembly 210 includes two Z-axis guide rails 211 arranged in parallel, and the first transmission component 215 is arranged between the two Z-axis guide rails 211 to connect the two Z-axis guide rails 211; the first transmission component 215 includes two elastic couplings 2151 and a transmission rod 2152 arranged between the two elastic couplings 2151, and the two elastic couplings 2151 correspond one-to-one to the two Z-axis guide rails 211; the first stepper motor 213 is arranged at one end of one of the Z-axis guide rails 211 and is connected to the elastic coupling 2151 corresponding to the Z-axis guide rail 211.

[0140] Through the linkage control of the Z-axis translation component 210, the X-axis translation component 220 and the Y-axis translation component 230, the mobile control module 200 can accurately move the magnetic field sensor 100 to each magnetic field measurement point of the scanning magnet 300. The magnetic field sensor 100 can be accurately positioned in three dimensions, covering all possible positions of the scanning magnet 300, ensuring a comprehensive measurement of the magnetic field of the entire scanning magnet 300, and avoiding missing any key points. The magnetic field sensor 100 is used to measure the magnetic field characteristic parameters corresponding to each magnetic field measurement point of the scanning magnet 300. After the mobile control module 200 moves it to the target position, the magnetic field sensor 100 measures the magnetic field strength and direction at the position and obtains the characteristic parameters of the magnetic field. The power amplifier is used to power the scanning magnet 300. The heat exchange component 500 is used to cool the scanning magnet 300 and the power amplifier; the image acquisition component is used to obtain a photo of the aperture area of ​​the scanning magnet 300. In order to obtain the shape information of the aperture area of ​​the scanning magnet 300 based on the photo of the aperture area, so as to better understand the position and data of the magnetic field measurement. Through the precise mobile control module 200, the magnetic field sensor 100 can accurately measure the magnetic field characteristic parameters of each magnetic field measurement point and realize high-precision magnetic field measurement. Due to the existence of the mobile control module 200, the magnetic field measurement device can realize a fully automated measurement process, saving time and labor costs, and improving the accuracy and repeatability of the measurement. The mobile control module 200 of the magnetic field measurement device can be flexibly moved and adjusted to adapt to scanning magnets 300 of different models and sizes, so that the device can be widely used in magnetic field measurements of different scanning magnets 300. By cooling the scanning magnet 300 and the power amplifier through the heat exchange component 500, the stability and reliability of the system can be maintained to avoid problems caused by overheating. The image acquisition component obtains photos of the aperture area, which can assist in measuring and analyzing the shape information of the scanning magnet 300 and provide a more comprehensive reference for the magnetic field measurement results.

[0141] The magnetic field measuring device realizes a high-precision, fully automated, flexible and image-assisted magnetic field measurement process through the joint operation of the mobile control module 200, the magnetic field sensor 100, the power amplifier, the heat exchange component 500 and the image acquisition component.

[0142] Fig. 9 A flowchart of a control method of a magnetic field measuring device provided in an embodiment of the present application. In some embodiments, process 900 is executed by the magnetic field measuring device. Fig. 9 As shown, process 900 includes the following steps:

[0143] Step 910, obtaining the magnetic field background of the environment where the magnetic field measurement device is located.

[0144] The magnetic field background refers to the magnetic field existing in the environment where the magnetic field measuring device is located. For example, the magnetic field generated by the earth. In some embodiments, the magnetic field background may include the magnetic field background of the area to be measured by the scanning magnet. For a description of the area to be measured, see Figure 1 and its related description.

[0145] In some embodiments, the magnetic field measuring device can measure magnetic field characteristic parameters at multiple magnetic field measurement points before the scanning magnet is connected to current to obtain the magnetic field background.

[0146] Step 920: Move the magnetic field sensor fixedly connected to the mobile control module to each magnetic field measurement point of the scanning magnet through the mobile control module to measure the magnetic field at each magnetic field measurement point.

[0147] For a description of the motion control module, magnetic field sensor, and magnetic field measurement points, see Figure 1 and its related description.

[0148] The magnetic field sensor is used to measure characteristic parameters of the magnetic field and is fixed on the mobile control module.

[0149] In some embodiments, the mobile control module can drive the magnetic field sensor to move in three-dimensional space. By controlling the movement of the three-axis translation component in the mobile control module, the magnetic field sensor can be moved to different positions. The magnetic field sensor is controlled to move to each magnetic field measurement point of the scanning magnet. At each magnetic field measurement point, the magnetic field sensor measures the magnetic field characteristic parameters corresponding to the magnetic field measurement point, such as magnetic field strength and direction. By continuously moving the magnetic field sensor to different magnetic field measurement points, multi-point measurements can be performed to obtain the magnetic field distribution of the entire scanning magnet.

[0150] In some embodiments, the movement of the mobile control module can be automated through computer control without manual intervention, thereby reducing the difficulty of operation and improving the accuracy and stability of measurement.

[0151] Step 930: correct the measurement result of each magnetic field measurement point based on the magnetic field background.

[0152] In some embodiments, the magnetic field measuring device may, based on the magnetic field background, subtract the magnetic field background corresponding to the magnetic field measurement point from the measurement result of each magnetic field measurement point to correct the measurement result of each magnetic field measurement point. The measurement result may include magnetic field characteristic parameters. For an explanation of magnetic field characteristic parameters, see Figure 1 and its related description.

[0153] In some embodiments of the present specification, by continuously moving the magnetic field sensor to different magnetic field measurement points, multi-point measurement can be performed to obtain the magnetic field distribution of the entire scanning magnet. Based on the magnetic field background, the measurement result of each magnetic field measurement point is corrected to obtain a more accurate measurement result. The movement of the mobile control module can be automated by computer control without manual intervention, which reduces the difficulty of operation and improves the accuracy and stability of the measurement.

[0154] It should be noted that the above description of process 900 is only for illustration and description, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the process hand-eye calibration under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.

[0155] In some embodiments, the magnetic field measuring device can obtain the power supply parameters of the power amplifier, and determine the temperature rise curve of the scanning magnet after executing the power supply parameters based on the power supply parameters and the starting temperature; and determine the cooling parameters of the heat exchange component based on the temperature rise curve of the scanning magnet.

[0156] The power supply parameters refer to data related to the power supply provided by the power amplifier to the scanning magnet. In some embodiments, the power supply parameters may include the current, voltage, and power provided by the power amplifier to the scanning magnet. In some embodiments, the magnetic field measurement device may obtain the power supply parameters through the power amplifier.

[0157] The starting temperature refers to the temperature of the scanning magnet when the power amplifier starts to supply power to the scanning magnet with the power supply parameters. In some embodiments, the magnetic field measuring device can obtain the starting temperature through a temperature sensing unit. For an explanation of the temperature sensing unit, see Figure 1 and its related description.

[0158] The heating curve refers to the curve of the temperature change of the scanning magnet over time. In some embodiments, the magnetic field measurement device can construct a vector to be matched based on the power supply parameters and the starting temperature, match it in the heating database, select a reference vector that meets the preset matching conditions with the vector to be matched, and determine the reference heating curve corresponding to the reference vector as the heating curve corresponding to the vector to be matched. Among them, the vector to be matched refers to a feature vector constructed based on the power supply parameters and the starting temperature. The preset matching conditions may include the highest similarity. The similarity of the vector is negatively correlated with the distance, that is, the greater the distance, the smaller the similarity. In some embodiments, the distance may include but is not limited to cosine distance, Euclidean distance, etc.

[0159] In some embodiments, the temperature rise database can be pre-set based on historical data. The temperature rise database may include multiple reference vectors and a reference temperature curve corresponding to each reference vector. The reference vector refers to a feature vector constructed based on the power supply parameters and the starting temperature in the historical data. The reference temperature curve may be an actual temperature rise curve in the historical data.

[0160] The cooling parameter refers to data related to heat exchange performed by the heat exchange component. In some embodiments, the cooling parameter may include a cooling period.

[0161] The cooling period refers to the period during which the heat exchange component performs heat exchange. In some embodiments, the cooling period may be the period before the temperature threshold is reached in the temperature rise curve.

[0162] The temperature threshold refers to the maximum temperature that the particle accelerator can withstand when it is working. In some embodiments, the temperature threshold can be pre-set based on the design parameters of the particle accelerator.

[0163] It is understandable that the heat exchange component needs to perform heat exchange before the temperature rises to the temperature threshold to ensure the normal operation of the particle accelerator.

[0164] In some embodiments, the magnetic field measuring device can determine the duration of the cooling period based on the slope of the curve before the temperature threshold is reached in the heating curve and the heat exchange performance. For example, the magnetic field measuring device can determine a point on the heating curve that represents the temperature threshold, and start from the left adjacent point of the point (a point that is less than the temperature threshold), and traverse to the left to calculate the average slope of the heating curve in sequence until the average slope of the heating curve is less than the heat exchange performance, and the period between the point where the average slope is less than the heat exchange performance and the point representing the temperature threshold is used as the cooling period.

[0165] Heat exchange performance refers to the temperature that a heat exchange component can reduce per unit time. The average slope of the temperature rise curve refers to the temperature increase per unit time.

[0166] It can be understood that if the average slope of a point in the temperature rise curve is less than the heat exchange performance, it means that at the time corresponding to the point, the temperature that the heat exchange component can reduce is greater than the temperature increased by the scanning magnet, and the cooling effect can be achieved. The heat exchange component starts heat exchange from the time corresponding to the point to ensure that the temperature of the scanning magnet does not reach the temperature threshold.

[0167] In some embodiments of the present specification, by scanning the temperature rise curve of the magnet after executing the power supply parameters, more targeted cooling parameters of the heat exchange component can be determined to ensure that the heat exchange component can cool down the scanning magnet in a timely manner.

[0168] In some embodiments, the magnetic field measuring device can draw multiple magnetic flux lines based on the magnetic field characteristic parameters; determine the magnetic field vector diagram of the scanning magnet based on the multiple magnetic flux lines; determine the magnetic field error based on the magnetic field vector diagram and the theoretical vector diagram; and determine the winding density of the coil of the scanning magnet based on the magnetic field error. For a description of the magnetic field characteristic parameters, see Figure 1 and its related description.

[0169] Magnetic flux lines can be used to describe the direction of a magnetic field. Magnetic flux lines can be directed lines, where the direction the lines point to is the direction of the magnetic field.

[0170] In some embodiments, the magnetic field measurement device may connect each magnetic field measurement point in sequence according to the magnetic field direction in the magnetic field characteristic parameter to obtain a plurality of magnetic flux lines.

[0171] The magnetic field vector diagram can be used to describe the magnetic field strength and magnetic field direction at each position of the scanning magnet. In some embodiments, the magnetic field measurement device can arrange and sort multiple magnetic flux lines to obtain the magnetic field vector diagram.

[0172] It is understandable that the density of magnetic flux lines at a location can represent the magnetic field strength at that location, and the higher the density of magnetic flux lines, the higher the magnetic field strength. Thus, different magnetic field strengths can be represented by increasing or decreasing the number of magnetic flux lines.

[0173] In some embodiments, the magnetic field measuring device may adjust the magnetic field vector diagram based on the magnetic field strength in the magnetic field characteristic parameters of each magnetic field measurement point. For example, at a location with a high magnetic field strength, the magnetic field measuring device may interpolate between existing magnetic flux lines, inserting magnetic flux lines in the same direction to make the magnetic flux lines denser. For another example, at a location with a low magnetic field strength, the magnetic field measuring device may downsample the existing magnetic flux lines to make the magnetic flux lines sparser.

[0174] The magnetic field error refers to the error between the magnetic field actually generated by the scanning magnet and the magnetic field generated theoretically. In some embodiments, the magnetic field error can be represented by the error between the magnetic field vector diagram and the theoretical vector diagram.

[0175] The theoretical vector diagram can be used to describe the magnetic field strength and magnetic field direction at each position of the pre-designed scanning magnet.

[0176] In some embodiments, the magnetic field measuring device can determine the magnetic field errors at multiple locations by comparing the number of magnetic flux lines of the magnetic field vector diagram and the theoretical vector diagram at multiple locations. For example, if the number of magnetic flux lines at a location in the magnetic field vector diagram is 13, and the number of magnetic flux lines at the same location in the theoretical vector diagram is 10, then the magnetic field error at the location is greater than 30%.

[0177] The coil winding density is used to characterize the actual coil winding density of the scanning magnet. In some embodiments, the coil winding density can be expressed by comparing with a preset density. If the coil winding density is greater than the preset density, it means that the coil winding is denser. The preset density refers to a standard coil winding density. In some embodiments, the preset density can be preset based on historical experience.

[0178] In some embodiments, the magnetic field measuring device can determine the coil winding density of the scanning magnet based on the magnetic field error. For example, if the magnetic field error at a position is greater than 30%, then the coil winding density at the position is greater than a preset density by 30%.

[0179] In some embodiments of this specification, multiple magnetic flux lines can be drawn through magnetic field characteristic parameters, thereby obtaining a magnetic field vector diagram that can describe the magnetic field strength and direction at each position of the scanning magnet. By comparing the magnetic field vector diagram with the magnetic field error determined by the theoretical vector diagram, the coil winding density of the scanning magnet can be quickly determined.

[0180] In some embodiments, the magnetic field measurement device can determine the change granularity based on the magnetic field characteristic parameters of the magnetic field measurement points in the key focus area; based on the change granularity, adjust the number of magnetic field measurement points in the key focus area and the movement control information.

[0181] The key focus area refers to the magnetic field area in the scanning magnet that plays an important role in particle acceleration and needs to be focused on. In some embodiments, the key focus area can be pre-set based on historical experience. For example, the key focus area can be an area set by a technician during historical measurement or an area repeatedly measured by a technician.

[0182] The change granularity can be used to characterize the degree of detail of the change of the magnetic field characteristic parameter. In some embodiments, the change granularity can be represented by a numerical value or the like, and the larger the numerical value, the greater the degree of detail of the change of the magnetic field characteristic parameter.

[0183] In some embodiments, the magnetic field measurement device can calculate the magnetic field change rate between each pair of adjacent magnetic field measurement points based on the magnetic field characteristic parameters of the magnetic field measurement points in the focus area, obtain the mean and standard deviation of multiple magnetic field change rates, and use the sum of the mean and the standard deviation as the change granularity. The magnetic field change rate may include the sum of the magnetic field intensity change rate and the magnetic field direction change rate.

[0184] In some embodiments, if the change granularity is greater than the granularity threshold, the magnetic field measurement device can adjust the number of magnetic field measurement points in the key focus area based on the change granularity. For example, if the change granularity is greater than the granularity threshold, the magnetic field measurement device can add magnetic field measurement points in the key focus area, and the number of added magnetic field measurement points can be determined based on the difference between the change granularity and the granularity threshold. For example, if the change granularity is 30% larger than the granularity, 30% of the original number of magnetic field measurement points are added to the key focus area. The granularity threshold can be pre-set based on historical experience. For instructions on how to determine the magnetic field measurement points, see Figure 1 or Fig.10 and its related description.

[0185] It can be understood that the smaller the granularity of the change, the smaller the data error automatically supplemented in the magnetic flux lines when drawing the magnetic flux lines, the more accurate the magnetic flux lines, and the higher the data sufficiency.

[0186] In some embodiments, the granularity threshold may be related to the displacement deviation during the measurement. For example, the larger the displacement deviation, the smaller the granularity threshold. The larger the displacement deviation, the less accurate the displacement compensation is. Therefore, by reducing the granularity threshold, the accuracy of the magnetic field vector diagram obtained can be further ensured. For an explanation of the displacement deviation, see Figure 1 and its related description.

[0187] In some embodiments, after adding magnetic field measurement points, the magnetic field measurement device needs to return to the focus area to measure the newly added magnetic field measurement points, so new movement control information needs to be generated to control the magnetic field sensor to measure. For instructions on how to determine the movement control information, please refer to Fig.10 and its related description.

[0188] In some embodiments, the magnetic field measurement device can predict the estimated change granularity of the key focus area based on the measured change granularity of the magnetic field measurement points, and adjust the number of magnetic field measurement points and movement control information in the key focus area based on the estimated change granularity.

[0189] In some embodiments, the magnetic field measurement device can determine the change granularity of the measured magnetic field measurement point by the above-mentioned method of determining the change granularity, and calculate the magnetic field change rate of the area where the measured magnetic field measurement point is located based on the theoretical vector diagram, as well as the magnetic field change rate of the key focus area in the theoretical vector diagram. Among them, the magnetic field change rate of the area where the magnetic field measurement point is located or the magnetic field change rate of the key focus area can be the average of the magnetic field change rates of each pair of adjacent magnetic field measurement points in the area.

[0190] In some embodiments, the magnetic field measurement device can calculate the ratio of the magnetic field change rate of the area where the magnetic field measurement point in the theoretical vector diagram is located to the magnetic field change rate of the key focus area to obtain the change rate ratio, and determine the product of the change rate ratio and the change granularity of the measured magnetic field measurement point as the estimated change granularity.

[0191] In some embodiments, the magnetic field measurement device adjusts the number of magnetic field measurement points and movement control information in the key focus area based on the estimated change granularity through the above method of adjusting the number of magnetic field measurement points and movement control information in the key focus area.

[0192] In some embodiments of this specification, the number of magnetic field measurement points and movement control information in the focused area can be quickly adjusted by focusing on the magnetic field strength and magnetic field strength changes of the magnetic field measurement points in the focused area, and then the focused area of ​​the scanning magnet is re-measured to further obtain a more accurate magnetic field vector diagram.

[0193] In some embodiments, the magnetic field measurement device can determine the shielding area based on the estimated particle path; adjust the movement control information based on the shielding area; measure the magnetic field of the scanning magnet based on the adjusted movement control information; and predict the magnetic field characteristic parameters of the shielding area based on the magnetic field characteristic parameters of the surrounding measurement points of the shielding area.

[0194] The estimated particle path refers to the path that the particle passes through when accelerating in the historical data. In some embodiments, the magnetic field measurement device may include a pixel detector. The pixel detector can record the path that the particle passes through when the particle is accelerated.

[0195] In some embodiments, the magnetic field measurement device can obtain historical particle acceleration information that is the same or similar to the current particle acceleration information through a storage device, and determine the historical particle path corresponding to the obtained historical particle acceleration information as the estimated particle path. The particle acceleration information may include the type of particles to be accelerated, the particle weight, the number of particles, the particle speed, the power supply parameters of the scanning magnet, etc. The historical particle acceleration information refers to the particle acceleration information in the historical data. The historical particle path corresponding to the historical particle acceleration information refers to the path that the particle passes through after the particle is accelerated based on the historical particle acceleration information.

[0196] In some embodiments, the particle acceleration information may be determined by user input or the like.

[0197] The shielding area refers to the magnetic field area that the magnetic field sensor does not need to pass through when measuring the magnetic field. In some embodiments, the magnetic field measurement device can construct a theoretical magnetic field space based on the theoretical vector diagram, display the estimated particle path in the magnetic field space, and use the area in the magnetic field space that the estimated particle path does not pass through as the shielding area.

[0198] In some embodiments, the magnetic field measurement device may ignore the magnetic field measurement points in the shielded area; and re-determine the adjusted movement control information based on the remaining magnetic field measurement points. For an explanation of how to determine the movement control information, see Fig.10 and its related description.

[0199] In some embodiments, the magnetic field measuring device can predict the magnetic field characteristic parameters of the shielding area based on the magnetic field characteristic parameters of the peripheral measurement points of the shielding area. The peripheral measurement points refer to the magnetic field measurement points around the shielding area.

[0200] In some embodiments, the magnetic field measurement device can construct a magnetic field dot matrix to be predicted based on the magnetic field characteristic parameters of the surrounding measurement points, and search for a complete magnetic field dot matrix whose similarity meets similarity conditions in the magnetic field database based on the magnetic field dot matrix to be predicted, and determine the magnetic field characteristic parameters of the same area as the shielding area in the complete magnetic field dot matrix as the magnetic field characteristic parameters of the shielding area.

[0201] The magnetic field dot matrix to be predicted refers to a data matrix composed of multiple peripheral measurement points and magnetic field characteristic parameters of each peripheral measurement point, and magnetic field measurement points in the shielding area. Among them, the magnetic field characteristic parameters corresponding to the magnetic field measurement points in the shielding area are 0.

[0202] In some embodiments, the magnetic field database can be pre-set based on historical experience. The magnetic field database can include multiple complete magnetic field lattices. The complete magnetic field lattice refers to a data matrix composed of multiple magnetic field measurement points in a complete area and the magnetic field characteristic parameters of each magnetic field measurement point.

[0203] In some embodiments, the similarity condition may be preset. For example, the similarity condition may be that the relative position relationship between the points of the magnetic field lattice to be predicted and the points of the complete magnetic field lattice and the magnetic field characteristic parameters are similar.

[0204] In some embodiments of the present specification, the shielding area can be determined by estimating the path of the particles during acceleration, and the magnetic field characteristic parameters of the shielding area can be predicted by measuring the magnetic field characteristic parameters of the points around the shielding area, which can reduce the workload and cost of magnetic field measurement and improve measurement efficiency.

[0205] Fig.10 1000 is a schematic diagram of a process of driving a mobile control module provided in an embodiment of the present application. In some embodiments, process 1000 is performed by a magnetic field measuring device. Fig.10 As shown, process 1000 includes the following steps:

[0206] Step 1010, obtaining information of the area to be tested.

[0207] The information of the area to be tested is used to indicate the shape and size of the area to be tested by the scanning magnet. For the description of the area to be tested, please refer to Figure 1 and its related description.

[0208] In some embodiments, the information of the area to be measured can be obtained in a variety of ways. For example, the magnetic field measuring device can obtain the information of the area to be measured through the user's input after measurement, and can also be determined based on the design parameters of the scanning magnet, or can be determined after the image acquisition component identifies the area to be measured. Among them, the design parameters of the scanning magnet refer to data related to the structure of the scanning magnet. For example, the length, width, radius, etc. of the magnet. This specification does not limit the method of obtaining the information of the area to be measured.

[0209] In some embodiments, the magnetic field measurement device can obtain a magnetic image of the scanning magnet through an image acquisition component, and construct a measurement coordinate system of the area to be measured based on the magnetic image. The measurement coordinate system can be a Cartesian coordinate system; it can also be a polar coordinate system, and this specification does not limit the measurement coordinate system. For a description of the image acquisition component, please refer to Figure 1 and its related description.

[0210] In some embodiments, the image acquisition component may include one or more cameras, and the scanning magnet is imaged by one or more cameras, for example, a magnet image is obtained by three-dimensional space scanning, and the image coordinate system in the magnet image is converted into a measurement coordinate system used for actual measurement. After the measurement coordinate system is constructed, the measurement coordinate system needs to be verified and calibrated to ensure the accuracy of the measurement coordinate system.

[0211] In some embodiments, the magnetic field measuring device may include a three-dimensional scanning device, which may include a radar scanning device, a microwave scanning device, and the like.

[0212] In some embodiments, the magnetic field measuring device may scan the area to be measured of the scanning magnet by means of a three-dimensional scanning device to obtain information about the area to be measured.

[0213] In some embodiments of the present specification, information of the area to be measured can be quickly acquired through a three-dimensional scanning device.

[0214] Step 1020: Generate at least one magnetic field measurement point based on the information of the area to be measured.

[0215] For a description of the magnetic field measurement points, see Figure 1 and its related description.

[0216] The shape and size of the area to be measured indicated by the area to be measured information will also affect the arrangement of the magnetic field measurement points. Areas to be measured with different shapes have different arrangements of magnetic field measurement points.

[0217] In some embodiments, the magnetic field measurement device can predict multiple magnetic field change rates of the area to be measured based on the information of the area to be measured; determine the interval parameter based on the multiple magnetic field change rates of the area to be measured; and generate at least one magnetic field measurement point based on the interval parameter.

[0218] In some embodiments, the magnetic field measuring device can query the magnetic field recording table for historical information of the area to be measured that meets preset similarity conditions with the information of the area to be measured based on the information of the area to be measured, and determine the multiple magnetic field change rates corresponding to the historical information of the area to be measured as the multiple magnetic field change rates of the area to be measured. The historical information of the area to be measured refers to the information of the area to be measured in the historical data.

[0219] In some embodiments, the magnetic field record table can be pre-set based on historical experience. The magnetic field record table may include multiple historical test area information and multiple magnetic field change rates corresponding to each historical test area information. Among them, the multiple magnetic field change rates corresponding to the historical test area information refer to the magnetic field change rates between multiple pairs of adjacent magnetic field measurement points in the test area corresponding to the historical test area information. For an explanation of the magnetic field change rate, see Fig. 9 and its related description.

[0220] In some embodiments, the magnetic field measuring device may set an interval parameter based on the maximum values ​​of multiple magnetic field change rates of the area to be measured through a preset corresponding relationship, and generate uniformly distributed magnetic field measurement points through the above method of generating magnetic field measurement points based on the interval parameter. The preset corresponding relationship may include that the larger the maximum value of the change rate, the smaller the interval parameter.

[0221] In some embodiments, when generating magnetic field measurement points, the magnetic field measurement device may be arranged in parallel with multiple axes of the mobile control module to reduce the displacement of the subsequent magnetic field sensor when it moves. The multiple axes of the mobile control module may include an X-axis, a Y-axis, a Z-axis, a rotation axis, etc.

[0222] In some embodiments of the present specification, by predicting multiple magnetic field change rates of the area to be measured, a smaller interval parameter can be set when the magnetic field change rate may be large, thereby generating more magnetic field measurement points to ensure more accurate measurement results of the scanning magnet.

[0223] In some embodiments, the magnetic field measurement device may obtain interval parameters of magnetic field measurement points, input the information of the area to be measured and the interval parameters into the measurement point generation model to obtain measurement point data. The measurement point data may include at least one magnetic field measurement point.

[0224] In some embodiments, the measurement point generation model may be a machine learning model. For example, the measurement point generation model may include any one or combination of a convolutional neural network (CNN) model, a neural network (NN) model, or other custom model structures.

[0225] In some embodiments, the processor may generate a model for training measurement points based on a large number of first training samples with first labels by using a gradient descent method or the like. The first training sample may include sample test area information and sample interval parameters, and the first label of the first training sample may be actual measurement point data. In some embodiments, the first training sample may be obtained based on historical data.

[0226] In some embodiments, the first label can be based on manual annotation. In some embodiments, for each first training sample, the technician can adjust the magnetic field measurement points in the area to be measured based on multiple magnetic field change rates and sample interval parameters in the sample area to be measured to obtain multiple groups of measurement point data, perform magnetic field measurement based on the multiple groups of measurement point data, and determine the measurement point data that meets the preset conditions as the first label. The preset condition may include that the magnetic field error obtained after the magnetic field measurement based on the measurement point data is minimal. This specification does not limit the preset conditions. For an explanation of the magnetic field error, please refer to the relevant description above.

[0227] The interval parameter refers to the spacing between the magnetic field measurement points. In some embodiments, the magnetic field measurement device can determine the interval parameter in a variety of ways. For example, the magnetic field measurement device can determine the interval parameter through user input, and can also obtain the corresponding interval parameter based on the scanning magnet. Among them, the interval parameter corresponding to the scanning magnet can be pre-set based on historical experience. This specification does not limit the acquisition of the interval parameter.

[0228] For example, taking a rectangular space with a side length of 10 mm as an example, if the interval parameter is 1 mm, the interval between the magnetic field measurement points is 1 mm, and there are 1000 magnetic field measurement points in total. If the interval parameter is 2 mm, the interval between the magnetic field measurement points is 2 mm, and there are 125 magnetic field measurement points in total.

[0229] Step 1030 , planning the moving path of the magnetic field sensor according to each magnetic field measurement point to obtain movement control information of the movement control module.

[0230] The movement control information refers to data used to control the movement control module to drive the magnetic field sensor to move along the planned path. In some embodiments, the movement control information may include at least one of the rotation speed, direction, torque, acceleration and power of each of the first stepper motor, the second stepper motor and the third stepper motor.

[0231] In some embodiments, the magnetic field measurement device can determine the movement control information in a variety of ways. For example, the magnetic field measurement device can determine the movement control information from one magnetic field measurement point to another magnetic field measurement point based on the positions of the two magnetic field measurement points through a preset movement table, and so on to determine the movement control information between all magnetic field measurement points. The positions of the magnetic field measurement points can be represented by a measurement coordinate system.

[0232] In some embodiments, the preset movement table can be preset based on historical experience. The preset movement table can include magnetic field measurement points at multiple different locations and movement control information between each magnetic field measurement point. The movement control information between each magnetic field measurement point can be preset based on historical experience.

[0233] Fig.11 It is a flow chart of obtaining mobile control information provided by an embodiment of the present application.

[0234] In some embodiments, Fig.11 As shown, generating mobile control information includes the following steps:

[0235] Step 1110: Obtain movement information of the magnetic field sensor. Movement information refers to data related to the movement of the magnetic field sensor. In some embodiments, the movement information may include the moving direction and movement speed of the magnetic field sensor.

[0236] Step 1120: Input the movement information of each magnetic field measurement point and the magnetic field sensor into the path planning model to obtain the movement control information of the movement control module.

[0237] The forward direction of the magnetic field sensor refers to the direction in which the magnetic field sensor points to the scanning magnet. The moving speed of the magnetic field sensor refers to the speed that the magnetic field sensor needs to maintain during the magnetic field measurement process. In some embodiments, the forward direction and the moving speed can be determined by user input or the like.

[0238] In some embodiments, the magnetic field measuring device may determine the moving speed based on the number of magnetic field measuring points and the corresponding relationship between the number of magnetic field measuring points and the moving speed. The corresponding relationship may be preset based on historical experience, for example, the more magnetic field measuring points there are, the slower the moving speed.

[0239] In some embodiments, the path planning model may be a machine learning model. For example, the path planning model may include any one or combination of a convolutional neural network (CNN) model, a neural network (NN) model, or other custom model structures.

[0240] In some embodiments, the training process of the path planning model includes:

[0241] Acquire a training set. The training set may include a plurality of second training samples, each of which may include a plurality of sample magnetic field measurement points, sample movement information, and a corresponding second label. The second label may include movement control information corresponding to the second training sample. In some embodiments, the second training sample may be determined based on historical data.

[0242] In some embodiments, the second label can be based on manual annotation. In some embodiments, for each second training sample, a technician can set the movement control information according to the direction preference based on the sample magnetic field measurement point and the sample movement information, and determine the movement control information as the second label. Wherein, the direction preference refers to the direction in which the magnetic field sensor preferentially moves. For example, the direction preference can be to preferentially move in the direction of the X-axis and then move in the direction of the Y-axis. In some embodiments, the direction preference can be pre-set based on historical experience.

[0243] For each second training sample in the training set, perform the following processing:

[0244] Inputting each sample magnetic field measurement point and sample movement information in the second training sample into the initial path planning model to obtain prediction data of movement control information corresponding to each sample magnetic field measurement point and sample movement information;

[0245] Based on the prediction data of the movement control information corresponding to each sample magnetic field measurement point and the sample movement information and the second label, the model parameters of the initial path planning model are updated;

[0246] In response to satisfying the preset training end condition, the path planning model training is completed; in response to not satisfying the preset training end condition, the next second training sample is used to continue training the initial path planning model.

[0247] This specification does not limit the training process of the path planning model. For example, the above-mentioned supervised learning training method can be adopted, or the semi-supervised learning training method can be adopted, or the unsupervised learning training method can be adopted.

[0248] This specification does not limit the preset training end conditions. For example, it may be that the number of training times reaches a preset number (the preset number of times is, for example, 1 time, 3 times, 10 times, 100 times, 1000 times, 10000 times, etc.), or it may be that the second training samples in the training set have completed one or more trainings, or it may be that the total loss value obtained from this training is not greater than the preset loss value.

[0249] In some embodiments of the present specification, a preset deep learning model can be obtained by designing, establishing an appropriate amount of computing nodes and a multi-layer operation hierarchy, and selecting appropriate input layers and output layers. A functional relationship from input to output is established through learning and tuning of the path planning model, and corresponding mobile control information can be obtained based on the movement information of each magnetic field measurement point and magnetic field sensor. It has a wide range of applications, and the calculation results are highly accurate and reliable.

[0250] In some embodiments, the magnetic field measurement device may generate a movement path based on the magnetic field measurement points according to preset rules, and generate movement control information based on the movement path.

[0251] In some embodiments, the preset rules can be pre-set based on historical experience. The preset rules can be the motion priorities of multiple axes of the mobile control module. The multiple axes of the mobile control module can include an X-axis, a Y-axis, a Z-axis, and a motion axis.

[0252] The motion priority refers to the priority when performing motion based on an axis. For example, when the magnetic field sensor can move based on multiple axes, the X-axis is preferred, and the X-axis has the highest motion priority and is set as the first priority.

[0253] In some embodiments, the magnetic field measurement device can generate a moving path according to a preset rule based on the magnetic field measurement point. For example, the magnetic field measurement device can select a magnetic field measurement point closest to the magnetic field sensor as the measurement starting point, and start from the measurement starting point to check whether there is a new magnetic field measurement point in the axial direction of the first priority; if there is a new magnetic field measurement point in the axial direction of the first priority, the new magnetic field measurement point closest to the measurement starting point in the axial direction is used as the next magnetic field measurement point; if there is no new magnetic field measurement point in the axial direction of the first priority, check whether there is a new magnetic field measurement point in the axial direction of the second priority; if there is a new magnetic field measurement point in the axial direction of the second priority, the new magnetic field measurement point closest to the measurement starting point in the axial direction is used as the next magnetic field measurement point; if there is no new magnetic field measurement point in the axial direction of the second priority, check whether there is a new magnetic field measurement point in the axial direction of the third priority..., and repeat the above steps to determine the next new magnetic field measurement point of each magnetic field measurement point in turn until there is no next new magnetic field measurement point in the magnetic field measurement point, and the moving path is generated.

[0254] In some embodiments, the magnetic field measurement device may generate movement control information based on the sequence of magnetic field measurement points in the movement path in accordance with the above-mentioned manner of generating movement control information.

[0255] In some embodiments of the present specification, the priorities of the movement control modules in different axis directions may be considered when generating movement control information, thereby making the movement path of the magnetic field sensor clearer and reducing redundant movement of the magnetic field sensor.

[0256] Step 1040: Control the movement control module to operate according to the movement control information, so as to drive the magnetic field sensor to move to each magnetic field measurement point.

[0257] In some embodiments, the magnetic field measurement device may send movement control information to the movement control module, and the movement control module drives the magnetic field sensor to move to each magnetic field measurement point based on the movement control information.

[0258] Fig.12 It is a flow chart of adjusting mobile control information provided by an embodiment of the present application.

[0259] In some embodiments, according to the movement control information, controlling the movement control module to operate comprises the following steps:

[0260] Step 1210: interrupting the operation of the mobile control module at intervals of a first preset time, and acquiring current position information and theoretical position information of the magnetic field sensor;

[0261] Step 1220: Determine whether the current position information and theoretical position information of the magnetic field sensor meet a preset position condition;

[0262] Step 1230: In response to the current position information and theoretical position information of the magnetic field sensor not satisfying a preset position condition, generating a moving length according to the current position information and theoretical position information of the magnetic field sensor;

[0263] Step 1240: Adjust the movement control information according to the movement length, and control the movement control module to operate according to the adjusted movement control information until the current position information and theoretical position information of the magnetic field sensor meet the preset position condition.

[0264] In some embodiments, controlling the movement control module to run according to the movement control information further includes:

[0265] Step 1250: In response to the current position information and theoretical position information of the magnetic field sensor satisfying the preset position condition, there is no need to adjust the movement control information, which indicates that the movement of the magnetic field sensor meets the user's usage requirements.

[0266] In some embodiments, the first preset duration may be preset based on historical experience. For example, the first preset duration may include 5 milliseconds, 10 milliseconds, 15 milliseconds, 20 milliseconds, 30 milliseconds, 50 milliseconds, 100 milliseconds, and 200 milliseconds. This specification does not limit the first preset duration.

[0267] The preset position condition refers to a condition used to determine whether the mobile control information needs to be adjusted. In some embodiments, the preset position condition may include multiple conditions. For example, the preset position condition may be that the current position information is the same as the theoretical position information, or that the distance between the position indicated by the current position information and the theoretical position information is less than 1 mm. This specification does not limit the preset position condition.

[0268] The current position information refers to data used to characterize the current position of the magnetic field sensor. The theoretical position information refers to data used to characterize the position to which the magnetic field sensor should move. In some embodiments, the theoretical position information may include the position of the magnetic field measurement point. In some embodiments, the magnetic field measurement device may determine the position of the magnetic field sensor and the magnetic field measurement point in the measurement coordinate system as the current position information and the theoretical position information.

[0269] The moving length refers to the position distance that the magnetic field sensor needs to adjust. In some embodiments, the magnetic field measurement device can determine the distance between the positions respectively represented by the current position information and the theoretical position information as the moving length.

[0270] In some embodiments of this specification, by detecting the current position information of the magnetic field sensor and adjusting the mobile control information according to the real-time situation, the magnetic field sensor can be accurately adjusted to the magnetic field measurement point, thereby improving the accuracy of the measurement. By using a closed-loop method to check the position accuracy, real-time position feedback control can be achieved, and it can be quickly adjusted according to the actual position information to better adapt to position changes in different situations. By periodically detecting and adjusting the position of the magnetic field sensor, adaptive measurement is achieved, and during the measurement process, it can be flexibly adjusted according to the actual situation.

[0271] In some embodiments, when the current position information and theoretical position information of the magnetic field sensor still do not meet the preset position condition within the second preset time period, an operation alarm message is sent.

[0272] In some embodiments, the second preset duration is greater than the first preset duration. The second preset duration may be preset based on historical experience. For example, the second preset duration may include 10 milliseconds, 20 milliseconds, 30 milliseconds, 50 milliseconds, 100 milliseconds, 200 milliseconds, 300 milliseconds, 500 milliseconds, 1 second, 2 seconds, 3 seconds, 5 seconds, 10 seconds, 20 seconds, 30 seconds, 50 seconds, 100 seconds, and this specification does not limit the second preset duration.

[0273] The operation warning information is used to indicate that the mobile control information adjustment has failed. In some embodiments, the magnetic field measurement device may send the generated operation warning information to the user equipment to prompt that the mobile control information adjustment has failed. This specification does not limit the user equipment, which may include, for example, smart terminal devices such as mobile phones, tablet computers, laptops, desktop computers, smart wearable devices, or the user equipment may be a workstation, controller or console. The method of sending the operation warning information is, for example, SMS push, email push, in-application push, phone notification, etc.

[0274] It is understandable that if the position of the magnetic field sensor still does not meet the preset condition within the second preset time, it means that the movement control information adjustment fails. After the second preset time, the movement control information still does not meet the use requirements, and the operation alarm information is sent.

[0275] In some embodiments of the present specification, by setting a second preset duration and detecting the position information of the magnetic field sensor during this duration, it is possible to detect in real time whether there is a situation where the position adjustment fails, and to find abnormalities in time. In the case of a failure in adjusting the mobile control information, sending an operation alarm message helps to find the problem in time, take measures in time, and ensure the stability and reliability of the magnetic field measurement device. By setting different first preset durations and second preset durations, it is possible to flexibly adapt to measurement needs and operation requirements in different situations, and improve applicability.

[0276] In some embodiments of this specification, by generating multiple magnetic field measurement points and planning the moving path of the magnetic field sensor, accurate magnetic field measurement can be performed at different positions of the scanning magnet magnetic field, providing more comprehensive and accurate magnetic field data. By generating mobile control information, automatic control of the mobile control module is achieved, thereby improving the accuracy and stability of the measurement. Multiple magnetic field measurement points are generated according to the information of the area to be measured, and the moving path is planned, so that the measurement process is efficient and fast. At the same time, through automated control, operation time and labor costs are saved.

[0277] It should be noted that the above description of process 1000 is only for illustration and description, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the process hand-eye calibration under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.

[0278] Fig.13 1 is a schematic diagram of a temperature compensation process provided by an embodiment of the present application. In some embodiments, the magnetic field measuring device can perform the following operations for each magnetic field measuring point:

[0279] Step 1310: Obtain an initial voltage signal corresponding to a magnetic field measurement point and temperature information of the measurement point through a magnetic field sensor.

[0280] In some embodiments, the magnetic field sensor can be a Hall sensor integrated with a temperature sensing unit. The Hall sensor generates a voltage signal by sensing changes in the surrounding magnetic field. It is based on the working principle of the Hall effect, which describes the phenomenon that when the current passing through an electrical conductor is perpendicular to the magnetic field, a potential difference (voltage) is generated. When the Hall sensor is exposed to a magnetic field, the external magnetic field affects the movement of charges in the electrical conductor, thereby generating a voltage signal. This voltage signal is related to the strength and direction of the external magnetic field. The Hall sensor converts this voltage signal into a usable electrical signal, usually an analog voltage signal or a digital signal, which is used to measure and detect the strength of the magnetic field.

[0281] In some embodiments, the magnetic field measuring device can obtain an initial voltage signal corresponding to the magnetic field measuring point through a magnetic field sensor. The initial voltage signal refers to an uncompensated voltage signal.

[0282] The measurement point temperature information refers to data related to the temperature of the magnetic field measurement point. In some embodiments, the measurement point temperature information may include the temperature of the magnetic field measurement point.

[0283] In some embodiments, the magnetic field measuring device can obtain the temperature information of the measuring point through the temperature sensing unit. For the description of the temperature sensing unit, please refer to Figure 1 and its related description.

[0284] Step 1320: Compensate the initial voltage signal based on the temperature information of the measurement point to obtain a compensated voltage signal.

[0285] Since the initial voltage signal of the Hall sensor may be affected by temperature changes, for example, the conductivity of the material may change at different temperatures, thus affecting the size of the initial voltage signal, in order to obtain accurate magnetic field measurement results, the initial voltage signal needs to be compensated.

[0286] In some embodiments, the magnetic field sensor may automatically compensate the initial voltage signal based on the temperature information of the measurement point to obtain a compensated voltage signal.

[0287] Exemplarily, a 14-bit high-precision analog-to-digital converter is selected to sample the Hall sensor. The Hall sensor includes six initial voltage signals and one temperature signal, wherein the six initial voltage signals are X+, X-, Y+, Y-, Z+ and Z- initial voltage signals, i.e., initial voltage signals in the positive and negative directions of the X-axis, Y-axis and Z-axis. The temperature information of the measuring point is obtained by reading one temperature signal, and the six initial voltage signals are temperature compensated according to the temperature information of the measuring point to eliminate the influence of the ambient temperature on the measurement result.

[0288] Step 1330: Obtain magnetic field characteristic parameters of the magnetic field measurement point according to the compensated voltage signal.

[0289] In some embodiments, the magnetic field sensor may automatically determine the magnetic field characteristic parameters of the magnetic field measurement point based on the compensated voltage signal.

[0290] In some embodiments of the present specification, by performing temperature compensation on the initial voltage signal, the measurement error caused by temperature can be corrected, thereby improving the measurement accuracy. The compensated voltage signal more accurately reflects the actual situation of the magnetic field measurement point.

[0291] It should be noted that the above description of process 1300 is only for example and explanation, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the process hand-eye calibration under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.

[0292] In some embodiments, the magnetic field measurement device may compensate for the magnetic field characteristic parameters based on the temperature information of the measurement point.

[0293] In some embodiments, the magnetic field measuring device can determine whether the temperature information of the measuring point falls within the preset temperature range based on the temperature information of the measuring point and the preset temperature range, and compensate the magnetic field characteristic parameters in response to the temperature information of the measuring point being outside the preset temperature range. The preset temperature range refers to the temperature range when the scanning magnet works normally. In some embodiments, the preset temperature range can be pre-set based on historical data.

[0294] In some embodiments, the magnetic field measuring device can calculate the temperature difference between the temperature information of the measuring point and the middle value of the preset temperature range, and calculate the resistance difference caused by the temperature difference through a preset formula based on the temperature difference and the property information of the scanning magnet coil, and calculate the current difference through a preset formula based on the resistance difference and the power supply parameters, and calculate the magnetic field strength difference through a preset formula based on the current difference, and compensate the magnetic field strength according to the magnetic field strength difference. Among them, the preset formula may include any one of the electrical formulas, magnetic field strength related formulas, etc. The property information may include the resistivity at different temperatures, the cross-sectional area of ​​the coil, the total length of the coil, etc. In some embodiments, the property information may be obtained by user input or the like.

[0295] In some embodiments of this specification, the effect of temperature on the performance of the magnet is taken into consideration and the magnetic field strength is compensated to obtain a more accurate magnetic field strength.

[0296] Fig.14 1400 is a schematic diagram of a process for verifying a magnetic field characteristic parameter provided by an embodiment of the present application. In some embodiments, process 1400 is performed by a magnetic field measuring device. Fig.14 As shown, process 1400 includes the following steps:

[0297] Step 1410: Select at least one magnetic field measurement point as a calibration measurement point, and obtain calibration characteristic parameters corresponding to each calibration measurement point.

[0298] The calibration measurement point refers to a magnetic field measurement point used for calibration. In some embodiments, the magnetic field measurement device can determine the calibration measurement point in a variety of ways. For example, the magnetic field measurement device can randomly select a preset number of magnetic field measurement points as calibration measurement points. For another example, the magnetic field measurement device can divide the area to be measured into multiple sub-areas, and select a preset number of magnetic field measurement points in each sub-area as calibration measurement points. Among them, the preset number can be pre-set based on historical experience.

[0299] The calibration characteristic parameters refer to the theoretical characteristic parameters of the magnetic field at the calibration measurement point. In some embodiments, the calibration characteristic parameters corresponding to the calibration measurement point can be determined based on the theoretical parameters of the scanning magnet, or can be determined based on actual measurements of the calibration measurement point. This specification does not limit the method for obtaining the calibration characteristic parameters. Among them, the theoretical parameters of the scanning magnet refer to the parameters designed when the scanning magnet is produced. In some embodiments, the theoretical parameters of the scanning magnet may include magnetic field strength, direction, etc. In some embodiments, the magnetic field measurement device can obtain the theoretical parameters of the scanning magnet through user input and other methods.

[0300] Step 1420, obtaining magnetic field characteristic parameters corresponding to each calibration measurement point.

[0301] In some embodiments, the magnetic field measurement device may obtain magnetic field characteristic parameters corresponding to each calibration measurement point through a magnetic field sensor.

[0302] Step 1430, determining whether the calibration characteristic parameters and magnetic field characteristic parameters corresponding to each calibration measurement point meet preset calibration conditions.

[0303] The preset verification condition refers to the condition used to determine whether to send a verification alarm message. In some embodiments, the preset verification condition may include multiple conditions. For example, the preset verification condition may include that the verification characteristic parameter is the same as the magnetic field characteristic parameter, or that the error between the verification characteristic parameter and the magnetic field characteristic parameter is within a preset error range. This specification does not limit the preset verification condition. The preset error range may be the difference in magnetic field strength within ±0.5% or ±1mT (milli-Tesla), or the magnetic field direction within ±1 degree. This specification does not limit the preset error range.

[0304] It can be understood that if the verification characteristic parameters and the magnetic field characteristic parameters meet the preset verification conditions, it means that the result of the magnetic field measurement is credible.

[0305] Step 1440: In response to the fact that the calibration characteristic parameters and magnetic field characteristic parameters corresponding to each calibration measurement point do not satisfy the preset calibration conditions, the measurement is terminated and a calibration alarm message is sent.

[0306] The verification alarm information is used to indicate that there is an abnormality in the characteristic parameters of the magnetic field, thereby prompting the user that there is a problem with the measurement result.

[0307] In some embodiments, in response to the calibration characteristic parameters and magnetic field characteristic parameters corresponding to each calibration measurement point not satisfying the preset calibration conditions, the magnetic field measurement device may terminate the measurement and send a calibration alarm message to the user equipment. In some embodiments, the method of sending the calibration alarm message is similar to the method of sending the operation alarm message, and its implementation method can refer to the method of sending the operation alarm message.

[0308] In some embodiments, the verification process may be performed simultaneously with the measurement process, or may be performed after the measurement is completed. This specification does not limit the time when the verification process is performed.

[0309] In some embodiments of this specification, the accuracy and credibility of the measurement results can be verified by calibrating the selected magnetic field measurement points. The measurement results are ensured to be within the preset allowable range, thereby improving the reliability of the measurement results. By comparing the calibration characteristic parameters with the magnetic field characteristic parameters, it is detected in real time whether the magnetic field characteristic parameters are abnormal. When an abnormal situation is found, a calibration alarm message is sent in time to help users find problems in time and take measures.

[0310] It should be noted that the above description of process 1400 is only for illustration and description, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the process hand-eye calibration under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.

[0311] In some embodiments, the magnetic field measurement device can obtain the measured magnetic field characteristic parameters of each magnetic field measurement point in real time, and generate and display a magnetic field heat map based on the measured magnetic field measurement points and their corresponding magnetic field characteristic parameters.

[0312] A magnetic field heat map is an image showing the distribution of a magnetic field. In some embodiments, the magnetic field heat map can use color or grayscale to represent the intensity or distribution of different magnetic field characteristic parameters. Different colors can be used to represent different magnetic field intensity values ​​in the magnetic field heat map, thereby intuitively representing the distribution of magnetic field intensity in the magnetic field space.

[0313] In some embodiments, the magnetic field measuring device may display the generated magnetic field heat map on a computer screen or in other visual ways.

[0314] In some embodiments of the present specification, the displayed magnetic field heat map can help users intuitively understand the distribution and change trend of magnetic field characteristic parameters. Since the magnetic field heat map is generated based on the real-time acquisition of measured magnetic field measurement points and their corresponding magnetic field characteristic parameters, the user can intuitively see the progress of the magnetic field measurement. By generating and displaying the magnetic field heat map, the magnetic field measurement results can be presented in an intuitive graphical manner, which is convenient for users to observe and analyze. The magnetic field heat map reflects the distribution of magnetic field characteristic parameters, and can be used to analyze information such as the intensity distribution and direction distribution of the magnetic field to help understand the magnetic field characteristics.

[0315] The embodiment of the present application also provides an electronic device, the specific embodiment of which is consistent with the embodiment recorded in the above method embodiment and the technical effects achieved, and some contents will not be repeated here.

[0316] The electronic device is used to measure the magnetic field of the scanning magnet in the particle accelerator by any of the above magnetic field measurement devices. In some embodiments, the electronic device may include a memory and at least one processor, the memory stores a computer program, and the at least one processor is configured to implement the following steps when executing the computer program:

[0317] The magnetic field sensor fixedly connected to the mobile control module is moved to each magnetic field measurement point of the scanning magnet by the mobile control module, so as to measure the magnetic field at each magnetic field measurement point.

[0318] In some embodiments, at least one processor is configured to execute a computer program in the following manner through a mobile control module to move a magnetic field sensor fixedly connected to the mobile control module to each magnetic field measurement point of a scanning magnet so as to perform magnetic field measurement on each magnetic field measurement point: obtaining information of an area to be measured; generating at least one magnetic field measurement point based on the information of the area to be measured; planning a moving path of the magnetic field sensor according to each magnetic field measurement point to obtain mobile control information of the mobile control module; and controlling the mobile control module to operate according to the mobile control information to drive the magnetic field sensor to move to each magnetic field measurement point.

[0319] In some embodiments, at least one processor is configured to control the operation of the mobile control module according to the mobile control information in the following manner when executing a computer program: interrupt the operation of the mobile control module at every first preset time interval, and obtain the current position information and theoretical position information of the magnetic field sensor; determine whether the current position information and theoretical position information of the magnetic field sensor meet the preset position condition; in response to the current position information and theoretical position information of the magnetic field sensor not meeting the preset position condition, generate a movement length according to the current position information and theoretical position information of the magnetic field sensor; adjust the mobile control information according to the movement length, and control the operation of the mobile control module according to the adjusted mobile control information until the current position information and theoretical position information of the magnetic field sensor meet the preset position condition.

[0320] In some embodiments, at least one processor is also configured to control the operation of the mobile control module in the following manner according to the mobile control information when executing the computer program: when the current position information and theoretical position information of the magnetic field sensor still do not meet the preset position conditions within a second preset time period, an operation alarm message is sent.

[0321] In some embodiments, at least one processor is configured to plan the movement path of the magnetic field sensor according to each magnetic field measurement point in the following manner when executing a computer program to obtain movement control information of the movement control module: obtain the movement information of the magnetic field sensor; input the movement information of each magnetic field measurement point and the magnetic field sensor into a path planning model to obtain the movement control information of the movement control module.

[0322] In some embodiments, at least one processor is configured to implement the following steps when executing a computer program: for each magnetic field measurement point, the following operations are performed: obtaining an initial voltage signal and measurement point temperature information corresponding to the magnetic field measurement point through a magnetic field sensor; based on the measurement point temperature information, compensating the initial voltage signal to obtain a compensated voltage signal; and obtaining the magnetic field characteristic parameters of the magnetic field measurement point based on the compensated voltage signal.

[0323] In some embodiments, at least one processor is configured to implement the following steps when executing a computer program: select at least one magnetic field measurement point as a verification measurement point, and obtain the verification characteristic parameters corresponding to each verification measurement point; obtain the magnetic field characteristic parameters corresponding to each verification measurement point; determine whether the verification characteristic parameters and magnetic field characteristic parameters corresponding to each verification measurement point meet preset verification conditions; in response to the verification characteristic parameters and magnetic field characteristic parameters corresponding to each verification measurement point not meeting the preset verification conditions, terminate the measurement and send a verification alarm message.

[0324] In some embodiments, the method further includes acquiring in real time the magnetic field characteristic parameters measured at each magnetic field measurement point, and generating and displaying a magnetic field heat map based on the measured magnetic field measurement points and their corresponding magnetic field characteristic parameters.

[0325] Fig.15 It is a structural block diagram of an electronic device provided in an embodiment of the present application.

[0326] The electronic device 10 may include, for example, at least one memory 11 , at least one processor 12 , and a bus 13 connecting different platform systems.

[0327] The memory 11 may include a (computer) readable medium in the form of a volatile memory, such as a random access memory (RAM) 111 and / or a cache memory 112, and may further include a read-only memory (ROM) 113. The memory 11 also stores a computer program, which can be executed by the processor 12, so that the processor 12 implements the steps of any of the above methods. The memory 11 may also include a utility 114 having at least one program module 115, such program module 115 includes but is not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination thereof may include the implementation of a network environment.

[0328] Accordingly, the processor 12 may execute the above-mentioned computer program and may execute the utility 114. The processor 12 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.

[0329] The bus 13 may be a local bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any of a variety of bus architectures.

[0330] The electronic device 10 may also communicate with one or more external devices such as a keyboard, a pointing device, a Bluetooth device, etc., and may also communicate with one or more devices that can interact with the electronic device 10, and / or communicate with any device (such as a router, a modem, etc.) that enables the electronic device 10 to communicate with one or more other computing devices. Such communication may be performed through an input / output interface 14. In addition, the electronic device 10 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 15. The network adapter 15 may communicate with other modules of the electronic device 10 through the bus 13. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 10 in actual applications, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.

[0331] The embodiment of the present application also provides a computer-readable storage medium, the specific embodiment of which is consistent with the embodiment recorded in the above method embodiment and the technical effects achieved, and some contents will not be repeated here.

[0332] The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of any of the above methods or the functions of any of the above electronic devices are implemented.

[0333] Computer readable medium can be a computer readable signal medium or a computer readable storage medium. In an embodiment of the present application, a computer readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. Computer readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0334] The computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable storage medium may also be any computer-readable medium that can send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the computer-readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above. The program code for performing the operation of the present invention may be written in any combination of one or more programming languages, including Java, C++, Python, C#, JavaScript, PHP, Ruby, Swift, Go, Kotlin, etc. The program code may be executed entirely on a user computing device, partially on a user device, as a separate software package, partially on a user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0335] The embodiment of the present application also provides a computer program product, the specific embodiments of which are consistent with the embodiments recorded in the above method embodiments and the technical effects achieved, and some contents will not be repeated here.

[0336] The present application provides a computer program product, which includes a computer program. When the computer program is executed by at least one processor, the steps of any of the above methods or the functions of any of the above electronic devices are implemented.

[0337] Fig.16 It is a structural diagram of a computer program product provided in an embodiment of the present application.

[0338] The computer program product is used to implement the steps of any of the above methods or to implement the functions of any of the above electronic devices. The computer program product may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the computer program product of the present invention is not limited thereto, and the computer program product may be any combination of one or more computer-readable media.

[0339] Furthermore, certain features, structures or characteristics in one or more embodiments of this specification may be appropriately combined.

[0340] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "approximately", "approximately" or "substantially" in some examples. Unless otherwise specified, "approximately", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which can be changed according to the required features of individual embodiments. In some embodiments, the numerical parameters should consider the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of the scope in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values ​​is as accurate as possible within the feasible range. If the description, definition, and / or use of terms in the referenced materials of this specification are inconsistent or conflicting with the contents described in this specification, the description, definition and / or use of terms in this specification shall prevail.

Claims

1. A magnetic field measuring device, It is characterized in that For measuring the magnetic field of a scanning magnet in a particle accelerator, the device comprises: A magnetic field sensor, the magnetic field sensor is used to measure magnetic field characteristic parameters corresponding to each magnetic field measurement point of the scanning magnet; A mobile control module, wherein the mobile control module is fixedly connected to the magnetic field sensor, and the mobile control module is used to move the magnetic field sensor to each of the magnetic field measurement points to measure the magnetic field at each of the magnetic field measurement points.

2. The magnetic field measuring device according to claim 1, It is characterized in that The mobile control module comprises: A moving component based on Euler angles, wherein the moving component based on Euler angles comprises a telescopic axis component, a rotating axis component and a radial axis component; wherein, The telescopic shaft assembly includes a telescopic shaft, a first stepper motor and a first encoder, wherein the first stepper motor drives the telescopic shaft to extend and retract, and the first encoder is installed on the motor shaft of the first stepper motor and is used to measure the rotation distance of the first stepper motor in real time; The rotating shaft assembly includes a rotating shaft, a second stepping motor and a second encoder, wherein the second stepping motor drives the rotating shaft to rotate, and the second encoder is installed on the motor shaft of the second stepping motor and is used to measure the rotation distance of the second stepping motor in real time; The radial shaft assembly includes a radial shaft, a third stepper motor and a third encoder. The third stepper motor drives the radial shaft to extend and retract. The third encoder is installed on the motor shaft of the third stepper motor and is used to measure the rotation distance of the third stepper motor in real time. The radial shaft is connected to the magnetic field sensor.

3. The magnetic field measuring device according to claim 1, It is characterized in that The magnetic field measuring device further comprises a gyroscope and an accelerometer, wherein the gyroscope and the accelerometer are connected to the magnetic field sensor, and the gyroscope is used to collect angular motion data during the movement of the magnetic field sensor; The accelerometer is used to collect acceleration data of the magnetic field sensor.

4. The magnetic field measuring device according to claim 1, It is characterized in that The device also includes: A power amplifier, the power amplifier is used to supply power to the scanning magnet; A heat exchange component is used to cool the scanning magnet and the power amplifier.

5. The magnetic field measuring device according to claim 1, It is characterized in that The device also includes: An image acquisition component is used to obtain a photo of the aperture area of ​​the scanning magnet, so as to obtain the shape of the aperture area of ​​the scanning magnet based on the photo of the aperture area.

6. The magnetic field measuring device according to claim 1, It is characterized in that The device also includes: A position compensation unit is used to eliminate the position error caused by the change of the position of the scanning magnet.

7. A control method for a magnetic field measuring device, It is characterized in that The method is used to measure the magnetic field of a scanning magnet in a particle accelerator using the magnetic field measuring device according to any one of claims 1 to 6, the method comprising: Acquiring the magnetic field background of the environment where the magnetic field measuring device is located; By moving the control module, the magnetic field sensor fixedly connected to the control module is moved to each magnetic field measurement point of the scanning magnet to measure the magnetic field at each magnetic field measurement point; Based on the magnetic field background, the measurement result of each magnetic field measurement point is corrected.

8. The method according to claim 7, It is characterized in that The method further comprises: Obtain the power supply parameters and starting temperature of the power amplifier; Based on the power supply parameters and the starting temperature, determining a temperature rise curve of the scanning magnet after executing the power supply parameters; Based on the temperature rise curve of the scanning magnet, a cooling parameter of a heat exchange component is determined, wherein the cooling parameter includes a cooling period.

9. The method according to claim 7, It is characterized in that The method further comprises: Based on the measurement results, drawing a plurality of magnetic flux lines; Determining a magnetic field vector diagram of the scanning magnet based on the plurality of magnetic flux lines; Determining a magnetic field error based on the magnetic field vector diagram and a theoretical vector diagram; Based on the magnetic field error, a coil winding density of the scanning magnet is determined.

10. The method according to claim 7, It is characterized in that The method further comprises: Get the key focus areas; Determining the change granularity based on the magnetic field characteristic parameters of the measured points in the key focus area; Based on the change granularity, the number of magnetic field measurement points and movement control information in the key focus area are adjusted.

11. The method according to claim 7, It is characterized in that The method of moving the magnetic field sensor fixedly connected to the mobile control module to each magnetic field measurement point of the scanning magnet to measure the magnetic field at each magnetic field measurement point includes: Acquire information of the area to be tested; the information of the area to be tested is used to indicate the shape and size of the area to be tested of the scanning magnet; Based on the information of the area to be measured, generating at least one magnetic field measurement point; According to each of the magnetic field measurement points, a moving path of the magnetic field sensor is planned to obtain movement control information of the movement control module, wherein the movement control information includes at least one of rotation speed, steering, torque, acceleration and power; According to the movement control information, the movement control module is controlled to operate so as to drive the magnetic field sensor to move to each of the magnetic field measurement points.

12. The method according to claim 11, It is characterized in that The generating at least one magnetic field measurement point based on the information of the area to be measured comprises: Based on the information of the area to be measured, predict multiple magnetic field change rates of the area to be measured; Determining an interval parameter based on a plurality of magnetic field change rates in the area to be measured; Based on the spacing parameter, the at least one magnetic field measurement point is generated.

13. The method according to claim 11, It is characterized in that The planning of the moving path of the magnetic field sensor according to each of the magnetic field measurement points to obtain the moving control information of the moving control module includes: Acquiring movement information of the magnetic field sensor, wherein the movement information includes a moving direction and a moving speed of the magnetic field sensor; Inputting the movement information of each magnetic field measurement point and the magnetic field sensor into a preset path planning model to obtain the movement control information of the movement control module; Wherein, the path planning model is a machine learning model.

14. The method according to claim 7, It is characterized in that The method further comprises: For each magnetic field measurement point, the following operations are performed: Obtaining, by means of the magnetic field sensor, an initial voltage signal corresponding to the magnetic field measurement point and temperature information of the measurement point; Based on the temperature information of the measuring point, compensating the initial voltage signal to obtain a compensated voltage signal; The magnetic field characteristic parameters of the magnetic field measurement point are obtained according to the compensated voltage signal.

15. An electronic device, It is characterized in that The electronic device is used to measure the magnetic field of a scanning magnet in a particle accelerator by using the magnetic field measuring device according to any one of claims 1 to 6, wherein the electronic device comprises a memory and at least one processor, wherein the memory stores a computer program, and the at least one processor is configured to implement the following steps when executing the computer program: The magnetic field sensor fixedly connected to the mobile control module is moved to each magnetic field measurement point of the scanning magnet by the mobile control module, so as to measure the magnetic field at each magnetic field measurement point.

Citation Information

Patent Citations

  • Magnetic field measurement device, control method thereof, electronic equipment and related device

    CN117031365A

Cited By

  • Multi-axis cooperation method for industrial master

    CN119820370A

  • Scanning magnet beam calibration method and related equipment

    CN121454583A