X-ray tube filament current correction control method and device with self-learning capability
Through the X-ray tube filament current correction control method with self-learning ability, the filament current is dynamically adjusted, and the problem of low efficiency and accuracy of X-ray tube filament current correction control in the prior art is solved, achieving more efficient and accurate correction control.
Patent Information
- Application Number
- CN202411828684.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, the current correction control efficiency and accuracy of X-ray tube filament are low, and the test is complex and the efficiency is low.
The X-ray tube filament current correction control method with self-learning ability is adopted. By obtaining the preset set values of multiple sets of tube voltages, the corresponding sets of filament current and tube current are determined, and the curve fit is performed to obtain the approximate function relationship between the actual value of the tube current and the actual value of the tube voltage and the set value of the filament current, and the filament current is dynamically adjusted to achieve correction.
The efficiency and accuracy of the current correction control of the X-ray tube filament is improved, the deviation during the exposure process is reduced, the service life of the X-ray tube is extended, and the energy consumption is reduced.
Smart Images

Figure CN119545631A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical equipment, and in particular to a method and a device for correcting and controlling an X-ray tube filament current with self-learning capability. Background Art
[0002] X-rays are widely used and cover a wide range of fields, including medicine, scientific research, industrial testing, etc. In practical applications, X-rays can penetrate human tissues and form images, which are used to diagnose fractures, pneumonia, tumors and other diseases. With the continuous advancement and innovation of technology, the application areas of X-rays will continue to expand and deepen.
[0003] The X-ray tube is mainly composed of two electrodes, the cathode and the anode, which are sealed in a high vacuum glass or ceramic shell. The cathode includes a filament (usually a spiral tungsten filament) for emitting electrons, while the anode includes a target material (such as copper, tungsten, etc.) and a glass shell. A high voltage is applied between the two poles through a high-voltage power supply to form a strong electric field. Considering that the current accuracy of the X-ray tube is often affected by the filament temperature, it is necessary to study the correction control of the filament current of the X-ray. Commonly used methods in related technologies include: 1) using the corresponding relationship table between the tube current and the filament current provided by the tube manufacturer, but this method has a single control variable and cannot guarantee that the tube current can reach stability in a short time; 2) Expose at each working point of the filament current and test to obtain the corresponding tube current value. This method uses a large amount of test data to establish the corresponding relationship between the tube current and the filament current, but this method has the problems of complex testing, too many exposure points, and a large amount of data, which not only wastes the life of the X-ray tube, but also has low efficiency.
[0004] In view of this, a filament current correction control method for an X-ray tube with self-learning capability is needed to improve the efficiency and accuracy of the filament current correction control. Summary of the invention
[0005] In view of this, the present invention provides an X-ray tube filament current correction control method and device with self-learning capability to solve the problem of low efficiency and accuracy of X-ray tube filament current correction control.
[0006] In a first aspect, the present invention provides a filament current correction control method for an X-ray tube with self-learning capability, the method comprising: when a target X-ray tube is in a standby state, obtaining a plurality of preset tube voltage setting values; based on the preset plurality of tube voltage setting values, determining a plurality of corresponding filament current and tube current sets; the plurality of filament current and tube current sets include a minimum tube current value and a minimum filament current value and a maximum tube current value and a maximum filament current value; based on the minimum tube current value and the minimum filament current value and the maximum tube current value and the maximum filament current value, curve fitting is performed to obtain an approximate functional relationship between an actual tube current value and an actual tube voltage value and a filament current setting value; based on the approximate functional relationship, determining a group of filament current setting values and a corresponding group of actual tube current values; when the actual tube current value is less than the tube current setting value, obtaining a final filament current setting value; and dynamically adjusting the filament current according to a deviation between the actual tube voltage value and the tube voltage setting value and a deviation between the actual tube current value and the tube current setting value.
[0007] In an optional embodiment, the preset multiple groups of tube voltage setting values are evenly distributed within the range of maximum tube voltage and minimum tube voltage of the target X-ray tube; the maximum tube voltage and the minimum tube voltage are determined based on basic parameters of the target X-ray tube.
[0008] In an optional implementation, determining the corresponding multiple sets of filament currents and tube currents and their corresponding relationship includes: performing exposure at a set tube voltage value with a preset filament current as a step to obtain the corresponding multiple sets of filament currents and tube currents.
[0009] In an optional embodiment, dynamically adjusting the filament current according to the deviation between the actual value of the tube voltage and the set value of the tube voltage and the deviation between the actual value of the tube current and the set value of the tube current includes: if the deviation between the actual value of the tube voltage and the set value of the tube voltage is greater than a first preset value, then stopping the correction. If the deviation between the actual value of the tube voltage and the set value of the tube voltage is less than the first preset value, then determining the relationship between the deviation between the actual value of the tube voltage and the set value of the tube voltage and a second preset value; if the deviation between the actual value of the tube current and the set value of the tube current is greater than the second preset value, then performing filament current correction; if the deviation between the actual value of the tube current and the set value of the tube current is less than the second preset value, then stopping the correction.
[0010] In an optional embodiment, filament current correction includes: obtaining the subscript of the current exposure tube current setting value in a preset rule, and then determining the corresponding filament current subscript; allocating an adjustment weight of the filament current based on the deviation between the actual tube current value and the tube current setting value and the tube voltage setting value; and assigning a filament current adjustment value under the filament current subscript based on the adjustment weight to complete the correction of the filament current.
[0011] In a second aspect, the present invention provides an X-ray tube filament current correction control device with self-learning capability, the device comprising: a voltage acquisition module, used to acquire a plurality of preset tube voltage setting values when the target X-ray tube is in a standby state; a current determination module, used to determine a plurality of corresponding filament currents and tube currents based on the plurality of preset tube voltage setting values; the plurality of filament currents and tube currents include a minimum tube current value and a minimum filament current value and a maximum tube current value and a maximum filament current value; a curve fitting module, used to perform curve fitting based on the minimum tube current value and the minimum filament current value and the maximum tube current value and the maximum filament current value, so as to obtain an approximate functional relationship between an actual tube current value and an actual tube voltage value and a filament current setting value; an actual value determination module, used to determine a group of filament current setting values and a corresponding group of actual tube current values based on the approximate functional relationship; a setting value acquisition module, used to acquire a final filament current setting value when the actual tube current value is less than the tube current setting value; and a dynamic adjustment module, used to dynamically adjust the filament current according to a deviation between the actual tube voltage value and the tube voltage setting value and a deviation between the actual tube current value and the tube current setting value.
[0012] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the X-ray tube filament current correction control method with self-learning capability of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0013] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the X-ray tube filament current correction control method with self-learning capability of the above-mentioned first aspect or any corresponding embodiment thereof.
[0014] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the X-ray tube filament current correction control method with self-learning capability according to the first aspect or any corresponding embodiment thereof.
[0015] The technical solution provided by this application may have the following beneficial effects:
[0016] When the X-ray tube is in standby state, by obtaining preset multiple sets of tube voltage setting values, a data basis is provided for subsequent steps. Exposure is performed under the preset multiple sets of tube voltage setting values, and corresponding multiple sets of filament current and tube current are obtained, including the minimum tube current value and the minimum filament current value and the maximum tube current value and the maximum filament current value, which are used for curve fitting to obtain the approximate functional relationship between the actual value of the tube current and the actual value of the tube voltage and the set value of the filament current, indicating the actual state of the tube current under different tube voltages and filament currents. According to the set filament current value, the corresponding actual value of the tube current is obtained through the approximate functional relationship. When the actual value of the tube current is less than the set value, the filament current is adjusted, and the final filament current set value can be calculated to ensure that the tube current reaches the set value. During the exposure process, the deviation between the actual value of the voltage and the set value of the tube voltage and the deviation between the actual value of the tube current and the set value of the tube current are monitored, and the filament current is dynamically adjusted to complete the correction control of the filament current. The above scheme can complete the correction control of the filament current in each exposure process by dynamically adjusting the filament current, thereby improving the efficiency and accuracy of the correction control of the filament current of the X-ray tube. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 is a flow chart of a method for controlling X-ray tube filament current correction with self-learning capability according to an embodiment of the present invention;
[0019] Figure 2 is a flow chart of a method for determining whether to perform filament current correction according to an embodiment of the present invention;
[0020] Figure 3 is a structural block diagram of an X-ray tube filament current correction control device with self-learning capability according to an embodiment of the present invention;
[0021] Figure 4 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0023] According to an embodiment of the present invention, an embodiment of an X-ray tube filament current correction control method with self-learning capability is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0024] In this embodiment, a method for controlling the correction of the filament current of an X-ray tube with self-learning capability is provided. Figure 1 is a flow chart of a method for controlling the filament current correction of an X-ray tube with self-learning capability according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0025] Step S101, when the target X-ray tube is in a standby state, a plurality of preset sets of tube voltage setting values are obtained.
[0026] Among them, the tube voltage setting value V set The preset is related to the technical specifications of the X-ray tube itself and the actual application requirements to determine the tube voltage setting of the X-ray tube under various working conditions and provide a data basis for subsequent steps.
[0027] Step S102, based on the preset multiple sets of tube voltage setting values, determine the corresponding multiple sets of filament currents and tube currents; the multiple sets of filament currents and tube currents include a minimum tube current value and a minimum filament current value and a maximum tube current value and a maximum filament current value.
[0028] According to the preset multiple tube voltage setting values V set Through multiple exposure operations, multiple sets of filament current and tube current data are obtained, including the minimum tube current value and the minimum filament current value, as well as the maximum tube current value and the maximum filament current value. This step establishes the corresponding relationship between the filament current and the tube current for subsequent curve fitting and dynamic adjustment.
[0029] Optionally, in the embodiment of the present application, at the preset tube voltage setting value V set Under the condition, the filament current and tube current of each group are repeatedly acquired for multiple times, and the average value is taken as the final data acquisition result.
[0030] Step S103, based on the minimum tube current value and the minimum filament current value and the maximum tube current value and the maximum filament current value, curve fitting is performed to obtain an approximate functional relationship between the actual tube current value and the actual tube voltage value and the set filament current value.
[0031] Specifically, according to different tube voltage setting values V set The minimum tube current value and the minimum filament current value, as well as the maximum tube current value and the maximum filament current value under the condition of the actual tube voltage V real , Actual value of tube current I real , Filament current setting value Ifil set By curve fitting, we can get I real About V real Ifil set The approximate functional relationship of is:
[0032] z=p(x,y)
[0033] Where x is V real y is Ifil set , z is I real By finding the curve function from several known points, it is possible to reflect the changing trend of the data points as much as possible without the curve p(x,y) passing through every data point. The approximate function relationship obtained by curve fitting provides an accurate mathematical model for the subsequent dynamic adjustment of the filament current.
[0034] Optionally, in the embodiments of the present application, when performing curve fitting, a variety of mathematical methods, such as least squares method and polynomial fitting, can be used to ensure that the functional relationship obtained by fitting can reflect the changing trend of the data points.
[0035] Step S104: determining a set of filament current setting values and a corresponding set of tube current actual values based on the approximate functional relationship.
[0036] The system will infer a set of corresponding filament current setting values Ifil under different tube voltages based on the preset tube voltage setting value range through an approximate function relationship. set and the resulting actual value of the tube current I real , used for subsequent judgment.
[0037] Step S105, when the actual tube current value is less than the tube current setting value, the final filament current setting value is obtained.
[0038] When a current less than the tube current setting value I is obtained set The actual value of the tube current I real The final filament current setting value Ifil is obtained according to certain mathematical rules. set Among them, the mathematical rule can be (Ifil set+Ifil′ set ) / 2,Ifil′ set Ifil in the process of applying the decreasing method set The decreasing method is a method of gradually approaching the optimal solution. In this embodiment, starting from the maximum filament current value that the bulb can meet, it gradually decreases downward according to a certain step length or ratio. After each decrease, the corresponding actual tube current value I real and the preset tube current setting value I set If the actual value of the tube current I real Still greater than the tube current setting value I set , then continue to decrease until I is satisfied real set Inequality. Adjust the filament current setting value Ifil by decreasing the method set , which can reduce the usage of filament current as much as possible while meeting the requirements of tube current setting value, thereby extending the service life of X-ray tube and reducing energy consumption.
[0039] Step S106, dynamically adjusting the filament current according to the deviation between the actual value of the tube voltage and the set value of the tube voltage and the deviation between the actual value of the tube current and the set value of the tube current.
[0040] Monitor the actual value of the tube voltage V during each exposure process real The actual value of the tube current I real , calculate the actual value of the tube voltage V real With the tube voltage setting value V set Deviation (V set -V real ) / V set And the actual value of tube current I real and tube current setting value I set Deviation (I set -I real ) / I set , to dynamically adjust the filament current. The purpose of adjustment is to reduce the deviation and make the actual value as close to the set value as possible.
[0041] The present embodiment provides an X-ray tube filament current correction control method with self-learning capability. By dynamically adjusting the filament current, the correction control of the filament current can be completed in each exposure process, thereby improving the efficiency and accuracy of the X-ray tube filament current correction control.
[0042] Optionally, the preset multiple groups of tube voltage setting values are evenly distributed within the range of maximum tube voltage and minimum tube voltage of the target X-ray tube; the maximum tube voltage and the minimum tube voltage are determined based on basic parameters of the target X-ray tube.
[0043] When setting the tube voltage setting value, the maximum tube voltage and minimum tube voltage of the target X-ray tube are used as the value range boundaries, and then multiple sets of tube voltage setting values are evenly selected within the value range, in order to ensure that sufficient test data can be obtained in the entire tube voltage operating range. Among them, the basic parameters of the target X-ray tube can be directly obtained from the tube data manual.
[0044] Optionally, under the set value of the tube voltage, exposure is performed with a preset filament current as a step to obtain corresponding multiple sets of filament currents and tube currents.
[0045] The choice of step is related to the basic parameters of the target X-ray tube and the test accuracy. For example, 0.5A is selected as the step value, and at each tube voltage setting value, the exposure is performed by increasing the filament current by 0.5A each time from the initial filament current, and the tube current value is recorded.
[0046] In some optional embodiments, such as Figure 2 The method for determining whether to perform filament current correction is shown in the figure. The above step S106 dynamically adjusts the filament current according to the deviation between the actual value of the tube voltage and the set value of the tube voltage and the deviation between the actual value of the tube current and the set value of the tube current, and includes the following steps:
[0047] Step S201A: If the deviation between the actual tube voltage value and the set tube voltage value is greater than a first preset value, the correction is stopped.
[0048] After each exposure, the deviation between the actual tube voltage and the set tube voltage (V set -V real ) / V set If it is greater than the first preset value Error1, the exposure fails and the filament current is not corrected. The first preset value is set taking into account the technical specifications of the X-ray tube, including the stability of the tube voltage and the maximum allowable deviation range, and is used to determine whether the deviation between the actual value of the tube voltage and the set value is within an acceptable range.
[0049] Step S201B: if the deviation between the actual tube voltage value and the set tube voltage value is less than the first preset value, then determine the relationship between the deviation between the actual tube voltage value and the set tube voltage value and the second preset value.
[0050] If the actual tube voltage value and the tube voltage setting value deviation (V set -V real ) / V set If it is less than the first preset value Error1, it means that the voltage output of the exposure tube is normal and the next step of filament current correction can be carried out.
[0051] Step S201B includes the following steps:
[0052] Step S202B: if the deviation between the actual tube current value and the set tube current value is greater than the second preset value, filament current correction is performed.
[0053] If the deviation between the actual tube current value and the set tube current value (I set -I real ) / I set If it is greater than the second preset value Error2, it means that the exposure is valid and the actual tube current deviation is large. The deviation of the tube current has exceeded the allowable range and the filament current needs to be corrected.
[0054] Step S202C: if the deviation between the actual tube current value and the set tube current value is less than the second preset value, then stop the calibration.
[0055] If the deviation between the actual tube current value and the set tube current value (I set -I real ) / I set If the value is less than the second preset value Error2, it means that the tube current accuracy of this exposure is within a reasonable range and no filament current correction is required. The second preset value is set taking into account the technical specifications of the X-ray tube, including the stability of the tube current and the maximum allowable deviation range, and is used to determine whether the deviation between the actual value of the tube current and the set value is within an acceptable range.
[0056] In some optional implementations, the filament current correction in step S202B includes the following steps:
[0057] Step a11, obtaining the subscript of the current exposure tube current setting value in the preset rule, and then determining the corresponding filament current subscript.
[0058] If the filament current needs to be corrected, the current exposure tube current setting value I will be obtained first. set The subscript in the preset rule (such as the medical device mA parameter step rule R'20) is used to obtain the filament current subscript R'20 corresponding to the current tube current value. Ifil Wherein, the subscript is an index or number used to identify different tube current setting values, and optionally, the preset rule (such as the medical device mA parameter step rule) is a database or lookup table containing multiple tube current setting values and their corresponding filament currents.
[0059] Step a12, allocating the adjustment weight of the filament current based on the deviation between the actual tube current value and the set tube current value and the tube voltage set value.
[0060] According to the current tube current error (I set -I real ) / I set The size and V setThe value of is used to assign an adjustment weight to the filament current. The adjustment weight represents how to adjust the filament current value during the filament current correction process to achieve the purpose of reducing the tube current deviation.
[0061] Step a13, assigning a filament current adjustment value under the filament current subscript based on the adjustment weight to complete the correction of the filament current.
[0062] According to this weight, the R'20 under the current index Ifil The value is assigned, and the deviation between the actual value of the tube current and the set value is reduced by adjusting the value of the filament current. The filament current is set according to the adjusted value in subsequent exposures to achieve the purpose of filament current correction. It is also necessary to monitor the adjusted filament current value in real time, and continuously correct the relationship between the tube current and the tube voltage and filament current during the process to ensure that the correction effect meets the expected requirements.
[0063] In this embodiment, an X-ray tube filament current correction control device with self-learning capability is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation in hardware, or a combination of software and hardware, is also possible and conceivable.
[0064] This embodiment provides an X-ray tube filament current correction control device with self-learning capability, such as Figure 3 As shown, including:
[0065] The voltage acquisition module 301 is used to acquire a plurality of preset sets of tube voltage setting values when the target X-ray tube is in a standby state;
[0066] The current determination module 302 is used to determine the corresponding multiple sets of filament currents and tube currents based on the preset multiple sets of tube voltage setting values; the multiple sets of filament currents and tube currents include a minimum tube current value and a minimum filament current value and a maximum tube current value and a maximum filament current value;
[0067] The curve fitting module 303 is used to perform curve fitting based on the minimum tube current value and the minimum filament current value and the maximum tube current value and the maximum filament current value to obtain an approximate functional relationship between the actual tube current value and the actual tube voltage value and the set filament current value;
[0068] An actual value determination module 304 is used to determine a set of filament current setting values and a corresponding set of tube current actual values based on an approximate functional relationship;
[0069] The set value acquisition module 305 is used to acquire the final filament current set value when the actual tube current value is less than the tube current set value;
[0070] The dynamic adjustment module 306 is used to dynamically adjust the filament current according to the deviation between the actual value of the tube voltage and the set value of the tube voltage and the deviation between the actual value of the tube current and the set value of the tube current.
[0071] In some optional implementations, the voltage acquisition module 301 is further used for:
[0072] The preset multiple groups of tube voltage setting values are evenly distributed within the range of the maximum tube voltage and the minimum tube voltage of the target X-ray tube; the maximum tube voltage and the minimum tube voltage are determined based on basic parameters of the target X-ray tube.
[0073] In some optional implementations, the current determination module 302 is further configured to:
[0074] Under the set value of the tube voltage, exposure is performed with the preset filament current as a step to obtain corresponding multiple sets of filament current and tube current.
[0075] In some optional implementations, the dynamic adjustment module 306 includes:
[0076] The first deviation judgment unit is used to stop the correction if the deviation between the actual value of the tube voltage and the set value of the tube voltage is greater than a first preset value.
[0077] The second deviation judgment unit is used to judge the relationship between the deviation between the actual value of the tube voltage and the set value of the tube voltage and a second preset value if the deviation between the actual value of the tube voltage and the set value of the tube voltage is less than the first preset value.
[0078] The second deviation judgment unit includes:
[0079] The third deviation judgment subunit is used to perform filament current correction if the deviation between the actual tube current value and the set tube current value is greater than a second preset value.
[0080] The fourth deviation judgment subunit is used to stop the correction if the deviation between the actual value of the tube current and the set value of the tube current is less than a second preset value.
[0081] In some optional implementations, the third deviation judgment subunit is as follows:
[0082] The first current correction unit is used to obtain the subscript of the current exposure tube current setting value in a preset rule, and then determine the corresponding filament current subscript.
[0083] The second current correction unit is used to allocate the adjustment weight of the filament current based on the deviation between the actual value of the tube current and the set value of the tube current and the set value of the tube voltage.
[0084] The third current correction unit is used to assign a filament current adjustment value under the filament current subscript based on the adjustment weight to complete the correction of the filament current.
[0085] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0086] The X-ray tube filament current correction control device with self-learning capability in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0087] The embodiment of the present invention also provides a computer device having the above Figure 3 The X-ray tube filament current correction control device with self-learning capability is shown.
[0088] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 4 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.
[0089] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0090] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0091] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0092] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0093] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0094] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0095] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0096] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0097] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for controlling the filament current correction of an X-ray tube with self-learning capability, characterized in that: The method comprises: When the target X-ray tube is in a standby state, obtaining a plurality of preset sets of tube voltage setting values; Based on the preset multiple sets of tube voltage setting values, corresponding multiple sets of filament currents and tube currents are determined; the multiple sets of filament currents and tube currents include a minimum tube current value and a minimum filament current value and a maximum tube current value and a maximum filament current value; Based on the minimum tube current value and the minimum filament current value and the maximum tube current value and the maximum filament current value, curve fitting is performed to obtain an approximate functional relationship between the actual value of the tube current and the actual value of the tube voltage and the set value of the filament current; Based on the approximate functional relationship, determining a set of filament current setting values and a corresponding set of tube current actual values; When the actual tube current value is less than the tube current setting value, obtaining a final filament current setting value; The filament current is dynamically adjusted according to the deviation between the actual value of the tube voltage and the set value of the tube voltage and the deviation between the actual value of the tube current and the set value of the tube current.
2. The method according to claim 1, characterized in that The preset multiple groups of tube voltage setting values are evenly distributed within the range of the maximum tube voltage and the minimum tube voltage of the target X-ray tube; the maximum tube voltage and the minimum tube voltage are determined based on the basic parameters of the target X-ray tube.
3. The method according to claim 1, characterized in that Determining the corresponding multiple groups of filament currents and tube currents includes: Under the tube voltage setting value, exposure is performed with a preset filament current as a step to obtain corresponding multiple sets of filament currents and tube currents.
4. The method according to claim 1, characterized in that: The dynamically adjusting the filament current according to the deviation between the actual value of the tube voltage and the set value of the tube voltage and the deviation between the actual value of the tube current and the set value of the tube current comprises: If the deviation between the actual tube voltage value and the set tube voltage value is greater than a first preset value, the correction is stopped.
5. The method according to claim 4, characterized in that The method further comprises: If the deviation between the actual value of the tube voltage and the set value of the tube voltage is less than the first preset value, determining the relationship between the deviation between the actual value of the tube voltage and the set value of the tube voltage and a second preset value; If the deviation between the actual value of the tube current and the set value of the tube current is greater than the second preset value, filament current correction is performed; If the deviation between the actual tube current value and the set tube current value is less than the second preset value, the correction is stopped.
6. The method according to claim 5, characterized in that The filament current correction comprises: Obtain the subscript of the current exposure tube current setting value in the preset rule, and then determine the corresponding filament current subscript; Allocating an adjustment weight of the filament current based on a deviation between the actual tube current value and the set tube current value and the set tube voltage value; Based on the adjustment weight, the filament current adjustment value under the filament current index is assigned to complete the correction of the filament current.
7. An X-ray tube filament current correction control device with self-learning capability, characterized in that: The device comprises: A voltage acquisition module, used to acquire preset multiple sets of tube voltage setting values when the target X-ray tube is in a standby state; A current determination module, for determining corresponding multiple sets of filament currents and tube currents based on the preset multiple sets of tube voltage setting values; the multiple sets of filament currents and tube currents include a minimum tube current value and a minimum filament current value and a maximum tube current value and a maximum filament current value; A curve fitting module, used for performing curve fitting based on the minimum tube current value and the minimum filament current value and the maximum tube current value and the maximum filament current value, to obtain an approximate functional relationship between the actual value of the tube current and the actual value of the tube voltage and the set value of the filament current; An actual value determination module, used to determine a set of filament current setting values and a corresponding set of tube current actual values based on the approximate functional relationship; A set value acquisition module, used for acquiring a final filament current set value when the actual tube current value is less than the tube current set value; The dynamic adjustment module is used to dynamically adjust the filament current according to the deviation between the actual value of the tube voltage and the set value of the tube voltage and the deviation between the actual value of the tube current and the set value of the tube current.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method according to any one of claims 1 to 6.