Method for determining filament preheating time of X-ray bulb tube and related device

By collecting tube current samples of X-ray bulbs in the imaging device, calculating the deviation value and adjusting the preheating time, the imaging quality problems caused by poor consistency of X-ray bulbs are solved, and accurate filament preheating time and efficient imaging process are achieved.

CN119521512APending Publication Date: 2025-02-25GUILIN WOODPECKER MEDICAL INSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411601740.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the case of poor consistency of X-ray bulbs, the same type of handheld X-ray machine uses the same reference preheating time, resulting in a large deviation in the number of electrons generated by the X-ray bulbs, affecting the imaging quality and shortening the service life.

Method used

By collecting tube current samples of the X-ray sphere tube in the imaging device, the deviation value is calculated, and if the deviation value is greater than or equal to the preset threshold, the filament preheating time is adjusted, and the exposure and acquisition process is repeated until the deviation value is less than the threshold.

Benefits of technology

It realizes automatic adjustment of the preheating time of the X-ray sphere tube, ensuring imaging quality and extending service life, and improving the durability of the imaging equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521512A_ABST
    Figure CN119521512A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of imaging equipment, and provides a filament preheating time determination method of an X-ray bulb tube and a related device. The method comprises the following steps: preheating a filament of an X-ray bulb tube according to the preheating time and then exposing; in the exposure process, collecting the tube current of the X-ray bulb tube according to a set sampling frequency to obtain a current tube current sample set, and calculating a current deviation value in combination with the target tube current; if the current deviation value is greater than or equal to a deviation threshold value, adjusting based on the current deviation value to obtain next preheating time, taking the next preheating time as new current preheating time, and re-executing the processes of preheating, exposing, sampling and calculating the deviation value; and if the deviation value is smaller than the deviation threshold value, taking the preheating time as the filament preheating time matched with the X-ray bulb tube. The preheating time of the X-ray bulb tube is automatically adjusted, the adjusting efficiency and the imaging quality are improved, and the service life of the X-ray bulb tube is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of imaging equipment, and in particular to a method for determining the filament preheating time of an X-ray tube and a related device. Background Art

[0002] X-ray tubes are the radiation source of imaging equipment such as handheld X-ray machines, and are the core components of X-ray products. X-ray tubes generally go through four steps: filament preheating, high voltage applied to the tube anode, continuous filament heating, and stopping filament heating and pressure application. If the filament preheating time of the X-ray tube in the imaging equipment is not selected properly, it will have a certain impact on the imaging quality.

[0003] At present, in the process of producing handheld X-ray machines, the reference preheating time provided by the X-ray tube manufacturer is generally directly used as the filament preheating time of the X-ray tube in the handheld X-ray machine. When the consistency of the X-ray tube is good, the filaments in the handheld X-ray machines using the same type of X-ray tube are preheated for the same time, and the number of electrons generated is not much different, so that the handheld X-ray machines can all meet the imaging quality requirements. However, when the consistency of the X-ray tube is poor, if the same type of handheld X-ray machines still use the same reference preheating time, the number of electrons generated by the X-ray tube will be greatly deviated, so that when the high voltage is applied to the tube anode, the tube current will be concave or peak, and the actual tube current will deviate greatly from the expected tube current, thereby affecting the imaging quality of the handheld X-ray machine, and being in this state for a long time will also shorten the service life of the X-ray tube and reduce the durability of the handheld X-ray machine. Therefore, before the handheld X-ray machine leaves the factory, it is an urgent problem to debug the filament preheating time of the X-ray tube in the handheld X-ray machine to obtain an adapted filament preheating time. Summary of the invention

[0004] In view of this, an object of the present invention is to provide a method for determining the filament preheating time of an X-ray tube and a related device.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] In a first aspect, the present invention provides a method for determining the filament preheating time of an X-ray tube, which is applied to an imaging device, wherein the imaging device is equipped with an X-ray tube, and the method comprises:

[0007] Preheating the filament of the X-ray tube according to the preheating time and then performing exposure;

[0008] During the exposure process, the tube current of the X-ray tube is collected according to a set sampling frequency to obtain a tube current sample set;

[0009] Calculating a current deviation value according to the current tube current sample set and a preset target tube current; the current deviation value indicates a degree of deviation between the current tube current sample set and the target tube current;

[0010] If the current deviation value is greater than or equal to a preset deviation threshold, adjusting the next preheating time based on the current deviation value, and taking the next preheating time as the new current preheating time, re-performing the step of preheating the filament of the X-ray tube according to the current preheating time and then exposing;

[0011] If the current deviation value is less than the deviation threshold, the current preheating time is used as the filament preheating time matching the X-ray tube.

[0012] In an optional implementation, the step of calculating the current deviation value according to the current tube current sample set and a preset target tube current includes:

[0013] Calculating the absolute difference between the target tube current and each tube current sample in the current tube current sample set;

[0014] The average value is calculated according to the absolute difference values ​​corresponding to all tube current samples to obtain the tube current sample deviation mean;

[0015] The variance is calculated according to each tube current sample and the tube current sample deviation mean to obtain the current deviation value.

[0016] In an optional implementation, the step of adjusting based on the current deviation value to obtain the next preheating time includes:

[0017] Determine an adjustment symbol according to the current tube current sample set, and obtain a current deviation parameter composed of the adjustment symbol and the current deviation value; the adjustment symbol indicates a direction of adjusting the preheating time;

[0018] Based on the current deviation parameter, determining a proportional adjustment parameter and an integral adjustment parameter;

[0019] According to the proportional adjustment parameter and the integral adjustment parameter, the reference preheating time of the X-ray tube is adjusted to obtain the next preheating time.

[0020] In an optional implementation, the step of determining the adjustment sign according to the current tube current sample set includes:

[0021] Calculating the difference between the target tube current and each tube current sample in the current tube current sample set, and adding the differences corresponding to all tube current samples to obtain a tube current sample deviation sum;

[0022] In the case where the absolute value of the tube current sample deviation is less than the preset deviation and threshold, if the maximum tube current sample in the current tube current sample set is greater than or equal to the target tube current, a negative sign is used as the adjustment symbol, or if the maximum tube current sample is less than the target tube current, a positive sign is used as the adjustment symbol;

[0023] In the case where the absolute value of the tube current sample deviation sum is greater than or equal to the deviation sum threshold, if the tube current sample deviation sum is greater than or equal to zero, a positive sign is used as the adjustment sign, or if the tube current sample deviation sum is less than zero, a negative sign is used as the adjustment sign;

[0024] When the adjustment symbol is a positive sign, it indicates that the preheating time is increased, and when the adjustment symbol is a negative sign, it indicates that the preheating time is decreased.

[0025] In an optional implementation manner, the step of determining a proportional adjustment parameter and an integral adjustment parameter based on the current deviation parameter includes:

[0026] Calculating the difference between the current deviation parameter and the previous deviation parameter, and calculating the product of the difference and a preset proportionality coefficient to obtain the proportional adjustment parameter;

[0027] The product of a preset integral coefficient and the current deviation parameter is calculated to obtain the integral adjustment parameter.

[0028] In an optional embodiment, the step of adjusting the reference preheating time of the X-ray tube according to the proportional adjustment parameter and the integral adjustment parameter to obtain the next preheating time includes:

[0029] Add the last time adjustment parameter, the proportional adjustment parameter and the integral adjustment parameter to obtain the current time adjustment parameter;

[0030] The reference preheating time of the X-ray tube is added to the current time adjustment parameter to obtain the next preheating time.

[0031] In a second aspect, the present invention provides a device for determining the filament preheating time of an X-ray tube, which is applied to an imaging device, wherein the imaging device is equipped with an X-ray tube, and the device comprises:

[0032] An exposure module, used for preheating the filament of the X-ray tube according to the current preheating time and then performing exposure;

[0033] A sampling module is used to collect the tube current of the X-ray tube according to a set sampling frequency during the exposure process to obtain a tube current sample set;

[0034] an adjusting module, configured to calculate a current deviation value according to the current tube current sample set and a preset target tube current; the current deviation value indicates a degree of deviation between the current tube current sample set and the target tube current;

[0035] If the current deviation value is greater than or equal to a preset deviation threshold, adjusting the next preheating time based on the current deviation value, and taking the next preheating time as the new current preheating time, re-executing the process of preheating the filament of the X-ray tube according to the current preheating time and then performing exposure;

[0036] If the current deviation value is less than the deviation threshold, the current preheating time is used as the filament preheating time matching the X-ray tube.

[0037] In an optional embodiment, the adjustment module is further used for:

[0038] Calculating the absolute difference between the target tube current and each tube current sample in the current tube current sample set;

[0039] The average value is calculated according to the absolute difference values ​​corresponding to all tube current samples to obtain the tube current sample deviation mean;

[0040] The variance is calculated according to each tube current sample and the tube current sample deviation mean to obtain the current deviation value.

[0041] In a third aspect, the present invention provides an imaging device, comprising a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the method for determining the filament preheating time of an X-ray tube described in any one of the aforementioned embodiments is implemented.

[0042] In a fourth aspect, the present invention provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the filament preheating time of an X-ray tube as described in any one of the aforementioned embodiments.

[0043] The present invention provides a method for determining the filament preheating time of an X-ray tube and a related device, the method comprising: preheating the filament of the X-ray tube according to the current preheating time and then exposing; and during the exposure process, collecting the tube current of the X-ray tube according to the set sampling frequency to obtain the current tube current sample set; then calculating the current deviation value according to the current tube current sample set and the preset target tube current, the current deviation value indicating the degree of deviation between the current tube current sample set and the target tube current; if the current deviation value is greater than or equal to the preset deviation threshold, adjusting based on the current deviation value to obtain the next preheating time, and taking the next preheating time as the new current preheating time, re-executing the process of preheating, exposing, collecting samples and calculating the deviation value; if the current deviation value is less than the deviation threshold, taking the current preheating time as the filament preheating time matching the X-ray tube. The preheating time of the X-ray tube is automatically adjusted to obtain an accurate filament preheating time for filament preheating and exposure. This reduces the debugging time, improves the adjustment efficiency, and effectively avoids the phenomenon of tube current sag or spike, improves the imaging quality, and at the same time extends the service life of the X-ray tube and improves the durability of the imaging equipment.

[0044] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 A block diagram of an imaging device provided by an embodiment of the present invention is shown;

[0047] Figure 2 One of the flow charts of the method for determining the filament preheating time of an X-ray tube provided in an embodiment of the present invention is shown;

[0048] Figure 3 The second flow chart of the method for determining the filament preheating time of an X-ray tube provided in an embodiment of the present invention is shown;

[0049] Figure 4 The third flow chart of the method for determining the filament preheating time of an X-ray tube provided in an embodiment of the present invention is shown;

[0050] Figure 5A functional module diagram of a device for determining the filament preheating time of an X-ray tube provided by an embodiment of the present invention is shown.

[0051] Icons: 100 - imaging device; 110 - bus; 120 - processor; 130 - memory; 150 - I / O module; 300 - device for determining the filament preheating time of the X-ray tube; 310 - exposure module; 330 - sampling module; 350 - adjustment module. DETAILED DESCRIPTION

[0052] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0053] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0054] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0055] See also Figure 1 , is a block diagram of an imaging device provided by an embodiment of the present invention. The imaging device 100 includes a bus 110 , a processor 120 , a memory 130 and an I / O module 150 .

[0056] The bus 110 is a circuit that connects the above elements to each other and transmits signals between the above elements.

[0057] The processor 120 can receive commands from the above-mentioned other elements (such as the memory 130, the I / O module 150, etc.) through the bus 110, can interpret the received commands, and can perform calculations or data processing according to the interpreted commands. The processor 120 can be an integrated circuit chip with signal processing capabilities. The processor 120 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0058] The memory 130 may store commands or data received from the processor 120 or other elements (such as the I / O module 150, etc.) or commands or data generated by the processor 120 or other elements. The memory 130 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), or an electrically erasable programmable read-only memory (EEPROM).

[0059] The I / O module 150 may receive commands or data input from a user via input-output means (e.g., a sensor, a keyboard, a touch screen, etc.), and may transmit the received commands or data to the processor 120 or the memory 130 via the bus 110. It is also used to display various information (e.g., multimedia data, text data) received, stored, and processed from the above elements, and may display videos, images, data, etc. to the user.

[0060] Understandably, Figure 1 The structure shown is only a schematic diagram of the structure of the imaging device 100. The imaging device 100 may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0061] The above-mentioned imaging device 100 will be used as an execution subject to execute each step in each method provided in the embodiment of the present invention and achieve corresponding technical effects.

[0062] See also Figure 2 , is a flow chart of a method for determining the filament preheating time of an X-ray tube provided in an embodiment of the present invention.

[0063] Step S202, preheating the filament of the X-ray tube according to the current preheating time and then performing exposure.

[0064] Step S204: During the exposure process, the tube current of the X-ray tube is collected according to the set sampling frequency to obtain a tube current sample set.

[0065] In this embodiment, after the X-ray ball is installed in the handheld X-ray machine, the filament preheating time of the handheld X-ray machine can be debugged. That is, the handheld X-ray machine is used to preheat the filament of the X-ray tube according to the current preheating time, and the exposure operation is performed after the preheating is completed. Then, during the exposure process, the tube current of the X-ray tube is collected according to the set sampling frequency to obtain the current tube current sample set.

[0066] It is understandable that the reference preheating time provided by the manufacturer can be used for the first time to preheat the filament of the X-ray tube, so that the reference preheating time can be used as a benchmark to adjust the preheating time. In addition, in order to ensure that a stable tube current sample can be collected, it is possible to wait for a period of time after applying high voltage to the tube anode so that the output of the hardware circuit reaches a stable state before starting sampling. For example, the tube current can be sampled during the startup phase after high voltage is applied to the tube anode. At the same time, in order to ensure that a sufficient number of samples can be collected, it is also necessary to set a suitable sampling frequency, and the number of samples sampled is not less than 2000. It should be understood that the data given above are only examples and can also be set according to actual conditions. The embodiments of the present invention are not limited to this.

[0067] Step S206, calculating a current deviation value according to the current tube current sample set and a preset target tube current; the current deviation value indicates the degree of deviation between the current tube current sample set and the target tube current.

[0068] In this embodiment, the preset target tube current refers to the expected value of the tube current. Then, the collected tube current sample set can be compared with the target tube current to evaluate the tube current sample set, so as to calculate a value representing the degree of deviation between the tube current sample set and the target tube current, that is, to obtain the current deviation value.

[0069] Step S208, if the current deviation value is greater than or equal to the preset deviation threshold, the next preheating time is adjusted based on the current deviation value, and the next preheating time is used as the new current preheating time, and then step S202 is re-executed.

[0070] Step S210: If the current deviation value is less than the deviation threshold, the current preheating time is used as the filament preheating time matching the X-ray tube.

[0071] In this embodiment, a deviation threshold may be preset, and the current deviation value may be compared with the deviation threshold to determine whether the degree of deviation between the current tube current sample set and the target tube current is within an acceptable deviation range. If the current deviation value is less than the deviation threshold, it means that the degree of deviation between the current tube current sample set collected and the expected tube current is small, that is, within the acceptable deviation range. Then the current preheating time is used as the filament preheating time matching the X-ray tube, that is, the accurate filament preheating time of the X-ray tube is obtained.

[0072] If the deviation value is greater than or equal to the deviation threshold, it means that the deviation between the tube current sample set collected this time and the expected tube current is large, that is, it is not within the acceptable deviation range. Then the preheating time is adjusted based on the deviation value to obtain the next preheating time. And after the next preheating time is used as the new preheating time, the process of preheating, exposure, sample collection and deviation value calculation is performed again, and this cycle is repeated until the calculated deviation value is less than the deviation threshold, and the filament preheating time matching the X-ray tube is obtained, that is, the accurate filament preheating time of the X-ray tube is obtained.

[0073] It is understandable that before each handheld X-ray machine leaves the factory, the preheating time of the filament of its X-ray tube will be debugged, and the accurate filament preheating time obtained after debugging will be used as the filament preheating time of the X-ray tube in the handheld X-ray machine. That is, after the handheld X-ray machine leaves the factory, the filament preheating time will always be used to preheat the filament. This ensures that each handheld X-ray machine can meet the imaging quality requirements.

[0074] It can be seen that based on the above steps, the filament of the X-ray tube is preheated according to the current preheating time and then exposed; and during the exposure process, the tube current of the X-ray tube is collected according to the set sampling frequency to obtain the current tube current sample set; then the current deviation value is calculated according to the current tube current sample set and the preset target tube current, and the current deviation value indicates the degree of deviation between the current tube current sample set and the target tube current; if the current deviation value is greater than or equal to the preset deviation threshold, the next preheating time is adjusted based on the current deviation value, and the next preheating time is used as the new current preheating time, and the process of preheating, exposure, sample collection and deviation value calculation is re-executed; if the current deviation value is less than the deviation threshold, the current preheating time is used as the filament preheating time matching the X-ray tube. By automatically adjusting the preheating time of the X-ray tube, the accurate filament preheating time is obtained to perform filament preheating and exposure. Thereby reducing the debugging time, improving the adjustment efficiency, and effectively avoiding the phenomenon of tube current depression or peak, improving the imaging quality, and at the same time extending the service life of the X-ray tube, improving the durability of the imaging equipment.

[0075] Optionally, for step S206, the present invention provides a possible implementation method, see Figure 3 .

[0076] Step S206 - 1 , calculating the absolute difference between the target tube current and each tube current sample in the current tube current sample set.

[0077] Step S206 - 3 , calculating an average value according to the absolute differences corresponding to all tube current samples to obtain a tube current sample deviation mean value.

[0078] Step S206 - 5 , calculating the variance according to each tube current sample and the tube current sample deviation mean to obtain the current deviation value.

[0079] In this embodiment, the degree of deviation between the current tube current sample set and the target tube current can be comprehensively evaluated based on the deviation between each tube current sample in the current tube current sample set and the target tube current. That is, the absolute difference between the target tube current and each tube current sample in the current tube current sample set can be calculated first; then the average value is calculated based on the absolute deviation values ​​corresponding to all tube current samples to obtain the mean value of tube current sample deviation; then the variance is calculated based on each tube current sample and the mean value of tube current sample deviation to obtain the current deviation value. And the method of calculating the current deviation value can be expressed by the formula, namely:

[0080] d bi =|d tar -d i |;

[0081]

[0082] Among them, d bi represents the absolute difference corresponding to the i-th tube current sample in this tube current sample set, d tar represents the target tube current, d i represents the i-th tube current sample in this tube current sample set, d av It represents the mean value of the tube current sample deviation, Var represents the deviation value this time, and n represents the total number of tube current samples in this tube current sample set.

[0083] It can be understood that the embodiment of the present invention converts the deviation values ​​of multiple tube current samples and the target tube current into a single variable by calculating the deviation value, thereby simplifying the operation and improving the processing efficiency. In addition, the above method obtains the deviation value by calculating the variance. In practical applications, other statistics such as standard deviation can also be used as the deviation value, that is, the standard deviation can be calculated according to each tube current sample and the mean value of the tube current sample deviation to obtain the current deviation value. In addition, the size of the deviation value can reflect the distribution of the tube current sample relative to the target tube current; if the deviation value is small, it means that the tube current samples are concentrated near the target tube current; if the deviation value is large, it means that the tube current samples are dispersed around the target tube current.

[0084] Optionally, for the process of adjusting the next preheating time based on the current deviation value in step S208, the embodiment of the present invention provides a possible implementation method, see Figure 4 .

[0085] Step S208-1, determining an adjustment symbol according to the current tube current sample set, and obtaining a current deviation parameter consisting of the adjustment symbol and the current deviation value; the adjustment symbol indicates the direction of adjusting the preheating time.

[0086] Step S208-3: Determine the proportional adjustment parameter and the integral adjustment parameter based on the current deviation parameter.

[0087] Step S208-5, adjusting the reference preheating time of the X-ray tube according to the proportional adjustment parameter and the integral adjustment parameter to obtain the next preheating time.

[0088] It is understandable that since the deviation value is obtained by calculating the variance, the deviation value can reflect the degree of deviation, but cannot reflect whether the tube current samples in this tube current sample are generally higher than the target tube current or generally lower than the target tube current, that is, it is impossible to determine the direction of adjusting the preheating time.

[0089] Therefore, the embodiment of the present invention will also determine the sign for indicating the adjustment direction of the preheating time according to the current tube current sample set, that is, obtain the adjustment sign, and combine the adjustment sign with the current deviation value to obtain the current deviation parameter. Then, the PID (Proportional, Integral, Derivative) control idea is used to determine the proportional adjustment parameter and the integral adjustment parameter based on the current deviation parameter. Then, according to the proportional adjustment parameter and the integral adjustment parameter, the reference preheating time of the X-ray tube is adjusted to obtain the next preheating time.

[0090] Optionally, for step S208-1, an embodiment of the present invention provides a possible implementation method.

[0091] Step S208-1-1, calculating the difference between the target tube current and each tube current sample in the current tube current sample set, and adding the differences corresponding to all tube current samples to obtain the tube current sample deviation sum.

[0092] In this embodiment, the difference between the target tube current and each tube current sample in the current tube current sample set can be calculated, and the differences corresponding to all tube current samples are added together to obtain the tube current sample deviation sum. And the method of calculating the tube current sample deviation sum can be expressed by a formula, namely:

[0093]

[0094] Among them, d sum represents the tube current sample deviation and, d tar represents the target tube current, d i represents the i-th tube current sample in this tube current sample set, and n represents the total number of tube current samples in this tube current sample set.

[0095] Then, the obtained absolute value of the tube current sample deviation is compared with the preset deviation and threshold; if the comparison result is that the absolute value of the tube current sample deviation is less than the deviation and threshold, step S208-1-3 is executed; if the comparison result is that the absolute value of the tube current sample deviation is greater than or equal to the deviation and threshold, step S208-1-5 is executed.

[0096] It can be understood that the absolute value of the tube current sample deviation sum is an overall quantitative index obtained by accumulating the deviations of all tube current samples in the current tube current sample set, which can reflect the stability of all tube current samples in the current tube current sample set. Then, the absolute value of the tube current sample deviation sum can be compared with the preset deviation and threshold to evaluate the overall deviation degree between the current tube current sample set and the target tube current.

[0097] Step S208-1-3, when the absolute value of the sum of the tube current sample deviations is less than the preset deviation and threshold, if the maximum tube current sample in the current tube current sample set is greater than or equal to the target tube current, a negative sign is used as an adjustment sign, or if the maximum tube current sample is less than the target tube current, a positive sign is used as an adjustment sign.

[0098] In this embodiment, if the absolute value of the sum of the tube current sample deviations is less than the preset deviation and threshold, it means that the overall deviation between the current tube current sample set and the target tube current is small. Then the maximum tube current sample in the current tube current sample set can be compared with the target tube current to determine the adjustment sign and obtain the direction of adjusting the preheating time.

[0099] If the maximum tube current sample is greater than or equal to the target tube current, it means that during the exposure process, the actual tube current has exceeded or reached the expected tube current. This may be due to the preheating time being too long, causing the filament to overheat, so that too many electrons are generated during exposure, causing the actual tube current to exceed the expected tube current. Then the preheating time needs to be reduced next time to reduce the number of electrons, so the minus sign indicating the downward adjustment of the preheating time is used as the adjustment symbol.

[0100] If the maximum tube current sample is less than the target tube current, it means that during the exposure process, the actual tube current has never reached the expected tube current. This may be due to insufficient preheating time, resulting in the filament not reaching a sufficient temperature, so that the number of electrons generated during exposure is small, making the actual tube current unable to reach the expected tube current, then the next time you need to increase preheating to increase the number of electrons, so the positive sign indicating an increase in preheating time is used as the adjustment symbol.

[0101] It can be understood that the above method of determining the adjustment symbol and combining the current deviation value to obtain the current deviation parameter can be expressed by a formula:

[0102]

[0103] Among them, Var(t) represents the deviation parameter, Var represents the deviation value, |d sum | represents the absolute value of the tube current sample deviation and d th Indicates the preset deviation and threshold, d max Indicates the maximum tube current sample in this tube current sample set, d tar Indicates the target tube current.

[0104] Step S208-1-5, when the absolute value of the tube current sample deviation sum is greater than or equal to the deviation sum threshold, if the tube current sample deviation sum is greater than or equal to zero, a positive sign is used as an adjustment sign, or if the tube current sample deviation sum is less than zero, a negative sign is used as an adjustment sign.

[0105] Among them, when the adjustment symbol is a positive sign, it means to increase the preheating time, and when the adjustment symbol is a negative sign, it means to decrease the preheating time.

[0106] In this embodiment, if the absolute value of the tube current sample deviation sum is greater than or equal to the preset deviation sum threshold, it means that the overall deviation between the current tube current sample set and the target tube current is large. Then, the adjustment sign can be determined according to the actual value of the tube current sample deviation sum to obtain the direction of adjusting the preheating time.

[0107] If the sum of the tube current sample deviations is greater than or equal to zero, it is considered that the tube current samples in this tube current sample set are generally lower than the target tube current. This may be due to insufficient preheating time, resulting in the filament not reaching a sufficient temperature, so that the number of electrons generated during exposure is small, making the actual tube current generally lower than the expected tube current, then the next time you need to increase preheating to increase the number of electrons, so the positive sign indicating an increase in preheating time is used as the adjustment symbol.

[0108] If the sum of the tube current sample deviations is less than zero, it is considered that the tube current samples in this tube current sample set are generally higher than the target tube current. This may be due to the preheating time being too long, causing the filament to overheat, so that too many electrons are generated during exposure, making the actual tube current generally higher than the expected tube current. Then the preheating time needs to be reduced next time to reduce the number of electrons, so the minus sign indicating the downward adjustment of the preheating time is used as the adjustment symbol.

[0109] It can be understood that the above method of determining the adjustment symbol and combining the current deviation value to obtain the current deviation parameter can be expressed by a formula:

[0110]

[0111] Among them, Var(t) represents the deviation parameter, Var represents the deviation value, d sum represents the tube current sample deviation and |d sum | represents the absolute value of the tube current sample deviation and d th Indicates the preset deviation and threshold.

[0112] Optionally, for step S208-3, an embodiment of the present invention provides a possible implementation method.

[0113] Step S208-3-1, calculate the difference between the current deviation parameter and the previous deviation parameter, and calculate the product of the difference and a preset proportional coefficient to obtain a proportional adjustment parameter.

[0114] Step S208-3-3, calculate the product of the preset integral coefficient and the current deviation parameter to obtain the integral adjustment parameter.

[0115] In this embodiment, the difference between the current deviation parameter and the previous deviation parameter can be calculated, and the product of the difference and the preset proportional coefficient can be calculated to obtain the proportional adjustment parameter. And the method of calculating the proportional adjustment parameter can be expressed by a formula, that is:

[0116] P=K p ×[Var(t)-Var(t-1)];

[0117] Among them, P represents the proportional adjustment parameter, K p Represents the preset proportional coefficient, Var(t) represents the current deviation parameter, and Var(t-1) represents the last deviation parameter.

[0118] Then, the product of the preset integral coefficient and the deviation parameter is calculated to obtain the integral adjustment parameter. And the method of calculating the integral adjustment parameter can be expressed by a formula, namely:

[0119] I=K i ×Var(t);

[0120] Among them, I represents the integral adjustment parameter, K i Represents the preset integral coefficient, and Var(t) represents the deviation parameter of this time.

[0121] Optionally, for step S208-5, an embodiment of the present invention provides a possible implementation method.

[0122] Step S208-5-1, add the last time adjustment parameter, the proportional adjustment parameter and the integral adjustment parameter to obtain the current time adjustment parameter.

[0123] Step S208-5-3, add the reference preheating time of the X-ray tube to the current time adjustment parameter to obtain the next preheating time.

[0124] In this embodiment, based on the obtained proportional adjustment parameter and integral adjustment parameter, they can be added to the last time adjustment parameter to obtain the current time adjustment parameter. Then the reference preheating time of the X-ray tube is added to the current time adjustment parameter to obtain the next preheating time. And the way to calculate the next preheating time can be expressed by a formula, namely:

[0125] T(t) = T(t-1) + P + I;

[0126] T = T0 + T(t);

[0127] Among them, T(t) represents the current time adjustment parameter, T(t-1) represents the previous time adjustment parameter, P represents the proportional adjustment parameter, I represents the integral adjustment parameter, T0 represents the reference preheating time, and T represents the next preheating time.

[0128] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing a device for determining the filament preheating time of an X-ray tube is provided below. Figure 5 , is a functional module diagram of the filament preheating time determining device for an X-ray tube provided in an embodiment of the present invention. It should be noted that the basic principle and technical effects of the filament preheating time determining device 300 for an X-ray tube provided in this embodiment are the same as those of the above-mentioned embodiments. For the sake of brief description, for matters not mentioned in this embodiment, reference may be made to the corresponding contents in the above-mentioned embodiments. The filament preheating time determining device 300 for an X-ray tube includes:

[0129] The exposure module 310 is used to preheat the filament of the X-ray tube according to the current preheating time and then perform exposure.

[0130] The sampling module 330 is used to collect the tube current of the X-ray tube according to the set sampling frequency during the exposure process to obtain the tube current sample set.

[0131] The adjustment module 350 is used to calculate the current deviation value according to the current tube current sample set and the preset target tube current; the current deviation value indicates the degree of deviation between the current tube current sample set and the target tube current; if the current deviation value is greater than or equal to the preset deviation threshold, the next preheating time is adjusted based on the current deviation value, and the next preheating time is used as the new current preheating time, and the filament of the X-ray tube is preheated according to the current preheating time again before exposure; if the current deviation value is less than the deviation threshold, the current preheating time is used as the filament preheating time matching the X-ray tube.

[0132] Optionally, the adjustment module 350 is further used to: calculate the absolute difference between the target tube current and each tube current sample in the current tube current sample set; calculate the average value according to the absolute differences corresponding to all tube current samples to obtain the tube current sample deviation mean; calculate the variance according to each tube current sample and the tube current sample deviation mean to obtain the current deviation value.

[0133] Optionally, the adjustment module 350 is also used to: determine the adjustment symbol according to the current tube current sample set, and obtain the current deviation parameter composed of the adjustment symbol and the current deviation value; the adjustment symbol indicates the direction of adjusting the preheating time; based on the current deviation parameter, determine the proportional adjustment parameter and the integral adjustment parameter; according to the proportional adjustment parameter and the integral adjustment parameter, adjust the reference preheating time of the X-ray tube to obtain the next preheating time.

[0134] Optionally, the adjustment module 350 is further used to: calculate the difference between the target tube current and each tube current sample in the current tube current sample set, and add the differences corresponding to all the tube current samples to obtain the tube current sample deviation sum; when the absolute value of the tube current sample deviation sum is less than a preset deviation sum threshold, if the maximum tube current sample in the current tube current sample set is greater than or equal to the target tube current, then a negative sign is used as an adjustment symbol, or if the maximum tube current sample is less than the target tube current, then a positive sign is used as an adjustment symbol; when the absolute value of the tube current sample deviation sum is greater than or equal to the deviation sum threshold, if the tube current sample deviation sum is greater than or equal to zero, then a positive sign is used as an adjustment symbol, or if the tube current sample deviation sum is less than zero, then a negative sign is used as an adjustment symbol; wherein, when the adjustment symbol is a positive sign, it indicates that the preheating time is adjusted upward, and when the adjustment symbol is a negative sign, it indicates that the preheating time is adjusted downward.

[0135] Optionally, the adjustment module 350 is also used to: calculate the difference between the current deviation parameter and the previous deviation parameter, and calculate the product of the difference and a preset proportional coefficient to obtain a proportional adjustment parameter; calculate the product of a preset integral coefficient and the current deviation parameter to obtain an integral adjustment parameter.

[0136] Optionally, the adjustment module 350 is further used to: add the last time adjustment parameter, the proportional adjustment parameter and the integral adjustment parameter to obtain the current time adjustment parameter; add the reference preheating time of the X-ray tube to the current time adjustment parameter to obtain the next preheating time.

[0137] An embodiment of the present invention further provides an imaging device, including a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the method for determining the filament preheating time of the X-ray tube disclosed in the embodiment of the present invention is implemented.

[0138] The embodiment of the present invention further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for determining the filament preheating time of an X-ray tube disclosed in the embodiment of the present invention is implemented.

[0139] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0140] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0141] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0142] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for determining the filament preheating time of an X-ray tube, characterized in that: Applied to an imaging device, the imaging device is equipped with an X-ray tube, the method comprises: Preheating the filament of the X-ray tube according to the preheating time and then performing exposure; During the exposure process, the tube current of the X-ray tube is collected according to a set sampling frequency to obtain a tube current sample set; Calculating a current deviation value according to the current tube current sample set and a preset target tube current; the current deviation value indicates a degree of deviation between the current tube current sample set and the target tube current; If the current deviation value is greater than or equal to a preset deviation threshold, adjusting the next preheating time based on the current deviation value, and taking the next preheating time as the new current preheating time, re-performing the step of preheating the filament of the X-ray tube according to the current preheating time and then exposing; If the current deviation value is less than the deviation threshold, the current preheating time is used as the filament preheating time matching the X-ray tube.

2. The method according to claim 1, characterized in that The step of calculating the current deviation value according to the current tube current sample set and the preset target tube current includes: Calculating the absolute difference between the target tube current and each tube current sample in the current tube current sample set; The average value is calculated according to the absolute difference values ​​corresponding to all tube current samples to obtain the tube current sample deviation mean; The variance is calculated according to each tube current sample and the tube current sample deviation mean to obtain the current deviation value.

3. The method according to claim 1, characterized in that The step of adjusting based on the current deviation value to obtain the next preheating time includes: Determine an adjustment symbol according to the current tube current sample set, and obtain a current deviation parameter composed of the adjustment symbol and the current deviation value; the adjustment symbol indicates a direction of adjusting the preheating time; Based on the current deviation parameter, determining a proportional adjustment parameter and an integral adjustment parameter; According to the proportional adjustment parameter and the integral adjustment parameter, the reference preheating time of the X-ray tube is adjusted to obtain the next preheating time.

4. The method according to claim 3, characterized in that The step of determining the adjustment sign according to the current tube current sample set includes: Calculating the difference between the target tube current and each tube current sample in the current tube current sample set, and adding the differences corresponding to all tube current samples to obtain a tube current sample deviation sum; In the case where the absolute value of the tube current sample deviation is less than the preset deviation and threshold, if the maximum tube current sample in the current tube current sample set is greater than or equal to the target tube current, a negative sign is used as the adjustment symbol, or if the maximum tube current sample is less than the target tube current, a positive sign is used as the adjustment symbol; In the case where the absolute value of the tube current sample deviation sum is greater than or equal to the deviation sum threshold, if the tube current sample deviation sum is greater than or equal to zero, a positive sign is used as the adjustment sign, or if the tube current sample deviation sum is less than zero, a negative sign is used as the adjustment sign; When the adjustment symbol is a positive sign, it indicates that the preheating time is increased, and when the adjustment symbol is a negative sign, it indicates that the preheating time is decreased.

5. The method according to claim 3, characterized in that: The step of determining the proportional adjustment parameter and the integral adjustment parameter based on the current deviation parameter includes: Calculating the difference between the current deviation parameter and the previous deviation parameter, and calculating the product of the difference and a preset proportionality coefficient to obtain the proportional adjustment parameter; The product of a preset integral coefficient and the current deviation parameter is calculated to obtain the integral adjustment parameter.

6. The method according to claim 3, characterized in that The step of adjusting the reference preheating time of the X-ray tube according to the proportional adjustment parameter and the integral adjustment parameter to obtain the next preheating time comprises: Add the last time adjustment parameter, the proportional adjustment parameter and the integral adjustment parameter to obtain the current time adjustment parameter; The reference preheating time of the X-ray tube is added to the current time adjustment parameter to obtain the next preheating time.

7. A device for determining the filament preheating time of an X-ray tube, characterized in that: Applied to an imaging device, the imaging device is equipped with an X-ray tube, and the device comprises: An exposure module, used for preheating the filament of the X-ray tube according to the current preheating time and then performing exposure; A sampling module is used to collect the tube current of the X-ray tube according to a set sampling frequency during the exposure process to obtain a tube current sample set; an adjusting module, configured to calculate a current deviation value according to the current tube current sample set and a preset target tube current; the current deviation value indicates a degree of deviation between the current tube current sample set and the target tube current; If the current deviation value is greater than or equal to a preset deviation threshold, adjusting the next preheating time based on the current deviation value, and taking the next preheating time as the new current preheating time, re-executing the process of preheating the filament of the X-ray tube according to the current preheating time and then performing exposure; If the current deviation value is less than the deviation threshold, the current preheating time is used as the filament preheating time matching the X-ray tube.

8. The device according to claim 7, characterized in that The adjustment module is also used for: Calculating the absolute difference between the target tube current and each tube current sample in the current tube current sample set; The average value is calculated according to the absolute difference values ​​corresponding to all tube current samples to obtain the tube current sample deviation mean; The variance is calculated according to each tube current sample and the tube current sample deviation mean to obtain the current deviation value.

9. An imaging device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the method for determining the filament preheating time of an X-ray tube according to any one of claims 1 to 6 is implemented.

10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the method for determining the filament preheating time of an X-ray tube according to any one of claims 1 to 6.