Micro-focus radiation source dose calculation method and device and related equipment of micro-focus radiation source dose calculation method and device
By calculating the dose of microfocus radiation sources, filtering abnormal data using preset rules and performing fitting calculations, the misjudgment problems caused by artificial qualitative analysis in the prior art are solved, and the accurate detection of dose volatility and change rate is achieved, ensuring the accuracy and efficiency of factory detection of radiation sources.
Patent Information
- Application Number
- CN202510473907.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-08-26
AI Technical Summary
The existing dose volatility detection methods for microfocus radiation sources mainly rely on human qualitative analysis, and are influenced by subjective factors, resulting in misjudgment and misjudgment, and it is impossible to accurately determine whether the radiation source meets factory standards.
The microfocus ray source dose calculation method is used to obtain the original data by determining the gear position, filter abnormal data using preset rules, fit the data using window movement and block movement methods, calculate the dose volatility and change rate, and compare it with the preset standard threshold to output the results.
Accurate calculation of dose volatility and change rate is achieved, labor costs are reduced, calculation efficiency and reliability of results are improved, and factory inspection accuracy of the radiation source is ensured.
Smart Images

Figure CN120539770A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of micro-focus ray sources, and in particular to a method and device for calculating the dose of a micro-focus ray source and related equipment. Background Art
[0002] The radiation dose rate of a microfocus X-ray source needs to be verified during factory testing. Different radiation sources may exhibit different radiation fluctuation rates due to factors such as the tube core and colloid. Therefore, each radiation source needs to undergo a dose rate test. A dose rate calculation host computer is developed to quantitatively determine whether the radiation source dose fluctuation rate meets the factory standards.
[0003] The dose rate of radiation source products will be tested before leaving the factory to ensure that the equipment can normally emit stable and usable X-rays to meet customer needs. The host computer for calculating the dose fluctuation rate of microfocus radiation sources uses C# as the development language and can be used for dose rate fluctuation calculations of 90kV, 140kV and other microfocus devices.
[0004] The current method for detecting dose fluctuation rate generally uses IBA dosimeter to collect dose curve and manually analyze its fluctuation rate qualitatively, such as Figure 1 shown.
[0005] The disadvantage of the existing technology is qualitative detection. In the previous detection process, the results were analyzed qualitatively manually. Since the dose fluctuation diagram collected by the dosimeter cannot clearly and accurately display the fluctuation, there will be a large influence of subjective factors when making human judgments, which may lead to misjudgment or misjudgment of the final results. Summary of the Invention
[0006] The purpose of the present invention is to address the above-mentioned problems in the existing technology and propose a micro-focus radiation source dose calculation method, device and related equipment, which realizes the accurate calculation of judgment basis such as dose fluctuation rate and maximum dose change rate while reducing labor input costs.
[0007] The purpose of the present invention can be achieved through the following technical solutions: A method for calculating the dose of a microfocus radiation source comprises the following steps: Determine at least one gear and obtain raw data corresponding to the gear, wherein the raw data includes dosage data that is at least greater than the number of sampling samples; Processing the original data based on preset rules to obtain a plurality of first fitting data and a plurality of second fitting data; Calculating an average dose value, a dose fluctuation rate, and a dose change rate based on the first fitting data and the second fitting data respectively; According to the preset standard threshold, determine whether the average dose value, dose fluctuation rate and dose change rate are qualified, and output the result.
[0008] In the above-mentioned micro-focus radiation source dose calculation method, determining at least one gear position and obtaining raw data corresponding to the gear position includes: Determining a model of a microfocus device, each microfocus device including a plurality of gears; Set the number of sampling samples; Based on the tube voltage data generated by the actual microfocus device, the corresponding gear is selected and the raw data of the corresponding gear is obtained.
[0009] In the above-mentioned micro-focus radiation source dose calculation method, the preset rules include: setting a pre-filtered data value, a post-filtered data value, and an abnormal data filtering threshold; The pre-filtered data value is used to filter the dose data in the ramp-up phase; The post-data filter value is used to filter the dose data in the descending phase; The abnormal data filtering threshold is used to filter dosage data that is greater than twice the normal data value; Among them, the pre-filtered data value and post-filtered data value for eliminating the data points in the climbing and descending stages, and the abnormal data filtering threshold for determining abnormal data can be pre-configured or dynamically adjusted according to different models of microfocus ray sources.
[0010] In the above-mentioned micro-focus radiation source dose calculation method, the original data is processed to obtain the first fitting data and the second fitting data, including: Filtering a predetermined amount of dose data from the initial data segment of the original data according to a pre-filtered data value to obtain a first data set, wherein the pre-filtered data value at least includes all dose data in the ramp-up phase; Based on the first data set, filtering out a predetermined amount of dose data from the tail data segment of the first data set according to a post-data filter value to obtain a second data set; wherein the post-data filter value at least includes all dose data in a descending phase; Based on the second data set, filtering out abnormal dosage data from the second data set according to an abnormal data filtering threshold to obtain a third data set; The third data set is processed in a window moving manner to obtain a plurality of first fitting data, and the third data set is processed in a block moving manner to obtain a plurality of second fitting data.
[0011] In the above-mentioned micro-focus radiation source dose calculation method, the third data set is processed in a window moving manner to obtain a plurality of first fitting data, and the third data set is processed in a block moving manner to obtain a plurality of second fitting data; including: A plurality of first fitting data are generated by averaging the data of the third data set using a predetermined first window length and sliding point by point; averaging the data segments of the third data set with a predetermined second window length to generate second fitting data, wherein the second window length is greater than the first window length; The first window length and the second window length can be pre-configured or adjusted according to different models of micro-focus ray sources.
[0012] In the above-mentioned micro-focus radiation source dose calculation method, the dose change rate is calculated as: identifying continuous intervals in the second fitting data where the dose value increases or decreases over time, and calculating, for each of the continuous intervals, a ratio of the difference between the maximum and minimum dose values in the interval to the average dose value in the interval, Determine the duration of the interval; Calculating the dose change rate of each continuous interval according to the ratio and the time length; The dose fluctuation rate is calculated as: The maximum value and the minimum value in each first fitting data are identified, and the dose fluctuation rate is calculated based on the ratio of the difference between the maximum value and the minimum value in the first fitting data to the average dose value of the interval.
[0013] In the above-mentioned micro-focus radiation source dose calculation method, the preset standard thresholds include: average dose threshold, fluctuation upper limit threshold, and maximum dose change rate; Among them, the average dose threshold, the fluctuation upper limit threshold, and the maximum dose change rate can be pre-configured or adjusted according to different models of microfocus radiation sources.
[0014] The present invention provides a device for calculating a dose of a micro-focus radiation source, comprising: Acquisition module: determining at least one gear and acquiring raw data corresponding to the gear, wherein the raw data includes dosage data at least greater than the number of sampling samples; Processing module: processes the original data based on preset rules to obtain a plurality of first fitting data and a plurality of second fitting data; Calculation module: calculates the average dose value, dose fluctuation rate and dose change rate respectively according to the first fitting data and the second fitting data; Judgment module: judges whether the average dose value, dose fluctuation rate and dose change rate are qualified according to the preset standard threshold value, and outputs the result.
[0015] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described above is implemented.
[0016] A computer-readable medium stores a computer program thereon, wherein when the program is executed by a processor, the method as described in any of the preceding items is implemented.
[0017] Compared with the prior art, this application has the following advantages: This application is compatible with calculations for multiple dose levels, providing accurate and efficient calculations of dose rate fluctuations. We quantitatively analyze dose data, achieving precise calculations of dose fluctuation rates, dose change rates, and other criteria while reducing manual effort. We employ window shifting and block shifting to fit two different calculation mechanisms, maximizing calculation speed while ensuring accurate and reliable results for different calculation requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a dose curve diagram collected by an IBA dose meter in the prior art. In the figure, a is a normal fluctuation image, b is a small fluctuation image, and c is an abnormal fluctuation image. Figure 2 This is a flow chart of a method for calculating the dose of a microfocus radiation source in this application; Figure 3 This is a schematic diagram of the gear selection of the micro focus device in this application; Figure 4 is a logic diagram of the software implementation in this application; Figure 5 It is a state diagram during use in this application; Figure 6 This is a schematic diagram comparing the present application with the prior art, with the prior art solution on the left and the present application solution on the right. DETAILED DESCRIPTION
[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0020] like Figure 2 As shown, a method for calculating the dose of a microfocus radiation source includes the following steps: S100, determining at least one gear and obtaining raw data corresponding to the gear, the raw data including dosage data at least greater than the number of sampling samples; In the control panel or control system of the microfocus X-ray source device, multiple working conditions are pre-configured, for example: different tube voltages, such as 50 kV, 70 kV, 90 kV, 100 kV, 110 kV, 120 kV, 130 kV, 140 kV..., and one or more gears to be tested are selected according to the test requirements or equipment standards. Through the control system or software instructions, the microfocus X-ray source is made to continuously emit X-rays according to the selected gear, and a matching dose measurement device is used to continuously collect real-time doses. These real-time doses are used as raw data, and the raw data is imported into the corresponding gear.
[0021] S200, processing the original data based on a preset rule to obtain a plurality of first fitting data and a plurality of second fitting data; Using preset rules, some unreasonable data is eliminated, and then the remaining data is processed, resulting in a number of first fitting data and a number of second fitting data. The specific preset rules are as follows: The preset rules include setting a pre-filter data value, a post-filter data value, and an abnormal data filtering threshold; the pre-filter data value is used to filter the dose data during the climbing phase; the post-filter data value is used to filter the dose data during the descent phase; and the abnormal data filtering threshold is used to filter dose data that is greater than twice the normal data value. The pre-filter data value and post-filter data value used to eliminate data points during the climbing and descent phases, as well as the abnormal data filtering threshold used to determine abnormal data, can be pre-configured or dynamically adjusted based on different models of microfocus radiation sources. Normal data values are compared sequentially; if two adjacent data points are close, they are considered normal data values. If one of the two adjacent data points is greater than twice the other, it is determined that abnormal data has occurred, and the latter abnormal data point is eliminated.
[0022] For example, in the present application, in the 90kV microfocus device, the number of pre-filtered data values is set to the first 50,000 data, and the post-data filtering value is set to the last 10,000 data. These two data are obtained from a large number of actual verifications. During the verification process, the first 40,000 data are obviously in the climbing stage (that is, the process of gradually loading to the set value) and the data is not stable, so a margin of 10,000 is left to obtain the first 50,000 data. The last 5,000 data are also in the descending stage (that is, the dose attenuation process after stopping work), so the last 10,000 data are discarded.
[0023] Then there are abnormal data filtering thresholds to remove data that significantly deviates from the norm, such as values that are twice the normal value. This value was derived from actual verification and refers to scalar values, not counting positive and negative values. Under normal circumstances, such abnormally large values do not occur. This may occur due to external impact, humidity, internal vacuum fluctuations, power supply fluctuations, and other factors.
[0024] like Figure 5 In the example, we set the pre-filter data value to 50,000, the post-filter data value to 10,000, and the number of sample samples to 1,100,000.
[0025] During this processing step, if the original data is lower than the sampling sample quantity after being processed based on the preset rules, it will be returned and a sufficient amount of original data will need to be re-imported until the data meets the requirements.
[0026] S300, calculating the average dose value, the dose fluctuation rate, and the dose change rate based on the first fitting data and the second fitting data respectively; S400: Determine whether the average dose value, dose fluctuation rate, and dose change rate are qualified according to the preset standard threshold, and output the result.
[0027] This application is compatible with calculations for multiple dose levels, providing accurate and efficient calculations of dose rate fluctuations. We quantitatively analyze dose data, achieving precise calculations of dose fluctuation rates, dose change rates, and other criteria while reducing manual effort. We employ window shifting and block shifting to fit two different calculation mechanisms, maximizing calculation speed while ensuring accurate and reliable results for different calculation requirements.
[0028] The specific operation process of the software, such as Figure 3 and 4 As shown, open the software, click to import test data in the corresponding gear, and then click to calculate. This process can determine whether the data volume meets the minimum requirements, that is, set the number of sampling samples as the minimum standard. If not, it is required to re-enter the data. If it meets the requirements, it will be processed. After the data processing is completed, the average dose, dose fluctuation rate, and dose change rate are obtained, and then compared with the preset standard threshold to determine the result.
[0029] The disadvantage of the existing technology is qualitative detection. In the previous detection process, the results were analyzed qualitatively manually. Since the dose fluctuation diagram collected by the dosimeter cannot clearly and accurately display the fluctuation, there will be a large influence of subjective factors when making human judgments, which may lead to misjudgment or misjudgment of the final results.
[0030] as follows Figure 1 Figures a, b, and c show that it is easy to judge a as a qualified fluctuation image through human judgment, b cannot be accurately judged, and c is an unqualified fluctuation image. In b, it can be seen that the green line curve fluctuates but the fluctuation range is not large. When making judgments, subjective factors will affect the judgment of whether it is qualified or unqualified. After using software calculation, the result is 3.09% (see Figure 6), which is only 0.09% away from the qualified standard of 3%. If this is determined to be the qualified dose at this time, it may cause abnormal dose fluctuations during subsequent product use, resulting in unclear X-ray imaging and other problems.
[0031] like Figure 6 As shown, it can be clearly seen that the existing technology cannot clearly show whether the volatility is qualified, but it can be displayed in intuitive data itself, thereby obtaining an accurate data conclusion.
[0032] Specifically, determining at least one gear and obtaining raw data corresponding to the gear includes: Determining a model of a microfocus device, each microfocus device including a plurality of gears; like Figure 5 As shown, the microfocus device embodies two models: the Libra09 and the Orion14. The Libra09 is 90 kV, and the Orion14 is 140 kV. These two different microfocus device models have different maximum tube voltage and maximum power limits. Of course, this method can also be applied to microfocus devices with other maximum tube voltages, including but not limited to 90 kV and 140 kV.
[0033] Set the number of sampling samples; like Figure 5 As shown, in this application, the number of sampling samples is set to 1100000. The specific setting value can be set according to different models of microfocus devices. When the dose data in the original data is lower than 1100000, the original data is returned and it is required to re-import the original data.
[0034] Based on the tube voltage data generated by the actual microfocus device, the corresponding gear is selected and the raw data of the corresponding gear is obtained.
[0035] Specifically, the original data is processed to obtain the first fitting data and the second fitting data, including: filtering out a predetermined amount of dose data from the initial data segment of the original data according to the pre-filtered data value to obtain a first data set, wherein the pre-filtered data value at least includes all dose data in the ramp-up phase; Based on the first data set, filtering out a predetermined amount of dose data from the tail data segment of the first data set according to a post-data filter value to obtain a second data set; wherein the post-data filter value at least includes all dose data in a descending phase; Based on the second data set, filtering out abnormal dosage data from the second data set according to an abnormal data filtering threshold to obtain a third data set; The third data set is processed in a window moving manner to obtain a plurality of first fitting data, and the third data set is processed in a block moving manner to obtain a plurality of second fitting data.
[0036] Specifically, performing window moving processing on the third data set to obtain a plurality of first fitting data and performing block moving processing on the third data set to obtain a plurality of second fitting data; including: The third data set is averaged by using a predetermined first window length and sliding point by point to generate a plurality of first fitting data.
[0037] averaging the data segments of the third data set with a predetermined second window length to generate second fitting data, wherein the second window length is greater than the first window length; The first window length and the second window length can be pre-configured or adjusted according to different models of micro-focus ray sources.
[0038] For average dose values and dosing fluctuations, we require more accurate data, so we use a moving window (1-1000, 2-1001, 3-1002, etc.) and average fitting. When calculating the rate of change, we don't need very accurate data (because abnormal rates of change are often accompanied by significant fluctuations), so we use a general averaging method (1-5000, 5001-10000, etc.). To increase the calculation speed while ensuring that the results are not affected, we use different calculation mechanisms for different calculations.
[0039] In this application, the second window length corresponds to Figure 5 For example, in this application, if the value of the rate of change is set to 5000, the block movement setting is performed according to the window length of 5000. The first window length corresponds to Figure 5 Take the average of , then perform sliding window processing according to the window length of 1000.
[0040] Specifically, the dose change rate is calculated as: Identifying continuous intervals in the second fitting data where the dose value increases or decreases over time, and calculating, for each continuous interval, a ratio of the difference between the maximum and minimum dose values in the interval to the average dose value in the interval, Determine the duration of the interval; The dose change rate of each interval is calculated based on the ratio of each continuous interval and the time length; Dose fluctuation rate calculation: Volatility = (Max - Min) / Average; Max: Maximum value Min: Minimum value Average: Average value.
[0041] After calculating multiple dose fluctuation rates, they need to be compared with the upper limit of the fluctuation threshold in the preset standard threshold. If it is higher than the upper limit of the fluctuation threshold, the area will be displayed in red, and if it is lower, it will be displayed in green, such as Figure 5 shown.
[0042] Dose fluctuation rate calculation: The maximum value and the minimum value in each first fitting data are identified, and the dose fluctuation rate is calculated based on the ratio of the difference between the maximum value and the minimum value in the first fitting data to the average dose value of the interval.
[0043] Dose change rate calculation: Changed Rate = Volatility / Time; There are multiple change intervals for the rate of change (it may be increasing or decreasing, and calculations are performed separately for different intervals, without considering positive or negative values); Volatility: (maximum value within the interval - minimum value within the interval) / average value within the interval; Time: The time it takes for the interval to increase or decrease.
[0044] After calculating multiple dose change rates, they need to be compared with the maximum dose change rate in the preset standard threshold. If they meet the requirements, the result OK will be output, such as Figure 5 shown.
[0045] Specifically, the preset standard thresholds include: average dose threshold, fluctuation upper limit threshold, and maximum dose change rate; Among them, the average dose threshold, the fluctuation upper limit threshold, and the maximum dose change rate can be pre-configured or adjusted according to different models of microfocus radiation sources.
[0046] In this application, as shown in the figure, in the case of 90kV, the average dose threshold is set to 0.00-800 to determine whether the average measurement value is within the average dose threshold. If it is in the case of 140kV, the average dose threshold will be higher. The average dose threshold is also set according to the specific model.
[0047] For example, the upper threshold value of fluctuation is less than 3%. To determine whether the dose fluctuation rate is less than 3%, the remaining maximum dose change rates can also be set separately for different models, as long as they are within the reasonable range of the corresponding equipment.
[0048] The present invention provides a device for calculating a dose of a micro-focus radiation source, comprising: Acquisition module: determining at least one gear and acquiring raw data corresponding to the gear, wherein the raw data includes dosage data at least greater than the number of sampling samples; Processing module: processes the original data based on preset rules to obtain a plurality of first fitting data and a plurality of second fitting data; Calculation module: calculates the average dose value, dose fluctuation rate and dose change rate respectively according to the first fitting data and the second fitting data; Judgment module: judges whether the average dose value, dose fluctuation rate and dose change rate are qualified according to the preset standard threshold value, and outputs the result.
[0049] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above method is implemented.
[0050] A computer-readable medium stores a computer program thereon, wherein when the program is executed by a processor, any of the above methods is implemented.
[0051] As an optional implementation of the contents disclosed in the embodiments of the present application, the embodiments of the present application also provide a readable storage medium, which stores at least one set of instructions, and the at least one set of instructions is used to enable the processor to execute the method of constructing the method provided in any of the above embodiments.
[0052] The readable storage media of the embodiments of the present application include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be host-readable instructions, data structures, program modules or other data. Examples of host storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0053] The above describes multiple embodiment schemes provided by the embodiments of the present application. The various optional methods introduced in each embodiment scheme can be combined and cross-referenced with each other without conflict, thereby extending a variety of possible embodiment schemes, which can all be considered as embodiment schemes disclosed and open in the embodiments of the present application.
[0054] Although the embodiments of the present application are disclosed above, the present application is not limited thereto. Any person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims.
[0055] It should be noted that all directional indications in the embodiments of the present invention, such as up, down, left, right, front, back, etc., are only used to explain the relative position relationship and movement status between the components in a certain specific posture, as shown in the accompanying drawings. If the specific posture changes, the directional indication will also change accordingly.
[0056] In addition, the descriptions of "first", "second", etc. in the present invention are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. At the same time, the meaning of "and / or" appearing in the full text is to include three solutions. Taking "A and / or B" as an example, it includes solution A, or solution B, or a solution in which both A and B are satisfied. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0057] The above components are all common standard parts or components known to those skilled in the art, and their structures and principles can be known to those skilled in the art through technical manuals or conventional experimental methods.
[0058] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0059] The electronic device may be a computing device such as a desktop computer, notebook, PDA, or smart tablet. The electronic device may include, but is not limited to, a processor and memory. Those skilled in the art will appreciate that the aforementioned components are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those described above, or a combination of certain components, or different components. For example, the electronic device may also include input / output devices, network access devices, buses, and the like.
[0060] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor. The processor is the control center of the electronic device and connects various parts of the entire electronic device using various interfaces and lines.
[0061] The memory can be used to store the computer programs and / or modules. The processor implements the various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory and accessing the data stored in the memory. The memory may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function or an image playback function); the data storage area may store data generated based on the use of the mobile phone (such as audio data, a phone book, etc.). Furthermore, the memory may include high-speed random access memory and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0062] If the module / unit integrated into the electronic device is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the process steps in the above-mentioned method embodiments by using a computer program to instruct the relevant hardware. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium. It should be noted that the content of the computer-readable medium can be appropriately increased or decreased based on the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, based on legislation and patent practice, computer-readable media does not include electric carrier signals and telecommunication signals.
[0063] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement the present invention without inventive effort.
[0064] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A method for calculating the dose of a microfocus radiation source, characterized in that: The following steps are involved: Determine at least one gear and obtain raw data corresponding to the gear, wherein the raw data includes dosage data that is at least greater than the number of sampling samples; Processing the original data based on preset rules to obtain a plurality of first fitting data and a plurality of second fitting data; Calculating an average dose value, a dose fluctuation rate, and a dose change rate based on the first fitting data and the second fitting data respectively; According to the preset standard threshold, determine whether the average dose value, dose fluctuation rate and dose change rate are qualified, and output the result.
2. The micro-focus radiation source dose calculation method according to claim 1, characterized in that: Determining at least one gear and obtaining raw data corresponding to the gear, including: Determining a model of a microfocus device, each microfocus device including a plurality of gears; Set the number of sampling samples; Based on the tube voltage data generated by the actual microfocus device, the corresponding gear is selected and the raw data of the corresponding gear is obtained.
3. The method for calculating the dose of a microfocus radiation source according to claim 1, wherein: The preset rules include: setting pre-filter data value, post-filter data value, and abnormal data filtering threshold; The pre-filtered data value is used to filter the dose data in the ramp-up phase; The post-data filter value is used to filter the dose data in the descending phase; The abnormal data filtering threshold is used to filter dosage data that is twice the normal data value; Among them, the pre-filtered data value and post-filtered data value for eliminating the data points in the climbing and descending stages, and the abnormal data filtering threshold for determining abnormal data can be pre-configured or dynamically adjusted according to different models of microfocus ray sources.
4. The method for calculating the dose of a microfocus radiation source according to claim 3, wherein: The original data is processed to obtain first fitting data and second fitting data, including: Filtering a predetermined amount of dose data from the initial data segment of the original data according to a pre-filtered data value to obtain a first data set, wherein the pre-filtered data value at least includes all dose data in the ramp-up phase; Based on the first data set, filtering out a predetermined amount of dose data from the tail data segment of the first data set according to a post-data filter value to obtain a second data set; wherein the post-data filter value at least includes all dose data in a descending phase; Based on the second data set, filtering out abnormal dosage data from the second data set according to an abnormal data filtering threshold to obtain a third data set; The third data set is processed in a window moving manner to obtain a plurality of first fitting data, and the third data set is processed in a block moving manner to obtain a plurality of second fitting data.
5. The method for calculating the dose of a microfocus radiation source according to claim 4, wherein: Processing the third data set in a window moving manner to obtain a plurality of first fitting data and processing the third data set in a block moving manner to obtain a plurality of second fitting data; comprising: A plurality of first fitting data are generated by averaging the data of the third data set using a predetermined first window length and sliding point by point; averaging the data segments of the third data set with a predetermined second window length to generate second fitting data, wherein the second window length is greater than the first window length; The first window length and the second window length can be pre-configured or adjusted according to different models of micro-focus ray sources.
6. The method for calculating the dose of a microfocus radiation source according to claim 1, wherein: The dose change rate is calculated as: identifying continuous intervals in the second fitting data where the dose value increases or decreases over time, and calculating, for each of the continuous intervals, a ratio of the difference between the maximum and minimum dose values in the interval to the average dose value in the interval, Determine the duration of the interval; Calculating the dose change rate of each continuous interval according to the ratio and the time length; The dose fluctuation rate is calculated as: The maximum value and the minimum value in each first fitting data are identified, and the dose fluctuation rate is calculated based on the ratio of the difference between the maximum value and the minimum value in the first fitting data to the average dose value of the interval.
7. The method for calculating the dose of a microfocus radiation source according to claim 1, wherein: The preset standard thresholds include: average dose threshold, fluctuation upper limit threshold, and maximum dose change rate; Among them, the average dose threshold, the fluctuation upper limit threshold, and the maximum dose change rate can be pre-configured or adjusted according to different models of microfocus radiation sources.
8. A micro-focus radiation source dose calculation device, comprising: Acquisition module: determining at least one gear and acquiring raw data corresponding to the gear, wherein the raw data includes dosage data at least greater than the number of sampling samples; Processing module: processes the original data based on preset rules to obtain a plurality of first fitting data and a plurality of second fitting data; Calculation module: calculates the average dose value, dose fluctuation rate and dose change rate respectively according to the first fitting data and the second fitting data; Judgment module: judges whether the average dose value, dose fluctuation rate and dose change rate are qualified according to the preset standard threshold value, and outputs the result.
9. A computer device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable medium, characterized in that A computer program is stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.