Wide-range high-precision medical X-ray imaging system
By designing a current detection circuit in a medical X-ray imaging system, using the current to voltage module, high-precision DC bias module and microcontroller control module, the problem of wide range and low accuracy of current detection is solved, and the stable operation and imaging quality of the system are achieved. promote.
Patent Information
- Application Number
- CN202410986362.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-23
AI Technical Summary
The existing medical X-ray imaging systems lack wide range and high accuracy in current detection, resulting in fluctuations in imaging quality and reduced equipment durability, and the inability to accurately detect X-ray tube current, affecting imaging clarity and accelerating X-ray tube aging.
A system including power supply circuit, X-ray source, tube current circuit, tube voltage circuit, current detection circuit and control circuit was designed. The current detection circuit adopts current to voltage module, high-precision DC bias module, amplification module and microcontroller control. Module, high-precision measurement of current over a wide range through MOS tubes and reference voltage chips.
The wide range and high accuracy of current detection are achieved, ensuring the stable operation of the X-ray imaging system, improving imaging quality, and reducing costs and failure risks.
Smart Images

Figure CN118945966A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an automatic material mixing and pressing device, in particular to a medical X-ray imaging system with a wide measurement range and high precision. Background Art
[0002] X-ray imaging devices are basic diagnostic equipment in modern medicine and can be widely used in the clinical diagnosis of chest, bone and joint, breast diseases, gallstones and urinary system diseases, digestive, respiratory, urinary and cardiovascular system diseases. Medical X-ray imaging systems have high requirements for the accuracy of current detection. If there is a lack of wide-range and high-precision current detection circuits, it may cause: 1. Fluctuation in imaging quality: the inability to accurately detect the X-ray tube current may cause instability in the intensity and penetration of X-rays, affecting the clarity of the image; 2. Decreased equipment durability: abnormal current fluctuations may accelerate the aging of the X-ray tube, increase the risk of failure and replacement costs. Therefore, wide-range and high-precision current detection circuits play a vital role in ensuring the stable operation of medical X-ray imaging systems and improving imaging quality. When faced with X-rays of different intensities, medical X-ray imaging systems require currents with a wide range. Existing medical X-ray imaging systems generally use signal conditioning circuits with a single amplification factor and DC bias. When the input current of this circuit is small, the voltage signal obtained after the bias, amplification and filtering of the signal conditioning circuit has a narrow variation range. The AD sampling quantization error and interference have a great influence on the current sampling accuracy, resulting in a large current error, and even the AD quantization error and interference can overwhelm the current signal value; when the input current is large, the voltage signal obtained after the bias, amplification and filtering of the signal conditioning circuit has a large variation range, resulting in output signal saturation or cutoff distortion, or causing the output signal to exceed the linear amplification range of the operational amplifier, or causing the output signal to exceed the optimal AD sampling range, greatly reducing the accuracy of current measurement. Summary of the invention
[0003] The purpose of the present invention is to provide a medical X-ray imaging system with a wide range and high precision. The present invention can meet the requirements of the X-ray imaging system for current detection with a wide range and high precision, and has the advantages of low cost, wide current measurement range and high precision.
[0004] The technical solution of the present invention is as follows: a wide-range and high-precision medical X-ray imaging system, comprising a power supply circuit, an X-ray source, a tube current circuit, a tube voltage circuit, a current detection circuit and a control circuit; the power supply circuit is respectively connected to the X-ray source and the control circuit, and the power supply circuit is used to provide a high-voltage power supply for the X-ray source; the tube current circuit is respectively connected to the X-ray source and the control circuit, and the tube current circuit is used to control the intensity and exposure time of the X-rays; the tube voltage circuit is respectively connected to the X-ray source and the control circuit, and the tube voltage circuit is used to control the acceleration energy of the X-ray source electrons and the energy of the X-rays; the current detection circuit is respectively connected to the tube current circuit and the control circuit, and the current detection circuit is used to detect the current of the X-ray source and provide a current feedback signal to the control circuit; the control circuit is used to receive the current feedback signal of the current detection circuit and control the operation of the power supply circuit, the tube current circuit and the tube voltage circuit;
[0005] The current detection circuit includes a current-to-voltage module, a high-precision DC bias module, an amplification module and a single-chip control module; the single-chip control module is respectively connected to the current-to-voltage module and the amplification module; the amplification module is respectively connected to the current-to-voltage module and the high-precision DC bias module.
[0006] In the aforementioned wide-range and high-precision medical X-ray imaging system, the current-to-voltage module comprises a MOS tube Q1, a MOS tube Q2, a MOS tube Q3 and a MOS tube Q4; the current-to-voltage module is connected in parallel with the tube voltage circuit; the drain of the MOS tube Q1 is respectively connected to the drain of the MOS tube Q2, the drain of the MOS tube Q3, the drain of the MOS tube Q4 and the amplification module; the gate of the MOS tube Q1, the gate of the MOS tube Q2, the gate of the MOS tube Q3 and the gate of the MOS tube Q4 are respectively connected to the single-chip control module; the source of the MOS tube Q1 is respectively connected to the source of the MOS tube Q2, the source of the MOS tube Q3, the source of the MOS tube Q4 and the amplification module.
[0007] The aforementioned wide-range and high-precision medical X-ray imaging system, the high-precision DC bias module includes a reference voltage chip U2, a resistor R1 and a capacitor C1; one end of the resistor R1 is connected to a 5V voltage source, and the other end of the resistor R1 is respectively connected to one end of the capacitor C1, the power supply pin of the reference voltage chip U2, the output pin of the reference voltage chip U2 and the amplifier module; the other end of the capacitor C1 is connected to the ground pin of the reference voltage chip U2 and is grounded.
[0008] The aforementioned wide-range and high-precision medical X-ray imaging system, the amplification module includes a rail-to-rail operational amplifier U1, an input interference suppression capacitor C2, a resistor R2, a resistor R3, a resistor R4 and a resistor R5; one end of the resistor R2 is connected to the high-precision DC bias module, and the other end of the resistor R2 is respectively connected to one end of the resistor R3, one end of the input interference suppression capacitor C2 and the non-inverting input end of the rail-to-rail operational amplifier U1; the other end of the resistor R3 is connected to the current-to-voltage module; the positive power supply end of the rail-to-rail operational amplifier U1 is connected to a 5V voltage source, and the negative power supply end of the rail-to-rail operational amplifier U1 is grounded; the output end of the rail-to-rail operational amplifier U1 is respectively connected to one end of the resistor R4 and the single-chip control module; the inverting input end of the rail-to-rail operational amplifier U1 is respectively connected to the other end of the resistor R4 and one end of the resistor R5; the other end of the resistor R5 is respectively connected to the other end of the input interference suppression capacitor C2 and the current-to-voltage module, and is grounded.
[0009] In the aforementioned wide-range and high-precision medical X-ray imaging system, the single-chip microcomputer control module includes a single-chip microcomputer MCU and a filtering circuit; the P1 port, P2 port, P3 port and P4 port of the single-chip microcomputer MCU are respectively connected to the current-to-voltage module; the AD port of the single-chip microcomputer MCU is connected to one end of the filtering circuit; and the other end of the filtering circuit is connected to the amplification module.
[0010] In the aforementioned wide-range and high-precision medical X-ray imaging system, the rated operating current and body resistance R of the MOS tube Q1 are sh The rated operating current and body resistance of the MOS tube Q2 are 100A and 6mΩ respectively; the rated operating current and body resistance of the MOS tube Q3 are 50A and 10mΩ respectively; the rated operating current and body resistance of the MOS tube Q4 are 10A and 50mΩ respectively.
[0011] In the aforementioned wide-range and high-precision medical X-ray imaging system, the model of the reference voltage chip U2 is TL431; the output pin of the reference voltage chip U2 outputs a high-precision DC bias voltage of 2.5V.
[0012] In the aforementioned wide-range and high-precision medical X-ray imaging system, the resistance value of the resistor R2 is the same as the resistance value of the resistor R4; the resistance value of the resistor R3 is the same as the resistance value of the resistor R5; the resistance value of the resistor R3 is 1 / 4 of the resistance value of the resistor R2; the sampling voltage v0 at the output end of the rail-to-rail operational amplifier U1 satisfies the following formula:
[0013] v0=2.5+4v ac ;
[0014] Among them, v ac is the conversion voltage, vac =i ac ×R sh ;i ac is the AC current in the tube current circuit; R sh is the body resistance of the MOS tube.
[0015] In the aforementioned wide-range and high-precision medical X-ray imaging system, the single-chip microcomputer MCU is provided with a current detection program, and the current detection program includes the following steps:
[0016] S1: Start;
[0017] S2: Calculate the conversion voltage v according to the sampling voltage v0 ac , and obtain the amplitude of the conversion voltage V amp ;
[0018] S3: According to the conversion voltage v ac and the amplitude of the conversion voltage V amp Calculate i separately ac and I amp ; where i ac =K·v ac ;I amp =K·V amp ; K is the amplification factor, K = 1 / R sh ;
[0019] S4: Judgment I amp <10 is true; if so, go to step S5; otherwise, go to step S6;
[0020] S5: MCU controls the port output P1=0, P2=0, P3=0, P4=1, K=20, and the program exits;
[0021] S6: Determine 10.5≤I amp <50 is true; if so, go to step S7; otherwise, go to step S8;
[0022] S7: MCU control port outputs P1=0, P2=0, P3=1, P4=0, K=100, and the program exits;
[0023] S8: Determine 50.5≤I amp <100 is true; if so, go to step S9; otherwise, go to step S10;
[0024] S9: MCU controls the port output P1=0, P2=1, P3=0, P4=0, K=166.67, and the program exits;
[0025] S10: judge 100.5≤I amp<150 is true; if so, go to step S11; otherwise, go to step S12;
[0026] S11: MCU controls the port output P1=1, P2=0, P3=0, P4=0, K=250, and the program exits;
[0027] S12: Determine 150.5≤I amp <200 is true; if so, go to step S13; otherwise, go to step S14;
[0028] S13: MCU controls the port output P1=1, P2=0, P3=1, P4=0, K=350, and the program exits;
[0029] S14: MCU controls the port output P1=1, P2=1, P3=0, P4=0, K=416.7, and the program exits;
[0030] S15: The program exits.
[0031] Compared with the prior art, the present invention comprises a power supply circuit for providing a high-voltage power supply for an X-ray source; an X-ray source for generating X-rays; a tube current circuit for controlling the intensity and exposure time of X-rays; a tube voltage circuit for controlling the acceleration energy of X-ray source electrons and the energy of X-rays; a current detection circuit for detecting the current of the X-ray source and providing a current feedback signal to the control circuit; a control circuit for receiving the current feedback signal of the current detection circuit and controlling the operation of the power supply circuit, the tube current circuit and the tube voltage circuit; the tube current circuit is connected to a current-to-voltage module, which converts AC currents of different ranges into voltage signals of appropriate ranges; a high-precision DC bias module outputs a high-precision DC bias voltage; an amplification module realizes interference filtering, DC biasing and amplification of the converted voltage signal; and a single-chip microcomputer control module realizes high-precision measurement of current when it changes in a wide range; the present invention can meet the requirements of wide-range and high-precision current detection of an X-ray imaging system, and has the advantages of low cost, wide current measurement range and high precision. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of the structure of the present invention;
[0033] Figure 2 is the circuit diagram of the current detection circuit;
[0034] Figure 3 It is the algorithm flow chart of the current detection program of the microcontroller MCU.
[0035] The markings in the attached figure are: 1-current-to-voltage module, 2-high-precision DC bias module, 3-amplification module, 4-single-chip microcomputer control module. DETAILED DESCRIPTION
[0036] The present invention is further described below in conjunction with the accompanying drawings and embodiments, but they are not intended to limit the present invention.
[0037] Embodiment: A wide-range and high-precision medical X-ray imaging system, the structure of which is as follows Figure 1 As shown, it includes a power supply circuit, an X-ray source, a tube current circuit, a tube voltage circuit, a current detection circuit and a control circuit; the power supply circuit is respectively connected to the X-ray source and the control circuit, and is used to provide a high-voltage power supply for the X-ray source, provide the required high voltage for the X-ray tube, so that the electrons in the X-ray tube are accelerated and generate X-rays; the X-ray source is an X-ray tube, including a cathode filament and an anode target material, and a high-voltage current is applied to the cathode filament through the tube current circuit, so that the electrons in the cathode filament are accelerated to collide with the anode target material to generate X-rays; the tube current circuit is respectively connected to the X-ray source and the control circuit, and can be The control circuit is combined with the feedback signal of the current detection circuit to form a closed-loop control, which can ensure the stability and accuracy of the X-ray source current and control the intensity and exposure time of the X-rays; the tube voltage circuit is connected to the X-ray source and the control circuit respectively, and is used to control the acceleration energy of the X-ray source electrons and the energy of the X-rays; the current detection circuit is connected to the tube current circuit and the control circuit respectively, and is used to detect the current of the X-ray source and provide a current feedback signal to the control circuit; the control circuit is used to receive the current feedback signal of the current detection circuit and control the operation of the power supply circuit, the tube current circuit and the tube voltage circuit;
[0038] The current detection circuit includes a current-to-voltage module 1, a high-precision DC bias module 2, an amplification module 3 and a single-chip control module 4; the single-chip control module 4 is respectively connected to the current-to-voltage module 1 and the amplification module 3; the amplification module 3 is respectively connected to the current-to-voltage module 1 and the high-precision DC bias module 2.
[0039] The present invention comprises a power supply circuit for providing a high-voltage power supply for an X-ray source; an X-ray source for generating X-rays; a tube current circuit for controlling the intensity and exposure time of X-rays; a tube voltage circuit for controlling the acceleration energy of electrons in the X-ray source and the energy of the X-rays; a current detection circuit for detecting the current of the X-ray source and providing a current feedback signal to a control circuit; a control circuit for receiving the current feedback signal of the current detection circuit and controlling the operation of the power supply circuit, the tube current circuit and the tube voltage circuit; the tube current circuit is connected to a current-to-voltage module, which converts alternating currents of different ranges into voltage signals of a suitable range; a high-precision DC bias module outputs a high-precision DC bias voltage; an amplification module realizes interference filtering, DC biasing and amplification of the converted voltage signal; and a single-chip control module realizes high-precision measurement of the current when it changes in a wide range; the present invention can meet the requirements of wide-range and high-precision current detection of an X-ray imaging system, and has the advantages of low cost, wide current measurement range and high precision.
[0040] The current-to-voltage module 1 includes MOS tube Q1, MOS tube Q2, MOS tube Q3 and MOS tube Q4; the current-to-voltage module 1 is connected in parallel with the tube voltage circuit; the drain of the MOS tube Q1 is respectively connected to the drain of the MOS tube Q2, the drain of the MOS tube Q3, the drain of the MOS tube Q4 and the amplifier module 3; the gate of the MOS tube Q1, the gate of the MOS tube Q2, the gate of the MOS tube Q3 and the gate of the MOS tube Q4 are respectively connected to the single-chip control module 4; the source of the MOS tube Q1 is respectively connected to the source of the MOS tube Q2, the source of the MOS tube Q3, the source of the MOS tube Q4 and the amplifier module 3. The rated working current and body resistance R of the MOS tube Q1 sh The rated operating current and body resistance of the MOS tube Q2 are 100A and 6mΩ respectively; the rated operating current and body resistance of the MOS tube Q3 are 50A and 10mΩ respectively; the rated operating current and body resistance of the MOS tube Q4 are 10A and 50mΩ respectively.
[0041] The current-to-voltage module 1 utilizes different body resistances R after different MOS tubes are turned on. sh The AC current i of different ranges ac Convert to a voltage signal v of appropriate range ac MOS tube Q1, MOS tube Q2, MOS tube Q3 and MOS tube Q4 are driven by the P1 port, P2 port, P3 port and P4 port of the single-chip MCU respectively. The single-chip MCU controls the conduction of single or multiple MOS tubes to achieve a wide range of i ac Convert v acMOS tubes Q1, Q2, Q3 and Q4 form four branches and are connected in parallel to the AC power line. The gates of MOS tubes Q1, Q2, Q3 and Q4 are connected to the output control ports P1, P2, P3 and P4 of the single-chip microcomputer MCU in turn and are controlled by the single-chip microcomputer MCU. The single-chip microcomputer MCU obtains i through sampling calculation. ac The amplitude I amp , and based on I amp The size of the current conversion voltage is optimized by controlling the level switching of the P1 port, P2 port, P3 port and P4 port. sh On the one hand, it ensures that the sampling voltage v0 is in the linear sampling range of the AD port of the MCU, and on the other hand, it reduces the sampling quantization error and interference of the AD port of the MCU on the i ac The influence of the current can be eliminated to achieve high-precision current measurement over a wide range.
[0042] Since the internal parts of MOS tubes Q1, Q2, Q3 and Q4 are all parasitic diodes, in order to ensure i ac Convert v ac To ensure the linearity and measurement accuracy of the MOS tube, it is necessary to ensure that the parasitic diode is in the cut-off state. Due to the differences in the manufacturers, materials and production processes of the MOS tube, the conduction voltage of the parasitic diode inside the MOS tube will be different. To ensure that the MOS tube is reliably cut off, v ac The amplitude V amp Cannot exceed 0.6V. Therefore, when MOS tube Q4 is turned on, i ac With v ac satisfy:
[0043] v ac =i ac ×R sh =i ac ×0.05; (1)
[0044] So we have:
[0045] V amp =I amp ×0.05; (2)
[0046] Where: V amp v ac The amplitude, I amp for i ac The amplitude of. And because V amp <0.6, so:
[0047] I amp <12; (3)
[0048] From (3), we can see that when selecting MOS tube Q4 to conduct, in order to reliably ensure v ac =i ac ×0.05 linearity, then the current i ac The amplitude I amp Not more than 12A, you can choose i ac The measuring range is 0-12A.
[0049] Similarly, when MOS tube Q3 is turned on, i ac With v ac satisfy:
[0050] v ac =i ac ×0.01; (4)
[0051] Because V amp <0.6, so:
[0052] I amp <60; (5)
[0053] Therefore, the current i ac The amplitude I amp Not more than 60A, you can choose i ac The measuring range is 12-60A.
[0054] By analogy, when MOS tube Q2 is turned on, i ac With v ac satisfy:
[0055] v ac =i ac ×0.006; (6)
[0056] Therefore, the current i ac The amplitude I amp Not more than 100A, you can choose i ac The measuring range is 60-100A.
[0057] When the MOS tube Q1 is turned on, i ac With v ac satisfy:
[0058] v ac =i ac ×0.004; (7)
[0059] Therefore, the current i ac The amplitude I amp Not more than 150A, you can choose i ac The measuring range is 100-150A.
[0060] When MOS tube Q1 and MOS tube Q3 are turned on, i ac With v ac satisfy:
[0061] v ac =i ac ×0.00286; (8)
[0062] Therefore, the current i ac The amplitude I amp Not more than 210A, you can choose i ac The measuring range is 150-210A.
[0063] When MOS tube Q1 and MOS tube Q2 are turned on, i ac With v ac satisfy:
[0064] v ac =i ac ×0.0024; (9)
[0065] Therefore, the current i ac The amplitude I amp Not more than 250A, you can choose i ac The measuring range is 210-250A.
[0066] In order to make the currents have the same range width and facilitate calculation, the current range intervals of the present invention are respectively: 0-10A, 10-50A, 50-100A, 100-150A, 150-200A and 200-250A.
[0067] From the above analysis, it can be seen that by controlling the conduction combination of MOS tube Q1, MOS tube Q2, MOS tube Q3 and MOS tube Q4, a current i in a large range can be achieved. ac The converted voltage v ac With the same interval width and measurement accuracy.
[0068] The high-precision DC bias module 2 includes a reference voltage chip U2, a resistor R1 and a capacitor C1; one end of the resistor R1 is connected to a 5V voltage source, and the other end of the resistor R1 is respectively connected to one end of the capacitor C1, the power supply pin of the reference voltage chip U2, the output pin of the reference voltage chip U2 and the amplification module 3; the other end of the capacitor C1 is connected to the ground pin of the reference voltage chip U2 and is grounded. The model of the reference voltage chip U2 is TL431; the output pin of the reference voltage chip U2 outputs a high-precision DC bias voltage of 2.5V. The resistor R1 is used to regulate the input current of the power supply pin of the TL431 reference voltage chip U2. By reasonably selecting the resistance value of the resistor R1, it can be ensured that the TL431 reference voltage chip U2 outputs a high-precision DC bias voltage of 2.5V. The capacitor C1 is used to suppress the high-frequency ripple of the 2.5V voltage. The output pin of the TL431 reference voltage chip U2 outputs stably at 2.5V, which requires the power supply pin to be injected with a current between 1-100mA. Considering the fluctuation of the circuit working voltage 5V, the working range of the TL431 reference voltage chip U2 and the bias voltage V bias To generate the current required by the circuit, set the current injected into the power supply pin of the TL431 reference voltage chip U2 to 10mA, so:
[0069]
[0070] The amplification module 3 includes a rail-to-rail operational amplifier U1, an input interference suppression capacitor C2, a resistor R2, a resistor R3, a resistor R4 and a resistor R5, which can realize the input amplification module V acThe signal is subjected to interference filtering, DC biasing and amplification; one end of the resistor R2 is connected to the high-precision DC bias module 2, and the other end of the resistor R2 is respectively connected to one end of the resistor R3, one end of the input interference suppression capacitor C2 and the non-inverting input end of the rail-to-rail operational amplifier U1; the other end of the resistor R3 is connected to the current-to-voltage module 1; the positive power supply end of the rail-to-rail operational amplifier U1 is connected to a 5V voltage source, and the negative power supply end of the rail-to-rail operational amplifier U1 is grounded; the output end of the rail-to-rail operational amplifier U1 is respectively connected to one end of the resistor R4 and the single-chip control module 4; the inverting input end of the rail-to-rail operational amplifier U1 is respectively connected to the other end of the resistor R4 and one end of the resistor R5; the other end of the resistor R5 is respectively connected to the other end of the input interference suppression capacitor C2 and the current-to-voltage module 1, and is grounded. The resistance value of the resistor R2 is 4R; the resistance value of the resistor R3 is R; the resistance value of the resistor R4 is 4R; the resistance value of the resistor R5 is R; the amplification factor of the amplification module 3 is 4 (that is, the resistance value of the resistor R2 is the same as the resistance value of the resistor R4; the resistance value of the resistor R3 is the same as the resistance value of the resistor R5; the resistance value of the resistor R3 is 1 / 4 of the resistance value of the resistor R2); the sampling voltage v0 at the output end of the rail-to-rail operational amplifier U1 satisfies the following formula:
[0071]
[0072]
[0073] v0=2.5+4v ac ; (13)
[0074] Among them, v ac is the conversion voltage, v ac =i ac ×R sh ;i ac is the AC current in the tube current circuit; v (+) is the voltage at the non-inverting input of the rail-to-rail operational amplifier U1; v (-) is the voltage at the inverting input of the rail-to-rail operational amplifier U1; R sh is the body resistance of the MOS tube.
[0075] The single-chip control module 4 includes a single-chip MCU and a filter circuit; the P1 port, P2 port, P3 port and P4 port of the single-chip MCU are respectively connected to the current-to-voltage module 1; the AD port of the single-chip MCU is connected to one end of the filter circuit; the other end of the filter circuit is connected to the amplification module 3. The filter circuit can filter the high-frequency interference of v0; the single-chip MCU calculates i through v0 ac The amplitude of i acThe amplitude of MOS tube Q1, MOS tube Q2, MOS tube Q3 and MOS tube Q4 are reasonably selected to realize high-precision measurement when the current changes in a wide range.
[0076] The single-chip microcomputer MCU is provided with a current detection program, and the current detection program is as follows: Figure 3 As shown, the following steps are included:
[0077] S1: Start;
[0078] S2: Calculate the conversion voltage v according to the sampling voltage v0 ac , and obtain the amplitude of the conversion voltage V amp ;
[0079] S3: According to the conversion voltage v ac and the amplitude of the conversion voltage V amp Calculate i separately ac and I amp ; where i ac =K·v ac ;I amp =K·V amp ; K is the amplification factor, K = 1 / R sh ;
[0080] S4: Judgment I amp <10 is true; if so, go to step S5; otherwise, go to step S6;
[0081] S5: MCU controls the port output P1=0, P2=0, P3=0, P4=1, K=20, and the program exits;
[0082] S6: Determine 10.5≤I amp <50 is true; if so, go to step S7; otherwise, go to step S8;
[0083] S7: MCU control port outputs P1=0, P2=0, P3=1, P4=0, K=100, and the program exits;
[0084] S8: Determine 50.5≤I amp <100 is true; if so, go to step S9; otherwise, go to step S10;
[0085] S9: MCU controls the port output P1=0, P2=1, P3=0, P4=0, K=166.67, and the program exits;
[0086] S10: judge 100.5≤I amp <150 is true; if so, go to step S11; otherwise, go to step S12;
[0087] S11: MCU controls the port output P1=1, P2=0, P3=0, P4=0, K=250, and the program exits;
[0088] S12: Determine 150.5≤I amp <200 is true; if so, go to step S13; otherwise, go to step S14;
[0089] S13: MCU controls the port output P1=1, P2=0, P3=1, P4=0, K=350, and the program exits;
[0090] S14: MCU controls the port output P1=1, P2=1, P3=0, P4=0, K=416.7, and the program exits;
[0091] S15: The program exits.
[0092] In summary, the present invention includes a power supply circuit for providing a high-voltage power supply for an X-ray source; an X-ray source for generating X-rays; a tube current circuit for controlling the intensity and exposure time of X-rays; a tube voltage circuit for controlling the acceleration energy of X-ray source electrons and the energy of X-rays; a current detection circuit for detecting the current of the X-ray source and providing a current feedback signal to the control circuit; a control circuit for receiving the current feedback signal of the current detection circuit and controlling the operation of the power supply circuit, the tube current circuit and the tube voltage circuit; the tube current circuit is connected to a current-to-voltage module, which converts AC currents of different ranges into voltage signals of appropriate ranges; a high-precision DC bias module outputs a high-precision DC bias voltage; an amplification module realizes interference filtering, DC biasing and amplification of the converted voltage signal; and a single-chip microcomputer control module realizes high-precision measurement of current when it changes over a wide range; the present invention can meet the requirements of wide-range and high-precision current detection of an X-ray imaging system, and has the advantages of low cost, wide current measurement range and high precision.
Claims
1. A medical X-ray imaging system with a wide range and high precision, characterized in that: It includes a power supply circuit, an X-ray source, a tube current circuit, a tube voltage circuit, a current detection circuit and a control circuit; the power supply circuit is connected to the X-ray source and the control circuit respectively, and the power supply circuit is used to provide a high-voltage power supply for the X-ray source; the tube current circuit is connected to the X-ray source and the control circuit respectively, and the tube current circuit is used to control the intensity and exposure time of the X-rays; the tube voltage circuit is connected to the X-ray source and the control circuit respectively, and the tube voltage circuit is used to control the acceleration energy of the X-ray source electrons and the energy of the X-rays; The current detection circuit is connected to the tube current circuit and the control circuit respectively, and the current detection circuit is used to detect the current of the X-ray source and provide a current feedback signal to the control circuit; The control circuit is used to receive the current feedback signal of the current detection circuit and control the operation of the power supply circuit, the tube current circuit and the tube voltage circuit; The current detection circuit comprises a current-to-voltage module (1), a high-precision DC bias module (2), an amplification module (3) and a single-chip control module (4); the single-chip control module (4) is respectively connected to the current-to-voltage module (1) and the amplification module (3); the amplification module (3) is respectively connected to the current-to-voltage module (1) and the high-precision DC bias module (2).
2. The wide-range and high-precision medical X-ray imaging system according to claim 1, characterized in that: The current-to-voltage module (1) comprises a MOS tube Q1, a MOS tube Q2, a MOS tube Q3 and a MOS tube Q4; the current-to-voltage module (1) is connected in parallel with a tube voltage circuit; the drain of the MOS tube Q1 is respectively connected to the drain of the MOS tube Q2, the drain of the MOS tube Q3, the drain of the MOS tube Q4 and an amplification module (3); the gate of the MOS tube Q1, the gate of the MOS tube Q2, the gate of the MOS tube Q3 and the gate of the MOS tube Q4 are respectively connected to a single-chip control module (4); the source of the MOS tube Q1 is respectively connected to the source of the MOS tube Q2, the source of the MOS tube Q3, the source of the MOS tube Q4 and an amplification module (3).
3. The wide-range and high-precision medical X-ray imaging system according to claim 2, characterized in that: The high-precision DC bias module (2) comprises a reference voltage chip U2, a resistor R1 and a capacitor C1; one end of the resistor R1 is connected to a 5V voltage source, and the other end of the resistor R1 is respectively connected to one end of the capacitor C1, a power supply pin of the reference voltage chip U2, an output pin of the reference voltage chip U2 and an amplification module (3); the other end of the capacitor C1 is connected to a ground pin of the reference voltage chip U2 and is grounded.
4. The wide-range and high-precision medical X-ray imaging system according to claim 3, characterized in that: The amplification module (3) comprises a rail-to-rail operational amplifier U1, an input interference suppression capacitor C2, a resistor R2, a resistor R3, a resistor R4 and a resistor R5; one end of the resistor R2 is connected to the high-precision DC bias module (2), and the other end of the resistor R2 is respectively connected to one end of the resistor R3, one end of the input interference suppression capacitor C2 and the non-inverting input end of the rail-to-rail operational amplifier U1; the other end of the resistor R3 is connected to the current-to-voltage module (1); the positive power supply end of the rail-to-rail operational amplifier U1 is connected to a 5V voltage source, and the negative power supply end of the rail-to-rail operational amplifier U1 is grounded; the output end of the rail-to-rail operational amplifier U1 is respectively connected to one end of the resistor R4 and the single-chip control module (4); the inverting input end of the rail-to-rail operational amplifier U1 is respectively connected to the other end of the resistor R4 and one end of the resistor R5; the other end of the resistor R5 is respectively connected to the other end of the input interference suppression capacitor C2 and the current-to-voltage module (1), and is grounded.
5. The wide-range and high-precision medical X-ray imaging system according to claim 4, characterized in that: The single-chip microcomputer control module (4) comprises a single-chip microcomputer MCU and a filter circuit; the P1 port, the P2 port, the P3 port and the P4 port of the single-chip microcomputer MCU are respectively connected to the current-to-voltage module (1); the AD port of the single-chip microcomputer MCU is connected to one end of the filter circuit; and the other end of the filter circuit is connected to the amplification module (3).
6. The wide-range and high-precision medical X-ray imaging system according to claim 5, characterized in that: The rated operating current and body resistance R of the MOS tube Q1 sh The rated operating current and body resistance of the MOS tube Q2 are 100A and 6mΩ respectively; the rated operating current and body resistance of the MOS tube Q3 are 50A and 10mΩ respectively; the rated operating current and body resistance of the MOS tube Q4 are 10A and 50mΩ respectively.
7. The wide-range and high-precision medical X-ray imaging system according to claim 6, characterized in that: The model of the reference voltage chip U2 is TL431; the output pin of the reference voltage chip U2 outputs a high-precision DC bias voltage of 2.5V.
8. The wide-range and high-precision medical X-ray imaging system according to claim 7, characterized in that: The resistance value of the resistor R2 is the same as the resistance value of the resistor R4; the resistance value of the resistor R3 is the same as the resistance value of the resistor R5; the resistance value of the resistor R3 is 1 / 4 of the resistance value of the resistor R2; the sampling voltage v0 at the output end of the rail-to-rail operational amplifier U1 satisfies the following formula: v0=2.5+4v ac ; Among them, v ac is the conversion voltage, v ac =i ac ×R sh ;i ac is the AC current in the tube current circuit; R sh is the body resistance of the MOS tube.
9. The wide-range and high-precision medical X-ray imaging system according to claim 8, characterized in that: The single chip microcomputer MCU is provided with a current detection program, and the current detection program comprises the following steps: S1: Start; S2: Calculate the conversion voltage v according to the sampling voltage v0 ac , and obtain the amplitude of the conversion voltage V amp ; S3: According to the conversion voltage v ac and the amplitude of the conversion voltage V amp Calculate i separately ac and I amp ; where i ac =K·v ac ;I amp =K·V amp ; K is the amplification factor, K = 1 / R sh ; S4: Judgment I amp <10 is true; if so, go to step S5; otherwise, go to step S6; S5: MCU controls the port output P1=0, P2=0, P3=0, P4=1, K=20, and the program exits; S6: Determine 10.5≤I amp <50 is true; if so, go to step S7; otherwise, go to step S8; S7: MCU control port outputs P1=0, P2=0, P3=1, P4=0, K=100, and the program exits; S8: Determine 50.5≤I amp <100 is true; if so, go to step S9; otherwise, go to step S10; S9: MCU controls the port output P1=0, P2=1, P3=0, P4=0, K=166.67, and the program exits; S10: judge 100.5≤I amp <150 is true; if so, go to step S11; otherwise, go to step S12; S11: MCU controls the port output P1=1, P2=0, P3=0, P4=0, K=250, and the program exits; S12: Determine 150.5≤I amp <200 is true; if so, go to step S13; otherwise, go to step S14; S13: MCU controls the port output P1=1, P2=0, P3=1, P4=0, K=350, and the program exits; S14: MCU controls the port output P1=1, P2=1, P3=0, P4=0, K=416.7, and the program exits; S15: The program exits.
Citation Information
Patent Citations
Filament current closed-loop sampling circuit and X-ray high-frequency and high-voltage generator
CN108834294A
Three-phase four-bridge-arm inverter based on SiC MOSFET
CN111431429A
Output voltage-stabilizing and current-limiting loop control circuit of linear direct-current voltage-stabilizing power supply
CN116404891A
An X ray power supply control device used for a thickness gauge
CN202818750U
X-ray tube unit
US20150213994A1
Cited By
High-precision measurement circuit and measurement method for jaundice radiation light source driving current
CN119492907A
