Abstract:
A high voltage generating apparatus for an X-ray tube comprises an inverter for converting a DC voltage into an AC voltage, a high voltage transformer for boosting an output voltage of the inverter, a rectifier for converting an output voltage of the transformer into a DC voltage, and a detector for detecting an X-ray tube voltage to produce an output signal corresponding to the X-ray tube voltage. The output signal of the detector is sampled and held by a sample/hold circuit in synchronism with an operating period of the inverter so that the X-ray tube voltage is controlled in accordance with an error between an output signal of the sample/hold circuit and an X-ray tube voltage set level.

Description:
CROSS-REFERENCE TO RELATED APPLICATION 
     This is a continuation-in-part of application Ser. No. 742,597, filed on June 7, 1985, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     The present invention generally relates to a high voltage generating apparatus for an X-ray tube and more particularly to an inverter type high voltage generator for use with an X-ray tube which can provide, with high accuracy, an X-ray tube voltage commensurate with a set voltage. 
     In the past, an X-ray tube high voltage generator has been used wherein a power supply voltage fed from a commercial power source is applied to a voltage adjustment transformer which adjusts its output voltage or the input voltage of the following transformer by changing the position of its sliding brush connected to the secondary winding thereof or changing output taps connected to the secondary winding, an output voltage of the transformer is transformed to a high voltage by means of a high voltage transformer, and the high voltage is rectified with a rectifier and applied to an X-ray tube. 
     Recently, a power control technique using power semiconductors has made drastic progress and has been applied to development of an inverter type high voltage generator for an X-ray tube. Thanks to use of semiconductors for power control, the inverter type high voltage generator has a response which is more rapid by far than that of the aforementioned generator using the voltage adjustment transformer. Accordingly, with the inverter type high voltage generator, it is possible to detect an X-ray tube voltage or a value corresponding to the X-ray tube voltage and to enable a feedback control for making an error or difference between a detected voltage and a set level equal to zero, thereby applying a relatively accurate high voltage to an X-ray tube. 
     FIG. 1 schematically shows a prior art inverter type, X-ray tube high voltage generator adapted for the feedback control. In the figure, there are illustrated a commercial power source 1, a rectifier 2 for converting an AC voltage into a DC voltage, a DC/DC converter 3 receiving the DC voltage outputted from the rectifier 2 and being responsive to a predetermined frequency f 1  so as to be repetitiously on-off controlled to control its output DC voltage in accordance with a ratio between an on-time and an off-time (hereinafter referred to as a current conduction ratio), and an inverter 4 comprised of switching elements 4a to 4d. Simultaneous turn-on of the switching elements 4a and 4d and simultaneous turn-on of the switching elements 4b and 4c are effected repetitiously and alternately in response to a predetermined frequency f 2  to apply to a primary winding 5a of a high voltage transformer 5 an AC voltage at the frequency f 2 . There are also seen in FIG. 1 a rectifier 6 for converting an AC voltage induced in a secondary winding 5b of the transformer 5, a capacitor 7 for smoothing an output DC voltage of the rectifier 6 to provide a smoothed DC voltage, i.e., X-ray tube voltage v x  applied to an X-ray tube 8, an X-ray tube voltage detector 9 for detecting the X-ray tube voltage and producing a detection signal v x  &#39; corresponding to the X-ray tube voltage, an error amplifier 10 for producing a signal a corresponding to an error between the detection signal v x  &#39; and an X-ray tube voltage set level V set , and a DC/DC converter controller 11 responsive to the signal a to produce a signal b which controls the current conduction ratio for the DC/DC converter 3. 
     The error amplifier 10 is typically constructed as shown in FIG. 2, having resistors 21 and 22 of the same resistance R 1 , an operational amplifier 23, a resistor 24 of a resistance R 2 , and a capacitor 25 of a capacitance C. 
     In operation, when starting X-ray radiation, a DC voltage regulated to a predetermined level by the DC/DC converter 3 is converted by the inverter 4 into an AC voltage. This AC voltage is boosted by the high voltage transformer 5, rectified and smoothed by the rectifier 6 and capacitor 7, and applied to the X-ray tube 8. The tube voltage is detected by the X-ray tube voltage applied to the X-ray tube 8 detector 9, and a detection signal v x  &#39; is inputted to the error amplifier 10 to change the level of signal a in accordance with an error from the X-ray tube voltage set level V set . In response to a resulting signal a, the DC/DC converter controller 11 produces a signal b which controls the current conduction ratio for the DC/DC converter 3. For example, when the detection signal v x  &#39; is smaller than the X-ray tube voltage set level V set , the current conduction ratio for the DC/DC converter 3 is increased to raise the X-ray tube voltage v x . Conversely, when the detection signal v x  &#39; exceeds the X-ray tube voltage set level V set , the current conduction ratio for the DC/DC converter 3 is minimized to decrease the X-ray tube voltage v x . In this manner, the X-ray tube voltage v x  is controlled to make the error between the X-ray tube voltage v x  and the X-ray tube voltage set level V set  equal to zero. 
     Incidentally, the X-ray tube voltage v x  takes a waveform which typically is rippled at a frequency of 2f 2  as shown in FIG. 3. The ripple is caused by the operation of the inverter 4. In the inverter 4, the switching elements 4a and 4d in one set or the switching elements 4b and 4c in the other set should be turned on simultaneously and simultaneous turn-on of the switching elements 4a and 4c or the switching elements 4b and 4d should be prevented by providing a ceasing period T d  to avoid short-circuiting of the output of the DC/DC converter 3. During the ceasing period T d , no power is transmitted from the DC/DC converter 3 to a succeeding load and consequently, the X-ray tube 8 is powered only by a discharging current from the capacitor 7, resulting in a decrease in the X-ray tube voltage v x . In addition, since a wiring inductance and a leakage inductance and a stray capacitance of the high voltage transformer 5 are coexistent with the inverter 4, high voltage transformer 5 and rectifier 6 and liable to cause load current to oscillate. For these reasons, the pulsation at the frequency 2f 2  is caused irrespective of the stabilization of the DC voltage in the DC/DC converter 3 and is very difficult to reduce by controlling the DC/DC converter. Therefore, the pulsation at the frequency 2f 2  must be separated from the feedback control. 
     In the error amplifier 10 shown in FIG. 2, the input/output relation is given by ##EQU1## where S is a parameter of Laplace transform. Thus, the output signal a delays by CR 2  in responding to the input signal and for CR 2  &gt;2f 2  /1, the output signal a will not respond to the 2f 2  frequency pulsation, thereby making it possible to provide stable control. 
     In this manner, the error amplifier can be adjusted so as not to respond to the 2f 2  frequency pulsation by selecting CR 2 . But, this measure is equivalent to smoothing the 2f 2  frequency pulsation and hence a smoothed value of the 2f 2  frequency pulsation is considered to be added to a feedback level. In other words, as shown in FIG. 3, when the X-ray tube voltage has a maximum value V p , a level V m  of the X-ray tube voltage which is averaged in respect of the pulsation is fed back. 
     The magnitude of the 2f 2  frequency pulsation depends on the magnitude of the load. For larger X-ray tube currents, the pulsation is aggravated while for smaller X-ray tube currents, the pulsation is suppressed. The maximum value of the X-ray tube voltage v x  is normally defined as an X-ray tube voltage. Accordingly, even when the 2f 2  frequency pulsation for a small X-ray tube current and that for a large X-ray tube current are averaged to provide the same X-ray tube voltage level V m  as shown in FIG. 4, the X-ray tube voltage is so controlled as to have a level V p1  for the small X-ray tube current and a level V p2  for the large X-ray tube current. 
     As described above, since the feedback control is effected through the error amplifier shown in FIG. 2 such that different X-ray tube voltages are to be equal to each other when different magnitudes of different pulsating waves are averaged to the same level, an error is caused between the actual X-ray tube voltage and the X-ray voltage set level. 
     SUMMARY OF THE INVENTION 
     An object of the present invention is to provide an inverter type high voltage generating apparatus which can generate an X-ray tube voltage accurately converted to a set level. 
     The X-ray tube voltage has the waveform accompanied by the 2f 2  frequency pulsation as shown in FIG. 3 or 4. To prevent an X-ray tube voltage feedback system from responding to the 2f 2  frequency pulsation, the present invention does away with the integration term of the prior art error amplifier which leads to the unfavorable feedback control referenced to the averaged level of the 2f 2  frequency pulsation with the result that the X-ray tube voltage peak value, i.e., the working X-ray tube voltage varies with the magnitude of the 2f 2  frequency pulsation. According to the invention, maximum values of respective pulsating wave components in the 2f 2  frequency pulsation are sampled and held, and feedback control is effected on the basis of sample and hold values. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram schematically showing a prior art inverter type, X-ray tube high voltage generator with a feedback arrangement; 
     FIG. 2 shows details of an error amplifier; 
     FIG. 3 shows a waveform of an X-ray tube voltage; 
     FIG. 4 is a graph for explaining waveform of the X-ray tube voltage obtained with the prior art feedback arrangement; 
     FIG. 5 is a block diagram showing an inverter type, X-ray tube high voltage generator with a feedback arrangement according to an embodiment of the present invention; 
     FIG. 6 shows details of a peak hold circuit used in the generator of FIG. 5; and 
     FIGS. 7 and 8 are time charts for explaining the operation of the generator of FIG. 5. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The present invention will now be described by way of example with reference to FIGS. 5 to 7. FIG. 5 illustrates, in block form, the construction of an embodiment of the invention. In FIG. 5, components 1 to 11 resemble those of the prior art apparatus shown in block form in FIG. 1 and will not be described herein. Thus, only the additional components will be explained specifically in the following description. This embodiment adds to the FIG. 1 construction an inverter controller 31, a sample/hold controller 32, a sample/hold circuit 33, a peak hold circuit 34, and a peak hold controller 35. These additional components function as will be described below. The inverter controller 31 delivers to the inverter 4 and the sample/hold controller 32 turn-on signals for two switching sections of the inverter 4, that is, a turn-on signal INV 1  for the switching elements 4a and 4d and a turn-on signal INV 2  for the switching elements 4b and 4c. The sample/hold controller 32 delivers out a hold signal c when both the turn-on signals INV 1  and INV 2  received from the inverter controller 31 are at low level, that is, when the switching operation of the inverter 4 pauses. The peak hold circuit 34 receiving an output signal v xd  from the X-ray tube voltage detector 9 detects a peak value of the v xd  within a spacing between control signals generated at timings for setting a predetermined period of time and delivers out the peak value as an output signal v xp . The sample/hold circuit 33 holds the output signal v xp  of the peak hold circuit 34 in timed relationship with the reception of the hold signal c. The peak hold controller 35 produces a signal d for resetting the output signal v xp  of the peak hold circuit 34 in accordance with states of the turn-on signals INV 1  and INV 2  for the inverter 4, more specifically, in timed relationship with maturity of the operation of the sample/hold circuit 33. 
     With the above construction, the peak value of the tube voltage can be sampled in synchronism with each intermittent switching operation of the inverter 4. 
     The peak hold circuit 34 is exemplarily configured as shown in FIG. 6. Of operational amplifiers 40 and 41, one operational amplifier 40 cooperates with diodes 42 and 43 to form an ideal diode. A capacitor 44, a discharge resistor 45 for discharging electric charges stored in the capacitor 44, a NOT circuit 46, and switches 47 and 48 are interconnected as illustrated in FIG. 6. The switches 47 and 48 are closed by receiving a signal of &#34;1&#34;. 
     The operation of the peak hold circuit 34 will now be described. When the peak resetting signal d produced from the peak hold controller 35 is &#34;0&#34;, the switch 47 is closed by an output signal of &#34;1&#34; from the NOT circuit 46 whereas the switch 48 is operated by the &#34;0&#34; signal d. Then, voltage across the capacitor 44 equals the input voltage, v xd , to the peak hold circuit 34 and increases proportionately as the v xd  increases. But, after an instant from which the v xd  conversely begins to decrease, the voltage across the capacitor 44 can not follow a decreasing v xd  on account of the action of the ideal diode composed of the operational amplifier 40 and diodes 42 and 43. In addition, the operational amplifier 41 serves as a voltage follower which exhibits a high input impedance. Consequently, the capacitor 44 can not decrease from a voltage level once charged. 
     Subsequently, as the peak resetting signal d becomes &#34;1&#34;, the output signal from the NOT circuit 46 becomes &#34;0&#34; to open the switch 47 and the other switch 48 is closed. This causes the electric charges stored in the capacitor 44 to discharge through the discharge resistor 45 at a rate of a time constant τ determined by a capacitance C of the capacitor 44 and a resistance R of the discharge resistor 45. In this manner, the peak hold circuit as exemplified in FIG. 6 can detect and deliver a peak value of the v xd  within an interval ranging from the preceding occurrence of &#34;1&#34; of the peak resetting signal d to the immediately succeeding occurrence of &#34;1&#34; of the same. 
     To describe the operation of the FIG. 5 embodiment, reference should particularly be made to FIG. 7. During dosing of X-rays, the inverter controller 31 sends the inverter turn-on signals INV 1  and INV 2  to the inverter 4, sample/hold controller 32, and peak hold or peak resetting controller 35. The signals INV 1  and INV 2  are turned on alternately at the frequency f 2  with a pause time T d  interposed between on-state of one signal and off-state of the other signal as shown in FIG. 7. The reason why the pause time T d  is provided is that the pause time prevents simultaneous turn-on of the switching elements 4a and 4c or the switching elements 4b and 4d of the inverter 4 and consequent short-circuiting of the output of the DC/DC converter 3. 
     Considering that the turn-on signal INV 1  for the inverter 4 becomes &#34;1&#34; at a given time t o , a load current is passed through the switching elements 4a and 4d to supply power to the load (X-ray tube) so that the tube voltage v x  increases with time, entailing an increase in the output voltage v xd  of X-ray tube voltage detector 9 as shown at dotted curve in FIG. 7. Since, at that time, the peak resetting signal d is set to &#34;0&#34;, the output voltage v xp  of the peak hold circuit 34 is also increased as shown at chained curve in FIG. 7. 
     As the tube voltage v x  subsequently becomes maximum at time t 1  and thereafter decreases, the output voltage v xd  of the X-ray tube voltage detector 9 decreases proportionately to the tube voltage v x  but the output voltage v xp  of the peak hold circuit 34 is held at a peak level of v xd  at the time t 1 . 
     With the inverter turn-on signal INV 1  changed to &#34;0&#34; at time t 2 , the sample/hold controller 32 sends to the sample/hold circuit 33 a hold signal c which in turn enables the sample/hold circuit 33 to hold the output v xp  from the peak hold circuit 34. In this way, the peak level of the tube voltage v x  can be detected within a half period during which one set of switching elements of the inverter is turned on. The sample/hold circuit 33 then delivers a signal v&#39; xp  corresponding to the held v xp  to the error amplifier 10. 
     Subsequently, at time t 3  (till then the sample/hold operation has matured), the peak resetting signal d becomes &#34;1&#34; and resets the output voltage of the peak hold circuit 34. This resetting is to make the output voltage v xd  of X-ray tube voltage detector 9 inputted to the peak hold circuit 34 correspond to a change in the operation of the inverter within each half period and is especially needed to permit detection even when the v xd  is smaller during the second half of the period than during the first half of the period. After the resetting, the output voltage v xp  of the peak hold circuit 34 begins to decrease at the time constant τ. 
     At time t 4 , the inverter turn-on signal INV 2  becomes &#34;1&#34; and power is supplied to the load through the other set of switching elements 4b and 4c. Accordingly, the tube voltage v x  again increases and the output voltage v xd  of the X-ray tube voltage detector 9 increases proportionately. The peak resetting signal d again becomes &#34;0&#34; at the time t 4 , enabling the peak hold circuit 34 to initiate peak level detection. Exemplarily, since in this embodiment, the discharging of the capacitor 44 of peak hold circuit 34 proceeds at a slower rate than the change of the tube voltage v x , the capacitor 44 discharges immaturely and the output voltage v xd  of the X-ray tube voltage detector 9 falls below the v xp . As a result, the peak hold circuit 34 holds a bottom level at which the discharging is forced to stop. Subsequently, at time t 5 , the output voltage v xd  of the X-ray tube voltage detector 9 exceeds the held bottom level and the output voltage v xp  of the peak hold circuit 34 begins to increase proportionately. At time t 6 , the v xd  reaches a peak value, which is sampled and held at time t 7 . 
     In the above operation, a value of v&#39; xp  corresponding to a peak value of v xd  occurring within an interval of time between times t o  and t 2  is held and the thus held value is outputted during an interval of time between times t 2  and t 7  ; and after the time t 7 , a value of v&#39; xp  corresponding to a peak value of V xd  occurring within an interval of time ranging from time t 4  to time t 7  is held and outputted. Subsequently, this operation is repeated (see FIG. 8). 
     The output signal v&#39; xp  from the sample/hold circuit 33 is supplied to the error amplifier 10 so as to be compared with the tube voltage set level V set . If there occurs a difference, a signal a corresponding to the difference is outputted to the DC/DC converter controller 11. In response to the input signal a, the DC/DC converter controller 11 supplies to the DC/DC converter 3 a signal b for controlling the current conduction ratio of the DC/DC converter 3, thereby regulating DC voltage to be supplied to the inverter 4. 
     FIG. 8 shows the tube voltage v x  as obtained when the above operation repeats, the relation between the detected X-ray tube voltage value x xd  and detected peak value v xp , and the relation between the detected peak value v xp  and sample/hold value v&#39; xp . 
     As described above, according to the invention, the peak level of the tube voltage is detected during each half period of the inverter and feedback for regulating the tube voltage and hence the preset tube voltage peak level can be regulated accurately without being affected by the 2f 2  frequency pulsation in the tube voltage. 
     The error amplifier for X-ray tube voltage control is not limited to an analog operational amplifier but the present invention may be applicable to digital control using a microcomputer. In the digital control, the detection signal is converted into a digital signal by means of an A/D converter, and the digital signal is processed by the microcomputer to determine a current conduction ratio in accordance with an error from the set level. The detection signal must correspond to the X-ray tube voltage peak value. According to teachings of the present invention, the feedback control can be effected by using the X-ray tube voltage peak value, and the X-ray tube voltage peak value can be accurately converted to the set level. 
     In case where the conversion rate of the A/D converter is slower as compared to the operation period of the inverter, it is advantageous to sample the detection signal in synchronism with the operation of the inverter by reducing the sampling frequency to a fraction of an integer, for example, 1/2 of the inverter operating frequency. 
     When the present invention was applied to an inverter type, X-ray tube high voltage generator of 2kW output power and 200 Hz operating frequency the advantageous effect was proven as below. During X-ray radiation, the generator was operated to supply power to the load with about 10% current conduction ratio of the inverter and remaining 90% discharge from the high voltage capacitor. When this generator was combined with a conventional feedback system having an X-ray tube voltage set level of 40 KV, the X-ray tube voltage peak value was 40 KV for an X-ray tube current of 0.5 mA but was 47 kV for an X-ray tube current of 3 mA. Then, the generator was combined with the feedback system according to the invention to obtain an X-ray tube voltage peak value of 40 KV which accurately converger to the X-ray tube voltage set level irrespective of different values of the X-ray tube current. 
     As has been described, the present invention permits the feedback control referenced to the X-ray tube voltage peak value and consequently the X-ray tube voltage can be obtained which is accurately commensurate with the set level.