1 INTRODUCTION
Proton beams have been widely used in cancer therapy for the past few decades. The Shanghai Advanced Proton Therapy Facility (APTRON) is the first Chinese-developed, hospital-based proton therapy facility, and it is under construction at the time of writing [1].
The beam delivery system is one of the key systems in a proton therapy facility. Its function is to achieve the prescribed dose rate and three-dimensional dose distribution. Beam delivery systems commonly use a spot-scanning technique, which is also implemented in the APTRON beam delivery system. The distinct advantages of a spot-scanning beam delivery system are its lack of patient-specific hardware, precise three-dimensional conformal dose distribution, and excellent distal dose fall-off performance.
2 THE APTRON BEAM DELIVERY SYSTEM
A schematic diagram of the spot-scanning beam delivery system is shown in Fig. 1. Two orthogonal scanning magnets (SMU and SMV) are used to control the irradiation position of the proton beam. A photo of the SMU scanning magnet is shown in Fig. 2. The main design parameters of the scanning magnets are presented in Table 1.
Parameters | SMU | SMV |
---|---|---|
Deflection angle (mrad) | ±69.7 | ±62.0 |
SAD (m) | 2.87 | 2.42 |
Pole length (m) | 0.205 | 0.230 |
Magnet length (m) | 0.309 | 0.334 |
Magnet gap (mm) | 30 | 109 |
Number of coil turns | 48 | 64 |
Maximum field strength (T) | 0.799 | 0.634 |
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F001.jpg)
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F002.jpg)
The workflow of the spot-scanning beam delivery system during the irradiation process is as follows:
(1) The beam is moved to the prescribed position.
(2) The proton beam is turned on.
(3) The proton beam is turned off when the prescribed particle number has been reached.
(4) The beam is moved to the next position.
The transition time for moving the beam is part of the overall irradiation time. Therefore, the transition time should be as short as possible to achieve a high dose rate. In order to realize a high-accuracy three-dimensional dose distribution, the maximum error in the iso-center of the beam position should be within ±0.07 mm and the corresponding maximum error in the magnetic field strength should be within ±2.5 G.
3 HYSTERESIS EFFECT OF THE SCANNING MAGNETS
Magnetic hysteresis is the main factor that influences the accuracy of the scanning magnetic field. Hysteresis can be divided into rate-dependent hysteresis and rate-independent hysteresis. Rate-dependent hysteresis involves a dynamic response to changes in the magnetic field.
Figure 3 shows the step response of the scanning magnet. When the input current of the scanning magnet changed by 5% of the maximum, the settling time of the magnetic field was less than 2 ms.
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F003.jpg)
The magnetic hysteresis loop is shown in Fig. 4, which illustrates the properties of rate-independent hysteresis. Following an investigation of ferromagnetic hysteresis loops, Kuhnen summarized the following rules for rate-independent hysteresis [2]:
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F004.jpg)
· Any curve C1 emanating from a turning point A of the output–input trajectory is uniquely determined by the coordinate of A.
· If any point B on the curve C1 becomes a new turning point, then the curve C2 originating at B leads back to the point A.
· If the curve C2 continues beyond the point A, then it coincides with the continuation of the curve C that led to the point A before the C1–C2 cycle was traversed.
Typical feedforward control strategies are a neural network control [3-5], Prandtl–Ishlinskii (PI) control [6], and generalized PI (GPI) control [7-11]. However, PI and GPI control are too complex to be realized in real-time calculation, which is necessary for control of the scanning magnetic field in the spot-scanning beam delivery system.
4 FEEDFORWARD CONTROL OF THE SCANNING MAGNETS
For a conventional feedback system, the magnet hysteresis is compensated for by the feedback loop. However, for a feedforward system, the magnetic hysteresis should be precisely modeled in order to achieve the required accuracy for the magnetic field strength. Another consideration in developing the hysteresis model is that the model calculation should be as simple as possible to meet the needs of real-time control.
4.1 A simplified model for rate-independent hysteresis
According to Madelung’s rules, any curve emanating from a turning point is uniquely determined by the coordinates of the turning point. As shown in Fig. 5, a bundle of curves may be recorded. The turning point is defined as the top point of the hysteresis loops (at the point of the arrow). The path (curve C2 or C5) from a starting point (the blue triangle) to a set point (the green square) is uniquely determined by the starting point.
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F005.jpg)
Because hysteresis loops are multi-valued functions, the curves for the increasing current and for the decreasing current are different and are recorded separately (as shown in Figs. 5(a) and (b)).
4.2 Feedforward control algorithm
The proposed feedforward control algorithm is based on the above simplified hysteresis model.
Suppose that the initial values of the current magnetic field strength and the excitation current are Bini and Iini, respectively, the corresponding hysteresis curve is C, and the target magnetic field strength is Bset, related like so:
The set value of the excitation current Iset is uniquely determined by the target magnetic field strength Bset, and can be calculated by solving the following equation:
Only a limited number of curves were recorded for the sake of practicality. If the starting point (Iini, Bini) was not on any of these curves, then the closest curve was selected. All curves were fitted by piecewise functions and a linear interpolation method was implemented.
To ensure a monotonic relationship between the excitation current and the magnetic field strength, overshoot of the scanning magnet’s power supply was avoided.
In order to cover the entire region of possible starting points and to ensure the accuracy of the magnetic field strength, the excitation current at the ends of all the curves was set to the maximum current ±Imax, and the distance between two adjacent curves at any given excitation current was within ±2.5 G. The input current shown in Fig. 6 is:
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F006.jpg)
where Iini is the initial excitation current, ΔI is the step-size of the change in current, and i is the sequence number of each measurement point. The hysteresis curves with the linear part subtracted are illustrated in Fig. 7.
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F007.jpg)
5 EXPERIMENTAL RESULTS
The feedforward algorithm was tested using a benchmark of 100 random setting points for the magnetic field strength, ranging between −Bmax and +Bmax. The testing result is shown in Fig. 8. The maximum error and the mean squared error were 2.45 G and 0.60 G, respectively. The major source of control error was the distance between the adjacent recorded curves, the measurement accuracy of the magnetic field strength, and the reproducibility and stability of the scanning magnet’s power supply.
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F008.jpg)
The accuracy of the scanning magnetic field for the conventional feedback algorithm [3] is shown in Fig. 9. Among the 100 random setting points, 79 points need two iterations, 18 points need three iterations, and 3 points need four iterations. The accuracy of the feedback algorithm is considerably better than that of the feedforward algorithm; however, if the number of iterations is larger than two, the settling time of the scanning magnetic field is too large and the prescribed dose rate cannot be achieved.
-201712/1001-8042-28-12-003/alternativeImage/1001-8042-28-12-003-F009.jpg)
6 DISCUSSION
From the comparison of the results of the feedforward and feedback control algorithms, we can see that the desired control precision of the magnetic field strength can be achieved through both algorithms. However, the average settling time of the proposed feedforward control algorithms is 2.2 times shorter than that of the conventional feedback algorithm. Because both algorithms can otherwise satisfy the control precision, the feedforward algorithm is preferred.
7 CONCLUSION
This paper proposed a novel feedforward control algorithm to achieve precise magnetic field control of the scanning magnets for the spot-scanning beam delivery system in the Shanghai Advanced Proton Therapy Facility (APTRON). The proposed feedforward algorithm was found to have better performance than the conventional feedback algorithm, owing to its shorter settling time while achieving an identical control precision of ±2.5 G. In conclusion, the feedforward hysteresis control system meets the design requirements.
Gantry optimization of the Shanghai Advanced Proton Therapy facility
. Nucl Sci Tech 26, 040201(2015). doi: 10.13538/j.1001-8042/nst.26.040201Inverse feedforward controller for complex hysteretic nonlinearities in smart-material systems
. Control and Intelligent Systems 3, 74-83 (2001)Particle beam irradiation apparatus and particle beam therapy system
(2013)Quasistatic hysteresis modeling with feed-forward neural networks: Influence of the last but one extreme values
. J Magn Magn Mater 320, e992-e996 (2008). doi: 10.1016/j.jmmm.2008.04.076A neural networks model for hysteresis nonlinearity
. Sensor Actuat A-Phys 112, 49-54 (2004). doi: 10.1016/j.sna.2003.11.016Compensation of hysteresis nonlinearities in smart actuators
.Non-linear control of a hydraulic piezo-valve using a generalised Prandtl-Ishlinskii hysteresis model
. Mech Syst Signal Pr 82, 412-431 (2016). doi: 10.1016/j.ymssp.2016.05.032Hysteresis modeling and position control of actuator with magnetic shape memory alloy
. Carpathian Control Conference, 505-510 (2016). doi: 10.1109/CarpathianCC.2016.7501150Experimental characterization, modeling and compensation of rate-independent hysteresis of voice coil motors
. Sensor Actuat A-Phys 251, 10-19 (2016). doi: 10.1016/j.sna.2016.09.030Design, modelling and control of a micro-positioning actuator based on magnetic shape memory alloys
. Smart Mater. Struct. 075005 (2016). doi: 10.1088/0964-1726/25/7/075005Modeling and inverse compensation of hysteresis in vanadium dioxide using an extended generalized Prandtl-Ishlinskii model
. Smart Mater. Struct. 23, 125017 (2014). doi: 10.1088/0964-1726/23/12/125017