Charged particle accelerator systems including beam dose and energy compensation and methods therefor

The compensation method in charged particle accelerators stabilizes beam dose and energy by adjusting RF power based on system performance, addressing thermal and frequency instabilities for consistent radiation output.

SA515360510B1Undetermined Publication Date: 2016-08-09VAREX IMAGING CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA515360510
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2015-06-03
Publication Date
2016-08-09
Estimated Expiration
2033-12-02

AI Technical Summary

Technical Problem

Existing charged particle accelerator systems experience instability in beam dose and energy due to thermal transitions and frequency mismatches, leading to variations that are impractical for applications requiring stable radiation output.

Method used

A compensation method is employed by adjusting the RF power supplied to the accelerator based on the system's previous performance, using a control device to manage the power supply, and incorporating a compensation circuit that adjusts control voltage to stabilize beam dose and energy.

Benefits of technology

The method significantly reduces beam dose and energy instability, ensuring stable radiation output by compensating for thermal and frequency fluctuations, making it suitable for applications needing consistent radiation delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 106AF96A-DB67-445D-82B6-B7F68092A31B
    Figure 106AF96A-DB67-445D-82B6-B7F68092A31B
  • Figure 11C90B21-94DC-4115-BA0B-3ED9FDF7DCDC
    Figure 11C90B21-94DC-4115-BA0B-3ED9FDF7DCDC
  • Figure 174D2D35-D990-426A-B0C1-575C2EDF9E02
    Figure 174D2D35-D990-426A-B0C1-575C2EDF9E02
Patent Text Reader

Abstract

A method of operating an acceleration system comprises injecting charged particles into an R.F accelerator, providing RF power to the accelerator, and accelerating the injected charged panicles. The accelerated charged particles may impact a target to generate radiation. The RF power is based, at least in part, on past performance of the system, to compensate, at least partially, for dose and / or energy instability. A controller may provide a compensated control voltage ("CCV") to an electric power source based on he past performance, to provide compensated electric power to the RF source. A decreasing CCV, such as an exponentially de­ Creasing CCV , may be provided to the electric power sourcc during beam on timc periods. The CCV to be provided may be in- Creased, such as exponentially increased toward a maximum value, during beam off time periods. The controller may be be configured by a compensation circuit and / or software. Systems are a
Need to check novelty before this filing date? Find Prior Art

Description

Full description Background of the invention The present invention relates to charged particle accelerator systems and methods, more specifically, to charged particle accelerator systems and methods involving compensation for beam dose and energy instability by adjusting the available electric power from an electric power source to an RF (Radio-frequency) source and the resulting RF power available to the accelerator. Radiation is widely used in the interrogation and irradiation of elements, including humans. Examples of interrogation include medical imaging, cargo imaging, industrial tomography, and non-destructive testing (NDT) of elements. Examples of irradiation include food irradiation and tumor irradiation. Accelerated charged particles, such as protons, are also used in tumor irradiation. Radio-frequency (RF) accelerators are commonly used to accelerate charged particles and produce beams of radiation, such as X-rays. RF-accelerated radiation sources may operate in pulsed mode, where charged particles are accelerated in short pulses of a few microseconds, for example, separated by periods of rest. Some applications require a steady-state beam of radiation, where each pulse is expected to be symmetrical. Other applications, such as commodity imaging, may use multiple entangled beams of radiation, as described, for example, in U.S. Patent No. (B2) 8183801, filed August 12, 2008, assigned to the assignee in the present invention, and incorporated herein for reference. Figure 1 is an integrated diagram of the main components of an example RF accelerator system 10 configured for radiation generation. The system includes an accelerator 10 (also called a beam center line ("BCL") 12). An RF source 14, which may be a magnetron or an electron tube (klystron), provides RF power to the accelerator 12 through an RF network 16. The RF network 16 ensures that the RF source 14 is properly coupled to the accelerator 12 and isolates the RF source from reflected RF power and the frequency attraction effect generated by the accelerator. Typically, the RF network 16 includes a loop and an RF load (not visible). A charged particle source (18) injects charged particles into resonant (invisible) cavities of accelerator (12) for acceleration. A target (20), such as tungsten, is placed to collide with the accelerated charged particles, generating radiation via the Bremsstrahlung effect, as described in the text. To generate an X-ray beam, the charged particle source may include a diode- or triode-type electron gun, for example. The RF source 14 is kept in a "ready to generate" RF state by a (concealed) wire heater. The external surface temperature of the RF source is typically controlled. The charged molecule source 18 also includes a (concealed) wire heater so that the molecule source is ready to inject molecules on demand. An electric power source (22) provides power to the RF source (14) and the charged particle source (18). A controller (24) controls the electric power source (22), such as a programmable logic controller (PLC), microprocessor, or computer. An automatic frequency controller (AFC) (26) is available between the accelerator (12) and the RF source (14) to match the resonant frequency of the accelerator (12) with the frequency of the RF source, as described in U.S. Patent (B2) 8183801, cited above. When the operator issues a beam-fire command to controller 24 to generate a radiation beam, for example, controller 24 enables power supply 22 to provide power to RF source 14 and to the charged particle source 18. The power may be available in pulses of a few microseconds each, at a rate of a few hundred pulses per second, for example. Accelerator 12 receives the RF power from RF source 14 and generates stationary or mobile electromagnetic waves in the accelerator's resonant cavities, depending on the accelerator's design. The resonant cavities package and accelerate the charged particles injected by the charged particle source 18. In this example, the accelerated charged particles are directed toward target 20. The collision of the accelerated charged particles with target 20 results in radiation generation by the Bremsstrahlung effect, as described above, at a corresponding radiation pulse rate and length. Power source 22 stops supplying pulsed power to the RF source when radiation is no longer required (beam stop). The beam stop command can be received from the operator, or the controller can be programmed to terminate beam generation after a predefined time period.The beam cycle may last for seconds, minutes, or hours between the beam's on command and its off command, for example. When radiation generation is desired again, the power source is activated and provides pulsed power to the RF source once more. Directly accelerated charged particles may also be used, in which case the target 20 is not required. The stability of the generated radiation beam may vary from the beginning to the end of the beam. See, for example: Chen, Gongyin, et. al., “Dual-energy Figure 2 is a normalized radiation dose-time graph for a continuous beam 2(a) generated for over 300 seconds by a Varian M6 Linatron®, available from Varian Medical Systems, Inc., Palo Alto, California (“Varian”), based on actual test results. The steady-state beam 2(a) in this example includes radiation pulses generated at a rate of a few hundred pulses per second. Each pulse may last for a few microseconds. These microsecond pulses are not shown. In this example, the dose rate drops by about 10% from the peak dose 2(b) at the initial beam start to a more stable dose rate after about 150 seconds. The beam energy may also vary. Other commercially available linear accelerators may exhibit similar instability to that shown in Figure 2. Some accelerators for medical applications are available from Varian and other companies, including PFN servo, which adjusts the power supplied from the RF source (22) to the RF source (14) based on the molecular loss along the beam curve. These feedback-based methods require high-quality signals that indicate the system states. Dose and / or energy fluctuations may be introduced due to back-and-forward adjustments in the power supplied to the RF source. General description of the invention While the invention is acceptable for many applications, variations in dose and energy can negatively impact applications requiring a more stable radiation dose and energy throughout the entire time of beam generation, starting from the initial generation of the beam. In object and commodity imaging, for example, reliable discrimination and / or identification of the material requires a constant X-ray dose and beam output. In the case of interlaced energy radiation pulses, each pulse sequence needs to be stable. Due to radiation safety concerns and throughput requirements, it is impractical to operate an X-ray beam, wait for it to stabilize, and then inspect the object. In cancer treatment, there are also precise requirements for the quality (and quantity) of the radiation beam. Various sources of potential instability may exist in an accelerator system. For example, it has been found that when the RF power is switched off for an extended period, the RF source reaches a thermal equilibrium for off-RF at a temperature lower than the thermal equilibrium for on-RF. After power is supplied to the RF source, it reaches the thermal equilibrium for on-RF. This rapid transition from the thermal equilibrium for off-RF to the thermal equilibrium for on-RF may result in a variation in the RF output power and / or frequency when the beam is first switched on, leading to a change in the radiated beam energy and dose output. Another potential source of instability is the RF network, where the interpolation loss of RF network components, primarily the RF loop, may change during similar transitions between thermal equilibrium states. Changes in interpolation loss may lead to changes in the RF power transmitted to the accelerator. The accelerator is another potential source of instability, partly because its resonant frequency is subject to small temperature variations. As the accelerator heats up due to RF power, it expands, resulting in a slow frequency shift in the accelerator's resonant frequency as it reaches thermal equilibrium. This shift is most noticeable in the first minute or two of operation. The accelerator's resonant frequency also varies in response to environmental changes, including ambient temperature. Changes in the resonant frequency can cause a mismatch between the frequency of the RF source and the RF grid, increasing the reflected RF power and weakening the electromagnetic field within the accelerator, resulting in lower beam energy. A frequency servo or automatic frequency controller (AFC) is typically used to track the overall frequency change of the accelerator's resonant cavities. However, the AFC may not fully compensate for frequency changes in individual cavities. The source of the charged molecule is another potential source of instability. Injecting charged particles into the accelerator may cool the source, while some charged particles may be normally pushed into the source by the accelerator, which may heat it. Thus, at the beginning of the injection of the charged molecule, the source also experiences a transition between thermal equilibrium states. This may alter the properties of the molecule group withdrawn from the source, such as its emission characteristics (position and carrier dose velocity at a given time), which may affect the packaging and acceleration of the electromagnetic field in the accelerator. U.S. Patent Application No. 134989 / 13, filed on June 22, 2011, and assigned to the assignee in the present invention, incorporated herein for reference, describes techniques for components of a preheating system prior to radiation generation, to reduce the effects of temperature variation. According to the invention's embodiments, compensation for dose and / or energy instability of a charged particle beam or radiation beam is provided based on the prior performance of the accelerator system. Compensation may be based on testing of the system at the factory prior to shipment and / or on-site. Compensation may be applied by adjusting the RF power supplied to the accelerator, based on the system's prior performance. In one embodiment, the RF power is adjusted by adjusting the control voltage supplied by the controller to the power supply, which provides power to the RF source. The amount of compensation available may increase during the acceleration of charged particles and / or the optional generation of a radiation beam, as less compensation is required as the system components reach their beam state of thermal equilibrium during operation. Compensation may decrease exponentially, or decrease at other rates, during each beam in a given period. Alternatively, a constant compensation may be provided. The amount of compensation available is at its maximum after a cold start, when the system beam state is paused for an extended period to allow the system components to reach their thermal equilibrium state and cease beaming.Typically, a change in beam state following a system beam stop for approximately 5–10 minutes can be treated as a cold start. The amount of compensation required at the start of subsequent beams at time intervals following the cold start may be less than the maximum compensation, as less compensation is required. The amount of compensation required at the start of subsequent beams at time intervals may be determined by the exponential increase of the compensation level at the end of a given prior beam in a time interval towards a maximum value during the subsequent beam stop. Compensation may be provided by a circuit or defined by a computer program, depending on the system's previous performance. Feedback is not required in the current invention's implementations, although feedback may be provided in addition to the compensation provided in the invention's implementations, if desired. According to the invention, a fixed-frequency radio-frequency accelerator system is described, comprising an RF accelerator for accelerating charged particles, an RF source coupled to the accelerator to supply RF power to the accelerator, and a charged particle source coupled to the accelerator to inject charged particles into the accelerator. A power supply is coupled to the RF source and the charged particle source to supply its power. A control device is provided to control the operation of the power supply. The control device is configured to provide a compensating control voltage to the power supply, and the power supplied to the RF source by the power supply depends, at least in part, on the compensating control voltage. The compensating control voltage depends, at least in part, on the previous performance of the system. A target material may be placed against which the accelerated charged particles will collide to generate radiation. The controller may be configured to set a current-compensated control voltage during a beam on-time period by reducing a previous compensated control voltage from an initial value to the current compensated control voltage during the beam on-time period, and supplying the current compensated control voltage to the power supply during the beam on-time period. The controller may also be configured to set a current-compensated control voltage during a beam off-time period by increasing a previous compensated control voltage from an initial value to the current compensated control voltage. The controller may be configured to set the current compensated control voltage by retrieving a nominal control voltage stored in the system and setting the retrieved value to a compensation value. A current compensation value may be set by exponentially reducing a previous compensation value to the current compensation value during a beam on-time period and / or exponentially increasing a previous compensation value towards the maximum compensation value to the current compensation value during a beam off-time period. Multiple beam on / off periods may be provided alternately in a test sequence. The controller may be configured to determine the compensation value using a compensation circuit, which may include an RC (resistor-capacitor) circuit comprising a capacitor and a resistor, configured to allow the capacitor to discharge during beam operating times. The compensation values ​​for the exponential reduction are thus made available to the power supply during beam operating times, depending, at least in part, on a specific capacitor voltage during those beam operating times. The compensation circuit may also include a second RC circuit comprising a capacitor and a second resistor, configured to allow the capacitor to charge exponentially towards its maximum voltage during beam off times. In one example, the compensation circuit also includes a diode between the second resistor and the capacitor, and an input to provide a reference voltage for charging the capacitor through the second resistor and the diode during the beam off periods. A first ground is present, where the capacitor discharges, through the first resistor, during the beam on periods. A reflective attenuator is coupled to the capacitor to reverse and attenuate the capacitor's voltage during the beam on period. The value of the compensation current is the output of the reflective attenuator. A second ground is present between the second resistor and the diode. The reference voltage is directed to the second ground, through the second resistor, during the beam on period. The reference voltage in this example may depend, at least in part, on the pulse repetition frequency of a beam generated during the first and second beam on periods. A first switch may be provided to selectively couple the capacitor to ground 1 through the first resistor during beam on intervals, so that the capacitor discharges to ground 1. A second switch may be provided to selectively direct the current in the second resistor (due to the reference voltage) to ground 2 during beam off intervals. The first and second switches are controlled by a controller. The first and / or second resistors may be variable resistors. The capacitor may be a variable capacitor, in addition to or instead of the first and / or second variable resistors. The first and second RC circuits have specific time constants that depend, at least in part, on the system's previous performance. These time constants may be adjusted, at least in part, by adjusting the resistances of the first and second variable resistors and / or the variable capacitor, respectively. Alternatively, the controller may be configured by a computer program to determine the current compensation value. The controller may be configured by the computer program to periodically adjust a nominal control voltage by a compensation value. The system state is periodically determined to be beam on or beam off. If the state is beam on, the previous compensation value decreases exponentially to the current compensation value by an increment that depends, at least in part, on a time period and a time constant for instability that depends, at least in part, on the system's previous performance. If the state is beam on, the previous compensation value increases exponentially to the current compensation value by an increment that depends, at least in part, on a time period and a time constant for instability that depends, at least in part, on the system's previous performance. The computer program may be configured so that the controller provides the maximum compensation value at the start of the first beam operating period at a cold start and determines the current compensation value by reducing the maximum compensation value to the current compensation value. According to another embodiment of the invention, a method is revealed for operating a charged particle acceleration system involving the injection of charged particles into an RF accelerator and supplying the accelerator with RF power by relying, at least in part, on the system's previous performance to compensate, at least in part, for dose and / or energy instability. The method also involves the acceleration of the injected charged particles by the accelerator. The RF power available to the accelerator may depend, at least in part, on the compensating electrical power, which in turn depends, at least in part, on the previous performance of the system. According to another embodiment of the invention, a charged particle acceleration system is described, comprising an accelerator for accelerating charged particles, a device for injecting charged particles into the accelerator, and an RF power device to supply RF power to the accelerator, depending, at least in part, on the prior performance of the system, to compensate, at least in part, for dose and / or energy instability. An electrical power device is available to supply electrical power to the RF power device. The method also includes the acceleration of charged particles injected by the accelerator device. The electrical power device may supply electrical power to the RF power device, depending, at least in part, on the prior performance of the system, and the RF power supplied to the accelerator by the RF power device may depend, at least in part, on the electrical power supplied by the electrical power device. It should be noted that when a radiation scanning system is in "beam on" mode during the beam on time period, the term "beam on" refers to the acceleration of charged particles for direct use, or to the generation of an X-ray beam by the impact of accelerated charged particles on a suitable target such as tungsten, for example. The term "beam on" refers to a continuous or pulsed beam of charged particles or a continuous or pulsed beam of radiation. Brief explanation of the drawings Figure 1 is an integrated diagram of the main components of an example of an RF accelerator system configured to generate radiation; Figure 2 is a graph of normal radiation dose versus time for a continuous radiation beam generated by an RF accelerator; Figure 3 is an example of an RF accelerator system configured to generate radiation beams with improved stability, according to an embodiment of the invention; Figure 4 is a graph of the change in dose (as a percentage) versus pulse repetition frequency in pulses per second; Figure 5 is an example of a compensation circuit that may be used in the example from Figure 3; Figure 6 is an example of the V combination signal available during a circular on / off check arrangement after a cold start, according to an embodiment of the invention; Figure 7 is an example of the instability of the radiation beam generated during the inspection arrangement as in Figure 6; Figure 8 shows the instability of an accelerator system incorporating the power compensation circuit from Figures 3 and 5, during many cycles of the same arrangement as in Figure 7; Figure 9 shows the radiation dose instability of a radiation beam during a 300-second beam in a time period after a cold start, in an accelerated system such as is shown in Figure 1; Figure 10 shows the radiation dose instability of an accelerator system incorporating the compensation circuit from Figures 4 and 5, during a 30-second beam in a time period following a cold start; Figure 11 is an example of an integrated diagram of an accelerator incorporating electrical power compensation regulated by a computer program, according to an embodiment of the invention; and Figure 12 is an example of a sequential diagram of how the control device from Figure 11 is visualized by a computer program, according to the rendering from Figure 11. Detailed description: Figure 3 is an example of an RF accelerator system 100 designed to generate charged particle beams and radiation beams with improved stability, according to one of the invention's embodiments. In this example, an RF source 102 provides RF power to the RF accelerator 104 through an RF network 106, and a charged particle source 108 injects charged particles into the accelerator, as described above. Electric power source 110 provides power to RF source 102 and molecule source 108. A controller 112, such as a programmable logic controller (PLC), microprocessor, or computer, controls power source 110 by providing a pulse initiator and control voltage VC to the power source in response to input signals from an operator via an operator interface 113 and / or programming. Power source 110 generates power based on the control voltage VC at times and at a rate defined by the initiator.According to this embodiment of the invention, an electric power compensation circuit 114 is provided to compensate for the instability of the dose and / or energy by adjusting the electric power supplied by the power source to the RF source 102. In the example of Figure 3, the circuit is between the controller 112 and the power source 110. In one alternative, circuit 114 may be part of the controller 112. The accelerator 104 accelerates charged particles, which may be used directly or to collide with a target (not shown in this diagram for clarity) to induce radiation, if desired. The target may include tungsten or other materials that will induce X-ray radiation by the Bremsstrahlung effect when collided with charged particles, such as electrons, accelerated by the accelerator 104. A target is shown in Figure 10. The RF 104 accelerator may be a linear accelerator incorporating numerous electromagnetically coupled resonant cavities (not shown), such as the Linatron® available from Varian Medical Systems, Inc., Palo Alto, California. Alternatively, the accelerator 104 may be another type of accelerator that utilizes RF power to accelerate charged particles, such as a cyclotron. The RF 102 source may include an electron tube or a magnetic accelerator. The source of molecule 108 may be an electron gun, such as a diode-type or triode-type electron gun, as discussed above, for example. Power supply 110, also referred to as a regulator, may include a high-voltage power supply (HVPS), a pulse-forming network (PFN), and a thyratron (hot-cathode gas tri-thermionic valve), not shown in Figure 4. Also, one or more transformers (not shown) may be available. Power supplies are described in more detail in U.S. Patent No. 8183801(b2), assigned to the assignee of the present invention, and incorporated herein for reference. In one example, the HVPS output is 22,000 V, which is increased to approximately 40,000 V by the transformer and is available to RF supply 102, as described in U.S. Patent No. 8183801(b2). Power supply 110 may also include a solid-state regulator, for example. An automatic frequency controller (AFC) 118 may also be available between accelerator 104 and RF source 102, controlled by controller 112 or another controller, as discussed above for Figure 1. The AFC 118 tests the RF signals going to and reflected from accelerator 104 to detect frequency matching and adjust the frequency of RF source 102, if necessary, to match the accelerator's resonant frequency. Alternatively, it may test the RF signal between RF source 102 and the distributor (not shown) in RF network 106. The test times may be controlled by controller 114 or another controller, for example. The AFC 118 may be based on a commercially available four-way hybrid module and a tunable phase shifter. AFCs and their operation are described in more detail in U.S. Patent No. 8183801(b2) and U.S. Patent No. 3820033, assigned to the assignee of the present invention, incorporated herein for reference. In the example of Figure 3, the power compensation circuit 114 includes a frequency-to-voltage converter (F-to-V (F-to-V)) 202, a charge / discharge circuit 204, a capacitor 206 with a capacitance C, and an inverting attenuator 208. The charge / discharge circuit 204 and the capacitor 206 are switching RC circuits, as illustrated and described in more detail in Figure 5 below. In this example, the power compensation circuit 114 provides adjustment of the control voltage VC provided by the controller 112 to the power supply 110, to compensate for the difference between the desired target dose and / or energy of an accelerated charged particle beam or a radiation beam generated by system 100 and the dose and / or energy expected without compensation due to instability at a given time point. The expected dose and / or power without compensation may be determined based on the past performance of a specific 100 system at the factory and / or on-site, which is discussed further below. The adjustment available at a given time point depends on (in proportion to) the voltage of the 206 capacitor at that time point.The voltage of capacitor 206 drops when it discharges during the beam's operating periods, and less compensation is required. Capacitor 206 charges during the beam's off periods, so it will maintain a sufficient voltage level to compensate for the instability in the beam's operating periods after the off periods. The pulse initiator frequency is converted to voltage by an F-to-V transformer, providing a reference voltage (V-ref) to the charge / discharge circuit 204 to charge capacitor 206. The inventors discovered that in certain accelerated systems, the degree of dose-energy instability may be partly related to the pulse repetition frequency (and thus the operating cycle). Figure 4 is a graph of the dose variation (percentage) versus pulse repetition frequency (“PRF”) calculated in pulses per second (PPS), as measured by a digital detector, for high-energy (nominally 6 mV) and low-energy (nominally 4 mV) pulses using the X-ray Varian Linatron® system. The higher the PRF, the greater the percentage change in the dose and / or energy. In the current example, if the PRF of the scan string is high, more compensation is needed, and a high-frequency pulse initiator is required for the F-to-V-converter, compared to if the PRF is low. A high-frequency pulse initiator will induce a high V-ref for capacitor 206, increasing the capacitor's final charged voltage and providing more negative compensation voltage, thus providing more compensation during the time interval following the beam operation. In this example, when it is known that the dose / power stability is related to the PRF, control 112 provides a pulse initiator for the F-to-V-202 converter that matches the PRF of the current test series, at the same times and for the same duration as when a pulse initiator is available for the power supply 110. If it is discovered during testing at the factory and / or on-site that the PRF of the test series dose has no effect on the dose / power instability of a given system 100, then a suitable pulse initiator is available to induce a suitable V-ref to charge the dielectric capacitor 206 to a suitable level. Control device 112 provides a control signal, referred to as the beam on / off signal, to the charge / discharge circuit 204 to control when capacitor 206 discharges and charges. When system state 100 is beam on, capacitor 206 discharges to provide a compensation signal for voltage compensation. When system state is beam off, capacitor 206 charges to a suitable level so that it provides adequate voltage compensation when system state is beam on again. The 204 charge / discharge circuit output voltage is available for the inverting attenuator, which reverses the voltage. The inverted voltage of the 110V power supply is available when a compensation voltage is provided to the control voltage signal of the 110V power supply, allowing for either a reduction or increase of the control voltage as needed. The 114 power compensation circuit is designed to provide greater voltage compensation when the accelerator is shut down for extended periods, when additional compensation is required. This is because the inventors discovered that the difference between the target dose and / or energy and the expected dose and / or energy is high after System 100 is restarted approximately 5 or 10 minutes after shutdown, as the system components will then typically cool to their unbalanced state. This is therefore referred to as a cold start, where more compensation is needed due to instability. Less compensation is required when System 100 continues to operate, as the system warms up and the system components approach equilibrium temperatures. Similarly, less compensation is required when System 100 is restarted after being shut down for less than approximately 5 or 10 minutes (non-cold start), because the components have not yet cooled to their unbalanced state. The amount of time System 100 is shut down before the components cool to their unbalanced state will vary depending on the specific System 100 and the operating environment, for example. Figure 5 is a schematic diagram of the compensation circuit 210, which includes the charge / discharge circuit 204 and the capacitor 206 from Figure 3. It also shows the inverting attenuator 208 from Figure 5. The lower electrode of capacitor 206 is connected to ground (G). The charge / discharge circuit 206 has a discharge section and a charge section. The discharge section includes a resistor 207 with a resistance R1, which in this example is a variable resistor, a switch 212(A), and ground G1. Resistor 207 is located between switch 212(A) and capacitor 206. Switch 212(A) selectively connects and disconnects resistor 207 with ground G1, controlling the beam on / off signal from controller 112, as shown above in Figure 3. When system state 100 is beam on (power is available to RF source 102, thus providing RF power to accelerator 104 to accelerate charged particles), switch 212(A) closes, electrically connecting resistor 207 with ground G1. Therefore, capacitor 206 discharges to ground G1 at time constant R1C.While system state 100 is beam off, switch 212(A) opens, disconnecting resistor 207 from ground G1, so capacitor 206 cannot be discharged to ground G1. The charging section of circuit 204 includes a second switch, 212(a), and a second resistor, 209, with a resistor R2 (which in this example is also a variable resistor), connected to capacitor 206 through diode 214. Diode 214 may have a small forward voltage. The voltage V-ref is available to resistor 209. Ground G2 is available in parallel with diode 214 and capacitor 206. Capacitor 206 is electrically connected in parallel with the second resistor, 209, and the inverting attenuator, 208. While the system is beam-off, the second switch, 212(b), closes, electrically connecting resistor 209 to capacitor 206 through diode 214, charging capacitor 206 at a time constant R2C. While system state 100 is beam on, switch 212(b) closes, resistor 209 connects to ground G2, and the current in resistor 209 (resulting from V-ref) is diverted to ground G2. Switches 212(a) and 212(b) may be separate switches, or they may be separate arms of a double-arm 212 switch, as schematically shown in Figure 3. Voltage compensation is inversely proportional to the degree of charge of capacitor 206, because the reflector attenuator 208 reflects a significant amount of voltage to capacitor 206. When accelerator 104 is in beam off mode for an extended period, for example, from about 5 to about 10 minutes or more (cold start), capacitor 206 has time to fully charge at time constant R2C. Then, when the system state changes to beam on, the output of capacitor 206 will be at its maximum voltage. Voltage compensation will provide maximum compensation to power supply 110, and the capacitor will discharge at time constant R1C. The voltage of capacitor 206 will decrease when the capacitor discharges while the system state remains beam on, providing less negative voltage compensation and thus minimizing the need for compensation. When the accelerator 104 is shut down for shorter periods of time, the capacitor 206 may be fully charged or only partially charged, depending on the length of time in which the beam is stopped in the system 100 state.The R1C time constant of the RC discharge circuit and the R2C time constant of the RC charging circuit may be set to match the performance of a specific 100 accelerator system, as determined during testing at the factory and / or on-site. During operation, the F-to-V-202 converter receives a pulse initiator from controller 112. In this example, the pulse initiator has a frequency proportional to the PRF. The PRF may be selected by an operator and made available to controller 112, or it may be determined by a computer program controlling controller 112, for example. The corresponding pulse initiator is determined by the computer program controlling controller 112. V-ref, which in this example is the output of the F-to-V converter discussed above in Figure 5, is made available to the variable resistor R2. While control 112 provides a signal indicating that system 100 is in a beam-off state, switches 212(a) and 212(b) are open, allowing voltage V-Ref to be supplied to capacitor 206 through variable resistor 209 and diode 214, charging the capacitor at time constant R2C. Since switch 212(a) is open, capacitor 206 cannot be discharged to ground Gl. If system 100 remains in beam-off mode for a sufficiently long period, capacitor 206 will be fully charged, providing maximal compensation (maximum voltage compensation) at the next time system 100 switches to beam-on mode, which may be a cold start. If the system state of 100 beam off is not long enough for the start to be a cold start, capacitor 206 will only partially charge, providing less compensation than the maximum compensation (voltage compensation) when the system changes state from beam off to beam on. When control 112 provides a signal indicating that the beam state has changed from off to on, switches 212(a) and 212(b) close. Closing switch 212(b) diverts the current through R2 (resulting from V-ref) to ground G2. Diode 214 is deflected in reverse and becomes non-conductive. Closing switch 212(a) causes capacitor 206 to discharge to ground G1 through resistor 207 at time constant R1C. Additionally, the inverting attenuator 208 receives voltage at its input 208(a) from the discharged capacitor 206. As capacitor 206 discharges, its voltage drops, and consequently, the voltage at input 208(a) of the inverting attenuator 208 decreases. Thus, the discharge of capacitor 206 reduces the voltage compensation during the beam's on-time period. This is desirable because less compensation is needed when the system remains in beam mode, as the system components heat up to their thermal equilibrium temperatures. The inverting attenuator 208 reduces the received voltage and reverses its polarity, providing negative voltage compensation at its output 208(b) to controller 112. When the electrolytic capacitor 206 discharges, the voltage compensation signal becomes less negative.The controller 112 stores a predefined nominal control voltage. In an uncompensated system, such as system 10 shown in Figure 1, the predefined nominal control voltage is made available by controller 24 to power supply 110 to generate power to RF supply 14. In the compensated system 100 from Figures 4 and 5, conversely, controller 112 adjusts the predefined nominal control voltage stored in the controller using voltage compensation to produce a compensated control voltage VC, which is then supplied to power supply 110. For example, the compensated control voltage VC might be the sum of the nominal control voltage and the compensated voltage. Since the compensated voltage is negative in this example, the compensated control voltage VC will be equal to the nominal voltage minus the absolute value of the compensated voltage. The compensating control voltage VC may be calculated by another processing device (not shown) between the inverter attenuator 208 and the controller 110 or the controller and the power supply 110, for example.These calculations may be performed by a computer program stored in or accompanying the 110 controller, or by an application-specific integrated circuit (ASIC), for example. As mentioned above, the degree of dose and power instability may be related to the PRF. This may be determined during testing at the factory and / or on-site. The 208 inverter attenuator is available because, to match the voltage of capacitor 206 with the PRF, the V-ref must be greater than the forward voltage (voltage drop on connection) of diode 214. However, the adjustment of the control signal's self-compensating voltage needs to be small. Therefore, the 208 inverter attenuator is available to reduce the voltage of capacitor 206. The appropriate discharge time constant (R1C) and the appropriate charge time constant (R2C) of a specific System 100 may be determined from the Compensation Circuit 204 by analyzing the dose and / or power performance of System 100 during various test sequences and PRFs, and by testing System 100 at the factory and / or on-site. As shown in Figure 2, the dose and / or power will stabilize over time to a steady-state value. The stabilization rate time constant (discharge time constant R2C) is adjusted to match the dose / power instability time constant by the technician at the factory and / or on-site, based on data collected from the system during testing. The data may be plotted graphically, as shown in Figure 2, and the time constant determined from the plot. Alternatively, the collected data may be analyzed directly by a computer or other processing device to determine the time constants without plotting the data. The time constant from the curve in the circuit shown in Figures 4 and 5, for example, can be used with appropriate adjustment of the variable resistor R1 to set the time-discharge constant R1C. The time-charge constant R2C is set to charge the diode 206 sufficiently to provide adequate compensation after a specified beam interruption time. Typically, similar time constants R1C and R2C will be applicable for different beam interruption times, PRFs, and check strings, within a given system of 100. The discharge and charge time constants may be set separately, or the charge time constant R2C may be the same as the discharge time constant R1C. If the diode 206 is a variable capacitor, the capacitance may be varied to achieve the desired time constant by, or with, changing the resistance of the variable resistor R1 and / or R2. In one example, the variable resistors R1 and R2 are adjustable from 0 to 20 kΩ to provide a desired time constant for charging and discharging capacitor 206. Capacitor 206 might have a capacitance of 2200 µF, and the inverting attenuator 208 might have a ratio of 1 to -0.05, for example. The F-to-V converter might have a ratio of 100 pulses per second (pps) to 1 V, for example. The reference voltage needs to be greater than the diode voltage, which in this example is 0.3 V. Diode 201 might be a Schottky diode with a contact voltage of approximately 0.3 V, for example. In this example, the electrical power adjustment circuit 114 is calibrated at PRF of 279 pps (V-ref = 2.79 V), and the attenuation of the inverter attenuator 208 is adjusted so that when the capacitor 206 is fully charged to 2.79 V, the voltage compensation capacitance is -152 mV. This voltage compensation provides a maximum adjustment of approximately 2% to the nominal voltage of the controller 112.This is sufficient to reduce the dose / energy instability from approximately 6% to 8%, which is too large for many applications, to approximately 2% to 3%, which is acceptable for many applications. At a low PRF, a low V-ref is required, and the maximum capacitance for voltage compensation will be proportionally smaller. These values ​​are representative only. Other values ​​for these components may be available. Each 110 accelerator may require different compensation. Figure 6 is a diagram of the 114 compensation circuit example from Figures 4 and 5, illustrating how voltage compensation varies over time during the operation of accelerator 104, whose cycle opens and closes every 10 seconds after a cold start. As above, the PRF is 279 pps, V-ref is 2.79 V, and the maximum voltage compensation is -152 V. Each horizontal segment is 10 seconds. The vertical axis represents the voltage compensation in millivolts (mV). The maximum voltage compensation of -152 V is available after the cold start, when capacitor 206 is fully charged and most of the compensation is needed. The maximum voltage compensation in this example has the most negative value in Figure 6 because the inverting attenuator 208 reflects the voltage supplied by capacitor 206 to a negative value, as discussed above. In the example in Figure 6, during the first few beam-on periods (rolls 1, 3, and 5, for example), the voltage compensation has significantly negative starting values ​​because capacitor 206 is charged to significantly lower voltages during the preceding beam-off period (cold start, rolls 2, 4, and 6, for example). Similarly, during those first few beam-on periods (rolls 1, 3, and 5, for example), the voltage compensation has less progressively negative ending and starting values ​​because capacitor 206 is discharged to lower voltages and then charged to lower voltages. Since system 100 is not completely de-cooled during the short beam-off periods in this example (rolls 2, 4, and 6, for example), significantly less compensation is required each time system 100 changes from beam-off to beam-on. After additional beam work / stop cycles, the charge and discharge levels approach the relevant steady-state levels during subsequent cycles. Specifically, in this example, at time 0, system 100 switches to beam-on mode after being in beam-off mode for an extended period, e.g., at least 5 to 10 minutes. This is a cold start; therefore, maximum instability compensation is required, and capacitor 206 has time to fully charge. At time 0, a maximum voltage compensation of -152 mV is available to power supply 112 to compensate for the instability. From 0 seconds to 10 seconds, system 10 is in beam-on mode. Switches 212(A) and 212(B) are closed, the current in resistor R2 is diverted to ground G2, and diode 214 is reverse-diffused and non-conducting. Capacitor 206 discharges to ground G1 with a time constant R1C, while a lower voltage compensation (less negative) is provided to inverting attenuator 208, to a charge level (A) of -76 V. At 10 seconds, the system state changes to beam off, and switches 212(a) and 212(b) open. Current is supplied through resistor R2 and diode 214 to capacitor 206, charging the capacitor for 10 seconds. No current is discharged through R1. Since system 100 is already operating for 10 seconds, it has time to warm up somewhat. Therefore, maximum compensation is not required the next time the system state changes to beam on, which occurs in this test sequence at 20 seconds. The compensation circuit 210 is designed with a suitable adjustment of the time constant R2C so that capacitor 206 will only charge to the voltage compensation level (b) of -112 V during the 10 seconds in which the system state is beam off. At 20 seconds, the system state 100 changes to beam on, switches 212(A) and 212(B) close, the current through R2 is diverted to ground G2, and diode 214 is deflected backward and becomes non-conductive. Capacitor 206 discharges through R1 to ground G1 with time constant R1C, starting from the voltage compensation level (B), generating a low voltage compensation signal for the next ten seconds, until the system state changes to beam off at 30 seconds. The discharge continues for 10 seconds, during which time capacitor 206 discharges to the voltage compensation level (C), which is negative below the voltage compensation level (A). At 30 seconds, when the system state changes to beam off, switches 212(A) and 212(B) are open, and capacitor 206 charges to the compensation voltage level (D) over the next ten seconds. The compensation voltage level (D) is negatively lower than the compensation voltage level (B). When the system state changes to beam on at 40 seconds, capacitor 206 begins to discharge from the compensation voltage level (D) to the compensation voltage level (E), which is negatively lower than the compensation voltage level (C). In this example, during each beam on / off period, the initial voltage compensation levels (maximum voltage compensation, voltage compensation levels (B), (D)) and final voltage compensation discharge levels (voltage compensation levels (A), (C)) tend toward the steady-state initial voltage compensation level (F) and the steady-state final voltage compensation level (E). Therefore, at subsequent time intervals, the initial voltage compensation levels (G) and (I) bounce back to or nearly bounce back to voltage compensation level (E), and the final voltage compensation level (H) bounces back to or nearly bounces back to voltage compensation level (F). This continues as long as the beam on / off sequence continues. While in this example the charge / discharge level approaches steady-state levels after approximately 50 seconds, other systems, accelerators, and / or beam on / off sequences may approach steady-state levels after different time intervals. When System 100 is in a beam-stop state for 5 to 10 minutes, System 100 will bounce back into a state of thermal disequilibrium.The 206 capacitor will have time to fully charge to compensate for the maximum voltage, so maximum compensation will be available at a cold start. Figure 7 illustrates the instability of the radiation beam generated by the radiation scan system 10 from Figure 1, without compensation, during a scan sequence in which the system state changes from beam operation to beam stop every 10 seconds after a cold start, as in Figure 6. Each cycle shows an instability of approximately 6% in the peak radiation at the start of each beam operation period, which may be unacceptable in many applications. It is observed that the peak radiation also decreases from cycle to cycle as the system 10 warms up. The minimum radiation also decreases in each cycle for the same reason. The difference between the peak and minimum radiation doses is approximately 6% in the first beam operation period and decreases somewhat from cycle to cycle as the system 10 warms up. Figure 8 illustrates the instability of the accelerator system 100, incorporating the power compensation circuit 114 from Figures 4 and 5, during numerous cycles in the same sequence as in Figure 7. Here, the dose instability is only about 3%, which is acceptable for most applications. A similar environment is illustrated in longer beam experiments. Figure 9 is another example of radiation dose instability for a beam emitted 300 seconds after a cold start, in a system 10 like the one shown in Figure 1, without compensation. The difference between an initial radiation dose of about 173 and a steady-state radiation dose of 162 (in arbitrary units) is about 8%. Figure 10 shows the residual instability of an accelerator system 100 incorporating the power compensation circuit 114 from Figures 4 and 5, during a 300-second period after a cold start, during which the power is on and a beam is emitted. Here, the dose instability is only about 2%. Instead of providing a circuit, such as compensation circuit 114, to adjust the power supplied by power source 110 to RF source 102 and charged molecule source 108, controller 24 may be programmed by computer software to compensate for the difference between the target dose and / or energy and the expected dose and / or energy due to instability. Figure 11 is an example of a framework diagram of system 250, in which controller 252 includes memory 254 to store software program 255 and processor 256. Memory 254 or other memory may also store information used by processor 256 and software program 255, such as a system time constant (determined as described above based on factory and / or on-site testing) and other variables discussed further below. Memory 254 might include a suitable combination of RAM (random access memory) and ROM (read-only memory), or other types of memory, for example. Processor 256 might be a central processing unit (CPU), a microprocessor, or a control circuit, for example.An application-specific integrated circuit (ASIC) may also be available instead of, or in addition to, the computer program 255. In Figure 11, the elements common to Figure 3 have similar numbering. Controller 112 sends a pulse initiator and compensating control voltages (VC) to power supply 110, as discussed above; however, in this iteration, the compensating control voltage is determined by a computer program. In system 240, a target 258 is available for radiation generation, although it is not required. A similar target 258 may be available in system 100 from Figure 3. The target 258 may include tungsten or other materials that will cause X-ray radiation to be generated by the Bremsstrahlung effect on the collision of charged particles, such as electrons, accelerated by accelerator 104. Figure 12 is an example of a sequential diagram of Method 300 illustrating how a controller 252 is controlled by computer program 255 stored in memory 254, according to one embodiment of the invention. In this example, computer program 255 is designed to provide low compensating control voltages VC to power supply 110 while system state 250 is beam on, and to increase the compensating control voltages VC that may be available when system state changes from beam off to beam on, while system state 250 is beam off. When System 250 is initially powered on, power is made available to controller 252 in step 305. The compensation range, compensation time constant, and PRF for the current check sequence are read from memory 254 or another memory in step 310. The compensation range is the adjustment of the maximum percentage of the nominal power level supplied by power supply 110 to RF supply 102 at the highest PRF at which System 250 is expected to operate. The nominal power level may be 20 kV, for example. The compensation range is set at the factory or by a field service engineer during System 250 setup on-site, depending on the difference between the target dose and / or power and the dose and / or power expected for the system during test runs. The compensation time constant is set to the dose / energy instability time constant, which is also determined during testing, as described above. The current PRF is the PRF set by the operator for the current testing sequence. Maximum compensation at the current PRF is calculated by multiplying the power regulator of each nominal pulse ("nominal ppps") by the recovered compensation scale ("CS"), and the ratio of the current PRF to the expected maximum PRF, which is used to determine the stored compensation scale ((nominal ppps) × (CS) × (current PRF / maximum PRF)). The power control for each nominal pulse is retrieved and the current compensation for voltage compensation is set to the maximum cold start voltage compensation, in step 315. The power control for each nominal pulse is the nominal voltage described above for control 112. The compensable per-pulse power controls (or compensable control voltages, VC, as referred to above) are calculated in step 320. The first calculated compensable per-pulse power control (VC) is a combination of the nominal per-pulse power control and the maximum compensation voltage for cold start, retrieved from memory 254 in step 315. For example, the compensable per-pulse power control (VC) might be the sum of the nominal per-pulse power control and the maximum compensation voltage. As above, the maximum compensation voltage might be subtracted from the nominal per-pulse power control to produce the compensable per-pulse power control (VC). Subsequent compensable per-pulse power controls (VC) are calculated based on the compensation voltage values ​​defined in later steps of the method, as described below, and stored in a memory location in memory 255. The power control value of each compensating pulse VC calculated in step 320 is stored in a memory location in memory 254, and sent to the electrical power supply 110, in step 325. It is determined later, in step 330, whether the system state 250 is beam on or beam off. The system state may be checked by examining another marker or indicator stored in controller 252 in memory 254 or another memory location, for example. If the system state is beam off, power supply 110 is disabled or remains disabled in step 335, and the compensation current value for the voltage compensation stored in memory 254 is increased in Asia toward the maximum compensation in step 340 by a small increment and stored in memory 254. The increased compensation current value may overwrite the previous compensation value or may be stored in a different memory location. The small increment in this example is equal to 1 - eT / Δ, where T is the time length of the small increment and Δ is the compensation time constant. For example, if the compensation time constant τ is set to 25 seconds and the computer program loop repeats every 0.5 seconds, the difference between the current compensation value and the maximum compensation value is reduced by 1-e(0.5 / 25), which is about 2%. The method then returns to step 320 to calculate the power control of each current-compensated pulse VC, based on the new current compensation value from step 340, stored in memory 254. If it detects again that the system state is beam-stop in step 330, then the 110 power supply remains off and the current compensation for voltage compensation increases exponentially again, by a small increment calculated as described above, in step 340. This continues until the system state changes to beam-on. If the system state is detected as beam work in step 330, then power supply 110 is activated. The voltage compensation Asia decreases to zero by a small increment in step 350 and is stored in memory location 254. The method returns to step 320 to calculate the power controller for each current-compensated pulse (VC) based on the voltage compensation current value stored in memory location 255. The voltage corresponding to the VC power controller is generated by controller 112 and sent to power supply 110 in step 325 to generate power. The small increment may be calculated as described above (1-eT / Ω). The voltage compensation current value is decreased Asia by the available voltage compensation current to power supply 114 every 0.5 seconds in this example, while the system state is beam work. The 110 power supply operates or continues to operate to generate the controlled power and supply the controlled power to the RF supply 102, depending on the voltages corresponding to the calculated VC power controls for each pulse, as described above, until the system state returns to emitting cessation.As discussed above, during periods of beam pause, the compensation current values ​​increase toward maximum compensation, anticipating a change in the system state back to beam action. The longer the system remains in beam pause, the greater the compensation voltage becomes when the system state reverts to beam action. This corresponds to the need for greater instability compensation as the system state remains in beam pause, as discussed above. When another computer program is applied, the required compensation during the scan sequence may be stored in a table and correlated with the scan time and sequence. The values ​​are retrieved at appropriate times as the scan sequence progresses. The sequence shown in Figure 12 is an example of a computer program application of one embodiment of the invention. Other computer program applications may be developed in accordance with the instructions here, which may be subject to the elements of protection, as described below. In an alternative embodiment, a fixed compensation may be predetermined for a predetermined period of time to reduce instability, based on the system's past performance. In other examples, the RF 102 source may be designed to provide RF power to the dose and / or power instability compensator, based on the previous performance of the 100 system. The RF source may provide RF power dependent on the electrical power available from the electrical power supply, as discussed above, or by other means. Although the above description refers to a steady-state RF accelerator radiation source where all pulses are identical, the inventions described above also apply to multi-energy accelerator systems where the radiation pulse characteristics vary, as described in U.S. Patent No. 8183801(b2), identified above and incorporated here for reference. They may also be applicable to variable-dose-output accelerators. In this case, the target dose / energy changes over time, and the compensation objective is to track the changing target. Any ordinary skilled artist will realize that further changes can be made to the above-described embodiments without going outside the spirit and scope of the invention, defined by the safeguards below.

Claims

Protection elements 1- A stationary radio-frequency (RF) accelerator system, comprising: a radio-frequency (RF) accelerator to accelerate charged particles; a radio-frequency (RF) source coupled to the accelerator to provide radio-frequency (RF) power to the accelerator; a charged particle source coupled to the accelerator to inject charged particles into the accelerator; an electrical power source coupled to the radio-frequency (RF) source and the charged particle source to provide electrical power to it; and a control device to control the operation of the electrical power source, the control device being configured to provide a compensating control voltage to the electrical power source; where: the electrical power supplied to the radio-frequency (RF) source by the electrical power source depends, at least in part, on the compensating control voltage; The compensating control voltage depends, at least in part, on the previous performance of the system.2- The system according to protection element 1, where the controller is configured to set a compensating control voltage during a beam operating period by: reducing the previous compensating control voltage from an initial value to the current compensating control voltage during the beam operating period; the method also includes: supplying the current compensating control voltage to the power supply during the beam operating period. 3- The system according to protection element 2, where the controller is also configured to set a compensating control voltage during a beam off period by: increasing the previous compensating control voltage from an initial value to the current compensating control voltage; the method also includes: supplying the current compensating control voltage to the power supply during the beam operating period.4- The system according to protection element 3, where the controller is configured to determine the current compensated control voltage by: retrieving a nominal control voltage stored by the system; adjusting the retrieving value of the nominal control voltage by a compensation value, determined by: exponentially reducing a previous compensation value to the current compensation value during a beam on time; and / or exponentially increasing a previous compensation value towards the maximum compensation value, to the current compensation value, during a beam off time. 5- The system according to protection element 4, where the controller is configured to determine the compensation value by a compensation circuit. 6- The system according to protection element 5, where the compensation circuit includes an RC (resistor-capacitor) circuit comprising: a capacitor; and a resistor; The RC (resistor-capacitor) circuit is designed to allow the capacitor to discharge during the beam's operating time, to provide an exponential reduction in the compensation current values ​​to the power supply during beam's operating time periods, depending, at least in part, on a given capacitor voltage during the beam's operating time period.7- The system according to protection element 6, where: The compensation circuit also includes a second RC (resistor-capacitor) circuit comprising: a capacitor; and a second resistor; where the second RC circuit is configured to allow the capacitor to charge towards its maximum voltage during beam-off periods. 8- The system according to protection element 7, where the compensation circuit also includes: a diode between the second resistor and the capacitor; an input to provide a reference voltage for charging the capacitor through the second resistor and the diode during beam-off periods; a first ground, where the capacitor discharges into the first ground through the first resistor during the beam-on period; a reflective attenuator coupled with the capacitor to reverse and attenuate the capacitor's current voltage during the beam-on period, where the compensation current value is the output of the reflective attenuator; and a second ground between the second resistor and the diode, where the reference voltage is selectively discharged into the second ground through the second resistor during the beam-on period.

9. The system, according to protection element 8, has a reference voltage that depends, at least in part, on the pulse repetition frequency of a beam generated during the beam's operating period.

10. The system, according to protection element 9, also includes: a first switch to selectively couple the capacitor to ground 1 through the first resistor during the beam's operating period, allowing the capacitor to discharge to ground 1; and a second switch to selectively couple the second resistor to ground 2 during the beam's off period, allowing current in the second resistor to flow to ground 2. The first and second switches are controlled by a controller.

11. The system, according to protection element 8, has a first resistor and a second resistor.

12. The system, according to protection element 6, has an RC circuit with a time constant that depends, at least in part, on the system's previous performance. 13- The system according to protection element 12, where the second RC (resistor-capacitor) circuit has a second time constant, depending, at least in part, on the previous performance of the system to increase the charge of the capacitor towards the maximum voltage.14- The system according to protection element 12, where: the first resistor is a variable resistor; the second resistor is a variable resistor; and the first and second time constants are set, at least partially, by adjusting the resistors of the first and second variable resistors, respectively. 15- The system according to protection element 4, where the control device is configured to determine the current compensation value by a computer program. 16- The system according to protection element 15, where the control device is configured by a computer program to: periodically adjust a nominal control voltage value by a compensation value, where the compensation value is determined by: the periodic determination of the system state, whether beam on or beam off; if the determined state is beam on, the previous compensation value decreases exponentially to the current compensation value by an increment that depends, at least partially, on a time period and a time constant that is not stable, depending, at least partially, on the previous performance of the system; If the specified condition is determined to be beam stopping, Asia increases the current compensation value by an increment towards the maximum value, depending, at least in part, on a time period and a time constant that is not steady, depending, at least in part, on the previous performance of the system.

17. The system, according to safeguard element 16, is configured in a computer program to ensure the controller provides the following: a maximum compensation value at the start of the initial beam operation period at a cold start; and the current compensation value is determined by the exponential increase of the maximum compensation value to the current compensation value.

18. The system, according to safeguard element 1, also includes: a target material placed against which accelerated charged particles will collide.

19. A method for operating a charged particle acceleration system includes: injecting charged particles into a radio-frequency (RF) accelerator; supplying radio-frequency (RF) power to the accelerator, the RF power of which depends, at least in part, on the previous performance of the system, to compensate, at least in part, for dose and / or energy instability; and the accelerator's acceleration of the injected charged particles.

20. The method, according to safeguard element 19, also includes: providing compensating electrical power to a radio-frequency (RF) source. The compensating electrical power depends, at least in part, on the previous performance of the system to compensate, at least in part, for dose and / or energy instability. The radio-frequency (RF) power available to the accelerator depends, at least in part, on the compensating electrical power.

21. A charged particle acceleration system includes: an accelerator device for accelerating charged particles; a device for injecting charged particles into the accelerator device; and a radio-frequency (RF) power device to provide radio-frequency (RF) power to the accelerator device, depending, at least in part, on the previous performance of the system, to compensate, at least in part, for dose and / or energy instability. An electrical power source to provide electrical power to a radio-frequency (RF) power source; and an accelerator source to accelerate the injected charged particles.22- The system according to protection element 21, where: the electrical power source provides electrical power to the radio-frequency (RF) power source depending, at least in part, on the prior performance of the system; and the radio-frequency (RF) power available to the accelerator by the radio-frequency (RF) power source depends, at least in part, on the electrical power available from the electrical power source.